@font-face {
    font-family: 'Palatino Linotype';
    src: url(../fonts/PalatinoLinotype-Bold.woff) format('woff');
    font-weight: bold;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
}

small, .small {
    font-size: 90%;
}

body {
    position: relative;
    font-family: "Arial", sans-serif;
    font-size: 160%;
    line-height: 120%;
    min-width: 1200px;

    background: url(../img/bg.png);
    background-attachment: fixed;
}

h1,h2,h3,h4,h5,h6, .h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: 'Palatino Linotype';
}

body:before {
    /*background: rgba(153,0,0,0.2);*/
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

h1, .h1 {
    font-size: 220%;
}

h2, .h2 {
    font-size: 180%;
}

h3, .h3 {
    font-size: 160%;
}

h4, .h4 {
    font-size: 120%;
}

h5, .h5 {
    font-size: 100%;
}

h6, .h6 {
    font-size: 80%;
}

a {
    color: #990000;
    text-decoration: underline;
    /*outline: none!important;*/
}

a:focus,
a:hover,
a:active {
    color: #990000;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.container {
    min-width: 1200px;
}

.site-header > .container {
    background: url(../img/header_bg.png?v=2) no-repeat bottom center #990000;
    height: 160px;
    position: relative;
    line-height: 18px;
}

.site-logo {
    background: url(../img/logo.png) no-repeat left center;
    display: inline-block;
    color: white!important;
    text-decoration: none !important;
    padding-left: 360px;
    height: 160px;
    font-family: 'Palatino Linotype';
    font-size: 24px;
    line-height: 28px;
    padding-top: 39px;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
}

.form-control {
    font-size: 100%;
}

.btn {
    font-size: 100%;
}

.site-header.raise .title {
    font-size: 21px;
    top: 119px;
}

.site-header.raise .title-kk {
    left: 95px;
}

.site-header.raise .title-ru {
    right: 20px;
}

.site-header .title-kk {
    left: 130px;
    text-align: right;
}

.site-header .title-ru {
    right: 65px;
}

.miniicon-wrapper {
    padding: 10px;
}

.miniicon-wrapper .btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    height: 30px;
    padding: 0 10px;
}

.miniicon-wrapper .form-control {
    height: 30px;
}

#slider1 {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 215px;
    border-radius: 4px;
    box-shadow: 0 0 1px rgba(0,0,0,0.5);
}

.site-header .social {
    position: absolute;
    left: 0;
    bottom: 11px;
    line-height: 16px;
}

.social .groups {
    display: inline-block;
    color: white;
    position: relative;
    font-size: 100%;
    vertical-align: middle;
    top: 4px;
    line-height: 16px;
}

.social .groups span {
    margin-right: 5px;
    position: relative;
    top: 1px;
}

.b-share-form-button, .b-share-popup__item__text, .b-share-popup__header {
    font-family: "Roboto Condensed", sans-serif!important;
    font-size: 15px!important;
}

.b-share-form-button {
    font-size: 80%!important;
    line-height: 18px!important;
}

.lang-switcher {
    float: right;
}
/* ************************************************************************** */

.theme-settings {
    position: absolute;
    bottom: 7px;
    right: 145px;
    font-size: 100%;
    color: white;
}

.theme-settings ul {
    margin: 0;
}

.theme-settings a {
    color: white;
}

.theme-settings li {
    display: inline-block;
    margin-left: 5px;
}


/* ************************************************************************** */

.site-content {
    background: white;
}
.site-middle {
    margin-top: 15px;
}
.site-middle .col {
    padding: 0;
}

