*,*:before,*:after{
    box-sizing:border-box;
}
html{
    height:100% !important;
}
body{
    padding: 0;
    margin: 0;
    height:100% !important;
    background:#F2F2F2;
}
ul{
    display:block;
    margin:0;
    padding:0;
}
div.overlay{
    background: rgba(0,0,0,0.3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000);
    zoom: 1;
    z-index:19990;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;

}

/*MODAL*/
.overflow{
    overflow:hidden!important;
}
.modal_confirm{
    font-family: Verdana, sans-serif;
    color: #333;
    display:none;
}
.modal_confirm u{
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:200;
    background:#bebebe;
    opacity:0.5;
}
.modal_confirm span{
    display:block;
    position:fixed;
    z-index:201;
    left:40%;
    top:43%;
    width:20%;
    min-width:200px;
    background:#fff;
    border:1px solid rgba(0,0,0,.1);
}
.modal_confirm i{
    font-size:14px;
    display:block;
    padding:6px 20px;
    border-bottom:1px solid rgba(0,0,0,.1);
    font-style:normal;
}
.modal_confirm p{
    text-align:center;
    font-size:14px;
    display:block;
    position:relative;
    margin:10px 0;
}
.modal_confirm p .modal_error{
    text-align:center;
    font-size:10px;
    display:block;
    position:relative;
    margin:10px 0;
    color:red;
}

.modal_confirm input[type="button"]{
    display:inline-block;
    width:40%;
    margin:0 5px;
    display: inline-block;
    font-family: arial,sans-serif;
    font-size: 14px;
    color: rgb(68,68,68);
    text-decoration: none;
    user-select: none;
    padding: .2em 1.2em;
    outline: none;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 2px;
    background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
    transition: all .218s ease 0s;
}
.modal_confirm input[type="button"]:hover, .modal_confirm input[type="button"]:focus{
  color: rgb(24,24,24);
  border: 1px solid rgb(170,170,170);
  background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.modal_confirm b.loading{
    position:absolute;
    top:7px;
    right:6px;
    display:inline-block;
    width:16px;
    height:16px;
    background-image: url(images/loadings.gif);
}
.modal_confirm b#modal_confirm_error{
    display:block;
    margin-top:10px;
    font-size:12px;
    color:red;
}


@media only screen and (max-width : 1000px),
only screen and (max-device-width : 1000px){
    .modal_confirm span{
        left:34%;
        width:32%;
    }
}
@media only screen and (max-width : 400px),
only screen and (max-device-width : 400px){
    .modal_confirm span{
        left:25%;
        width:50%;
    }
}
@media only screen and (max-width : 300px),
only screen and (max-device-width : 300px){
    .modal_confirm span{
        left:12%;
        width:76%;
    }
}

/*MODAL*/


