@charset "UTF-8";

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

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

.modaal-overlay, .modaal-wrapper {
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  top: 0;
  left: 0;
  position: fixed;
}

.modaal-wrapper {
  opacity: 1;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  transition: all .3s ease-in-out;
  z-index: 9999;
  display: block;
  overflow: auto;
}

.modaal-wrapper * {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
}

.modaal-wrapper .modaal-close {
  -webkit-appearance: none;
  padding: 0;
  border: none;
  background:#fff;
}

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

.modaal-wrapper.modaal-start_fade { opacity: 0; }
.modaal-wrapper [tabindex="0"] { outline: none!important; }
.modaal-wrapper.modaal-fullscreen { overflow: hidden; }

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

.modaal-fullscreen .modaal-outer-wrapper, .modaal-gallery-item img { display: block; }

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

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

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

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

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

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

.modaal-close:focus, .modaal-close:hover {
  opacity:0.7;
  outline: none;
}

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

.modaal-close:after, .modaal-close:before {
  transition: background .2s ease-in-out;
  width: 4px;
  height: 40px;
  top: 15px;
  left: 33px;
  display: block;
  background: #8a784e;
  content: " ";
  position: absolute;
}

.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 {
  font-size: 0;
  text-align: center;
  padding: 30px 0 0;
}

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

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

.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;
}

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

}

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

}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.modaal-iframe-elem { display: block; }

@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-left: 25px;
  padding-right: 25px;
}

.modaal-gallery-control {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  top: auto;
  bottom: 20px;
  background: rgba(0, 0, 0, .7);
}

.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 screen and (max-height:1100px) {
  .modaal-instagram iframe { width: 700px!important; }

}

@media screen and (max-height:1000px) {
  .modaal-inner-wrapper {
  padding-bottom: 60px;
  padding-top: 60px;
}

.modaal-instagram iframe { width: 600px!important; }

}

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

.modaal-video-container {
  max-height: 510px;
  max-width: 900px;
}

}

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

}

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

}

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

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

to {
  opacity: .1;
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

}

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

to {
  opacity: .1;
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

}

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

.modaal-loading-spinner>div>div {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  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 {
  -ms-animation: modaal-loading-spinner 1s linear infinite;
  -moz-animation: modaal-loading-spinner 1s linear infinite;
  -o-animation: modaal-loading-spinner 1s linear infinite;
}

.modaal-loading-spinner>div:nth-of-type(1) {
  -ms-transform: translate(84px, 84px) rotate(45deg) translate(70px, 0);
  -webkit-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) {
  -ms-transform: translate(84px, 84px) rotate(90deg) translate(70px, 0);
  -webkit-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, .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;
  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 {
  -ms-animation: modaal-loading-spinner 1s linear infinite;
  -moz-animation: modaal-loading-spinner 1s linear infinite;
  -o-animation: modaal-loading-spinner 1s linear infinite;
  -webkit-animation-delay: .37s;
  animation-delay: .37s;
}

.modaal-loading-spinner>div:nth-of-type(3) {
  -ms-transform: translate(84px, 84px) rotate(135deg) translate(70px, 0);
  -webkit-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) {
  -ms-transform: translate(84px, 84px) rotate(180deg) translate(70px, 0);
  -webkit-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-delay: .5s;
  animation-delay: .5s;
}

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

.modaal-loading-spinner>div:nth-of-type(5) {
  -ms-transform: translate(84px, 84px) rotate(225deg) translate(70px, 0);
  -webkit-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, .modaal-loading-spinner>div:nth-of-type(7)>div, .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: .62s;
  animation-delay: .62s;
}

.modaal-loading-spinner>div:nth-of-type(6) {
  -ms-transform: translate(84px, 84px) rotate(270deg) translate(70px, 0);
  -webkit-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, .modaal-loading-spinner>div:nth-of-type(8)>div {
  -webkit-animation-delay: .75s;
  animation-delay: .75s;
}

.modaal-loading-spinner>div:nth-of-type(7) {
  -ms-transform: translate(84px, 84px) rotate(315deg) translate(70px, 0);
  -webkit-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-delay: .87s;
  animation-delay: .87s;
}

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

@media screen and (max-width:768px) { 
  .modaal-container { box-shadow: 15px 15px 0 0 rgba(255, 255, 255, .5);height: 475px !important; }
  .modaal-close { top: 15px; right: 15px; width: 50px; height: 50px; }
  .modaal-close:after, .modaal-close:before { height: 28px; top: 12px; left: 24px; }
}
