/*
Theme Name: speaker
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


*{
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

html {
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

body {
    font-family: "Manrope", sans-serif;
    min-height: 100vh;
}


.container {
    max-width: 1300px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    margin-right: auto;
    margin-left: auto;
}

.header{
    margin-top: 2rem;
}

.header .menu-primary-menu-container .menu{
    list-style: none;
}

.header .menu-primary-menu-container .menu li a{
    text-decoration: none;
    color: gray;
    font-size: 0.875rem;
    font-weight: 600;
}

.header .menu-primary-menu-container .menu li a:hover{
    color: #133270;
}

.header .menu-primary-menu-container .menu{
    display: flex;
    gap: 2.5rem;
}

.header .menu-primary-menu-container .menu .current_page_item a{
    color: #133270;
}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn{
    padding: 0.938rem 2rem 0.938rem 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-inline{
    padding: 0.5rem  2rem 0.5rem 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-default-inline{
    border: 1px solid #133270;
    color: #133270;
    font-weight: bold;
}

.btn-default, .btn-elementor-default .elementor-widget-container .elementor-button-wrapper a{
    color: white;
    background: #133270;
    border: 1px solid #133270;
}

.btn-default:hover, .btn-elementor-default .elementor-widget-container .elementor-button-wrapper a:hover{
    background: white;
    color: #133270;
}

.btn-elementor-inline .elementor-widget-container .elementor-button-wrapper a:hover ,
.btn-default-inline-elementor .elementor-widget-container .elementor-button-wrapper a:hover{
    background: #133270;
    color: white ;
}

.btn-default-inline:hover{
    background: #133270;
    color: white;
}


.burger-menu {
    display: none;
}

#site-content{
    margin-top: 1.313rem;
}

.container-images-logos {
    position: relative;
    margin-bottom: 2.5rem;
}

.container-images-logos:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 1px;
    background-color: #D1E3F3;
    margin-left: calc(-50vw + 50%);
}

@media (max-width: 1050px){
    .header .menu-primary-menu-container .menu{
        display: flex;
        gap: 1.5rem;
    }
}

@media (max-width: 940px) {
    .header .menu-primary-menu-container .menu{
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .burger-menu {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        color: #133270;
    }

    #site-content{
        margin-top: 1.813rem;
    }

    .header a img{
        width: 4.25rem;
        height: 2rem;
    }

    .header .menu-primary-menu-container, .header .btn {
        display: none;
    }
	
	#search {
    	display: inline-block;
		padding: 0.538rem 1rem 0.538rem 1rem;
	}

    .header .menu-primary-menu-container.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 8.75rem;
        left: 0;
        background-color: white;
        width: 100%;
        padding: 1rem;
        z-index: 10;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .header .menu-primary-menu-container .menu li {
        width: 100%;
    }

    .header .menu-primary-menu-container .menu li a {
        text-align: left;
        padding: 10px 0;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/*footer*/
.custom-footer {
    background-color: #D1E3F3;
    padding: 40px 0 0 0;
    color: #292D33;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 150px;
}

.footer-columns {
    display: flex;
    gap: 120px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #133270;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #292D33;
}

.footer-column ul li a:hover {
    color: #125798;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-top: 1px solid #F7C297;
    border-bottom: 1px solid #F7C297;
    padding: 40px 0;
}

.footer-company h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #133270;
}

.footer-company ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 250px;
}

.footer-buttons {
    display: flex;
    gap: 20px;
}

.footer-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.request-quotation {
    background-color: #125798;
    color: white;
    border: none;
    transition: background-color 0.3s;
}

.request-quotation:hover {
    background-color: #0d3e66;
}

.subscribe-newsletter {
    background-color: transparent;
    border: 2px solid #133270;
    color: #133270;
    transition: background-color 0.3s, color 0.3s;
}

.subscribe-newsletter:hover {
    background-color: #133270;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-bottom p {
    font-size: 14px;
    color: #9497A1;
}

.footer-links a {
    color: #9497A1;
    margin-right: 20px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #292D33;
}


.mini-footer{
    background: #133270;
    padding: 24px 0;
}

.mini-footer ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.mini-footer ul li a{
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-middle-container{
    display: flex;
    align-items: center;
    flex: 1;
    gap: 36px;
}

#menu-social-menu .menu-item a span{
    display: none;
}

@media (max-width: 900px){
    .footer-middle-container{
        display: flex;
        align-items: center;
        flex-direction: column;
        flex: 1;
    }

    .footer-middle{
        flex-direction: column;
        justify-content: center;
    }

    .footer-socials ul{
        gap: 53px !important;
    }

    .social-links{
        margin-top: 24px;
    }

    .footer-buttons, .footer-top{
        flex-direction: column;
    }

    .footer-column ul li a{
        font-size: 14px;
    }

    .footer-buttons{
        width: 100%;
    }

    .footer-top{
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .footer-middle-container{
        gap: 24px;
    }

    .footer-company ul{
        justify-content: center;
    }

    .footer-column h3, .footer-company h3{
        text-align: center;
    }

    .services{
        flex: 1;
    }

    .mini-footer ul, .footer-bottom{
        flex-wrap: wrap;
    }

    .footer-bottom{
        justify-content: center;
        gap: 24px;
    }

    .services h3{
        text-align: left;
    }
}

.services ul li{
    margin-bottom: 10px;
}

.footer-company ul li a{
    font-size: 14px;
    text-decoration: none;
    color: #292D33;
}

.footer-company ul li{
    border-right: 1px solid #F7C297;
    padding-right: 12px;
}

.social-links a{
    border-radius: 50%;
    background: #125798;
}

.social-links a img{
    padding: 7px;
}

.footer-socials ul{
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-socials ul li a{
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
}

.custom-input {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 45px;
    font-size: 18px;
    font-weight: 500;
    border: 2px solid #9497A1;
    border-radius: 4px;
    color: #6b7280;
    appearance: none;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.counter-item-first .elementor-widget-container .elementor-counter .elementor-counter-number-wrapper .elementor-counter-number::after{
    content: "+";
}


#loader{ display: none; }

.loader-background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1000;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #133270;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0;
        opacity: 1;
    }
}
/*footer*/


/*lang switchers*/
    .items-header-default{
        display: flex;
        align-items: center;
        gap: 1rem;
    }
/*end lang switchers*/


/*modal*/

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Padding for the modal */
    overflow: auto; /* Ensure the modal is scrollable if content is too long */
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px; 
    width: 100%; /* Ensure the content fills available width */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh; /* Set a maximum height relative to the viewport */
    overflow-y: auto; /* Enable vertical scrolling inside the content */
}


.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}


/* form */
.tarjouspyynto_lomake {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.tarjouspyynto_lomake label {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333333;
}

.tarjouspyynto_lomake input[type="text"],
.tarjouspyynto_lomake input[type="email"],
.tarjouspyynto_lomake input[type="tel"],
.tarjouspyynto_lomake input[type="date"],
.tarjouspyynto_lomake textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 4px;/
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s ease;
}

.tarjouspyynto_lomake input[type="text"]:focus,
.tarjouspyynto_lomake input[type="email"]:focus,
.tarjouspyynto_lomake input[type="tel"]:focus,
.tarjouspyynto_lomake input[type="date"]:focus,
.tarjouspyynto_lomake textarea:focus {
    border-color: #007BFF;
    outline: none;
}

.tarjouspyynto_lomake .wpcf7-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.tarjouspyynto_lomake .wpcf7-list-item-label {
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.tarjouspyynto_lomake input[type="submit"] {
    background-color: #133270;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #133270;
}

.tarjouspyynto_lomake input[type="submit"]:hover {
    background-color: transparent;
    color: #133270;
}

.tarjouspyynto_lomake .wpcf7-acceptance label {
    font-size: 12px;
    color: #666666;
}

@media (max-width: 600px) {
    .tarjouspyynto_lomake {
        padding: 15px;
    }

    .tarjouspyynto_lomake input[type="submit"] {
        width: 100%;
    }

    .modal-content{
        margin: 1rem;
        max-height: 700px;
        overflow: scroll;
    }
}


/*end modal*/


/*default blog*/
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: #125798;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

@media (max-width: 800px) {
    .post-title {
        font-size: 2rem;
    }

    .post-body {
        font-size: 1rem;
    }
}

.post-content{
    margin: 40px 0;
}
/*end default blog*/


/*compare speakers action*/
.speakers-buttons-action{
	display:flex;
	gap: 1rem;
}

.speakers-buttons-action a:first-child{
	flex: 1;
}

.speakers-buttons-action a:last-child{
	width: 40px;
    height: 100%;
}

.btn-compare-add, .compare-list-delete{
	background: transparent;
    color: #125798;
	padding: 8px;
	border: 1px solid #125798;
}

.btn-compare-add:hover, .compare-list-delete:hover{
	background: #125798;
	color: white;
}
/*end compare speakers action*/



/*search*/
#searchsubmit{
/* 	color: #fff;
    background: #133270;
    border: 1px solid #133270;
	flex: 15%;
	cursor: pointer;
	border-radius: 0 0.375rem 0.375rem 0; */
	
	display:none;
}

#s{
	width: 100%;
	padding: 10px;
	border-radius: 0.375rem;
	border: 1px solid #133270;
	outline: none;
	margin-bottom: 5px;
}

.relevanssi-live-search-result{
	cursor: pointer;
}
/*end search*/


/*footer column accordion*/
.footer-column.services ul{
    display: none;
}

.footer-column.services h3.active {
    color: #133270;
}

.footer-column.services h3 {
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #F7C297;
}

.footer-column.services h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    color: #133270;
}

.footer-column.services h3.active::after {
    content: '-'; 
    color: #125798;
}

.footer-column h3 .toggle-icon {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    color: #133270;
    font-weight: bold;
}

.footer-column.services{
	min-width: 220px;
}

@media(max-width: 700px){
	.footer-column.services{
		min-width: 130px;
	}
}
/*end footer column accordion*/



/* Submenu */
@media (min-width: 1024px) {
    ul.menu li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
        position: absolute;
        background-color: white;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    ul.menu li ul.sub-menu {
        display: none;
    }

    ul.menu li {
        z-index: 999; 
    }

    ul.menu li ul.sub-menu li {
        margin-bottom: 1rem;
        list-style: none;
    }
	
	ul.menu li ul.sub-menu li:last-child{
		margin-bottom: 5px;
	}

    ul.menu li ul.sub-menu li a {
        color: #333; /* Text color */
        text-decoration: none;
        padding: 0px 10px;
        display: block;
        border-radius: 4px;
    }

    ul.menu li ul.sub-menu li a:hover {
        color: #000;
    }
}

@media (max-width: 1023px) {
    .sub-menu {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        text-align: center;
        margin-top: 1rem;
        list-style: none;
    }
}

/*btn search*/
.btn-containers{
	display: flex;
	gap: 1rem;
}

.btn-containers svg{
	fill:white;
}

.btn-containers a:hover svg{
	fill:#133270;
}
/*end btn search*/


/*category image*/
.category-item a img{
	max-width: 301px;
	max-height: 180px;
	border-radius:12px;
	object-fit: cover;
}

@media(max-width: 1024px){
	.category-item a img{
		max-height: 158px;
	}
}
/*end category image*/

.speaker_speakers_category{
	display:flex;
	row-gap:1rem;
	flex-wrap:wrap;
}

.speaker_topic_post{
	overflow: hidden;
}

.speaker_topic_icon img {
	transition: transform 0.3s ease-in-out;
}

.speaker_topic_post:hover .speaker_topic_icon img {
    transform: scale(1.05);
}



.category-items .category-image:after{
	content:' ' !important;
    position: relative;
}

.category-image {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Ensures that the pseudo-element respects the image bounds */
}

.category-image img {
    max-width: 100%;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease; 
}

.category-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    pointer-events: none;
    transition: background 0.3s ease;
}


.category-image .category-items {
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: white;
    z-index: 1;
}

.category-image:hover::after {
    background: rgba(0, 0, 0, 0.6); 
}

#booking-speaker, #search-speakers{
	cursor: pointer;
}

#rlvlive_2 .relevanssi-live-search-results{
	top: unset !important;
}

a.elementor-element{
	color: black;
}

.social-icons li a span{
	display: none;
}
