@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600,700,800&subset=latin,cyrillic);


h2 {
    font-size: 33px;
    letter-spacing: 5.6px;
    /* border-bottom: 3px solid currentColor; */
    padding-bottom: 20px;
    padding-top: 20px;
    /* border-top: 3px solid; */
    font-weight: 900 !important;
    color: #3e4130;
    font-family: "Open Sans";
    /* display: inline-block; */
    /* margin: auto; */
    /* border-top: 4px dashed; */
    /* border-bottom: 4px dashed; */
    /* border: 1px solid; */
}

.top_header_menu .bx_topnav a {
    letter-spacing: 2px;
    padding-bottom: 19px;
    font-weight: 400;
    transition: all 0.3s;
    border-bottom:1px solid rgba(255,255,255,0.0);
font-size: 12px;
}

.top_header_menu .bx_topnav a:hover{
        border-bottom:1px solid #fff;
}

.top_wrap {
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #000;
    /* opacity: 1; */
}

.lang {
    line-height: 33px;
}

.phone {
    line-height: 33px;
    letter-spacing: 0.4px;
    font-weight: 400 !important;
}

div#contacts {
    text-align: left;
}

p {
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 180%;
    margin-bottom: 20px;
    font-family: "Open Sans";
    text-align: justify;
}

.img.right img {
/* border-radius: 50%;*/
    /* border: 24px solid brown; */
}

* {
    font-family: "Open Sans";
}

.section {
    border-top: 0px dotted #72765F;
    border-bottom: 0px dotted #72765F;
    color: #3e4130;
    /* text-align: left !important; */
    padding: 40px;
    background-attachment: fixed;
    background-size: COVER;
    /* min-height: 800px; */
    padding-top: 160px;
    padding-bottom: 160px;
    -webkit-background-filter: grayscale(70%);
  background-color: #555 !important;
}

@media screen and (max-device-width: 1025px) {
.section {
background-attachment: scroll !important;
/* background-size: auto !important; */
background-repeat: no-repeat !important;
}

}


.section:nth-child(odd){
    background-attachment: fixed; 
   background-size: COVER; 
}

a.booking.button {
    background: #231F20;
    border-radius: 2px;
    /* border: 4px solid #514A46; */
}

a.booking.button:hover {
    background: #514A46;
}

a {
    transition: all 0.3s;
}

.order a.bx-next {
    background: #3e4130;      
    border: 4px solid #3e4130;
}

.order a.bx-next:hover {
    background: #72765F;
}

.delimeter {
  text-align: center;
  height: 202px !Important;
  /* background-attachment: fixed; */
  /* background-size: cover; */
  /* border-top: 40px solid rgb(62, 65, 48); */
  /* background: rgb(199, 193, 169); */
  border-top: 5px solid #514A46;
  border-bottom: 5px solid #514A46;
 /*  -webkit-filter: invert(00%) saturate(0%) contrast(110%) grayscale(100%) hue-rotate(10deg); */
  background: url('../img/del.png%3F3');
  background-size: contain;
  /* background-attachment: fixed; */
}

form#add_com {
    background: none;
    /* border: 4px solid; */
    border-radius: 9px;
    background: rgb(55, 54, 54);
    /* color: rgb(199, 193, 169) !important; */
    border: 4px solid;
}

form#add_com h2 {
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
    border-bottom: 1px dashed;
    display: block;
    margin-top: 10px;
    border-top: 1px dashed;
    transform: none;
    width: auto;
    background: none;
}

input[type=text] {
    background: none;
    border: none !important;
    border-bottom: 4px solid rgb(255, 255, 255)  !important;
    display: block  !important;
    color: rgb(255, 255, 255);
    margin: 10px;
    padding: 10px;
    height: auto;
    line-height: initial;
    border-radius: 0px  !important;
    float: none;
    width: 100%;
    font-size: 22px !IMPORTANT;
}

textarea {
    background: rgb(255, 255, 255);
    /* border: 3px dashed !important; */
    /* border-bottom: 4px solid rgb(199, 193, 169)  !important; */
    display: block  !important;
    color: rgb(62, 65, 48);
    margin: 10px;
    padding: 10px;
    height: auto;
    line-height: initial;
    border-radius: 0px  !important;
    float: none;
    width: 100%;
    font-size: 18px !important;
    border-top: 15px solid rgb(35, 31, 32) !important;
    transition: all 0.3s;
}



h2 {}

.section.head_section {
    border-top: 0px;
}

.bar_item {
    padding: 15px;
    margin: 0px;
}

.bar_item:nth-child(odd) {
    background: rgb(55, 54, 54);
    color: white !important;
}

.bar_item:nth-child(odd) .bar_name{
    background: rgb(55, 54, 54);
    color: white !important;
}

