html, body {overflow-x: hidden; /* Prevent scroll on narrow devices */}
body {
    font-family: 'PolySans-Median', sans-serif;
    /* margin-bottom: 80px; Margin bottom by footer height */
}
/* html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  line-height: 80px;
  background-color: #fff;
}
*/

/* footer social icons */
ul.social-icons {
	list-style: none;
	display: inline;
	margin-left:0 !important;
	padding: 0.5rem 0 0 0;
    margin-top:1.25rem;
}
ul.social-icons li {
	display: inline;
	margin: 0 7px;
    width:26px;
}
ul.social-icons li a {
    display: inline-block;
}
ul.social-icons li a img {
    width:26px;
    height:26px;
}

.nav-link {font-size: 1.25rem;}
.navbar-light .navbar-toggler {border: 0 none; color: #000;}
.navbar-toggler-icon {width: 1.6720em;height: 1.6720em;background: 50%/100% 100% no-repeat;}
.navbar-light .navbar-nav .nav-link {color: #000;font-size: 1.25rem;letter-spacing: 0.02rem;margin-top:1.5rem;}

.min-vh-50 {
  min-height: 50vh !important;
}

.vh-50 {
  height: 50vh !important;
}

@media (min-width: 769px) {
    .slider {
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease;
        -webkit-transition: opacity 1s ease;
    }
    .slider.slick-initialized {
        visibility: visible;
        opacity: 1;
    }
    
    .overflow-lg-hidden {overflow: hidden;}
    p {font-size: 1.15rem;}
}


.fancybox-slide--iframe .fancybox-content {
	width  : 800px;
	height : 600px;
	max-width  : 80%;
	max-height : 80%;
	margin: 0;
    background: #191919;
}


.lead {
    font-size: 1.75rem;
    font-weight: 100;
    letter-spacing: 0.02rem;
    line-height: 2.125rem;
}


@media (max-width: 769px) {
  .navbar-brand {width:50%;}
  .navbar-light .navbar-nav .nav-link {margin: 0;padding: 0.35rem 0;}
  .overflow-lg-hidden {overflow: auto;}
}

@media (max-width: 640.95px) {
  .navbar-brand {width:70%;}
  .navbar-light .navbar-nav .nav-link {font-size: 1.25rem;margin-top: 0;}
  ul.social-icons li {width:32px;}
  p {font-size: 1rem;line-height: 1.5rem;font-weight: 400;}
  .lead {font-size: 1.15rem;line-height: 1.5rem;font-weight: 400;}
  .fancybox-caption p {padding: 0px !important;margin: 0px !important;text-align:left;font-size: 1rem;line-height: 1.35rem;}
  .slider a {position: relative;display: block;}
  .slider a img {position: relative;z-index: 1;}
  .slider .zoom-icon {position: absolute;top: 20px;right: 20px;z-index: 2;width:32px;height: 32px;}
}