#adt-menu { line-height:0;min-height:50px;text-align:right;}
@media(min-width: 468px) { #adt-menu { min-height:60px; }}
@media(min-width: 728px) { #adt-menu { min-height:192px; }}
#adt-menu .adslot { display:inline-block;}
.adslot>div { margin:auto;}

html, body {
    height: 100%;
}

body {
    font-size: small;
    font-family: 'Open Sans', Arialfallback, FreeSansFallback, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    font-size:15px;
}

@font-face {
    font-family: "ArialFallback";
    src: local("Arial");
    size-adjust: 97%;
    ascent-override: 107%;
    descent-override: 30%;
}

@font-face {
    font-family: "FreeSansFallback";
    src: local("FreeSans");
    size-adjust: 95%;
    ascent-override: 102%;
    descent-override: 30%;
}

@media screen and (min-width: 800px){
    body { overflow-y: scroll;}
}

.gray {
    color:#333;
}

@media screen and (max-width: 800px){
    body { font-family: sans-serif;}
}

ul, ul li, dl, dt, dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

ol, ol li , p, h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

p {
    line-height:1.5em;
    margin-bottom:15px;
}


a {
    color: #0C9FA4;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color ease-in 0.2s;
    outline:none;
}

a:focus { 
    outline:none;
}


h1,h2,h3 { 
    font-weight:800;
    /*text-transform:uppercase;*/
    color: #1a1a1a;
}

h1 {
    font-size:2.25em;
    padding-bottom:0.5em;
}

h2 {
    font-size:22px;
    padding-bottom:14px;
}

h3 {
    margin-bottom:14px;
    font-size: 22px;    
}

h4 { 
    margin-bottom:14px;
    font-size:22px;
    font-weight:600;
    color: #1a1a1a;
}

.separated {
    margin-top:30px;
}


h2.bb, h3.bb {
    border-bottom: #e6e6e6 1px solid;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.gray.bt {
    border-top: #ddd 1px solid;
}

.white {
    background-color:white;
}

.panel.bb {
    border-bottom: #ddd 1px solid;
}


a:hover {
    color: red;
    transition: none;
}

img {
    border: none;
}

.clear {
    clear: both;
}

.hide-it {
    display: none !important;
}

.no-copy {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.gray { 
    background-color:#eee;
}

.gray.bb {
    border-bottom:1px solid #ddd;
}

.center { 
    text-align:center;
}

.panel { 
    padding-top:3em; 
    padding-bottom:3em;
}

.st {
    padding-top:3em;
}

.sb {
    padding-bottom:3em;
}

.value {
    font-weight:600;
}

.pagewidth {
    width:100%;
    max-width:1100px;
    margin: auto;
}


a.block {
    color:#455463;
    font-weight:400;
    display:block;
    margin-bottom:3em;
    position:relative;
}
a.block * {
    position:relative;
}

a.block:hover::before {
    position:absolute;
    top:-20px;
    left:-20px;
    bottom:-20px;
    right:-20px;
    background-color:#f6f6f6;
    content:'';
}

ol {
    list-style-type: decimal;
    padding-left: 2em;
}




#fullpageheight {
    min-height:100%;
    height:100%;
    position:relative;
    height:auto !important;
    margin:0 auto;
    overflow-x:hidden;
    overflow-y:hidden;
}

#footersizeholder {
    height:47px;
}

#footer-container {
    height:47px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#main {
    margin: 0 auto;
    padding: 0;
}

header {
    position: relative;
    color:white;
    background:#444;
    padding-top:4px;
}

header .pagewidth {
    position:relative;
}

header .logo {
    position:absolute;
    top:0px;
    left:0;
    font-size: 30px;
    line-height:155px;
}

header .logo a {
    color:white;
    transition: color ease-in 0.2s;
}

header .logo a:hover {
    color:#0C9FA4;
}

header .logo a>span {
    vertical-align:middle;
}

header .logo span {
    text-transform: uppercase;
    font-weight:bold;
}

header .logo span span { 
    font-size: 25px;
    font-weight: normal;
    text-transform: none;
}

header .logo .icon {
    width: 57px;
    height:70px;
    margin-right:10px;
    vertical-align:middle;
    position: relative;
    top: -4px;
    display:inline-block;
    background-size:100%;
}


header nav {
    position: relative;
    text-align:right;
}

nav>ul, nav>div {
    display:inline-block;
}

header nav li {
    display: inline-block;
    vertical-align: middle;
    line-height: 55px;
}


header nav li a {
    padding-left:0.7em;
    padding-right:0.7em;
    line-height: 50px;
    font-size:15px;
    color: white;
    transition:color ease-in 0.2s;
    text-transform:uppercase;
    padding-top:2px;
    padding-bottom:2px;
    cursor:pointer;
}




