/* 
Theme Name: Valpix Child Theme
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child Theme.
Author: Valpix GmbH
Author URI: https://www.valpix.ch/
Template: hello-elementor
Version: 1.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
*/

/* Custom Styles Valpix */

:root{
    --grey: #3C424F;
    --yellow: #EEAF30;
}
html, body{
    font-family: "Sarabun", Sans-serif !important;
    color: var(--grey) !important;
    font-size: 22px;
    line-height: 35px;
    overflow-x: hidden;
}
:focus, :focus-visible{
    outline: none;
}
.cta-grey, .bg-grey{
    background-color: #F3F2EE;
}
.bg-yellow, .cta-yellow{
    background-color: #EEAF30;
}
.bg-yellow .elementor-button{
    background-color: #fff;
    color: var(--grey);
}
.bg-darkgrey{
    background-color: #86817E;
    color: #fff;
}
.bg-blue{
    background-color: #3C424F;
    color: #fff;
}
p:only-child, p:last-of-type {
    margin-bottom: 0;
}
* + h2, * + h3, * + h4, * + h5, * + h6 {
    margin-top: 45px;
  }
h1{
    font-size: 45px;
    line-height: 60px;
}
h2{
    margin-bottom: 40px !important;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}
header {
    position: fixed !important;
    font-size: 22px;
    padding-top: 30px;
    padding-bottom: 20px;
    color: var(--grey);
    width: 100%;
    background-color: #fff !important;
    z-index: 100;
    left: 0;
    right: 0;
    margin: auto;
}
.page-content a, .single-post a {
    color: #3C424F;
}
.single-post p a {
    text-decoration: underline;
    text-underline-position: under;
}
.page-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.page-content ul li::marker {
    color: #EEAF30 !important;
}
nav ul li {
    margin-right: 15px !important;
    min-width: 135px;
}
nav ul li:last-of-type {
    margin-right: 0 !important;
}
nav li a {
    color: #3C424F !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    font-size: 18px;
    justify-content: center;
}
nav li:nth-child(3) a:hover, nav li:nth-child(3).current-menu-item a {
    color: #fff !important;
}
nav li a:hover {
    cursor: pointer;
}
nav li a::after {
    position: absolute;
    content: '';
    height: 201px;
    width: 100%;
    background-color: #EEAF30;
    left: 0;
    right: 0;
    z-index: -1;
    bottom: 140px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 1 !important;
}
nav li:first-of-type a::after {
    position: absolute;
    content: '';
    height: 201px;
    width: 100%;
    background-color: #F3F2EE;
    left: 0;
    right: 0;
    z-index: -1;
    bottom: 140px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 1 !important;
}
nav li:nth-child(2) a::after {
    position: absolute;
    content: '';
    height: 201px;
    width: 100%;
    background-color: #EEAF30;
    left: 0;
    right: 0;
    z-index: -1;
    bottom: 140px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 1 !important;
}
nav li:nth-child(3) a::after {
    position: absolute;
    content: '';
    height: 201px;
    width: 100%;
    background-color: #86817E;
    left: 0;
    right: 0;
    z-index: -1;
    bottom: 140px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 1 !important;
}
nav li a:hover::after {
    bottom: -70px;
    opacity: 1 !important;
}
.current-menu-item a:after, nav li:first-of-type.current-menu-item a::after, nav li:nth-child(2).current-menu-item a::after, nav li:nth-child(3).current-menu-item a::after {
    bottom: -70px;
    opacity: 1 !important;
}
#searchicon {
    margin-bottom: 13px;
}
.page-content section {
    margin-top: 50px;
    margin-bottom: 50px;
}
.page-content section:last-of-type {
    margin-bottom: 0;
}
.intronewscontainer {
    max-height: 450px;
}
#introsection-content section {
    margin-top: 0 !important;
}
section .elementor-container {
    padding-left: 140px;
}
.elementor-widget-wrap {
    padding: 0 !important;
}
.introsection {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-bottom: 250px !important;
}
.introsection > .elementor-container, .introsection .elementor-section-boxed, .contactintro .elementor-container {
    padding-left: 0;
    margin: 0;
}
.intronewscontainer {
    padding-right: 30px;
}
.elementor-widget-video .elementor-wrapper iframe, .elementor-widget-video .elementor-wrapper video {
   background-color: transparent !important;
}
#introsection-content {
    padding-bottom: 40px;
    padding-top: 60px;
    max-width: 70%;
    padding-left: calc((100vw - 1638px) / 2);
    border-top-right-radius: 500px;
    border-bottom-right-radius: 500px;
    padding-right: 90px;
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    min-height: 300px;
}
#introsection-content .elementor-col-33 {
    max-width: 215px;
    margin-left: 50px;
    margin-right: 50px;
    font-size: 27px;
}
#introsection-content .elementor-col-33 .elementor-widget-text-editor{
    margin-top: 15px;
}
#introsection-content .elementor-col-33:first-of-type {
    margin-left: 0;
}
#introsection-content .elementor-col-33:last-of-type {
    margin-right: 0;
}
.videocontainer * {
    min-height: 700px !important;
    height: 700px !important;
}
.videocontainer video {
    height: 101% !important;
    margin-left: -5px;
    margin-top: -2px;
    min-width: calc(100% + 9px) !important;
}
.elementor-widget-video .elementor-wrapper {
    aspect-ratio: unset !important;
}
.intronews {
    margin-top: 20px;
    padding-right: 50px;
}
.intronews:before {
    content: '';
    position: absolute;
    height: 3px;
    width: 40px;
    background-color: #EEAF30;
    top: -15px;
}
.intronews .elementor-container, .blogslider-regulatory .elementor-container, .teamslider .elementor-container {
    padding-left: 0 !important;
}
.intronews h6 {
    font-size: 18px;
    margin-bottom: 10px;
}
.intronews p {
    font-size: 20px;
    line-height: 26px;
}
#introsection-content .a-image::after {
    content: '';
    position: absolute;
    height: 140px;
    width: 140px;
    background-color: white;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 0;
    border-radius: 100%;
}
#introsection-content .elementor-col-33 .elementor-widget-image img, #introsection-content .elementor-col-50 .elementor-widget-image img {
    z-index: 1;
    position: relative;
}
#introsection-content .a-image:hover img {
    z-index: 1;
    position: relative;
    animation-name: jackInTheBox;
    -webkit-animation-name: jackInTheBox;
}
#sbc-right {
    padding-top: 100px;
    padding-bottom: 90px;
    max-width: calc(100% - 260px);
    padding-right: calc((100vw - 1600px) / 2);
    padding-left: 260px;
    border-top-left-radius: 500px;
    border-bottom-left-radius: 500px;
    right: 0;
    margin-left: calc(((100vw - 1600px) / 2) + 120px);
}
#sbc-right .elementor-container {
    padding-right: 120px;
    padding-left: 0;
}
.sbc-border-yellow {
    border: 3px solid #EEAF30;
    border-right: 0;
    border-top-left-radius: 250px !important;
    border-bottom-left-radius: 250px !important;
}
#sbc-right .elementor-absolute.elementor-widget-image {
    left: -350px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 213px;
    max-height: 213px;
}
#sbc-left {
    padding-top: 100px;
    padding-bottom: 90px;
    max-width: 70%;
    padding-right: 80px;
    padding-left: calc((100vw - 1638px) / 2);
    border-top-right-radius: 500px;
    border-bottom-right-radius: 500px;
}

