/*
 Theme Name:   Viewpoint
 Theme URI:    https://www.cambioagency.com
 Description:  Viewpoint Theme
 Author:       Cambio Agency
 Author URI:   https://www.cambioagency.com
 Template:     cambio_bs4
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         cambioagency
 Text Domain:  viewpoint
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

html {
  background: #F4F4F7;
  scroll-behavior: smooth;
}

body {
  
  font-family: "Inter", sans-serif;
  color: #003E51;
}

.nav-up {
    top: -76px;
}

div#primary {
    padding: 0;
}

.h1, .h2, h1, h2, h1.display-4 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1;
}

h2, .h2 {
  font-size: 3em;
}

.h5, h5, .h4, h4, .h3, h3 {
  line-height: 1.4;
  color: inherit;
  font-weight: 700;
}

.primary-color {
  color:#0196C2;
}

.quotation {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

h2.quotation {
  font-size:4rem;
}

.featurette h2 {
  font-size: 2.5rem;
  margin: 0 0 25px;
}
.featurette img {
  margin: -50px 0 50px;
  max-width: 100%;
}
.featurette {
  padding-right: 10%;
  padding-bottom: 60px;
}

label {
  color: #0196C2;
  text-transform: uppercase;
}

.ff-default .ff-el-form-control {
  border-radius: 0 !important;
  background:none !important;
}

input, textarea {
  color: #fff !important;
}

input:focus, textarea:focus {
  border-color:#fff !important;
}

.footer h5 {
  color:#0196C2;
  margin:50px 0 20px;
}

.footer li {
  list-style:none;
  margin: 4px 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  font-weight:600;
}

.big-stats {
  text-align:center;
}

.big-stats h5 {
  text-transform: uppercase;
  color: #0196C2;
  font-size: 1rem;
  margin: 0 0 50px;
}

.big-stats h3 {
  font-size: 3rem;
  color: #fff;
  margin: 50px 0 0;
}

/* Hero Carousel */

.carousel-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 5;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('/wp-content/uploads/viewpoint-hero-01.jpg');
}

.slide-2 {
    background-image: url('/wp-content/uploads/viewpoint-hero-02.jpg');
}

.slide-3 {
    background-image: url('/wp-content/uploads/viewpoint-hero-03.jpg');
}

.slide-4 {
    background-image: url('/wp-content/uploads/viewpoint-hero-04.jpg');
}

.slide-5 {
    background-image: url('/wp-content/uploads/viewpoint-hero-05.jpg');
}

.slide-6 {
    background-image: url('/wp-content/uploads/viewpoint-hero-06.jpg');
}

.text-overlay {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 10px;
    /* background: rgba(0, 0, 0, 0.3); */
    transition: background 0.3s;
}

.arrow:hover {
    /* background: rgba(0, 0, 0, 0.6); */
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}


.hero.light h1 {
    color: #262930;
}

.navbar-logo {
    max-height: 60px;
}

#menu-primary {
  /* color: rgba(255,255,255); */
}

.navbar-dark .navbar-nav .nav-link {
    color: inherit;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: rgba(17, 17, 16,1)!important;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: inherit;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight:500;
    font-size:15px;
}

.navbar-nav li {
  margin: 0 7px !important;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: rgba(255, 255, 255, 1)!important;
    font-weight: inherit;
}

.dropdown-menu {
  background: rgba(17, 17, 16,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 20px;
  width: max-content;
}

.page-id-32 #breadcrumbs {
    display: none;
}

.neobox {
  box-shadow: 6px 6px 16px 0 rgba(0, 0, 0, 6%), -6px -6px 16px 0 rgba(17, 17, 16, 95%);
/* 	border-radius: 1.25rem; */
  background: #ececed;
}

.neobox-dark {
  box-shadow: 6px 6px 16px 0 rgba(0, 0, 0, 0.5), -6px -6px 16px 0 rgba(17, 17, 16, .12);
/* 	border-radius: 1.25rem; */
  background: #242422;
}

.header {
  z-index: 1000;
  background: rgba(17, 17, 16,0);
  -webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s;
}

