/* .map {
    background: red;
} */

/* .sidebar {
    background: #fff;
} */

ul {
    list-style-type: none;
}

h3 {
    margin-bottom: 0;
}

#introduction{
    margin: 24px 0 12px 0;
}

#introduction p {
    font-size: 2rem;
}

.map-nav .nav-link{
    color: #E00116;
    border-color:#E00116;
}

.map-nav .nav-link:focus,
.map-nav .nav-link:hover{
    color: #fff;
    background-color: #E00116;
}

.map-nav .nav-link.active{
    color: #fff!important;
    background-color: #E00116!important;
}

#info h3,p{
    font-size:0.8rem;
}


.contact-clean {
    background: #f1f7fc;
    padding: 80px 0;
}

@media (max-width:767px) {
    .contact-clean {
        padding: 20px 0;
    }
}

.contact-clean form {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    color: #505e6c;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}

@media (max-width:767px) {
    .contact-clean form {
        padding: 30px;
    }
}

.contact-clean h2 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 36px;
    color: inherit;
}

.contact-clean form .form-control {
    background: #fff;
    border-radius: 2px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.05);
    outline: none;
    color: inherit;
    padding-left: 12px;
    height: 42px;
}

.contact-clean form .form-control:focus {
    border: 1px solid #b2b2b2;
}

.contact-clean form textarea.form-control {
    min-height: 100px;
    max-height: 260px;
    padding-top: 10px;
    resize: vertical;
}

.contact-clean form .btn {
    padding: 16px 32px;
    border: none;
    background: none;
    box-shadow: none;
    text-shadow: none;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.4px;
    line-height: 1;
    outline: none !important;
}

.contact-clean form .btn:hover {
    opacity: 1;
}

.contact-clean form .btn:active {
    transform: translateY(1px);
}

.contact-clean form .btn-primary {
    background-color: #055ada !important;
    margin-top: 15px;
    color: #fff;
}

.active-category-button{
    background:#E00116!important;
    color: #fff;
}
.active-category-button:hover{
    color:#fff;
}

.subjekt-data-holder .subjekt-data-header-item{
    background: #E00116!important;
    color: #fff;
}

.subjekt-data-holder .list-group-item{
    background: #252525;
    color:#fff;
    border-color:#aaa;
}


.map-nav-mjesta {
    background: transparent;
    flex-wrap: wrap;
    gap: 0.35rem 0.4rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.map-nav-mjesta .nav-link{
    color: #E00116;
    background-color: transparent;
    border-color:#E00116;
}

.map-nav-mjesta .nav-link:focus,
.map-nav-mjesta .nav-link:hover{
    color: #fff;
    background-color: #E00116;
}

.map-nav-mjesta .nav-link.active{
    color: #fff!important;
    background-color: #E00116!important;
}

.map-subjekt-bubble-btn{
    width: 95%;
    display: block;
    margin: 0 auto;
    background: #E00116!important;
    border-color: #E00116!important;
    color: #fff;
}

.subjekt-opis p{
    font-size: 1.25rem;   
}

#main-section .sidebar {
    min-width: 0;
    max-width: 100%;
}

.search-block {
    position: relative;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 12px;
}

.search-block .input-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.search-block .input-group .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    font-size: 16px;
}

.search-results {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.35rem;
    max-height: 16rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid #d7dee6;
    border-radius: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.search-result-item,
.search-results .search-empty {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
    font-family: inherit;
    background: #fff;
    background-image: none;
    border: 0;
    border-bottom: 1px solid #e6eef5;
    border-radius: 0;
    padding: 0.45rem 0.7rem;
    color: #505e6c;
    font-size: 0.9rem;
    cursor: pointer;
}

.search-result-item:hover,
.search-result-item:focus {
    background: #f1f7fc;
    color: #E00116;
}

.search-results .search-empty {
    font-style: italic;
}

.contact-clean .contact-address {
    text-align: center;
    color: #505e6c;
    margin: 0 0 16px 0;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .search-block {
        padding-bottom: 24px;
    }

    #main-section .sidebar {
        height: auto !important;
    }

    #main-section #map {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.75rem;
    }

    .map-nav,
    .map-nav-mjesta {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .map-nav .nav-link,
    .map-nav-mjesta .nav-link {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
        line-height: 1.2;
    }

    #introduction,
    #info,
    #o-nama {
        text-align: center;
    }

    #introduction h1 {
        font-size: 1.05rem;
        line-height: 1.35;
    }
}

