/* Main body font */
@font-face {
  font-family: 'Myriad Pro';
  src: url('fonts/MyriadPro-Cond.eot');
  src: local('Myriad Pro'), url('fonts/MyriadPro-Cond.eot?#iefix') format('embedded-opentype'), url('fonts/MyriadPro-Cond.woff') format('woff'), url('fonts/MyriadPro-Cond.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Myriad Pro';
  src: url('fonts/MyriadPro-BoldCond.eot');
  src: local('Myriad Pro'), url('fonts/MyriadPro-BoldCond.eot?#iefix') format('embedded-opentype'), url('fonts/MyriadPro-BoldCond.woff') format('woff'), url('fonts/MyriadPro-BoldCond.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  text-decoration: none;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}
*[data-anim] {
  opacity: 0;
}
html,
body {
  height: 100%;
}
html {
  font-size: 8px;
}
body {
  background: #1d487f;
  color: #3b3b3b;
  font-family: 'Open Sans', Tahoma, Verdana, Arial;
  font-weight: 300;
  position: relative;
  font-size: 14px;
  line-height: 20px;
  overflow: auto;
}
body.menu-active {
  overflow: hidden;
}
img.fullwidth {
  display: block;
  width: 100%;
}
img.maxwidth {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
#site-wrapper {
  min-height: 100%;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  flex-direction: column;
  background: #ffffff url('img/background1.jpg') no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
body.homepage #site-wrapper {
  overflow: hidden;
}
section,
.container {
  position: relative;
  min-width: 270px;
}
section:before,
.container:before,
section:after,
.container:after {
  content: " ";
  display: table;
}
section:after,
.container:after {
  clear: both;
}
section {
  flex: 1;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  flex-direction: column;
}
section.first-block .container {
  padding-top: 104px;
}
@media (max-width: 768px) {
  section .container {
    width: 100%;
  }
}
@media (min-width: 768px) {
  section .container {
    flex: 1;
  }
}
/*
section {
    padding: 0 16px;
}

.container.no-padding {
    padding: 0;

    @media (min-width: @screen-sm-min) {
        padding-right: 16px;
        padding-left: 16px;
    }
}
*/
@media (min-width: 768px) {
  .flexbox-container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    align-items: center;
  }
}
@media (min-width: 768px) {
  .flexbox-row {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .flexbox-row:after,
  .flexbox-row:before {
    display: none;
  }
}
.flexbox-row-xs {
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.flexbox-row-xs:after,
.flexbox-row-xs:before {
  display: none;
}
.stretched-row {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 992px) {
  .stretched-row {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    align-items: stretch;
  }
}
.stretched-row-sm {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 768px) {
  .stretched-row-sm {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    align-items: stretch;
  }
}
nobr {
  white-space: nowrap;
}
.animation {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.desktop-centered {
  text-align: center;
}
@media (min-width: 768px) {
  .desktop-centered {
    text-align: left;
  }
}
.button {
  display: block;
  color: #ffffff !important;
  text-decoration: none !important;
  background: #1d487f;
  text-transform: uppercase;
  padding: 10px 20px;
  font-size: 20px;
  line-height: 24px;
  position: relative;
  text-align: center;
  opacity: 1;
  -webkit-transition: all 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  -ms-transition: all 0.1s ease;
  transition: all 0.1s ease;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  /*
    &::before, &::after {
        display: block;
        content: "";
        position: absolute;
        top: 0px;
        bottom: 0;
        width: 31px;
        z-index: 1;
    }

    &::before {
        left: -30px;
        background: url('@{graphics_folder}/button-left-blue.svg') no-repeat right center;
        background-size: auto 100%;
    }

    &::after {
        right: -30px;
        background: url('@{graphics_folder}/button-right-blue.svg') no-repeat left center;
        background-size: auto 100%;
    }
*/
}
@media (min-width: 768px) {
  .button {
    display: inline-block;
    min-width: 180px;
  }
}
.button:hover {
  background: #cd1d44;
  /*
        &::before {
            background-image: url('@{graphics_folder}/button-left.svg');
        }

        &::after {
            background-image: url('@{graphics_folder}/button-right.svg');
        }
*/
}
h1,
.page-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: normal;
  margin: 0 0 36px;
  color: #cd1d44;
  text-transform: uppercase;
}
h1.blue,
.page-title.blue {
  color: #1d487f;
  margin-bottom: 25px !important;
}
h2 {
  font-size: 20px;
  line-height: 24px;
  font-weight: normal;
  margin: 0 0 30px;
  color: #1d487f;
  text-transform: uppercase;
}
#header {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  height: auto;
  background: #ffffff;
  background-size: cover;
  -webkit-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  -moz-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  padding: 10px 0;
}
@media (min-width: 768px) {
  #header {
    padding: 12px;
  }
}
#header .container {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  align-items: stretch;
  padding: 0 15px;
}
#header .header-left {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 3px 0 0;
}
#header .header-left .header-logo {
  display: block;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none !important;
}
#header .header-left .header-logo img {
  display: block;
  width: 68px;
  max-width: 100%;
}
@media (min-width: 768px) {
  #header .header-left .header-logo img {
    width: 75px;
    margin-right: 12px;
  }
}
#header .header-left .factory-title {
  font-family: 'Myriad Pro';
  font-weight: bold;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 26px;
  color: #1d487f;
  padding-top: 5px;
}
body.ru #header .header-left .factory-title {
  font-size: 27px;
}
#header .header-left .factory-subtitle {
  font-family: 'Myriad Pro';
  font-size: 18px;
  line-height: 18px;
  color: #1d487f;
  padding-bottom: 16px;
}
body.ru #header .header-left .factory-subtitle {
  font-size: 17px;
}
#header .header-right {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 0 0 3px;
}
#header .header-right .menu-switcher {
  padding: 0;
  height: 40px;
}
#header .header-right .menu-switcher .hamburger-box {
  height: 40px;
}
#header .header-right .menu-switcher .hamburger-inner,
#header .header-right .menu-switcher .hamburger-inner::after,
#header .header-right .menu-switcher .hamburger-inner::before {
  background: #1d487f;
  height: 5px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
