html {
    box-sizing: border-box;
    font-size: 100%;
}
*,* ::afetr, ::before, a {
    box-sizing: inherit;
     outline: none;
}
table, img, td, tr {
  padding: 0;
  margin: 0;
  border: none;
}
input, button, select, textarea {
  outline: none;
  font-family: Roboto, Arial, sans-serif;
  font-size: 100%;
  font-weight: normal;
}
.hidden {display: none;}

.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    color: #db5c4c;
    font-family: Roboto, Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
 
img {
    border: 0 none;
    margin: 0;
    padding: 0;
}
ul,ol {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
a {
    color: black;
    text-decoration: none;
}
a:hover {
    color: black;
    text-decoration: underline;
}
a.footer_menu:hover {
    color: white;
}
a:link, a:visited, a:focus, a:hover {
  text-decoration: none;
  outline: none;
}
.authorlinkonline {
    color: #256799;
}

.authorlinkonline:hover {
  color: #256799;
}
.authorlinkonline:hover{
    text-decoration: underline;
}

.floatleft {
    float: left;
}
.floatright {
    float: right;   
}
.clr {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    clear: both;
    display: block;
    float: none;
    font-size: 0;
    height: 0;
    list-style: outside none none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    visibility: hidden;
    width: 0;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Roboto, Arial, sans-serif;
}

.container {
    padding: 0 20px;
} 
.mega_container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 100;
}
.container_gads {
    width: 100%;
    min-width: 100%;
    min-height: 280px;
    padding: 10px 0;
    
}
/** end common*/
.header {
    background-color: #000;
}
.headerbottom {
    background-color: #ffd600;
    width: 100%;
    height: 70px;
    color: #ffd600;
}
.header__inner {
    min-height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo:hover {
    cursor: pointer;    
}

#logo_640 {
    display: none;
}

@media (min-width: 640px) {
    #logo_320 {
        display: none;
    }
    #logo_640 {
        display: block;
    }
    .search__inner {
        min-width: 50%; 
    }
}    

.menu_btn {
    width: 36px;
    height: 36px;
    background-color: #fff;
    border: none;
    position: relative;
    font-size: 9px;
    padding-top: 23px;
}
.menu_btn::after {
    content: "";
    width: 28px;
    height: 3px;
    background-color: #000; 
    position: absolute;
    top:  7px;
    left: 4px;
    box-shadow: 0 4px 0 0 #000, 0 8px 0 0 #000;
}
button.menu_btn {
    padding: 0;
    padding-top: 23px;
}
 
.search__inner {
    flex-grow: 4;
    min-width: 65%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: #303030;
}
@media (min-width: 478px) {
    .search__inner {
         max-width: 50%; 
    }
} 
@media (min-width: 640px) {
    .search__inner {
        min-width: 50%; 
    }
}   
@media (min-width: 960px) {
    .search__inner {
        max-width: 60%; 
    }
}   
#searchbox_table {
    width: 100%;
}
#search_input_place {
  border: 1px solid #ffffff;
  position: relative;
}
#search_stext {
  width: 100%;
  height: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: none;
  border: none;
  font-size: 100%;
  color: #ffffff;
}
#search_button_place {
  background: #ffffff;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}
#search_button {
  width: 100%;
}
#searchresult {
  z-index: 5000;
  position: absolute;
  background: #ffffff;
  width: 100%;
  top: 2.4rem;
  padding-top: 0.5rem;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.8);
  display: none;
  font-size: 13px;
}
.search_item, .no_result {
  display: block;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.search_item:hover {
    background: #a71b1e;
    color: #fff;
    text-decoration: none;
}

#menu {
    background-color: white;
    width: 100%;
    box-shadow: 0px 6px 5px 0px rgba(0,0,0,0.61);
    position: fixed !important;
    top: 4.2rem;
    z-index: 10001;
    display: none;
    margin: 0 auto;
    width: 100%;
    overflow: auto;
    max-height: 270px; 
}
.menu_btn:hover {
    cursor: pointer;    
}
.menu_box {
    padding: 10px;
}
.menu_box_title {
    font-size: 1.2rem;
    padding: 5px;
    
}

