/*
Theme Name: Uncode Child (Groovy Menu)
Description: Child theme for Uncode theme (with Groovy Menu integration)
Author: Undsgnâ„¢
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.2
Text Domain: uncode
*/

.box-container {
    width: 100% !important;
}

.gm-search:not(.fullscreen) .gm-search__input {
    margin: 0;
}

.gm-minicart a {
    color: inherit;
}

#mega-menu-wrap-primary .mega-sub-menu > .mega-menu-item {
    padding: 0px !important;
}
#mega-menu-wrap-primary .mega-sub-menu > .mega-menu-item > .mega-menu-link {
    padding: 25px 0px !important;
}

/*Aligns menu*/
ul#mega-menu-primary.mega-menu.max-mega-menu.mega-menu-horizontal {
    display: flex !important;
    max-width: 1545px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    z-index: 1;
}
#mega-menu-secondary {
    display: flex !important;
    max-width: 1545px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    justify-content: flex-end;
    z-index: 10;
}

/* Moves the search icon to the right */
@media only screen and (min-width: 768px) {
	#mega-menu-item-19876 {
		margin-left: auto !important;
	}
}

/* Hides primary and secondary menu on mobile */
@media only screen and (max-width: 768px) {
    #mega-menu-wrap-secondary {
        display: none !important;
    }
    #mega-menu-wrap-primary {
        display: none !important;
    }
}
/* Hides mobile menu on desktop */
@media only screen and (min-width: 768px) {
    .menu-netstal-mobile-menu-container,
    #mega-menu-max_mega_menu_1 {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    .mega-close {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        right: 28px !important;
        background: transparent;
        border: none;
        cursor: pointer;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .mega-close::before {
        content: unset;
        display: none;
    }
}



@media only screen and (min-width: 768px) {
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item > a.mega-menu-link:before {
        background-size: 110px 110px !important;
        height: 110px !important;
        min-width: 110px !important;
    }
}

/* People widget */
.my-countries-topbar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.my-country-select {
    background: #f5f5f5;
    color: #243643;
    border: 1px solid #ddd !important;
    padding: 10px 15px !important; 
    width: 250px !important;
    min-width: 270px !important;
    max-width: 250px !important;
    font-weight: bold;
    border-radius: 4px;
    appearance: none;
    cursor: pointer;
    /* GrÃƒÂ¶sserer Pfeil */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="30" height="30" fill="%23243643"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(110% - 2px) center !important;
    background-size: 100px;
}
.my-countries-wrapper h3 {
  color: #ffffff !important;
}

.my-countries-wrapper {
    display: flex;
    width: 100%;
    min-height: 400px; 
}
@media (max-width: 768px) {
    .my-countries-wrapper {
        flex-direction: column-reverse; ;
        min-height: auto; 
    }
    .my-map-col,
    .my-content-col {
        width: 100% !important;
        min-height: 350px;
        transform: none !important; 
    }
    .my-map-col {
        height: 350px; 
        margin-bottom: 15px;
    }

    .my-content-col {
        margin-bottom: 15px !important;
    }
    .locations-grid {
        grid-template-columns: 1fr !important;
    }
    .zum-standort-btn {
        position: static !important;
        margin-top: 15px;   
        margin-left: auto;    
        margin-right: auto;
        bottom: auto !important; 
        right: auto !important;
        display: block; 
        width: fit-content;
      }
}

.my-map-col {
    position: relative;
    flex: 1;
    width: 900px;            
    max-width: 900px;      
    height: 600px;           
    min-height: 400px;       
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
}
.my-map-col .no-screenshot {
    display: flex; 
    align-items: center; 
    justify-content: center;
    height: 100%;
    color: #666;
    text-align: center;
    font-size: 14px;
    margin: 0;
    padding: 10px;
    border: 2px dashed #aaa; 
    border-radius: 4px;
}

.my-content-col {
    flex: 1;
    /* Ebenfalls etwas kleiner: */
    min-height: 400px;
    background: #243643;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 4px;
    transform: translate(-80px, 20px);
}

.my-content-col h3 {
    margin: 0 0 10px 0 !important; 
    padding-left: 0 !important;
    color: #ffffff !important;
}

.my-locations-output {
    width: 100%;
}

.zum-standort-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffffff !important;
    color: #243643 !important;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-top: auto;
    align-self: flex-start;
}
/* .zum-standort-btn:focus {
    background: #243643 !important;
    color: #ffffff !important;
    text-decoration: none;
} */


.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.loc-box {
    border-radius: 4px;
    padding: 15px;
}
.loc-box h3 {
    margin-top: 0;
    color: #fff;
}
.loc-box p {
    margin: 2px 0;
    line-height: 1.2;
}

.loc-box a {
    color: #fff !important;
    font-weight: bold;
}

.icon-row {
    margin-top: 8px; 
    display: flex; 
    gap: 15px;
}
.icon-row img {
    filter: brightness(0) invert(1);
}

.country-name-box {
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 4px;
    cursor: pointer;
}
.country-name-box:hover {
    color: #bad15e;
}

.location-title {
    grid-column: 1 / -1;
    margin-left: 15px;
    margin-top: 15px;
    text-align: left;
}

.zum-standort-btn {
  display: none !important;
}

/* Blog images */
.single-post .header-wrapper .style-color-jevc-bg .background-element .background-wrapper .background-inner {
	background-position: top center !important; 
}