@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); 

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body
{
    overflow-x: hidden;
    height: 100vh;
    background: no-repeat url("../../../Images/Graphismes/fond.jpg"), #002ca9;
    background-size: cover;

}

a
{
    color: inherit;
    text-decoration: none;
}

.container
{
    position: relative;
    width:100%;
}

.navigation
{
    position: fixed;
    width: 300px;
    height: 100%;
    /*background-color: #003147;*/
    transition: 0.5s;
    overflow: hidden;

}

.navigation.active
{
    width: 60px;
}

.logo
{
    width: 100%;
    height: 100%; 
    padding: 20px;  
}

.navigation ul a li img
{
    padding: 3rem;  
}


.navigation ul
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.navigation ul li
{
    position: relative;
    width: 100%;
    list-style: none;
}

.navigation ul li:hover
{
    background: #03a9f4;
}

.navigation ul li:nth-child(1)
{
    margin-bottom: 20px;
}

.navigation ul li:nth-child(1):hover
{
    background: transparent;
}

.navigation ul li a
{
    position: relative;
    display: block;
    width: 100%;
    display: flex;
    color: #fff;
    text-decoration: none;
}

.navigation ul li a .icon
{
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.navigation ul li a .icon .fas
{
    color: #fff;
    font-size: 24px;
}

.navigation ul li a .title
{
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px;
    white-space: nowrap;
}

.main
{
    position: relative;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 100vh;
    /*background: #f5f5f5;*/
    transition: 0.5s;
}

.main.active
{
    width: calc(100% - 60px);
    left: 60px;
}

.main .topbar
{
    width: 100%;
    /*background: #fff;*/
    height: 60px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
}

.lien_voir_mission a
{
    color: #7dd01c;
    text-decoration: none;
}

.topbar .page
{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}

.toggle
{
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    
}

.toggle::before
{
    content: '\f0c9';
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 60px;
    font-size: 24px;
    text-align: center;
    color: white;
}

.search
{
    position: relative;
    width: 400px;
    margin: 0 10px;
}

.search label
{
    position: relative;
    width: 100%;
}

.search label input
{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    padding-left: 35px;
    outline: none;
    border: 1px solid rgba(0,0,0,0.2);
}

.search label .fas
{
    position: absolute;
    left: 15px;
    top: 4px;
}

.user
{
    position: relative;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid black;
}


.cardBox
{
    position: relative;
    width: 100%;
    padding: 20px;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    user-select: none;
}

.cardBox .card
{
    position: relative;
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.cardBox.index
{
    grid-template-columns: 1fr 1fr 2fr 1fr;
}

.cardBox.parametre_campagne
{
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px 0px;
}

.cardBox.suivicampagne
{
    grid-template-columns: repeat(6, 1fr);
}

.cardBox .card.pointer
{
    cursor: pointer;
}

.cardBox .card input
{
    cursor: pointer;
}

.cardBox .card input[type="checkbox"]:not(:checked), 
.cardBox .card input[type="checkbox"]:checked
{
   transform: scale(2);
}

.cardBox .card input[type=submit]
{
    font-size: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1000;
}

.cardBox .card .iconBox.green
{
    color: #7dd01c;
}





.cardBox .card.news
{
    flex-direction: column;
}
    .cardBox .card.news ul
    {
        padding-left: 20px;
    }

.cardBox .card .numbers
{
    position: relative;
    font-size: 2em;
    font-weight: 500;
}

.cardBox .card .numbers.autovalid
{
    font-size: 1em;
}

.radio_item:checked + label
{
    border : 2px solid black;
    border-radius: 5px;
    padding: 2px;
}


.cardBox .card .cardName
{
    color: #999;
}

.cardBox .card .iconBox
{
    font-size: 2.5em;
    color: #03a9f4;
}

.content
{
    position: relative;
    width: 100%;
    padding: 20px;
    padding-top: 20px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 2fr 1fr;
}

.content.oneblock
{
    grid-template-columns: 1fr;
}

.content.twoblock
{
    grid-template-columns: 1fr 1fr;
}

    .content .card_validation
    {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        /*min-height: 530px;*/
        background: #fff;
        padding: 20px;
    }

    .validation_demande
    {
        width: 4rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }

    .validation_demande .fa-check
    {
        color: #7dd01c;
    }

    .validation_demande .fa-times
    {
        color: red;
    }

    .content .fenetre
    {
        position: relative;
        display: grid;
        /*min-height: 530px;*/
        background: #fff;
        padding: 20px;
    }

    .cardHeader
    {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .cardHeader.padding_bottom
    {
        padding-bottom: 20px;
    }

    .cardHeader h2
    {
        font-weight: 600;
    }

    .btn
    {
        font-size: 1.5rem;
        position: relative;
        padding: 10px 15px;
        background: #03a9f4;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.5s;
    }

    .btn:hover
    {

        background: #004cc9;
    }

    .fenetre table .fas, .validation_demande .fas
    {
        font-size: 2.4rem;
        cursor: pointer;
        padding: 5px 10px;
        transition: all 0.2s linear;
    }

    .fenetre table .fas:hover, .validation_demande .fas:hover
    {
        font-size: 3rem;
    }

    .fenetre h2 .fas
    {
        margin-left: 1rem;
    }

    .fenetre h2 .fas:hover
    {
        cursor: pointer;
    }

    #myTable th .fas:hover
    {
        font-size: 2.4rem;
        color: #03a9f4;
    }

    .fenetre .fa-share-alt
    {
        color: orange;
    }

    .fenetre .fa-chart-bar
    {
        color: #7dd01c;
    }

    .fenetre .fa-times
    {
        color: red;
    }

    .fenetre .fa-pencil-alt
    {
        color: orange;
    }

    .fenetre .fa-check
    {
        color: #7dd01c;
    }

.parametres tr td:first-child
{
    width: 30px;
}

.parametres tr td:last-child
{
    width: calc(100% - 30px);
}


.content table
{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 10px;
}

.content table tr th
{
    font-weight: 600;
}

.content .fenetre table tr
{
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.content .fenetre table tbody tr
{
    height: calc(3rem + 30px);
}

.content .fenetre table tbody tr:last-child
{
    border-bottom: none;
}

.content .fenetre table tbody tr:hover
{
    background: #03a9f4;
    color: #fff;
}

.content .fenetre table tr td
{
    padding: 9px 5px;
    text-align: center;
}

#myTable tr th, #myTable tr td
{
    width: auto;
}



.content .nouveautes
{
    background: #fff;
    padding: 20px;
    height: auto;
}

/* Page Index */

#modal_share
{
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1000;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.8);
}

#modal_share div
{
    width: 80%;
    height: 80%;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align:center;
    font-weight: bold;
    font-size: 15px;
    border: 3px solid black;
    z-index: 100;
    display: grid;
    place-items:  center;
    position: relative;
}

#modal_share div .fas
{
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    color: black;
    cursor: pointer;
}

#modal_share div p
{
    color : #004cc9;
    font-size: 5rem;
}

/* Page Créer campagne */

.campagne_creer input[type=text]
{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    outline: none;
    border: 1px solid rgba(0,0,0,0.2);
}

.campagne_creer .radio_item
{
    position: fixed;
    opacity: 0;
    pointer-events: none;
}

.campagne_creer .liste_robot
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.campagne_creer .liste_robot > label
{
    max-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    cursor: pointer;
}

.campagne_creer .liste_robot > label img
{
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Page Tutoriel */

.tutoriels video
{
    display: block;
    width: 75%;
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
}

/* Page moncompte */

.hide_mdp
{
    display: none;
}

.moncompte input[type=password]
{
    width: 100%;
    height: 40px;
    border-radius: 40px;
    padding: 5px 20px;
    outline: none;
    border: 1px solid rgba(0,0,0,0.2);
}

.moncompte ul
{
   padding-left: 20px;
}

#form_mdp_oublie > div
{
    display: flex;
    justify-content: flex-end;
}

.moncompte .button-validation
{
    border: 0px;
    text-align: right;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 10px;
}

.moncompte .button-validation:disabled
{
    background: gray;
    cursor: unset;
    user-select: none;
}


/* Responsive */
@media (max-width: 992px)
{
    .navigation
    {
        left: -300px;
    }

    .navigation.active
    {
        left: 0;
        width: 300px;

    }

    .main
    {
        width: 100%;
        left: 0;
    }

    .main.active
    {
        width: calc(100% - 300px);
        left: 300px;
    }

    .cardBox
    {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px)
{
    .content
    {
        grid-template-columns: repeat(1, 1fr);
    }

    .cardHeader h2
    {
        font-weight: 600;
        font-size: 18px;
    }
}

@media (max-width: 480px)
{
    .cardBox
    {
        grid-template-columns: repeat(1,1fr);
    }

    .content .fenetre
    {
        overflow-x: auto;
    }

    .content .fenetre table
    {
        width: 600px;
    }

    .navigation
    {
        width: 100%;
        left: -100%;
        z-index: 1000;
    }

    .navigation.active
    {
        width: 100%;
        left: 0;
    }

    .toggle.active
    {
        position: fixed;
        z-index: 10000;
        right: 0;
        left: initial;
    }

    .toggle.active::before
    {
        color: #fff;
    }

    .main,
    .main.active{
        width: 100%;
        left: 0;
    }

}

#dialog-form label, #dialog-form-modify label { display:block;}
#dialog-form input, #dialog-form-modify input { width: 100%; font-size: 1.2rem; padding: 0.4rem;}

#dialog-form fieldset, #dialog-form-modify fieldset
{
    padding: 1rem; 
    position: relative;
}

.closeUser, .closeUserModify
{
    position: absolute;
    right: 10px;
    top: 0px;
    font-size: 28px;
    font-weight: bold;
}

.closeUser:hover, .closeUser:focus, .closeUserModify:hover, .closeUserModify:focus
{
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#input_change_name
{
    padding-left: 0.2rem;
    font-size: 1.5rem;
    border: 1px solid black;
}