body:after {
    content:
            url('graph/crossword/Next.svg')
            url('graph/crossword/Next2.svg')
            url('graph/crossword/Prev.svg')
            url('graph/crossword/Prev2.svg')
            url('graph/crossword/Menu.svg')
            url('graph/crossword/Menu2.svg')
            url('graph/crossword/Keyboard.svg')
            url('graph/crossword/Keyboard2.svg')
            url('graph/crossword/Clear.svg')
            url('graph/crossword/Clear2.svg')
            url('graph/scanword/Probel.svg')
            url('graph/scanword/Probel2.svg')
            url('graph/scanword/Backspace.svg')
            url('graph/scanword/Backspace2.svg')
            url('graph/scanword/Next.svg')
            url('graph/scanword/Next2.svg')
            url('graph/scanword/Previous.svg')
            url('graph/scanword/Previous2.svg')
            url('graph/crossword/VerDir.svg')
            url('graph/crossword/GorDir.svg')
;
    display: none;
}

.barlow-thin {
    font-family: "Barlow", serif;
    font-weight: 100;
    font-style: normal;
}

.barlow-extralight {
    font-family: "Barlow", serif;
    font-weight: 200;
    font-style: normal;
}

.barlow-light {
    font-family: "Barlow", serif;
    font-weight: 300;
    font-style: normal;
}

.barlow-regular {
    font-family: "Barlow", serif;
    font-weight: 400;
    font-style: normal;
}

.barlow-medium {
    font-family: "Barlow", serif;
    font-weight: 500;
    font-style: normal;
}

.barlow-semibold {
    font-family: "Barlow", serif;
    font-weight: 600;
    font-style: normal;
}

.barlow-bold {
    font-family: "Barlow", serif;
    font-weight: 700;
    font-style: normal;
}

.barlow-extrabold {
    font-family: "Barlow", serif;
    font-weight: 800;
    font-style: normal;
}

.barlow-black {
    font-family: "Barlow", serif;
    font-weight: 900;
    font-style: normal;
}

.barlow-thin-italic {
    font-family: "Barlow", serif;
    font-weight: 100;
    font-style: italic;
}

.barlow-extralight-italic {
    font-family: "Barlow", serif;
    font-weight: 200;
    font-style: italic;
}

.barlow-light-italic {
    font-family: "Barlow", serif;
    font-weight: 300;
    font-style: italic;
}

.barlow-regular-italic {
    font-family: "Barlow", serif;
    font-weight: 400;
    font-style: italic;
}

.barlow-medium-italic {
    font-family: "Barlow", serif;
    font-weight: 500;
    font-style: italic;
}

.barlow-semibold-italic {
    font-family: "Barlow", serif;
    font-weight: 600;
    font-style: italic;
}

.barlow-bold-italic {
    font-family: "Barlow", serif;
    font-weight: 700;
    font-style: italic;
}

.barlow-extrabold-italic {
    font-family: "Barlow", serif;
    font-weight: 800;
    font-style: italic;
}

.barlow-black-italic {
    font-family: "Barlow", serif;
    font-weight: 900;
    font-style: italic;
}