#header .header-right .menu-switcher .hamburger-inner::before {
  top: -12px;
}
#header .header-right .menu-switcher .hamburger-inner::after {
  bottom: -12px;
}
#header .header-right .menu-switcher.is-active .hamburger-inner,
#header .header-right .menu-switcher.is-active .hamburger-inner::after,
#header .header-right .menu-switcher.is-active .hamburger-inner::before {
  background: #cd1d44;
}
#header .header-right .menu-switcher.is-active .hamburger-inner::before {
  top: 0;
}
#header .header-right .menu-switcher.is-active .hamburger-inner::after {
  bottom: 0;
}
#lang-menu {
  color: #1d487f;
  font-size: 20px;
  line-height: 20px;
  text-transform: uppercase;
  padding: 0px 15px 0 0;
  display: inline-block;
}
@media (min-width: 768px) {
  #lang-menu {
    padding: 0px 20px;
  }
}
#lang-menu .wpml-ls-legacy-list-horizontal {
  border: none;
  padding: 0;
}
#lang-menu li {
  padding: 0 5px 3px 0;
}
#lang-menu li::after {
  color: rgba(59, 59, 59, 0.5);
  display: inline;
  content: " | ";
  font-weight: 300;
}
#lang-menu li:last-child::after {
  display: none;
}
#lang-menu li.wpml-ls-current-language {
  display: none;
}
@media (min-width: 768px) {
  #lang-menu li.wpml-ls-current-language {
    display: inline-block;
  }
}
#lang-menu li.wpml-ls-current-language a {
  color: #cd1d44;
}
#lang-menu a {
  padding: 0;
  color: #1d487f;
  display: inline;
}
#menu-overlay {
  display: none;
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  body.menu-active #menu-overlay {
    display: block;
  }
}
#mainmenu {
  position: fixed;
  bottom: 0;
  top: 75px;
  width: 100%;
  right: 0;
  -moz-transform: translateX(0) translateY(-105%);
  -webkit-transform: translateX(0) translateY(-105%);
  -o-transform: translateX(0) translateY(-105%);
  -ms-transform: translateX(0) translateY(-105%);
  transform: translateX(0) translateY(-105%);
  overflow-y: auto;
  background: #ffffff url('img/background3.jpg') no-repeat center top;
  background-size: cover;
  text-align: left;
  padding: 30px 0 0;
  min-width: 220px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 90;
  font-weight: 400;
}
@media (min-width: 768px) {
  #mainmenu {
    top: 85px;
    width: 400px;
    -moz-transform: translateX(550px) translateY(0);
    -webkit-transform: translateX(550px) translateY(0);
    -o-transform: translateX(550px) translateY(0);
    -ms-transform: translateX(550px) translateY(0);
    transform: translateX(550px) translateY(0);
    -webkit-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
    -moz-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
    box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  }
}
#mainmenu::after {
  display: block;
  content: "";
  position: absolute;
  top: -20px;
  bottom: 0;
  width: 1px;
  z-index: 1;
  background: #1d487f;
  left: 30px;
}
@media (min-width: 768px) {
  #mainmenu::after {
    left: 45px;
  }
}
body.menu-active #mainmenu {
  -moz-transform: translateX(0) translateY(0);
  -webkit-transform: translateX(0) translateY(0);
  -o-transform: translateX(0) translateY(0);
  -ms-transform: translateX(0) translateY(0);
  transform: translateX(0) translateY(0);
}
#mainmenu .menu-wrapper {
  position: relative;
}
#mainmenu .menu-wrapper::after {
  display: block;
  content: "";
  position: absolute;
  top: -20px;
  bottom: 0;
  width: 1px;
  z-index: 1;
  background: #1d487f;
  left: 30px;
}
@media (min-width: 768px) {
  #mainmenu .menu-wrapper::after {
    left: 45px;
  }
}
#mainmenu ul {
  margin: 0;
}
@media (min-width: 768px) {
  #mainmenu ul {
    position: relative;
    z-index: 5;
  }
}
#mainmenu ul.nav {
  padding: 0;
  font-size: 20px;
  line-height: 20px;
}
@media (min-width: 768px) {
  #mainmenu ul.nav {
    font-size: 24px;
    padding: 0px 30px 0px 15px;
  }
}
#mainmenu ul.nav li {
  padding: 17px 15px 17px 60px;
}
@media (min-width: 768px) {
  #mainmenu ul.nav li {
    padding: 17px 30px 17px 90px;
  }
}
#mainmenu ul.subnav {
  margin: 10px 0 -20px -60px;
  font-size: 18px !important;
  line-height: 18px;
}
#mainmenu ul.subnav li {
  padding-left: 80px;
}
#mainmenu ul.subsubnav {
  margin: 10px 0 -20px -80px;
  font-size: 16px !important;
  line-height: 18px;
}
#mainmenu ul.subsubnav li {
  padding-left: 100px;
}
#mainmenu ul.nospace {
  margin-top: -30px;
  margin-bottom: -10px;
}
#mainmenu li {
  background: none;
  list-style: none;
  color: #1d487f;
}
#mainmenu li a {
  color: #1d487f;
  text-decoration: none !important;
}
#mainmenu li a:hover {
  color: #cd1d44 !important;
}
#mainmenu li.current-menu-item {
  background: url('img/active2.png') no-repeat 7px center;
  background-size: auto 50px;
  position: relative;
  z-index: 5;
}
#mainmenu li.current-menu-item a {
  color: #cd1d44 !important;
}
#mainmenu .collapse_link {
  display: block;
  position: relative;
}
#mainmenu .collapse_link::after {
  display: block;
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0;
  width: 20px;
  background: url('img/chevron-down-light.svg') no-repeat left center;
  background-size: 100% auto;
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#mainmenu .collapse_link.collapsed::after {
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
.eas-block {
  position: fixed;
  z-index: 90;
  left: 0;
  bottom: 80px;
  width: 60px;
  background: #ffffff;
  -webkit-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  -moz-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
}
#footer {
  background: #1d487f;
  color: #ffffff;
  flex: 0;
  line-height: 21px;
  text-align: center;
  padding: 30px 0 20px;
  -webkit-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  -moz-box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  box-shadow: 0 0 10px 3px rgba(89, 84, 98, 0.3);
  border-top: 3px solid #cd1d44;
}
@media (min-width: 768px) {
  #footer {
    text-align: left;
  }
}
#footer .tmt-logo {
  width: 100%;
  max-width: 170px;
  padding-bottom: 10px;
}
#footer .icon {
  display: inline-block;
  width: 17px;
  margin: -3px 5px 0 0;
}
#footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
}
#footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer .cc_icons .icon {
  width: 24px;
}
#footer ul.nav {
  list-style: none;
  margin: 0;
}
#footer ul.nav li {
  padding: 0 0 10px 0;
}
.landing-block {
  padding: 90px 0 55px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .landing-block {
    padding: 104px 0 55px;
  }
}
@media (min-width: 768px) {
  .landing-block .container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}