.bar_item:nth-child(odd) .bar_value{
    background: rgb(55, 54, 54);
    color: rgb(255, 255, 255) !important;
}

.bar_item>span {
    vertical-align: middle;
}
.bar_value{
    font-weight:400
}

.contacts_section .wrapper {
  text-align: left !important;
  overflow: hidden !important;
}

.time {
  font-family: gothic;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  color: #514a46;
  text-decoration: none;
  letter-spacing: 4px;
  float: left;
  margin-top: 19px;
  margin-left: 38px;
  background: #514a46;
  padding: 14px;
  color: rgb(199, 193, 169);
  font-weight: 400;
}

.wrapper {
    padding: 40px;
    background: #C7C1A9;
    /* border: 6px solid; */
    /* border-bottom: 46px solid; */
    box-shadow: -25px -25px 5px 5px rgba(0, 0, 0, 0.1), -40px -40px 0px 10px rgba(199, 193, 

169, 0);
    border-bottom: 16px solid rgb(55, 54, 54);
}

.head_section .wrapper{
  padding:0px;
  background:none;
  border:none;
  width: 100%;
  margin:0px;
  padding:0px !important;
  margin: auto;
  overflow: visible;
}

.section.head_section{
  padding:0px;
  margin:auto;
}

.wrapper {
    background: white;
    overflow-x: hidden;
}

img.jac {
    max-height: 116px;
    -webkit-filter: contrast(2) invert(100%);
}

h2 {
    background: rgb(35, 31, 32);
    margin-top: 0px;
    color: white;
    transform: translateX(-43px) translateY(0px) rotate(-0deg);
    width: 110%;
}

div#bar {
    padding-top: 400px;
    padding-bottom: 400px;
}

.section.inner-first {
    padding-top: 160px;    padding-bottom: 160px;
}

span.prev2.slider-control {
    left: -49px;
    z-index: 99;
    background-color: rgb(55, 54, 54);
    opacity: 1;
    border-radius: 0%;
    padding-left: 23px;
    padding-right: 23px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 32%;
    top: 150px;
}

span.next2.slider-control {
    right: -49px;
    z-index: 99;
    background-color: rgb(55, 54, 54);
    opacity: 1;
    /* border-radius: 50%; */
    padding-left: 23px;
    padding-right: 23px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 32%;
    top: 150px;
    /* transform: rotate(45deg); */
    /* content: 'd'; */
    /* top: -110px; */
}


span.prev.slider-control {
    left: -49px;
    z-index: 99;
    background-color: rgb(55, 54, 54);
    opacity: 1;
    border-radius: 0%;
    padding-left: 23px;
    padding-right: 23px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 32%;
    top: 150px;
}

span.next.slider-control {
    right: -49px;
    z-index: 99;
    background-color: rgb(55, 54, 54);
    opacity: 1;
    /* border-radius: 50%; */
    padding-left: 23px;
    padding-right: 23px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 32%;
    top: 150px;
    /* transform: rotate(45deg); */
    /* content: 'd'; */
    /* top: -110px; */
}

a.get_review {

      font-size: 33px;
    letter-spacing: 5.6px;
    /* border-bottom: 3px solid currentColor; */
    padding-bottom: 20px;
    padding-top: 20px;
    /* border-top: 3px solid; */
    font-weight: 900 !important;
    

      color: white;
    font-family: "Open Sans";
    

      background: rgb(35, 31, 32);
    margin-top: 0px;
    

      color: white;
    transform: translateX(-43px) translateY(0px) rotate(-0deg);
    width: 100%;
    border-radius:0px
}

.time {
    background: rgb(55, 54, 54);
    /* border: 4px dashed rgb(199, 193, 169); */
    color: white;
}

.bx_topnav {
    padding-top: 18px;
    /* max-width: 900px; */
    margin: auto;
    position: fixed;
    background: rgb(35, 31, 32);
    width: 100%;
    left: 0px;
    top: 0px;
    z-index:1000;
}

.bx_topnav ul {
    display: block;
    margin: auto;
  max-width: 740px;
}

.header_top {
  height: 42px;
  /* margin-top: 51px; */
  position: absolute;
  width: 100%;
  top: 55px;
  /* background: rgba(0,0,0,0.4); */
  /* max-width: 900px; */
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* margin: auto; */
}

.logo img {
    border: 16px solid rgb(35, 31, 32);
    border-radius: 50%;
}

a.add2cart {
    background: rgb(55, 54, 54);
    border-radius: 2px;
}

a.add2cart:hover {
    background: rgb(81, 74, 70);
}

img.jac {}

#about.section {
    background-image: url('../img/bg/8.jpg');
}

div#price.section {
    background-image: url('../img/bg/8.jpg');
}