.breadcrumb {
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    padding: 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #990000;
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #333;
    font-size: 60%;
    content: "\e080";
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vscroller {
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    height: 224px;
}

.vscroller-content {
    position: relative;
    margin-right: 5px;
}

.vscroller-scroll-body {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #ccc;
    width: 10px;
    border-radius: 0;
}

.vscroller-drag .vscroller-scroll-body,
.vscroller-scroll-body:hover {

}

.vscroller-scroll {
    outline: none!important;
    display: block;
    position: absolute;
    top: 0;
    left: -1px;
    background: #990000;
    width: 12px;
    height: 45px;
    border-radius: 4px;
    transition: background-color 0.5s;
    -webkit-transition: background-color 0.5s;
    z-index: 99;
    cursor: pointer;
}

.vscroller-scroll:focus {
    background: #660000;
}

.mypanel {
    background: #990000;
    color: white;
    margin-bottom: 10px;
}

.mypanel a {
    color: white;
}

.mypanel-title {
    background: #660000;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    font-family: 'Palatino Linotype';
}

.mypanel-title-news {
    margin-bottom: 0;
}

.last-articles {
    height: 224px;
}

.last-articles-item:first-child {
    padding-top: 15px;
}

.last-articles-item {
    padding: 15px;
    padding-top: 0;
}

.last-articles-item .title {
    margin-top: 0;
}

.last-articles-item .date {
    color: gray;
}

.last-articles-item .img {
    margin-right: 10px;
    /*margin-bottom: 5px;*/
}

.mypanel-body {
    padding: 10px;
    overflow: hidden;
    /*word-break: break-all;*/
}

.mypanel-body-news {
    padding-top: 0;
    padding-bottom: 0;
}

.last-articles-panel .mypanel-body {
    padding: 0;
}

.last-articles-panel .mypanel-title {
    /*text-transform: uppercase;*/
    text-align: left;
}

.last-articles-panel {
    background: white;
    color: #333;
}

.sidebar {
    width: 230px;
}

.sidebar-block-title {
    border-top: 10px solid #990000;
}

.site-content {
    width: 710px;
    padding: 15px!important;
    margin-left: 15px;
    margin-right: 15px;
    overflow-x: hidden;
}

.poll-form {
    padding: 10px;
}

.btn {
    font-family: 'Palatino Linotype';
}

.btn-primary {
    background-color: #990000!important;
    border-color: #660000!important;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.15) 0%,rgba(255,255,255,0.3) 48%,rgba(255,255,255,0) 50%)!important;
    outline: none!important;
    text-decoration: none!important;
    box-shadow: none!important;
}

.btn-primary:active, .btn-primary.active {
    background-color: #660000!important;
}

.btn-banner {    
    position: relative;
    height: 80px;    
    width: 100%;        
    padding-left: 70px;
    display: table;
}

.btn-banner img{
    position: absolute;
    left: 10px;
    top: 15px;    
}

.btn-banner .title{
    display: table-cell;    
    vertical-align: middle;
}

.search-form{
    position: relative;
}

.search-form .extanded-search{
    position: absolute;
    right: 45px;
    top: 6px;
    z-index: 10;
    text-decoration: none;
    font-size: 18px;
    color: #990000;
    width: auto;
}

.search-form input{
    padding-right: 30px;
}

.search-form .btn {
    font-size: 14px!important;
}

.form-control {
    border-color: #660000!important;
}

.form-control:focus {
    box-shadow: none;
    background: white;
}

.newstape {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.newstape-content {
    position: relative;
    padding: 15px;
}

.newstape-drag {
    cursor: ns-resize;
}

.newstape .fader {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: url(../img/fader.png);
    height: 20px;
}

.news-block .thumb {
    float: left;
    margin-right: 10px; 
    margin-bottom: 4px;
}

.news-block h3 {
    font-size: 150%;
    margin-top: 0;
}

.news-block .date {
    text-align: right;
    color: gray;
}

.news-block {
    font-size: 85%;
    padding: 8px 0;
    border-bottom: 1px dotted gray;
}

.site-footer {
    position: relative;
    border-radius: 0 0 4px 4px;
    margin-bottom: 5px;
    z-index: 2;
}

.site-footer .copyright {
    border-radius: 0 0 4px 4px;
}

.site-footer .copyright a {
    text-decoration: underline!important;
    color: white!important;
}

.banners-wrapper {
    padding: 10px 0;
}

#banners {
    margin: 0 auto;
}

.nbc-banners .nbc-control {
    position: absolute;
    top: 18px;
    width: 33px;
    height: 33px;
    cursor: pointer;
    border-radius: 4px;

    background-color: #990000;
    border: 1px solid #660000;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.15) 0%,rgba(255,255,255,0.3) 48%,rgba(255,255,255,0) 50%)!important;
    outline: none!important;
    text-decoration: none!important;
}

.nbc-banners .nbc-control:active {
    background-color: #660000;
}

.nbc-banners .nbc-next {
    left: 15px;
}

.nbc-banners .nbc-prev {
    right: 15px;
}

.nbc-banners .nbc-next:before, .nbc-prev:before {
    font-family: 'Glyphicons Halflings';
    font-size: 19px;
    position: relative;
    top: 4px;
    color: white;
}

.nbc-banners .nbc-next:before {
    content: "\e251";
    left: 6px;
}

.nbc-banners .nbc-prev:before {
    content: "\e250";
    left: 7px;
}

.poll-bar-color {
    background: darkred;
}

.error-list li {
    color: #aa242a;
}

.error-list li:before {
    font-family: 'Glyphicons Halflings';
    content: "\e014";
    margin-right: 2px;
    position: relative;
    top: 2px;
}

.q-items {
    width: 80%;
    margin: 0 auto;
    text-align: justify;
}

.q-item {
    margin-bottom: 2px;
}

.q-item .spoiler-title {
    background: #efefef;
    font-size: 120%;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
    padding: 10px;
    border-radius: 4px 4px 0 0;
}

.q-item .closed:before {
    font-family: 'Glyphicons Halflings';
    content: '\e114';
    padding-right: 8px;
    position: relative;
    top: 2px;
}

.q-item .opened:before {
    font-family: 'Glyphicons Halflings';
    content: '\e113';
    padding-right: 8px;
    position: relative;
    top: 2px;
}

.q-item .opened,
.q-item .spoiler-title:hover {
    background: #ccc;
}

.q-item .spoiler-body {
    background: #fafafa;
    padding: 10px;
}

.q-item .spoiler-body h3:first-child {
    margin-top: 0;
}

.q-view {
    text-align: justify;
}

.albom-info {
    color: black!important;
    text-decoration: none!important;
}

.albom-item a {
    text-decoration: none!important;
}












#fancybox-buttons ul {
    width: 136px!important;
}

