﻿body {
    overflow-x: hidden;
}

#searchResultNumber.d-none {
    display: none;
}

.search-wrapper {
    display: flex;
}

    .search-wrapper .firecode-search-widget--keyword__search input {
        width: auto;
    }

    .search-wrapper .form-check.form-check-inline {
        display: flex;
        align-items: center;
    }

        .search-wrapper .form-check.form-check-inline label {
            margin-bottom: 0;
            padding-left: 1rem;
        }

.search-parameter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.firecode-search-widget--keyword__search .checkbox-wrapper {
    display: flex;
    justify-content: space-between;
}

.checkbox-wrapper .form-check-inline {
    padding-right: 1.5rem;
    padding-bottom: 0.5rem;
}

.firecode-search-widget--keyword__search.checkbox__search {
    padding-left: 2.5rem;
}

    .firecode-search-widget--keyword__search.checkbox__search .form-check-label {
        color: #000;
    }

input.keyword_input_enhanced-search {
    padding: 13px 43px 13px 14px;
    font-size: .8125em;
    color: black;
    border: none;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 20%);
    margin-right: 16px;
}

input.keyword_input_enhanced-search::placeholder {
    color: black;
}
 
label[for='firecodeKeyword'] {
    margin-bottom: 12px;
    color: #23418b;
    font-weight: 600;
    display: block;
}

.firecode-search-widget .echanced-search_btn {
    width: 100%;
    margin-top: 6px;
    padding: 13px 26px;
    background-color: #23418b;
    color: #fff;
    font-weight: 700;
    font-size: .8125em;
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
}

.keyword-item--echanced-search {
    display: inline-block;
}

label[for='form-check-label'] {
    padding-left: 1rem;
}

.fire-result-section {
    border-bottom: 1px solid #70707026;
    margin-bottom: 2.5rem;
}

    .fire-result-section .h5 {
        font-size: 20px;
        color: #23418B;
        transition: 0.3s;
        display: block;
        max-width: 80ch;
    }

    .fire-result-section .breadcrumb-text {
        font-size: 16px;
        font-style: italic;
        color: #6B6B6B;
    }

    .fire-result-section .fire-result-desc-snippet {
        padding: 1.5rem 0 2.5rem 0;
        margin: 0;
        color: #6B6B6B;
        display: block;
    }

    .fire-result-section p.fire-result-desc-snippet {
        color: #000;
    }

.fire-result-section {
    position: relative;
}

.located-wrapper {
    position: absolute;
    right: 0;
}

.located-wrapper {
    padding: 0.8rem;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 20%);
    border-radius: .4rem;
    display: flex;
    align-items: center;
}

    .located-wrapper .located {
        margin-right: 0.5rem;
        font-weight: 700;
    }

.legend_block {
    display: flex;
    align-items: center;
    justify-content: center;
}

._explanations {
    width: 20px;
    height: 20px;
    background-color: #483d8b;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    justify-content: center;
    font-size: 14px;
}

._rationale {
    width: 20px;
    height: 20px;
    background-color: #8b5d3c;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    justify-content: center;
    font-size: 14px;
}

._figures {
    width: 20px;
    height: 20px;
    background-color: #d92f0b;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    justify-content: center;
    font-size: 14px;
}

._note {
    width: 20px;
    height: 20px;
    background-color: #f93;
    border-radius: 50%;
    color: #FFF;
    display: flex;
    justify-content: center;
    font-size: 14px;
}

.legend_block .label {
    font-size: .75em;
}

.firecode-legend {
    margin-bottom: 20px;
}

#searchParameter h5 {
    margin-top: 20px;
}

@media only screen and (min-width: 768px) {
    input .keyword_input_echanced-search {
        width: calc(100% - 130px);
    }
}

@media screen and (max-width: 880px) {
    .fire-result-section .h5 {
        margin-top: 1rem;
    }

    .located-wrapper {
        position: relative;
        width: fit-content;
        left: 0;
    }
}

.loadingspinner.hidden {
    display: none;
}

.loadingspinner {
    pointer-events: none;
    width: 3.5em;
    height: 3.5em;
    border: 0.4em solid transparent;
    border-color: #eee;
    border-top-color: #23418b;
    border-radius: 50%;
    -webkit-animation: loadingspin 1s linear infinite;
    animation: loadingspin 1s linear infinite;
}

@-webkit-keyframes loadingspin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loadingspin {
    100% {
        transform: rotate(360deg);
    }
}

#pagination-wrapper {
    display: flex;
    justify-content: center;
    grid-gap: 1rem;
}

    #pagination-wrapper span {
        padding: 0.5rem 0.8rem;
        border: 1px solid #23418B;
        background: #FFF;
        color: #23418B;
        border-radius: 5px;
        cursor: pointer;
    }

        #pagination-wrapper span.current {
            background-color: #23418B;
            color: #FFF;
        }

        #pagination-wrapper span.inactive {
            opacity: .5;
            cursor: default;
        }

.loadingspinner-wrapper {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.paginationjs ul {
    list-style: none;
    padding-left: 0;
    display: inline-flex;
    gap: 1rem;
}

.paginationjs ul li{
    padding: 0.5rem 0.8rem;
    border: 1px solid #23418B;
    background: #FFF;
    color: #23418B;
    border-radius: 5px;
    cursor: pointer;
}

.paginationjs ul li.active{
    background-color: #23418B;
}

.paginationjs ul li.disabled{
    cursor: default;
    opacity: .5;
}

.paginationjs ul li.active a{
    color: #FFF;
}

@media screen and (max-width: 700px) {
    .search-wrapper,
    .firecode-search-widget--keyword__search .checkbox-wrapper {
        flex-direction: column;
    }

    .firecode-search-widget--keyword__search.checkbox__search {
        padding-left: 0;
        padding-top: 2rem;
    }

    label[for='firecodeKeyword'] {
        margin-bottom: 12px;
        color: #23418b;
        font-weight: 600;
        display: block;
    }

    #pagination-wrapper {
        flex-wrap: wrap;
    }

    .search-parameter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        border-bottom: 1px solid #23418b21;
        margin-bottom: 2rem;
    }

    #searchParameter h5 {
        margin-bottom: 1rem;
    }
    .paginationjs ul {
        flex-wrap: wrap;
    }
}
