/*
 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+ */
  }
  /* 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+ */
  }

  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/Unbounded-Light.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* unbounded-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: 'Unbounded';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Unbounded-Regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* unbounded-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: 'Unbounded';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/Unbounded-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

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

.cat-list{
    display: flex;
    gap: 10px;
}


/* #page ul {
    margin-left: 25px !important;
} */
/* #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%;
}

.main-navigation  ul li a{
    font-family: 'Unbounded';
    font-weight: 300;
}

.main-navigation  ul 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;
}

.main-navigation  ul li a{ position: relative; }

.main-navigation  ul li a::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    border-bottom: 1px solid var(--global-color-8);
    width: 0%;
    transition: .3s ease-in-out;
}

.main-navigation  ul li:hover a{
    color: var(--global-color-8);
}

.main-navigation  ul li {
    padding-left: 20px;
    padding-right: 20px;
}

.main-navigation  ul li:last-child{
    padding-right: 0;
}

.main-navigation  ul li a{
    padding-left: 0;
    padding-right: 0;
}

.main-navigation  ul 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: var(--global-color-9);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 20px;
    z-index: -1;
}

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

.bg-overlay{ position: relative; }

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

/* #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: 110px;
    height: 110px;
    background-color: var(--global-color-8);
    bottom: -15px;
    left: -20px;
    z-index: -1;
}

.slide-img-wrap{
    height: 300px;
    overflow: hidden;
}

.slide-img-wrap img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.post-slide{
    min-height: 477px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 523px;
    position: relative;
}

.post-slide::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.post-slide .content{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(2, 49, 57, 1);
    border: 1px solid #fff;
    transition: .3s ease-in-out;
    padding: 20px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 9;
}

.post-slide a{
    color: var(--global-color-8);
}

.post-slide .content svg path,
.post-slide .content svg line{
    stroke: var(--global-color-8) !important;
}

.post-slide .content .down svg line,
.post-slide .content .down svg path{ transition: .3s ease-in-out;}

.post-slide .content:hover .down svg line,
.post-slide .content:hover .down svg path{ 
    stroke: #fff;
}

.down {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 40px;
}

.post-slide .content .up{
    position: absolute;
    left: 20px;
    top: 20px;
}

.post-slide-title {
    position: relative;
}

.gallery-slider{ position: relative;}

.post-slide-title::after{
    content: '';
    border-bottom: 1px solid var(--global-color-8);
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    transition: .3s ease-in-out;
}

.post-slide .content:hover .post-slide-title::after{ 
    border-bottom: 1px solid #fff;
}


.line-through-title{ 
    position: relative;
    background-color: #fff;
}

.line-through-title > h2 {
    position: relative;
    z-index: 3;
    display: inline;
}

.line-through-title::before{
    content: '';
    border-bottom: 1px solid var(--global-color-9);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 0;
}

.post-slide .content:hover{
    background-color: rgba(2, 49, 57, 0);
    color: #fff !important;
}

.cstm-arrows{
    position: absolute;
    display: flex;
    bottom: -70px;
    z-index: 9;
    flex-direction: row-reverse;
    gap: 10px;
}

.cstm-arrows .btn{ cursor: pointer; }

.rotate {
    transform: rotate(180deg);
    top: -8px;
    position: relative;
}

.slider-container-wrap{ position: relative; }

.cstm-arrows img{
    transition: .3s ease-in-out;
}

.cstm-arrows img:hover{
    filter: invert(99%) sepia(21%) saturate(6602%) hue-rotate(166deg) brightness(85%) contrast(86%);    
}

/* #FORM */
.forminator-label,
.forminator-ui textarea,
.forminator-ui input {
    font-family: 'Unbounded' !important;
    font-weight: 300 !important;
    font-size: 17px;

}

.forminator-description{ display: none !important; }

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

.forminator-label{ 
    text-transform: uppercase;
    font-size: 18px !important;
}

.forminator-button-submit{
    background-color: #fff !important;
    color: var(--global-color-9) !important;
    border: 1px solid var(--global-color-9) !important;
    border-radius: 50px !important;
    transition: .3s ease-in-out !important;
    font-family: 'Unbounded' !important;
}

.forminator-button-submit:hover{
    background-color: var(--global-color-9) !important;
    color: #fff !important;
}

/* 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;
  }
  
/* #FOOTER */


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

.main-navigation.sticky-navigation-transition .main-nav > ul > li > a{ line-height: 60px; }

@media(max-width:768px){
    .inside-article{ padding-top: 0 !important;}

    .gb-element-6b7cb5b5{
        display:  block !important;
    }
}