div#masters.section {
    background-image: url('../img/bg/8.jpg');
}

div#reviews.section {
    background-image: url('../img/bg/8.jpg');
}

div#bar.section {
    background-image: url('../img/bg/8.jpg');
}

div#cosmetic.section {
    background-image: url('../img/bg/8.jpg');
}

div#contacts.section {
    background-image: url('../img/bg/8.jpg');
}

div#serts.our_clients_section {
    background-image: url('../img/bg/8.jpg');
}

div.our_clients_section {
    background-image: url('../img/bg/8.jpg');
}

div.contacts_section { 
    background-image: url('../img/bg/8.jpg');
}


.opo.col-xs-4.col-sm-4.col-md-4.col-lg-4 {
    display: table-cell !important;
    width: 30% !important;
}

.row {
    display: table !important;
}

button {
outline:none !important;
}

.pop {
display:block !important;
transition: all 0.3s;
opacity:0 !important;
}

.opo:hover .pop {
opacity:1 !important;
background: rgba(0,0,0,0.9) !important;
}

.pop h2 {
  margin-bottom: 0px !important;
  background: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-align: left;
  padding-left: 30px;
  box-sizing: border-box;
  padding-right: 30px;
}

.pop {
cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.carousel-indicators{
display:none;
}

.mfp-figure figure img {
  width:auto !important;
  max-height:auto !important;
}

.order_form input[type=text] {
    border-bottom: 2px solid #222 !important;
    /* margin: 0px; */
    /* padding: 0px; */
}

.order-form input {
    border: 1px solid #222;
    padding: 0px;
    margin: 0px;
}


.order_form input.small[type=text] {
    display: inline-block !important;
    float: none !important;
}

.order_form input.middle[type=text] {
    display: inline-block !important;
    width:60px !important;
    float: none !important;
}

.order_form label.label {
  display: block!important;
  padding-left: 0px;
  margin-left: 0px !important;
  text-align: left;
  font-weight: 100;
  padding-left: 12px;
}

label.label {
    display: block !important;
}

.bx-calendar-form input.bx-calendar-form-input[type=text] {
    border-bottom: 1px solid #222 !important;
    display: inline-block !important;
    width: 50px !important;
    color: #222 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

span.bx-calendar-form-separator {
    vertical-align: middle;
}

.phone {
    font-size: 19px !important;
    font-weight: 600 !important;
    font-family: 'Open Sans';
}

.soc_links {
  margin-bottom: 0px !important;
}

.contacts_section .phone a {
    color: #222 !important;
}

.contacts-address {
  font-size: 17px;
  padding-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
}


.contacts-address span {
  font-weight: 100;
  font-size: 16px;
  padding-left: 21px;
  display: inline-block;
  vertical-align: top;
}

#cosmetics_section .master .name {
    font-size: 10px !important;
}

#cosmetic .name {
    height: 20px !important;
  width: 100% !important;
}

.masters .price_value {
    font-family: "Open Sans" !important;
    font-weight: bold !important;
}


p.text.coop {
  font-size: 18px !important;
  font-family: "Open Sans" !important;
  line-height: 180% !important;
  margin-bottom: 0px !important;
}


.scrollable .scroll-bar.vertical .thumb {
  background-color: #333;
  width: 10px !important;
}

.scroll-bar.vertical {
  background-color: #999 !important;
  border: none !important;
  width: 10px !important;
}

button {
  outline: none !important;
  border: none !important;
  padding: 0px !important;
  margin: 0px !important;
}

#instafeed {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
} 

#instafeed a {
  margin-bottom: 30px;
}