header nav li.important a {
    color:red;
}


header nav li a:hover {
    color:#0C9FA4;
}


header li:hover .mini-face {
    border-color:#0C9FA4;
}

#submenus {
    position:relative;
    height:55px;
    overflow:hidden;
    vertical-align:middle;
}

#submenus ul {
    position:relative;
    top:0;
    transition:top ease-in 0.3s;
}

.submenu-active #submenus ul {
    top:-55px;
}

#menu-button {
    cursor:pointer;
    margin-left:10px;
}

#menu-button:before {
    content:'\2193';
    content:'\25BC';
    margin-right:5px;
    transition:color ease-in 0.2s;
}

#menu-button.important:before {
    font-size: 20px;
    position: relative;
    top: 1px;
    line-height: 15px;
    text-shadow: -1px -0px 0px red;
}

.submenu-active #menu-button:before {
    content:'\2191';
    content:'\25B2';
}

#menu-button:hover:before {
    color:#0C9FA4;
}


header .button {
    margin-left:10px;
}


header a, #toolbar a {
    font-weight:normal;
}

#main-panel {
    padding-top:3em;
    padding-bottom:3em;
    background-color:white;
}

#adt-menu {
    text-align: right;
    padding-bottom:10px;
}

.narrowmenu header {
    padding-top:4px;
    padding-bottom:4px;
}

.narrowmenu header .logo {
    line-height:50px;
}

.narrowmenu header .logo .icon {
    width: 35px;
    height: 42px;
    top: 0;
}

.adsbygoogle {
    background-color:#444;
}

#main-panel .adsbygoogle {
    background-color:#fff;
}

.comments-links p a {
    color:#333;
    font-weight:400;
}

.comments-links p a:hover {
    color:red;
}

.strong {
    font-weight:600;
}

th {
    font-weight:600;
}

.main-icon {
    float:left;
    margin-right:20px;
    height:100px;
    width:100px;
}

.three-columns>div:nth-child(1) { 
    width:31.33%;
    float:left;
    margin-right:3%;
}

.three-columns>div:nth-child(2) { 
    width:31.33%;
    float:left;
}

.three-columns>div:nth-child(3) { 
    width:31.33%;
    float:left;
    margin-left:3%;
}


.two-columns>div { 
    width:47%;
    float:left;
}

.two-columns>div:nth-child(1) { 
    margin-right:3%;
}

.two-columns>div:nth-child(2) { 
    margin-left:3%;
}

.two-columns { 
    padding-bottom:2em;
}

@media screen and (max-width: 800px){
    .three-columns>div:nth-child(1), 
    .three-columns>div:nth-child(2), 
    .three-columns>div:nth-child(3), 
    .two-columns>div:nth-child(1),
    .two-columns>div:nth-child(2) {
        width:100%;
        margin:0;
        float:none;
    }

    .three-columns>div:nth-child(1), 
    .three-columns>div:nth-child(2) {
        padding-bottom:3em;
        border-bottom:1px solid #ddd;
    }

    .three-columns>div:nth-child(2), 
    .three-columns>div:nth-child(3),     
    .two-columns>div:nth-child(2) {
        padding-top:3em;
    }

    /* special case where three columns are in fact one list */
    .best-solvers-list .three-columns>div {
        padding-bottom:0!important;
        padding-top:0!important;
        border:0!important;
    }
}


#footer-container {
    background-color:#eee;
    border-top:1px solid #ddd;
}

#footer-container>div {
    display:table;
}

footer {
    clear: both;
    text-align: center;
    display: table-cell;
    height: 50px;
    vertical-align: middle;
}

.paginator {
    text-align:center;
    padding-bottom:1em;
}

.paginator .pages a {
    display: block;
    padding: 0 15px;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    position: relative;
    /*background: #e6e6e6;*/
    color: #455463;
    margin-right: 1px;
    display:inline-block;
    margin-bottom:1px;
}

.paginator .pages a.current {
    background-color:white;
}
.paginator .pages a:not(.current):hover {
    background-color:#ccc;
}

.paginator .previous, 
.paginator .next, 
.paginator .dots {
    padding: 0 15px;
    color:black;
    font-weight:800;
    color:#0C9FA4;
}


.paginator .dots:hover {
    color:red;
    cursor:pointer;
}

.paginator .add {
    word-spacing: 1em;
    color: #455463;
    font-weight:600;
}

/*
 * Forms.
 */
form .br, #right .br form {
    padding: 0.5em;
}

form input, form textarea, select, input.vTextInput {
    border: 1px solid #d3d3d3;
    padding: 0.4em;
}

form td textarea {
    height: 14em;
}

.comment-form table {
    border-spacing:0;
    margin-top:1em;
}