@-webkit-keyframes animate__jackInTheBox {
    0% {
        opacity: 0;
        -webkit-transform: scale(.1) rotate(30deg);
        transform: scale(.1) rotate(30deg);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom
    }

    50% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }

    70% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg)
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes animate__jackInTheBox {
    0% {
        opacity: 0;
        -webkit-transform: scale(.1) rotate(30deg);
        transform: scale(.1) rotate(30deg);
        -webkit-transform-origin: center bottom;
        transform-origin: center bottom
    }

    50% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }

    70% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg)
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

#introsection-content .a-image:hover img, .animated-img:hover img, .animated-img:hover svg {
    animation: animate__jackInTheBox 0.8s; /* Ändere die Dauer nach Bedarf */
}

/* Füge eine Animation für das Textelement hinzu, wenn es sichtbar wird */

#introsection-content .elementor-widget-image:hover .elementor-element-fa75e43 {
    animation: fadeIn 0.8s; /* Du kannst die Dauer anpassen */
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.animated-img:before {
    content: '';
    height: 140px;
    width: 140px;
    background-color: #EEAF30;
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 100%;
}
.bg-yellow .animated-img:before {
    background-color: #fff;
}


#boxed-content .elementor-widget-wrap.elementor-element-populated {
    max-width: 85%;
}

