html {
    box-sizing: border-box;
}
body {
    background-color: $body_bg_color;
    font-size: 16px;
    line-height: 1.9;
    color: $secondary_color;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    &.body-overflow {
        
    }
    @media #{$max-sm} {
        &.body-visible-sm {
            overflow: visible;
        }
    }
}
a {
    @include transition(all 300ms linear 0ms);
    &:before, &:after {
        @include transition(inherit);
    }
    color: $link_color;
    &:hover {
        color: $link_color_hover;
    }
    &:active {
        color: $link_color_active;
    }
}
a, a:hover, a:focus, a:before, a:after {
  outline: none;
  text-decoration: none;
}
.ft-heading {
    font-family: "Urbanist", Helvetica, Arial, sans-serif;  
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Urbanist", Helvetica, Arial, sans-serif;  
    font-optical-sizing: auto;
    color: $link_color;
    font-weight: 600;
    margin: 0 0 15px;
    clear: both;
    font-style: normal;
}
h1, .h1 {
  font-size: 60px;
  letter-spacing: -0.027em;
  line-height: 1.15;
}

h2, .h2 {
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3, .h3 {
  font-size: 26px;
  line-height: 1.5;
  margin-bottom: 10px;
}

h4, .h4 {
  font-size: 20px;
  line-height: 1.6;
}

h5, .h5 {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

h6, .h6 {
  font-size: 16px;
  line-height: 1.6;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}
p {
    margin: 0 0 15px;
}

// Unitest
//--------------------------------------------------
table {
    border-bottom: 1px solid #d5d5d5;
    border-left: 1px solid #d5d5d5;
    border-collapse: collapse;
    border-spacing: 0;
    line-height: 2;
    margin: 0 0 32px;
    width: 100%;
    @include border-radius(0);
    th {
        color: #000;
        font-size: 15px;
    }
}
caption, td {
    font-weight: normal;
}
.table > tbody > tr > td, 
.table > tbody > tr > th, 
.table > tfoot > tr > td, 
.table > tfoot > tr > th, 
.table > thead > tr > td, 
.table > thead > tr > th {
    padding: 13px 8px;
}
th {
    font-weight: 600;
    border-top: 1px solid #d5d5d5;
    padding: 10px;
    border-right: 1px solid #d5d5d5;
}
td {
    border-top: 1px solid #d5d5d5;
    padding: 10px;
    border-right: 1px solid #d5d5d5;
    font-size: 15px;
    text-align: center;
}
dl {
    margin: 0 0 0 25px;
}
dl dt {
    font-weight: normal;
    line-height: 26px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
}
dl dd {
    line-height: normal;
    margin-bottom: 20px;
    a {
        color: #000;
        &:hover {
            color: $primary_color;
        }
    }
}
code, kbd {
    background-color: transparent;
    border-radius: 4px;
    color: inherit;
    font-size: 100%;
    padding: 2px 4px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
ins {
    color: #fff;
    border: none;
    padding: 2px;
    text-decoration: none;
    background-color: $primary_color;
}
pre {
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    margin: 20px 0;
    overflow: auto;
    padding: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
ol {
    list-style: outside none decimal;
    margin-bottom: 32px;
}
ul {
    padding: 0;
    margin: 0 0 32px;
    li {
        list-style-position: inside;
    }
}

dl + h2 + ul {
    padding-left: 35px;
    ul {
        padding-left: 35px;
        li {
            list-style: outside;
        }
    }
}
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
    img[class*="wp-image-"] {
        @include center-block;
    }
    .wp-caption-text {
        padding: 0.8075em 0;
        font-size: 0.875em;
        font-style: italic;
    }
}
.gallery-caption {
    opacity: 1;
    margin-top: 10px;
}
.wp-block-group.has-background {
    padding: 40px;
    margin-bottom: 30px;
}
.wp-caption-text {
    text-align: center;
}
.alignleft,
.alignright,
.aligncenter {
    margin-top: 15px;
    margin-bottom: 32px;
}
.alignleft {
    display: inline;
    float: left;
    margin-right: 30px;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 35px;
}
.aligncenter {
    clear: both;
    @include center-block;
}
.sticky {
    display: block;
}
.screen-reader-text {
    display: none;
}
.bypostauthor {
    display: block;
}
blockquote:not(.pxl-blockquote) {
    padding: 25px 30px;
    font-size: 20px;
    line-height: 1.5;
    color: #1b1b1b;
    position: relative;
    font-weight: 700;
    margin: 30px 0 26px;
    z-index: 1;
    background-color: #f8f9fa;
    border-left: 5px solid $primary_color;
    @media #{$max-sm} {
        padding-left: 20px;
        padding-right: 20px;
    }
    cite {
        font-size: 15px;
        color: $primary_color;
        font-weight: 500;
        display: block;
        font-style: normal;
        margin-top: 16px;
    }
    p:last-child {
        margin-bottom: 0;
    }
    &.wp-block-quote {
        p {
            margin-bottom: 16px !important;
        }
        cite br {
            display: none;
        }
        &.has-text-align-right {
            &:before {
                left: auto;
                right: 0;
            }
        }
    }
}
.wp-block-button {
  margin-bottom: 20px;
  .wp-block-button__link {
    padding-left: 32px;
    padding-right: 32px;
    background-color: $primary_color;
    font-size: 16px;
    font-weight: 700;
    &:not([href]) {
      color: #fff;
    }
    &:hover {
        background-color: $primary_color;
        border-color: $primary_color;
        color: #fff;
        &:not([href]) {
            color: #fff;
        }
    }
  }
  &.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: $primary_color;
    &:hover {
      background-color: $primary_color;
      border-color: $primary_color;
      color: #fff;
    }
  }
  &.is-style-squared .wp-block-button__link {
    @include border-radius(0px);
  }
  &.aligncenter {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
}
.has-background-dim {
  color: #fff;
  margin-bottom: 30px;
}
.wp-block-gallery {
  .blocks-gallery-item {
    float: left;
  }
  .blocks-gallery-caption {
    margin-bottom: 22px;
  }
  &.alignleft {
    margin-right: 30px;
  }
  &.alignright {
    margin-left: 30px;
  }
}
#tslOverlay {
  background-color: transparent !important;
  z-index: 999999 !important;
}

/* NeueMachina Ultrabold */
@font-face {
    font-family: 'NeueMachina';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/neuemachina/neuemachina-light.woff2') format('woff2'),
    url('../fonts/neuemachina/neuemachina-light.woff') format('woff');
}

@font-face {
    font-family: 'NeueMachina';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/neuemachina/neuemachina-regular.woff2') format('woff2'),
    url('../fonts/neuemachina/neuemachina-regular.woff') format('woff');
}

@font-face {
    font-family: 'NeueMachina';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/neuemachina/neuemachina-ultrabold.woff2') format('woff2'),
    url('../fonts/neuemachina/neuemachina-ultrabold.woff') format('woff');
}

.ft-neuemachina {
    font-family: 'NeueMachina' !important;
}

/* Custom Wordpress Container */
.elementor-editor-preview,.elementor-editor-active{
    .pxl-section-bg-parallax{
        z-index: -1;
    }
    .elementor-shape{
        direction: ltr;
        left: 0;
        line-height: 0;
        overflow: hidden;
        position: absolute;
        width: 100%;
        &.elementor-shape-top{
            top: 0;
        }
        &.elementor-shape-bottom{
            bottom: 0;
            transform: rotate(180deg);
        }
    }
}

/* End Custom Wordpress Container */