/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra Child Theme by OuterBox
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* TOC:
- Variables
- Utility
- Typography
- Sliders
- Carousels
- Video
- Tabbed Content
- Tables
- Forms
- Header
- Mobile Menu
- Footer
- Hero Banner
*/

:root {
    /* Spacing */
    --space-base: 16px;
    --space-xxs: calc(var(--space-base)*0.25);
    --space-xs: calc(var(--space-base)*0.5);
    --space-sm: calc(var(--space-base)*0.75);
    --space-md: calc(var(--space-base)*1.5);
    --space-lg: calc(var(--space-base)*2);
    --space-xl: calc(var(--space-base)*2.5);
    --space-xxl: calc(var(--space-base)*4);
    --space-xxxl: calc(var(--space-base)*5);
    --section-space: var(--space-xxxl);
    --section-side-space: var(--space-xxl);
    --gutter: var(--space-xxl);	
    --gutter-sm: var(--space-lg);
    --content-max: 768px;
    --content-padded-max: 920px;
    --container-max: 1200px;
    
    /* Fonts */
    --text-base: 16px;
    --text-sm: calc(var(--text-base)*0.875);
    --text-lg: calc(var(--text-base)*1.125);
    --heading-xxs: calc(var(--text-base)*0.875);
    --heading-xs: calc(var(--text-base)*1);
    --heading-sm: calc(var(--text-base)*1.25);
    --heading-md: calc(var(--text-base)*1.5);
    --heading-lg: calc(var(--text-base)*2);
    --heading-xl: calc(var(--text-base)*2.5);
    --heading-xxl: calc(var(--text-base)*3);
    --heading-xxxl: calc(var(--text-base)*3.5);	
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --line-height-body:1.5;
    --line-height-heading:1.25;
    --font-family-heading: "Inter Tight", sans-serif;
    --font-family-body: "Inter", sans-serif;
        
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 24px;
    --border-radius-element: var(--border-radius-lg);
    --border-radius-button: var(--border-radius-sm);
    --border-radius-input: var(--border-radius-md);
    
    
    /* Colors */
    --color-brand-navy: #2B3277;
    --color-brand-yellow: #FFC500;
    --color-brand-purple: #3949E4;
    --color-brand-04: #17212E;
    --color-brand-05: #EBF1F5;
    --color-ui-01: #F7F7FA;
    --color-ui-02: #B3B3B3;
    --color-ui-03: #4C636D;
    --color-ui-white: #ffffff;
    --color-ui-warning: #AA0000;
    --color-text-black: #17212E;
    --color-text-white: #ffffff;
    --color-text-01: #454545;
    --color-text-02: #C0532A;
    --color-text-03: #FDCE70;
}

  
@media only screen and (max-width : 991px) {	
    :root {	
    --heading-xxs: calc(var(--text-base)*0.875);
    --heading-xs: calc(var(--text-base)*1);
    --heading-sm: calc(var(--text-base)*1.125);
    --heading-md: calc(var(--text-base)*1.25);
    --heading-lg: calc(var(--text-base)*1.5);
    --heading-xl: calc(var(--text-base)*2);
    --heading-xxl: calc(var(--text-base)*2.5);
    --heading-xxxl: calc(var(--text-base)*3);
    --section-space: var(--space-xl);
    --section-side-space: var(--space-base);
    --gutter: var(--space-lg);
    --gutter-sm: var(--space-md);
    }
}

/* Utility */
.border-radius-element {
    img, span, div, .elementor-slides .swiper-slide {
    border-radius: var(--border-radius-element);
}}

.padding-full {
    padding: var(--section-space) var(--section-side-space);
}

.padding-top {
    padding: var(--section-space) var(--section-side-space) 0 var(--section-side-space);
}

.padding-bottom {
    padding: 0 var(--section-side-space) var(--section-space) var(--section-side-space);
}

.padding-none {
    padding: 0px var(--section-side-space);
}

/* Typography */

a.elementor-element{
    text-decoration: none !important;
}

.eyebrow-heading {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: 1.5;
    font-size: var(--heading-xs);
    font-family: var(--font-family-body);
    text-transform: uppercase;
    font-weight:var(--font-weight-bold);
    letter-spacing: 1px;
}}

.headline-heading {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-xxxl);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

.heading1 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-xxl);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

.heading2 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-xl);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

.heading3 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-lg);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

.heading4 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-md);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}


.heading5 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-size: var(--heading-sm);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

.heading6 {
    span, h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-body);
    font-size: var(--heading-xs);
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
}}

p {
  margin-bottom: 0 !important;
}

.p--small {
    font-size: var(--text-sm);
}

.p--large {
    font-size: var(--text-lg);
}

p + p {
    margin-top: var(--space-base)!important;
}

span, h1, h2, h3, h4, h5, h6, p {
    //max-width: 768px;
}}

