.maintitle h1 {
    padding-bottom:0;
}

.maintitle {
  padding-top: 5em;
  padding-bottom: 3em;
}

#ukrlink {
background-repeat: no-repeat;
  background-size: auto 72%;
  background-position: center;
  position: absolute;
  top: -46px;
  left: 256px;
  width: 30px;
  height: 30px;
  z-index: 1;
  transition: all 0.1s ease-in-out;
}


#ukrlink:hover {
  background-size: auto 80%;
}

@media screen and (max-width:900px) {
    #ukrlink { display:none}
}


#main-panel .pagewidth { 
    width:auto;
    max-width:1320px;
    height:230px;
    position:relative;
} 

ul.crossword-list.fullwidth {
    display:inline-block;
    margin:auto;
    overflow:hidden;
    height:230px;
    padding-left:110px;    
}

@media screen and (max-width: 1340px) {
    ul.crossword-list.fullwidth {
        max-width:918px;
    }
}

@media screen and (max-width: 1160px) {
    ul.crossword-list.fullwidth {
        max-width:735px;
    }
}

@media screen and (max-width:900px) {
    #main-panel {
        white-space:nowrap;
    }
    #main-panel a {
        white-space:normal;
    }

    ul.crossword-list.fullwidth {
        max-width:none;
        padding-left:0;
    }

    #main-panel>div>div {
        overflow-x:auto;
        max-width:100%;
    }

}


ul.crossword-list li {
    height:230px;
    padding-bottom:0;
}

/* smart limitation of tabs width */
.filter { 
    line-height:0;
}

.options {
    max-width:90%;
    height:40px;
    overflow:hidden;
}

.more-collections {
    padding:8px;
    top:-4px;
    margin-left:10px;
    display: inline-block;
    border-radius: 20px;
    position:relative;
}

.more-collections img {
    width:16px;
    height:16px;
    display:block;
}

.more-collections:hover {
    background-color:#ccc;
    color:white;
}

.more-crosswords-holder {
    position:relative;
    display:inline-block;   
    vertical-align: top;
    margin-top: 50px; 
}

.more-crosswords {
    width:110px;
    height:100px;
    display:block;
}
.more-crosswords .rarr {
    position:absolute;
    left:5px;
    top:35px;
}
.more-crosswords .collection-icon {
    position:absolute;
    top:20px;
    left:47px;
    opacity:0;
    transition:all ease-in-out 0.3s;
}

.more-crosswords .collection-icon:hover {
    border-color:#ccc;
}

.more-crosswords:hover .collection-icon {
    opacity:1;
}

.collections-tabs {
    display:inline-block;
}

.collections-tabs li:first-child {
    margin-left:44px;
}






.participants li { 
    display:inline-block;
}

.centered-list {
    text-align:center;
}

.centered-list ul { 
    padding-top:2px;
    text-align:left;
    display:inline-block;
    padding-bottom:1em;
}

.comments-links {
    height:14em;    
    overflow:hidden; 
    padding-top:2px;   
}

.comments-links:hover {
    overflow-y:auto;
}

.like-it {
    position:relative;
    width:105px;
    height:20px;
    padding-left:90px;
    display:inline-block;

}
.like-it .szaradaman {
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url('/static/img/szaradaman/likeit.png');
    width: 74px;
    height: 119px;    
}
.centered-list #most-popular-collections {
    opacity:0;
    position:relative;
    top:0.5em;
    transition:all ease-in-out 0.2s;
}

.centered-list:hover #most-popular-collections {
    opacity:1;
    top:1em;
}


#most-popular-collections {
    text-align:center;
}

#most-popular-collections h3 {    
    display:inline-block;
    margin-top:0;
    padding-left:20px;
}

#most-popular-collections ul {
    display:inline-block;
    vertical-align:middle;
    padding-top:0;
    padding-bottom:0;
}

#most-popular-collections ul li {
    float: left;
    width: 42px;
    text-align: center;
    padding-bottom: 1em;
    position:relative;
    height:45px;
}

#most-popular-collections ul li:last-child {
    border-right:none;
}

#most-popular-collections ul li img {
    width:30px;
    height:30px;
    padding:0.2em;
}

#most-popular-collections ul li a .title {
    display: block;
    position: absolute;
    width:300%;
    left:-100%;
    top:100%;
    margin-top:0;
    color:#424242;
    font-weight:400;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    opacity:0;
    transition:opacity ease-in-out 0.2s;
}

#most-popular-collections ul li:hover img {
    background:#ddd;
}

#most-popular-collections ul li a:hover .title {
    margin-top:0px;
    opacity:1;
}

#most-popular-collections ul li span {
    display: block;
    font-weight: 400;
    color:#424242;
}

.crosswordament-status .participants {
    display: block;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

@media screen and (max-width: 800px){
    .centered-list #most-popular-collections {
        opacity: 1;
        position: relative;
        top: 1em;
    }

    .options.collections-tabs {
        max-width:100%;
        height:auto;
        overflow:auto;
        text-align:left;
    }

    .collections-tabs li:first-child {
        margin-left: 0;
    }

    .more-collections {
        display:none;
    }


    ul.crossword-list {
        padding-right:0px;
    }


    .more-crosswords-holder {
        padding-right:10px;
    }

    .more-crosswords .collection-icon {
        opacity:1;
    }

    .maintitle h1 {
        padding-bottom: 0.3em;
    }

}