/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

body {
    --nr-maps-color-background: #004743;
    --nr-maps-color-background-white: #FFF;
    --nr-maps-color: #FFFFFF;
    --nr-maps-color-popup: #004743;
    --nr-maps-color-border: #1A9480;
    --nr-maps-color-background-input: #FBBD51;
}

.nr_maps_shortcode_map {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map {
        flex-direction: row;
    }
}

.nr_maps_shortcode_map .nr_maps__markers {
    flex: 1;
    background-color: var(--nr-maps-color-background);
    color: var(--nr-maps-color);
    padding: 20px;
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__markers {
        margin-right: 30px;
        flex: 2;
    }
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__markers {
        flex: 1;
    }
}

.nr_maps_shortcode_map .nr_maps__markers-toggle {
    display: flex;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
}

.nr_maps_shortcode_map .nr_maps__markers-toggle:before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    margin-right: 15px;
    background-image: url("../images/arrow-classic-down.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.nr_maps_shortcode_map .nr_maps__markers-toggle__show {
    display: none;
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__markers-toggle--active {
        transform: rotate(-90deg) translateX(-50px);
        white-space: nowrap;
        display: flex;
        flex-direction: column;
    }

    .nr_maps__markers-toggle--active-vertical {
        flex: none !important;
        width: 50px;
    }
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__markers-toggle {
        display: none;
    }
}

.nr_maps_shortcode_map .nr_maps__markers-toggle__hide {
    display: block;
}

.nr_maps_shortcode_map .nr_maps__markers ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    margin-bottom: 30px;
}

.nr_maps_shortcode_map .nr_maps__markers ul li + li {
    margin-top: 10px;
}

.nr_maps_shortcode_map .nr_maps__markers form {
    display: flex;
    flex-direction: column;
    height: 420px;
    margin-top: 15px;
}

.nr_maps_overflow-hidden {
    overflow: hidden;
}

.nr_maps_overflow-auto {
    overflow: auto;
}

.nr_maps_shortcode_map .nr_maps__markers form > div:last-child {
    margin-top: auto;
}

.nr_maps_shortcode_map .nr_maps__markers form > * + * {
    margin-top: 30px;
}

.nr_maps_shortcode_map .nr_maps__markers input {
    font-size: 18px;
    font-weight: 500;
}

.nr_maps_shortcode_map .nr_maps__markers input[type=text] {
    width: 100%;
    padding: 10px 15px;
    border: unset;
}

.nr_maps_shortcode_map .nr_maps__markers input[type=reset],
.nr_maps_shortcode_map .nr_maps__markers input[type=submit] {
    width: 100%;
    padding: 10px 15px;
    border-radius: 20px;
    border: unset;
    background-color: var(--nr-maps-color-background-input);
    cursor: pointer;
}

.nr_maps_shortcode_map .nr_maps__markers input[type=reset] {
    margin-top: 15px;
    background-color: #FFFFFF;
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] {
    /*position: absolute !important;*/
    /*margin-left: -9999px;*/
    /*visibility: hidden;*/
    display: none;
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] + span {
    display: inline-block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
    width: 35px;
    height: 18px;
    vertical-align: top;
    margin-right: -10px;
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] + span:before,
.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] + span:after {
    position: absolute;
    content: '';
    border-radius: unset;
    transition: all .3s ease;
    transition-property: transform, border-color;
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] + span:before {
    animation: ripple 0.2s linear forwards;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid var(--nr-maps-color-border);
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox] + span:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    transform: scale(0);
    background: var(--nr-maps-color-border);
}

.nr_maps_shortcode_map .nr_maps__markers ul input[type=checkbox]:checked + span:after {
    transform: scale(1);
    -webkit-transform: scale(1);
}

.nr_maps_shortcode_map .nr_maps__markers ul label {
    font-weight: 500;
    font-size: 14px;
}

.nr_maps_shortcode_map .nr_maps__map {
    width: 100%;
    height: 300px;
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__map {
        flex: 3;
    }
}

@media (min-width: 1280px) {
    .nr_maps_shortcode_map .nr_maps__map {
        flex: 4;
        height: 500px;
    }
}

.nr_maps_shortcode_map .nr_maps__map .leaflet-popup-close-button {
    box-shadow: unset;
    color: var(--nr-maps-color-background) !important;
    font-size: 18px !important;
    right: 0 !important;
    top: 0 !important;
}

.nr_maps_shortcode_map .nr_maps__map .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 0;
    background-color: transparent !important;
    box-shadow: unset !important;
}

.nr_maps_shortcode_map .nr_maps__map .leaflet-popup-content {
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: var(--nr-maps-color-popup);
    display: block;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin: auto;
}

.nr-maps__marker-popup {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--nr-maps-color-background-white);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .4);
    min-width: 200px;
}

.nr-maps__marker-popup__thumbnail {
    width: 100%;
    height: 150px;
}

.nr-maps__marker-popup__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nr-maps__marker-popup__main {
    padding: 15px;
}

.nr-maps__marker-popup__title {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
}

.nr-maps__marker-popup__emails a, .nr-maps__marker-popup__emails a:hover, .nr-maps__marker-popup__emails a:focus,
.nr-maps__marker-popup__phones a, .nr-maps__marker-popup__phones a:hover, .nr-maps__marker-popup__phones a:focus {
    display: block;
    box-shadow: unset;
    color: var(--nr-maps-color-popup) !important;
}

.nr-maps__marker-popup__emails a + *,
.nr-maps__marker-popup__phones a + * {
    margin-top: 5px;
}

.nr-maps__marker-popup__field {
    margin-top: 15px;
}

.nr_maps__markers__forms__category-child {
    display: none;
}

/*.nr_maps__markers__forms__checkbox.nr_maps__markers__forms__category {*/
/*    border-bottom: 1px solid;*/
/*    padding-bottom: 5px;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*    padding-right: 30px;*/
/*}*/

/*.nr_maps__markers__forms__checkbox.nr_maps__markers__forms__category:after {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    width: 15px;*/
/*    height: 8px;*/
/*    background-image: url('../images/arrow-classic-down.svg');*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    position: absolute;*/
/*    right: 5px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*}*/

.nr_maps__markers__forms__category-child {
    margin-left: 15px;
}