/*NAVIGATION*/
.menu{
    display:none;
    position:fixed;
    bottom:30px;
    right:30px;
    width:50px;
    opacity:1;
    height:40px;
    z-index:111;
    background: url("https://ymnik.kz/favicons.png") no-repeat 11px 4px;
    cursor:pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo{
    display:block;
    width:60px;
    height:50px;
    background: url("https://ymnik.kz/favicons.png") no-repeat 18px 8px;
}

.menu:hover{
    opacity:1;
}
.menu span{
    position:absolute;
    right:100px;
    left:0;
    z-index:20;
    cursor:pointer;
    height:40px;
}
nav .t{
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:49px;
    background-color: #fff;
    box-shadow: 0px -1px 3px  rgba(80, 80, 80, 0.5);
}
.mini{
    height:100%!important;
    width:60px;
    z-index:7;
}
nav .c.none{
    z-index:0;
}
.mini i{
    display:block;
    margin-right:5px;
}
nav .c{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    top:50px;

}

nav{
    background-attachment:fixed;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    display:block;
    width:250px;
    overflow:none;
    background: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index:105;
    font-family: 'Roboto', sans-serif;
}
ul[tab]{
    display:none;
}
nav ul{
    margin:0;
    padding:0;
    list-style-type:none;
    display:block;
}
.mm{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:auto;
    color: #444;
    text-decoration: none;
    box-shadow: 0px 1px 3px rgba(180, 180, 180, 0.5);
}
.mm li a.active{
    background-color:#ccc;
}

.mm a:hover{
    background:#f7f7f7;
}
.mm>li{
    display:block;
    position:relative;
}
.mm li a, nav ul li span{
    overflow: hidden;
}
.mm li span{
    display:block;
    height:100%;
    width:90%;
}
.t a{
    display:inline-block;
    padding:10px;
    font-weight: bold;
    margin:0;
    line-height:16px;
    position: relative;
    color: #444;
    text-decoration: none;
    font-weight:bold;
    font-family: 'Open Sans', sans-serif;
}
.t a:hover{
    background-color: #f3f3f3;
    color: #333;
}
.t .nn{
    display:none;
}
.mini .nn{
    display:block;
}
.t .yy{
    fill:#4D90FE;
}
.mini span{
    fill:#bec0c6;
}
.t span{
    display:inline-block;
    float:right;
    text-align:center;
    width:60px;
    height:50px;
    line-height:60px;
    font-style:normal;
    color:#222;
    cursor:pointer;
    margin:0;
    border:0;
    outline:0;
    fill:#bec0c6;
}
.mini span.nn:hover{
    fill:#333;
}
.t span svg{
    display:inline-block;
    width:24px;
    height:24px;
}
.mm>li>a, .mm>li>span{
    display: block;
    padding: 12px 10px;
    color: #444;
    text-decoration: none;
    font-size: 105%;
}
.mm>li ul{
    display:none;
}

.mm>li span{
    cursor:default;
}

.mm>li span[open]{
    cursor:pointer;
}

.mm>li .sub{
    position:relative;
    width:80%;
}
.mm i{
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 100%;
    bottom: 0;
    color:#888;
    font-size:100%;
}



.mm>li>ul>li i{
    height: 40px;
}

.mm>li i:after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    display:block;
    vertical-align: middle;
    text-align:center;
    cursor:pointer;
    width:30px;
    height:100%;
    background: url("images/right-arrow.svg") no-repeat 50% 50%;
    background-size: 20px;
}

.mm>li>ul>li i:after{
    background: url("images/down-arrow.svg") no-repeat 50% 50%;
    background-size: 16px;
}

.mm>li:hover, .mm>li:hover>span {
    background-color: #f2f2f2;
    color: #333;
    z-index:11;
}

.mm>li>ul {
    position:fixed;
    top:0;
    bottom:0;
    left:200px;
    background: #fff;
    width:200px;
    overflow:auto;
    z-index:109;
    box-shadow: 0px 0 1px rgba(80, 80, 80, 0.5);
}
.mm>li>ul li{
    display:block;
    position:relative;
}

.mm>li>ul>li>a, .mm>li>ul>li>span{
    display: block;
    padding: 10px;
    color: #555;
    text-decoration: none;
    font-size: 95%;
    
}
.mm>li>ul>li>ul{
    box-shadow:none;
}

.mm>li>ul>li:hover, .mm>li>ul>li:hover>span{
    background: #f2f2f2;
    color: #222;
}

.mm>li>ul>li>ul {
    position:relative;
    top:0;
    left:0;
    width:100%;
    background: #fff;
    height:100%;
    max-height:100%;
    overflow:auto;
}

.mm>li>ul>li>ul>li>a, .mm>li>ul>li>ul>li>span{
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-size: 90%;
}
.mm>li>ul>li>ul>li:hover{
    background: #f2f2f2;
    color: #111;
}



/*END NAVIGATION*/