.menu-li-next { padding: 5px;}
.menu_box_li {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 0 15px 0;
}
@media (min-width: 640px) {
    .menu_box_li {
        width: 30%;
        float: left;
    }
} 
@media (min-width: 960px) {
    .menu_box_li {
        width: 15%;
    }
} 
.menu-li-next:hover a:hover {
    color:#a71b1e;
}
/** end header mobf */
.footer {
    background: linear-gradient(to top, #a71b1e 0%, #9d1d1e 100%);
    height: 100%;
    padding: 2% 0;
    max-width: 100%;
}
.footer_content {
    padding: 1.5% 4% 1%;
}
.footer_title {
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 30px;
}
@media (min-width: 640px) {
    .footer_title {
        font-size: 18px;
    }
}
@media (min-width: 960px) {
    .footer_title {
        font-size: 20px;
    }
}
.footer_copyright {
    font-size: 14px;
    border-top: 1px solid #000;
    margin: 30px 0 0;
    padding: 25px 0 5px;
}
@media (min-width: 320px) {
    .footer_copyright {
        font-size: 12px;
    }
}
@media (min-width: 1024px) {
 .footer_copyright {
        font-size: 14px;
    }
}
.footer_box::after {
    clear: both;
}
.footer_box::after {
    content: "";
    display: table;
}
.footer_box {
    margin: 10px 0;
    width: 100%;
}
.footer_box_li {
    float: left;
    width: 13%;
    min-width: 100px;
}
@media (min-width: 320px) {
    .footer_box_li {
        width: 50%;
    }
}
@media (min-width: 960px) {
    .footer_box_li {
        width: 25%;
    }
}

@media (min-width: 1024px) {
    .footer_box_li {
        width: 13%;
    }
}
.footer_box_li ul {
    padding: 0 0 3%;
    width: 100%;
}
.footer_box_li li {
    height: 25px;
    padding: 0 0 5px;
}
.footer_box_title {
    color: #000;
    display: block;
    font-size: 14px;
    padding: 0 0 2px;
}
@media (min-width: 1024px) {
 .footer_box_title {
        font-size: 16px;
    }
}
.footer_menu {
    color: white;
    font-size: 12px;
}
@media (min-width: 1024px) {
 .footer_menu {
        font-size: 14px;
    }
}
.footer_menu:hover{
    text-decoration: underline;
}
/** end footer mobf */
/** Start menu */
.box_mainmenu_cat {
    position: relative;
    width: 100%;
    background-color: #f7f7f7;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    display: block;
}
 
.box_submainmenu_cat {
    padding: 0 20px;
}
.box_nav_mainmenu_cat {
    font-size: 14px;
}
 
.icon_title_mainmenu_cat::before {
    content: "☰";
    color: #5b86e5;
    font-weight: bold;
}
.box_title_mainmenu_cat {
    font-size: 24px;
    color: #222;
    font-weight: 400;
    padding: 10px 20px 0 20px;
}
 .nav_title_mainmenu {
    font-size: 17px;
    margin-left: 5px;
    padding-top: 15px;
    color: black;
}
.nav-minus::before {
    content: "━";
    color: #db5c4c;
    font-size: 18px;
}
.mainmenu_link {
    font-size: 13px;
    color: black;
}
.mainmenu_link:hover {
    text-decoration: underline;
}
a.mainmenu_link_category {
    font-size: 13px;
    color: black;
    text-decoration: underline;
}
a.mainmenu_link_category:hover {
    text-decoration: none;
}
.mainmenu_li {
    float: left;
    min-width: 100px;
    width: 40%;
    padding: 3px;
    padding-left: 12px;
}
@media (min-width: 600px) {
    .mainmenu_li {
        width: 30%;
    }
}
@media (min-width: 800px) {
    .mainmenu_li {
        width: 22%;
    }
}

@media (min-width: 900px) {
    .mainmenu_li {
        width: 40%;
        padding: 3px 0;
        padding-left: 12px;
        min-width: 80px;
    }
    .box_title_mainmenu_cat {
      font-size: 20px;
    }
}
.mainmenu_lu {
    margin-left: 10px;
    margin-top: 10px;
}
.mainmenu_li_cat {
    min-width: 280px;
    width: 90%;
    padding: 3px;
    padding-left: 20px;
}
.mainmenu_lu_cat {
    margin-left: 20px;
    margin-top: 10px;
}
 
/** end menu */

/** Start category */
.container_index {
    flex-wrap: wrap;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 100;
    min-width: 320px;
}
.container_index__inner {
    width: 100%;
    padding: 20px 3px;
    margin: 0 auto;
    box-sizing:  border-box;
}

.container_index_left {
    width: 100%;
}

@media (min-width: 900px) {
    .container_index_left {
        width: 70%;
        float: left;
    }
}  
@media (min-width: 1000px) {
    .container_index_left {
        width: 73%;
        float: left;
    }
}
@media (min-width: 1100px) {
    .container_index_left {
        width: 75%;
        float: left;
    }
}
.container_index_right {
    width: 100%;
}

@media (min-width: 900px) {
    .container_index_right {
        width: 30%;
        float: left;
    }
} 
@media (min-width: 1000px) {
    .container_index_right {
        width: 27%;
        float: left;
    }
}
@media (min-width: 1100px) {
    .container_index_right {
        width: 25%;
        float: left;
    }
}

.container_index_content_box {
    width: 100%;
}



#container_cat_item_title_top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
#seriya_title h1{
    color: #000;
    font-size: 20px;
    padding-left: 10px;
}


