@font-face {
    font-family: "LinLibertine";
    src: url("../Fonts/LinLibertine_RB.ttf");
}

@font-face {
    font-family: "Lato";
    src: url("../Fonts/Lato-Light.ttf");
}

@font-face {
    font-family: "Consolas";
    src: url("../Fonts/consolaz.ttf");
}

a, a:hover {
    color: #5e5e5e;
}

.auteur-date { 
  padding: 0;
  margin: 0;
}

.label-decale {
    position: relative;
    bottom: -7px;
}

.btn-connection {
    margin-right: 5px;
    margin-left: 10px;
}

.btn-decale {
    position: relative;
    bottom: -10px;
}

#conteneur {
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 100px;
    height: auto;
}

.close {
    margin-right: 15px;
}

.myForm .checkbox{
    display: none;
}

.switch {
    display: inline-block;
    vertical-align: middle;
    margin-left: 55%;
    width: 100px;
    height: 30px;
    overflow: hidden;
    border-radius: 30px;
}

.switch-container {
    display: inline-block;
    width: 170px;
    height: 30px;
    margin-left: -70px;
    transition-duration: 0.3s;
}

.switch .on, .switch .off{
    display: inline-block;
    float: left;
    background-color: green;
    width: 50%;
    height: 30px;
    text-align: center;
    padding: 4px 0;
    color: white;
    position: relative;
    z-index: 5;
}

.switch .on {
    border-radius: 30px 0 0 30px;
}

.switch .off {
    background-color: red;
    border-radius: 0 30px 30px 0;
 }

.switch .mid {
    display: inline-block;
    float: left;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: white;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
    z-index: 15;
    border: 4px solid red;
}

input:checked + .switch-container {
    margin: 0;
}
input:checked + .switch-container .mid{
     border-color: green;
 }

#img-panel-admin {
    height: 400px;
    overflow-y: scroll;
}

.popup {
    width: auto;
    padding: 10px;
    margin-left: 15px;
    margin-right: 15px;
}

/*#footer {
    font-size: smaller;
    padding: 0;
    margin: 0;
    margin-right: -1px;
    position: absolute;
    width: 100%;
    clear: both;
}*/

#footer p {
    margin: 0 10px;
}

#footer ul {
    margin: 10px 10px 5px 10px;
}

#footer #dessous{
    margin: 5px 10px 10px 10px;
}

.form-group {
    margin-top: 5%;
    margin-bottom: 5%;
}

form label {
    font-size: 1.2em;
}

.inputFocus:focus, .inputFocus{
    border-color: red;
    box-shadow: 0px 0px 15px 3px #ee4444;
}

#page-principale {
    margin-top: 70px;
}

.separator {
    margin: 20px 0;
    width: 110%;
    margin-left: -5%;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.timeDef {
    padding: 0;
    margin: 10px 0;
    position: relative;
    bottom: -5px;
}

.dateDef {
    position: relative;
    left: -40px;
    bottom: -7px;
}

.tete-liste h3, .tete-liste h4, .tete-liste h5, .tete-liste h6 {
    font-weight: bold;
}

.titre, .sous-titre {
    font-weight: bold;
    letter-spacing: .05em;
    font-family: "LinLibertine";
    margin-bottom: 20px;
    /*text-decoration: underline;*/
}

.titre {
    font-size: 3em;
}

.sous-titre {
    margin-top: 20px;
    font-size: 2em;
}

.myBtn {
    position: relative;
    bottom: -20px;
}

.myForm {
    margin-top: 5%;
    margin-bottom: 5%;
}

.myForm input {
    height: 35pt;
}

.myForm button {
    height: 35pt;
}

.myImg {
    width: 75%;
    margin: 10px auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
}

.myImg img {
    width: 100%;
    height: 300px;
    visibility: hidden;
}

.myContainer {
    width: 90%;
    margin: auto;
}

.commentaire {
    padding: 0 200px;
}

@media only screen and (min-device-width : 120px) and (max-device-width : 1024px) {

    #article {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .btn-connection {
        width: 100%;
        margin: 0;
    }

    .btn-decale {
        position: relative;
        bottom: 5px;
    }

    .btn-sup {
        position: relative;
        top: -20px;
    }

	.sujets {
        padding-bottom: 0;
        margin-bottom: 0;
	}

    .label-decale {
        position: relative;
        bottom: -8px;
    }

    .commentaire {
        padding: 0;
    }

    .dateDef {
        left: 0;
        bottom: -10px;
    }

	#page-principale {
		min-height: inherit;
	}
    
    #footer #gauche {
        float: left;
        width: 30%;
        margin: 0;
        margin-left: 5%;
    }

    #footer #droite {
        margin: 0;
        margin-left: 30%;
    }

    #footer li {
        display: inline-block;
        margin-right: 5px;
    }

    #footer ul {
        margin: 0;
        padding : 0;
    }

    #footer #dessous {
        margin: 0;
        float: left;
        width: 100%;
        margin-left: 5%;
    }

    #page-principale {
        margin-top: 50px;
    }

    .myForm input {
        height: 25pt;
        margin-top: 10px;
    }

    .myForm button {
        height: 25pt;
        margin-top: 5px;
    }

    .myBtn {
        margin: 0;
        bottom: 0;
    }

    .myContainer {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .myImg {
        width: 100%;
        height: auto;
    }

    .separator {
        margin: 20px 0;
        width: 100%;
     }

    .switch {
        margin-left: 30%;
    }

}
