html, body {
    height: auto;
    width: 100%;
}

/* ####################################################### */
/* ################### ECRAN LOGIN V2 #################### */
/* ####################################################### */
.loginEcran {
    z-index: 1500;
    position: absolute; top: 0; left: 0;
    display: block;
    height: 100%;
    width: 100%;
    background-image: url('/webshop/img/bg-new.jpg');
    background-position: center;
    background-size: cover;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

#loginSection { 
    position: absolute; 

    top: 0; right: 0; 

    height: 100%; 
    width: 40%; 
    background-color: white;  
    z-index: 1501; 

    border-left: 20px solid var(--vert-1); 
} 
#loginSection #formContainer { 
    position: relative; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    height: fit-content;
    max-width: 60%; 
} 
#loginSection #formContainer .textTag { 
    margin-bottom: 48px; 
    font-weight: 900; 
} 
#loginSection .formSection { 
    margin: 16px; 
} 
#loginSection .formSection input { 
    line-height: 24px;
    height: 36px; width: 100%;
    border-radius: 8px;
    border: 1px solid grey;
    padding: 6px 12px;
    margin-bottom: 16px;
} 

#loginSection #buttonsRow {
    display: flex;
    margin-top: 40px;
}
#loginSection  .loginButton { 
    margin: 4px auto 4px auto;
    padding: 4px 12px 4px 12px;
    font-weight: bolder; 

    border-radius: 4px; 
    border: 3px solid var(--vert-1); 
    background-color: var(--vert-1); 
    color: white; 
} 

#loginSection .forgottenPassWordLink {
    float: right;
    margin-top: -16px;
    color: grey;
    font-size: 14px;
}

#loginSection #createAccountSection {
    margin-top: 60px;
}
#loginSection #createAccountSection a {
    color: black;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-decoration-line: underline;
}


#logoLogin { 
    position: absolute; 
    top: 50%; left: 30%; 

    width: 24%; 

    transform: translate(-50%, -50%); 
}

#loginSection .error {
    display: flex;
    font-size: 14px;
}
#loginSection .error span {
    color: #FF0000;
    margin: 0 auto -10px auto;
}



/* ####################################################### */
/* ####################################################### */
/* ####################################################### */


.enteteLogin {
    height: 100%;
    width: 100%;
    z-index: 50;
    position: absolute;
}

.opaciteLogin {
    height: 100%;
    width: 100%;
    z-index: 100;
    position: absolute;
}

.overlayPopup {
opacity:    0.3; 
background: #000; 
width:      100%;
height:     100%; 
z-index:    1110;
top:        0; 
left:       0; 
position:   fixed; 
}

.sticky {
    position:static !important;
}

.authenLogin {
    color: #666666;
    background-color: #ffffff;
    border:1px solid #eeeeee;
    width: 360px;
    margin: 0 auto;
    margin-top:250px;
    padding: 30px;
    z-index: 150;
    position: relative;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.authenLoginSub {
    color: #666666;
    background-color: #ffffff;
    border:1px solid #eeeeee;
    width: 360px;
    margin: 0 auto;
    margin-top:150px;
    padding: 30px;
    z-index: 1150;
    position: relative;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}



.titreLogin {
    text-transform: uppercase;
    text-align: center;
    color: #333333;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    font-size:2.5em;
    position: relative;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

#inputs input {
    background: #efefef;
    padding: 15px 15px 15px 30px;
    margin: 0 0 10px 0;
    width: 100%;
    box-shadow:none;
    border:none;
}

#username {
    background-position: 5px -2px !important;
}

#password {
    background-position: 5px -52px !important;
}

#actions {
    width:100%;
    margin: 0 0 10px 0;
}

#submit {
    background-color: #ff6666;
    border:none;
    height: 35px;
    padding: 0;
    width: 100%;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 14px;
}

#main{
    position:absolute;
    top:0px;
    width:100%;
    height:100%;
    background-image:url(/webshop/img/bg-new.jpg);
    background-size: cover;
    background-position:center;
    background-repeat:no-repeat;
}

#logo{
    position:relative;
    float:left;
    padding: 0 0 0 160px;
}

#my-webshop{
    position:relative;
    float:right;
    padding: 35px 160px 35px 0px;
    font-size:20pt;
}

#title{
    font-family: inherit;
    font-size: 16pt;
    position: absolute;
    top: 150px;
    text-align: center;
    width: 100%;
}