.comment-form td {
    padding:0;
}

.comment-form td.comment-text {
    width:100%;    
}

.comment-form td.comment-text textarea {
    width:100%;
    box-sizing:border-box;
}

.comment-form .vSubmit {
    margin-left:16px;
}

form td textarea.rows2 {
    height: 3em;
}

form table {
    width: 100%;
}

form table th {
    /*width: 20%;*/
    text-align: right;
}

textarea.comment { width:100%;}

form input.vCheckboxField, form input[type=checkbox] {
    width: auto;
}

form .error, ul.errorlist {    
    color: #f00;
    padding-bottom: 1em;
}

.vSubmit, .ui-dialog-buttonpane {
    text-align: center;
}

.vSubmit input, .ui-dialog-buttonpane button, .button, .cobj .dialog .dialog-buttons li {
    padding-left: 1.5em;
    padding-right: 1.5em;
    line-height: 50px;
    font-size: 15px;
    color: white;
    transition: color ease-in 0.3s;
    text-transform: uppercase;
    padding-top: 4px;
    padding-bottom: 6px;
    cursor:pointer;
    background-color:#00cccc;
    border-radius:3px;
    display:block;
    width:100%;
    margin:auto;
    border:0;
    width:auto;
    padding-top:0.5em;
    padding-bottom:0.5em;
    line-height:30px!important;
    font-weight:800;
    font-size:0.9em;
    font-family:'Arial','Open Sans';
    text-align:center;
    box-sizing:border-box;
}

@media screen and (min-width: 800px){ 
    .vSubmit input, .button {
        width:250px;
    }
}
.vSubmit input:hover, .ui-dialog-buttonpane button:hover, .button:hover, .cobj .dialog .dialog-buttons li:hover {
    color:white!important;
    background-color:#05a6a6;
}

.button-small {
    padding-top: 0;
    padding-bottom: 0;
    font-weight:600;
    font-size:80%;
}


form .icons img {
    border: 2px solid white;
}

form .icons img.selected {
    border: 2px solid red;
}

form h3 {
    text-align: center;
}

.button.facebook-login {
    background: #3B5998;
    background-image: url('/static/img/fb/logo/FB-f-Logo__blue_29.png');
    background-repeat: no-repeat;
    background-position:4px 5px;    
}

.button.facebook-login:hover {
    opacity:0.9;
}

/*
 * Crosswords.
 */

ul.crossword-list>li {
    padding-bottom: 3em;
    display:inline-block;
    vertical-align:top;
    width: 177px;
    margin-right: 3px;
    margin-left:3px;
    text-align: center;
}


ul.crossword-list .shape {
    min-height: 144px;

}

ul.crossword-list .name {
    padding-top:0;
    padding-bottom: 0.5em;
    padding-left:0;
    padding-right:0;
}

ul.crossword-list li.solved, ul.crossword-list li.solved a {
    color: #888;
}


ul.crossword-list .stats, ul.crossword-list .time {
    font-size: 80%;
}


ul.crossword-list li.hidden .shape {
    border: 2px dashed #fdd;
}

ul.crossword-list li.hidden .shape:before {
    content: "Zadanie ukryte";
    color: #888;
}

.points {
    display:inline-block;
    background-color:#0C9FA4;
    color:white;
    font-weight:800;
    font-size:20px;
    width:28px;
    height:28px;
    line-height:28px;
    border-radius:28px;
    vertical-align:middle;
    text-align:center;
}

.points.monthly, .monthly .points {
    background-color:#E5BD1C;
}

.crossword-list .rating, .best-puzzles .rating {     
    padding-left: 22px;
    background: url(/static/img/i/like.png);
    background-size: 15px 15px;
    background-repeat: no-repeat;
    line-height: 21px;
    background-position: 5px 2px;
    display: inline-block;
    color:#777;
}

.crossword-list .stats { 
    width: 65px;
    padding-left: 14px;    
    background: url(/static/img/i/check.svg);
    background-size: 13px 13px;
    background-repeat: no-repeat;    
    line-height:13px;  
    color:#666;
}
/*
.crossword-list .rating div { 
    height:8px;
    float:left;
    background-image:url('/static/img/i/rating.png');
}
*/



.crossword-list .details {
    position:relative;
}

.restricted .details::before {
    width: 18px;
    height: 18px;
    background-image: url("/static/img/i/klodka.svg");
    content: "";
    position: relative;
    left: 8px;
    top:4px;
    display: inline-block;
    background-size: 18px 18px;
    margin-left: -8px;
}

.solved .points {
    background-color:#aaa;
}

.points { position:relative;}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.ui-dialog {
    width: 400px !important;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    border-radius: 16px;
    padding:16px;
}


