
#header {
    font-family: Verdana, Arial;
    font-size: 1em;
    overflow: hidden;
    color: #ffffff;
}

.map-container {
    height: 600px;
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
    padding: 0; margin: 0;
}

#content {
    font-size: 1em;
}

#osm {
    font-size: 0.7em;
    font-style: italic;
    margin-bottom: 20px;
}

#OpenLayers_Control_PanZoomBar_4 {
    z-index: 777!important;
}


h2.headline-2 {
     margin-top: 30px;
     margin-bottom: 40px;
 }

.sub-line {
    font-weight: 600;
}


.partners-container--headline {
    margin-bottom: 40px;
    color: #e20613;
    width: 100%;
    border-bottom: 1px solid #e20613;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.profile-box {
    width: 48%;
    display: flex;
    margin-bottom: 90px;
}

.profile-box .image-container {
    width: 250px;
    margin-right: 20px;
    flex-shrink: 0;
    flex-grow: 0;
}

.profile-box .image-container .partner-logo{
    border: 1px solid black;
    margin-bottom: 20px;
    text-align: center;
    height: 110px;
}

.profile-box .image-container .category-logo{
    width: auto;
    height: 100%;
}

.profile-box .image-container img {
    width: 100%;
    height: auto;
}
.profile-box .info-container {
    margin-left: 20px;
    padding-right: 30px;
}
.profile-box .info-container h3.headline-3 {
    line-height: 1.2;
    color:#e20613;
    margin-bottom: 5px;
}

.sy_memberdownload_filter__select {
    max-width: 400px;
    position: relative;
    padding-right: 0;
}
/*.sy_memberdownload_filter__select:after {*/
/*    color: white;*/
/*    content: "\2193";*/
/*    position: absolute;*/
/*    right: 10px;*/
/*    top: 10px;*/
/*    font-size: 20px;*/
/*}*/

.sy_memberdownload_filter__select select {
    background-color:#e20613!important;
    color: #FFF!important;
    outline: none;
}

.sy_memberdownload_filter__select select option {
    background-color: #FFF;
    color: #000;
}



@media only screen and (max-width: 640px) {
    h3.headline-3 {
        padding-left: 0;
    }
    .profile-box {
        width: 100%;
        display: block;
    }
    .sy_memberdownload_filter__select {
        max-width: 100%;
    }

    .map-container {
        height: 250px; width: 100%;
    }
    .profile-box .info-container {
        margin-left:0;
    }

    .image-container {
        width: 100%;
    }
}


/*select dropdown*/
 .regionsSelector {
     flex: 1;
 }

.searchfields-select {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.searchfields-select--head {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    color: #FFF;
    background-color: #e20613;
    font-size: 16px;
    margin-right: 0px;
    overflow: hidden;
}

.searchfields-select--head:after {
    color: white;
    content: "\2193";
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 20px;
}

.searchfields-select--options {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    border: 1px solid #CCCCCC;
    border-top: 0;
    border-radius: 0 0 2px 2px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    z-index: 800;
    background-color: white;
}

.searchfields-select--options .searchfields-select--option--value {
    color: #000;
    font-size: 16px;
    padding: 7px 15px;
    cursor: pointer;
    background: #e6e6e6;
}
.searchfields-select--options .searchfields-select--option--value.hovered {
    color: #FFF;
    background-color: #e20613;
}

.searchfields-select--options .searchfields-select--option--value.subregion {
    background: none;
}
.searchfields-select--options .searchfields-select--option--value.subregion.hovered {
    color: #FFF;
    background-color: #e20613;
}



.searchfields-select i {
    position: absolute;
    right: 15px;
    top: 18px;
    color: #FFF;
}

/** popup */
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}

.olPopup {
    display: none;
}


.olPopupContent {
    padding: 10px;
}

.olPopupCloseBox {
    background: url('/typo3conf/ext/sy_salespartner/Resources/Public/Icons/close_btn.png')!important;
    background-size: cover!important;
}


.tx-sy-salespartner .course-content {
    padding-left: 0;
    padding-right: 0;
}
.tx-sy-salespartner input:checked ~ .course-content{
    padding: 50px 0 100px;
}


/*
** Legend
*/
.map-container {
    position: relative;
    overflow: hidden;
}
.sy_salespartner_legend {
    position: absolute;
    left: 5px;
    bottom: 5px;
    background: white;
    padding: 5px 10px 5px 5px;
    max-width: 100%;
    transition: .4s;
}
.sy_salespartner_legend.inactive {
    transform: translateX(calc(-100% + 25px));
}
.sy_salespartner_legend h4 {
    color:#e20613;
}
.sy_salespartner_legend div img {
    height: 13px;
    width: 10px;
    margin-right: 5px;
}
.sy_salespartner_legend--close {
    display: none;
}
@media only screen and (max-width: 640px) {
    .sy_salespartner_legend--close {
        display: block;
        position: absolute;
        top: 5px;
        right: 10px;
        cursor: pointer;
        font-size: 20px;
    }

    .profile-box .image-container {
        display: flex;
        gap: 20px;
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }

    .profile-box .image-container .partner-logo {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        margin: 0;
        display: flex;
        justify-content: center;
        align-content: center;
        height: unset;
        max-height: 120px;
    }

    .profile-box .image-container .category-logo {
        width: auto;
        height: auto;
        max-height: 100%;
        display: inline-block;
        object-fit: contain;
    }

    .profile-box .image-container .partner-photo {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        margin: 0;
        display: flex;
        justify-content: center;
        align-content: center;
        height: unset;
        max-height: 120px;
    }

    .profile-box .image-container .partner-photo img {
        width: auto;
        height: auto;
        max-height: 100%;
        display: inline-block;
        object-fit: contain;
    }
}