/*CONTENT*/
h1{
    font-size:22px;
    margin:0 0 10px;
}
h2{
    font-size:20px;
    margin:10px 0;
}
.breadcrumb{
    font-family: 'Roboto', sans-serif;
}
.breadcrumb ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    width: 100%;
    margin-bottom:5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.breadcrumb ul li{
    float: left;
    margin-bottom:5px;
}

.breadcrumb ul a, .breadcrumb ul span{
    margin:1px;
    padding: 10px 5px 10px 1em;
    float: left;

    text-decoration: none;
    color: #444;
    position: relative;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    background-color: #f2f2f2;
}
.breadcrumb ul span{
    cursor:default;
    background-color: #f9f9f9;
}
.breadcrumb ul span span{
    display:inline-block;
    position:relative;
    margin:0;
    padding:0;
}
.breadcrumb ul li:first-child a{
    padding-left: 1em;
}

.breadcrumb ul a:hover{
    background: #DFDCDC;
}

.content{
    display:block;
    position:absolute;
    top:0;
    left:260px;
    right:0;
    bottom:0;
    padding:10px 20px 20px 20px;
    overflow:auto;
    background: #fff;
    box-shadow: 0 0 2px rgba(80,80,80,.5);
}
.breakage{
    margin-top:50px;
}
ul.links{
    list-style-type:none;
}
ul.links>li{
    margin:0;
    padding:0;
}
ul.links>li>a{
    display:block;
    text-decoration:none;
    color:#0066CC;
    padding:5px;
}

ul.links-inline>li{
    display:inline-block;
    margin:0;
    padding:0;
}
ul.links-inline>li>a{
    display:inline-block;
    text-decoration:none;
    color:#0066CC;
    padding:5px 5px 5px 0;
}

.table{
    display:table;
    width:100%;
}

.table .cell{
    display:table-cell;
    vertical-align:top;
    text-align:center;
}

.container{
    display:table;
    width:100%;
    margin:10px 0 20px;
}

.container .row{
    display:table-row;
    margin-bottom:20px;
}

.container .cell{
    display:table-cell;
    padding-right:20px;
}

.container div.b5{
    width:33.3%;
}

.tables{
    display:table;
    width:100%;
    margin:10px 0 20px;
}

.tables>.cell{
    display:inline-block;
    padding-right:10px;
    margin-bottom:20px;
    vertical-align:top;
}

.tables>.cell .deiro{
    width: 100%;
    color: #333;
    padding: 2px 1px 2px 1px;
    text-decoration: none;
    margin-bottom:5px;
    position:relative;
}
.tables>.cell a{
    border: 1px solid #ECECEC;
    display:block;
    width: 100%;
    text-align: center;
    color: #333;
    padding: 10px 5px 10px 5px;
    text-decoration: none;
    margin-bottom:5px;
    position:relative;
}

.tables>.cell a span{
    position:absolute;
    height:5px;
    bottom:0;
    left:0;
    background:#aaffaa;
}

.tables>.cell a:hover span{
    background:green;
}

.tables .cell a:hover{
    background: #ECECEC;
}


.variants{
    margin:15px 0 10px;
}

.variants a{
    width:50px;
    text-align:center;
    display:inline-block;
    border:1px solid #ECECEC;
    color:#333;
    padding:5px;
    text-decoration:none;
    margin:5px;
}

.variants a:hover{
    background:#ECECEC;
}