.header-active {
  background-color: rgba(17, 17, 16,.9);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.hamburger-box {
  top: 5px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    background-color: #0196C2;
    height: 2px;
    /* background: linear-gradient(135deg,  #a98c60 0%,#c5a575 50%,#90744c 100%);*/
}

.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after {
    background-color: #0196C2;
    /* background: linear-gradient(135deg,  #a98c60 0%,#c5a575 50%,#90744c 100%); */
}

a {
    color: #0196C2;
}

a:hover, a:focus {
  color: #016a89;
}

.text-primary {
    color: #0196C2!important;
}

.block-gallery {
  min-height: 40vh;
  transition: 0.3s ease-in-out;
}

.block-gallery-placeholder {
  background: #221c16 url('/wp-content/uploads/placeholder-rectangle.png') no-repeat center center;
  background-size: cover;
}

.block-gallery-windows {
  background: #221c16 url('/wp-content/uploads/placeholder-rectangle.png') no-repeat center center;
  background-size: cover;
}

.block-gallery-doors {
  background: #221c16 url('/wp-content/uploads/placeholder-rectangle.png') no-repeat center center;
  background-size: cover;
}

.overlay-dark-bottom-transparent {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#1e5799+0,12344f+100 */
  background: #1e5799; /* Old browsers */
  background: -moz-linear-gradient(rgba(20 20 20, 0), rgba(20 20 20, 0.85) 76.47%); /* FF3.6-15 */
  background: -webkit-linear-gradient(rgba(20 20 20, 0), rgba(20 20 20, 0.85) 76.47%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(rgb(20 20 20 / 0%), rgb(20 20 20 / 85%) 76.47%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#12344f',GradientType=0 ); /* IE6-9 */
}

/* Hidden stuff on targeted pages */

.page-id-3341 #breadcrumbs {
  display: none;
}

.page-id-4434 .pageheader {
  display:none;
}

/* Hide Elements */

.page-id-3232 .navbar,
.page-id-3232 .footer,
.page-id-4906 #breadcrumbs,
.page-id-5511 #breadcrumbs,
.page-id-4918 #breadcrumbs,
.page-id-32 #breadcrumbs,
.page-id-2922 #breadcrumbs,
.page-id-4913 #breadcrumbs,
.page-id-4908 #breadcrumbs,
.page-id-68 #breadcrumbs {
  display: none!important;
}

.hide {
    opacity:0;
}
.show {
    opacity:1; 
}

/** SLIDESHOW **/

.slideshow {
  list-style-type: none;
}

.slideshow,
.slideshow:after { 
    /* top: -16px; */
    /* position: fixed; */
    width: 100%;
    height: 100%;
    left: 0px;
    z-index: 0; 
}

.slideshow li span { 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 30s linear infinite 0s; 
}

.slideshow li:nth-child(1) span { 
    background-image: url("/wp-content/uploads/hero-random-01.jpg"); 
}
.slideshow li:nth-child(2) span { 
    background-image: url("/wp-content/uploads/hero-random-02.jpg");
    animation-delay: 6s; 
}
.slideshow li:nth-child(3) span { 
    background-image: url("/wp-content/uploads/hero-random-03.jpg");
    animation-delay: 12s; 
}
.slideshow li:nth-child(4) span { 
    background-image: url("/wp-content/uploads/hero-random-04.jpg");   
    animation-delay: 18s; 
}
.slideshow li:nth-child(5) span { 
    background-image: url("/wp-content/uploads/hero-random-05.jpg");
    animation-delay: 24s; 
}

@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}


@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}


.no-cssanimations .cb-slideshow li span {
  opacity: 1;
}

/******* End Slideshow *********/

.bottomCTA {
    transition: all .5s;
}

/* Animate Content */

