/* L'Apostat Design */

html {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	padding:0;
	margin:0;
	border:0;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #fcfcfc;  
  overflow: hidden;
  color: #222;
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
} 

/* fonts */

@font-face {
  font-family: "glacial-indifference";
  src: url("fonts/glacialindifference-regular-webfont.woff2") format("woff2"),
       url("fonts/glacialindifference-regular-webfont.woff") format("woff");
}


@font-face {
  font-family: "maragsa";
  src: url("fonts/Maragsâ-Display.woff2") format("woff2"),
       url("fonts/Maragsâ-Display.woff") format("woff");
}


/* basic txt rules */
  
p {
  margin: 0em auto;
  padding: 0;
  color: #222;
  font-family: glacial-indifference, sans-serif;
  font-style: normal;
  text-align: left;
  font-weight: normal;
  font-size: 14px;
  text-transform: none;
}

a {
  color: #a82a18;
  font-weight: normal;
  text-decoration: none;
 -webkit-transition:all .3s ease-in-out;
 -moz-transition:all .3s ease-in-out;
 -o-transition:all .3s ease-in-out;
 transition:all .3s ease-in-out;
}
a:visited {
  color: #a82a18;
  font-weight: normal;
  text-decoration: none;
}
a:hover {
  color: #fcfcfc;
}

/* Landing Page */

#scroll-wrap {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  width: 100%;
  height: 100%;
}
.backdrop {
position:absolute;
top:0;
left:0;
right:0;
min-height:100vh;
z-index:-1;
background-image: url('images/webback2.jpg');
background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-position: center center;
background-attachment: fixed;
overflow: hidden;
}
@media only screen and (max-width: 767px) {
 .backdrop {
   background-attachment: scroll;
  }
}
.entry {
  height: 100%;
  position: relative;
  color: #fcfcfc;  
  scroll-snap-align: start none;
}
.entry-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.entry-head-content {
  font-size: 14vw;
  font-family: maragsa, serif;
  font-style: normal;
  text-align: center;
}
.entry-sub-content {
  font-size: 4vw;  
  font-family: maragsa, serif;
  font-style: normal;
  text-align: center;
}
.entry-animate-content {
  font-size: 2vw;  
  font-family: maragsa, serif;
  font-style: normal;
  text-align: center; 
  height: 15px;
  position: relative;
  animation-name: example;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-delay: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  margin-top: 10vw;
}
@keyframes example {
  0%   {top:0px;}
  50%  {top:15px;} 
  100% {top:0px;} 
}

/* Begin Main Content */

#maincontent {
  background-color: #fcfcfc;
  background-blend-mode: lighten;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-attachment: scroll;
}

/* Style the navbar */

#navbar {
  background-color: #fcfcfc;  
  width: 100%;
  display: block;
  overflow: hidden;
  border-bottom: 2px #222 solid;
  scroll-snap-align: start none;
  scroll-snap-stop: always;
}

.nav-logo {
  font-size: 22px;  
  font-family: maragsa, serif;
  font-style: normal;
  text-align: center;
  float: left;
  display: block;
  padding: 15px;
  border-right: 2px #222 solid;
  border-left:none;
  border-top:none;  
  border-bottom:none;
  color: #222;
  background-color: #fcfcfc;
  cursor: pointer;
  -webkit-appearance: none;
  margin:0px;
}
.nav-logo:hover {
  background-color: #a82a18;
  color: #fcfcfc;
}

.nav-logo:active, .nav-logo.is-checked {
  background-color: #a82a18;
  color: #fcfcfc;
}


.nav-links {
  float: right;
  display: block;
  font-size: 22px;  
  font-family: maragsa, serif;
}

@media screen and (max-width: 767px) {
  .nav-links {
    visibility: hidden;
    display: none;
  }
}

.nav-button{
  padding: 15px;
  border-left: 2px #222 solid;
  border-right:none;
  border-top:none;  
  border-bottom:none;
  background-color: #fcfcfc;
  color: #222;
  display: inline-block;
  float: left;
  font-size: 22px;  
  font-family: maragsa, serif;
  cursor: pointer;
}