.pn>a{
    width:200px;
}
.forms{
   padding:0 0 50px; 
   font-family: 'Arial', serif;
}
.button{
    margin-top:10px;
    width:100%;
    border:1px solid #dfdcdc;
    color:#333;
    padding:10px;
    font-size:105%;
}
.button:hover{
    background:#ECECEC;
}
.question:first-child{
    padding:10px;
}
.question{
    padding:30px 10px 10px;
}
.radio {
  vertical-align: top;
  width: 15px;
  height: 15px;
  margin: 0 2px 0 0;
}
.radio + label {
  cursor: pointer;
}
.radio:not(checked) {
  position: absolute;
  opacity: 0;
}
.radio:not(checked) + label {
  position: relative;
  padding: 10px 0 10px 50px;
  width: 100%;
    position: relative;
    display: block;
}
.radio:not(checked) + label:hover{
    background:#f2f2f2;
}
.radio:not(checked) + label:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #CDD1DA;
  border-radius: 50%;
  background: #FFF;
}
.radio:not(checked) + label:after {
  content: '';
  position: absolute;
  top: 13px;
  left: 23px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dfdcdc;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
  opacity: 0;
  transition: all .2s;
}
label.good:after{
    background:#7DED7D!important;
}
label.bad:after{
   background:#EC7D7D!important;
}
.radio:checked + label:after {
  opacity: 1;
}
.radio:focus + label:before {
  box-shadow: 0 0 0 3px rgba(252, 252, 252, .9);
}

.edition{
    display:none;
    font-family: 'Roboto', sans-serif;
    overflow:auto;
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background:#fff;
    height:auto;
    padding:5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align:center;
}

.edition .element a{
    font-size:16px;
    line-height:26px;
    text-align:center;
    display:inline-block;
    border:1px solid #d9d9d9;
    border-radius:50%;
    background:#fff;
    width:40px;
    height:40px;
    padding:6px;
    text-align:center;
    margin:3px 1px 3px 0;
    cursor:pointer;
    text-decoration:none;
    color:black;
}

.edition .destroy a{
    text-align:center;
    margin:5px 1px 3px 0;
    cursor:pointer;
    text-decoration:none;
    color:black;
}

.edition a.check{
    width:auto;
    margin-left:10px;
    border: 1px solid #dfdcdc;
    color: #333;
}

.edition a.check:hover{
    background:#DFDCDC;
}

.edition a:hover{
    background:#f2f2f2;
}
.edition .destroy{
    display:block;
    padding:4px 0;
}
.edition .destroy a{
    display:block;
    padding:8px;
    margin:4px 0 4px 5px;
}

input.search{
    width:100%;
    padding:10px;
}

.adsense_adapt{
    padding:5px 0;
}
.texts{
    padding:5px 10px;
    font-size:90%;
}
.texts ul{
    list-style-type:none;
}
.textovik{
    padding:0 10px;
}
.text_next, .text_prev{
    display:block;
}
div.title{
    text-shadow: 1px 1px 0px #fff, 2px 2px 0px rgba(0,0,0,0.2);
    padding:15px 0 10px;
    color: #222;
    font-weight: normal;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    cursor:default;
}


/*END CONTENT*/


/*JS STYLE*/
.content.min{
    left:70px;
}
.big{
    left:0 !important;
}

a.select{
    background:#FFE4B5!important;
}

a.good{
    background:#7DED7D!important;
}

a.bad{
   background:#EC7D7D!important;
}

/*END JS STYLE*/

/*LOADING*/
div.content loading{
    background:#eee;
    opacity:0.7;
    z-index:300;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
}


/*END LOADING*/


/*MAX ICON*/
[icon] i{
    display:block;
    height:100%;
    float:left;
}
.dm i:hover{
    background:#0066cc;
    cursor:pointer;
}

.w1 i{
    width:100%;
}
.w2 i{
    width:50%;
}
.w3 i{
    width:33.33%;
}
.w4 i{
    width:25%;
}
.w5 i{
    width:20%;
}
.w6 i{
    width:16.66%;
}
.w7{
    width:14.285714285714285714285714285714%;
}
.w8{
    width:12.5%;
}
.w9{
    width:11.11%;
}
.w10{
    width:10%;
}
/*END MAX ICON*/

/* FOOTER */
div.footer{
    border-top:3px solid #EEE;
    padding:10px 20px 20px 20px;
    margin-top:30px;
}

