/*!
	Modaal - accessible modals - v0.4.3
	by Humaan, for all humans.
	http://humaan.com
 */
.modaal-noscroll{
  overflow: hidden;
}

.modaal-accessible-hide{
  position: absolute !important;
  overflow: hidden; 
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
}

.modaal-overlay{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: rgba(228, 210, 207, 0.9)!important;
}

.modaal-wrapper{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: block;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.modaal-wrapper *{
  box-sizing: border-box;

  -webkit-backface-visibility: hidden; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.modaal-wrapper .modaal-close{
  padding: 0;
  border: none;
  background: 0 0;

  -webkit-appearance: none;
}

.modaal-wrapper.modaal-start_none{
  display: none;
  opacity: 1;
}

.modaal-wrapper.modaal-start_fade{
  opacity: 0;
}

.modaal-wrapper [tabindex='0']{
  outline: 0 !important;
}

.modaal-wrapper.modaal-fullscreen{
  overflow: hidden;
}

.modaal-outer-wrapper{
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
}

.modaal-fullscreen .modaal-outer-wrapper{
  display: block;
}

.modaal-inner-wrapper{
  position: relative;
  display: table-cell;
  padding: 80px 25px; 
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}

.modaal-fullscreen .modaal-inner-wrapper{
  display: block;
  padding: 0;
  vertical-align: top;
}

.modaal-container{
  position: relative;
  display: inline-block;
  margin: auto;
  max-width: 1000px;
  width: 100%;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  color: #000;
  text-align: left;
  cursor: auto;
}

.modaal-container.is_loading{
  overflow: hidden; 
  width: 100px;
  height: 100px;
}

.modaal-fullscreen .modaal-container{
  overflow: auto; 
  max-width: none;
  height: 100%;
}

.modaal-close{
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  opacity: 1;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.modaal-close:focus,
.modaal-close:hover{
  outline: 0;
  background: #fff;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background: #b93d0c;
}

.modaal-close span{
  position: absolute !important;
  overflow: hidden; 
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
}

.modaal-close:after,
.modaal-close:before{
  position: absolute;
  top: 14px;
  left: 23px;
  display: block;
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  content: ' ';
  transition: background .2s ease-in-out;
}

.modaal-close:before{
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.modaal-close:after{
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.modaal-fullscreen .modaal-close{
  top: 10px; 
  right: 10px;
  background: #afb7bc;
}

.modaal-content-container{
  padding: 30px;
}

.modaal-confirm-wrap{
  padding: 30px 0 0;
  text-align: center;
  font-size: 0;
}

.modaal-confirm-btn{
  display: inline-block;
  margin: 0 10px;
  border: none;
  background: 0 0; 
  vertical-align: middle;
  font-size: 14px;
  cursor: pointer;
}

.modaal-confirm-btn.modaal-ok{
  padding: 10px 15px;
  border-radius: 3px;
  background: #555;
  color: #fff;
  transition: background .2s ease-in-out;
}

.modaal-confirm-btn.modaal-ok:hover{
  background: #2f2f2f;
}

.modaal-confirm-btn.modaal-cancel{
  text-decoration: underline;
}

.modaal-confirm-btn.modaal-cancel:hover{
  color: #2f2f2f; 
  text-decoration: none;
}

.modaal-instagram .modaal-container{
  width: auto;
  background: 0 0;
  box-shadow: none !important;
}

.modaal-instagram .modaal-content-container{
  padding: 0;
  background: 0 0;
}

.modaal-instagram .modaal-content-container> blockquote{
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.modaal-instagram iframe{
  margin: -6px !important;
  max-width: 800px !important;
  width: 1000px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0;
  -webkit-animation: instaReveal 1s linear forwards;
          animation: instaReveal 1s linear forwards;
}

.modaal-image .modaal-inner-wrapper{
  padding-right: 140px; 
  padding-left: 140px;
}

.modaal-image .modaal-container{
  max-width: 100%; 
  width: auto;
}

.modaal-gallery-wrap{
  position: relative;
  color: #fff;
}

.modaal-gallery-item{
  display: none;
}

.modaal-gallery-item img{
  display: block;
}

.modaal-gallery-item.is_active{
  display: block;
}

.modaal-gallery-label{
  position: absolute;
  left: 0;
  margin: 20px 0 0;
  width: 100%;
  color: #fff; 
  text-align: center;
  font-size: 18px;
}

.modaal-gallery-label:focus{
  outline: 0;
}

.modaal-gallery-control{
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  opacity: 1;
  cursor: pointer;
  transition: all .2s ease-in-out; 
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.modaal-gallery-control.is_hidden{
  opacity: 0;
  cursor: default;
}

.modaal-gallery-control:focus,
.modaal-gallery-control:hover{
  outline: 0;
  background: #fff;
}

.modaal-gallery-control:focus:after,
.modaal-gallery-control:focus:before,
.modaal-gallery-control:hover:after,
.modaal-gallery-control:hover:before{
  background: #afb7bc;
}

.modaal-gallery-control span{
  position: absolute !important;
  overflow: hidden; 
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
}

.modaal-gallery-control:after,
.modaal-gallery-control:before{
  position: absolute;
  top: 16px;
  left: 25px;
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: #fff;
  content: ' ';
  transition: background .2s ease-in-out;
}

.modaal-gallery-control:before{
  margin: -5px 0 0;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.modaal-gallery-control:after{
  margin: 5px 0 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.modaal-gallery-next-inner{
  left: 100%;
  margin-left: 40px;
}

.modaal-gallery-next-outer{
  right: 45px;
}

.modaal-gallery-prev:after,
.modaal-gallery-prev:before{
  left: 22px;
}

.modaal-gallery-prev:before{
  margin: 5px 0 0;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.modaal-gallery-prev:after{
  margin: -5px 0 0;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.modaal-gallery-prev-inner{
  right: 100%;
  margin-right: 40px;
}

.modaal-gallery-prev-outer{
  left: 45px;
}

.modaal-video-wrap{
  position: relative; 
  margin: auto 50px;
}

.modaal-video-container{
  position: relative;
  overflow: hidden;
  margin-right: auto; 
  margin-left: auto;
  padding-bottom: 56.25%;
  max-width: 100%;
  max-width: 1300px;
  height: 0;
  background: #000;
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.modaal-video-container embed,
.modaal-video-container iframe,
.modaal-video-container object{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modaal-iframe .modaal-content{
  width: 100%;
  height: 100%;
}

.modaal-iframe-elem{
  display: block; 
  width: 100%;
  height: 100%;
}

.modaal-loading-spinner{
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -100px 0 0 -100px;
  width: 200px;
  height: 200px;
  background: 0 0;
  -webkit-transform: scale(.25);
      -ms-transform: scale(.25);
          transform: scale(.25);
}

.modaal-loading-spinner> div{
  position: absolute; 
  margin-top: 4px;
  margin-left: 4px;
  width: 24px;
  height: 24px;
}

.modaal-loading-spinner> div> div{
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: #fff;
}

.modaal-loading-spinner> div:nth-of-type(1)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.modaal-loading-spinner> div:nth-of-type(2)> div,
.modaal-loading-spinner> div:nth-of-type(3)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
     -moz-animation: modaal-loading-spinner 1s linear infinite;
      -ms-animation: modaal-loading-spinner 1s linear infinite;
       -o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner> div:nth-of-type(1){
  -webkit-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(2)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .12s;
          animation-delay: .12s;
}

.modaal-loading-spinner> div:nth-of-type(2){
  -webkit-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(3)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .25s;
          animation-delay: .25s;
}

.modaal-loading-spinner> div:nth-of-type(4)> div,
.modaal-loading-spinner> div:nth-of-type(5)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
     -moz-animation: modaal-loading-spinner 1s linear infinite;
      -ms-animation: modaal-loading-spinner 1s linear infinite;
       -o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner> div:nth-of-type(3){
  -webkit-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(4)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .37s;
          animation-delay: .37s;
}

.modaal-loading-spinner> div:nth-of-type(4){
  -webkit-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(5)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .5s;
          animation-delay: .5s;
}

.modaal-loading-spinner> div:nth-of-type(6)> div,
.modaal-loading-spinner> div:nth-of-type(7)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
     -moz-animation: modaal-loading-spinner 1s linear infinite;
      -ms-animation: modaal-loading-spinner 1s linear infinite;
       -o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner> div:nth-of-type(5){
  -webkit-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(6)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .62s;
          animation-delay: .62s;
}

.modaal-loading-spinner> div:nth-of-type(6){
  -webkit-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(7)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .75s;
          animation-delay: .75s;
}

.modaal-loading-spinner> div:nth-of-type(7){
  -webkit-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
}

.modaal-loading-spinner> div:nth-of-type(8)> div{
  -webkit-animation: modaal-loading-spinner 1s linear infinite;
          animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .87s;
          animation-delay: .87s;
}

.modaal-loading-spinner> div:nth-of-type(8){
  -webkit-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
      -ms-transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
          transform: translate(84px, 84px) rotate(360deg) translate(70px, 0);
}

@keyframes instaReveal{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@-webkit-keyframes instaReveal{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@-webkit-keyframes modaal-loading-spinner{
  0%{
    opacity: 1;
    -webkit-transform: scale(1.5);
        -ms-transform: scale(1.5);
            transform: scale(1.5);
  }
  100%{
    opacity: .1;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes modaal-loading-spinner{
  0%{
    opacity: 1;
    -webkit-transform: scale(1.5);
        -ms-transform: scale(1.5);
            transform: scale(1.5);
  }
  100%{
    opacity: .1;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
  }
}

@media only screen and (min-width: 1400px){
  .modaal-video-container{
    padding-bottom: 0;
    height: 731px;
  }
}

@media only screen and (max-width: 1140px){
  .modaal-image .modaal-inner-wrapper{
    padding-right: 25px; 
    padding-left: 25px;
  }
  .modaal-gallery-control{
    top: auto;
    bottom: 20px;
    background: rgba(0, 0, 0, .7); 
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .modaal-gallery-control:after,
  .modaal-gallery-control:before{
    background: #fff;
  }
  .modaal-gallery-next{
    right: 20px; 
    left: auto;
  }
  .modaal-gallery-prev{
    right: auto; 
    left: 20px;
  }
}

@media screen and (max-width: 900px){
  .modaal-instagram iframe{
    width: 500px !important;
  }
}

@media only screen and (max-width: 600px){
  .modaal-instagram iframe{
    width: 280px !important;
  }
}

@media screen and (max-height: 1100px){
  .modaal-instagram iframe{
    width: 700px !important;
  }
}

@media screen and (max-height: 1000px){
  .modaal-inner-wrapper{
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .modaal-instagram iframe{
    width: 600px !important;
  }
}

@media screen and (max-height: 900px){
  .modaal-instagram iframe{
    width: 500px !important;
  }
  .modaal-video-container{
    max-width: 900px;
    max-height: 510px;
  }
}

@media only screen and (max-height: 820px){
  .modaal-gallery-label{
    display: none;
  }
}