.landing-block h1 {
  color: #ffffff;
  font-size: 30px;
  line-height: 36px;
  text-align: right;
  display: block;
  width: auto;
  padding: 7px;
  text-shadow: 1px 1px 0 #3b3b3b, -1px 1px 0 #3b3b3b, 1px -1px 0 #3b3b3b, -1px -1px 0 #3b3b3b;
}
@media (min-width: 768px) {
  .landing-block h1 {
    font-size: 43px;
    line-height: 46px;
  }
}
.landing-block .landing-menu {
  display: block;
  position: relative;
  background: no-repeat center center;
  background-size: cover;
  margin: 0 0 26px 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  border: 1px solid #1d487f;
  text-decoration: none !important;
}
@media (min-width: 768px) {
  .landing-block .landing-menu {
    margin: 0;
  }
}
.landing-block .landing-menu:hover {
  -moz-transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -o-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
  border-color: #cd1d44;
}
.landing-block .landing-menu:hover > div {
  background: #cd1d44;
  color: #ffffff;
}
.landing-block .landing-menu > div {
  /*
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 25px;
            background: rgba(0,0,0,0.5);
*/
  padding: 15px;
  background: #ffffff;
  background: #808080;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
  color: #1d487f;
  color: #ffffff;
  font-size: 21px;
  line-height: 21px;
  text-transform: uppercase;
  text-decoration: none !important;
  text-shadow: 1px 1px 0 #3b3b3b, -1px 1px 0 #3b3b3b, 1px -1px 0 #3b3b3b, -1px -1px 0 #3b3b3b;
}
@media (min-width: 1280px) {
  .landing-block .landing-menu > div {
    font-size: 28px;
    line-height: 26px;
  }
}
.landing-menu-wrapper {
  z-index: 3;
  position: relative;
}
#landing-carousel {
  position: relative;
  margin: 0 0 -150px;
  height: 450px;
}
@media (min-width: 768px) {
  #landing-carousel {
    position: absolute;
    left: 0;
    right: 0;
    top: 104px;
    bottom: 140px;
    height: auto;
    margin: 0;
  }
}
#landing-carousel .carousel-inner {
  height: 100%;
}
#landing-carousel .carousel-inner .item {
  height: 100%;
  background: no-repeat center center;
  background-size: cover;
}
#landing-carousel .carousel-indicators {
  left: auto;
  right: 30px;
  bottom: 50%;
  margin: 0;
  width: auto;
  -moz-transform: translateX(0) translateY(50%);
  -webkit-transform: translateX(0) translateY(50%);
  -o-transform: translateX(0) translateY(50%);
  -ms-transform: translateX(0) translateY(50%);
  transform: translateX(0) translateY(50%);
}
#landing-carousel .carousel-indicators li {
  display: block;
  border: none !important;
  border-radius: 0px !important;
  margin: 0;
  background: url('img/active3.svg') no-repeat center center;
  background-size: contain;
  width: 70px;
  height: 70px;
}
#landing-carousel .carousel-indicators li.active {
  background-image: url('img/active2.svg');
}
.subpage-block {
  background: rgba(255, 255, 255, 0.6);
}
.subpage-block .container {
  background: #ffffff url('img/background2.png') no-repeat right bottom;
  -webkit-box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 30px 3px rgba(0, 0, 0, 0.4);
}
.subpage-block .container::after {
  display: none;
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0;
  width: 41.66666667%;
  width: calc(41.66666667% + 1px);
  z-index: 1;
  background: rgba(29, 72, 127, 0.05);
  border-right: 1px solid #1d487f;
}
@media (min-width: 768px) {
  .subpage-block .container::after {
    display: block;
  }
}
@media (min-width: 992px) {
  .subpage-block .container::after {
    width: calc(33.3333% + 1px);
  }
}
.subpage-block.no-menu .container::after {
  display: none !important;
}
.subpage-block .subpage-menu {
  position: -webkit-sticky;
  /* Safari */
  position: sticky;
  top: 105px;
  font-size: 18px;
  line-height: 24px;
  z-index: 5;
  overflow-x: hidden;
  max-height: calc(100vh - 110px);
  font-weight: 400;
  padding: 0;
}
.subpage-block .subpage-menu-wrapper {
  padding: 36px 1px 36px 0;
}
.subpage-block .subpage-menu .page-title,
.subpage-block .subpage-menu h1 {
  padding-left: 30px;
  padding-right: 30px;
}
.subpage-block .subpage-menu ul {
  margin: 0;
  padding: 0;
}
.subpage-block .subpage-menu ul.nav a,
.subpage-block .subpage-menu ul.nav span {
  padding: 10px 80px 10px 20px;
}
.subpage-block .subpage-menu ul.subnav a,
.subpage-block .subpage-menu ul.subnav span {
  padding: 10px 80px 10px 40px;
}
.subpage-block .subpage-menu ul.nospace {
  margin-top: -25px;
}
.subpage-block .subpage-menu li {
  list-style: none;
}
.subpage-block .subpage-menu li a {
  display: block;
  color: #1d487f;
  text-decoration: none !important;
  position: relative;
  transition: all 0.2s;
  background-color: transparent;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 51%, rgba(29, 72, 127, 0.1) 51%);
  background-position: 0;
  background-size: 206%;
}
.subpage-block .subpage-menu li a:hover {
  background-position: -95%;
  color: #cd1d44;
}
.subpage-block .subpage-menu li span {
  color: #000000;
  display: block;
}
.subpage-block .subpage-menu li.current-menu-item a,
.subpage-block .subpage-menu li.active a {
  transition: none;
  background: #1d487f url('img/menu.svg') no-repeat 101% center;
  background-size: auto 102%;
  color: #ffffff;
}
.subpage-block .subpage-menu.contacts-menu a {
  transition: none !important;
}
.subpage-block .subpage-content {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: #3b3b3b;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  color: #000000;
}
@media (min-width: 768px) {
  .subpage-block .subpage-content {
    font-size: 17px;
    line-height: 24px;
    padding: 36px 30px 50px 30px;
  }
}
.subpage-block .subpage-content ul {
  list-style-position: inside;
  margin: 20px 0;
}
.subpage-block .subpage-content h1 {
  margin-bottom: 50px;
}
.subpage-block .subpage-content h2 {
  margin: 30px 0 20px;
}
.subpage-block .subpage-content b,
.subpage-block .subpage-content strong {
  font-weight: 400;
}
.subpage-block .subpage-content img.alignleft,
.subpage-block .subpage-content img.alignright,
.subpage-block .subpage-content img.alignnone,
.subpage-block .subpage-content img.aligncenter {
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 15px auto;
  max-width: 100% !important;
}
@media (min-width: 768px) {
  .subpage-block .subpage-content img.alignleft,
  .subpage-block .subpage-content img.alignright,
  .subpage-block .subpage-content img.alignnone,
  .subpage-block .subpage-content img.aligncenter {
    display: inline-block;
    margin: 0;
  }
}
@media (min-width: 768px) {
  .subpage-block .subpage-content img.alignleft {
    float: left;
    padding: 5px 17px 5px 0;
  }
}
@media (min-width: 768px) {
  .subpage-block .subpage-content img.alignright {
    float: right;
    padding: 5px 0 5px 17px;
  }
}
@media (min-width: 768px) {
  .subpage-block .subpage-content img.alignnone {
    width: 49% !important;
    padding: 15px 0;
  }
}
@media (min-width: 768px) {
  .subpage-block .subpage-content img.aligncenter {
    display: block;
    margin: 30px auto;
  }
}
.contact-row {
  border-bottom: 1px solid rgba(29, 72, 127, 0.35);
}
.contact-block {
  margin-bottom: 50px;
}
.contact-block .name {
  font-size: 21px;
  font-weight: 300;
  color: #cd1d44;
}
.contact-block .occup {
  font-size: 18px;
  font-weight: 300;
  color: #1d487f;
  padding-bottom: 10px;
}
.contact-block a {
  color: #1d487f;
  text-decoration: none;
}
.contact-block a:hover {
  color: #cd1d44;
  text-decoration: underline;
}
.contact-block a.cert {
  color: #3b3b3b;
  display: block;
  text-align: center;
}
.contact-block a.cert:hover {
  text-decoration: none;
}
.partner-block {
  padding-top: 50px;
}
.partner-block .button-block {
  text-align: right;
  padding: 50px 15px;
}
.thumbnail_wrapper {
  background: #ffffff;
  border: 1px solid #1d487f;
  padding: 3px;
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin-bottom: 5px;
  position: relative;
}
.thumbnail_wrapper::after {
  display: block;
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 35px;
  height: 35px;
  background: url('img/search-light.svg') no-repeat right bottom;
  background-size: contain;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.thumbnail_wrapper img {
  position: relative;
  z-index: 1;
  height: auto !important;
  width: 100% !important;
}
a:hover .thumbnail_wrapper {
  border-color: #cd1d44;
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
a:hover .thumbnail_wrapper::after {
  opacity: 1;
}
#map {
  width: 100%;
  height: 400px;
  border: 1px solid #1d487f;
}
#totop {
  display: none;
}
@media (min-width: 768px) {
  #totop {
    display: block;
    width: 45px;
    height: 45px;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 100;
  }
}
#totop img {
  display: none;
}
@media (min-width: 768px) {
  #totop img {
    display: block;
  }
}
.search_results article {
  border-bottom: 1px solid rgba(59, 59, 59, 0.2);
  padding-bottom: 20px;
}
.search_results article a.more {
  color: #cd1d44;
}
#searchform {
  padding: 60px 60px 30px;
  position: relative;
}
#searchform::after {
  display: block;
  content: "";
  position: absolute;
  top: -20px;
  bottom: 0;
  width: 1px;
  z-index: 1;
  background: #1d487f;
  left: 30px;
}
@media (min-width: 768px) {
  #searchform::after {
    display: none;
  }
}
#searchform .searchtext {
  display: block;
  width: 100%;
  border: 1px solid #cd1d44;
  background: #ffffff;
  padding: 10px 20px;
  font-size: 20px;
  line-height: 24px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  margin-bottom: 10px;
}
#searchform .searchsubmit {
  width: 100%;
}
.carousel {
  margin-top: 50px;
}
.carousel-control {
  width: 50px;
  height: 50px;
  bottom: 15px;
  top: auto;
  left: 15px;
  opacity: 0.7;
  background: none !important;
}
.carousel-control.right {
  right: 15px;
}
.fancybox-button--print {
  padding: 11px;
}
.fancybox-button--print svg path {
  stroke-width: 0;
}
.fancybox-button--close {
  padding: 7px;
}
/* ===== sings ===== */
.sings {
  display: inline-block;
  margin-right: 3px;
  width: 50px;
  height: 53px;
  background-image: url('img/sings.png');
  background-repeat: no-repeat;
  background-size: auto 106px;
}
.sings#iso {
  width: 104px;
  background-position: 0 0;
}
.sings#koda {
  background-position: -112px 0;
}
.sings#pct {
  background-position: -175px 0;
}
.sings#ce {
  background-position: -235px 0;
}
.sings#eu_rdh {
  background-position: -290px 0;
  width: 133px;
}
.sings#kredit2012 {
  background-position: -427px 0;
  margin-left: 12px;
}
.sings#kredit2014-eng,
.sings#kredit2014-rus {
  background-position: -477px 0;
  margin-left: 5px;
}
.sings#kredit2014-est {
  background-position: -527px 0;
  margin-left: 5px;
}
a:hover.sings#iso {
  background-position: 0 -53px;
}
a:hover.sings#koda {
  background-position: -112px -53px;
}
a:hover.sings#pct {
  background-position: -175px -53px;
}
a:hover.sings#ce {
  background-position: -235px -53px;
}
a:hover.sings#eu_rdh {
  background-position: -290px -53px;
}
a:hover.sings#kredit2012 {
  background-position: -427px -53px;
}
a:hover.sings#kredit2014-eng,
a:hover.sings#kredit2014-rus {
  background-position: -477px -53px;
}
a:hover.sings#kredit2014-est {
  background-position: -527px -53px;
}
@media print {
  #header,
  #footer,
  #menu-overlay,
  #mainmenu,
  .subpage-menu,
  #map {
    display: none !important;
  }
  * {
    color: #000000 !important;
  }
  .subpage-block .container {
    padding: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body {
    height: 100%;
  }
  #site-wrapper {
    display: block;
    min-height: auto;
  }
  body.homepage #site-wrapper {
    overflow: auto;
  }
  section {
    display: block;
  }
  .subpage-block,
  #footer {
    display: block;
    flex: 0 0 auto;
  }
  .subpage-block .container::after {
    display: none !important;
  }
  .subpage-block .subpage-menu {
    position: relative;
    min-height: auto;
    top: auto;
  }
  #landing-carousel {
    height: 700px;
    position: relative;
    top: auto;
    bottom: auto;
  }
  .landing-block .container {
    display: block;
    margin-top: -8%;
  }
  #totop {
    display: none !important;
  }
}
.subpage-video {
  width: 100%;
  margin-top: 30px;
}