.ui-dialog-titlebar-close {
    display: block;
    float: right;
    width: 25px;
    height: 25px;
    border: none;
    background: transparent;
}

.ui-dialog-titlebar-close .ui-icon,
.ui-dialog-titlebar-close .ui-button-text {
    display: none;
}

.ui-dialog-content {
    padding: 16px;
}

.ui-dialog-buttonpane {
    padding:16px;
}

.ui-dialog-buttonpane button {
    margin: 0 0.2em 0;
    display: inline-block;
}

.important {
    color: red;
    font-weight: bold;
}

#cookie-law {
    background-color: #ddd;
    border-top:1px solid #ccc;
    color:#222;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    position: fixed;
    bottom: 0;
    z-index: 999;
    width:100%;
    font-size:0.8em;
}

#cookie-law>div { 
    display:inline-block;
    text-align:left;
    padding-left:1em;
    padding-right:1em;
}

#cookie-law span {
    float:right;
    display: inline-block;
    padding: 0.5em;
    padding-left:0.8em;
    padding-right:0.8em;
    margin-left:1em;
    margin-top:0.1em;
    background-color: #0C9FA4;
    border-radius: 3px;
    cursor: pointer;
    text-transform:uppercase;
    font-weight:800;
    color:white;
}

#cookie-law span:hover {
    background-color: #444;
}


.best-solvers-list li a:hover { 
    color:red;
}

.best-solvers-list li.current, .best-solvers-list li.current a {
    color:#222;
    font-weight:600;
}

.details-more {
    display:inline-block;
    margin-left:5px;
    vertical-align:middle;
    text-align:left;
}


.filter .options li {
    display:inline-block;
    margin-top: 1px;
}

.filter .options li a {
    display:block;
    padding:0 15px;
    cursor: pointer;
    height:40px;
    line-height:40px;
    position:relative;
    margin-right: 1px;
    font-weight:400;
}

.filter .options li:not(.link) a {
    background: #ddd;
    color: #333;
}

.filter .options li.current a {
    background: white;
}

.filter li img {
    width: 22px;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    top: -1px;
}

.filter.gray-to-white {
    padding-top:1em;
}

.filter.gray-to-white li:not(.current):not(.link) a:hover {
    background-color:#ccc;
}

.filter.white-to-gray .options li a {
    background: #ccc;
}

.filter.white-to-gray .options li.current a {
    background: #eee;
    color: #455463;
}

.filter.white-to-gray li:not(.current) a:hover {
    background-color:#ddd;
}


.centered-form { 
    max-width:700px;
    margin:auto;
    padding-bottom:4em;
}

.centered-form form table { 
    max-width:600px;
    margin:auto;
    margin-top:1em;
    margin-bottom:1em;
}

.centered-form form label { 
    width:100%;
    display:inline-block;
    padding-right:5px;
}

.centered-form h2 { 
    margin-top:2em;
}

.tours-navigation {
    float:right;
    clear:right;
    margin-left:3em;
    margin-bottom:3em;
    background:#eee;
    padding-top:30px;
    padding-bottom:30px;
    width:25%;
}

.tours-navigation h3 {
    padding-left:30px;
}

.tours-navigation a {
    color: #444;
    padding-left: 30px;
    padding-top: 3px;
    padding-bottom: 3px;
    display: block;  
}

.tours-navigation a:hover {
    color: red;    
}

.tours-navigation .current {
    background-color:#444;
    padding-top:4px;
    padding-bottom:4px;
}

.tours-navigation .current a {
    color:#eee;
}

.tours-navigation .current-with-sub {
    padding-top:0.5em;
    padding-bottom:0.5em;
}


.tours-navigation .current-with-sub>a {
    font-weight: 600;
    color: #222;
}


.tours-navigation .current-with-sub ul {
    padding-top:0.2em;
}



.comment {
    border-bottom:1px dotted #ddd;
    padding-top:1em;
    padding-bottom:1em;
    min-height:2.5em;
    clear:both;
}

.comment:last-child {
    border-bottom:0;
}

.comment p {
    padding:0;margin:0;
}

.comment .author {
    float:right;
    margin-left:1em;
    margin-bottom:1em;
    width:160px;
}

.comment .author>div:first-child {
    padding-bottom:2px;
}

.comment-form-holder h3 { 
    position:absolute;
    left:10px;
    top:137px;
    color:#bbb;
}

.comment span.remove {
    display: block;
    width: 12px;
    height: 12px;
    cursor: pointer;
    background-image: url(../img/trash.png);
    float:right;
    margin-left: 1em;
    opacity:0.3;
}

.collection-icon {
    padding:6px;
    width:35px;
    height:35px;
    background:white;
    border-radius:100px;
    border:8px solid #eee;
}

