/* Infinity Scroll */
.infinity-scroll {
	overflow: hidden scroll;
}

/* Make sections being edited/modified with elementor */
section:not(.elementor-section):not(#header):not(#footer),
section:not(.elementor-section):not(#header):not(#footer) > .container,
section:not(.elementor-section):not(#header):not(#footer) > .container > .content-wrapper {
	background: transparent;
}

/* 404 page */
#page-404 {
	min-height: 80vh;
	display: flex;
    justify-content: center;
    align-items: center;
}

/* Fonts blocks modification */
.display-3 {
	font-family: 'IBM Plex Sans', sans-serif;
    font-size: 24px;
    line-height: 31px;
}

.display-6 {
	font-family: 'IBM Plex Sans', sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

/* Tabs */
.etcetera-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    list-style-type: none;
}

.etcetera-tabs .tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 11px;
    margin: 8px;
    background: #FFFFFF;
    border: 1px solid #D6D6D6;
    box-sizing: border-box;
    border-radius: 4px;
    cursor: pointer;
}

.etcetera-tabs .tab span {
    font-family: IBM Plex Sans;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #000000;
}

.etcetera-tabs .tab:not(.tab--all):not(.tab--active),
.etcetera-tabs .tab:not(.tab--all):not(.tab--active) span {
    transition: all .5s ease;
}

.etcetera-tabs .tab:not(.tab--all):hover,
.etcetera-tabs .tab--active:not(.tab--all) {
	background: #041C12;
	border-color: #041C12;
}

.etcetera-tabs .tab:not(.tab--all):hover span,
.etcetera-tabs .tab--active:not(.tab--all) span {
    cursor: pointer;
}

.etcetera-tabs .tab--all {
	cursor: pointer;
}

.etcetera-tabs .tab--all span {
	color: #fff;
}

.etcetera-tabs .tab--active {
	cursor: default;
}

/* Container class modification */
@media screen and (min-width: 1200px){
	#archive-video-section > .container {
		max-width: 1300px;
	}
}

/* Get a Quote button */
.get-a-quote-btn {
    display: block;
    width: max-content;
    margin: auto;
}

/* Language switcher */
.pll-parent-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.pll-parent-menu-item:after {
    content: ' ';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: currentColor transparent transparent transparent;
    transition: transform .3s ease;
}

.pll-parent-menu-item > .sub-menu {
    display: none;
    list-style-type: none;
    position: absolute;
    top: 40px;
    padding: 0;
    background-color: #fff;
    width: max-content;
    max-width: 200px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%);
}

.pll-parent-menu-item > .sub-menu li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.pll-parent-menu-item > .sub-menu li:after {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 20px;
    display: block;
    width: 24px;
    margin: auto;
    height: 1px;
    background-color: rgba(0, 0, 0, .2);
}

.pll-parent-menu-item > .sub-menu li:last-child:after {
    display: none;
}

.pll-parent-menu-item > .sub-menu li:hover a {
    opacity: .6;
}

.pll-parent-menu-item--active:after {
    transform: rotate(-180deg);
}

.pll-parent-menu-item--active > .sub-menu {
    display: block;
}

/* Modal */
.modal-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    z-index: 2;
}

.modal-wrapper--active {
    display: flex;
}

.modal-wrapper > .modal-loader {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #fff #fff #fff transparent;
    animation: circle-rotate 1.5s linear infinite;
}

.modal-wrapper > .modal {
    background: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(62, 62, 62, 0.25);
    border-radius: 8px;
    width: 90%;
    height: 90%;
    max-width: 800px;
    max-height: 650px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.modal-wrapper > .modal .modal__close {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    z-index: 4;
    cursor: pointer;
}

.modal-wrapper > .modal .modal__content {
    padding: 20px;
    width: 90%;
    max-width: 660px;
    margin: auto;
}

.modal-wrapper > .modal .modal__content img {
    display: block;
    margin: 0 auto 27px;
    width: 124px;
    height: 120px;
    object-fit: cover;
}

.modal-wrapper > .modal .modal__content .btn {
    display: block;
    margin: 28px auto 0;
    width: max-content;
}

.modal-wrapper > .modal .modal__content p {
    text-align: center;
    font-family: IBM Plex Sans;
    font-style: normal;
    color: #453737;
}

.modal-wrapper > .modal .modal__content .title {
    margin-bottom: 17px;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
}

.modal-wrapper > .modal .modal__content .subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    margin-bottom: 0;
}

/* Notion button */
.etc-notion-btn {
    background: #FFFFFF;
    border: 1px solid #453737;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px rgb(62 62 62 / 25%);
    border-radius: 4px;
    font-family: IBM Plex Sans;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #041C12;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 24px 12px;
    width: 100%;
}

.etc-notion-btn img.emoji {
    margin-right: 10px !important;
}

/* Scroll top svg */
.scroll-top {
    position: fixed;
    cursor: pointer;
    width: 48px;
    height: 48px;
    right: 60px;
    bottom: 80px;
    z-index: 1;
}

.scroll-top circle {
    transition: all .3s ease;
}

.scroll-top:hover circle {
    fill: #181818;
}

/* Images list */
.etc-images-list .item-wrapper img {
    object-fit: contain !important;
}

.etc-images-list .item-wrapper .item-img {
    height: auto;
}

/* Media */
@media screen and (max-width: 991px) {
    /* Language switcher */
    .pll-parent-menu-item {
        display: block;
        padding-bottom: 10px;
    }

    .pll-parent-menu-item:after {
        position: absolute;
        display: block;
        right: 0;
        top: 15px;
    }

    .pll-parent-menu-item > .sub-menu {
        position: static;
    }

    /* Scroll top svg */
    .scroll-top {
        width: 36px;
        height: 36px;
        right: 20px;
        bottom: 20px;
    }

}

@media screen and (max-width: 767px){
    /* Images list */
    .etc-images-list .item {
        width: 50%;
    }

    /* Elementor fixes */
    .etc-button-full-width-mobile a {
        width: 100% !important;
    }
}

/* Keyframes */
@keyframes circle-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}