body {
    margin-top: 60px;
    /*margin-top: 70px;*/
    font-size: 16px;
    color: #0D3656;
}

.winter::after {
    content: "";
    background: url('/images/ng-bg.png');
    opacity: 0.8;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1; 
}

.spring::after {
    content: "";
    background: url('/images/spring-bg.jpg');
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1; 
}

hr {
    border-top: 1px solid #0D3656;
}

hr.light {
    border-top: 1px solid #9FCDF1;
}

.theme-dropdown .dropdown-menu {
    position: static;
    display: block;
    margin-bottom: 20px;
}

.carousel .item img {
    margin: 0 auto;
    height: 340px;
}

.carousel-inner > .item > a > img {
    margin: 0 auto;
    height: 340px;
    /*max-height: 340px;*/
    /*min-height: 340px;*/
}


.valign-center {
    display: flex;
    align-items: center;
}


/*-------- Menu - Blue theme - start --------------------*/
.navbar-inverse {
    background-color: #0D3656;
    border-color: #395a99;
    background-image: -webkit-linear-gradient(top, #0D3656 0,#0D3656 100%);
    font-size: 14px;
}
.navbar-inverse .navbar-brand {
    color: #ffffff;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color: #fff;
    background-color: transparent;
}
.navbar-inverse .navbar-text {
    color: #ffffff;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
}

.nav-justified>li>a:focus, .nav-justified>li>a:hover {
    color: #fff;
    background-color: transparent;
}
.nav-justified .open>a, .nav-justified .open>a:focus, .nav-justified .open>a:hover {
    background-color: #2B5B7F;
    border-color: transparent;
}
.nav-justified a {
    color: #fff;
}

.nav-justified>li>a {
    padding: 15px 15px;
}



.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #2B5B7F;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
    color: #444;
    background-color: transparent;
}
.navbar-inverse .navbar-toggle {
    border-color: #03233B;
    background-color: #03233B;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #03233B;
}
.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #2B5B7F;
}
@media (max-width: 767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #ffffff;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: transparent;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #337ab7;
        /*background-color: #080808;*/
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }
    .navbar-nav.nav-pills {
        margin: 4.5px -1px;
    }
    .carousel .item img {
        margin: 0 auto;
        height: 200px;
    }

}
.navbar-inverse .navbar-link {
    color: #ffffff;
}
.navbar-inverse .navbar-link:hover {
    color: #fff;
}
.navbar-inverse .btn-link {
    color: #ffffff;
}
.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
    color: #fff;
}
.navbar-inverse .btn-link[disabled]:hover,
fieldset[disabled] .navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link[disabled]:focus,
fieldset[disabled] .navbar-inverse .btn-link:focus {
    color: #444;
}
.dropdown-menu {
    background-color: #d9edf7;
}

.user-nav-submenu-icons {
    vertical-align: text-top;
    color:#0099FF;
    margin-right: 10px;
}

/*-------- Menu - Blue theme - end --------------------*/



#lk-big {
    font-size: 16px;
    color:lightgreen;
    text-shadow: lightgreen 0px 0px 30px;
    top: 2px;
}

#lk-small {
    font-size: 16px;
    color:lightgreen;
    text-shadow: lightgreen 0px 0px 30px;
    line-height: 11px;
    padding-top: 12px;
    margin-left: 17%;
}

#lk-small-userin {
    color: lightgreen;
    text-shadow: lightgreen 0px 0px 30px;
    line-height: 11px;
    margin-left: 17%;
}

.lk-small-user {
    font-size: 22px;
    top: 0px;
    line-height: 0px;
    margin-bottom: 15px;
}



.jumbo-news-1 {
    background-color: transparent;
    padding-top: 68px;
    padding-bottom: 68px;
}

.carousel-caption, .carousel-caption a {
    color: #fff;
    text-align: center;
    text-shadow: #0D3656 0px 0px 20px;
    padding-bottom: 0;
    font-weight: bold;
    /*font-size: 20px;*/
}

