/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* montserrat-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


  html{
    scroll-padding-top: 150px;
    scroll-behavior: smooth;
  }

  ul li { margin-bottom: 10px !important;}

  li::marker {
    color: #1B6B98;
  }


/* #HEADER */

.site-header { z-index: 2;}

.hero-section{ position: relative; }

.hero-section::before{
    content: '';
    background: rgb(0,0,0);
    background: linear-gradient(108deg, rgba(0,0,0,0.6110819327731092) 100%, rgba(255,255,255,0.6895133053221288) 100%);    
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

#menu-primary li a { text-transform: uppercase;}

.hero-section-title{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

body > b{ display: none !important;}

a{
    transition: .3s ease-in-out !important;
}

#menu-primary li a{ position: relative; }

#menu-primary li a::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    border-bottom: 1px solid #1B6B98;
    width: 0%;
    transition: .3s ease-in-out;
}

#menu-primary li:hover a{
    color: #1B6B98;
}

#menu-primary li {
    padding-left: 20px;
    padding-right: 20px;
}

#menu-primary li:last-child{
    padding-right: 0;
}

#menu-primary li a{
    padding-left: 0;
    padding-right: 0;
    font-size: 18px;
    font-weight: 600;
}

#menu-primary li a:hover::after { width: 100%;}

.headline-bg-blue{
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 20px;
}

.headline-bg-blue::after{
    content: '';
    background-color: #87BBCD;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 20px;
    z-index: -1;
}

.site-header{ z-index: 99; }

/* #HOME */

.heading-black-blue strong{
    font-weight: 300;
    color: #1B6B98;
}

.line-left{ position: relative; }

.wp-block-list{
    margin-left: 16px;
}

.wp-block-list li {
    line-height: 32px;
}

.line-left::before{
    content: '';
    border-left: 1px solid #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -25px;
    height: 100%;
}


.square-blue{
    position: relative;
    z-index: 3;
}

.square-blue::after{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #87BBCD;
    bottom: -50px;
    left: -50px;
    z-index: -1;
}

.square-blue.single-post::after{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #87BBCD;
    bottom: -30px;
    right: -30px;
    left: unset;
    z-index: -1;
}

/* IMAGE REVEAL ANIMATION */
  
.reveal  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform-origin: left;
  }
  
  .reveal {
    visibility: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    /* max-width: 500px; */
    overflow: hidden;
  }

  /* #FORM */

  .forminator-ui#forminator-module-390.forminator-design--default .forminator-button-submit{
    background-color: #1B6B98 !important;
    color: #fff !important;
  }

  .forminator-description{ display: none !important;}
  .forminator-label{
    color: #1B6B98;
  }

  .face.front img{
    border: 10px solid #86bbcc;
  }
/* #FOOTER */

.footer-links * {
    color: #fff !important;
}

.gb-shape svg{
    height: 30px !important;
    width: 30px !important;
}

.wp-block-social-links  svg{
    height: 30px !important;
    width: 30px !important;
}

.footer .wp-block-social-links a::before{ content: none !important;}

.footer a{ position: relative; }

.footer a::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 0%;
    bottom: 0;
    transition: .3s ease-in-out;
    border-bottom: 1px solid #fff;
}

.footer a:hover::before{ width: 100%;}

/* #FORM */

.gform_fields textarea,
.gform_fields input {
    background-color: transparent !important;
    color: grey !important;
}


.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}

.bg-overlay::before {
    content: '';
    background-color: rgb(2, 49, 57, 0.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-size-65-left{
    background-size: 65%;
    background-position: top left !important;
}

.face img {
    height: 100%;
    max-height: 835px;
}

.menu-toggle {
    background-color: #fff !important;
    color: #1B6B98 !important;
}

@media(max-width:1024px){
    .gb-element-0455be26{ position: relative !important; }

    .gb-element-7feeefe8.alignfull,
    .bg-size-65-left{ height: auto !important;}
}

@media(max-width:768px){

    .line-left::before{ content: none;}

    .bg-size-65-left{
        background-size: cover;
        background-position: center !important;
    }

    .line-center::after{ content: none;}

    .face img{
        max-width: fit-content !important;
    }
    .face img {
        height: 100%;
        max-height: 670px;
    }

    .gb-element-0461987c {
        display: flex;
        justify-content: flex-start !important;
    }

    .site-logo{ max-width: 150px;}
}