.thumbnail {
    border-radius: 0;
    transition: none;
    -webkit-transition: none;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: #990000;
}


#toTop {
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    cursor: pointer;
    display: none;
    padding: 10px 15px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 123;
    color: white;
}

#print {
    display: inline-block;
    margin-top: 10px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #990000;
    border-color: #990000;
}


body.print .pagination {
    display: none;
}

@media print {
    #toTop {
        display: none;
    }
}
.no-markers{
list-style-type:none;
padding-left: 0px;
}


.counters {
	text-align: center;
}

.login-form{
    padding: 10px;
    padding-bottom: 1px;
    position: relative;
}

.login-form-wrapper{
    margin-bottom: 10px;
}

.signup-link{
    position: absolute;
    left: 15px;    
    bottom: 25px;
}

.module-links{    
    margin-top: 10px;
}

.module-links a{
    margin-bottom: 10px;
}

.submit-form .control-label{
    text-align: left;
}

.no-padding-aside{
    padding-left: 0;
    padding-right: 0;
}

#captchaImage{
    cursor: pointer;
}

.block-element{
    margin-bottom: 15px;
}

.puzzle-frame{
    width: 100%;
    height: 600px;
}

.newspaper-module-link{
    padding: 10px 0;
}

.newspaper-module-link img{
    height: 100px;
    width: 100%;
}

.aboniment-link{
    font-size: 16px;
}

.puzzle-list .puzzle-item img{
    height: 200px;    
}

.puzzle-list .puzzle-item a{ 
    width: 100%;
    height: 210px;
    display: block; 
    border: 1px solid #999;
    background: white;
    border-radius: 3px;
}

.asterisc{
    color: red;
}

.star{
    color: red;
}

.selftest-answer{
}

.selftest-answer label{
    position: relative;
    text-indent: 25px;
    cursor: pointer;
    font-weight: normal;
}

.selftest-answer input{
    position: relative;
    left: -120%;
    display: none;
}

.selftest-answer .checked:before{
    content: "\f046" !important;
    font-family: FontAwesome;
}

.selftest-answer label:before {
    content: "\f096";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
/*--adjust as necessary--*/
    color: #000;
    font-size: 18px;
    padding-right: 0.5em;
    position: absolute;
    top: 1px;
    left: -20px;
}

.answers-result > ol{
    margin: 0;
    padding: 0;
}

.answers-result .answer-item{
    margin-bottom: 15px;
    border-bottom: 1px solid #597EC8;
}

.answers-result .answer-item:last-child{
    border-bottom: none;
} 

@media print {
    .no-print, #subviewWrapper, #toTop{ display:none; }
}

body.print .hidden-print {
    display: none;
}


#printWrapper {
    display: none;
    position: relative;
}

.print-icons {
    position: fixed;
    top: 8px;
    right: 8px;
    font-size: 150%;
    text-decoration: none;
    background: white;
    border: 2px solid black;
    padding: 4px 8px;
    font-size: 0;
    border-radius: 4px;
    font-weight: bold;
    -moz-transition: opacity 0.2s ease-in 0s;
    -webkit-transition: opacity 0.2s ease-in 0s;
    -o-transition: opacity 0.2s ease-in 0s;
    transition: opacity 0.2s ease-in 0s;
}

#printClose:hover {
    opacity: 1;
}