div.footer div.column{
    margin-top:20px;
    display:inline-block;
    width:33%;
    vertical-align:top;
}
div.footer div.column b{
    display:block;
    text-transform: uppercase;
    font-family:Verdana;
    font-size:14px;
    font-weight:normal;
    margin-bottom:8px;
}
ul.footer{
    list-style-type:none;
}
ul.footer li{
    
}
ul.footer li a{
    font-size:14px;
    display:block;
    padding:5px;
    color:#06c;
    text-decoration:none;
}
ul.footer li a:hover{
    text-decoration:underline;
}
div.copyring{
    margin-top:20px;
}

/* FOOTER END */
    
    .table-responsive table{
   border-collapse: collapse;
   width:100%;
   max-width:100%;
}
.table-responsive table td, .table-responsive table th{
    padding: 8px;
    border: 1px solid #ccc;
    vertical-align:top;
}

.table-responsive{
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    overflow-x: auto;
}

@media only screen and (min-width : 500px),
only screen and (min-device-width : 500px){
    
    .breadcrumb ul a, .breadcrumb ul span{
        margin:0;
        padding: .3em 1em .3em 2em;
    }
    
    .breadcrumb ul a::after,
    .breadcrumb ul a::before{
        content: "";
        position: absolute;
        top: 50%;
        margin-top: -15px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 1em solid;
        right: -1em;
    }
    
    .breadcrumb ul a::after{ 
        z-index: 2;
        border-left-color: #f2f2f2;  
    }
    
    .breadcrumb ul a::before{
        border-left-color: #fff;  
        right: -1.1em;
        z-index: 1; 
    }
    
    .breadcrumb ul a:hover::after{
        border-left-color: #DFDCDC;
    }

}








@media only screen and (max-width : 1000px),
only screen and (max-device-width : 1000px){
    .content{
        right:0!important;
    }
    .edition a{
        padding:5px;
    }
}

@media only screen and (max-width : 800px),
only screen and (max-device-width : 800px){
    .container div.b2{
        display:block;
    }
    .edition a{
        font-size:12px;
        line-height:12px;
        width:30px;
        display:inline-block;
    }
    div.footer div.column{
        width:100%;
    }
}

@media only screen and (max-width : 500px),
only screen and (max-device-width : 500px){
    .menu{
        display:block;
        
    }
    .menu:after{
        content:"";
        display:block;
        position:absolute;
        top:-8px;
        left:-6px;
        width:56px;
        height:56px;
        border: 1px solid #ebebeb;
        border-radius: 50%;
        z-index:99;
    }
    nav{
        width:50%;
        display:none;
    }
    .mm>li>ul{
        width:50%;
        left:50%;
    }
    
    .content{
        position:absolute;
        left:0;
        right:0;
        bottom:0;
        top:0;
        padding:10px 15px 10px 10px;
    }
    .microfixed{
        display:block;
        position:fixed;
        z-index:80;
        bottom:5px;
        left:5px;
        right:0;
        width:70%;
        border:1px solid #ebebeb;
        background:#ebebeb;
        color:#333;
        padding:10px;
        font-size:110%;
        opacity:0.8;
    }
}

@media only screen and (max-height : 400px),
only screen and (max-device-height : 400px){
    
    span.destroy a{
        line-height:14px;
    }

    @media only screen and (min-device-width : 800px){
        span.element{
            display:block;
            
        }
        
    }
    
}

@media only screen and (max-width : 500px),
only screen and (max-device-width : 500px){
    nav{
        width:100%;
    }
    .content.min{
        left:0;
    }
    .mini{
        display:none;
        z-index:0;
    }
    .menu{
        display:block;
    }
    .mm>li>ul {
        position:relative;
        top:0;
        left:0;
    }
    .mm, .mm>li>ul,  .mm>li>ul>li>ul{
        width:100%;
    }

    .breadcrumb ul li{
        width:100%;
    }
    .breadcrumb ul li a, .breadcrumb ul li span{
        width:100%;
    }
}