.gray .collection-icon {
    border-color:#ddd;
}

.side-panel-layout .content-panel {
    width:70%;
    float:left;
}

.side-panel-layout .side-panel {
    width:20%;
    float:right;
    padding:30px;
    background:#eee;
}

.side-panel-layout .side-panel h3 {
    padding-top:1.5em;
}

.side-panel-layout .side-panel h3:first-child {
    padding-top:0;
}

.to-be-removed {
    background-color:red;
}

h1 small {
    text-transform: none;
font-weight: 600;
font-size: 24px;
}

.ranking-description {
    padding-top:2em;
    padding-bottom:2em;
    margin-bottom:2em;
}

.ranking-description img {
    float:left;
    width:100px;
    height:100px;
    margin-right:20px;
    padding-right:20px;
    border-right:1px solid #ddd;
}

.hours-ranking h3 {
    display:inline-block;
    text-align:center;
}
.hours-ranking .next {
    float:right;margin-left:10px;
}


.hours-ranking .previous {
    float:left;margin-right:10px;
}

@media screen and (max-width: 1160px){
    .pagewidth {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .pagewidth.nomarginsonmobile {
        padding-left: 0;
        padding-right: 0;        
    }

    header .logo {
        left:16px;
    }

    ul.crossword-list.fullwidth {
        max-width:740px;
        margin:auto;
        padding-left:0;
    }
}

@media screen and (max-width: 1160px){
    .crossword-type, .crossword-description, .no-solution-shown-text {
        padding-left:16px;
        padding-right:16px;
        box-sizing:border-box;
    }
}

.nomargin {
    margin-top:0 !important;
    margin-bottom:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-bottom:0 !important;
}


h3 img {
    width:28px;
    height:28px;
    margin-right:10px;
    position:relative;
    top:5px;
}

.collection-title-icon {
    position: absolute;
  left: 0;
  top: 0;
    width: 80px;
  height: 80px;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10px;
}

.collection-stats-in-title {
    padding-top:1em;
}



.ajaxloader {
    position:relative;
    width:70px;
    height:70px;
    display:inline-block;
    margin-top:75px;
}

.ajaxloader>div { 
    width:50px;
    height:50px;
    border-radius:50px;
    -moz-animation: spinoffPulse 5s infinite linear;
    -webkit-animation: spinoffPulse 5s infinite linear;
    animation: spinoffPulse 5s infinite linear;
    border: 10px solid rgba(200,200,200,1);
    border-left: 10px solid rgba(0,0,0,0);
    border-right: 10px solid rgba(0,0,0,0);
}

@-moz-keyframes spinoffPulse {
  0% { -moz-transform:rotate(0deg);opacity:0; }
  100% { -moz-transform:rotate(360deg);opacity:1;  }
}
@-webkit-keyframes spinoffPulse {
  0% { -webkit-transform:rotate(0deg);opacity:0; }
  100% { -webkit-transform:rotate(360deg);opacity:1; }
}
@keyframes spinoffPulse {
  0% { transform:rotate(0deg);opacity:0; }
  100% { transform:rotate(360deg);opacity:1; }
}


div.collection-title-icon-link img:hover {
    background:#ddd;
}


#crossword-title-panel .pagewidth {
    position:relative;
}

.crossword-title {
    position: relative;
  padding-left: 112px;
}

.crosswords-list-title {
    position:relative;
}

.crosswords-list-title .collection-title-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 135px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding:0;
}

.crossword-title .collection-title-icon {
    top: 50%;
  transform: translateY(-50%);
  border-radius: 10px;
}

@media screen and (max-width: 800px){

    .please-login {
        margin-left: 0;
        margin-right: 12px;
        padding-left: 72px !important;
        background-position: 16px 2px !important;
    };

}


a.editor-link-icon {
    position: absolute;
    left: 0;
    top: -35px;
}

a.editor-link-icon:hover {
    margin-top:-2px;
    margin-left:-2px;
}

a.editor-link-icon img {
    width:50px;
    height:50px;
}

a.editor-link-icon:hover img {
    width:54px;
    height:54px;
}

#cake {

}

#ballons {
    
}


#snow{
    background-image: url('/static/img/szaradaman/snow.png'), url('/static/img/szaradaman/snow.png'), url('/static/img/szaradaman/snow.png');
    position: absolute;
    left: 0;
    top: 0;
    right:0;
    bottom:0;
    -webkit-animation: snow 200s linear infinite;
    animation: snow 200s linear infinite;
}
@keyframes snow {
  0% {background-position: 0px 200px, 0px 0px, 100px 0px;}
  100% {background-position: 6000px 6200px, 1000px 3000px, -900px 1500px;}
}

