@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
html {
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, "Open Sans Condensed", sans-serif;
  color: #4d4d4d;
  line-height: 1.5em;
  min-height: 100%;
  background: #92daff url(/images/body-bg.jpg) center bottom no-repeat;
}

.nopadding {
  padding: 0;
}

.center {
  text-align: center;
}

.blue {
  color: #37d3f7;
}

.black {
  color: #4d4d4d;
}

.underline {
  text-decoration: underline;
}

.errorMessage {
  color: red;
}

input.error {
  border: 1px solid red !important;
}

textarea.error {
  border: 1px solid red !important;
}

.g-clear {
  clear: both;
}

.g-hidden {
  display: none;
}

.right {
  text-align: right;
}

.left {
  text-align: right;
}

.center {
  text-align: center;
}

.l-wrapper {
  min-height: 520px;
  padding: 0 0 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans Condensed", sans-serif;
  margin: 0 0 1em 0;
}

h1 {
  font-size: 30px;
}
h1.big {
  font-size: 36px;
  font-weight: lighter;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 14px;
}

header#header-main {
  position: relative;
  min-height: 245px;
  padding: 53px 0 0 0;
  margin: 0 0 20px 0;
  background: url(/images/header-bg.png) 0 top repeat-x;
}
header#header-main a#logo {
  display: block;
  margin: 0 0 0 47px;
}
header#header-main a#logo img {
  max-width: 100%;
}
header#header-main .b-header-right {
  padding: 0 0 0 34px;
}
header#header-main .b-header-slogan {
  /*width: 403px;
  height: 92px;*/
  margin: 28px 0 28px 35px;
}
header#header-main .b-header-slogan img {
  max-width: 100%;
}
header#header-main .b-header-title {
  display: block;
  font-family: Lobster;
  font-size: 55px;
  color: white;
  text-shadow: 1px 1px 4px #0055ad;
  margin: 16px 0 10px 0;
  line-height: 55px;
}
header#header-main .b-header-subtitle {
  font-size: 24px;
  color: #0054ae;
  margin: 0 0 44px 9px;
  font-family: "Open Sans Condensed", sans-serif;
}
header#header-main .b-header-shortcuts {
  margin: 25px 0 0 0;
}
header#header-main .b-header-shortcuts a.b-header-shortcut {
  display: block;
  background: url(/images/shortcut-icons-4.png) 0 0px no-repeat;
  color: #014089;
  font-size: 12px;
  line-height: 18px;
  height: 20px;
  padding: 0 0 0 67px;
  margin: 0 0 9px 0;
  font-weight: bold;
}
header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-email {
  text-decoration: underline;
}
header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-skype {
  background-position: 0px -28px;
}
header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-phone {
  background-position: 0 -56px;
}
header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-viber {
  background-position: 0 -82px;
}
header#header-main nav#mainmenu > ul {
  list-style: none;
  margin: 0 0 0 -4px;
  padding: 0;
}
header#header-main nav#mainmenu > ul > li {
  float: left;
  margin: 0 0 0 3px;
}
header#header-main nav#mainmenu > ul > li > a {
  display: block;
  padding: 12px 20px 0 9px;
  color: #0d4694;
  font-size: 12px;
  text-transform: uppercase;
  border-top: 1px solid #0d4694;
}
header#header-main nav#mainmenu > ul > li > a:hover {
  border-top-width: 4px;
  padding-top: 9px;
  text-decoration: none;
}
header#header-main nav#mainmenu > ul > li > ul {
  background: #6ce8ff;
  list-style: none;
  min-width: 270px;
  margin: 0;
  padding: 0;
}
header#header-main nav#mainmenu > ul > li > ul li {
  border-top: 1px solid #064994;
}
header#header-main nav#mainmenu > ul > li > ul li a {
  display: block;
  padding: 11px 10px;
  font-size: 13px;
  text-transform: uppercase;
  color: #0f46ab;
}
header#header-main nav#mainmenu > ul > li > ul li.item-1 a {
  background: #6ce8ff;
}
header#header-main nav#mainmenu > ul > li > ul li.item-2 a {
  background: #41e2ff;
}
header#header-main nav#mainmenu > ul > li > ul li.item-3 a {
  background: #24ddff;
}
header#header-main nav#mainmenu > ul > li > ul li.item-4 a {
  background: #24ddff;
}
header#header-main .b-header-social {
  position: absolute;
  left: auto;
  right: 15px;
  top: auto;
  bottom: 0px;
  margin: 0;
  width: 160px;
  height: 32px;
  text-align: right;
}
header#header-main .b-header-social a {
  display: inline-block;
  background: url(/images/social-icons-2017.png) 0 0px no-repeat;
  color: #014089;
  font-size: 14px;
  line-height: 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0 0 0 0px;
}
header#header-main .b-header-social a.b-header-social-ig {
  background-position: 0 0;
}
header#header-main .b-header-social a.b-header-social-vk {
  background-position: -32px 0;
}
header#header-main .b-header-social a.b-header-social-fb {
  background-position: -64px 0;
}
header#header-main .b-header-social a.b-header-social-ok {
  background-position: -96px 0;
}
header#header-main .b-header-social a.b-header-social-yt {
  background-position: -128px 0;
}

