@charset "windows-1251";
article,aside,figcaption,figure,footer,header,main,hgroup,nav,section,time,ul,ol,h1,h2,h3,a{ -moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing: border-box; }
article,aside,figcaption,figure,footer,header,main,hgroup,nav,section,time,ul,ol,h1,h2,h3{ display: block;  }
html,body,div,main,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,textarea,span{margin: 0; padding: 0; -moz-box-sizing: border-box; box-sizing: border-box; }
table, tr, tr{ -moz-box-sizing: border-box; box-sizing: border-box; -webkit-box-sizing: border-box; }
input, textarea, select, button, body{ outline: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
body{ color: #222222; background: #FFFFFF; overflow-y: hidden; overflow-x: hidden; }
*{
    font-kerning: normal;
    -webkit-font-kerning: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    z-index: : 1;
 }

a, select, option{ cursor: pointer; }

ul.reset{ list-style: none; }

a:link, a:visited, .anim
{
    -webkit-transition: color 0.2s ease, background 0.2s ease;
    -moz-transition: color 0.2s ease, background 0.2s ease;
    -ms-transition: color 0.2s ease, background 0.2s ease;
    -o-transition: color 0.2s ease, background 0.2s ease;
    transition: color 0.2s ease, background 0.2s ease;
}

a:link, a:visited
{
    color: #398dd8;
    text-decoration: none;
}

a:hover
{
    text-decoration: none;
}
a:active{ outline: none; }

a img  { border: 0 none; }
.clear{ clear: both; }
.bg_noimage{ background-image: none; }
.dnone{ display: none; }
.center{ text-align: center; }

input:disabled{ cursor: not-allowed; }

input::-moz-focus-inner{    border:0;padding:0; }
button::-moz-focus-inner{   border:0;padding:0; }
select::-moz-focus-inner{   border:0;padding:0; }
textarea::-moz-focus-inner{ border:0;padding:0; }
option::-moz-focus-inner{   border:0;padding:0; }

/*********************************/

#ajax{ display: none; }

/*********************************/
input[type="number"],
input[type="date"],
input[type="text"],
input[type="password"],
textarea,
select
{
    -webkit-transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    -moz-transition:    border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    -ms-transition:     border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    -o-transition:      border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    transition:         border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    border:             1px solid #333333;
    padding:            5px;
    height:             26px;
    color:              #555555;
    background:         #F5F5F5;
    cursor:             pointer;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"],
input[type="number"]:hover,
input[type="number"]:focus { -moz-appearance: textfield; -webkit-appearance: none;  }

input[type="date"]{ text-align: center; }


input[type="number"]:hover,
input[type="date"]:hover,
input[type="text"]:hover,
input[type="password"]:hover,
textarea:hover
{
    -moz-user-focus: none !important;
    border-color: #111111;
    color: #555555;
    background-color: #FFFFFF;
    cursor: pointer;
}
input[type="number"]:focus,
input[type="date"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus
{
    -moz-user-focus: none !important;
    border-color: #111111;
    color: #000000;
    background-color: #FFFFFF;
    cursor: text;
}

input[type="number"][disabled="disabled"],
input[type="date"][disabled="disabled"],
input[type="text"][disabled="disabled"],
input[type="password"][disabled="disabled"],
textarea[disabled="disabled"],
input[type="text"][readonly="readonly"],
input[type="password"][readonly="readonly"],
textarea[readonly="readonly"]{ cursor: text; }

.curpointer{ cursor: pointer; }
.noselect{ -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input[type="checkbox"]{ display: inline-block; position: relative; top: 2px; }
.nocursor{ cursor:none; }
table, table td{ border-collapse: collapse; border: none; }

[data-role="dialog:window"]{ display: none; }

button
{
    display: inline-block;
    position: relative;
    padding: 8px 5px 8px 5px;
    text-align: center;
    margin: 5px 5px 5px 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #184D7B;
    background: #398DD8;
    color: #FFFFFF;
    cursor: pointer;
    width: 120px;
    opacity: 0.8;
}

button:active{ background-color: #2A2A2A; opacity: 1.0; }
button:hover{ background-color: #2A2A2A; opacity: 1.0; }

/*********************************/

body
{
    --window-width: 90vw;
    --window-min-width: 680px;
    --window-max-width: 1280px;


    --header-elem-width: calc( ( ( 100% - 200px ) / 4 ) );
    --header-elem-hight: 45px;
    --header-elem-font-size: 0.90em;

    font-size: 20px;
}


/*********************************/
@media (hover:none) and (orientation: portrait),
    (hover:on-demand) and (orientation: portrait),
    (max-device-width: 680px)
{
    body
    {
        --window-min-width: 100px;
        --window-width: 100%;

        --header-elem-width: 100%;
        --header-elem-hight: 45px;
        --header-elem-font-size: 0.90em;
    }
}
/*********************************/

body
{
    background: #FFFFFF;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    min-width: var(--window-min-width);
    overflow: scroll;
    overflow-x: hidden;
}


.sized{ width: var(--window-width); min-width: var(--window-min-width); max-width: var(--window-max-width); margin: 0px auto; }
.bordered{ border: none; border-color: #333333; border-width: 1px; }

#header_selector, #footer{ text-align: center;  background: none; position: relative; }

#mod_area{ min-height: 100px; }

/*********************************/
#footer{ border-top-style: solid; }
#footer p{ padding: 10px; font-size: 0.75em; }
#footer p .stats{ display: inline-block; margin: 0px 10px; }
#footer #stats_user_ip::before{ content: "IP: " } #footer #stats_user_ip::after{ content: ";" }
#footer #stats_core_temp::before{ content: "CPU: " } #footer #stats_core_temp::after{ content: "°C;" }
#footer #stats_hdd_free_perc::before{ content: "Free: " } #footer #stats_hdd_free_perc::after{ content: "%;" }
#footer #stats_hdd_used_perc::before{ content: "Used: " } #footer #stats_hdd_used_perc::after{ content: "%;" }
/*********************************/

#header_selector{ border-bottom-style: solid; }
#header_selector .subframe
{
    position: relative;
    height: auto;
    overflow: hidden;
    list-style: none;
}

#header_selector .subframe .header_selector
{
    width: var(--header-elem-width);
    min-width: 120px;
    display: block;
    float: left;
    text-align: center;
}



#header_selector .subframe .header_selector a
{
    display: block;
    color: #222222;
    font-weight: bold;
    font-size: var(--header-elem-font-size);
    height: var(--header-elem-hight);
    padding-top: calc( ((var(--header-elem-hight) - var(--header-elem-font-size))/5)*2 );
}
#header_selector .subframe .header_selector a:hover{ color: #003366;  }
#header_selector .subframe .header_selector:first-of-type { text-align: left;  }
#header_selector .subframe .header_selector:last-of-type  { text-align: right; }
#header_selector .subframe .header_selector.mainpage{ width: 100px; min-width: auto; }
#header_selector .subframe .header_selector.login{ width: 100px; min-width: auto; }

@media (hover:none) and (orientation: portrait),
    (hover:on-demand) and (orientation: portrait),
    (max-device-width: 680px)
{
    #header_selector .subframe .header_selector:first-of-type { text-align: center;  }
    #header_selector .subframe .header_selector:last-of-type  { text-align: center; }
    #header_selector .subframe .header_selector.login  { display: none; }
    #header_selector .subframe .header_selector.mainpage{ width: var(--header-elem-width); }
}

#header_selector .subframe.serial .header_selector.serial a,
#header_selector .subframe.film .header_selector.film a,
#header_selector .subframe.multfilm .header_selector.multfilm a,
#header_selector .subframe.multserial .header_selector.multserial a
{ color: #FFFFFF; background: #398DD8; }

#header_selector .subframe.serial .header_selector.serial a:hover,
#header_selector .subframe.film .header_selector.film a:hover,
#header_selector .subframe.multfilm .header_selector.multfilm a:hover,
#header_selector .subframe.multserial .header_selector.multserial a:hover
{ background: #2370B3; }



/*


#header_selector .header_selector{ border: none; display: inline-block; padding: 10px 15px 10px 0px; }
#header_selector .header_selector.serial{ padding-left: 15px; }
#header_selector .header_selector.mainpage{ position: absolute; left: 0px; top: 0px; text-align: left; padding-left: 0px; }
#header_selector .header_selector.login{ position: absolute; right: 0px; top: 0px; text-align: right; padding-right: 0px; }
#header_selector .header_selector a{ color: #222222; font-weight: bold; }
#header_selector .header_selector a:hover{ color: #003366;  }
*/

.telegram{ display: block; width: 30px; height: 30px; position: absolute; top: 10px; right: 40px; background: transparent; z-index: 3; }
.telegram a{ display: inline-block; height: 100%; width: 100%; background: url(../img/tg_icon_30x30.png) 50% 50% no-repeat; }
.telegram a img{ display: block; height: 100%; width: 100%; }
.telegram.active{ filter: hue-rotate(270deg); }