@-webkit-keyframes snow {
  0% {background-position: 0px 200px, 0px 0px, 100px 80px;}
  100% {background-position: 6000px 6200px, 1000px 3080px, -900px 1500px;}
}


body.graybody {
    background:#eee;
}

#menu-button.unlogged {
    display:none;
}

@media screen and (max-width: 1016px){

    #adt-menu {
        text-align: center;
    }

    header .logo {
        line-height:50px;
    }

    header .logo .icon {
        width: 27px;
        height: 32px;
        top: -2px;
        margin-right:6px;
    }

    header #submenus {
        height: auto;
        position: absolute;
        right: 0;
        background: #444;
        border: 1px solid #333;
        top: 55px;
        z-index: 11000;
        right:-60%;
        transition:right ease-in 0.3s;
        text-align:left;
        width:50%;
    }

    .submenu-active #submenus {
        right:-16px;        
    }

    header #submenus ul {

    }

    .submenu-active #submenus ul {
        top:0;
    }

    #menu-button:before {
        content:'\2190';        
    }

    .submenu-active #menu-button:before {
        content:'\2192';
    }

    header #submenus li {
        display:block;        
        line-height: 34px;
        border-bottom: 1px solid #333;
    }

    header nav li a {
        line-height:30px;
    }

    #menu-button.unlogged {
        display:block;
        content: "";
        width: 15px;
        height: 15px;
        background: linear-gradient(to bottom, #fff, #fff 20%, #444 20%, #444 40%, #fff 40%, #fff 60%, #444 60%, #444 80%, #fff 80%, #fff 100%) repeat scroll 0% 0% transparent;
        margin-right:5px;
        margin-top:20px;
    }

    #menu-button.unlogged:before {
        content:'';        
    }

    .submenu-active #menu-button.unlogged:before {
        content:'';
    }
}

@media screen and (max-width: 800px){

    .wideonly {
        display:none;
    }


    h1 {
        font-size:1.6em;
    }

    .crossword-title .collection-title-icon {
        width: 40px;
        height: 40px;
        background-size: 40px;
        top: -2px;
        left: 0px;
        transform: none;
        padding:0;
    }

    .crosswords-list-title .collection-title-icon {
        width: 40px;
        height: 40px;
        background-size: 40px;
        top: -2px;
        left: 0px;
        transform: none;
        padding:0;
    }

    .crosswords-list-title, .crossword-title {
        padding-left: 56px;
    }

    .authenticated .collection-title-icon {
        margin-right: 31px;
    }

    .croswords-list-title h1 {
        font-size:1.6em;
    }
    #crossword-title-panel h1 {
        font-size:1.6em;
    }

    ul.crossword-list.fullwidth {     
        text-align: center;
    }

    a.collection-title-icon-link .collection-title-icon {
        width:45px;
        height:45px;
        padding:5px;
    }

    a.collection-title-icon-link div {
        margin-right: 0;
    }    

    .side-panel-layout .side-panel, .side-panel-layout .content-panel {
        float:none;
        width:auto;
    }

    .side-panel-layout .side-panel {
        position:relative;
        top:-2em;
    }

    ul.options li {
        width:100%;
    }

    .social-buttons-minibox {
        display:block;
        padding-left:0;
        padding-top:10px;
    }

    #adt-menu {
        overflow:hidden;
    }

    .tours-navigation {
        float:none;
        margin-left:0;
        width:auto;
    }

    .collection-stats-in-title {
        display:none;
    }
}

.miniature-container {
    position:relative;
    display:inline-block;
}

.miniature {
    position:absolute;
    left:0;
    top:0;
}

.miniature .diagram {
    position:absolute;
}

.miniature .diagram .extraborder {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    border:1px solid #666;
}

.miniature .cell {
    width: 8px;
    height: 8px;
    position: absolute;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 8px;
    line-height: 8px;
    text-align: center;
    color: #333;
    background: white;
    font-weight: 600;
}

.miniature .cell.revealed {
    color:red;
}


.miniature .cell.bl-outer {
    border-left:1px solid #666;    
}

.miniature .cell.br-outer {
    border-right:1px solid #666;    
}

.miniature .cell.bt-outer {
    border-top:1px solid #666;    
}

.miniature .cell.bb-outer {
    border-bottom:1px solid #666;    
}

.miniature .cell .e-bb-outer {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;
    left:-1px;
    right:-1px;    
    height:1px;
    background:#666;
    z-index:1;
}

.miniature .cell .e-bt-outer {
    content:'';
    display:block;    
    position:absolute;
    top:-1px;
    left:-1px;
    right:-1px;    
    height:1px;
    background:#666;
    z-index:1;
}

.miniature .cell .e-br-outer {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;    
    right:-1px;    
    top:-1px;
    width:1px;
    background:#666;
    z-index:1;
}