.cross {
    display: table;
    position: relative;
    width: 100%
}
#crossfield {
    max-width: 500px;
    min-height: 200px;
    text-align: center;
    vertical-align: middle;
    font-size: 0pt;
    margin-left: auto;
    margin-right: auto;
}
.crossskin {
    width: 500px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.crossskinno {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}
.tool {
    display: flex;
    height: 32px;
    margin: 0px 10px 0px 10px;
}
.foot {
    display: table;
    height: 35px;
    width: 90%;
}
.crosstext {
    width: 50%;
    display: table-cell;
    height: 580px;
    vertical-align: top;
}
.crosstextno {
    display: none;
}
.crossblock {
    display: grid;
    width: 100%;
    height: 290px;
}
.crosstextdesk {
    height: 30px;
    background: #ffcc00;
    line-height: 30px;
    color:#0F1012;
    font-size: 13pt;
    font-family: Roboto, Arial, sans-serif;
    font-weight: 500;
}
.crossscroll {
    overflow-y: scroll;
    height: 260px;
    position: relative;
    scroll-behavior: smooth;
}
.textul {
    list-style: none;
    padding-left: 0px;
    margin: 5px;
}
.textitem {
    display: table;
    width: 100%;
    font-size: 12pt;
    font-family: Roboto,Verdana, Arial;
    cursor: pointer;
    border: 1px solid white;
    transition: none;
}
.textid {
    display: table-cell;
    text-align: right;
    width: 20px;
    padding: 2px 5px 2px 5px;
    font-weight: bold;
}
.textdef {
    display: table-cell;
    padding: 2px 0px 2px 5px;
    line-height: 1.2em;
}
.textdefgray {
    color: #BBBBBB;
}
.textdiv {
    display: table-cell;
    width: 5px;
    background: #ffcc00;
    border: 1px solid white;
}
.selecteddef {
    background: #c0e49c;
    border: 1px solid black;
}
#curdef {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    font-size: 12pt;
    font-family: Roboto,Verdana, Arial;
}
#curdefid {
    display: table-cell;
    padding-top: 7px;
    vertical-align: top;
    text-align: center;
    font-size: 13pt;
    font-weight: bold;
    font-family: Roboto, Arial;
}
.iconpic {
    display: inline-block;
    width: 32px;
    height: 32px;
}
a.icon {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0 0px;
    text-align: center;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
a.prevdef {
    background: url('graph/crossword/Prev.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.prevdef:hover {
    background: url('graph/crossword/Prev2.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.prevdef:active {
    background: url('graph/crossword/Prev2.svg') no-repeat;
    top: 5%; left: 5%; background-size: 90% 90%;
}

a.nextdef {
    background: url('graph/crossword/Next.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.nextdef:hover {
    background: url('graph/crossword/Next2.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.nextdef:active {
    background: url('graph/crossword/Next2.svg') no-repeat;
    top: 5%; left: 5%; background-size: 90% 90%;
}

a.menu {
    background: url('graph/crossword/Menu.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.menu:hover {
    background: url('graph/crossword/Menu2.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.menu:active {
    background: url('graph/crossword/Menu2.svg') no-repeat;
    top: 5%; left: 5%; background-size: 90% 90%;
}

a.clear {
    background: url('graph/crossword/Clear.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
    margin-left: 3px;
}
a.clear:hover {
    background: url('graph/crossword/Clear2.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.clear:active {
    background: url('graph/crossword/Clear2.svg') no-repeat;
    top: 5%; left: 5%; background-size: 90% 90%;
}

a.keyboard {
    background: url('graph/crossword/Keyboard.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.keyboard:hover {
    background: url('graph/crossword/Keyboard2.svg') no-repeat;
    top: 0%;	left: 0%; background-size: 100% 100%;
}
a.keyboard:active {
    background: url('graph/crossword/Keyboard2.svg') no-repeat;
    top: 5%; left: 5%; background-size: 90% 90%;
}
#score {
    font-family: Barlow, Roboto, Arial;
}

#keyboard {
    border-top: 5px solid #fff;
    margin: 0 auto;
    margin-top: 5px;
    position: relative;
    background: #eee;
    width : 100%;
    height : 102px;
    text-align:center;
    vertical-align: middle;
    font-size:0;
    display : none;
}
#keyboardcell {
    vertical-align: middle;
}

.tdbutton{
    width: 8.33%;
}
a.button {
    width: 100%;
    height: 34px;
    display: inline-block;
    position: relative;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0 0px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 1px #ffffff;
    font: bold 20px/30px Trebuchet MS, sans-serif;
    border: 1px solid #ccc;
    box-sizing: border-box;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;

    color:#3d3d3d;
    background-color:#ffffff;
    background-image: -moz-linear-gradient(top, #ffffff 0%, #e3e3e3 100%);
    background-image: -webkit-linear-gradient(top, #ffffff 0%, #e3e3e3 100%);
    background-image: -o-linear-gradient(top, #ffffff 0%, #e3e3e3 100%);
    background-image: -ms-linear-gradient(top, #ffffff 0% ,#e3e3e3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#e3e3e3',GradientType=0 );
    background-image: linear-gradient(top, #ffffff 0% ,#e3e3e3 100%);

    -webkit-box-shadow:0px 0px 2px #9c9c9c, inset 0px 0px 1px #ffffff;
    -moz-box-shadow: 0px 0px 2px #9c9c9c,  inset 0px 0px 1px #ffffff;
    box-shadow:0px 0px 1px #9c9c9c, inset 0px 0px 1px #ffffff;

    filter: dropshadow(color=#ffffff, offx=1, offy=1);
}

a.button:hover {
    background-image: -moz-linear-gradient(top, #f2f2f2 0%, #c9c9c9 100%);
    background-image: -webkit-linear-gradient(top, #f2f2f2 0%, #c9c9c9 100%);
    background-image: -o-linear-gradient(top, #f2f2f2 0%, #c9c9c9 100%);
    background-image: -ms-linear-gradient(top, #f2f2f2 0% ,#c9c9c9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c9c9c9', endColorstr='#c9c9c9',GradientType=0 );
    background-image: linear-gradient(top, #f2f2f2 0% ,#c9c9c9 100%);
    border: 1px solid #666;
    -webkit-box-shadow: inset 0px 0px 0px #fff;
    -moz-box-shadow: inset 0px 0px 0px #fff;
    box-shadow: inset 0px 0px 0px #fff;

}

a.button:active {
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    font: bold 18px/30px Trebuchet MS, sans-serif;

    -webkit-box-shadow: inset 0px 0px 3px rgba(0,0,0, .5);
    -moz-box-shadow: inset 0px 0px 3px rgba(0,0,0, .5);
    box-shadow: inset 0px 0px 3px rgba(0,0,0, .5);
}

a.probel {
    background:	url('graph/scanword/Probel.svg') no-repeat center, -moz-linear-gradient(top,  #fff 0%, #e3e3e3 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e3e3e3));
    background: url('graph/scanword/Probel.svg') no-repeat center, -webkit-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -o-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -ms-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.probel:hover {
    background:	url('graph/scanword/Probel.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Probel.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.probel:active {
    background:	url('graph/scanword/Probel2.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Probel2.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Probel2.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel2.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel2.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Probel2.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.backspace {
    background:	url('graph/scanword/Backspace.svg') no-repeat center, -moz-linear-gradient(top,  #fff 0%, #e3e3e3 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e3e3e3));
    background: url('graph/scanword/Backspace.svg') no-repeat center, -webkit-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -o-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -ms-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.backspace:hover {
    background:	url('graph/scanword/Backspace.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Backspace.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.backspace:active {
    background:	url('graph/scanword/Backspace2.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Backspace2.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Backspace2.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace2.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace2.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Backspace2.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.next {
    background:	url('graph/scanword/Next.svg') no-repeat center, -moz-linear-gradient(top,  #fff 0%, #e3e3e3 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e3e3e3));
    background: url('graph/scanword/Next.svg') no-repeat center, -webkit-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -o-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -ms-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.next:hover {
    background:	url('graph/scanword/Next.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Next.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.next:active {
    background:	url('graph/scanword/Next2.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Next2.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Next2.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next2.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next2.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Next2.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.previous {
    background:	url('graph/scanword/Previous.svg') no-repeat center, -moz-linear-gradient(top,  #fff 0%, #e3e3e3 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e3e3e3));
    background: url('graph/scanword/Previous.svg') no-repeat center, -webkit-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -o-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -ms-linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, linear-gradient(top,  #fff 0%,#e3e3e3 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.previous:hover {
    background:	url('graph/scanword/Previous.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Previous.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}

a.previous:active {
    background:	url('graph/scanword/Previous2.svg') no-repeat center, -moz-linear-gradient(top,  #f2f2f2 0%, #c9c9c9 100%);
    background: url('graph/scanword/Previous2.svg') no-repeat center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#c9c9c9));
    background: url('graph/scanword/Previous2.svg') no-repeat center, -webkit-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous2.svg') no-repeat center, -o-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous2.svg') no-repeat center, -ms-linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    background: url('graph/scanword/Previous2.svg') no-repeat center, linear-gradient(top,  #f2f2f2 0%,#c9c9c9 100%);
    top: 0%;
    left: 0%;
    background-size: 100% 100%;
}
a.iconback {
    display: inline-block;
    height:30px;
    width:31px;
    background-image: url(graph/iconback.jpg);
}

a.iconback:hover {
    background-image: url(graph/iconback2.jpg);
}

a.iconforward {
    display: inline-block;
    height:30px;
    width:31px;
    background-image: url(graph/iconforward.jpg);
}

a.iconforward:hover {
    background-image: url(graph/iconforward2.jpg);
}
a.number {
    text-decoration: none;
    font: bold 18px Helvetica, sans-serif;
    vertical-align: middle;
    margin: 5px;
}
a:link.number {color:#000055;}
a:hover.number {text-decoration:none; color:#000055;}
a:active.number {color:#000055; text-decoration:none;}
a:visited.number {color:#000055;}

.menucross {
    position: absolute;
    overflow: hidden;
    background: white;
    box-shadow: 10px 10px 20px 4px rgba(34, 60, 80, 0.4);
    border: 4px solid #b9d735;
    transition: .4s ease-in-out;
    opacity: 0;
    z-index: -1;
    width: 280px;
    height: auto;
    margin-top: 34px;
    margin-left: -2px;
    padding: 10px;
}

.menucross-close {
    opacity: 100;
    z-index: 3;
}

.crossburger {
    width: 32px;
    height: 32px;
    position: relative;
    transition-duration: 1s;
    margin-top: 2px;
    cursor: pointer;
}
.crossburger:hover span{
    background-color: #b9d735;
}
.crossburger:hover span:before{
    background-color: #b9d735;
}
.crossburger:hover span:after{
    background-color: #b9d735;
}
.crossburger span {
    height: 6px;
    width: 32px;
    top: 11px;
    background-color: #063540;
    position: absolute;
}
.crossburger span:before {
    position: absolute;
    top: -11px;
    height: 6px;
    width: 32px;
    background-color: #063540;
    content: "";
    transition-duration: .25s;
    transition: transform .25s, top .25s .25s;
}
.crossburger span:after {
    position: absolute;
    top: 11px;
    height: 6px;
    width: 32px;
    background-color: #063540;
    content: "";
    transition-duration: .25s;
    transition: transform .25s, top .25s .25s;
}
.crossburger.active span {
    transition-duration: 0.1s;
    transition-delay: .25s;
    background: transparent;
}
.crossburger.active span:before {
    transition: top .25s, transform .25s .25s;
    top: 0px;
    transform: rotateZ(-45deg);
}
.crossburger.active span:after {
    transition: top 0.4s, transform .25s .25s;
    top: 0px;
    transform: rotateZ(45deg);
}

.crosstoggle {
    cursor: pointer;
    display: inline-block;
}
.crosstoggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}
.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
    -webkit-tap-highlight-color: transparent;
}
.toggle-switch:before, .toggle-switch:after {
    content: "";
}
.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    border: 1px solid #333;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}
.toggle-checkbox:checked + .toggle-switch {
    background: #99b51d;
}
.toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
}
.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}
.toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
    font-size: 11pt;
    font-family: Roboto,Verdana, Arial;
    user-select: none;
}

.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
}
.crosscanvas {
    display: none;
}
.maincontent table td, .maincontent table td {
    padding: 0;
    border: 1px solid #fff;
}
.dark .maincontent table td, .dark .maincontent table td {
    border: 1px solid #222;
}


@media screen and (max-width: 1040px) {
    .crossskin { display: block; width: 100%;}
    .crosstext { display: block; width: 100%; margin-top: 10px; }
}
@media screen and (max-width: 380px) {
    a.button { height: 60px; font-size: 22px; line-height: 60px; }
    a.button:active { height: 60px; font-size: 20px; line-height: 60px; }
    .tool {margin: 0px; margin-bottom: 5px;}
}

@media (hover: none) {
    a.keyboard:hover {
        background: url('graph/crossword/Keyboard.svg') no-repeat;
        top: 0%;	left: 0%; background-size: 100% 100%;
    }
}

/* ============================================================
   МОБИЛЬНЫЙ ПАТЧ v2 — igraword.ru
   Вставить в: Внешний вид → Настроить → Дополнительный CSS
   Или в /wp-content/themes/blogarise/assets/crossword.css
   ============================================================ */

@media (max-width: 600px) {

    /* ──────────────────────────────────────────
       1. КРОССВОРД — горизонтальная прокрутка
          crossfield остаётся 500px, но родитель
          даёт скролл вместо обрезки
       ────────────────────────────────────────── */

    .krosswrap {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 95vw !important;
        box-sizing: border-box !important;
    }

    #crossfield {
        width: 500px !important;
        min-width: 500px !important;
        /* Явный min-width нужен, чтобы flex-родители не сжимали поле */
    }

    /* На случай если .krosswrap не является прямым родителем —
       подстраховка для .cross и .crosscanvas */
    .cross,
    .crosscanvas {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }


    /* ──────────────────────────────────────────
       2. ПАНЕЛЬ ИНСТРУМЕНТОВ #IconBar
          Переводим таблицу в flex, убираем
          фиксированные ширины колонок
       ────────────────────────────────────────── */

    #IconBar {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 4px 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 4px 0 !important;
    }

    /* Все ячейки панели — авто-ширина */
    #IconBar td {
        width: 20px !important;
        min-width: 15px !important;
        padding: 2px !important;
    }

    /* Блок «Результат» — чуть уже */
    #IconBar .res_bl {
        width: 100px !important;
    }

    /* Пустые распорки — схлопываем */
    #IconBar .Probel {
        width: 4px !important;
        min-width: 0 !important;
    }

    /* Блок масштаба — не растягивать */
    #ScaleBar {
        width: auto !important;
    }

    #ScaleTable {
        width: auto !important;
    }

    /* Таймер */
    #timerbar {
        font-size: 11pt !important;
        width: auto !important;
        min-width: 0 !important;
    }


    /* ──────────────────────────────────────────
       3. ВИРТУАЛЬНАЯ КЛАВИАТУРА #keyboard
          Внутренняя таблица имеет width:300px —
          растягиваем до 100% экрана
       ────────────────────────────────────────── */

    #keyboard {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Внешняя таблица-обёртка */
    #keyboard > table {
        width: 100% !important;
    }

    /* Ячейка с клавиатурой */
    #keyboardcell {
        width: 100% !important;
        padding: 0 !important;
    }

    /* Внутренняя таблица букв — была 300px, теперь 100% */
    #keyboardcell > table {
        width: 100% !important;
        margin: 0 auto !important;
        table-layout: fixed !important;  /* равные колонки */
    }

    /* Каждая ячейка с кнопкой */
    .tdbutton {
        padding: 2px !important;
        box-sizing: border-box !important;
    }

    /* Кнопка-буква: квадрат, занимает всю ячейку */
    .tdbutton .button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;   /* квадрат */
        min-height: 28px !important;       /* минимальный размер */
        font-size: clamp(10px, 2.8vw, 15px) !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    /* ──────────────────────────────────────────
       4. ИКОНКИ — минимум для touch
       ────────────────────────────────────────── */

    .IconCell a,
    .icon {
        min-width: 36px !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .crossskin { display: block; width: 100%;}
    .crosstext { display: block; width: 95%; margin-top: 10px; }


    /* Главная причина: убираем display:table, делаем блочным */
    #keyboard {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Внешняя таблица на всю ширину */
    #keyboard > table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Скрываем пустой второй td, который сдвигает клавиатуру */
    #keyboard > table > tbody > tr > td:last-child {
        display: none !important;
    }

    /* Keyboardcell занимает всю строку */
    #keyboardcell {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }

    /* Внутренняя таблица букв — была 300px, теперь 100% */
    #keyboardcell > table {
        width: 100% !important;
        margin: 0 !important;
        table-layout: fixed !important;
    }
    #IconBar {
        margin-bottom: 52px;
    }
}