.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-on-load-right {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-load:nth-child(1) { animation-delay: 0.2s; }
.animate-on-load:nth-child(2) { animation-delay: 0.4s; }
.animate-on-load:nth-child(3) { animation-delay: 0.6s; }
.animate-on-load:nth-child(4) { animation-delay: 0.8s; }
.animate-on-load:nth-child(5) { animation-delay: 1.0s; }
.animate-on-load:nth-child(6) { animation-delay: 1.2s; }
.animate-on-load:nth-child(7) { animation-delay: 1.4s; }
.animate-on-load:nth-child(8) { animation-delay: 1.6s; }

.animate {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  position: relative;
  transform: translateY(40px);
  transition: 1s all ease;
}

.animate.animate-active {
  transform: translateY(0);
  opacity: 1;
}

.animate:nth-child(1) { animation-delay: 0.2s; }
.animate:nth-child(2) { animation-delay: 0.4s; }
.animate:nth-child(3) { animation-delay: 0.6s; }
.animate:nth-child(4) { animation-delay: 0.8s; }
.animate:nth-child(5) { animation-delay: 1.0s; }
.animate:nth-child(6) { animation-delay: 1.2s; }
.animate:nth-child(7) { animation-delay: 1.4s; }
.animate:nth-child(8) { animation-delay: 1.6s; }
.animate:nth-child(9) { animation-delay: 1.8s; }
.animate:nth-child(10) { animation-delay: 2.0s; }
.animate:nth-child(11) { animation-delay: 2.2s; }
.animate:nth-child(12) { animation-delay: 2.4s; }

.animate-right {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  position: relative;
  transform: translateX(20px);
  transition: 1s all ease;
}

.animate-right.animate-right-active {
  transform: translateX(0);
  opacity: 1;
}

/* End Animate Content */

.btn {
  font-weight: bold!important;
  padding: 1rem 2rem!important;
  text-transform: uppercase!important;
  font-size: .8rem!important;
  border-radius: 0px!important;
}

.btn-primary, button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
    color: #FFFFFF!important;
    background-color: #0196C2!important;
    border-color: #0196C2!important;
}

button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
  color: #FFFFFF!important;
  background-color: #0196C2!important;
  border-color: #0196C2!important;
  font-weight: bold!important;
  padding: 1rem 2rem!important;
  text-transform: uppercase!important;
  font-size: .8rem!important;
  border-radius: 0px!important;
}

.btn-primary:hover {
    color: #FFFFFF!important;
    background-color: #016a89!important;
    border-color: #016a89!important;
}