#anons_title h2{
    color: #000;
    font-size: 20px;
    padding-left: 5px;
}
#rating_title_h3 h3{
    color: #000;
    font-size: 20px;
}
@media (min-width: 478px) {
    #seriya_title h1{
        font-size: 22px;
        padding-left: 5px;
    }
    #anons_title h2{
        font-size: 22px;
        padding-left: 10px;
    }
    #rating_title_h3 h3{
        font-size: 20px;
    }
}

@media (min-width: 800px) {
    #seriya_title h1{
        color: #000;
        font-size: 24px;
        padding-left: 5px;
    }
    #anons_title h2{
        color: #000;
        font-size: 24px;
        padding-left: 10px;
    }
        #rating_title_h3 h3{
        font-size: 24px;
    }
}

.grid_right_title {
    color: black;
    font-weight: 700;
    padding: 10px 0;
}
.grid_listserial_years {
    width: 280px;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #dedede;
}
.grid_listserial_years td {
    vertical-align: middle;
    text-align: center;
    padding: 7px 15px;
    border: 1px solid #dedede;
}
a.gridrightlinkgenre {
    color: #ac2d2e;
    font-size: 14px;
}
a.gridrightlinkgenre:hover {
    color: black;

}
.yeartitl{
    font-size: 13px;
}
.container_menu_right {
}

/** Start cat all */
.container_cat_main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 0;
    margin-top: 10px;
    box-sizing:  border-box;
    
}
@media (min-width: 320px) {
    .container_cat_main {
        width: 100%;
    } 
}
@media (min-width: 900px) {
    .container_cat_main {
        width: 99%;
    } 
}

.container_cat_item {
    width: 100%;
    display: block;
    padding: 5px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
}


.container_cat_item_poster {
    float: left;
    width: 35%;
    min-height: 160px;
    position: relative;
}
@media (min-width: 400px) {
    .container_cat_item_poster {
      width: 30%;
    }   
}   
@media (min-width: 500px) {
    .container_cat_item_poster {
       width: 25%;
    }
}   
@media (min-width: 600px) {
    .container_cat_item_poster {
       width: 20%;
    }
}   
@media (min-width: 700px) {
    .container_cat_item_poster {
       width: 20%;
    }
}  
@media (min-width: 1200px) {
    .container_cat_item_poster {
       width: 16%;
    }
} 
.container_cat_item_info_inner {
    float: left;
    width: 65%;
}
@media (min-width: 400px) {
    .container_cat_item_info_inner {  
        width: 70%;
    }   
}   
@media (min-width: 500px) {
    .container_cat_item_info_inner {  
        width: 75%;        
    } 
}   
@media (min-width: 600px) {
    .container_cat_item_info_inner {  
        width: 80%;
    } 
} 
@media (min-width: 700px) {
    .container_cat_item_info_inner {  
        width: 80%;
    } 
} 
 
@media (min-width: 1200px) {
    .container_cat_item_info_inner {  
        width: 84%;
    } 
    
} 

.container_cat_item_info {
    width: 100%;
    color: white;
}
@media (min-width: 600px) {
    .container_cat_item_info {
        width: 70%;
        color: white;
        float: left;
    }
} 
@media (min-width: 1200px) {
    .container_cat_item_info {
        width: 77%;
        color: white;
        float: left;
    }
} 
.container_cat_item_rating {
    width: 100%;
    display: table;
}

@media (min-width: 600px) {
    .container_cat_item_rating {
        width: 30%;
        float: left;
        display: block;
    }
} 

@media (min-width: 1200px) {
    .container_cat_item_rating {
        width: 23%;
        float: left;
        display: block;
    }
} 
.container_cat_item_description {
    width: 100%;
    display: table;
    padding: 5px;
    box-sizing:  border-box;
    line-height: 1.5;
    font-size: 12px;
    margin-top: 20px;
}
@media (min-width: 600px) {
    .container_cat_item_description {
        width: 75%;
        display: table;
        line-height: 1.7;
        font-size: 13px;
        padding: 5px;
        box-sizing: border-box;
        padding-right: 13%;
    }
} 
 
.container_cat_item_info_box {
    width: 90%;
    padding: 0 0 5px 5px;
}
.container_cat_item_info_box_rating {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 13px;
}
.cat_serial_item_title {
    
}
.h2-cat_item_title a{
    font-size: 16px;
    color: #ac2d2e;
    font-weight: 700;
}
.h2-cat_item_title a:hover {
    text-decoration: underline;
}
@media (min-width: 1200px) {
    .h2-cat_item_title a{
        font-size: 20px;
    }
} 
.container_cat_item_poster img {
    width: 95%;
    height: auto;
} 