.nav-button:hover {
  background-color: #a82a18;
  color: #fcfcfc;
}

.nav-button:active, .nav-button.is-checked {
  background-color: #a82a18;
  color: #fcfcfc;
}

/* same but for mobile */

.nav-links-mobile {
  float: right;
  display: block;
  font-size: 16px;  
  font-family: maragsa, serif;
}

@media screen and (min-width: 768px) {
  .nav-links-mobile {
    visibility: hidden;
    display: none;
  }
}

a.mobile-menu {
  padding: 17px 18px 18px 18px;
  margin: 0px;
  border-left: 2px #222 solid;
  background-color: #222;
  color: #fcfcfc;
  display: block;
  float: left;
  cursor:pointer
}

a.mobile-menu:hover {
  background-color: #a82a18;
  color: #fcfcfc;
}

.mobile-overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #fcfcfc;
  background-color: rgba(255,254,240, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.mobile-overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.nav-button-mobile {
  padding: 10px;
  text-decoration: none;
  font-size: 22px;
  color: #222;
  display: block;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  width: 100%;
  border: none;
  background-color: transparent;
  outline: none;
  font-family: maragsa, serif;
}

.nav-button-mobile:hover, .nav-button-mobile:focus {
  color: #222;
}

.mobile-overlay .mobile-closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .mobile-overlay a {font-size: 20px}
  .mobile-overlay .mobile-closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/* portfolio proper */

#isotope-content {
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-bottom: 50px; 
}
#grid-margin{
 margin: 10px; 
 padding-bottom: 175px;
}
.grid {
  width: 100%;
}
.grid:after {
  display: block;
  clear: both;
}
/* 2 columns by default & mobile */
.grid-sizer, 
.grid-item { width: 100%; }
.grid-item--width2 { width: 100%; }
.grid-item--width3 { width: 100%; }
@media screen and (min-width: 600px) {
  /* 3 columns for small screens */
.grid-sizer,
.grid-item { width: 50%; }
.grid-item--width2 { width: 100%; }
.grid-item--width3 { width: 100%; }
}
@media screen and (min-width: 768px) {
  /* 4 columns for standard screens */
.grid-sizer,
.grid-item { width: 33.333%; }
.grid-item--width2 { width: 50%; }
.grid-item--width3 { width: 100%; }
}
@media screen and (min-width: 1100px) {
  /* 4 columns for standard screens */
.grid-sizer,
.grid-item { width: 25%; }
.grid-item--width2 { width: 50%; }
.grid-item--width3 { width: 100%; }
}
@media screen and (min-width: 1400px) {
  /* 5 columns for larger screens */
.grid-sizer,
.grid-item { width: 20%; }
.grid-item--width2 { width: 40%; }
.grid-item--width3 { width: 100%; }
}
.panel-gallery-border {
  margin: 10px;
  -webkit-transition:all .3s ease;
  -moz-transition:all .3s ease;
  -o-transition:all .3s ease;
  transition:all .3s ease;
  color: #222;
  font-family: maragsa, serif;
}

.portfolio-container:hover .hover-info{
  opacity: 0.95;
  cursor: pointer;
}
.hover-info{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #fcfcfc;
}
.work-img {
  width: 100%; 
  height: auto;
}
.panel-gallery-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.panel-gallery-header {
  font-size: 22px;  
  margin: 0px;
  text-align: center;
  width: 100%;
  color: #222;
}
.panel-gallery-content {
  font-size: 14px;  
  margin: 0px;
  padding-top: 10px;
  width: 100%;
  text-align: center;  
  color: #222;
  font-family: glacial-indifference, serif;
}
.about-titles {
  color: #222;
  font-family: maragsa, serif;
  text-align: left;
  font-size: 22px;
  margin-bottom: 10px;
}
.about-content {
  font-size: 16px;  
  line-height: 20px;
  color: #222;
  font-family: glacial-indifference, serif;
  margin-bottom: 30px;
}
/* Audio Player */