.miniature .cell .e-bl-outer {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;    
    left:-1px;    
    top:-1px;
    width:-1px;
    background:#666;    
    z-index:1;
}

.miniature .cell.e-bb-outer::after {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;
    left:-1px;
    right:-1px;    
    height:-1px;
    border-bottom:#666 1px solid;
    z-index:1;
}

.miniature .cell.e-bt-outer::after {
    content:'';
    display:block;    
    position:absolute;
    top:-1px;
    left:-1px;
    right:-1px;    
    height:-1px;
    border-top:#666 1px solid;
    z-index:1;
}

.miniature .cell.e-br-outer::after {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;    
    right:-1px;    
    top:-1px;
    width:-1px;
    border-right:#666 1px solid;
    z-index:1;
}

.miniature .cell.e-bl-outer::after {
    content:'';
    display:block;    
    position:absolute;
    bottom:-1px;    
    left:-1px;    
    top:-1px;
    width:-1px;
    border-left:#666 1px solid;
    z-index:1;
}


.miniature .cell.desc {
    background:#ddd;
    border:1px solid #666;
    z-index:1;    
    font-size:2px;
    line-height:2px;
}

.miniature .cell.desc.b::after,
.miniature .cell.desc.c::after,
.miniature .cell.desc.e::after {
    content:'';
    display:block;
    width: 0;
    height: 0;
    border-style: solid;    
    border-width: 3px 2.5px 0 2.5px;
    border-color: #666 transparent transparent transparent;
    position:absolute;
    top:9px;    
    left:2px;
}

.miniature .cell.desc.c::after {
    top:0px;
    left:11px;
}
.miniature .cell.desc.e::after {
    top:0px;
    left:-7px;
}

.miniature .cell.desc.a::after,
.miniature .cell.desc.d::after,
.miniature .cell.desc.f::after {
    content:'';
    display:block;
    width: 0;
    height: 0;
    border-style: solid;    
    border-width: 2.5px 0 2.5px 3px;
    border-color: transparent transparent transparent #666;
    position:absolute;
    left:9px;
    top:2px;
}

.miniature .cell.desc.d::after {
    top:11px;
    left:0px;
}

.miniature .cell.desc.f::after {
    top:-7px;
    left:0px;
}

.miniature .cell.error {
    background:#FF9F8C;
    border-color:#bbb;
}

.miniature .cell .smallrb {
    position: absolute;
    bottom: 0;
    right: 1px;
    font-size: 4px;
    line-height: 5px;
}

.miniature .cell .imgcontainer {
    position:absolute;
    left:0;
    top:0;
    width:8px;
    height:8px;
    overflow:hidden;
}

.miniature .passw {
    position:absolute;
    top:100%;
    left:0;
    margin-top:4px;
}

.miniature .passw .mini-cell,
.miniature .passw .mini-extra {
    position:absolute;
    width:4px;
    height:4px;    
    font-size:5px;
    line-height:5px;
    color:#666;
}

.miniature .passw .mini-cell {
    border:1px solid #888;
    background:white;
}


.miniature .bg {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    width:100%;
    height:100%;
}

.miniature .main-text {
    position:absolute;
    text-align:center;
    left:0;    
    top:-12px;    
    right:0;
    bottom:-12px;
    padding-top:45px;
    font-size:25px;
    font-weight:800;    
    text-shadow:0 0 2px white;
    background:rgba(255,255,255,0.7);    
    z-index:1;
}

.miniature .but, .phone .but {
    position:absolute;
    left:25px;
    top:20px;
    background:rgba(66,66,66,0.8);
    width:100px;
    height:100px;
    z-index:2;
    border-radius:100px;
    border:3px solid rgba(255,255,255,1);
    opacity:0;
    box-shadow:0 0 2px rgba(0,0,0,0.2);
    transition: all ease-out 0.2s;
}

.miniature .but:hover, .phone .but:hover {
    opacity:1;
    top:12px;
}

.miniature .but .icon, .phone .but .icon {
    position:relative;
    left:35px;
    top:25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 40px;    
    border-color: transparent transparent transparent white;
}

.miniature.ptype-7-words .cell {
    border:none;
    border-bottom:1px solid #888;
}

img.padlock-icon {
    padding-right: 5px;
    vertical-align: bottom;
}

#error-msg { 
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:1000;
    padding:1em;
    background-color:#ffdddd;
}

.filter-switch a.current {
    font-size: 150%;
}

.filter-save {
    text-align: right;
    padding-top: 10px;
}