.b-home-slider {
  position: relative;
}

.b-slider {
  margin: 0px 0 20px 0;
  height: 349px;
  position: relative;
}
.b-slider .b-carousel-viewport {
  float: left;
  width: 663px;
  height: 349px;
  margin: 0 2px 0 0px;
  overflow: hidden;
}
.b-slider .b-carousel-viewport img {
  width: 100%;
}
.b-slider .b-slider-buttons {
  position: absolute;
  z-index: 500;
  left: auto;
  right: 0;
  top: 0;
  width: 307px;
  height: 349px;
  margin: 0;
  padding: 0;
}
.b-slider .b-slider-buttons a {
  display: block;
  height: 83px;
  overflow: hidden;
  line-height: 80px;
  margin: 0 0 3px 0;
  background: #ff74fb;
  padding: 0 0 0 23px;
  color: white;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 25px;
  opacity: 0.4;
  transition: all 0.2s ease;
}
.b-slider .b-slider-buttons a.b-slider-button-2 {
  background: #c852ce;
}
.b-slider .b-slider-buttons a.b-slider-button-3 {
  background: #605ca8;
}
.b-slider .b-slider-buttons a.b-slider-button-4 {
  background: #4e50c1;
}
.b-slider .b-slider-buttons a.active, .b-slider .b-slider-buttons a:hover {
  background-position: 0 -50px;
  opacity: 1;
}
.b-slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 349px;
}
.b-slider ul li {
  float: left;
  width: 678px;
  height: 349px;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.b-slider ul li img {
  display: inline-block;
  max-width: 100%;
  /*height: 349px;*/
}

.b-home-promo {
  margin: 0 0 0px 0;
}
.b-home-promo ul {
  list-style: none;
  /*margin: 0 0 0 -20px;*/
  padding: 0;
}
.b-home-promo ul li {
  /*float: left;
  width: 320px;
  height: 141px;
  margin: 0 0 20px 20px;*/
  margin: 0 0 20px 0px;
}
.b-home-promo ul li a {
  display: block;
  transition: all 0.2s ease;
}
.b-home-promo ul li a img {
  width: 100%;
}
.b-home-promo ul li a:hover {
  box-shadow: 0 0 4px 4px white;
}

.b-home-text {
  margin: 0 0 120px 0;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.7);
}