audio::-webkit-media-controls-panel {
  background-color: #fcfcfc;
}
audio::-webkit-media-controls-time-remaining-display {
  color: #a82a18;
  font-family: maragsa, serif;
  font-size: 16px;
}
audio::-webkit-media-controls-current-time-display {
  color: #a82a18;
  font-family: maragsa, serif;
  font-size: 16px;
}
audio::-webkit-media-controls-play-button:hover {
  background-color: #c2695d;
  border-radius: 50%;
}
audio::-webkit-media-controls-timeline-container:hover {
  background-color: #c2695d;
  border-radius: 50%;
}
audio::-webkit-media-controls-volume-slider {
  background-color: #c2695d;
  border-radius: 25px;
  padding-left: 8px;
  padding-right: 8px;
}
#playlist,audio { 
  width:100%;
  margin-bottom: 10px;
}
.playlist-links {
  padding: 10px;
  display: block;
  font-size: 18px;
  border-bottom: 2px solid #ddd;
}
.active a{
  background-color:#a82a18;
  color: #fcfcfc;
}
.playlist-links:hover {
  background-color:#a82a18;
  color: #fcfcfc;
}
.social-icons {
  font-size: 26px;
  color: #a82a18;
}
.social-icons:hover {
  color:#c2695d;
}
.additional-links {
  padding: 10px;
  display: block;
  border-bottom: 2px #ddd solid;
}
.additional-links:hover {
  background-color:#a82a18;
  color: #fcfcfc;
}
.additional-titles {
  color: #222;
  font-family: maragsa, serif;
  text-align: left;
  font-size: 22px;
  border-bottom: 2px #ddd solid;
  padding-bottom: 10px;
}
.lightbox{
  max-width: 80%;
}
.lightbox-col-left {
  float:left;
  width: 100%;
  margin-bottom: 20px;
}
.lightbox-col-right {
  float:left;
  width: 100%;
}
.lightbox-col-100{
  width:100%;
  text-align: centre;
}
@media screen and (min-width: 600px) {
.lightbox-col-left {
  float:left;
  width: 48%;
  margin-right: 4%;
}
.lightbox-col-right {
  float:left;
  width: 48%;
}
.lightbox-col-100{
  width:100%;
  text-align: centre;
}
}
@media screen and (min-width: 1100px) {
  .lightbox-col-left {
    float:left;
    width: 30%;
    margin-right: 3%;
    margin-left: 11%;
  }
  .lightbox-col-right {
    float:left;
    width: 45%;
    margin-right: 11%;
  }
  .lightbox-col-100{
    width:70%;
    margin: 0% 15%;
    text-align: centre;
  }
}
@media screen and (min-width: 1400px) {
  .lightbox-col-left {
    float:left;
    width: 25%;
    margin-right: 3%;
    margin-left: 11%;
  }
  .lightbox-col-right {
    float:left;
    width: 50%;
    margin-right: 11%;
  }
  .lightbox-col-100{
    width:50%;
    margin:0% 25%;
    text-align: centre;
  }
}

