/* dashboard */
.country-page .country-info {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

.country-page #map,
.country-page #situation,
.country-page #sectors,
.country-page #chart {
    width: 100%;
    min-height: 50vh;
}

.country-page #situation,
.country-page #sectors,
.country-page #chart {
    padding: var(--loose);
}

.country-page #situation {
    color: white;
    background: var(--bright-green);
    box-shadow: var(--shadow);
    z-index: 9;
}

.country-page #chart {
    background: linear-gradient(to top right, var(--matte-blue-60), var(--matte-blue-40));
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    text-align: center;
}

@media screen and (min-width:800px)
{
    .country-page #map,
    .country-page #situation,
    .country-page #sectors,
    .country-page #chart {
        width: 50%;
        min-height: 50vh;
    }
}

@media screen and (max-width:800px)
{
    .country-page #situation,
    .country-page #sectors,
    .country-page #chart {
        padding: var(--tight);
    }
}


/* sectors */
.country-page #sectors h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.country-page #sectors div.passive {
    opacity: .2;
}

.country-page #sectors > div {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.country-page #sectors > div > div {
    flex: 0 0 calc(33% - 20px);
    padding: 10px;
    margin: 0 0 var(--tight) 0;
    text-align: center;
    position: relative;
}

.country-page #sectors > div > div > div {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: black;
    margin: 0 auto 10px auto;
    padding: 16px;
    box-shadow: var(--shadow);
    transition: var(--slow);
}

.country-page #sectors > div > div.active:hover > div {
    background: var(--drc-red);
}

.country-page #sectors svg {
    fill: white;
}

.country-page #sectors {
    background: var(--matte-blue-20);
}


/* links */
.country-links {
    text-align: center;
}

.country-links div {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin: .5rem;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* sliders */
.head {
    display: flex;
    flex-flow: row nowrap;
    justify-content: stretch;
    width: 100%;
}

.head > h2 {
    flex: 1 1 calc(100% - 4.2rem);
    color: var(--drc-red);
}

.head h2 > a {
    color: inherit;
    text-decoration: none;
}

.head > .scroller {
    display: none;
}

@media screen and (min-width: 1000px) 
{

    .head > .scroller {
        display: block;
        flex: 0 0 4.4rem;
    }

    .head > .scroller button {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
        background: var(--matte-blue-80);
        color: white;
        text-align: center;
        border: 0;
        outline: 0;
        transition: var(--fast);
        margin: 0 0 0 0.1rem;
        font-weight: 900;
    }

    .head > .scroller button:hover {
        background: var(--matte-blue);
    }

}

.country-page .slider-view {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    padding: 0 0 1px 0;
    background: white;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.country-page .slider-view::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.country-page .slider-view::-webkit-scrollbar-thumb {
    background: transparent;
}

.country-page .slider-view::-webkit-scrollbar-track {
    background: transparent;
}

.country-page .slider-view ul {
    display: flex;
    flex-flow: row nowrap;
    height: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.country-page .slider-view li {
    flex: 0 0 45%;
    margin: 0 1rem 0 0;
    position: relative;
    background: var(--matte-blue-20);
    transition: var(--fast);
    color: var(--black-ish);
    scroll-snap-align: start;
}

.country-page .slider-view li:not(.more):hover {
    color: black;
}

.country-page .slider-view li:first-child {
    flex: 0 0 90%;
    display: flex;
    flex-flow: row nowrap;    
    margin: 0 1rem 0 0;
    background: var(--drc-red-20);
}

.country-page .slider-view li:first-child div,
.country-page .slider-view li:not(:first-child) {
    padding: 1rem;
}

.country-page .slider-view li:first-child div,
.country-page .slider-view li:first-child picture {
    flex: 0 0 50%;
}

.country-page .slider-view li:first-child picture {
    padding: 0 0 50% 0;
}

.country-page section#news li p:nth-of-type(1),
.country-page section#events li p:nth-of-type(1),
.country-page section#books li p:nth-of-type(1) {
    font-weight: 300;
    font-size: 0.9rem;
    margin: 0;
}

.country-page section#news li p:nth-of-type(2),
.country-page section#events li p:nth-of-type(2),
.country-page section#books li p:nth-of-type(2) {
    font-weight: 900;
    font-size: 1.2rem;
}

.country-page .slider-view li.more {
    margin-right: 0;
    background: transparent;
}

.country-page .slider-view li.more:before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    width: 8rem;
    height: 8rem;
    justify-content: center;
    align-items: center;
    background: var(--matte-blue-80);
    border-radius: 50%;
    color: white;
    font-size: 8rem;
    transition: var(--fast);
    font-weight: 900;
}

.country-page .slider-view li.more:hover:before {
   background: var(--matte-blue);
}

@media screen and (min-width:1000px) 
{

    .country-page .slider-view ul {
        width: 100%;
    }
    .country-page .slider-view li {
        flex: 0 0 200px;
    }
    .country-page .slider-view li:first-child {
        flex: 0 0 400px;
    }

}
