/* 
Theme Name: Credilink
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Credilink theme by SpyralAgency
Author: SpyralAgency
Author URI: https://www.spyralagency.com/
Template: hello-elementor
Version: 2.0.3
Text Domain: credilink
*/

/* Add your custom styles here */
.credilink-lang {
    position: relative;
}

.credilink-lang .wpml-language-switcher {
    position: absolute;
    top: 0px;
    left: -6px;
    width: 100%;
    background: white;
    border-radius: 6px;
    display: none;
    padding-top: 4px;
}

.credilink-lang:hover .wpml-language-switcher {
    display: block;
}

.credilink-lang .wpml-language-switcher ul {
    list-style: none;
    font-size: 14px;
    padding: 0;
}

.credilink-lang .wpml-language-switcher a {
    padding: 3px 6px;
    color: var( --e-global-color-452a7d3 );
    display: block;
}

.credilink-lang .wpml-language-switcher a:hover {
    background: var( --e-global-color-2c16b36 );
}

.credilink-lang .wpml-language-switcher li:last-child a {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Hide Blog since no blogposts exist for this language */
html[lang="fr"] .section-custom-blog,
html[lang="en"] .section-custom-blog {
	display: none;
}

/* Mobile Language Switch */
.credilink-mobile-language-switch .wpml-language-switcher__list {
	display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.credilink-mobile-language-switch .wpml-language-switcher__item {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Nunito", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
	border: 0.2px solid transparent;
	overflow: hidden;
}

.credilink-mobile-language-switch .wpml-language-switcher__item.is-active,
.credilink-mobile-language-switch .wpml-language-switcher__item:hover {
    /* Your active styles */
	border: 0.2px solid #111111;
    border-radius: 50%;
}

.credilink-mobile-language-switch .wpml-language-switcher__item a {
	padding: 11px 11px 10px 12px;
}

/* Footer WPML Hide */
.wpml-ls-statics-footer {
	display: none;
}

.non-portuguese-disclaimer {
    color: white;
    background: #fc434f;
    border-radius: 18px;
    padding: 0px 8px;
    display: inline-block;
    font-size: 14px;
    transform: translateY(-40px);
}

@media screen and (max-width: 767px) {
    .non-portuguese-disclaimer {
        transform: translateY(-26px);
    }    
}

@media screen and (max-width: 767px) {
	.cky-btn-revisit-wrapper {
		right: 5px !important;
		bottom: 5px !important;
		left: auto !important;
		z-index: 9 !important;
	}
}

.popup-inner-menu {
	max-height: calc(100svh - 350px);
    overflow: auto;
}