.lightbox-titles {
  color: #222;
  font-family: maragsa, serif;
  text-align: left;
  font-size: 22px;
  margin-bottom: 20px;
}
.lightbox-content {
  font-size: 16px;  
  color: #222;
  font-family: glacial-indifference, serif;
  padding-bottom: 20px;
  margin-bottom: 15px;
}
a.lightbox-button {
  padding: 10px 20px;
  background-color: #a82a18;  
  color: #fcfcfc;
  font-size: 18px;
  font-family: maragsa, serif;
}
a.lightbox-button:hover {
  background-color:#c2695d;
  color: #fcfcfc;
}
.videowrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 20px;
}
.videowrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#mc_embed_signup {
  background:#fcfcfc;
  clear:left; 
  font:16px glacial-indifference,sans-serif;
}
#mc_embed_signup form {
  display:block; 
  position:relative; 
  text-align:left; 
  margin: 0px;
}
#mc_embed_signup h2 {font-weight:bold; padding:0; margin:15px 0; font-size:1.4em;}
#mc_embed_signup input {border: 1px solid #ddd; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#mc_embed_signup input[type=checkbox]{-webkit-appearance:checkbox;}
#mc_embed_signup input[type=radio]{-webkit-appearance:radio;}
#mc_embed_signup input:focus {border-color:#ddd;}
#mc_embed_signup .button {clear:both; background-color: #a82a18; border: 0 none; border-radius:4px; transition: all 0.23s ease-in-out 0s; color: #fcfcfc; cursor: pointer; display: inline-block; font-size:15px; font-weight: normal; height: 32px; line-height: 32px; margin: 0 5px 10px 0; padding: 0 22px; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: fit-content; width: -moz-fit-content;}
#mc_embed_signup .button:hover {background-color:#c2695d;}
#mc_embed_signup .small-meta {font-size: 11px;}
#mc_embed_signup .nowrap {white-space:nowrap;}

#mc_embed_signup .mc-field-group {clear:left; position:relative; width:96%; padding-bottom:3%; min-height:50px; display:grid;}
#mc_embed_signup .size1of2 {clear:none; float:left; display:inline-block; width:46%; margin-right:4%;}
* html #mc_embed_signup .size1of2 {margin-right:2%; /* Fix for IE6 double margins. */}
#mc_embed_signup .mc-field-group label {display:block; margin-bottom:3px;}
#mc_embed_signup .mc-field-group input {display:block; width:100%; padding:8px 0; text-indent:2%;}
#mc_embed_signup .mc-field-group select {display:inline-block; width:99%; padding:5px 0; margin-bottom:2px;}
#mc_embed_signup .mc-address-fields-group {display:flex; flex-direction:row; justify-content:space-evenly; width:96%; gap:15px;}

#mc_embed_signup .datefield, #mc_embed_signup .phonefield-us{padding:5px 0;}
#mc_embed_signup .datefield input, #mc_embed_signup .phonefield-us input{display:inline; width:60px; margin:0 2px; letter-spacing:1px; text-align:center; padding:5px 0 2px 0;}
#mc_embed_signup .phonefield-us .phonearea input, #mc_embed_signup .phonefield-us .phonedetail1 input{width:40px;}
#mc_embed_signup .datefield .monthfield input, #mc_embed_signup .datefield .dayfield input{width:30px;}
#mc_embed_signup .datefield label, #mc_embed_signup .phonefield-us label{display:none;}

