/* CSS Resets */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object{display:block}a img{border:0}figure{position:relative}figure img{width:100%}

@import url(http://fonts.googleapis.com/css?family=Yeseva+One&subset=latin,cyrillic);
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700,400italic,700italic&subset=latin,cyrillic);

/*==========  Icons font  ==========*/

@font-face {
  font-family: 'shein';
  src: url('font/shein.eot?80042784');
  src: url('font/shein.eot?80042784#iefix') format('embedded-opentype'),
       url('font/shein.woff?80042784') format('woff'),
       url('font/shein.ttf?80042784') format('truetype'),
       url('font/shein.svg?80042784#shein') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'shein';
    src: url('../font/shein.svg?80042784#shein') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "shein";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-exl:before { content: '\e800'; } /* '' */
.icon-vkontakte:before { content: '\e801'; } /* '' */
.icon-facebook:before { content: '\e802'; } /* '' */
.icon-search:before { content: '\e803'; } /* '' */
.icon-up-open:before { content: '\e804'; } /* '' */

/*==========  buttons  ==========*/

.more {padding: 14px 30px;text-transform: uppercase;text-align: center;background: #fff;border-radius:30px;border:4px solid #000;margin-left: 30px;font-weight: 700;-webkit-transition: all 0.5s ease;transition: all 0.5s ease;}
.red {color: #b32017;border-color: #b32017;}
.red:hover {background: #b32017;color: #fff;border-color:#fff;}
.grey {color: #3f4755;border-color: #3f4755;}
.grey:hover {color: #fff;background: #3f4755;border-color:#fff;}
.light-grey {color: #6f7997;border-color: #4a5166;}
.light-grey:hover {color: #fff;background: #4a5166;border-color:#fff;}

/*==========  Main  ==========*/ 

body {
  font-family: "Roboto", sans-serif;
  font-weight: normal;
  font-size: 14px;
  min-width: 320px;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialised; }

body input:focus:required:invalid,
body textarea:focus:required:invalid {
  color: red; }

body input:required:valid,
body textarea:required:valid {
  color: #6f7997; }

.hidden {
  display: none; }
.clear {clear:both;}
section,
.main_head {
  position: relative; z-index: 999;}
  section h3,
  .main_head h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 35px; }

section {
  padding: 90px 0 120px; }
  section h2 {
    text-align: center;
    color: #b31f17;
  font-family: "Yeseva One", serif;
  font-size: 36px;
  position: relative;
    text-transform: uppercase;
    margin: 0 0 65px;
    letter-spacing: 1px;padding-bottom: 20px; }
    section#pictures h2, section#contacts h2 {color: #fff;}
    section h2:after {
    border-bottom:2px solid #b32017;
  content: "";
  display: block;
  left: 45%;
  bottom: 0;
  position: absolute;
  width: 115px;}
  section .personal_header {
    font-size: 13px;
    text-align: left;
    margin-bottom: 30px;
    color: #555; }

.s_descr_wrap {
  text-align: center; }
  .s_descr_wrap .s_descr {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    margin-bottom: 130px;
    font-weight: 600; }
    .s_descr_wrap .s_descr::after {
      content: "";
      height: 1px;
      left: 50%;
      margin-left: -75px;
      margin-top: 60px;
      position: absolute;
      width: 150px; }

.main_head {
  min-height: 890px;
  padding-top: 0px; background: #fff url(../images/bg01.jpg) 0 0 no-repeat;background-size: cover;}

.loader {
  background: none repeat scroll 0 0 #ffffff;
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 9999; }
  .oblurlay {
  background: #4a5166 url("../images/screen.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  opacity: 1;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 9999; }
  .loader .loader_inner {
    background-image: url("../images/preload.gif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fff;
    height: 130px;
    width: 130px;
    margin-top: -65px;
    margin-left: -65px;
    left: 50%;
    top: 50%;
    position: absolute; }

.logo_container {
  float: left; 
  z-index: 100;
  position: relative;
}

.logo_container a.exl{
  float: left; 
width: 95px;
  height: 165px;
  background: #b32017;
  z-index: 100;
  position: relative;
}
.logo_container a.exl > i {transition: all 3s ease-in-out 0.3s}
.logo_container a.exl:hover > i {
    transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transition: all 3s ease-in-out 0.3s; }
.logo_container a.nazva{
  float: left; 
  z-index: 100;
  position: relative;
    left: 25px;
  top: 90px;
  text-transform: uppercase;
  color: #b31f17; /* text color */
  font-family: "Yeseva One", serif;
  font-size: 36px;
}

.logo_container a i {color: #fff;font-size: 89px;position: absolute;left: -15px;bottom: -20px;}
.social-top {float: right;position: relative;z-index: 100;margin: 0;}
.social-top li {display: inline-block;}
.social-top li a{width: 40px;height: 65px;background: #3f4755;margin-left: 10px;float: left;-webkit-transition: all 0.5s ease;transition: all 0.5s ease;}
.social-top li a:hover {background: #b32017;}
.social-top li a i {  color: #fff;
  font-size: 20px;
  position: relative;
  left: 5px;
  bottom: -25px;}

.col-md-12 {position: relative;}


.top_menu {
  position: absolute;
 background-color: rgba(255, 255, 255, 0.3);
  z-index: 50;
    right: 15px;
  top: 85px;
  display: inline-block;
  float: right;}
  .top_menu ul,
  .top_menu li {
    list-style-type: none;
      padding: 8px 10px;
  margin: 0;
  display: inline-block; }
  .top_menu ul {
    text-align: center;
    -webkit-animation-duration: 0.01s;
    animation-duration: 0.01s; }
  
    .top_menu ul a {
      color: #fff;
      display: block;
      text-transform: uppercase;
      color: #3f4755; /* text color */
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: bold;
      position: relative;
      outline: none; -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;}
      .top_menu ul a:hover {
        color: #b32017;
         }
        

.top_wrapper {
  display: table;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  z-index: 10; }
  .top_wrapper .top_descr {
    display: table-row; }
    .top_wrapper .top_descr .col-md-6 {
      display: table-cell;
      text-align: justify;
      vertical-align: middle; }
  .top_wrapper .top_text {
    display: inline-block;
    position: relative;
    top:130px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease; }
    .top_wrapper .top_text .line {width: 100%;height: 2px;background: #3f4755;margin: 0 0 15px; -webkit-animation-delay: 1s; animation-delay: 1s;}
    .top_wrapper .top_text .top-fir, .top_wrapper .top_text .top-sec {-webkit-animation-delay: 1.5s; animation-delay: 1.5s;margin-top:40px;float: left;margin-left: 50px;}
    .top_wrapper .top_text p {
      margin: 0;
     color: #3f4755; /* text color */
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: italic;
      -webkit-animation-delay: 1s;
      animation-delay: 1s; }
    .top_wrapper .top_text h1 {
      display: inline-block;
      padding: 0;
      color: #3f4755; /* text color */
  font-family: "Yeseva One", serif;
  font-size: 68px;
  text-transform: uppercase;
  margin: 0px;
      -webkit-animation-delay: 0.5s;
      animation-delay: 0.5s; }

.top_wrapper .book {position: relative;top:60px;right:-40px;float: right;-webkit-animation-delay: 1.5s; animation-delay: 1.5s;}

#about, #smi, #trailer {background: #e8eaf6;}
#vodguki {background: #fff;}
#contacts {background: #3f4755;}
#smi-text .item {padding: 40px;background: #fff;border-radius: 4px;}
.person {
  text-align: center;
 }
  .person img {
    
    display: inline-block;}

.s_about p {
  margin-bottom: 25px; color: #656c7f; /* text color */
  font-size: 16px;
  font-weight: bold;text-align: justify;margin-right: 30px;}
.s_about ul,
.s_about li {
  margin: 0;
  padding: 0;
  list-style-type: none; }
.s_about li {
  margin-bottom: 10px; }
.s_about .social_wrap {
  margin-top: 25px; }

.social_wrap li {
  display: inline-block;
  font-size: 20px;
  padding: 0 3px; }

a.more.grey.bot {
    float: left;
    margin-top: 10px;
    margin-left: 120px;
}

.s_portfolio ul,
.s_portfolio li {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center; }
.s_portfolio li {
  display: inline-block;
  margin: 0 10px;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  line-height: 2; }
.s_portfolio ul {
  margin-bottom: 50px; }

.portfolio_item {
  padding: 0; border:2px solid #3f4755;}
  .portfolio_item img {
    width: 100%; }
  .portfolio_item .port_item_cont,  .portfolio_item .port_item_cont1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding-top: 45%;
    opacity: 0;
    color: #fff;
    font-size: 30px;
    -webkit-transition: all 0.5s;
            transition: all 0.5s; }
  .portfolio_item:hover .port_item_cont {
    opacity: 1;
    padding-top: 55%; }
  .portfolio_item:hover .port_item_cont1 {
    opacity: 1;
    padding-top: 36%; }



    a.popup_content{color: #fff;padding: 10px;border:2px solid #fff; }

  .portfolio_item h3 {
    color: #fff;
    margin-bottom: 0; }
  .portfolio_item a {
    display: inline-block; }

.podrt_descr {
  background-color: #fff;
  max-width: 500px;
  margin: auto; }
  .podrt_descr p,
  .podrt_descr h3 {
    padding: 20px;
    padding-bottom: 0; }
  .podrt_descr h3 {
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 20px;
    padding-top: 25px; }
  .podrt_descr p {
    margin-top: 0; }
  .podrt_descr img {
    width: 100%;
    margin-top: 10px; }

.modal-box-content {
  position: relative; }


#vodguk {text-align: left;}
#vodguk img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  background-color: #fff;
  border-radius: 50%;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;}

.cytata {
  color: #353b4c; /* text color */
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0 5px;
}
.imia {color: #687188; /* text color */
  font-size: 16px;
  font-style: italic;}
li.item {
    list-style: none;
    border-left: 3px solid #E8EAF6;
    padding-left: 25px;
    margin-bottom: 50px;
}



.contact_box {
  margin-bottom: 30px; }
  .contact_box h3 {
    text-align: left;
    color: #000;
    margin-bottom: 0px;
    font-size: 14px; }
  .contact_box .contacts_icon {
    font-size: 30px; }
  .contact_box p {
    margin-top: 5px; }
.main_form {width: 600px;display: block;margin: 0 auto;}

.main_form button {
  float: right;background-color: #383e4e; }

.form-group {
  display: block;
  margin-bottom: 20px; color: #6f7997;}
  .form-group .color_element {
    font-weight: 700;
    font-size: 18px; color: #b32017;}
  .form-group .text-danger {
    font-size: 11px;
    margin-top: 5px;
    display: block; }
    .form-group .text-danger ul,
    .form-group .text-danger li {
      margin: 0;
      padding: 0;
      list-style-type: none; color: #fff;padding: 5px;background: #b32017;}
  .form-group input,
  .form-group textarea {
    display: block;
    width: 100%;
    border: 2px solid #4a5166;
    margin-top: 5px;
    line-height: 40px;
    text-indent: 12px;
    color: #6f7997; /* text color */
  font-family: "Roboto";
  font-size: 16px;
  font-weight: bold;
  outline: none;
  text-transform: uppercase;
    background-color: #383e4e; }
::-webkit-input-placeholder {color:#6f7997;}
::-moz-placeholder          {color:#6f7997;}/* Firefox 19+ */
:-moz-placeholder           {color:#6f7997;}/* Firefox 18- */
:-ms-input-placeholder      {color:#6f7997;}
.form-group input:hover,
  .form-group textarea:hover {border-color:#565E74;} 
.form-group input:focus,
  .form-group textarea:focus {border-color:#6f7997;}


.main_footer {
  height: 90px;
  font-size: 13px;
  font-weight: 300; }
  .main_footer .social_wrap {
    float: right;
    line-height: 0; }
    .main_footer .social_wrap ul {
      margin: 0; }
    .main_footer .social_wrap ul li a {border:2px solid #6f7997;padding: 8px;border-radius: 50%;line-height: 90px;color: #6f7997;font-size: 18px;width: 20px;height: 20px;}
.main_footer .social_wrap ul li a:hover {color: #b32017;border-color: #b32017;}
    .main_footer .social_wrap ul li .icon-vkontakte {position: relative;left: -2px;}
.logo-bottom a.logo-b {width: 90px;height: 90px;background: #b32017;float: left;color: #fff;font-size: 70px;margin: 0;padding: 0;line-height: 1;}
.logo-bottom a.logo-b i {margin: 0;padding: 0;line-height: 1;position: relative;top: 9px;left: -3px;}
.logo-bottom span a{float: left;line-height: 90px;margin-left: 20px;font-size: 30px;font-family: "Yeseva One";text-transform: uppercase;color: #b32017;}
.copy {margin-left: 20px;text-transform: uppercase;font-size: 11px;font-weight: 700;line-height: 90px;float: left;color: #6f7997;}
.scrollTo_top {
  position:fixed;
  bottom:10px;
  right:10px;
  opacity:1;
  z-index:9999;
  background: #4a5166;
  border-radius: 4px;
}
.scrollTo_top i{
  font-size:18px; padding:8px 12px 10px 12px;
  float:left;
  color:#fff;
  line-height:1 !important;
}
.smi-more {float: none;text-align: center;margin: 40px 0 0;}
.smi-more a {margin: 0;}
.scrollTo_top img{
  float:left;
}

.scrollTo_top a{
  float:left;
}

.popup_st h3 {
font-size: 32px;
line-height: 1;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  font-family: "Yeseva One";
  color: #b32017;
  border-bottom:2px solid #b32017;
}
.popup_st p {    color: #3f4755; /* text color */
  font-family: "Roboto";
  font-size: 16px;line-height: 1.5;
  font-style: italic;margin-bottom: 50px;}
  .popup_st a.more {float: left;text-align: center;margin: 0;margin-bottom: 20px;position: relative;left: 28%;}

.top_menu,
.top_menu ul,
.top_menu ul li,
.top_menu ul li a,
.top_menu #menu-button {
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.top_menu:after,
.top_menu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.top_menu #menu-button {
  display: none;
}

.top_menu > ul > li {
  float: left;
}
.top_menu.align-center > ul {
  font-size: 0;
  text-align: center;
}
.top_menu.align-center > ul > li {
  display: inline-block;
  float: none;
}
.top_menu.align-center ul ul {
  text-align: left;
}
.top_menu.align-right > ul > li {
  float: right;
}
.top_menu > ul > li > a {

}
.top_menu > ul > li:hover > a {

}
.top_menu > ul > li.has-sub > a {
  padding-right: 30px;
}
.top_menu > ul > li.has-sub > a:after {
  position: absolute;
  top: 22px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
.top_menu > ul > li.has-sub > a:before {
  position: absolute;
  top: 19px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
.top_menu > ul > li.has-sub:hover > a:before {
  top: 23px;
  height: 0;
}
.top_menu ul ul {
  position: absolute;
  left: -9999px;
}
.top_menu.align-right ul ul {
  text-align: right;
}
.top_menu ul ul li {
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
.top_menu li:hover > ul {
  left: auto;
}
.top_menu.align-right li:hover > ul {
  left: auto;
  right: 0;
}
.top_menu li:hover > ul > li {
  height: 35px;
}
.top_menu ul ul ul {
  margin-left: 100%;
  top: 0;
}
.top_menu.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}
.top_menu ul ul li a {
  border-bottom: 1px solid rgba(150, 150, 150, 0.15);
  padding: 11px 15px;
  width: 170px;
  font-size: 12px;
  text-decoration: none;
  color: #dddddd;
  font-weight: 400;
  background: #333333;
}
.top_menu ul ul li:last-child > a,
.top_menu ul ul li.last-item > a {
  border-bottom: 0;
}
.top_menu ul ul li:hover > a,
.top_menu ul ul li a:hover {
  color: #ffffff;
}
.top_menu ul ul li.has-sub > a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
.top_menu.align-right ul ul li.has-sub > a:after {
  right: auto;
  left: 11px;
}
.top_menu ul ul li.has-sub > a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}
.top_menu.align-right ul ul li.has-sub > a:before {
  right: auto;
  left: 14px;
}
.top_menu ul ul > li.has-sub:hover > a:before {
  top: 17px;
  height: 0;
}
.top_menu.small-screen {
  width: 100%;
}
.top_menu.small-screen ul {
  width: 100%;
  display: none;
}
.top_menu.small-screen.align-center > ul {
  text-align: left;
}
.top_menu.small-screen ul li {
  width: 100%;
  border-top: 1px solid rgba(120, 120, 120, 0.2);
}
.top_menu.small-screen ul ul li,
.top_menu.small-screen li:hover > ul > li {
  height: auto;
}
.top_menu.small-screen ul li a,
.top_menu.small-screen ul ul li a {
  width: 100%;
  border-bottom: 0;
  color: #fff;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}
.top_menu.small-screen > ul > li {
  float: none;
}
.top_menu.small-screen ul ul li a {
  padding-left: 25px;
}
.top_menu.small-screen ul ul ul li a {
  padding-left: 35px;
}
.top_menu.small-screen ul ul li a {
  color: #dddddd;
  background: none;
}
.top_menu.small-screen ul ul li:hover > a,
.top_menu.small-screen ul ul li.active > a {
  color: #ffffff;
}
.top_menu.small-screen ul ul,
.top_menu.small-screen ul ul ul,
.top_menu.small-screen.align-right ul ul {
  position: relative;
  left: 0;
  width: 100%;
  margin: 0;
  text-align: left;
}
.top_menu.small-screen > ul > li.has-sub > a:after,
.top_menu.small-screen > ul > li.has-sub > a:before,
.top_menu.small-screen ul ul > li.has-sub > a:after,
.top_menu.small-screen ul ul > li.has-sub > a:before {
  display: none;
}
.top_menu.small-screen #menu-button {
  display: block;
  padding: 17px;
  color: #dddddd;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.top_menu.small-screen #menu-button:after {
  position: absolute;
  top: 22px;
  right: 17px;
  display: block;
  height: 8px;
  width: 20px;
  border-top: 2px solid #dddddd;
  border-bottom: 2px solid #dddddd;
  content: '';
}
.top_menu.small-screen #menu-button:before {
  position: absolute;
  top: 16px;
  right: 17px;
  display: block;
  height: 2px;
  width: 20px;
  background: #dddddd;
  content: '';
}
.top_menu.small-screen #menu-button.menu-opened:after {
  top: 23px;
  border: 0;
  height: 2px;
  width: 15px;
  background: #ffffff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.top_menu.small-screen #menu-button.menu-opened:before {
  top: 23px;
  background: #ffffff;
  width: 15px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.top_menu.small-screen .submenu-button {
  position: absolute;
  z-index: 99;
  right: 0;
  top: 0;
  display: block;
  border-left: 1px solid rgba(120, 120, 120, 0.2);
  height: 46px;
  width: 46px;
  cursor: pointer;
}
.top_menu.small-screen .submenu-button.submenu-opened {
  background: #262626;
}
.top_menu.small-screen ul ul .submenu-button {
  height: 34px;
  width: 34px;
}
.top_menu.small-screen .submenu-button:after {
  position: absolute;
  top: 22px;
  right: 19px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}
.top_menu.small-screen ul ul .submenu-button:after {
  top: 15px;
  right: 13px;
}
.top_menu.small-screen .submenu-button.submenu-opened:after {
  background: #ffffff;
}
.top_menu.small-screen .submenu-button:before {
  position: absolute;
  top: 19px;
  right: 22px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
}
.top_menu.small-screen ul ul .submenu-button:before {
  top: 12px;
  right: 16px;
}
.top_menu.small-screen .submenu-button.submenu-opened:before {
  display: none;
}
.top_menu.small-screen.select-list {
  padding: 5px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




 /**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
  position: relative;
  margin: 0 auto 60px;
  padding: 0;
  *zoom: 1;
}

.bx-wrapper img {
  max-width: 100%;
  display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
  
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
  -moz-transform: translatez(0);
      -ms-transform: translatez(0);
      -o-transform: translatez(0);
      transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -50px;
  width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(../images/bx_loader.gif) center center no-repeat #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 40px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: transparent;
  text-indent: -9999px;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  outline: 0;
  border:2px solid #3f4755;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #3f4755;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
  text-align: center;
}



/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666\9;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}

.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

.languages {
    float: left;
    z-index: 999;
    margin: 50vh 35%;    
}
.languages a {margin-bottom: 20px;float: left;}
/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1050px) {

.top_wrapper .top_text h1 {font-size: 50px;}
.top_wrapper .top_text .top-fir, .top_wrapper .top_text .top-sec{margin-left: 20px;}
.s_about p {font-size: 14px;margin-right: 20px;}
.languages {
    margin: 50vh 20%;   
}

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

  .main_head {min-height: 690px;}
  .top_wrapper .top_text {top:50px;}
  .top_wrapper .top_text h1 {font-size: 42px;}
  .top_wrapper .book {top: 50px;}
  .top_menu.small-screen {width: 50%;background: #3f4755; }
  .top_menu.small-screen #menu-button {background: #3f4755;}
  .more {padding: 10px 20px;font-size: 12px;}
.kniga img{max-width: 100%;}
section {padding: 45px 0 60px; }
.popup_st h3 {font-size: 24px;line-height: 1.5;}
.s_about p {margin-top: 30px;margin-right: 0;}
section h2:after {left: 42%;}
.languages {
    margin: 50vh 25%;   
}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

.main_form {width: 100%;}
.top_menu.small-screen {width: 30%; }
.top_wrapper .top_text {top: 40px;}
.top_wrapper .top_text h1 {font-size: 5em;}
.top_wrapper .book {right: 0;top: 80px;}
section h2 {margin-bottom: 35px;}
section h2:after {left: 40%;}
.links {margin: 0 auto;
  width: 70%;
  text-align: center;
  display: block;}
.languages {
    margin: 50vh 20%;   
}
.top_wrapper .kniga {top: 30px;}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 500px) {
section h2:after {left: 37%;}
  .top_wrapper .top_text h1 {
  font-size: 3.7em; padding-right: 10px;}
  .links {width: 80%;}
  .logo-bottom span {display: none;}
.popup_st a.more {left: 20%;}
.popup_st p {color: #fff;}
.languages {
    margin: 50vh 5%;   
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 350px) {
.nazva, .copy {display: none;}
.top_menu.small-screen {width: 50%;}
.top_wrapper .top_text h1 {font-size: 2.3em;}
.main_head {
  min-height: 1230px;
}
.links {width: 100%;}
.top_wrapper .top_text .top-fir, .top_wrapper .top_text .top-sec {
  margin-left: 0px;
}
.more {width: 100%;margin: 0;}
section {padding: 35px 0 20px; }
section h2:after {left: 32%;}
.languages {
    margin: 50vh 0;   
}
.languages a {display: block;}

}

