﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

/*Ajouté par Youssef*/

/*Début bouton ON/OFF*/
    /*Source : https://proto.io/freebies/onoff/*/
.onoffswitch {
    position: relative;
    width: 66px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 23px;
        padding: 0;
        line-height: 23px;
        font-size: 14px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before {
        content: "OUI";
        padding-left: 9px;
        background-color: #2ecc71; /* #34A7C1*/
        color: #FFFFFF;
    }

    .onoffswitch-inner:after {
        content: "NON";
        padding-right: 9px;
        background-color: darkgray; /* #EEEEEE;    #f54b5e*/
        color: #FFFFFF;
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 24px;
    margin: 3.5px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 39px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}
/*Fin bouton ON/OFF*/

.block {
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 15px;
    padding-bottom: 5px;
    border-radius: 10px;
    background-color: #eeeeee;
    box-shadow: 0 2px 6px 0 rgba(176, 186, 197, 0.6);
}

h4 {
    font-size: 20px;
    font-weight: 900;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
}

.small-separator {
    width: 70px;
    height: 3px;
    background-color: #2196f3;
    border: 0;
    margin-top: 10px;
}

.navbar-Backround-Couleur {
    background-color:#0486b5 /* #0cbeff;  */
}

/*permet de cliquer sur le x pour fermer les messages*/


.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .closebtn:hover {
        color: black;
    }
/*-----------------*/
