/*SEARCH BAR SECTION*/
.search-bar{
    padding: 18px 22px;
    box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.13);
    background-color: #ffffff;
    align-items: center;
}

.search-input-container{
    padding-right: 22px;
}

.form-control:focus, input:focus {
    border-color: #1d3557;
}

.search-input{
    height: 45px;
    background-color: #f6f6f6;
}

.filter{
    height: 45px;
    /*border: solid 1px #1d3557;*/
    padding: 0px;
    justify-content: space-between;
}

.filter-container{
    justify-content: space-between;
}

.filter-title{
    display: inline-block;
    font-size: 14px;
    color: #1d3557;
    margin-bottom: 0px;
}

.year-dropdown{
    position: absolute;
    top: 43px;
    border: solid 1px #1d3557;
    border-top: 0px;
    background-color: #ffffff;
}


/*BOOTSTRAP DROPDOWNS*/
.btn:not(:disabled):not(.disabled) {
    width: 100%;
    cursor: pointer;
    border-radius: 0px;
    background-color: transparent;
    border: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    border: 1px solid #1d3557;
}

.custom-toggle::after {
    display: none;
}

.custom-filter.show {
    background-color: #fdfdfd;
    border-radius: 0px;
    border: solid 1px #1d3557;
    border-top: 0px;
    top: -3px !important;
    min-width: 100%;
    padding-bottom: 0px;
}

.custom-filter {
    border-radius: 0px;
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 0px;
}

.custom-item{
    font-weight: normal;
    color: #1d3557;
    padding-right: 0px;
    cursor: pointer;
    padding-left: 12px;
}

.custom-item:hover, .custom-item.active, .custom-item:focus {
    background-color: #1d3557 !important;
    color: white;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: white;
    /*border-color: white;*/
}

.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0rem #1d3557;
    border: 1px solid #1d3557;
}

.filter-button{
    height: 45px;
    background-color: #1d3557;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-filters-container{
    max-height: 0px;
    overflow: hidden;
    transition: all 0.4s linear;
}

.all-filters-container > .filter{
    margin-bottom: 5px;
}

.all-filters-container.active{
    max-height: 150px;
}

.all-filters-button{
    display: none;
    height: 45px;
    border: solid 1px #1d3557;
    cursor: pointer;
}

.all-filter-title{
    font-size: 14px;
    font-weight: 600;
    color: #1d3557;
    margin-bottom: 0;
    margin-left: 16px;
}

/*LATEST UPDATES SECTION*/
#resources-section{
    padding-top: 65px;
    padding-bottom: 65px;
}

.sortby-row{
    padding-right: 30px;
}

.sortby-container{
    margin-bottom: 25px;
}

.sortby-dropdown{
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.sortby-dropdown-title{
    display: inline-block;
    font-size: 14px;
    color: #263859;
    margin-bottom: 0px;
}

.sortby-title{
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #1d3557;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.resource-card{
    box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.13);
    background-color: #ffffff;
    padding: 25px 21px;
    margin-bottom: 18px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.resource-info{
    display: inline-block;
}

.resource-info-header{
    margin-bottom: 18px;
}

.country-date{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
    line-height: 1.2;
    color: #1d3557;
}

.flag-icon{
    margin-right: 10px;
}

.hastags{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.47;
    color: #555454;
    margin-left: 15px;
}

.resource-info-text{
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #1d3557;
}

.resource-download{
    display: inline-block;
    cursor: pointer;
    display: inline-flex;
    vertical-align: top;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 79px;
}


.download-ext{
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #e63946;
    margin-top: 10px;
    margin-bottom: 0px;
}

/*SLICK CSS*/
/*.slick-slider{*/
    /*display: flex;*/
    /*flex-direction: column;*/
/*}*/

.slick-dots li button:before,
.slick-dots li.slick-active button:before{
    font-size: 10px;
}

.slick-list{
    width: 100%;
    order: 1;
}

.slick-slide{
    margin: 0px 10px;
}

a:not([href]):not([tabindex]) {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
    color: #1d3557;
    opacity: 0.5;
}

.slick-dots .slick-active .dot{
    opacity: 1;
}

.slick-dots li {
    width: auto;
}

.slick-dots {
    bottom: -50px;
    text-align: center;
    padding-right: 15px;
}

.dot-arrow, .dot-double-arrow, .dot{
    margin-left: 10px;
}

.dot-double-arrow-back{
    margin-right: 10px
}

.dropup .dropdown-toggle::after{
    display: none;
}

@media (max-width: 969px) {
    .search-input-container{
        padding-right: 0px;
        margin-bottom: 25px;
    }

    .hastags{
        margin-left: 0px;
        margin-top: 5px;
    }

    .country-date{
        justify-content: flex-start;
    }

    .download-icon{
        margin-top: 13px;
    }

    .sortby-title{
        padding-left: 0px;
        margin-left: -8px;
    }

    .sortby-container{
        padding-left: 0px;
    }

}

@media (max-width: 749px) {
    .all-filters-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropup > .custom-filter.show{
        border-bottom: 0px;
        top: 3px !important;
    }

    .custom-filter.show {
        max-height: 101px;
        overflow-y: scroll;
    }

}

@media (max-width: 576px) {
    .all-filters-button{
        margin-bottom: 16px;
    }

    .sortby-title{
        justify-content: flex-start;
        padding-left: 10px;
    }

    .resource-card {
        height: 400px;
    }
}