.btn-gold, form.fluent_form_2 .ff-btn-submit {
    color: #120e0b!important;
    /* background-color: #4986B2;
    border-color: #4986B2; */
    background: linear-gradient(135deg,  #a98c60 0%,#c5a575 50%,#90744c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border: none;
}

.btn-gold:hover {
    color: #120e0b!important;
    background: linear-gradient(135deg,  #a98c60 0%,#a98c60 50%,#90744c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    border: none;
}

.btn-outline-light {
  border-radius: 100px;
    border: 2px solid #fff;
}

.btn-outline {
    color: #0196C2;
    border: 2px solid #0196C2;
}

.btn-outline:hover {
    color: #FFFFFF!important;
    background-color: #016a89!important;
    border-color: #016a89!important;
}

.overlay-topbanner {
    padding: 220px 0 130px 0;
    background: rgb(67,72,84,.7);
    background-size: contain;
}

.overlay-dark {
    background: rgb(22 22 20 / 60%);
}

.overlay-hero-gradient {
  background: linear-gradient(to bottom, rgb(17, 17, 15, 1) 0%, rgb(17, 17, 16, 0) 35%, rgb(17, 17, 16, 0) 60%, rgb(17 17 15) 100%);
}

.overlay-page-gradient {
  background: linear-gradient(to bottom, rgb(17 17 15) 0%, rgb(17, 17, 16, .5) 35%, rgb(17, 17, 16, .5) 40%, rgb(17 17 15) 100%);
}

.hero {
  min-height: auto;
}

.hero-random {
  /* background-image: url("/wp-content/uploads/hero-random-04.jpg"); */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat; 
  background-color: #21211f!important;
}

.hero-home {
    background: #303333 url('/wp-content/uploads/bg-hero-cabin-front-evening.jpg') no-repeat center center;
    background-size: cover;
}

.card-img-overlay {
    background: rgb(67,72,84,.6);
    padding: 1rem;
    transition: 0.3s;
}

.card-img-overlay:hover {
    background: rgb(67,72,84,.75);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.25)!important;
    font-size: 1.3rem;
}

.card-img-overlay h5:hover {
  font-size: 1.4rem;
  transition: 0.3s;
}

.img-background-half {
    /* min-height: 700px; */
    min-height: 75vh;
}

.height-33 {
  min-height: 33vh;
}

.height-40 {
  min-height: 40vh;
}

.height-50 {
  min-height: 50vh;
}

.height-65 {
  min-height: 65vh;
}

.height-75 {
  min-height: 75vh;
}

.height-85 {
  min-height: 85vh;
}

.height-100 {
  min-height: 100vh;
}

.bg-light {
  background-color: #F0EFEA!important;
}

.bg-gradient-bottom {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f2f2f2+100 */
  background: #e0e7eb; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #e0e7eb 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#e0e7eb 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffffff 0%,#e0e7eb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e7eb',GradientType=0 ); /* IE6-9 */
}

.bg-gradient-top {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f2f2f2+100 */
  background: #e0e7eb; /* Old browsers */
  background: -moz-linear-gradient(top,  #e0e7eb 0%, #ffffff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #e0e7eb 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #e0e7eb 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e7eb', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.bg-placeholder {
    background: #3E3E3E url('/wp-content/uploads/bg-hero-cabin-front-evening.jpg') no-repeat center center;
    background-size: cover;
}

.bg-cta {
    background: #3E3E3E url('/wp-content/uploads/P3-Loewen-Window-Wood-Clad-Mackay-Lyon-Arch-House-at-9000-2.jpeg') no-repeat center center;
    background-size: cover;
}

.blur {
  filter: blur(5px);
}

.bg-white-blur {
    background: rgba(255,255,255,.75);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.bg-dark-blur {
    background: rgb(17 17 16 / 70%);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bg-dark {
  background-color: #003E51!important;
}

.bg-secondary {
  background-color: #353432!important;
}

.card {
    border-radius: 1.25rem;
}

.rounded {
    border-radius: 1.25rem!important;
}

.rounded-left {
    border-top-left-radius: 1.25rem!important;
    border-bottom-left-radius: 1.25rem!important;
}

.card-img, .card-img-top {
    border-top-left-radius: calc(1.25rem - 1px);
    border-top-right-radius: calc(1.25rem - 1px);
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(1.25rem - 1px);
    border-bottom-left-radius: calc(1.25rem - 1px);
}

.footer {
    background-color: #00232E;
}

.footer p {
  color: #847a69;
}

/* Wider Default for Desktop */

@media (min-width: 2000px) {
  .container {
      max-width: 1600px!important;
  }
}

@media (min-width: 1200px) {
  .container {
      max-width: 1400px!important;
  }
}

@media (max-width: 820px) {
  
  .header {
    z-index: 1000;
    background: rgba(17, 17, 16,.8);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
      backdrop-filter: saturate(180%) blur(20px);
    -webkit-transition: all ease-out .5s;
      -moz-transition: all ease-out .5s;
      -o-transition: all ease-out .5s;
      transition: all ease-out .5s;
  }
  
    .header-active, {
    background: rgba(17, 17, 16,.8);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      -webkit-transition: all ease-out .5s;
      -moz-transition: all ease-out .5s;
      -o-transition: all ease-out .5s;
      transition: all ease-out .5s;
      /* backdrop-filter: saturate(180%) blur(20px); */
    }
    
    .navbar-logo {
        max-height: 50px;
    }
    
    .img-background-half {
            min-height: 60vh;
        }
        
      .block-gallery {
      min-height: 33vh;
      }

  .display-4 {
      font-size: 2em;
  }
  
  h2, .h2 {
    font-size: 2em;
  }
  
  h4, .h4 {
    font-size: 2em;
  }
  
    .display-3 {
        font-size: 3em;
    }
  
  .navbar-dark .navbar-nav .nav-link {
      font-size: 1.5rem;
  }
  
  .dropdown-menu {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    text-align: center;
    width: auto;
  }
  
  .overlay-topbanner {
      padding: 160px 0 110px 0;
  }
  
  .bg-half-testimonial, .bg-half-testimonial-kotters {
      min-height: 250px;
  }
  .featurette img {
    margin-top:50px;
  }
}
