*{box-sizing: border-box;-o-box-sizing: border-box;-ms-box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;}
html{height:100%;background:#f7eee4;padding:0;-webkit-text-size-adjust: none;}
body{
  height:inherit;
  background-color:#f7eee4;
  background-position: top;
  background-repeat: repeat-x;
  margin:0;
  font-family: Georgia, Arial;
  color: #000;
  font-size:15px;
  line-height: 20px;
}
.pseudo{border-bottom:1px dotted rgba(0, 178, 244, 0.65)!important;}

.br1,.br2,.br3,.br4,
.br5,.br6,.br8,
.br10,.br15,.br14,
.br20,.br25,.br30,
.br40,.br50,.br60,
.br70,.br80,.br150{height:5px;overflow:hidden;display:block;clear:both;}
.br150{height:150px;}
.br80{height:80px;}
.br70{height:70px;}
.br60{height:60px;}
.br50{height:50px;}
.br40{height:40px;}
.br30{height:30px;}
.br25{height:25px;}
.br20{height:20px;}
.br15{height:15px;}
.br14{height:14px;}
.br10{height:10px;}
.br8{height:8px;}
.br6{height:6px;}
.br5{height:5px;}
.br4{height:4px;}
.br3{height:3px;}
.br2{height:2px;}
.br1{height:1px;}
.fs_13,.fsa_13,.fsa_13 *{font-size:13px;}
.fs_14,.fsa_14,.fsa_14 *{font-size:14px;}
.fs_15,.fsa_15,.fsa_15 *{font-size:15px;}
.fs_16,.fsa_16,.fsa_16 *{font-size:16px;}
.fs_18,.fsa_18,.fsa_18 *{font-size:18px;}
.fs_20,.fsa_20,.fsa_20 *{font-size:20px;}
.fs_22,.fsa_22,.fsa_22 *{font-size:22px;}
.fs_25,.fsa_25,.fsa_25 *{font-size:25px;}
.fs_26,.fsa_26,.fsa_26 *{font-size:26px;}
b{font-family: 'dinProBlack'; font-weight: normal;}
img{vertical-align:middle !important;border:none !important;}
.anb{border: none !important;}
a,.pseudo{text-decoration:none;border-bottom:1px solid;color:#0090ff;border-color:rgba(0,144,255,0.3);cursor: pointer;}
a:hover,.a_hover{color: #c90000!important;border-color: rgba(201,0,0,0.3)!important;}
input[type="text"],input[type="password"],input[type="checkbox"],textarea,select{
  border: none;
  padding:7px;
  font-family:'robotoregular', Arial;
  font-size:14px;
  outline:0 none;
  margin: 0;
  border-radius: 4px;
  background-color: #ebdbc8;
  color: #a25d3c;
}
textarea{
  resize: none;
}
input[type="text"]:focus{
}
select{
  padding: 6px;
  font-family:'robotoregular', Arial;
  font-size:14px;
}
p{
  margin: 0 0 20px 0;padding:0;
}
.root_table{
height:100%;
}
.top_table__wrapper{
margin-top:25px;
}
.body_wrapper{
  height:inherit;
  position:relative;
  text-align: center;
  border: none;
  background-position: right bottom;
  background-repeat: no-repeat;
}
.body_wrapper_wrapper{
  height:inherit;
}
.root_table{
  border: none;
}


.cust_inp{
  margin-bottom: 8px;
}
.cust_inp,
.cust_inp label{
  display: inline-block;
  position: relative;
  cursor: pointer;
  vertical-align: top;
  line-height: 20px;
}
.cust_inp input{
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  opacity: 0;
  height: 20px;
  width: 20px;
}
.cust_inp .cust_inp__check_b{
  position: absolute;
  top: 0px;
  left: 0px;
  height: 20px;
  width: 20px;
  background-color: #ebdbc8;
  border-radius: 4px;
}
.cust_inp .cust_inp__check:checked + span .cust_inp__check_b__icon{
  display: inline-block;
  position: absolute;
  top: 0px;
  right: 5px;
  width: 10px;
  height: 15px;
  border-right: 3px solid #a25d3c; 
  border-bottom: 3px solid #a25d3c;
  -webkit-transform: scale(0.9) rotate(50deg) skewX(12deg);
  -moz-transform: scale(0.9) rotate(50deg) skewX(12deg);
  -ms-transform: scale(0.9) rotate(50deg) skewX(12deg);
  -o-transform: scale(0.9) rotate(50deg) skewX(12deg);
  transform: scale(0.9) rotate(50deg) skewX(12deg);
}

.cust_inp .cust_inp__radio_b{
  position: absolute;
  top: 0px;
  left: 0px;
  height: 20px;
  width: 20px;
  background-color: #ebdbc8;
  border-radius: 100%;
}
 .cust_inp .cust_inp__radio:checked + span .cust_inp__radio_b__icon{
  display: inline-block;
  position: absolute;
  bottom: 5px;
  left: 5px;
  border-radius: 100%;
  width: 10px;
  height: 10px;
  background-color: #704029;
}

/*
label.custom_input_label{
  display:inline-block;
}
input.custom_input{
  opacity:0;
  position: relative;
  z-index: 5;
  margin-left:3px;
}
input.custom_input:disabled span.custom_input{
  opacity:0.5;
  background: aqua;
}
span.custom_select{
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border:1px solid #969696;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  padding: 5px;
}
span.custom_input{
  margin-top:-16px;
  margin-left:0px;
  position:absolute;
  display:block;
  width:13px;
  height:13px;
  border:1px solid #969696;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  z-index: 4;
}
input.custom_input:hover + span.custom_input{
  border-color:#585858;
}
span.custom_input_radio{
  border-radius:100px;
}
span.custom_input_checkbox{
  border-radius:2px;
}
input.custom_input:checked + span.custom_input:before{
  content:'';
  display:block;
  position:relative;
}
input.custom_input:checked + span.custom_input_radio:before{
  left:3px;
  top:3px;
  width:5px;
  height:5px;
  background-color:#000000;
  border-radius:100px;
}
input.custom_input:checked + span.custom_input_checkbox:before{
  width:13px;
  height:13px;
  left:-1px;
  top:-1px;
  background: url("data:image/gif;base64,R0lGODlhDQANALMJADIyMi4uLoWFhVZWVnZ2di8vLzAwMDExMTMzMwAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAkALAAAAAANAA0AAAQhMMlJq70Y4Yn0BoBQHdNxEKOZmINlvDBWzMWWBIGt73wEADs=") no-repeat transparent;
}
input.custom_input:disabled + span.custom_input{
  opacity: 0.3;
}*/
.cbutton{
  margin: 0;
  border-bottom: 1px solid #989898;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #b4b4b4;
  border-right: 1px solid #b4b4b4;
  background: #cdcdcd;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cdcdcd));
  background: -webkit-linear-gradient(top, #ffffff, #cdcdcd);
  background: -moz-linear-gradient(top, #ffffff, #cdcdcd);
  background: -ms-linear-gradient(top, #ffffff, #cdcdcd);
  background: -o-linear-gradient(top, #ffffff, #cdcdcd);
  background-image: -ms-linear-gradient(top, #ffffff 0%, #cdcdcd 100%);
  padding: 4px 7px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none;
  vertical-align: top;
  cursor: pointer;
  font-weight: normal;
  color:#000;
  display: inline-block;
  outline: none;
  font-size: 16px;
  font-family: 'robotoregular';
}
.cbutton:hover{
  box-shadow: 0 1px 2px 0px rgba(0,0,0,0.2);
  background: #dadada;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dadada));
  background: -webkit-linear-gradient(top, #ffffff, #dadada);
  background: -moz-linear-gradient(top, #ffffff, #dadada);
  background: -ms-linear-gradient(top, #ffffff, #dadada);
  background: -o-linear-gradient(top, #ffffff, #dadada);
  background-image: -ms-linear-gradient(top, #ffffff 0%, #dadada 100%);
  color:#000;
}
.green_button{
  margin: 0;
  border: none;
  border-top: 1px solid #b8eeb9;
  background: #4cd44f;
  background: -webkit-gradient(linear, left top, left bottom, from(#4cd44f), to(#1aa21d));
  background: -webkit-linear-gradient(top, #4cd44f, #1aa21d);
  background: -moz-linear-gradient(top, #4cd44f, #1aa21d);
  background: -ms-linear-gradient(top, #4cd44f, #1aa21d);
  background: -o-linear-gradient(top, #4cd44f, #1aa21d);
  background-image: -ms-linear-gradient(top, #4cd44f 0%, #1aa21d 100%);
  padding: 8px 16px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none;
  vertical-align: top;
  cursor: pointer;
  font-weight: normal;
  color:#fff;
  display: inline-block;
  outline: none;
  font-size: 16px;
  font-family: 'robotobold';
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
  box-shadow: 0 1px 2px 0px rgba(0,0,0,0.2);
}
.green_button:hover{
  box-shadow: 0 1px 4px 0px rgba(0,0,0,0.4);
  border: none !important;
  border-top: 1px solid #b8eeb9 !important;
  background: #70dd72;
  background: -webkit-gradient(linear, left top, left bottom, from(#70dd72), to(#48b54a));
  background: -webkit-linear-gradient(top, #70dd72, #48b54a);
  background: -moz-linear-gradient(top, #70dd72, #48b54a);
  background: -ms-linear-gradient(top, #70dd72, #48b54a);
  background: -o-linear-gradient(top, #70dd72, #48b54a);
  background-image: -ms-linear-gradient(top, #70dd72 0%, #48b54a 100%);
  color:#fff !important;
}
.max_width{
  max-width: 1400px;
  min-width: 1040px;
  text-align:left;
  padding: 0 40px;
  position: relative;
}
.light_blue{
  color: #8fc5e2;
  border-bottom-color: rgba(143,197,226,0.4);
}
#modal_layer__close{
  position:absolute;
  font-size:100px;
  color:#E0E0E0;
  right:40px;
  top:30px;
  cursor:pointer;
  line-height:20px;
  z-index:1113;
}
#modal_layer__close:hover{
  color:#fff;
}
.request__form td{
  padding:10px 20px 10px 0;
}
.request__form__title{
  padding-top:16px !important;
}
.error_list, .error_list li{
  margin: 2px 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #800000;
}
.notice{
  background-color: #80FF80;
  padding: 20px 20px;
  border-radius: 4px;
  font-size: 18px;
  width:400px;
}
.ftext {
  max-width: 650px;
  line-height: 20px;
}
.ftext__rtxt{float:right;width: 250px;text-align:right;}
.ta_r {text-align: right;}
.ftext h1{
  line-height: 30px;
}
.ie{
  display: none;
  position: fixed;
  background-color: #a25d3c;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  color: #f7eee4 !important;
  z-index: 10000;
  line-height: 30px;
}
.ie a{color: #f7eee4 !important;border-bottom-color:  rgba(247,238,228,.3); }
.pl_40{padding-left: 40px !important;}
.pr_40{padding-right: 40px !important;}
.pl_30{padding-left: 30px !important;}
.pr_30{padding-right: 30px !important;}
.pt_30{padding-top: 30px !important;}
.pb_30{padding-bottom: 30px !important;}
.pl_20{padding-left: 20px !important;}
.pr_20{padding-right: 20px !important;}
.pl_10{padding-left: 10px !important;}
.pr_10{padding-right: 10px !important;}
.pl_15{padding-left: 15px !important;}
.pr_15{padding-right: 15px !important;}
.pl_5{padding-left: 5px !important;}
.pr_5{padding-right: 5px !important;}
.pl_3{padding-left: 3px !important;}
.pr_3{padding-right: 3px !important;}
.rub{
  font-family: 'als_rublregular';
}





.mfp-s-loading{
  /*
  background-image: url(/v2/i/477.gif);
  background-repeat: no-repeat;
  background-position: center center;
  */
}


/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/* 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: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.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;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

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

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

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

.mfp-arrow {
  position: absolute;
  opacity: 0.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; }
  .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; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    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 white;
    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: black; }

/* 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: #444444; }
  .mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }

.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 {
    /* The shadow behind the image */ }
    .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; }

/* Styles for dialog window */
#small-dialog {
  background: white;
  padding: 20px 30px;
  text-align: left;
  max-width: 400px;
  margin: 40px auto;
  position: relative;
}


/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;

  -webkit-transition: all 0.2s ease-in-out; 
  -moz-transition: all 0.2s ease-in-out; 
  -o-transition: all 0.2s ease-in-out; 
  transition: all 0.2s ease-in-out; 



  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;

  -webkit-transform: scale(1); 
  -moz-transform: scale(1); 
  -ms-transform: scale(1); 
  -o-transform: scale(1); 
  transform: scale(1); 
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8); 
  -moz-transform: scale(0.8); 
  -ms-transform: scale(0.8); 
  -o-transform: scale(0.8); 
  transform: scale(0.8); 

  opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
}



/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;

  -webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
  opacity: 0;

  -webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
  opacity: 0;

  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
  opacity: 0;
}