/* 
Theme Name: Spectris Theme
Description: Spectris theme is a child theme of Hello Elementor, created by G-agency
Author: G-agency
Author URI: https://g-team.org
Template: hello-elementor
Version: 1.0.1
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
*/


/* Margin bottom for text editor paragraphs */
.elementor-widget-text-editor .elementor-text-editor> :last-child,
.elementor-widget-text-editor .elementor-widget-container> :last-child {
	margin-bottom: 0;
}

/* Gradiuen button */
.gradient-button .elementor-button {
    /*background: linear-gradient(90deg, rgba(252, 183, 255, 1) 0%, rgba(139, 228, 255, 1) 50%, rgba(220, 255, 74, 1) 100%;*/
    background: linear-gradient(90deg, rgba(252, 183, 255, 1) 0%, rgba(139, 228, 255, 1) 25%, rgba(220, 255, 74, 1) 50%, rgba(139, 228, 255, 1) 75%, rgba(252, 183, 255, 1) 100%);
    background-size: 200%;
    transition: background-position 0.3s ease;
}

.gradient-button .elementor-button:hover {
    background-position: 100% 0%;
}

#video-02 video {
	transition: opacity 0.5s ease;
}

#video-02 video.video-hide  {
    opacity: 0;
}

#videos-box {
	position: relative;
/* 	overflow: hidden; */
}

body:not(.elementor-editor-active) #videos-box.video-show:before {
	opacity: 0;
}

body:not(.elementor-editor-active) #videos-box:before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #fff;
	opacity: 1;
	transition: opacity 0.7s ease;
	z-index: 40;
}

#videos-box:after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 10px solid #fff;
	z-index: 30;
}
/* 
#video-01, #video-02 {
	max-width: none !important;
	max-height: none !important;
	width: calc(100% + 4px) !important;
	height: calc(100% + 4px) !important;
	margin-left: -2px;
	margin-top: -2px;
} */


