.map-section-container {
    padding: 15px;
    margin: auto;

    /*background: rgb(200, 200,200);*/
}

@media(min-width:767px) {
    .map-section-container {
        width: 85%;
    }
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

#viewList {
    margin-bottom: 30px;
}

#filter-fulltext {
    margin-bottom: 0;
}

.card {
    margin: 10px;
    width: 260px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 400px;
    border: 1px solid #eee;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    box-shadow: 0 0 11px 0 rgb(200, 200, 200);
    cursor: pointer;
}

.card:hover {
    border: 1px solid #008aab;
}

.card-top {
    min-height: 180px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    padding: 15px 10px 100px 10px;
}

.card-bottom {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    position: relative;
    padding: 80px 15px 15px 15px;
    min-height: 200px;
    background-color: #008aab;
}

.card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    color: #008aab;
    overflow: hidden;
    word-wrap: break-word;
    font-size: 24px;
    margin: .5em 0 .5em;
    font-weight: 400;
}

.card-text {
    color: white;
    font-size: 1.2rem;
}

.card-more {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    font-size: 1.1rem;
    color: white;
    transition-duration: .2s;
}

.card-more:hover {
    text-shadow: 1px 1px 2px white;
    font-size: 1.3rem;
}

.card-img {
    position: absolute;
    left: 0;
    right: 0;
    top: -80px;
    margin-left: auto;
    margin-right: auto;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 5px solid #008aab;
    transition-duration: .2s;
}

.card-img:hover {
    width: 176px;
    height: 176px;
    top: -88px;
}

.card-logos {
    position: relative;
    width: 100%;
    top: -180px;
    /*height: 45px;
    margin-bottom: 40px;
    margin-top: -15px;*/
}

.card-spslogo {
    position: absolute;
    height: 49px;
    right: -10px;
}
.card-qualpedes {
    position: absolute;
    height: 55px;
    left: -5px;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.filter-field {
    min-width: 250px;
    padding: 15px;
}

.filter-field input {
    display: block;
    padding: 0 15px;
    border-radius: 5px;
    width: 100%;
    height: 45px;
    font-size: 16px;
    color: #212529;
}

.reset-filter {
    float: right;
    position: relative;
    margin-top: -2px;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.reset-filter:hover {
    background-color: #ccc;
}

.reset-filter span {
    position: absolute;
    top: -8px;
    left: 8px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
}

.prevent-select {
    -webkit-user-select: none; /* Safari */
    user-select: none; /* Standard syntax */
}

.reset-filter:hover span {
    color: #666;
}

.multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all {
    min-width: 250px;
}

.wider-input {
    min-width: 340px;
}

/*
 * SECTION MODAL DIALOG UI
 */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1500; /* Sit on top */
    padding-top: 5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content-wrapper {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
}

/* The Close Button */
.modal-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-detail-grid-item {
    padding: 15px;
    min-width: 300px;
}

.modal-detail-grid-section-title {
    display: block;
    font-weight: normal;
    font-size: 18px;
    border-bottom: 1px solid #008aab;
    margin-bottom: 20px;
}

.modal-detail-contact label {
    margin-bottom: 0;
}

.modal-detail-contact p {
    margin: 0 0 10px 0;
}

.modal-detail-zamerania li {
    list-style-type: square;
    margin-left: -22px;
}

.prevadzka-header {
    text-align: center;
}

.modal-detail-gallery img {
    max-width: 500px;
    max-height: 500px;
}

@media (max-width: 600px), (max-height: 600px) {
    .modal-detail-gallery img {
        max-width: 80vw;
        max-height: 80vh;
    }
}

.modal-detail-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 15px 0;
}
.modal-detail-logos img {
    position: relative;
    left: unset;
    right: unset;
    object-fit: contain;
    margin: 5px;
}

.modal-detail-logos #data-clensps {
    height: 65px;
}

.toggle-field {
    padding-bottom: 15px;
}

.toggle-container {
    font-family: sans-serif;
    font-size: 16px;
    text-align: center;
}

    .toggle-container span.label {
        color: #565656;
    }

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
        top: 3px;
        left: 4px;
    }

input:checked + .slider {
    background-color: #008aad;
}

    input:checked + .slider:before {
        transform: translateX(30px);
    }

.toggle-description {
    text-align: center;
}

#result-count {
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    color: #008aad;
}