.cta-grey .elementor-column:first-of-type, .cta-yellow .elementor-column:first-of-type {
    padding-top: 120px;
    padding-bottom: 70px;
}
.cta-grey .elementor-column:first-of-type, .cta-yellow .elementor-column:first-of-type {
    border-top-right-radius: 250px;
    border-bottom-right-radius: 250px;
    padding-right: 80px;
}
.cta-grey .elementor-column:first-of-type {
    border-top: 2px solid #EEAF30;
    border-bottom: 2px solid #EEAF30;
    border-right: 2px solid #EEAF30;
}
.cta-yellow .elementor-column:first-of-type {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}
.cta-grey .elementor-column:first-of-type:before, .cta-grey .elementor-column:first-of-type:after {
    content: '';
    height: 2px;
    background-color: #EEAF30;
    position: absolute;
    width: 100%;
    left: -80%;
}
.cta-grey .elementor-column:first-of-type:before, .cta-yellow .elementor-column:first-of-type:before {
    top: -2px;
}
.cta-grey .elementor-column:first-of-type:after, .cta-yellow .elementor-column:first-of-type:after {
    bottom: -2px;
}
.cta-yellow .elementor-button {
    background-color: #fff;
    color: var(--grey);
    border: 2px solid var(--yellow);
}
.cta-yellow .elementor-button:hover {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.cta-yellow .elementor-column:first-of-type:before, .cta-yellow .elementor-column:first-of-type:after {
    content: '';
    height: 2px;
    background-color: #fff;
    position: absolute;
    width: 100%;
    left: -80%;
}

.parallax-section{
    padding-top: 150px;
    padding-bottom: 100px;
    color: #fff;
}
.parallax-section .elementor-container {
    max-width: 1100px !important;
    text-align: center;
    padding-left: 0;
}
.elementor-button{
    background-color: var(--yellow);
    font-size: 22px;
    border-radius: 15px;
    margin-top: 25px;
    border: 2px solid var(--yellow);
}
.elementor-button:hover, .parallax-section .elementor-button:hover {
    background-color: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}
.bg-yellow .elementor-button:hover {
    background-color: var(--grey);
    color: #fff;
}
.parallax-section .elementor-button:hover {
    background-color: #fff;
}

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––– TIMELINE ––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
.timeline-section {
    margin-top: 70px;
    position: relative;
}
.ag-timeline_list {
    margin-left: 120px;
    padding-right: 240px;
}
.ag-timeline_item {
    position: relative;
}
.ag-timeline_line {
    width: 3px;
    background-color: #393935;
    position: absolute;
    top: 2px;
    bottom: 0;
    overflow: hidden;
    left: 33px;
}
.ag-timeline_line-progress {
    width: 100%;
    height: 20%;
}
.ag-timeline-card_point {
    height: 80px;
    width: 80px;
    background: #3C424F;  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.js-ag-active .ag-timeline-card_point, .ag-timeline_line-progress {
    background-color: #EEAF30;
}
.timeline-regulatory .ag-timeline_line-progress, .timeline-regulatory .js-ag-active .ag-timeline-card_point {
    background-color: #86817E;
}
.timeline-audit .ag-timeline_line-progress, .timeline-audit .js-ag-active .ag-timeline-card_point {
    background-color: #F3F2EE;
}
.ag-timeline-card_item {
    display: inline-block;
    margin: -50px 0 30px 0;
    position: relative;
    padding: 30px 30px 30px 50px;
    border-radius: 55px;
    transform: translateY(-70px);
    width: 100%;
}
.js-timeline_item.js-ag-active .ag-timeline-card_item, .js-timeline_item.js-ag-active .ag-timeline-card_item :before {
    background-color: #F3F2EE;
}
.timeline-advisory .js-timeline_item.js-ag-active .ag-timeline-card_item, .timeline-advisory .js-timeline_item.js-ag-active .ag-timeline-card_item :before {
    background-color: #EEAF30;
}
.timeline-advisory ul li::marker {
    color: #3C424F !important;
}
.timeline-regulatory .js-timeline_item.js-ag-active .ag-timeline-card_item, .timeline-regulatory .js-timeline_item.js-ag-active .ag-timeline-card_item :before {
    background-color: #86817E;
    color: #fff;
}
.timeline-regulatory ul li::marker {
    color: #86817E !important;
}
.js-timeline_item.js-ag-active .ag-timeline-card_item :before{
    height: 18px;
    width: 18px;
    margin-top: 20px;
    z-index: -1;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    content: '';
    position: absolute;
    top: 30px;
    left: -8px;
}
.ag-timeline-card_box {
    margin-left: -125px;
}

.border-yellow {
    border: 3px solid #EEAF30;
    border-top-left-radius: 300px !important;
    border-bottom-left-radius: 300px !important;
    border-right: 0;
}
.regulatory-blogsection > .elementor-container {
    padding-right: 70px;
}
.blogslider-regulatory section {
    margin: 0;
    padding: 100px 30px;
    border: 3px solid #3C424F;
    border-radius: 150px;
    text-align: center;
}
.blogslider-regulatory .swiper-pagination, .teamslider .swiper-pagination {
    margin-top: 20px;
}
.blogslider-regulatory .swiper-pagination-bullet, .teamslider .swiper-pagination-bullet {
    height: 15px !important;
    width: 15px !important;
    background-color: #fff !important;
    border: 1px solid #3C424F;
    opacity: 1;
}
.blogslider-regulatory .swiper-pagination-bullet {
    border: 1px solid #3C424F;
}
.teamslider .swiper-pagination-bullet {
    border: 1px solid #EEAF30;
}
.blogslider-regulatory .swiper-pagination-bullet-active {
    background-color: #3C424F !important;
}
.blogslider-regulatory p {
    font-size: 18px;
    line-height: 23px;
    margin-top: 20px;
    transition: 0.5s ease-in-out;
}
.blogslider-regulatory .elementor-section {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
}
.blogslider-regulatory .elementor-section:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    background-color: #3C424F;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: 0.3s ease-in-out;
}
.blogslider-regulatory .swiper-slide:hover .elementor-section:after {
    height: 100%;
    transition: 0.3s ease-in-out;
}
.blogslider-regulatory .swiper-slide:hover .elementor-section:before {
    height: 60%;
    transition: 0.5s ease-in-out;
}
.blogslider-regulatory .swiper-slide:hover * {
    color: #fff !important;
    transition: 0.5s ease-in-out;
}
.teamslider .swiper-pagination-bullet-active {
    background-color: #EEAF30 !important;
}
.member-details {
    position: absolute;
    height: 100%;
    background-color: #EEAF30;
    margin-top: 0 !important;
    padding-left: 50px;
    padding-right: 50px;
    top: 100%;
    transition: 0.5s ease-in-out;
}
.team.type-team:hover .member-details {
    top: 0;
    transition: 0.5s ease-in-out;
}
.team.type-team .elementor-container{
    overflow: hidden;
    border-radius: 60px;
}
.member-details .elementor-container {
    position: absolute;
    bottom: 100px;
    border-radius: 0 !important;
    padding-right: 50px !important;
}
.member-details .elementor-widget-theme-post-title {
    margin-bottom: 20px;
}
.team.type-team img {
    transform: translateY(0);
    transition: 0.5s ease-in-out;
}
.team.type-team:hover img {
    transform: translateY(-100%);
    transition: 0.5s ease-in-out;
}
.gform_body {
    margin-top: 50px;
}
label.gfield_label {
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 1 !important;
}
.gfield input, .gfield textarea {
    border-radius: 0;
    padding: 15px !important;
}
.gform_button {
    background-color: var(--yellow);
    font-size: 22px;
    border-radius: 15px;
    margin-top: 25px;
    display: inline-block;
    line-height: 1;
    padding: 12px 24px;
    color: #fff;
    text-align: center;
    transition: all .3s;
    border: 0;
    border: 2px solid var(--yellow);
}
.gform_button:hover {
    background-color: #fff;
    color: var(--yellow);
}
.gchoice label {
    font-size: 20px !important;
}
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    max-width: none!important;
    position: relative;
    padding-left: 45px;
}
.gfield--type-choice {
    margin: 20px 0!important;
}
.gform_wrapper [type="checkbox"]+label::before {
    width: 25px;
    height: 25px;
    background-color: transparent;
    display: block;
    content: "";
    float: left;
    margin-right: 5px;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 0;
    border: 1px solid var(--grey);
    transform: translateY(-50%);
    border-radius: 7px;
}
.gform_wrapper input[type="checkbox"]:checked+label::before {
    background-color: var(--yellow);
    box-shadow: inset 0 0 0 5px #fff;
}
.gform_wrapper .gfield-choice-input {
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    padding: 0;
}
.gform_footer {
    float: right;
}
.gfield a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-position: under;
}
.gform_wrapper.gravity-theme .gform_validation_errors {
    border: 0;
    box-shadow: unset;
    background-color: unset;
    padding: 0;
    margin-top: 30px;
}
.gform_validation_errors h2{
    font-size: 20px !important;
}
span.gfield_required.gfield_required_text {
    color: var(--grey) !important;
}