body, button, input, select, textarea, {
    font-family: var(--font-family-body);
}

.elementor-button{
   border-radius:var(--border-radius-button);
   font-family: var(--font-family-heading);
   font-weight: var(--font-weight-bold);
   text-transform: uppercase;
   line-height: 1.35 !important;
   font-size: 16px;
   padding-top: 16px;
   padding-bottom: 16px;
}

.elementor-widget-text-editor{
  ul{
    margin: 0;
    padding: 0;
    gap: var(--space-sm);
    display: flex;
    flex-direction: column;
    li{
      padding: 0;
      margin: 0;
      list-style-type: none;
      &:before{
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 100%;
        background-color:  var(--color-brand-navy);
        display: inline-block;
        margin-right: 8px;
      }
    }
  }
}


/* Slider */
.elementor-swiper{
    margin-bottom: 16px;
}
.elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal{
    bottom: -18px;
}
.elementor-element.elementor-arrows-position-outside .swiper{
    width: calc(100% - 80px);
}
.elementor-slides .swiper-slide{
    position: relative;
    overflow: hidden;
}


/* Carousel */
.swiper-pagination-bullet{
    opacity: 1;
    position: relative;
    //mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path fill="%23ffffff" d="M6,12c-3.31,0-6-2.69-6-6S2.69,0,6,0s6,2.69,6,6-2.69,6-6,6ZM6,1C3.24,1,1,3.24,1,6s2.24,5,5,5,5-2.24,5-5S8.76,1,6,1Z"/></svg>');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: white !important;
    border: 1px solid currentColor;
}
.swiper-pagination-bullet:hover,
.swiper-pagination-bullet-active{
    mask: none;
    background-color: currentColor !important;
}
.elementor-swiper-button .fa-arrow-left,
.elementor-swiper-button .fa-arrow-right,
.eicon-chevron-left,
.eicon-chevron-right{
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.38,11.06L10.66,1.34l1.34-1.34,12,12-12,12-1.34-1.34,9.72-9.72H0v-1.89h20.38Z" style="fill-rule:evenodd;"/></svg>');
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    display: block;
}
.elementor-swiper-button .fa-arrow-left:before,
.elementor-swiper-button .fa-arrow-right:before,
.eicon-chevron-left:before,
.eicon-chevron-right:before{
    background-color: currentColor;
    transition: opacity .25s ease-in-out;
    opacity: 1;
}
.elementor-swiper-button:hover .fa-arrow-left:before,
.elementor-swiper-button:hover .fa-arrow-right:before,
.eicon-chevron-left:hover:before,
.eicon-chevron-right:hover:before{
    opacity: .75;
}
.elementor-swiper-button .fa-arrow-left,
.eicon-chevron-left{
    transform: rotate(180deg);
}
.logo-carousel{
  .swiper-slide{
    background-color: white;
    min-height: 166px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
  }
}