.carousel-caption>h3, .carousel-caption>p {
    padding: 10px 0;
    background-color: rgba(13, 54, 86, 0.55);
    /*background-color: rgba(13, 54, 86, 0.35);*/
    border-radius: 10px;
    margin-bottom: 0;
}

.navbar-brand>img {
    display: unset;
}

.brand-text {
    float: right;
    text-shadow: #fff 0px 0px 30px;
    color: #C1D2DF;
    font-size: 22px;
}

.brand-img {
    width: 25px;
    height: 25px;
    margin: -5px 10px 10px 0;
    box-shadow: 0px 0px 30px #fff;
    -moz-box-shadow: 0px 0px 30px #fff;
    -webkit-box-shadow: 0px 0px 30px #fff;
    border-radius:25px;
    -moz-border-radius:25px;
    -webkit-border-radius:25px;
}


.form-row>.form-group {
    padding: 0 5px;
}

/* overriding =========================================================== */

.well {
    background-color: #d9edf7;
    border: 1px solid #9FCDF1;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.dropdown-menu .divider {
    background-color: #0D3656;
}

  .dropdown-header {
      color: #0D3656;
      font-size: 14px;
  }

/* end overriding ======================================================= */


@media (max-width: 767px) {
    .carousel-caption>h3 {
        font-size: 16px;
    }
    .jumbo-news-1 {
        padding-top: 38px;
        padding-bottom: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .carousel-inner > .item > a > img {
        margin: 0 auto;
        height: 230px;
        /*max-height: 340px;*/
        /*min-height: 340px;*/
    }

}

@media (max-width: 376px) {
    #lk-small {
        font-size: 14px;
        margin-left: 11%;
    }
    #lk-small-userin {
        margin-left: 10%;
    }
}

@media (max-width: 321px) {
    #lk-small {
        font-size: 12px;
        margin-left: 0px;
        /*margin-left: 7%;*/
        /*padding-left: 5px;*/
    }
    #lk-small-userin {
        margin-left: 0;
    }
}

@media only screen and (max-width: 740px) and (orientation: landscape) {
    #lk-small {
        margin-left: 50%;
    }
}
@media only screen and (max-width: 640px) and (orientation: landscape) {
    #lk-small {
        margin-left: 35%;
    }
}
@media only screen and (max-width: 480px) and (orientation: landscape) {
    #lk-small {
        margin-left: 20%;
    }
}
@media only screen and (max-width: 376px) and (orientation: landscape) {
    #lk-small {
        margin-left: 15%;
    }
}
@media only screen and (max-width: 321px) and (orientation: landscape) {
    #lk-small {
        margin-left: 1%;
    }
    .news-img {
        max-width: 200px;
    }
}

@media (min-width: 768px){
    .navbar-nav{
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
    }
}

#np_nav>li {
    margin: 0 15px;
}

@media (max-width: 1801px) {
    #np_nav>li {
        /*margin-left: 100px;*/
        margin: 0 10px;
    }
    #terminal-payments > div > p {
        margin-top: 20%;
    }
}
@media (max-width: 1025px) {
    #np_nav>li {
        /*margin-left: 60px;*/
        margin: 0;
    }
    #terminal-payments > div > p {
        margin-top: 12%;
    }
}
@media (max-width: 769px) {
    #np_nav>li {
        /*margin-left: 15px;*/
        margin: 0 1px;
    }
    #lk-big {
        font-size: 12px;
        top: 1px;
    }
    #terminal-payments > div > p {
        margin-top: 10%;
    }
}
@media (min-width: 1801px) {
    #np_nav>li {
        /*margin-left: 100px;*/
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar-header .collapse, .navbar-toggle {
        display:block !important;
    }
    .navbar-header {
        float:none;
    }
}

@media (min-width: 765px) and (max-width: 991px) {
/*    .hidden-sm {
        display: block !important;
    }*/
    #lk-small {
        margin-left: 55%;
    }
}



@media (max-width: 899px) {
  .navbar-header {
    float: none;
  }
  .navbar-left,.navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    margin-top: 7.5px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in{
    display:block !important;
  }
  .container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: -15px;
    margin-left: -15px;
  }
  .dropdown-header {
      color: #2397B2;
      font-size: 14px;
  }
}  