#no-id{
    font-family: inherit;
    font-size: 10pt;
    position: relative;
    text-align: center;
    margin-top:20px;
    width: 100%;
    color:#392047;
}

#bandeau{
    background-color:#ffffff;
    height:100px;
}

/* ########################################################### */
/* ################### ECRAN SUBSTITUTION #################### */
/* ########################################################### */

.substitutionEcran {
    z-index: 1500;
    position: absolute; top: 0; left: 0;
    display: block;
    height: 100%;
    width: 100%;
    font-size: 16px;
}
#substitutionSection {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    height: fit-content;
    width: fit-content;
    background-color: white; 
    z-index: 1501;
    font-size: 16px;
    font-family: Arial, sans-serif;

    padding: 30px;
}
#substitutionSection .titreSubs{
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    font-size:24px;
    position: relative;
}

#substitutionSection #formContainer {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: fit-content;
}
#substitutionSection #formContainer .textTag {
    margin-bottom: 18px; margin-top: 18px;
    width: 288px;
    max-width: 100%;

    display: inline-block;
    font-size: 14px;
    
    text-align: center;
}
#substitutionSection #formContainer .textTag span {
	width: 100%;
	display: block;
}
#substitutionSection #formContainer .textTag span.userName {
	font-weight: bold;
}

.formSection {
    margin: 16px;
}
.formSection input {
    line-height: 24px;
    height: 36px; width: 100%;
    border-radius: 8px;
    border: 1px solid grey;
    padding: 6px 12px;
}

button.cancelButton, button.substituteButton {
    margin: 4px;
    font-weight: bolder;
    width: 130px;
    padding: 4px 12px;
}
.cancelButton {
    float: left;
    border-radius: 4px;
    border: 2px solid var(--vert-1);
    background-color: white;
    color: var(--vert-1);
}
.substituteButton {
    float: right;
    border-radius: 4px;
    border: 2px solid var(--vert-1);
    background-color: var(--vert-1);
    color: white;
}
/* ########################################################### */



/* -------------- */
/* MEDIA QUERIES  */
/* -------------- */

@media screen and (max-width: 992px) {
    #bandeau {
        background-color: #ffffff;
        height: auto;
    }
    #logo{
        text-align:center;
        float:none;
        padding: 0;
    }
    
    #img-logo{
        text-align:center;
        width: 50%;
        max-width: 350px;
    }
    
    #my-webshop{
        display:none;
    }
    #title {
        font-size:1.2em;
        top:150px;
    }
    .authenLogin {
        width: 80%;
        margin: 0 auto;
        margin-top: 200px;
    }
    .authenLoginSub {
        width: 80%;
        margin: 0 auto;
        margin-top: 100px;
    }

    /* ******************************************************** */
	/* LOGIN */

	#logoLogin {
		display: none;
	}
	#loginSection {
        border: none;
        height: fit-content;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
	}
    #loginSection #formContainer {
        top: 0;
        transform: none;
        left: 0;
        margin: 30px auto 30px auto;
    }
    
    /* ******************************************************** */
}

@media (min-width: 680.1px) and (max-width: 992px) {
    /* ******************************************************** */
	/* LOGIN */
	#loginSection {
        width: auto;
	}
    #loginSection #formContainer {
        min-width: 90%;
    }
    /* ******************************************************** */
}

@media (min-width: 520.1px) and (max-width: 680px) {
    /* ******************************************************** */
	/* LOGIN */
	#loginSection {
        width: 70%;
	}
    #loginSection #formContainer {
        min-width: 90%;
    }
    /* ******************************************************** */
}

@media screen and (max-width: 576px) {
    #title {
        font-size:1.2em;
        top:100px;
    }
    .authenLogin {
        width: 80%;
        margin: 0 auto;
        margin-top: 150px;
    }
}

@media screen and (max-width: 520px) {
    /* ******************************************************** */
	/* LOGIN */
	#loginSection {
        width: 90%;
	}
    #loginSection #formContainer {
        min-width: 95%;
    }
    /* ******************************************************** */
}

@media screen and (max-width: 420px) {
	#substitutionSection {
		padding: 30px 15px;
		width: calc(100% - 16px);
	}
	#substitutionSection #formContainer .textTag span:not(.userName) {
		font-size: 12px;
	}
}
@media screen and (max-width: 360px) {	
	button.cancelButton, button.substituteButton {
	    width: 110px;
	    padding: 4px 4px;
	    font-size: 14px;
	}
}