/* Video */
.elementor-widget-video{
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.10);
}
.elementor-custom-embed-image-overlay:after{
    content: '';
    background: linear-gradient(180deg, rgba(43, 50, 119, 0.00) 0%, rgba(43, 50, 119, 0.50) 100%);
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity .25s ease-in-out;
    opacity: 1;
}
.elementor-custom-embed-image-overlay:before{
    content: '';
    background: linear-gradient(180deg, rgba(43, 50, 119, 0.30) 0%, #2B3277 100%);
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity .25s ease-in-out;
    opacity: 0;
}
.elementor-custom-embed-image-overlay:hover:after{
    opacity: 0;
}
.elementor-custom-embed-image-overlay:hover:before{
    opacity: 1;
}
.elementor-custom-embed-image-overlay:hover .eicon-play{
    transform: scale(1.2);
    background-color: white;
}
.eicon-play{
    background-color: currentColor;
    border-radius: 100%;
    opacity: 1 !important;
}
.eicon-play:before{
    opacity: 0;
}
.eicon-play:after{
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 22"><path fill="%2317212E" d="M0,2.22v17.56c0,1.68,1.89,2.75,3.45,1.96l17.31-8.78c1.65-.84,1.65-3.08,0-3.91L3.45.27C1.89-.53,0,.55,0,2.22Z"/></svg>') center center no-repeat transparent;
    background-size: 16px;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 2px;
    top: 1px;
}
.elementor-custom-embed-play{
    z-index: 2;
}
    
/* Tabbed Content */
.tabs-left .e-n-tabs-heading button{
    position: relative;
}
.tabs-left .e-n-tabs-heading button:after{
    content:'';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background-color: var(--color-ui-01);
}
@media only screen and (max-width: 767px) {	
   .tabs-top .e-n-tabs-heading button{
       position: relative;
   }
   .tabs-top .e-n-tabs-heading button:after{
       content:'';
       width: 100%;
       height: 1px;
       position: absolute;
       bottom: 0;
       left: 0;
       display: block;
       background-color: var(--color-ui-01);
   }
}


/* Tables */

.html-table{
   table{
      border: 0;
   }
   thead{
      background-color: var(--color-brand-navy);
   }
   th{
      border-color: var(--color-text-white);
      color: var(--color-text-white);
      line-height: 1.5;
      font-size: var(--text-base);
      font-family: var(--font-family-body);
      text-transform: uppercase;
      font-weight:var(--font-weight-bold);
      padding: var(--space-sm) var(--space-base);
   }
   tbody tr:nth-child(odd){
      background-color: var(--color-ui-white);
   }
   tbody tr:nth-child(even){
      background-color: var(--color-ui-01);
   }
   td{
      border: 0;
      border-bottom: 1px solid var(--color-ui-02);
      text-align: center;
      font-size: var(--text-base);
      padding: var(--space-sm) var(--space-base);
   }
}

.html-table::-webkit-scrollbar-track {
  background: var(--color-text-white);
  border: 1px solid var(--color-brand-purple);
  height: 8px;
  border-radius: 12px;
}
.html-table::-webkit-scrollbar {
  width: 8px;
  background: var(--color-text-white);
  height: 8px;
  border-radius: 12px;
}
.html-table::-webkit-scrollbar-thumb {
  background: var(--color-brand-purple);
  width: 40px;
  border-radius: 12px;
}

@media only screen and (max-width: 1024px) {	
   .html-table{
      overflow: auto;
      table{
         width: 1024px;
      }
   }
}


/* Forms */
form{
   .gfield_label{
      color: var(--color-text-black)  !important;
      line-height: 1.5;
      font-size: var(--text-base) !important;
      font-family: var(--font-family-body);
      font-weight:var(--font-weight-bold) !important;
      float: left;
   }
   .gfield_required{
      text-transform: lowercase;
      color: var(--color-ui-warning);
      font-size: var(--text-sm) !important;
      font-weight: 400;
   }
   .gfield_validation_message{
     color: var(--color-ui-warning);
     font-size: var(--text-sm) !important;
   }
   .ginput_container input[type="text"],
   .ginput_container input[type="tel"],
   .ginput_container input[type="email"]{
      border: 1px solid var(--color-ui-02) !important;
      padding: var(--space-sm) var(--space-base) !important;
      height: 48px !important;
      line-height: 48px !important;
      border-radius: 4px;
      font-size: 16px;
   }
   .ginput_container input[type="file"]{
     border: 1px solid var(--color-ui-02) !important;
   }
   .ginput_container textarea{
      border: 1px solid var(--color-ui-02) !important;
      padding: var(--space-sm) var(--space-base) !important;
      height: 96px !important;
      border-radius: 4px;
      font-size: 16px;
   }
   label + .gfield_description{
      text-transform: lowercase;
      color: var(--color-text-black);
      font-size: var(--text-sm) !important;
      left: 8px;
      top: 1px;
      position: relative;
   }
   .gform_fields{
      row-gap: var(--space-md) !important;
   }
   .gform_button{
      border-radius: 0 !important;
      padding:var(--space-sm) var(--space-md) !important;
      font-family: var(--font-family-heading) !important;
      font-weight: var(--font-weight-bold) !important;
      text-transform: uppercase !important;
      line-height: 1.35 !important;
      color: var(--color-text-black) !important;
      border: 2px solid var(--color-brand-yellow) !important;
      background-color: var(--color-brand-yellow) !important;
      font-size: var(--text-base) !important;
   }
   .gform_button:hover{
      border: 2px solid var(--color-text-black) !important;
      background-color: var(--color-text-black) !important;
      color: white !important;
   }
}

.ginput_container input[type="text"]::placeholder,
.ginput_container input[type="tel"]::placeholder,
.ginput_container input[type="email"]::placeholder,
.ginput_container input[type="file"]::placeholder,
.ginput_container textarea::placeholder{
  color: rgba(0,0,0,.7);
  font-size: 16px;
}
.ginput_container input[type="text"]:focus,
.ginput_container input[type="tel"]:focus,
.ginput_container input[type="email"]:focus,
.ginput_container input[type="file"]:focus,
.ginput_container textarea:focus{
  border-color: var(--color-text-black) !important;
}

.form-wide form .gfield--width-half{
   grid-column: 1 / -1;
}

.form-light form .gfield_label,
.form-light form .gfield_required,
.form-light form .gfield_description{
   color: var(--color-text-white) !important;
}

/* Header */
.header__search{
  .e-search-input{
    padding-right: 0 !important;
    width: 100%;
  }
  .e-search-input-wrapper{
    width: 100%;
  }
  button{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    i{
      margin-right: 0 !important;
    }
    &:hover i,
    &:active i,
    &:focus i{
      color: var(--color-brand-purple) !important;
    }
  }
}
.header__tel{
  a{
    padding: 0 !important;
  }
  i{
    color: var(--color-brand-purple);
  }
}
.header__menu{
  nav > ul{
    width: 100% !important;
    justify-content: space-between !important;
  }
  nav > ul:after{
    display: none !important;
  }
  nav > ul > li > a:after{
    background-color: var(--color-brand-yellow) !important;
  }
}
.header__quote{
  i{
    font-size: 16px;
  }
}
/* Mobile Menu */
.off-canvas-toggle a[aria-expanded="true"] i:before{
  content: '\f00d';
}
.elementor-widget-off-canvas{
  .e-off-canvas__overlay{
    background-color: transparent !important;
  }
  .e-off-canvas__content{
    width: 100%;
  }
  .e-off-canvas__main{
    /* height: calc(100% - 136px);
    top: 136px; */
    height: calc(100% - 72px);
    top: 72px;
    overflow-y: auto;
  }
}
.e-off-canvas .elementor-nav-menu--main{
  .menu-item-home-text{
    font-size: 24px;
    border: 0;
    line-height: 1.25;
    color: var(--color-text-black);
    font-weight: var(--font-weight-bold);
    padding: 0 0 16px 0;
    display: block;
    border-bottom: 1px solid var(--color-ui-02);
  }
  ul {
    position: relative;
    height: 100%;
  }
  ul li{
    position: relative;
  }
  ul li > .submenu-toggle {
    cursor: pointer;
    position: absolute;
    width: 40px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
  }
  ul li a{
    margin: 0;
    border: 0;
  }
  ul li a:after{
    content: '';
    opacity: 1 !important;
    height: 1px;
    width: 100%;
    background-color: var(--color-ui-02);
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
  }
  ul li a > span{
    display: none !important;
  }
  ul ul {
    position: absolute;
    left: 100vw !important;
    transition: left 0.2s ease-in-out;
    z-index: 3;
    background-color: white;
    width: 100% !important;
    top: 0 !important;
    transition: none;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
  ul li.submenu-active {
    position: static;
  }
  ul li.submenu-active > ul {
    left: 0 !important;
    transition: left 0.2s ease-in-out;
    z-index: 9;
    display: block !important; 
  }
  button.submenu-toggle{
    position: relative;
    width: 40px;
    height: 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    line-height: 1.5;
    color: var(--color-text-black);
    font-weight: var(--font-weight-bold);
    background-color: transparent;
    padding: 0;
  }
  button.submenu-toggle:before{
    content:'';
    width: 20px;
    height: 20px;
    display: block;
    background-color: var(--color-brand-navy);
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>');
    mask-repeat: no-repeat;
    mask-position: right center;
    mask-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .submenu-headline{
    font-weight: 700;
  }
  .submenu-back{
    border-bottom: 1px solid  var(--color-ui-03);
  }
  button.submenu-back-button{
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    line-height: 1.5;
    padding: 13px 0;
    color: var(--color-text-black);
    font-weight: var(--font-weight-bold);
    background-color: transparent;
  }
  .submenu-back-button:before{
    content:'';
    width: 20px;
    height: 20px;
    display: block;
    background-color: var(--color-brand-navy);
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg>');
    mask-repeat: no-repeat;
    mask-position: left center;
    mask-size: contain;
  }
}

@media(max-width: 1199px){
  /* .logged-in .elementor-widget-off-canvas .e-off-canvas__main{
    height: calc(100% - 171px);
    top: 171px;
  } */
  .logged-in .elementor-widget-off-canvas .e-off-canvas__main{
    height: calc(100% - 104px);
    top: 104px;
  }
}
@media(max-width: 767px){
  /* .logged-in .elementor-widget-off-canvas .e-off-canvas__main{
    height: calc(100% - 184px);
    top: 184px;
  } */
  .logged-in .elementor-widget-off-canvas .e-off-canvas__main{
    height: calc(100% - 118px);
    top: 118px;
  }
}


/*  Footer */
.footer__top{
  .elementor-icon-box-icon i{
    position: relative;
    top: 3px;
  }
}
.footer__social{
  a:hover svg fill{
    color: var(--color-text-black);
  }
  .elementor-grid-item:nth-child(2){
    position: relative;
    top: 1px;
  }
}
@media(max-width: 767px){
  .footer__bottom{
    .elementor-icon-list-items li:first-child{
      display: none;
    }
  }
}

/* Hero Banner */
@media(max-width: 767px){
  .hero-banner:before{
    background-color: var(--color-brand-navy) !important;
    opacity: .8;
  }
}


/* Quick Contact */
.quick-contact:before{
  background-color: var(--color-brand-navy) !important;
  opacity: .8;
}