.r-image-button {
    height: 100% !important;
    min-height: 100%;
}
.r-image-button .elementor-button {
    height: 130px;
    width: 130px;
    border-radius: 100%;
    padding: 10px;
    align-content: center;
    display: grid;
    left: 0;
    right: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}
.cta-grey .r-image-button .elementor-button {
    background-color: #F3F2EE;
    bottom: 80px !important;
    top: unset;
    border: 2px solid var(--yellow);
    color: var(--yellow);
}
.cta-grey .r-image-button{
    width: 100% !important;
    min-width: 100%;
}
.cta-grey .r-image-button .elementor-button:hover {
    background-color: var(--yellow);
    color: #fff;
}
.cta-yellow .r-image-button .elementor-button {
    color: #fff !important;
    background-color: var(--yellow);
    border: 2px solid #fff;
}
.cta-yellow .r-image-button .elementor-button:hover {
    color: var(--yellow) !important;
    background-color: #fff;
}
.clienticons{
    padding-top: 100px;
    padding-bottom: 90px;
}
.clienticons .elementor-container {
    padding-right: 140px;
}
.clienticons .elementor-container .elementor-container {
    padding-left: 0;
    padding-right: 0;
}
.elementor-widget-icon-box.animated-img:before {
    top: -60px !important;
    width: 130px;
    height: 130px;
}
.locationboxes {
    max-width: 70%;
    padding-left: calc((100vw - 1638px) / 2);
    position: relative;
    margin-bottom: 0 !important;
    margin-top: -200px !important;
}
.locationboxes .elementor-container {
    padding-left: 280px !important;
}
.locationboxes .elementor-column {
    background-color: #fff;
    border: 2px solid #3C424F;
    margin-left: 50px;
    border-radius: 50px;
}
.locationboxes .elementor-column{
    padding: 50px;
}
.locationboxes .elementor-column:first-of-type {
    margin-left: 0;
}
#contactintro {
    margin-bottom: 55px !important;
}
.box-content {
    position: absolute;
    height: calc(100% + 110px);
    width: calc(100% + 100px) !important;
    background-color: #EEAF30;
    margin-top: 0 !important;
    padding: 60px 50px 50px 50px;
    left: -50px;
    transform: translateY(calc(100% + 50px));
    transition: 0.5s ease-in-out;
    font-size: 20px;
}
.archiveposts .e-loop-item {
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 90%;
    padding-right: 50px;
    position: relative;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 2px solid var(--yellow);
    border-radius: 50px;
    transition: 0.5s ease-in-out;
}
.archiveposts .e-loop-item:nth-child(even) {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.archiveposts .e-loop-item:nth-child(even):before {
    content: '';
    position: absolute;
    height: calc(100% + 4px);
    width: calc((100vw - 50%) / 2 );
    left: calc((100vw - 50%) / -2);
    top: -2px;
    border-top: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    transition: 0.5s ease-in-out;
}
.archiveposts .e-loop-item:nth-child(odd) {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.archiveposts .e-loop-item:nth-child(odd):before {
    content: '';
    position: absolute;
    height: calc(100% + 4px);
    width: calc((100vw - 50%) / 2 );
    right: calc((100vw - 50%) / -2);
    top: -2px;
    border-top: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    transition: 0.5s ease-in-out;
}
.archiveposts .e-loop-item:hover, .archiveposts .e-loop-item:hover:before {
    background-color: var(--yellow);
    transition: 0.5s ease-in-out;
}
.archiveposts .e-loop-item:hover .elementor-button {
    color: #fff;
    border: 2px solid #fff;
}
.archiveposts .e-loop-item .elementor-post-info__item, .singlepost .elementor-post-info__item {
    font-weight: bolder;
}
.archiveposts .e-loop-item .elementor-heading-title, .archiveposts .e-loop-item .elementor-post-info__item {
    margin-bottom: 15px;
}
.page-up {
    position: absolute;
    top: -165px;
}
.credits{
    margin-top: 80px;
}
.credits .elementor-container {
    padding-left: 0;
}
footer{
    background-color: var(--grey);
    color: #fff;
    padding-top: 120px;
    padding-bottom: 60px;
    line-height: 40px;
}
footer a, footer a:hover {
    color: #fff !important;
}
footer a:hover {
    text-decoration: underline;
    text-underline-position: under;
}
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––– RESPONSIVE ––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
@media screen and (max-width: 1900px){
    #sbc-right {
        max-width: 100%;
      }
}
@media screen and (max-width: 1800px){
    header .elementor-container {
        padding-left: 140px;
        padding-right: 80px;
    }
    section .elementor-container {
        padding-left: 280px;
    }
    .videocontainer * {
        min-height: 550px !important;
        height: 550px !important;
    }
    .introsection {
        margin-bottom: 250px !important;
    }
    #introsection-content {
        max-width: 80%;
    }
    .intronewscontainer {
        max-height: 400px;
    }
    #sbc-right .elementor-container {
        padding-left: 80px;
    }
    .page-up {
        position: absolute;
        top: -165px;
        max-width: 100%;
        left: 0;
        right: 0;
        padding-right: 80px;
    }
    #sbc-right {
        max-width: calc(100% - 280px);
        padding-right: 80px !important;
        padding-left: 80px !important;
        margin-left: 280px;
        width: 100%;
    }
    #sbc-right .elementor-absolute.elementor-widget-image {
        left: -260px;
    }
    #introsection-content {
        transform: translateY(calc(50% + 70px));
    }
    .locationboxes {
        max-width: 80%;
        margin-top: -100px !important;
    }
    #contactintro {
        margin-bottom: 130px !important;
    }
    .archiveposts .e-loop-item > section > .elementor-container {
        padding-left: 140px !important;
    }
    .regulatory-blogsection > .elementor-container {
        padding-right: 140px;
    }
}
@media screen and (max-width: 1700px){
    .teamslider .elementor-container {
        max-width: 90% !important;
    }
}
@media screen and (max-width: 1650px){
    #sbc-right {
        padding-right: 80px;
    }
}
@media screen and (max-width: 1600px){
    .videocontainer .elementor-widget-video {
        width: 100% !important;
    }
}
@media screen and (max-width: 1500px){
    footer > .elementor-container {
        padding-right: 140px;
    }
    footer .elementor-inner-section .elementor-col-25:first-of-type, footer .elementor-inner-section .elementor-col-25:nth-child(2) {
        width: 20%;
    }
    footer .elementor-inner-section .elementor-col-25:nth-child(3), footer .elementor-inner-section .elementor-col-25:nth-child(4) {
        width: 30%;
    }
}
@media screen and (max-width: 1400px){
    html, body, .intronews p{
        font-size: 18px;
        line-height: 30px;
    }
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: calc(100vw - 140px);
    }
    header .elementor-container {
        padding-left: 0;
        padding-right: 0;
    }
    section .elementor-container {
        padding-left: 0;
    }
    html.lock-scroll {
        overflow: hidden;
    }
    .nav-overlay nav {
        margin-top: 50px !important;
        padding-left: 10px;
    }
    .nav-overlay * {
        color: var(--grey) !important;
    }
    .nav-open::after {
        visibility: visible;
        opacity: 0.8;
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0;
        padding-top: 30px;
        padding-bottom: 60px;
        visibility: hidden;
        pointer-events: none;
        -webkit-transform: perspective(1px) translate3d(0, -20%, 0);
        -moz-transform: perspective(1px) translate3d(0, -20%, 0);
        -o-transform: perspective(1px) translate3d(0, -20%, 0);
        transform: perspective(1px) translate3d(0, -20%, 0);
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        z-index: 250;
        background-color: #fff;
        color: var(--grey);
        overflow-y: scroll !important;
    }
    .nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        -webkit-transform: perspective(1px) translate3d(0, 0, 0);
        -moz-transform: perspective(1px) translate3d(0, 0, 0);
        -o-transform: perspective(1px) translate3d(0, 0, 0);
        transform: perspective(1px) translate3d(0, 0, 0);
        z-index: 50000;
    }
    .nav-overlay nav li:first-of-type a::after, .nav-overlay nav li:nth-child(2) a::after, .nav-overlay nav li:nth-child(3) a::after, .nav-overlay nav li a::after {
        display: none !important;
    }
    nav li:nth-child(3) a:hover, nav li:nth-child(3).current-menu-item a{
        color: var(--grey) !important;
    }
    .current-menu-item a{
        font-weight: bolder;
    }
    .nav-overlay nav ul {
        border: 2px solid var(--yellow);
        border-radius: 150px;
        padding-top: 150px;
        padding-bottom: 150px;
    }
    nav ul li {
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    nav li a {
        font-size: 25px;
        line-height: 1 !important;
    }
    h1 {
        font-size: 40px;
        line-height: 55px;
    }
    h3 {
        margin-bottom: 20px !important;
    }
    .introsection {
        height: unset !important;
        min-height: unset !important;
        margin-bottom: 50px !important;
    }
    #introsection-content {
        top: 0;
        padding-left: 70px;
        margin-top: 50px;
        max-width: 90%;
        width: auto;
        position: relative;
        transform: unset;
    }
    .videocontainer * {
        min-height: 0 !important;
        height: 0 !important;
    }
    .intronewscontainer {
        max-height: unset;
    }
    #introsection-content .elementor-col-33 {
        max-width: 199px;
        margin-left: 40px;
        margin-right: 40px;
    }
    #introsection-content .a-image::after {
        height: 115px;
        width: 115px;
    }
    #introsection-content .elementor-col-33 {
        font-size: 22px;
    }
    #sbc-right {
        max-width: 90%;
        margin-left: 10%;
    }
    #sbc-left {
        max-width: 90%;
        padding-left: 70px;
    }
    .cta-grey .elementor-column:first-of-type:before, .cta-grey .elementor-column:first-of-type:after{
        display: none;
    }
    .cta-grey .elementor-column:first-of-type {
        border: 2px solid #EEAF30;
        border-radius: 250px;
        /*padding-left: 80px;*/
        padding-left: 30px;
        padding-right: 30px;
    }
    .cta-grey .r-image-button, .cta-yellow .r-image-button {
        position: relative !important;
    }
    .cta-grey .r-image-button .elementor-button, .cta-yellow .r-image-button .elementor-button {
        bottom: 0 !important;
        position: relative;
        top: 0;
    }
    #sbc-right .elementor-absolute.elementor-widget-image {
        left: -235px;
    }
    .cta-yellow .elementor-column:first-of-type:before, .cta-yellow .elementor-column:first-of-type:after{
        display: none;
    }
    .cta-yellow .elementor-column:first-of-type {
        border-radius: 250px;
        padding-left: 80px;
        padding-right: 80px;
        border: 2px solid #fff;
    }
    .clienticons .elementor-container {
        padding-right: 0;
    }
    #sbc-right .elementor-container {
        padding-right: 0;
    }
    .quicklinks .elementor-widget-icon-box {
        margin-bottom: 30px !important;
    }
    .quicklinks .animated-img:before {
        height: 130px;
        width: 130px;
    }
    .blogslider-regulatory {
        padding-right: 0px;
    }
    .blogslider-regulatory .swiper-pagination, .teamslider .swiper-pagination {
        margin-top: 30px;
    }
    #contactintro {
        margin-bottom: 80px !important;
    }
    .locationboxes {
        max-width: 100% !important;
        margin-top: -130px !important;
    }
    .locationboxes .elementor-container {
        padding-left: 0px !important;
    }
    .locationboxes .elementor-column {
        width: 40%;
    }
    .archiveposts .e-loop-item {
        padding-left: 50px;
    }
    .page-up {
        top: -125px;
        padding-right: 0px;
    }
    footer {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    footer .elementor-inner-section .elementor-col-25:first-of-type, footer .elementor-inner-section .elementor-col-25:nth-child(2) {
        width: 40%;
    }
    footer .elementor-inner-section .elementor-col-25:nth-child(3), footer .elementor-inner-section .elementor-col-25:nth-child(4) {
        width: 50%;
    }
    footer > .elementor-container {
        padding-right: 0;
    }
    .archiveposts .e-loop-item > section > .elementor-container {
        padding-left: 40px !important;
    }
    .regulatory-blogsection > .elementor-container {
        padding-right: 0px;
    }
    .elementor-button {
        font-size: 18px;
    }
}
@media screen and (max-width: 1200px){
    #introsection-content .elementor-col-33 {
        max-width: 180px;
        margin-left: 15px;
        margin-right: 15px;
    }
    #introsection-content .elementor-col-33 {
        font-size: 22px;
    }
    #introsection-content .elementor-col-33 .elementor-widget-text-editor{
        margin-top: 15px;
    }
    .parallax-section .elementor-container {
        max-width: calc(100vw - 140px) !important;
    }
    .js-timeline_line, .ag-timeline-card_box {
        opacity: 0;
    }
    .ag-timeline_list {
        margin-left: 0;
        padding-right: 0;
    }
    .js-timeline_item.js-ag-active .ag-timeline-card_item :before{
        display: none;
    }
    .ag-timeline-card_item {
        margin: -50px 0 0px 0;
        padding: 40px 60px 60px 80px;
        border-radius: 55px;
        transform: unset;
        width: 100%;
    }
}
@media screen and (max-width: 920px){
    .locationboxes .elementor-column {
        width: 100%;
        margin: 0;
    }
    .locationboxes .elementor-column:first-of-type {
        margin-left: 0;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 850px){
    #introsection-content .elementor-col-33 {
        max-width: 150px;
    }
}
@media screen and (max-width: 767px){
    .page-content section {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .elementor-section.elementor-section-boxed > .elementor-container, .parallax-section .elementor-container {
        max-width: calc(100vw - 60px) !important;
    }
    .nav-overlay nav ul {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .nav-overlay nav ul li {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    h1 {
        font-size: 37px;
        line-height: 50px;
    }
    h2 {
        font-size: 33px;
    }
    #introsection-content {
        border-radius: 500px;
    }
    #introsection-content .elementor-col-33 {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    #introsection-content .elementor-col-33 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #introsection-content {
        margin-left: 30px;
        margin-right: 30px;
        padding-left: 0;
        padding-right: 0;
    }
    #introsection-content .a-image::after {
        height: 100px;
        width: 100px;
    }
    .intronewscontainer, .intronews {
        padding-right: 0px;
    }
    #sbc-right {
        max-width: 100%;
        margin-left: 0;
        border-radius: 0;
        padding: 60px 30px !important;
    }
    #sbc-right .elementor-container {
        padding-right: 0;
        padding-left: 0;
    }
    #sbc-left {
        max-width: 100%;
        padding: 60px 30px;
        border-radius: 0;
    }
    .timeline-section {
        margin-top: 20px;
    }
    .ag-timeline-card_item {
        margin: -50px 0 -10px 0;
        padding: 20px 20px 30px 30px;
        border-radius: 30px;
    }
    .auditintro {
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }
    .sbc-border-yellow .elementor-absolute.elementor-widget-image {
        position: relative;
        left: 0 !important;
        margin-bottom: 40px;
        height: 170px;
        max-height: 170px;
    }
    .sbc-border-yellow {
        max-width: calc(100% - 60px) !important;
        margin-left: 0;
        border-radius: 0;
        margin-right: 30px !important;
        margin-left: 30px !important;
        border-radius: 500px !important;
        border: 3px solid #EEAF30;
    }
    .sbc-border-yellow .elementor-container{
        padding-bottom: 150px;
    }
    .advisoryintro, .regulatoryintro, .aboutusintro, .ci-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
    }
    #sbc-right.quicklinks {
        padding-top: 200px !important;
    }
    .archiveposts .e-loop-item {
        padding-left: 30px;
        padding-right: 30px;
    }
    .page-up {
        top: -115px;
    }
    footer {
        padding-top: 70px;
    }
    footer .elementor-inner-section .elementor-col-25:first-of-type, footer .elementor-inner-section .elementor-col-25:nth-child(2) {
        width: 100%;
    }
    footer .elementor-inner-section .elementor-col-25:nth-child(3), footer .elementor-inner-section .elementor-col-25:nth-child(4) {
        width: 100%;
    }
    .archiveposts .e-loop-item {
        max-width: 100%;
    }
    .archiveposts .e-loop-item > section > .elementor-container {
        padding-left: 0 !important;
    }
}
@media screen and (max-width: 500px){
    .parallax-section{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .sbc-border-yellow .elementor-container {
        padding-bottom: 100px;
    }
    .locationboxes .elementor-column {
        padding: 100px 30px 30px 30px;
    }
    .box-content {
        padding: 60px 30px 30px 30px;
    }
}