@media print {
    *,
    *:before,
    *:after {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }

    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}




*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.print-link{
    margin-top: 5px;
    font-size: 20px !important;
}

.print-wrapper{
    width: 100%;    
    min-height: 100%;
    background: white;    
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    display: none;
}

.print-control-btns{
    padding: 15px;
}

.print-control-btns a{
    text-decoration: none;
    font-size: 30px;    
}

.selftest-banner{
    font-size: 16px;
}

.link-to-mobile{
    vertical-align: -3px;
}

.mypanel-banner a {
    text-decoration: none!important;
}

.mypanel-banner .h5 {
    padding-left: 5px;
}

.socials {
    padding-bottom: 5px;
}

.socials a {
    display: inline-block;
    margin-bottom: 5px;
}

/**********************************************************************************************************************/

@-webkit-keyframes myFadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 20%, 0);
        transform: translate3d(0, 20%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes myFadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 20%, 0);
        transform: translate3d(0, 20%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes myFadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(20%, 0, 0);
        transform: translate3d(20%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes myFadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(20%, 0, 0);
        transform: translate3d(20%, 0, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.site-nav > .container {
    background: #990000;
    margin-top: 15px;
    z-index: 2;
    position: relative;
}

.main-menu {
    margin-bottom: 0;
    padding: 10px 0;
}

.main-menu a {
    text-decoration: none;
}

.main-menu ul {
    display: none;
}

.main-menu li {
    position: relative;
}

.main-menu > li {
    display: inline-block;
    margin-bottom: 2px;
}

.main-menu > li > a {
    color: white;
    display: inline-block;
    padding: 7px;
    height: 36px;
    line-height: 22px;
}

.main-menu > li.selected > a, .main-menu > li:hover > a, .main-menu > li.has-selected > a {
    background: #660000;
}

.main-menu > li.has-children > a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    position: relative;
    top: 1px;
    opacity: .5;
}

.main-menu li.has-children:hover > ul {
    display: block;

    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-name: myFadeInUp;
    animation-name: myFadeInUp;
}

.main-menu ul {
    background: white;
    position: absolute;
    left: 0;
    top: 34px;
    z-index: 3;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    width: 200px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
}

.main-menu ul ul {
    left: 198px;
    top: 0;
}

.main-menu ul li > a {
    display: block;
    padding: 5px 10px;
}

.main-menu ul li:hover > a, .main-menu ul li.selected > a, .main-menu ul li.has-selected > a {
    background: #660000;
    color: white;
}

.main-menu ul li.has-children > a {
    padding-right: 30px;
}

.main-menu ul li.has-children:hover ul {
    -webkit-animation-name: myFadeInLeft;
    animation-name: myFadeInLeft;
}

.main-menu ul li.has-children > a:after {
    font-family: 'Glyphicons Halflings';
    content: "\e080";
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: .5;
}

/**********************************************************************************************************************/

.lowvis-button {
    position: relative;
}

.lowvis-button ul {
    display: none;
    position: absolute;
    left: 0;
    top: 27px;
    background: white;
    z-index: 3;
    padding: 10px 0;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.5);

    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-name: myFadeInUp;
    animation-name: myFadeInUp;

    font-family: "Arial", sans-serif;

    list-style: none;
    width: 100%;
    text-align: left;
}

.lowvis-button:hover ul {
    display: block;
}

.lowvis-button ul a {
    display: block;
    color: #990000;
    text-decoration: none;
    padding: 5px 10px;
}

.lowvis-button ul li:hover a, .lowvis-button ul li.active a {
    background: #990000;
    color: white;
}

.nbc-banners .nbc-shadow-left {
    left: 91px;
}

.nbc-banners .nbc-shadow-right {
    right: 91px;
}

.vscroller-content a {
    color: #990000;
}

.color-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,.5);
    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
    margin-top: -108px;
    padding-bottom: 5px;
}

.theme-square {
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 2px;
    box-shadow: 0 0 3px 0 rgba(0,0,0,.5);
    margin-bottom: 5px;
    border: 1px solid white;
    opacity: .5;
    transition: opacity .15s ease;
}

.theme-square.active, .theme-square:hover {
    opacity: 1;
}

.theme-square-0 {
    background: #236da4;
}

.theme-square-1 {
    background: #990001;
}

.theme-square-2 {
    background: #015c7a;
}

.theme-square-3 {
    background: #678901;
}

.theme-square-4 {
    background: #01337a;
}

.theme-square-5 {
    background: #987a01;
}

.theme-square-6 {
    background: #81014b;
}