body{
    position:relative;
    height: 100vh;
    margin: 0;
   
}
.container{
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    top:50%;
    height: 100%;
}

#coverLogin {
    position: relative;
    text-align: center;
    /*  background-image: url(../images/back/backg.jpg);
    background-size: cover; */
    /* background-image: linear-gradient(to bottom, rgb(0 0 0 / 87%) , rgb(175 250 87)); */
    background-image: url(../images/index/background3.jpg);
    background-size: cover;
    max-width: 1170px;
    overflow: hidden;
    /* border-radius: 6px; */
    padding-bottom: 7vh;
    padding-top: 7vh;
    margin: auto;
    -webkit-box-shadow: 0px 0px 27px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 27px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 27px 0px rgba(50, 50, 50, 0.75);
    max-height: 640px;
    min-height: 330px;
    height: 96%;
    box-sizing: border-box;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    top:50%;
    background-position-y: -90px;
}
#coverLogin::after{
    content: url('../images/universale/logo_fida.png');
    position: absolute;
    right: 35px;
    top: 42px;
}
#coverLogin::before {
    background: url(../images/app/logo_factura.png) no-repeat;
    background-size: 106px auto;
    content: "";
    display: inline-block;
    height: 126px;
    width: 183px;
    position: absolute;
    left: 42px;
    top: 28px;
}
/* BASIC */
body {
    font-family: "Poppins", sans-serif;
    /* height: 100vh; */
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}

/* STRUCTURE */
.wrapper {
    display: flex;
    align-items: center; 
    flex-direction: column;
    height: 87%;
    justify-content: center;
    width: 100%;
    position: absolute;
    min-height: calc(100% - 80px);
    padding: 20px; 
}
   
#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    /* background: #fff; */
    padding: 30px;
    width: 90%;
    max-width: 450px;
    position: relative;
    padding: 0px;
    /* -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3); */
    text-align: center;
    opacity: 0;
    -webkit-animation: fadeIn ease-in .3s;
    -moz-animation: fadeIn ease-in .3s;
    animation: fadeIn ease-in .3s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: .3s;
    -moz-animation-duration: .3s;
    animation-duration: .3s;
}

#formFooter {
    padding: 25px;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    width: 90%;
    max-width: 450px;
}
#formFooter a { 
	color: #443f39;
    color: var(--main-color);
    font-weight: 700
}
/* TABS */
h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}

/* FORM TYPOGRAPHY*/
[type=button], [type=submit], [type=reset] {
	background-color: #443f39;
    background-color:  var(--main-color);
    border: none;
    color: #f5f5f5;
    padding: 15px 35px;
    width: 80%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 5px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
[type=button]:hover, [type=submit]:hover, [type=reset]:hover
    {
    background-color: #757575;
    background-color: var(--second-color);
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active
    {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

input[type=text], input[type=password] {    
    background-color: transparent;
    /* background-color: #f5f5f5!important; */
    border: none;
    color:  var(--main-color);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 80%;
/*     border: 2px solid #ccc; */
    border-bottom: 2px solid #ccc;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    box-sizing: border-box;
}

input[type=text]:focus, input[type=password]:focus, input[type=text]:hover, input[type=password]:hover{
    background-color: #f5f5f5;
    border-bottom: 2px solid  var(--main-color);
}

input[type=text]:placeholder, input[type=password]:placeholder {
    color: #cccccc;
}

/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown { 
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100%{
        opacity : 1;
        -webkit-transform:translateY(-50%);    
        transform:translateY(-50%);  
    }
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -150%, 0);
        transform: translate3d(0, -150%, 0);
    }
    100%{
        opacity:1;
        -webkit-transform:translateY(-50%);    
        transform:translateY(-50%);  
    }
}


@-webkit-keyframes fadeInDownSmall {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDownSmall {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}


/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from { opacity:0;}to {opacity: 1;}
}
@-moz-keyframes fadeIn {
    from { opacity:0;}to {  opacity: 1;}
}
@keyframes fadeIn {
    from { opacity:0;}to {  opacity: 1;}
}
.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in .3s;
    -moz-animation: fadeIn ease-in .3s;
    animation: fadeIn ease-in .3s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: .3s;
    -moz-animation-duration: .3s;
    animation-duration: .3s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #0d0d0d;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

/* OTHERS */
*:focus {
    outline: none;
}

#icon {
    width: 60%;
}

.mt-40{
    margin-top: 40px
}
.mb-40{
    margin-bottom: 40px
}
.lang-div{
    width: 100%; 
    text-align: right;
    padding-right: 20px;
}
@media (max-height: 640px) {
    #coverLogin {
        transform: translateY(0);
        top:2%;
    }
    .fadeInDown{
        -webkit-animation-name: fadeInDownSmall;
        animation-name: fadeInDownSmall;
    }
    .mt-40{
        margin-top: 20px
    }
    .mb-40{
        margin-bottom: 20px
    }
}
@media (max-width: 1170px) {
    #coverLogin {        
        margin: 0 2%;
    }
}

.text-login {
 	margin-bottom: 20px;
 	font-size: 15pt;	
}

.text-logo{
	float: left;
	position: absolute;
	left: 150px;
	top: 48px;
	/* color: #4a642c; */
	color: #e8e7ce; 
	font-size: 16px;
	font-weight: bold;
	TEXT-ALIGN: LEFT;
	line-height: 28px;
	text-shadow: 0 0 9px black;
}

@media ( max-width : 500px) {
	.container {
		display: block;
		min-height: 575px;
		height: 100vh;
		max-height: 100%;
	}
	#coverLogin::after {
		float: left;
		bottom: 17px; left : 50%;
		transform: translatex(-50%);
		left: 50%;
		transform : translatex( -50%);
		top: unset;
		content: url(../images/universale/logo_fida1.png);
	 } 
	  
	 #coverLogin {  
	 background-position-y: unset;
	 }
 
	#coverLogin::before {
		left: 46% ;
		transform: translatex(-50%);
		background-size: 91px auto;
	}
	
	.text-logo {
	left: 50%;
    transform: translateX(-11%);
    font-size: 15px; 
    top: 40px;
	}
	
	.wrapper {
    height: 90%
	}

	.underlineHover.lang-change{
	background-color: white;
	}
}
button {
	cursor: pointer;
}

.btn-renunta {
	background-color: #6c757dcc;
}

.btn-renunta:hover, .btn-default:hover {
	background-color: #5a6268;
	color: white;
}

.btn-autentif {
	background-color: var(--autentif-button);
}

.btn-autentif:hover {
	background-color: var(--autentif-button-hover);
}