.instaFeedElem {
  width: 33.3%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.img.right img{
	width: 100%;
    max-width: 430px;
    margin-top: 10px;
}
@media only screen and (min-width: 320px) and (max-width: 800px) {

  .instaFeedElem {
    width: 100%;
}
  
  .bx_topnav {
    height: auto;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-out ;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  } 

  /* .bx_topnav:hover {
    height: 133px;
  } */

  .bx_topnav ul {
    display: block;
    margin: 15px 0 0 90px;
    max-width: 170px;
    width: 100%;
    position: relative;
  }

  /* .bx_topnav ul:before {
    width: 32px;
    height: 32px;
    background: url(../img/list-menu.png) 0 0;
    position: absolute;
    content: '';
  } */
   .top_header_menu .bx_topnav ul {
    display: none;
  }
  
  .top_header_menu .bx_topnav li {
    display: inherit;
    margin-bottom: 5px;
  } 

  /* .top_header_menu .bx_topnav:hover ul:before {
    display: none;
  } */

  .top_header_menu .bx_topnav .helper {
    display: none;
  }

  .top_header_menu .bx_topnav a {
    padding-bottom: 5px;
  }
  .menu-trigger, .menu-trigger-close {
    width: 32px;
    height: 32px;
    position: relative;
    left: 90px;
    z-index: 5;
    display: block;
    background: transparent;
    margin-bottom: 15px;
  }
  .menu-trigger-close {
    display: none;
  }
  .menu-trigger:before, .menu-trigger-close:before {
    width: 32px;
    height: 32px;
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    background: url(../img/list-menu.png) 0 0;
    background-size: cover;
  }
  .menu-trigger-close:before {
    background: url(../img/close.png) 0 0;
    background-size: cover;
  }
  .logo {
      width: 100%;
    } 

  .logo img {
    box-sizing: border-box;
    width: 100%;
    margin-top: -20%;
  } 

  .img.right {
    float: none;
  }

  .img.right img {
    width: 100%;
  }

  .section {
    padding: 0;
  }

  .section.our_clients_section {
    padding-bottom: 1px;
  }

  .clients {
    margin-bottom: 0!important;
  }

  .section.inner-first {
    padding-top: 0;
    padding-bottom: 0;
  }

  .wrapper {
    box-sizing: border-box;
    padding: 40px 3%;
  }

  h2 {
    font-size: 23px;
    line-height: 1.2em;
    width: 100%;
    transform: none;
  }

  .contacts-address {
    font-size: 14px;
    text-align: center;
  }

  .contacts-address span {
    padding-left: 0;
    text-align: center;
    display: block;
    margin-top: 5px;
  }

  .contacts_section .soc_links > ymaps {
    width: 100%!important;
    height: 300px!important;
  }

}

.text_serts {
	
}
.text_serts p {
    font-size: 17px;
}
.text_serts b {
    font-size: 20px;
    font-weight: bold;
    font-family: "Open Sans";
    text-align: left;
    width: 100%;
    display: block;
}
.serts_list {
	display:flex;
}
.sert_item {
    margin-right: 10px;
}
.sert_item img {
    max-width: 318px !important;
    transition: 1s;
}
.sert_item img:hover {
    transform: scale(1.2);
}
.sert_item p {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    display: block;
    margin-left: 15px;
	color: #000;
}
.sert_item b {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    display: block;
    margin-left: 15px;
    margin-top: 17px;
	color: #000;
}
@media only screen and (min-width: 320px) and (max-width: 800px) {
.serts_list {
    display: block;
    text-align: center;
}
.sert_item b {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    display: block;
    margin-left: 15px;
    margin-top: 17px;
    color: #000;
    margin-bottom: 17px;
}
.sert_item {
    margin-right: 10px;
    max-width: 267px;
    display: inline-block;
}
}
.clients{
    margin-bottom: 100px;
}
.clients img{
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.clients
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4{
    margin: 0;
    padding: 0;
}
.carousel-indicators-z{
      position: absolute;
      bottom: -35px;
      right: 0;
      text-align: right;
      width: inherit;
      margin-bottom: 0;
}
.carousel-indicators-z li {
    background-color: #514a46;
    border: transparent;
    width: 17px;
    height: 17px;
    margin-left: 5px;
}
.carousel-indicators-z .active {
    width: 19px;
    height: 19px;
    margin-left: 5px;
    border: solid;
}

.pop{
    display: none;
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    padding-top: 15px;
    color: #fff;
}
.pop h2{
    color: #fff;
    font-size: 15px;
    transform: inherit;
    width: 100%;
}
.pop p{
    text-align: center;
    width: 80%;
    margin: 0 auto;
    line-height: 17px;

}
.opo{
    position: relative;
}
.opo:hover .pop{
    display: block;
}
.plashka{
    background: url("https://www.cap-barbershop.ru/bitrix/templates/cap/img/plashka.jpg") no-repeat;
    width: 100%;
    height: 145px;
    background-size: cover;
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
    padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
    top: 0;
    bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
    padding: 0;
}


/*

for zoom animation
uncomment this part if you haven't added this code anywhere else

*/
/*

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}
*/
#contacts .time,
#about .time{
     display:none;
}
#open-popup-1,#open-popup-2,#open-popup-3,#open-popup-4,#open-popup-5,#open-popup-6,
#open-popup-7,#open-popup-8,#open-popup-9,#open-popup-10,#open-popup-11,#open-popup-12,
#open-popup-13,#open-popup-14,#open-popup-15,#open-popup-16,#open-popup-17,#open-popup-18,
#open-popup-19,#open-popup-20,#open-popup-21,#open-popup-22,#open-popup-23,#open-popup-24{
	padding:0;
	border:none;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0;
    width: 1000px;
  height: auto;
 }
 .mfp-figure figure img {
    width:100%;
 }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }