/*
 Theme Name:   WS-Hello
 Template:     hello-elementor
 Version:      1.0.0
 Description:  Ein Child-Theme für Hello Elementor
 Author:       Karin Bacher Consultants
 Author URI:   karinbacher-consultants.de
 Text Domain:  hello-child
*/


/*:root {
  --ws_background:#102f41;
  --ws_highlight:#2c99db;
}*/

body { 
  background-color: var(--e-global-color-primary) !important;
  color: white;
}
    

/* ================
 *   Content styles   
 * ================ */


@media (min-width: 768px) { 
	.ws_bluehead h2{
		max-width:48%;
	}
}
    #ws_top_segment{
       /* height:44px; */
		line-height:1.1;
		padding:6px 10px;
    }
#ws_top_segment p{
	margin-bottom:0;
}

#ws_page_navi svg{
	margin-left:0;
}

@media (min-width: 1160px) { 
	#ws_top_segment{ 
		padding: 6px 0;
	}
}

    #ws_hero_overlay{
        height:580px;
    }
    
    #ws_page_navi .elementor-icon-list-item{
        height:68px;
    }
    #ws_page_navi .elementor-icon-list-item{
        background-color: var( --e-global-color-205f4a7 );
        max-width:340px;
        margin-bottom: 20px;
    }
    
    #ws_page_navi .elementor-icon-list-item:hover span, #ws_page_navi .elementor-icon-list-item:hover span .e-font-icon-svg {
        color:var(--e-global-color-primary);
    }
    .ws_anchor{
        height:1px;
        margin-top:-10px;
    }
    
    .ws_segment_head{
        height:80px !important;
        
    }
    .ws_caption{
        font-size: 12px;
        padding-right: 16px;
        margin-top: -10px;
    }
    .ws_caption a{
        color:white;
        text-decoration: underline;
    }
    
/* ================
 *   Footer styles   
 * ================ */
#ws_footernavi a{
    color:white;
    font-weight:700;
}
  

#ws_footernavi {
    list-style: none;
    margin: 0;
    padding: 0;
}

#ws_footernavi li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin: 5px 0;
}

#ws_footernavi li a {
    display: inline-block;
    text-decoration: none;
    color: #ffffff; /* Default font color */
    transition: color 0.2s ease;
    position: relative;
    z-index: 1; /* Ensure link is above pseudo-element */
}

/* White right-pointing triangle */
#ws_footernavi li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: all 0.2s ease; /* Broader transition for Firefox */
    pointer-events: none; /* Prevent hover interference */
    z-index: 0; /* Keep behind link */
}

/* Hover effect for triangle and font color */
#ws_footernavi li:hover::before {
    transform: translateY(-50%) scale(1.2) translateX(3px); /* Combine shift and scale */
}

#ws_footernavi li:hover a {
    color: var(--e-global-color-primary); /* Hover font color */
}

#site-footer{display:none;}

/* ================
 *    Form styles   
 * ================ */

/* typography */
#ws_termin label{
    line-height: 1.5;
  font-weight: 700;
  color: var(--e-global-color-primary);
  width:100%;
}
    
#ws_termin .wpcf7-submit{
    font-weight: 700;
}    
    
  
/* submit container */
.custom-submit-container {
    display: flex !important;
    align-items: center; /* Vertikale Zentrierung */
    gap: 10px; /* Abstand zwischen SVG und Button */
    flex-wrap: nowrap;
}

/* neutralise <p> tag */
.custom-submit-container p {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px; /* Sicherstellung, dass Gap auch in <p> wirkt */
}

/* SVG icon */
.custom-submit-container .myicon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 40px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* submit-Button & wrapper */
.custom-submit-container .wpcf7-form-control-wrap,
.custom-submit-container input[type="submit"].wpcf7-submit {
    display: inline-block !important;
    width: auto !important;
    vertical-align: middle;
}

/* Button-Styling  */
.wpcf7-form .custom-submit-container p input[type="submit"].wpcf7-submit {
    background-color: var(--e-global-color-secondary);
    color: #FFFFFF;
    font-size: 16px;
    padding: 10px 20px !important; 
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: normal;
}

/* hover  */
.wpcf7-form .custom-submit-container p input[type="submit"]:hover {
    background-color: var(--e-global-color-primary);
}

/* remove margins/padding */
.wpcf7-form .custom-submit-container .wpcf7-form-control-wrap,
.wpcf7-form .custom-submit-container .myicon,
.wpcf7-form .custom-submit-container .wpcf7-spinner {
    margin: 0 !important;
    padding: 0 !important;
}

/* hide spinner*/
.custom-submit-container .wpcf7-spinner {
    display: none !important;
}

/* responsive */
@media (max-width: 767px) {
    .custom-submit-container,
    .custom-submit-container p {
        gap: 20px;
    }
    .wpcf7-form .custom-submit-container p input[type="submit"].wpcf7-submit {
        font-size: 14px;
        padding: 8px 16px;
    }
    .custom-submit-container .myicon {
        width: 16px;
        height: 32px;
    }
}


.wpcf7-form-control:not(.wpcf7-acceptance){
    width: 100% !important;
    box-sizing: border-box;
    border: unset;
}

.wpcf7-textarea {
    height: 120px; /* Adjust height */
}

.wpcf7-list-item{
    margin: unset;
}


/* Container for button */
.custom-play-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-right: 16px;
    width: 100%; /* Passe die Breite an */
    height: auto; /* Passe die Höhe an */
}

/* image */
.custom-play-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play symbol triang  */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 55px;
    background-color: var( --e-global-color-205f4a7 );
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-play-button:hover .play-icon::before{
 /*border-left: 20px solid var(--e-global-color-primary);*/
}
.custom-play-button:hover .play-icon, .e-hosted-video:hover .play-icon{
    background-color: var(--e-global-color-primary);
  /*transform: translate(-52%, -52%) scale(1.1);*/
}

/* Triangle for play symbol */
.play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* Fullscreen overlay */
.iframe-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--e-global-color-primary);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* iFrame styling */
.iframe-overlay iframe {
    width: 90%;
    height: 90%;
    border: none;
}

/* Close button */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Radio button space fix */
.wpcf7-list-item {
    margin-right: 15px; 
}
.wpcf7-list-item:last-child {
    margin-right: 0; 
}

