﻿
.project_intro_section {
    position: relative;
    padding: 0 0 30px;
}

.project_map_section {
    position: relative;
}

.project_map_section .maparea {
    height: 100%;
    min-height: 600px;
    z-index: 99;
}

    .project_map_section .marker_icon.icon-active {
        filter: brightness(2);
    }

    .project_carousel_section {
        position: relative;
        margin: -90px 0 0;
        z-index: 998;
    }

    .project_carousel_section .slick-list {
        padding: 30px 0 0;
    }

    .project_carousel_section .slick-list .slick-slide.active {
        margin-top: -30px;
    }

.project_maparea {
    height: 360px;
}

.maparea .leaflet-popup-content-wrapper,
.project_maparea .leaflet-popup-content-wrapper,
.maparea .leaflet-popup-tip,
.project_maparea .leaflet-popup-tip {
    background: rgba(var(--primary-rgb), 0.8);
    color: #fff;
    text-align: center;
    border-radius: 0;
}

.maparea .leaflet-popup-content-wrapper .leaflet-popup-content,
.project_maparea .leaflet-popup-content-wrapper .leaflet-popup-content {
    margin: 10px 15px;
}

.maparea .leaflet-popup-content-wrapper .leaflet-popup-content h4,
.project_maparea .leaflet-popup-content-wrapper .leaflet-popup-content h4 {
    font-size: 0.9rem
}

.maparea .leaflet-bar a,
.project_maparea .leaflet-bar a {
    background-color: var(--secondary);
    color: #fff !important;
    border-radius: 0;
    transition: background-color 0.3s linear;
    -webkit-transition: background-color 0.3s linear;
    -moz-transition: background-color 0.3s linear;
    -o-transition: background-color 0.3s linear;
}

.maparea .leaflet-bar a:hover,
.project_maparea .leaflet-bar a:hover {
    background-color: var(--primary);
}

.maparea .leaflet-bar a.leaflet-disabled,
.project_maparea .leaflet-bar a.leaflet-disabled {
    background-color: rgba(var(--secondary-rgb), 0.5);
}

.project_map_section .global_icon {
    position: absolute;
    top: 40px;
    right: 30px;
    z-index: 500;
}

    .project_map_section .global_icon img {
        width: 80px;
    }

/*-----------------------------------------------------------------------------------------------*/

.articles_filter {
    position: relative;
    margin: 15px 0 0;
    text-align: center;
    z-index: 998;
}

.articles_filter .form-group {
    display: inline-block;
    text-align: left;
}

.articles_filter .form-group + .form-group {
    margin: 0 0 0 15px;
}

.articles_filter .form-group label {
    display: block;
}

.articles_filter .form-group .form-control,
.articles_filter .form-group .dropdown-menu {
    min-width: 200px;
    text-align: left;
}

    .articles_filter .form-group .dropdown-menu {
        padding: 6px 10px;
        max-height: 350px;
        overflow-y: scroll;
    }

.articles_filter .form-group .form-control .caret {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translate(0, -50%);
}

.articles_filter .form-group input[type="checkbox"] + label {
    margin-top: 2px;
    line-height: 17px;
}

/*-----------------------------------------------------------------------------------------------*/

.article_carousel_item {
    padding: 0 15px;
}

.article_item_body {
    position: relative;
    padding: 30px;
    background-color: var(--core-color);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;    
}

.article_item_body::after {
    position: absolute;
    content: "";
    background: rgba(var(--primary-rgb), 0.9);
    backdrop-filter: blur(4px);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: backdrop-filter 0.3s linear, background 0.3s linear;
}

.article_item_body:hover::after {
    background: rgba(var(--primary-rgb), 0.5);
    backdrop-filter: none;
}

.article_item_body .article_item_text {
    position: relative;
    text-align: center;
    font-weight: 300;
    color: #fff;
    z-index: 9;
}

.article_item_body .article_item_text h2 {
    font-size: 1.3em;
    color: #fff !important;
}

.article_item_body .article_item_text .country,
.article_item_body .article_item_text .type {
    display: block;
}

    .article_item_body .article_item_text .country {
        font-weight: 400;
        font-size: 1.2em;
    }