/* Sticky footer styles -------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 61px; /* Set the fixed height of the footer here */
    line-height: 61px; /* Vertically center the text there */
    background-color: #0D3656;
    color: rgba(255, 255, 255, 0.5);
    /*color: #fff;*/
    font-size: 12px;
}

.footer-transparent {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 61px; /* Set the fixed height of the footer here */
    line-height: 61px; /* Vertically center the text there */
    background-color: transparent;
    color: rgba(0, 0, 0, 0.35);
    /*color: #fff;*/
    font-size: 12px;
}


/* end Sticky footer styles ---------------------------------------------- */



.contacts {
    margin: 40px 0;
    padding-right: 15px;
    padding-left: 15px;
}

hr.w80 {
    width: 80%;
    margin: 25px auto;
}


.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vertical-align {
    display: flex;
    align-items: center;
}


/*Индикатор загрузки, который показывается до загрузки карты*/
.loader {
    position: absolute;
    z-index: 15;
    top: -100%;
    left: 0;

    box-sizing: border-box;
    width: 100%;
    height: 100%;

    overflow: hidden;

    color: #000000;

    transition: opacity .7s ease;

    opacity: 0;
    background-color: rgba(0,0,0,.15);
}
.loader:after,
.loader:before {
    box-sizing: border-box;
}
.loader.is-active {
    top: 0;

    opacity: 1;
}

.loader-default:after {
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);

    width: 48px;
    height: 48px;

    content: '';
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;

    border: solid 8px #ffffff;
    border-left-color: transparent;
    border-radius: 50%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@-webkit-keyframes blink {
    from {
        opacity: .5;
    }
    to {
        opacity: 1;
    }
}
@keyframes blink {
    from {
        opacity: .5;
    }
    to {
        opacity: 1;
    }
}

.np-info {
    padding: 15px;
}

#rk_refil_total_summ_green {
    font: none;
}




.main-news {
  list-style: none;
  margin: 0;
  background-color: transparent;
  text-decoration: underline;
  padding-bottom: 5px;
  border-radius: 0 0 5px 5px;
}
.main-news:first-child {
  padding-top: 20px;
}
span.main-news-date {
  display: block;
  text-align: center;
  background: #0D3656;
  opacity: .75;
  color: #fff;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 6px;
}
.unstyled span {
  padding: 7px;
  margin:10px;
}
.main-news-title {
    font-size: 18px;
    font-weight: bold;
    padding: 7px;
    margin-top: 0;
}
.main-news-body {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0;
}
.main-news-link {
    text-align: center;
    margin: 0 35px;
}
.btn-primary-custom {
    color: #fff;
    background-color: #34495e;
    border-color: #2e6da4;
}
.btn-primary-custom:hover,
.btn-primary-custom:focus{
    color: #fff;
    font-weight: bold;
}
.main-news a, .main-news a:visited, .main-news a:active {
    color: #0D3656;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}


/* vertical slider */
.scroll-text {
    width: auto;
    height: 3.2em;
    overflow: hidden;
    margin-bottom: 15px;
}
.scroll-text ul {
    height: 200px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.scroll-text ul li {
    height: 3.2em;
}
.scroll-text ul li a {
    color: #083067;
    text-decoration: underline;
}
/* vertical slider */


form .required .control-label:after { 
   content:"*";
   color:red;
}

#user-form input {
    text-align: center;
}

.emerald {
  /*background-color: #0D3656;*/
  background-color: rgba(13, 54, 86, 0.85);
  color: #FFF;
  font-size: 20px;
  padding: 3px;
}

.rounded-block {
    border-radius: 5px;
    margin-bottom: 15px;
}

/* To TOP button */
#upbutton {
    background: url("/images/totop_1.png") no-repeat top left;
    background-color: rgba(255,255,255,0.3);
    border-radius: 15px;
    height: 53px;
    width: 53px;
    bottom: 20px;
    right: 1px;
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 999;
    opacity:0.7;
}