.container_cat_item_box_zhanr {
    width: 100%;
    padding: 5px 0 10px 0;
    box-sizing: border-box;
}

.oneserial_left_li {
    font-size: 13px;
    color: black;
    margin-right: 5px !important;
    float: left;
    font-weight: bold;
}

.oneserial_left_li1 {float: left;padding-left: 5px;color: black;font-weight: bold;}
.oneserial_left_li1:after {
    content: '\2022';
    float: left;
    padding-right: 5px;
    font-weight: bold;
    color: black;
}
@media (min-width: 1200px) {
    .oneserial_left_li,.oneserial_left_li1 {
        font-size: 15px;
    }
}
a.gridlinkgenre {
    color: black;
    font-size: 13px;
    font-weight: bold;
}
a.gridlinkgenre:hover {
    color: black;
    font-weight: bold;
    text-decoration: underline;
}
@media (min-width: 1200px) {
    a.gridlinkgenre {
        font-size: 15px;
    }
}
.container_cat_item_info_zhanr {
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
    padding: 5px;
    height: 30px;
}
.smalltitlek {color: black;font-size: 13px;}
.rating {
    width: 70px;
    height: 16px;
    background: url("../images/ratinggrey-cat.png") no-repeat left;
    float:left;
    margin-right: 5px;
}
.rating__stars {
    background: url("../images/rating-kinopoisk.png") no-repeat left;    
    height: 16px;
}
.ratingkt__stars {
    background: url("../images/rating-kinoteatr.png") no-repeat left;    
    height: 16px;
}
.ratingfx__stars {
    background: url("../images/rating-rosserial.png") no-repeat left;    
    height: 16px;
}

.ratyyfx {
    position: absolute;
    left: 0;
    top: 5px;
    opacity: 1;
    color: #fff;
    z-index: 20;
    height: 25px;
    font-size: 12px;
    min-width: 40px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    text-transform: uppercase;
}
.ratyyfxgreen {background-color: #63b30c}
.ratyyfxred {background-color: #f40c22}


.cat_seriy {
    padding: 5px;
    color: black;
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    display: table;
}
@media (min-width: 1200px) {
    .cat_seriy {
        font-size: 14px;
    }
    .ul_container_cat-rating {
        padding-bottom: 10px;
    }
}
.cat_premiers {
    color:#ac2d2e;
    font-size: 13px;
}
/** Start Pagination */
.grid_pagination {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    line-height: 1.5;
    text-align: center;
    box-sizing: border-box;
}
.grid_pagination-title {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0;
    line-height: 1.5;
    text-align: center; 
    font-size: 1.6rem;
}
.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination {
    height: auto;
    margin: 18px 0;
}

.pagination ul {
    display: inline-block;
}
.pagination li {
    display: inline;
}

.pagination a {
    float: left;
    padding: 0 14px;
    line-height: 34px;
    font-size: 14px;
}
 
.pagination span {
    float: left;
    padding: 0 14px;
    line-height: 34px;
}
.pagination .active span {
    background-color: grey;
    color: #ffffff;
} 

.pagination .active a {
    background-color: grey;
    color: #ffffff;
}

.pagination a:hover {
    background-color: black;
    color: #ffffff;
}

.pagination a:focus {
    background-color: #a40306;
    color: #ffffff;
}
.pagination .active a {
    color: #ffffff;
    cursor: default;
}

.pagination .disabled span,
.pagination .disabled a,
.pagination .disabled a:hover {
    color: black;
    background-color: transparent;
    cursor: default;
} 

/** end pagination */
.status {
    padding: 3px 5px;
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(0,0,0,.5);
    display: inline-block;
    border-radius: 2px;
}

.status--ongoing {
    background-color: #43a047;
    color: #FFFFFF;
    font-weight: 700;
}

.status--ended {
    background: #ffa798;
    color: #85574f;
}

.poster-card {
    position: relative;
    display: inline-block;
}

.badge-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 65px;
    height: 65px;
    overflow: hidden;
    z-index: 3;
}

.badge-corner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 65px solid #43a047;
    border-right: 65px solid transparent;
}

.badge-corner__text {
    position: absolute;
    top: 12px;
    left: -10px;
    width: 70px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 4;
}

.badge-corner__text span {
    display: block;
    color: #fff;
    font-size: 10px;
    line-height: 1;
}

.badge-corner__text span:first-child {
    margin-bottom: 1px;
}
.premiere-line {
    color: rgba(0,0,0,.8);
    text-decoration-color: #959595;
    text-decoration: underline;
}