#mc_embed_signup .indicates-required {text-align:right; font-size:11px; margin-right:4%;}
#mc_embed_signup .asterisk {color:#a82a18; font-size:150%; font-weight:normal; position:relative; top:5px;}     
#mc_embed_signup .clear {clear:both;}
#mc_embed_signup .foot {display:grid; grid-template-columns: 3fr 1fr; width:96%; align-items: center;}
@media screen and (max-width:400px) {#mc_embed_signup .foot {display:grid; grid-template-columns: 1fr; width:100%; align-items: center;}}

@media screen and (max-width:400px) {#mc_embed_signup .referralBadge {width:50%;}}

#mc_embed_signup .brandingLogo {justify-self:right;}
@media screen and (max-width:400px) {#mc_embed_signup .brandingLogo {justify-self:left;}}

#mc_embed_signup .mc-field-group.input-group ul {margin:0; padding:5px 0; list-style:none;}
#mc_embed_signup .mc-field-group.input-group ul li {display:block; padding:3px 0; margin:0;}
#mc_embed_signup .mc-field-group.input-group label {display:inline;}
#mc_embed_signup .mc-field-group.input-group input {display:inline; width:auto; border:none;}

#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em; overflow:hidden; width:90%; margin: 0; clear: both;}
#mc_embed_signup div.response {margin:0 0 1em 0; padding:0em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}
#mc_embed_signup .helper_text {color: #222; margin-top: 2px; display: inline-block; padding: 3px; background-color: rgba(255,255,255,0.85); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size: 16px; font-weight: normal; z-index: 1;}

#mc-embedded-subscribe {clear:both; width:auto; display:block; margin:1em 0 1em 5%;}
#mc_embed_signup #num-subscribers {font-size:1.1em;}
#mc_embed_signup #num-subscribers span {padding:.5em; border:1px solid #ccc; margin-right:.5em; font-weight:bold;}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {display:inline-block; margin:2px 0 1em 0; padding:3px; background-color:rgba(255,255,255,0.85); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size:16px; font-weight:normal; z-index:1; color:#a82a18;}
#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {border:2px solid #a82a18;}

/* FANCYBOX */
body.compensate-for-scrollbar {
    overflow: hidden;
}

.fancybox-active {
    height: auto;
}

.fancybox-is-hidden {
    left: -9999px;
    margin: 0;
    position: absolute !important;
    top: -9999px;
    visibility: hidden;
}

.fancybox-container {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none;
    position: fixed;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    transform: translateZ(0);
    width: 100%;
    z-index: 99992;
}

.fancybox-container * {
    box-sizing: border-box;
}

.fancybox-outer,
.fancybox-inner,
.fancybox-bg,
.fancybox-stage {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fancybox-outer {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.fancybox-bg {
    background: #fcfcfc;
    opacity: 0;
    transition-duration: inherit;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(.47, 0, .74, .71);
}

.fancybox-is-open .fancybox-bg {
    opacity: .98;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.fancybox-infobar,
.fancybox-toolbar,
.fancybox-caption,
.fancybox-navigation .fancybox-button {
    direction: ltr;
    opacity: 0;
    position: absolute;
    transition: opacity .4s ease, visibility 0s ease .4s;
    visibility: hidden;
    z-index: 99997;
}

.fancybox-show-infobar .fancybox-infobar,
.fancybox-show-toolbar .fancybox-toolbar,
.fancybox-show-caption .fancybox-caption,
.fancybox-show-nav .fancybox-navigation .fancybox-button {
    opacity: 1;
    transition: opacity .4s ease 0s, visibility 0s ease 0s;
    visibility: visible;
}

.fancybox-infobar {
    color: #222;
    font-family:  maragsa, serif;
    font-size: 18px;
    -webkit-font-smoothing: subpixel-antialiased;
    height: 44px;
    left: 0;
    min-width: 44px;
    padding: 13px 15px;
    pointer-events: none;
    top: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fancybox-toolbar {
    right: 0;
    top: 0;
}

.fancybox-stage {
    direction: ltr;
    overflow: visible;
    transform: translateZ(0);
    z-index: 99994;
}

.fancybox-is-open .fancybox-stage {
    overflow: hidden;
}

.fancybox-slide {
    -webkit-backface-visibility: hidden;
    /* Using without prefix would break IE11 */
    display: none;
    height: 100%;
    left: 0;
    outline: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: absolute;
    text-align: center;
    top: 0;
    transition-property: transform, opacity;
    white-space: normal;
    width: 100%;
    z-index: 99994;
}

.fancybox-slide::before {
    content: '';
    display: inline-block;
    font-size: 0;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.fancybox-is-sliding .fancybox-slide,
.fancybox-slide--previous,
.fancybox-slide--current,
.fancybox-slide--next {
    display: block;
}

.fancybox-slide--image {
    overflow: hidden;
    padding: 44px 0;
}

.fancybox-slide--image::before {
    display: none;
}

.fancybox-slide--html {
    padding: 6px;
}

.fancybox-content {
    background: #fcfcfc;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 44px;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

.fancybox-slide--image .fancybox-content {
    animation-timing-function: cubic-bezier(.5, 0, .14, 1);
    -webkit-backface-visibility: hidden;
    background: transparent;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    left: 0;
    max-width: none;
    overflow: visible;
    padding: 0;
    position: absolute;
    top: 0;
    -ms-transform-origin: top left;
    transform-origin: top left;
    transition-property: transform, opacity;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 99995;
}

.fancybox-can-zoomOut .fancybox-content {
    cursor: zoom-out;
}

.fancybox-can-zoomIn .fancybox-content {
    cursor: zoom-in;
}

.fancybox-can-swipe .fancybox-content,
.fancybox-can-pan .fancybox-content {
    cursor: -webkit-grab;
    cursor: grab;
}

.fancybox-is-grabbing .fancybox-content {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.fancybox-container [data-selectable='true'] {
    cursor: text;
}

.fancybox-image,
.fancybox-spaceball {
    background: transparent;
    border: 0;
    height: 100%;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
    position: absolute;
    top: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
}

.fancybox-spaceball {
    z-index: 1;
}

.fancybox-slide--video .fancybox-content,
.fancybox-slide--map .fancybox-content,
.fancybox-slide--pdf .fancybox-content,
.fancybox-slide--iframe .fancybox-content {
    height: 100%;
    overflow: visible;
    padding: 0;
    width: 100%;
}

.fancybox-slide--video .fancybox-content {
    background: #222;
}

.fancybox-slide--map .fancybox-content {
    background: #fcfcfc;
}

.fancybox-slide--iframe .fancybox-content {
    background: #fcfcfc;
}

.fancybox-video,
.fancybox-iframe {
    background: transparent;
    border: 0;
    display: block;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* Fix iOS */
.fancybox-iframe {
    left: 0;
    position: absolute;
    top: 0;
}

.fancybox-error {
    background: #fcfcfc;
    cursor: default;
    max-width: 400px;
    padding: 40px;
    width: 100%;
}

.fancybox-error p {
    color: #222;
    font-size: 18px;
    font-family:  maragsa, serif;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

/* Buttons */

.fancybox-button {
    background: rgba(239, 233, 211, 0);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: 44px;
    margin: 0;
    padding: 10px;
    position: relative;
    transition: color .4s;
    vertical-align: top;
    visibility: inherit;
    width: 44px;
}

.fancybox-button,
.fancybox-button:visited,
.fancybox-button:link {
    color: #222;
}

.fancybox-button:hover {
    color: #a82a18;
}

.fancybox-button:focus {
    outline: none;
}

.fancybox-button.fancybox-focus {
    outline: 1px dotted;
}

.fancybox-button[disabled],
.fancybox-button[disabled]:hover {
    color: #888;
    cursor: default;
    outline: none;
}

/* Fix IE11 */
.fancybox-button div {
    height: 100%;
}

.fancybox-button svg {
    display: block;
    height: 100%;
    overflow: visible;
    position: relative;
    width: 100%;
}

.fancybox-button svg path {
    fill: currentColor;
    stroke-width: 0;
}

.fancybox-button--play svg:nth-child(2),
.fancybox-button--fsenter svg:nth-child(2) {
    display: none;
}

.fancybox-button--pause svg:nth-child(1),
.fancybox-button--fsexit svg:nth-child(1) {
    display: none;
}

.fancybox-progress {
    background: #fcfcfc;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -ms-transform-origin: 0;
    transform-origin: 0;
    transition-property: transform;
    transition-timing-function: linear;
    z-index: 99998;
}

/* Close button on the top right corner of html content */

.fancybox-close-small {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #ccc;
    cursor: pointer;
    opacity: .8;
    padding: 8px;
    position: absolute;
    right: -12px;
    top: -44px;
    z-index: 401;
}

.fancybox-close-small:hover {
    color: #fff;
    opacity: 1;
}

.fancybox-slide--html .fancybox-close-small {
    color: currentColor;
    padding: 10px;
    right: 0;
    top: 0;
}

.fancybox-slide--image.fancybox-is-scaling .fancybox-content {
    overflow: hidden;
}

.fancybox-is-scaling .fancybox-close-small,
.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small {
    display: none;
}

/* Navigation arrows */

.fancybox-navigation .fancybox-button {
    background-clip: content-box;
    height: 100px;
    opacity: 0;
    position: absolute;
    top: calc(50% - 50px);
    width: 70px;
}

.fancybox-navigation .fancybox-button div {
    padding: 7px;
}

.fancybox-navigation .fancybox-button--arrow_left {
    left: 0;
    left: env(safe-area-inset-left);
    padding: 31px 26px 31px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
    padding: 31px 6px 31px 26px;
    right: 0;
    right: env(safe-area-inset-right);
}

/* Caption */

.fancybox-caption {
    /*background: linear-gradient(to top,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .3) 50%,
        rgba(0, 0, 0, .15) 65%,
        rgba(0, 0, 0, .075) 75.5%,
        rgba(0, 0, 0, .037) 82.85%,
        rgba(0, 0, 0, .019) 88%,
        rgba(0, 0, 0, 0) 100%);*/
    bottom: 0;
    color: #222;
    font-family:  maragsa, serif;
    font-size: 18px;
    font-weight: 400;
    left: 0;
    line-height: 1.5;
    padding: 75px 44px 25px 44px;
    pointer-events: none;
    right: 0;
    text-align: center;
    z-index: 99996;
}

@supports (padding: max(0px)) {
    .fancybox-caption {
        padding: 75px max(44px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
    }
}

.fancybox-caption--separate {
    margin-top: -50px;
}

.fancybox-caption__body {
    max-height: 50vh;
    overflow: auto;
    pointer-events: all;
}

.fancybox-caption a,
.fancybox-caption a:link,
.fancybox-caption a:visited {
    color: #a82a18;
    text-decoration: none;
}

.fancybox-caption a:hover {
    color: #96cbdd;
    text-decoration: none;
}

/* Loading indicator */

.fancybox-loading {
    animation: fancybox-rotate 1s linear infinite;
    background: transparent;
  border: 6px solid #fcfcfc;
    border-bottom-color: #a82a18;
    border-radius: 50%;
    height: 50px;
    left: 50%;
    margin: -25px 0 0 -25px;
    opacity: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 50px;
    z-index: 99999;
}

@keyframes fancybox-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Transition effects */

.fancybox-animated {
    transition-timing-function: cubic-bezier(0, 0, .25, 1);
}

/* transitionEffect: slide */

.fancybox-fx-slide.fancybox-slide--previous {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--next {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
}

.fancybox-fx-slide.fancybox-slide--current {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* transitionEffect: fade */

.fancybox-fx-fade.fancybox-slide--previous,
.fancybox-fx-fade.fancybox-slide--next {
    opacity: 0;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}

.fancybox-fx-fade.fancybox-slide--current {
    opacity: 1;
}

/* transitionEffect: zoom-in-out */

.fancybox-fx-zoom-in-out.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(1.5, 1.5, 1.5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(.5, .5, .5);
}

.fancybox-fx-zoom-in-out.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* transitionEffect: rotate */

.fancybox-fx-rotate.fancybox-slide--previous {
    opacity: 0;
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.fancybox-fx-rotate.fancybox-slide--next {
    opacity: 0;
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.fancybox-fx-rotate.fancybox-slide--current {
    opacity: 1;
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

/* transitionEffect: circular */

.fancybox-fx-circular.fancybox-slide--previous {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--next {
    opacity: 0;
    transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
}

.fancybox-fx-circular.fancybox-slide--current {
    opacity: 1;
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

/* transitionEffect: tube */

.fancybox-fx-tube.fancybox-slide--previous {
    transform: translate3d(-100%, 0, 0) scale(.1) skew(-10deg);
}

.fancybox-fx-tube.fancybox-slide--next {
    transform: translate3d(100%, 0, 0) scale(.1) skew(10deg);
}

.fancybox-fx-tube.fancybox-slide--current {
    transform: translate3d(0, 0, 0) scale(1);
}

/* Styling for Small-Screen Devices */
@media all and (max-height: 576px) {
    .fancybox-slide {
        padding-left: 6px;
        padding-right: 6px;
    }

    .fancybox-slide--image {
        padding: 6px 0;
    }

    .fancybox-close-small {
        right: -6px;
    }

    .fancybox-slide--image .fancybox-close-small {
        background: #4e4e4e;
        color: #f2f4f6;
        height: 36px;
        opacity: 1;
        padding: 6px;
        right: 0;
        top: 0;
        width: 36px;
    }

    .fancybox-caption {
        padding-left: 12px;
        padding-right: 12px;
    }

    @supports (padding: max(0px)) {
        .fancybox-caption {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}
/* Share */

.fancybox-share {
    background: #f4f4f4;
    border-radius: 3px;
    max-width: 90%;
    padding: 30px;
    text-align: center;
}

.fancybox-share h1 {
    color: #222;
    font-size: 35px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.fancybox-share p {
    margin: 0;
    padding: 0;
}

.fancybox-share__button {
    border: 0;
    border-radius: 3px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    margin: 0 5px 10px 5px;
    min-width: 130px;
    padding: 0 15px;
    text-decoration: none;
    transition: all .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.fancybox-share__button:visited,
.fancybox-share__button:link {
    color: #fff;
}

.fancybox-share__button:hover {
    text-decoration: none;
}

.fancybox-share__button--fb {
    background: #3b5998;
}

.fancybox-share__button--fb:hover {
    background: #344e86;
}

.fancybox-share__button--pt {
    background: #bd081d;
}

.fancybox-share__button--pt:hover {
    background: #aa0719;
}

.fancybox-share__button--tw {
    background: #1da1f2;
}

.fancybox-share__button--tw:hover {
    background: #0d95e8;
}

.fancybox-share__button svg {
    height: 25px;
    margin-right: 7px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 25px;
}

.fancybox-share__button svg path {
    fill: #fff;
}

.fancybox-share__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d7d7d7;
    border-radius: 0;
    color: #5d5b5b;
    font-size: 14px;
    margin: 10px 0 0 0;
    outline: none;
    padding: 10px 15px;
    width: 100%;
}
/* Thumbs */

.fancybox-thumbs {
    background: rgba(239, 233, 211, 0);
    bottom: 0;
    display: none;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding: 2px 2px 4px 2px;
    position: absolute;
    right: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 0;
    width: 212px;
    z-index: 99995;
}

.fancybox-thumbs-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.fancybox-show-thumbs .fancybox-thumbs {
    display: block;
}

.fancybox-show-thumbs .fancybox-inner {
    right: 212px;
}

.fancybox-thumbs__list {
    font-size: 0;
    height: 100%;
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.fancybox-thumbs-x .fancybox-thumbs__list {
    overflow: hidden;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar {
    width: 7px;
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb {
    background: #a82a18;
    border-radius: 10px;
}

.fancybox-thumbs__list a {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    float: left;
    height: 75px;
    margin: 2px;
    max-height: calc(100% - 8px);
    max-width: calc(50% - 4px);
    outline: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    width: 100px;
}

.fancybox-thumbs__list a::before {
    border: 4px solid #a82a18;
    bottom: 0;
    content: '';
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all .2s cubic-bezier(.25, .46, .45, .94);
    z-index: 99991;
}

.fancybox-thumbs__list a:focus::before {
    opacity: .5;
}

.fancybox-thumbs__list a.fancybox-thumbs-active::before {
    opacity: 1;
}

/* Styling for Small-Screen Devices */
@media all and (max-width: 576px) {
    .fancybox-thumbs {
        width: 110px;
    }

    .fancybox-show-thumbs .fancybox-inner {
        right: 110px;
    }

    .fancybox-thumbs__list a {
        max-width: calc(100% - 10px);
    }
}