/* --- Animations --- */
@keyframes fadeInUpNew {
	from {
		opacity: 0;
		transform: translate3d(0, 20px, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.fadeInUp {
	animation-name: fadeInUpNew !important;
}

@keyframes fadeInRightNew {
	from {
		opacity: 0;
		transform: translate3d(20px, 0, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.fadeInRight {
	animation-name: fadeInRightNew !important;
}

@keyframes fadeInLeftNew {
	from {
		opacity: 0;
		transform: translate3d(-20px, 0, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.fadeInLeft {
	animation-name: fadeInLeftNew !important;
}




html, body {
    scroll-behavior: unset !important;
}

.elementor-kit-61 {
    /* Heading H2 */
    --e-global-typography-593f008-font-size: clamp(70px, 10.4vw, 200px) !important;
}

body:not(.elementor-editor-active) #menu-toggle-btn, body:not(.elementor-editor-active) .header-logotype {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.site--scrolled #menu-toggle-btn, body.site--scrolled .header-logotype {
   opacity: 1;
    visibility: visible;
}

@media (max-width: 1200px) {
    .team-box {
        --default-width: calc(100vw / 5);
    }
    
    body:not(.elementor-editor-active) .team-box  {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    .team-box .team-item {
        flex-shrink: 0 !important;
        /* flex-basis: var(--default-width); */
        transition: none !important;
    }
    
    body:not(.elementor-editor-active) .team-box .team-item {
        display: block !important;
        position: static !important;
    }
    
    .team-box .team-item-image {
        cursor: pointer;
        width: 100%;
        height: 73vw;
        transition: none !important;
    }
    
    .team-box .team-item-image .elementor-widget-container {
        position: relative;
        transition: none !important;
    }
    
    .team-box .team-item.active .team-item-image img {
        opacity: 1;
    }
    
    .team-box .team-item-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.5;
        object-fit: cover;
        object-position: 34% 0%;
        transition: object-position 0.5s ease, opacity 0.5s ease;
    }
    
    .team-box .team-item-content {
        transition: none !important;
    }
    
    body:not(.elementor-editor-active) .team-box .team-item-content  {
        width: 100vw;
        padding: 20px;
        position: absolute;
        top: 73vw;
        left: 0;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(20px);
        transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease !important;
    }
    
    .team-box .team-item.active .team-item-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    body:not(.elementor-editor-active) .team-box .team-item-text {
        width: 100% !important;
        max-width: 100% !important;
        transition: none !important;
        overflow: hidden;
    }
    
   .team-box .team-item-text p {
       margin-bottom: 1.1em;
   }
   
   .team-box .read-more-divider, 
   .team-box .read-more-btn {
       display: block !important;
   }
   
   .team-box .team-slider-buttons {
        width: 100%;
        position: absolute;
        z-index: 10;
        right: 0;
        top: calc(73vw - 49px);
        height: 50px;
        display: flex !important;
        justify-content: flex-end;
        width: max-content;
    }
    
    .team-box .team-slider-buttons .elementor-button {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}



/* Desktop */
@media (min-width: 1201px) {
    .team-box {
/*         --default-width: calc(100vw / 7); */
/* 		--photo-height: 32.3vw; */
		/* if 8 team members */
		--photo-height: 29vw;
		--default-width: calc(100vw / 10);
    }
    
    body:not(.elementor-editor-active) .team-box  {
        flex-direction: row !important
    }
    
    .team-box .team-item {
        flex-basis: var(--default-width);
        transition: none !important;
    }
    
    body:not(.elementor-editor-active) .team-box .team-item {
        flex-direction: row !important;
    }
    
    .team-box .team-item-image {
        cursor: pointer;
        width: var(--default-width);
        height: var(--photo-height);
        transition: none !important;
        /* max-height: 620px; */
    }
    
    .team-box .team-item-image img {
        opacity: 1;
        transition: opacity 0.5s ease;
    }
    
    .team-box .team-item-image:hover img {
        opacity: 0.8;
    }
    
    .team-box .team-item-image .elementor-widget-container {
        position: relative;
        transition: none !important;
    }
    
    .team-box .team-item-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        object-fit: cover;
        object-position: 50% 0%;
    }
    
    .team-box .team-item-content {
        display: flex !important;
        transition: none !important;
    }
    
    body:not(.elementor-editor-active) .team-box .team-item-content  {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
    }
}


@media (max-width: 1760px) {
    .team-box .team-item .gradient-button .elementor-button {
        font-size: 18px !important;
    }	
}

@media (max-width: 1600px) {
    .team-box .team-item .gradient-button .elementor-button {
        font-size: 16px !important;
		padding: 9px 14px 9px 14px !important;
    }	
}

@media (min-width: 1201px) and (max-width: 1450px) {
    .team-box .team-item-name .elementor-heading-title {
        font-size: 45px !important;
    }
    
    .team-box .team-item .elementor-widget-text-editor {
        font-size: 16px !important;
        --container-widget-width: 300px;
    }
    
    .team-box .team-item .gradient-button .elementor-button {
        font-size: 13px !important;
		padding: 9px 12px 9px 12px !important;
    }
}

@media (max-width: 1200px) {
	.team-box .team-item .gradient-button .elementor-button {
		padding: 13px 18px 13px 18px !important;
	}
}



.private-types-section {
    transition: none !important;
}

.private-type-wrapper {
    transition: none !important;
}

.sp-types-picture--box rect {
	fill: rgba(0,0,0,0);
}


.private-debt-text, .private-equity-text, .sp-types-picture--box rect, .sp-types-picture--box text {
    transition: fill 0.5s ease;
}

.private-types-section.equity-active .private-type-btn.type-01 .elementor-button, 
.private-types-section.debt-active .private-type-btn.type-02 .elementor-button {
    background-color: #000 !important;
    color: #fff !important;
}

.private-types-section.equity-active .private-equity-box rect,
.private-types-section.debt-active .private-debt-box rect {
    fill: #000 !important;
}

.private-types-section.equity-active .private-equity-box text, 
.private-types-section.debt-active .private-debt-box text {
    fill: #fff !important;
}

.private-types-section.equity-active .private-equity-text,
.private-types-section.debt-active .private-debt-text {
    fill: #000;
}

.private-types-section .private-type-box-01, .private-types-section .private-type-box-02 {
    transition: none !important;
}


/* .fixed-circles {} */

.circles-box {
    /* width: 69.375vw !important; */
    /* max-height: 80vh !important; */
    /* position: fixed; */
    /* top: 0; */
}

.circles-box .circles-group {}

.circles-box .circles-group__stroked {
    transition: opacity 0.4s ease;
} 

.circles-box .circles-group__filled {
    opacity: 0;
    transition: opacity 0.4s ease;
} 


.circles-box .circles-group.active .circles-group__stroked {
    opacity: 0;
}

.circles-box .circles-group.active .circles-group__filled {
    opacity: 1;
}

.hided-content {
    overflow: hidden;
    transition: none !important;
}


/* Menu */
body:not(.elementor-editor-active) .sp-menu {
    visibility: hidden;
    opacity: 0;
    transition: none !important;
}

.sp-menu-col {
    transition: none !important;
}

.sp-menu-overlay {
    cursor: pointer;
}


/* Menu toggle */
.menu-btn-icon .menu-btn-icon__rect {
	transition: all 0.35s ease;
	will-change: all;
}

.menu-btn-icon .mbi-rect-01 {
	transform-origin: 18px 25px;
}

.menu-btn-icon .mbi-rect-03 {
	transform-origin: 32px 25px;
}


body.menu--opened .menu-btn-icon .mbi-rect-01 {
	height: 30px;
	transform: rotate(45deg) translateX(5px) translateY(-11.5px);
}

body.menu--opened .menu-btn-icon .mbi-rect-02 {
	transform: translateY(-10px);
	opacity: 0;
}

body.menu--opened .menu-btn-icon .mbi-rect-03 {
	height: 30px;
	transform: rotate(-45deg) translateX(-5px) translateY(-11.5px);
}