footer {
  margin: 2em 0 0 0;
  padding: 0 0 1em 0;
  text-align: center;
}
footer .b-footer {
  opacity: 0.7;
  text-align: center;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width: 320px) and (max-width: 480px) {
  .b-slider {
    height: auto;
  }
  .b-slider .b-carousel-viewport {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .b-slider .b-slider-buttons {
    position: relative;
    clear: both;
    width: 100%;
    height: auto;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    float: none;
    width: 100%;
    font-size: 12px;
    height: 32px;
    line-height: 20px;
    padding-left: 0;
    text-align: center;
    padding-top: 5px;
  }

  header#header-main a#logo {
    display: block;
  }
  header#header-main a#logo img {
    display: block;
    margin: 0 auto 0 auto;
    width: 80%;
    max-width: 150px;
  }
  header#header-main .b-header-slogan {
    /*width: 403px;
    height: 92px;*/
    margin: 28px 0 28px 0;
  }
  header#header-main .b-header-slogan img {
    max-width: 100%;
  }
  header#header-main .b-header-social {
    position: relative;
    clear: both;
    left: auto;
    right: auto;
    margin: 15px 15px 5px 15px;
    width: auto;
    height: 20px;
    text-align: center;
  }
  header#header-main .b-header-right {
    margin-left: 0;
    padding-left: 0;
  }
  header#header-main nav#mainmenu > ul > li {
    float: none;
  }
  header#header-main .b-header-shortcuts {
    float: right;
    margin: 25px 0 0 45px;
  }
  header#header-main .b-header-shortcuts a.b-header-shortcut {
    display: block;
    background: url(/images/shortcut-icons-4.png) 0 0px no-repeat;
    color: #014089;
    font-size: 12px;
    line-height: 18px;
    height: 20px;
    padding: 0 0 0 67px;
    margin: 0 0 9px 0;
    font-weight: bold;
  }
  header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-email {
    text-decoration: underline;
  }
  header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-skype {
    background-position: 0px -28px;
  }
  header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-phone {
    background-position: 0 -56px;
  }
  header#header-main .b-header-shortcuts a.b-header-shortcut.b-header-shortcut-viber {
    background-position: 0 -82px;
  }
}
/* Smartphones (landscape) ----------- */
@media only screen and (min-width: 321px) {
  /* Styles */
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 320px) {
  /* Styles */
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* Styles */
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .b-slider {
    height: auto;
  }
  .b-slider .b-carousel-viewport {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .b-slider .b-slider-buttons {
    position: relative;
    clear: both;
    width: 100%;
    height: 62px;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    float: left;
    width: 25%;
    font-size: 12px;
    height: 62px;
    line-height: 20px;
    padding-left: 0;
    text-align: center;
    padding-top: 15px;
  }
}
/* iPads (landscape) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .b-slider {
    height: 349px;
  }
  .b-slider .b-carousel-viewport {
    width: 662px;
    height: 349px;
  }
  .b-slider .b-slider-buttons {
    width: 277px;
    height: 349px;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    font-size: 22px;
  }
}
/* iPads (portrait) ----------- */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .b-slider {
    height: 349px;
  }
  .b-slider .b-carousel-viewport {
    width: 603px;
    height: 349px;
  }
  .b-slider .b-slider-buttons {
    width: 277px;
    height: 349px;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    font-size: 23px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .b-slider {
    height: 299px;
  }
  .b-slider .b-carousel-viewport {
    width: 503px;
    height: 257px;
  }
  .b-slider .b-slider-buttons {
    width: 217px;
    height: 258px;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    font-size: 15px;
    height: 62px;
    line-height: 62px;
  }
}
/* Desktops and laptops ----------- */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .b-slider {
    height: 349px;
  }
  .b-slider .b-carousel-viewport {
    width: 663px;
    height: 349px;
  }
  .b-slider .b-slider-buttons {
    width: 277px;
    height: 349px;
  }
  .b-slider .b-slider-buttons a {
    display: block;
    font-size: 23px;
    height: 83px;
  }
}
/* Large screens ----------- */
@media only screen and (min-width: 1824px) {
  /* Styles */
}
/* iPhone 4 ----------- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* Styles */
}


nav.b-mainmenu input[type="checkbox"], 
nav#mainmenu input[type="checkbox"] 
 {
    display: none;
}
nav.b-mainmenu label,
nav#mainmenu label {    
    display: none;
    border: 1px solid #014089;   
    margin: 10px 0;
    padding: 8px 10px;
    cursor: pointer;
    transition: 0.3s;
    color: #014089;
}
nav.b-mainmenu label:hover,
nav#mainmenu label:hover
{
    color: #fff;
    border: 1px solid #fff;
}
label[for="btn-menu"] i {
  display: inline-block; 
  float: right; width: 24px; height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='24px' height='24px' viewBox='0 0 24 24' enable-background='new 0 0 24 24' xml:space='preserve'><rect width='24' height='4' fill='#014089'/><rect width='24' height='4' y='14' fill='#014089'/><rect width='24' height='4' y='7' fill='#014089'/></svg>");
  /*background-size: contain;*/
}
@media screen and (max-width: 500px) {
    
    nav.b-mainmenu label,
    nav#mainmenu label{
         /*display: inline-block;*/
      display: block;
    }
    nav.b-mainmenu > ul,
    nav#mainmenu > ul{
        display: none;
    }
    nav.b-mainmenu input[type="checkbox"]:checked ~ label + ul, 
    nav#mainmenu input[type="checkbox"]:checked ~ label + ul {
        display: block;
    }
    
}