/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* --------------------------------------------------------------- */
/* --------------------------- POST SLIDER --------------------------- */
/* --------------------------------------------------------------- */

.posts-slider {
    position: relative;
}

.posts-slider .posts-slider-slide {
    display: flex !important;
    column-gap: 5vw;
    row-gap: 60px;
    align-items: stretch;
    flex-wrap: wrap;
}

.posts-slider-slide > div {
    width: 40%;
    flex-grow: 2;
}

.posts-slide-content {
    padding: 100px 0;
}

.posts-slider .posts-slider-slide h2 {
    font-size: 38px !important;
    margin: 3px 0 20px;
}

.posts-slider .posts-slider-slide p {
    margin: 20px 0;
}

.posts-slide-date,
.posts-slide-link {
    font-family: Quantico, sans-serif;
    color: #1E51A2;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none !important;
}

.posts-slide-image {
    position: relative;
}

.posts-slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    object-fit: cover;
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0); 
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap; 
    width: 1px;
}

.posts-slider-pagination {
    position: absolute;
    left: -10px;
    bottom: 0;
}
.posts-slider-pagination button {
    padding: 10px;
    background: transparent;
    border: none;
    -webkit-appearance: none;
    border-radius: 0;
    color: #2E2E2E;
}

.posts-next:after {
    content: '\f054';
    font-family: fontawesome, sans-serif;
    font-size: 14px;
}

.posts-prev:after {
    content: '\f053';
    font-family: fontawesome, sans-serif;
    font-size: 14px;
}

@media all and (max-width: 1024px) {
    .posts-slider-slide > div {
        width: 100%;
    }

    .posts-slide-image {
        height: 60vw;
    }
    .posts-slide-content {
        padding: 0;
    }
}

/* --------------------------------------------------------------- */
/* ------------------------- RESOURCES --------------------------- */
/* --------------------------------------------------------------- */

button,
input[type=submit], 
input[type=submit].gform_button {
    border: none;
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    padding: 16px 30px;
    font-family: Quantico, sans-serif;
    margin: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

.gfield input[type=text],
.gfield input[type=tel],
.gfield input[type=email] {
    padding: 17px 30px 15px !important;
    margin: 0;
    border-radius: 0 !important;
    -webkit-appearance: none;

}

.resources-container {
    max-width: 1600px;
    margin: 0 auto;
}

.resources-results .resources-results-wrap {
    padding: 80px 45px;
}

.resources-results .resources-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resources-item {
    width: calc(50% - 5px);
}

.resources-item a {
    display: block;
    padding:20px 30px;
    background: #F8F8F8;
    color: #000;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    transition: all 300ms linear 0s;
}

.resources-item a:hover {
    background: #dedede;
}

.resources-item a span.filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.download {
    display: inline-block;
    padding: 10px;
    background: #1E51A2;
    line-height: 1;
}

.download:after {
    content: '\f019';
    font-family: fontawesome, sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 400;
}
.resources-filters,
.resources-pagination {
    background: #DEDEDE;
    padding: 30px 45px;
    margin-bottom: 5px;
}

.resources-filters {
    padding: 20px 45px;
}

.resources-filters .resources-container form,
.resources-pagination .resources-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 3vw;
    row-gap: 10px;
}


.resources-pagination button {
    padding: 0;
    background: transparent;
    color: #000;
    text-transform: none;
    font-family: Overpass, sans-serif;
}

.resources-pagination button:disabled {
    opacity: .4;
    cursor: default;
}

.resources-filters fieldset {
    display: flex;
    column-gap: 20px;
    border: none;
    position: relative;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-grow: 2;
}


.resources-filters fieldset label {
    white-space: nowrap;
    font-size: 16px;
    font-family: Quantico, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.resources-filters fieldset select {
    margin: 0;
    border-radius: 0;
    -webkit-appearance: none;
    font-family: Overpass, sans-serif;
    line-height: 1.5;
    padding-right: 40px;
    padding: 13px 40px 11px 20px;
    border: none;
    min-width: 200px;
}

.resources-filters fieldset:after {
    content: '\f078';
    font-family: fontawesome, sans-serif;
    font-size: 11px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
}

@media all and (max-width: 1024px) {
    .resources-filters .resources-container form {
        flex-wrap: wrap;
    }
    .resources-filters fieldset {
        width: 100%;
    }

    .resources-filters fieldset label {
        width: 250px;
    }
}

@media all and (max-width: 767px) {
    .resources-filters,
    .resources-results .resources-results-wrap {
        padding:  35px;
    }

    .resources-filters .resources-container form {
        row-gap: 20px;
    }

    .resources-item {
        width: 100%;
    }

    .resources-item a {
        padding:15px 25px;
        font-size: 16px;
    }

    .resources-filters fieldset label,
    .resources-filters fieldset select {
        font-size: 15px;
    }

    .resources-filters fieldset {
        display: block;
    }
}

.loading {
  opacity: .5;
  position: relative;
}

.loading:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: url(images/loading.gif) no-repeat;
  background-size: 60px auto;
  background-position: center 50px;
  mix-blend-mode: multiply;
}

.error {
    text-align: center;
    color: red;
    padding: 0 0 30px;
}