/*COLOR : e3bf5e YELLOW 1d3367 BLUE e8e8e8 WHITE DIRTY*/
body{
    background: linear-gradient(90deg, rgb(29, 51, 103) 0%, rgb(118, 136, 181) 100%);
    overflow-x: hidden!important;
    width: -webkit-fill-available;
}
.header-top{
    background-color: #1d3367;
    text-align: center;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3bf5e;
}
.header-top .logo{
    padding-right: 10px;
}


#map {
    overflow: hidden;
}
.map__image path{
    fill:#1d3367;
    stroke: #fff;
    stroke-width:1px;
    transition: fill 0.3s;
}
.map__image .is-active path{
    fill:#e3bf5e;
    transition: fill 0.3s;
}
.map__list a {
    color: inherit;
    text-decoration:none;
    transition: color 0.3s;
}

.map__list a.is-active{
    color: #e3bf5e;
    font-weight: bold;
    text-decoration: underline;
}

/*MENU TFAKARNI */
/* Appearance */
.links {
    background-color: #1d3367;
    background-image: linear-gradient(to bottom, #0003, transparent);
    border-bottom: 1px solid #0003;
    box-shadow: 0 0 32px #0003;
    font-size: 1.15em;
    font-weight: 300;
}
.links > a {
    color: #fff;
    padding: .75em;
    text-align: center;
    text-decoration: none;
    transition: all .5s;
}
.links > a:hover {
    background: #ffffff06;
    color: grey;
}
.links > .line {
    background: #e3bf5e;
    height: 2px;
    pointer-events: none;
}

#btn_filtre > .btn:hover{
    background: #1d3367!important;
}

/* The Magic */
.links {
    display: grid;
    grid-template-columns: repeat(var(--items), 1fr);
    position: relative;
}
.links > .line {
    opacity: 0;
    transition: all .5s;
    position: absolute;
    bottom: 0;
    left: var(--left, calc(100% / var(--items) * (var(--index) - 1)));
    width: var(--width, calc(100% / var(--items)));
    --index: 0;
}
.links > a:hover ~ .line {
    opacity: 1;
}
.links > a:nth-of-type(1):hover ~ .line { --index: 1; }
.links > a:nth-of-type(2):hover ~ .line { --index: 2; }
.links > a:nth-of-type(3):hover ~ .line { --index: 3; }
.links > a:nth-of-type(4):hover ~ .line { --index: 4; }
.links > a:nth-of-type(5):hover ~ .line { --index: 5; }
.links > a:nth-of-type(6):hover ~ .line { --index: 6; }
.links > a:nth-of-type(7):hover ~ .line { --index: 7; }
.links > a:nth-of-type(8):hover ~ .line { --index: 8; }
.links > a:nth-of-type(9):hover ~ .line { --index: 9; }
.links > a:nth-of-type(10):hover ~ .line { --index: 10; }
.links > a:last-of-type:hover ~ .line { --index: var(--items); }

/*
## Humburger MENU ##
.checkbtn{
    font-size:30px;
    color:white;
    float:right;
    margin-top: 20px;
    margin-right:40px;
    cursor: pointer;
}
#check{
    display: none;
}*/

form{
    direction: rtl;
}

form input{
    direction: rtl;
}

/*Space table to feet 24 'Gouvernorat'  */
.region ul li{
    padding-top: 10px!important;
    padding-bottom: 5px!important;
}
.list-group-flush>.list-group-item{
    border-width: inherit;
}

/*Waves animation*/
.box-waves {
    max-height:80px;
    text-align:center;

    color:white;
}
.waves {
    max-height:80px;
    position:relative;
    width: 100%;
    height:20vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
}
/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

.service:hover .card{
    filter: blur(20px);
    transform: scale(0.9);
    opacity: 0.5;
}
.service .card:hover{
    filter: blur(0px);
    transform: scale(1.1);
    opacity: 1;
    cursor: pointer;
}
.carte{
    margin-bottom:40px;
    text-align: center;
}
/*Social Media Contact*/
.btn__container {
    display: flex;}

.btn-f {
    min-width: 110px;
    background-color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #286ed6;
    display: flex;
    transition: all 0.2s ease-in-out;
}
.btn-f i {
    color: #286ed6;
    font-size: 20px;
    padding-right: 10px;
    transition: all 0.3s ease-in-out;
}
.btn-f span {
    font-family: "Roboto", sans-serif;
    align-self: center;
    transform: translateX(0px);
    transition: all 0.1s ease-in-out;
    opacity: 1;
}
.btn-f:hover {
    transform: scale(1.1);
    background-color: #286ed6;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}
.btn-f:hover i {
    transform: translateX(45px);
    padding-right: 0;
    color: #fff;
}
.btn-f:hover span {
    transform: translateX(30px);
    opacity: 0;
}
.btn-f:active {
    transform: scale(1);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/*Button contact*/
@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}
#contact_us{
    margin-top: 20px;
    background-color: #17182f!important;
    color: white;
    font-size: 16px;
}
#contact_us:hover{
    animation: bounce 1s;
}

.carte-mort{
    height: 180px;
    margin-bottom:100px;
}

.date-header{
    font-size:30px;
}
/* header-mobile*/
.mobile-header{
    display:none;
}

/*STAT GRAPHE*/
.stat_graph{
    max-width:700px;
    margin-bottom: 20px!important;
}
.stat_gender {
    max-width:700px;
    background-color: #e3bf5e;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.age_param{
    padding-top:20px;font-size:20px;display: inline-block;padding-left: 20px;
}

/*Shrinking for mobile*/
@media (max-width: 768px)
{
.police{
    font-size:20px;
}
    .waves{
        display:none;
    }
    body{
        background: #1d3367!important;
    }
    #btn_filtre{
        text-align:center;
    }
    .carte-mort{
        height: 160px;
    }
    .date-header{
        font-size:28px;
    }
    .header-title{
        font-size: 32px;
    }
    #banniere h1{
        font-size: 30px;
    }

    .service:hover .card{
        filter: blur(0px);
        transform: scale(1.1);
        opacity:1;
    }
    .service .card:hover{
        filter: blur(0px);
        transform: scale(1.1);
        opacity: 1;
        cursor: pointer;
    }

    /* header-mobile*/
    .mobile-header{
    display:block;
    }
    /* header-desktop*/
    .desktop-header{
        display:none;
    }

    .stat_graph{
        margin-bottom: 20px!important;
    }

    .stat_gender {
        padding-bottom: 20px;
    }
    .stat_gender h2 {
        font-size: 1.5rem;
    }
    .carte-mort {
    padding-right: 0px;padding-left: 0px;
    }


}

@media (max-width: 1200px){
    .stat_graph{
        margin-bottom: 20px!important;
    }
    .stat_gender {
        padding-bottom: 20px;
    }
}

/* code HUMBURGER */
.humburger-menu ul li{
    list-style:none;
    margin: 35px 0;
}
.humburger-menu ul li a {
    text-decoration: none;
    font-size: 40px;
    color: white;
    padding:10px;
    position: relative;
}
.humburger-menu ul li a::after{
    content: '';
    height: 3px;
    width: 0;
    background: #e3bf5e;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.5s;
}
.humburger-menu ul li a:hover::after{
    width:100%
}
.humburger-menu{
    position: absolute;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index:600000;
    top:-100vh;
    left:0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 1s;
}
.close-humburger{
    width:25px;
    position: absolute;
    right:5px;
    top:20px;
    cursor: pointer;
}