#content .article_item_body .article_item_text .climate_btn {
    color: #fff !important;
}

.global_projects {
    background-image: url(../images/global.png);
    background-repeat: no-repeat;
}


.article_carousel_item.active .article_item_body::after {
    background: rgba(var(--primary-rgb), 0.5);
    backdrop-filter: none;
}

.article_item_empty {
    padding: 120px 0 0;
}

/*-----------------------------------------------------------------------------------------------*/

.prev_article,
.next_article {
    position: absolute;
    top: 50%;
    left: -40px;
    padding: 0 10px;
    color: var(--primary);
    text-align: center;
    font-size: 3em;
    cursor: pointer;
    min-width: 25px;
    transition: color 0.3s linear;
}

.next_article {
    right: -40px;
    left: unset;
}

.prev_article:focus,
.prev_article:hover,
.next_article:focus,
.next_article:hover {
    color: var(--secondary);
}

/*-----------------------------------------------------------------------------------------------*/

.category_tags span,
.tags_section span {
    background: var(--primary);
    color: #fff;
    padding: 0 10px 0 8px;
    margin: 3px 5px 3px 0;
    border-radius: 5px 20px 20px 5px;
    display: inline-block;
}

.tags_section span {
    background: var(--secondary);
}

.project_date {
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1em;
    font-size: 1.5em;
    font-weight: 700;
}

.map_section {
    padding: 0 0 15px;
}

.location_section {
    margin: 0 0 15px;
}

.location_section span {
    display: block;
    color: var(--primary);
    line-height: 1.5em;
    font-size: 1.25em;
}

.article_section {
    padding: 15px 0 0;
    color: var(--secondary):
}

.gallery_region {
    padding-top: 30px;
}

.gallery_region h2 {
    font-family: var(--secondary-font);
    text-transform: uppercase;
}

.article_gallery_carousel {
    position: relative;
}

.article_gallery_carousel::before,
.article_gallery_carousel::after {
    position: absolute;
    content: "";    
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 9;
}

.article_gallery_carousel::before {
    background: linear-gradient(90deg, #fff 10%, transparent);
    left: 0;
}

.article_gallery_carousel::after {
    background: linear-gradient(-90deg, #fff 10%, transparent);
    right: 0;
}

.article_gallery_carousel .article_gallery_item {
    padding: 15px 7.5px;
}

.article_gallery_carousel .article_carousel_item a {
    display: block;
}

/*-----------------------------------------------------------------------------------------------*/

.prev_article_gallery,
.next_article_gallery {
    position: absolute;
    top: 50%;
    padding: 6px;
    background: var(--secondary);
    color: #fff;
    text-align: center;
    font-size: 0.8em;
    cursor: pointer;
    min-width: 25px;
    transform: translate(0, -50%);
    transition: background 0.3s linear;
    -webkit-transition: background 0.3s linear;
    -moz-transition: background 0.3s linear;
    -o-transition: background 0.3s linear;
    z-index: 99;
}

.prev_article_gallery {
    left: 0;
}

.next_article_gallery {
    right: 0;
}

.prev_article_gallery:focus,
.prev_article_gallery:hover,
.next_article_gallery:focus,
.next_article_gallery:hover {
    background: var(--primary);
}

/*-----------------------------------------------------------------------------------------------*/

.related_project {
    padding: 15px 0;
}

.related_project span {
    display: block;
    font-size: 1.8em;
    line-height: 1.2em;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 10px 0 0;
}

.related_project h4 {
    font-size: 2.5em;
    line-height: 1.2em;
    text-transform: uppercase;
    font-family: var(--secondary-font);
    margin: 0;
}

.related_project .project_btn {
    font-size: 0.8em;
    padding: 5px 15px;
}

.map_loading {
    position: absolute;
    text-align: center;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    opacity: 0.7;
}

    .map_loading i {
        font-size: 40px;
        margin-top: 100px;
    }

/*.articles_filter input[value="32"],
.articles_filter input[value="32"] + label {
    opacity: 0;
    height: 0;
    margin: 0;
}*/