.mini-face { 
    background-image: url('https://d1rins9iom9m0f.cloudfront.net/static/img/sprites.png?v=4');
    display: inline;
    height: 20px;
    padding-left:22px;
    border-radius: 16px;
    vertical-align: middle;
    border: 3px solid white;
    transition: border-color ease-in 0.2s;
    background-position:center;
    padding-bottom:0px;
    position:relative;
    top:-1px;
    padding-bottom:2px;
}


.panel.please-register .button {
    margin-bottom:1em;
}

@media screen and (min-width: 800px){ 
    .panel.please-register .buttons {         
        float:right;
        margin-left:2em;
    }    

    .panel.please-register .buttons .button:last-child {
        margin-bottom:0;
    }
}

#ui-datepicker-div {
    background: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.sprite-admin {background-position: -236px -69px;}
.sprite-robot {background-position: -236px -101px;}
.sprite-man-0 {background-position: -28px -5px;}
.sprite-man-1 {background-position: -132px -133px;}
.sprite-man-10 {background-position: -54px -5px;}
.sprite-man-11 {background-position: -2px -37px;}
.sprite-man-12 {background-position: -28px -37px;}
.sprite-man-13 {background-position: -54px -37px;}
.sprite-man-14 {background-position: -80px -5px;}
.sprite-man-15 {background-position: -80px -37px;}
.sprite-man-16 {background-position: -2px -69px;}
.sprite-man-17 {background-position: -28px -69px;}
.sprite-man-18 {background-position: -54px -69px;}
.sprite-man-19 {background-position: -80px -69px;}
.sprite-man-2 {background-position: -106px -5px;}
.sprite-man-20 {background-position: -106px -37px;}
.sprite-man-21 {background-position: -106px -69px;}
.sprite-man-22 {background-position: -2px -101px;}
.sprite-man-23 {background-position: -28px -101px;}
.sprite-man-24 {background-position: -54px -101px;}
.sprite-man-25 {background-position: -80px -101px;}
.sprite-man-26 {background-position: -106px -101px;}
.sprite-man-27 {background-position: -132px -5px;}
.sprite-man-28 {background-position: -132px -37px;}
.sprite-man-29 {background-position: -132px -69px;}
.sprite-man-3 {background-position: -132px -101px;}
.sprite-man-30 {background-position: -158px -5px;}
.sprite-man-31 {background-position: -158px -37px;}
.sprite-man-32 {background-position: -158px -69px;}
.sprite-man-4 {background-position: -158px -101px;}
.sprite-man-5 {background-position: -2px -133px;}
.sprite-man-6 {background-position: -28px -133px;}
.sprite-man-7 {background-position: -54px -133px;}
.sprite-man-8 {background-position: -80px -133px;}
.sprite-man-9 {background-position: -106px -133px;}
.sprite-mod-man-11 {background-position: -2px -5px;}
.sprite-mod-man-20 {background-position: -158px -133px;}
.sprite-none {background-position: -184px -5px;}
.sprite-removed {background-position: -184px -37px;}
.sprite-woman-0 {background-position: -184px -69px;}
.sprite-woman-1 {background-position: -184px -101px;}
.sprite-woman-10 {background-position: -184px -133px;}
.sprite-woman-11 {background-position: -2px -165px;}
.sprite-woman-12 {background-position: -28px -165px;}
.sprite-woman-13 {background-position: -54px -165px;}
.sprite-woman-14 {background-position: -80px -165px;}
.sprite-woman-15 {background-position: -106px -165px;}
.sprite-woman-16 {background-position: -132px -165px;}
.sprite-woman-17 {background-position: -158px -165px;}
.sprite-woman-18 {background-position: -184px -165px;}
.sprite-woman-19 {background-position: -210px -5px;}
.sprite-woman-2 {background-position: -210px -37px;}
.sprite-woman-20 {background-position: -210px -69px;}
.sprite-woman-21 {background-position: -210px -101px;}
.sprite-woman-22 {background-position: -210px -133px;}
.sprite-woman-23 {background-position: -210px -165px;}
.sprite-woman-24 {background-position: -2px -197px;}
.sprite-woman-25 {background-position: -28px -197px;}
.sprite-woman-26 {background-position: -54px -197px;}
.sprite-woman-27 {background-position: -80px -197px;}
.sprite-woman-3 {background-position: -106px -197px;}
.sprite-woman-4 {background-position: -132px -197px;}
.sprite-woman-5 {background-position: -158px -197px;}
.sprite-woman-6 {background-position: -184px -197px;}
.sprite-woman-7 {background-position: -210px -197px;}
.sprite-woman-8 {background-position: -236px -5px;}
.sprite-woman-9 {background-position: -236px -37px;}
.sprite-mod-woman-26 {background-position: -236px -133px;}

.wikicrosswords header .pagewidth {
    min-height:56px;
}

.wikicrosswords footer {
    text-align:left;
}

