/* ========================================================================================================================================================================= */
/* == NEW MAP FOR EPLO'S - Based on Leaflet.js library provided in the Europa Webtools ===================================================================================== */
/* ========================================================================================================================================================================= */

#website-body .ep-layout_new_map {
    background-color: #3974bb !important;
    margin-bottom: 2rem !important;
}
#map {
    margin-bottom: 2rem;
    max-width: 1200px;
    width: 100%;
    height: auto !important;
    /*max-width: 1020px;*/
    /*margin: 0 auto 2rem auto;*/
}
#website-body .leaflet-ui {
    border: solid 2px #fff !important;
}
.wtshowInfo .wtinfo {
    width: 30% !important;
}
.wtmenu, .wtpanels {
    z-index: 9 !important;
}
.prunecluster-red {
    border: none !important;
}
.prunecluster {
    /*background-color: #0A203D !important;*/
    border: none !important;
}
.wtmap .wtfooter, #leaflet-attribution {
    display: none;
}
#website-body .wtmap .wtcontent {
    border: 2px solid #fff;
}
#website-body .wtmap .wtcontent .leaflet-container a {
    color: #3974bb !important;
}
.wtmap .wtcontent .wtinfo .wtinfocontent {
    overflow: auto;
}
.wtmenu .print {
    display: none;
}
#map .leaflet-menu, #map .leaflet-infopanel {
    z-index: 9;
}
#map .wtmap {
    min-width: auto !important;
}
#website-body .ep-layout_new_map .ep_new_map-wrapper {
    margin-top: 2rem;
}
#website-body .ep-layout_new_map .ep_new_map-wrapper .ep-a_heading .ep_title .ep-p_text .ep_name {
    color: #fff;
}
.leaflet-container .leaflet-popup-content-wrapper .leaflet-popup .leaflet-popup-content-wrapper .leaflet-popup-content .office-container {
    padding-bottom: 15px;
    font-size: 0.9rem;
}
.office-container, .country-offices-container {
    padding-bottom: 15px;
    font-size: 0.9rem;
}
.office-container .office-country, .country-offices-container .office-country {
    font-size: 1.5rem;
    color: #3974bb;
}
.country-offices-container .office-country {
    display: none;
}
.country-offices-container .first-item.office-country {
    display: block;
    padding-bottom: 5px;
}
.office-container .office-city, .country-offices-container .office-city {
    position: relative;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 15px 0 0 0;
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    color: #0A203D;
}
.office-container .office-address, .country-offices-container .office-address {
    margin: 0 0 8px 0;
    padding-top: 15px;
    font-weight: bold;
    color: #000;
}
.office-container .office-address a, .country-offices-container .office-address a {
    color: #3974bb;
}
.office-container .office-address a:hover, .office-container .office-address a:focus,
.country-offices-container .office-address a:hover, .country-offices-container .office-address a:focus {
    color: #000;
    text-decoration: underline;
}
.office-container .office-address a:focus,
.country-offices-container .office-address a:focus {
    outline: dotted 2px #bbb;
}
.office-container .office-email, .office-container .office-website, .office-container .office-city,
.country-offices-container .office-email, .country-offices-container .office-website, .country-offices-container .office-city {
    position: relative;
}
.office-container .office-email, .office-container .office-website,
.country-offices-container .office-email, .country-offices-container .office-website {
    margin-bottom: 3px;
}
.office-container .office-wrapper-contact, .country-offices-container .country-wrapper-contact {
    margin: 5px 0;
}
.office-container a, .office-email a, .office-website a {
    color: #3974bb;
}
.office-container a:hover,.office-email a:hover, .office-website a:hover {
    color: #000;
    text-decoration: underline;
}
.office-container a:focus, .office-email a:focus, .office-website a:focus {
    outline: dotted 2px #bbb;
}
#website-body  .leaflet-container a.leaflet-popup-close-button {
    padding: 0 !important;
    margin: 10px 10px 0 0 !important;
}
#website-body  .leaflet-container a.leaflet-popup-close-button:focus, #website-body  .leaflet-container a.leaflet-popup-close-button:active {
    outline: dotted 2px currentColor !important;
}
@media screen and (max-width: 640px) {
    #map, #website-body .ep_gridrow.ep-o_product.ep-layout_new_map {
        display: none;
    }
}
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    #website-body .ep_gridrow > .ep_gridrow-content > .ep_gridcolumn.ep_new_map-wrapper > .ep_gridcolumn-content {
        height: auto !important;
    }
}

/* ======================================================================================================================================== */
/* == STYLES FOR EPAS PAGE - Ambassador School Programme ================================================================================== */
/* ======================================================================================================================================== */

#website #website-body[data-page="map"]::after {
    height: 0;
}
#website #website-header .ep_header {
    display: flex;
    justify-content: center;
}
#website #website-header > .ep_header > div {
    justify-content: center;
    padding: 0 0 30px 130px;
}
#website #website-body[data-page="map"] .ep_gridcolumn[class*="ep-m_"][data-layout1200^="center"] > .ep_gridcolumn-content [class*="ep-a_"] {
    text-align: left;
}
#website #website-body[data-page="map"] h1.ep-layout_level1 > .ep_title .ep-p_text span.ep_name:first-child {
    display: block;
    font-weight: normal;
}
#website #website-body[data-page="map"] h1.ep-layout_level1 .ep_title {
    text-align: center;
}
#website #website-body[data-page="map"] .ep_gridrow .ep_gridrow-content .ep_gridcolumn .ep_gridrow-content .ep-a_text p.ep-title_list {
    text-align: left;
    color: #505154;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
    margin: 30px 0 10px 0;
}
#website #website-body[data-page="map"] .ep_gridrow .ep_gridrow-content .ep_gridcolumn .ep_gridrow-content ul {
    margin: 0px auto 30px auto;
}
#website #website-body[data-page="map"] .ep_gridrow .ep_gridrow-content .ep_gridcolumn .ep_gridrow-content ul li:before {
    background-color: #3c77bd;
}
#website #website-body[data-page="map"] .ep_gridrow .ep_gridrow-content .ep_gridcolumn .ep_gridrow-content ul li {
    text-align: left;
    margin: 0px 0px 5px 0;
}
#map {
    max-width: 1020px;
    margin: 0 auto 2rem auto;
}

/* ======================================================================================================== */
/* == VIDEO IN IFRAME - Fix appearance ==================================================================== */
/* ======================================================================================================== */

/* // Fix responsive state for video in iframe // */
.ep_iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
.ep_iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}