.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--shop-bg-color);
    z-index: -1;
}

.textoAviso{
    height: 20px;
    text-align: center;
    color: #FF7777;
}

.nav-to-hide {
    /*position: absolute!important;*/
}
/*---------------------------*/


.section-inicial{
    flex-wrap: wrap;  
    padding-bottom: 0;
}


.bloque-credenciales{
    min-height: 25vh;
    background-color: #D9D9D9;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 15px;
    font-family: 'Montserrat';
    font-weight: 300;
    color: #000;
    align-items: center;
    justify-content: space-around;
}

.bloque-credenciales input[type="text"]{
    background-color: #D9D9D9;
}


.recordatorio-credenciales{
    float:left;
    position:relative;
    width:100%;
}

.flores-dec {
    position: absolute;
    width: 17%;

}


.input,textarea {
    font-size: 14px;
    -webkit-appearance: none;
    display: block;
    color: #595f6e;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #a1a1a1 !important;
}

textarea{height: 150px !important;}
.input:focus { outline: none; }
textarea:focus { outline: none; }



/* Label */


.labelFormulario {
    color: #a1a1a1; 
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.2s ease;
}



/* active */


.input[type="text"]:focus ~ label, .input[type="text"].used ~ label, input[type="text"]:valid ~ label {
    top: 0px;
    transform: translateX(0%);
    color: #8b1e3f;
    bottom:-1px;
    font-size: 13px
}
textarea:focus ~ label, textarea.used ~ label, textarea:valid ~ label {
    top: -33px;
    transform: translateX(0%);
    color: #8b1e3f !important;
    bottom:-1px !important;
    font-size: 13px
}



/* Underline */


.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 1px; 
    width: 0;
    bottom: 1px; 
    position: absolute;
    background: #8b1e3f; 
    transition: all 0.2s ease;
}

.bar:before { left: 0%; }

.bar:after { right: 0%; }



/* active */


.input:focus ~ .bar:before, .input:valid ~ .bar:before{ width: 100%; }
textarea:focus ~ .bar:before , textarea:valid ~ .bar:before { width: 100%; }



/* Highlight */


.highlight {
    position: absolute;
    height: 60%; 
    width: 100px; 
    top: 25%; 
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}



/* active */


.input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}
textarea:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}


.label-name{
    transition: all 0.2s ease;
}

.form .label-name {
  border-bottom: none;
}

#flores-dec-1 {
    right: 0;
    bottom: 0;
}

#flores-dec-2 {
    transform: rotate(180deg);
    left: 0;
    top: 0;
}

/*---------FORM------------------*/
#form-login-privada {
    /*margin: 20px 0;*/
    width: 30%;
}

.form-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/**/

.form-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 25px;
}

.form-item input {
    height: 40px;
    width: 100%;
    border: 1px solid rgb(51, 51, 51, 0.3);
    padding: 20px 10px;
    font-family: "Poppins Light", sans-serif;
    font-size: 1.2rem;
}

.form-item label {
    font-size: 1.2rem;
}

.form-button {
    height: 40px;
    width: 100%;
    text-transform: uppercase;
    font-family: 'Poppins Light', sans-serif;
    font-size: 1.2rem;
    border: none;
    color: white;
    background-color: var(--logo-color);
    cursor: pointer;
}

.recordar-credenciales {
	text-align: center;
	margin-top: 10px;
	cursor: pointer;
	float: right;
	/* right: 0; */
	color: #000000;
	position: relative;
	margin-left: 23px;
	margin-right: 7px;
	font-size: 15px;
	font-weight: 300;
	font-family: 'Montserrat';
        text-decoration: underline;
        cursor:pointer;
}

#txtCambiarPass, #txtAntiguaPass , #txtNuevaPass {
    margin-bottom: 0.5rem;
}

/*
.form {
  font-size: 16px;
  width: 38vw;
  position: relative;
  margin-left: 32.9vw;
  overflow: hidden;
  padding-top: 2em;
}
*/

.form-input-wrapper {
  position: relative;
  width: calc(50% - 90px);
  /*margin-bottom: 2em;*/
}

.form input[type="text"],
.form input[type="password"],
.form textarea {
  width: 100%;
  height: 100%;
  color: #595f6e;
  padding-top: 20px;
  border: none;
  outline: none;
}

.input-recuadro{
    border: 1px solid rgba(51, 51, 51, 0.3) !important;
  padding: 10px !important;
}

.form .label-name {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-bottom: 1px solid#a1a1a1;
  color: #000000;
}

.form label::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -1px;
  height: 100%;
  width: 0;
  border-bottom: 1px solid #000000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.content-name {
  position: absolute;
  bottom: 5px;
  left: 0px;
  transition: all 0.3s ease;
  font-weight: 400;
}

.content-message {
  position: absolute;
  top: 5px;
  left: 0px;
  transition: all 0.3s ease;
  font-weight: 400;
}

.form input[type="text"]:focus + .label-name .content-name,
.form input[type="text"]:valid + .label-name .content-name,
.form textarea:focus + .label-name .content-message,
.form textarea:valid + .label-name .content-message {
  transform: translateY(-150%);
  font-size: 14px;
  color: #000000;
}

.form input[type="text"]:focus + .label-name::after,
.form input[type="text"]:valid + .label-name::after,
.form textarea:focus + .label-name::after,
.form textarea:valid + .label-name::after {
  transform: translateX(0%);
}

.service-section-header-form {
  /*padding-left: 7.15vw;*/
}

.form-attention {
  font-size: 12px;
  color: #a1a1a1;
  font-weight: 400;
  margin-bottom: 40px;
  width: 100%;
  line-height: 1.6;
}

.form-attention a {
  font-weight: 400;
}

input[type="checkbox"] {
  width: auto;
  height: auto;
  appearance: auto;
}

.checkbox-label {
  font-size: 12px;
  color: #a1a1a1;
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cbox1 {
  margin-right: 0.5em;
}



/*Para los radio buttons del formulario de la página de contacto.*/

.radio-group-container {
  margin-bottom: 35px;
}

.radio-group-subcontainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.radio-group-container
  .radio-group-subcontainer
  .radio-btn-lbl-container:last-child {
  /*margin-left: 35px;*/
}

.radio-group-container
  .radio-group-subcontainer
  .radio-btn-lbl-container:not(:last-child) {
  width: 50%;
}

.radio-group-container .radio-group-subcontainer:last-child {
  margin-top: 7px;
}

.radio-btn-lbl-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.radio-btn-lbl-container label {
  margin-left: 1em;
  font-size: 14px;
}

input[type="radio"] {
    height: 13px;
    appearance: auto;
    margin-top: -1px;
}

.radio-group-container h4,
.form-attach-wrapper label {
  margin-bottom: 15px;
  color: #a1a1a1;
  font-weight: 400;
}

.form-contact-page {
  margin-left: 32.9vw;
  margin-top: 20px;
}

.service-section-header-form-contact-page {
  padding-left: 0;
}

.form-attach-wrapper input[type="file"] {
  margin: 20px 0;
}

.errorFormularioContacto {
    color: #ff0000;
    display: none;
    width: 100%;
    float: left;
    position: relative;
    margin-top: 25px;
    margin-bottom: 25px;
}

.circle-error-message {
    height: 10px;
    width: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.6rem;
}

.colorRojo {
    color: #ff0000;
}

.bordeRojo {
    border-color: #ff0000;
}

@media screen and (max-width: 780px) {
  .form {
    margin-left: 0vw;
    width: 86vw;
  }
  .form button {
    width: 100%;
  }
  
  .botonEnviarFormulario{
    margin-left: 0;
    width: 86vw;
  }
  
  .service-section-header-form {
    padding-left: 0;
  }
  .service-section-header-form-contact-page {
    /*padding-left: 7vw;*/
  }
}


@media screen and (max-width: 600px) {
    .bloque-credenciales{
       flex-direction: column; 
    }
    
    .form-input-wrapper{
        width:100%;
    }
}

/*----------END FORM-----------------*/

/* Maximum aspect ratio */
@media (max-aspect-ratio: 16/9) {

    #form-login-privada {
        width: 40%;
    }


    .flores-dec {
        width: 17%;	
    }

}

/* Maximum aspect ratio */
@media (max-aspect-ratio: 16/13) {

    #form-login-privada {
        width: 60%;
    }


    .flores-dec {
        width: 27%;	
    }

}

/* Maximum aspect ratio */
@media (max-aspect-ratio: 16/19) {

    #form-login-privada {
        width: 70%;
    }


}

/* Portrait phones (less than 700px) */
@media (hover: none)
and (pointer: coarse)
and (orientation: portrait), (max-width: 400px) {

    .background {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--shop-bg-color);
        z-index: -1;
    }

    /*---------------------------*/


    .flores-dec {
        width: 30%;		
    }

    /*---------FORM------------------*/
    #form-login-privada {
        /*margin: 50px 0;*/
        width: 80%;
    }

    /**/

    .form-item {
        /*margin-bottom: 20px;*/
    }

    .form-item input {
        /*height: 90px;*/
        /*padding: 20px 10px;*/
        /*font-size: 3rem;*/
    }

    .form-item label {
        /*font-size: 3rem;*/
    }

    .form-button {
        /*height: 90px;*/
        /*font-size: 3rem;*/
    }

    .recordar-credenciales {
        /*margin-top: 30px;*/
        /*font-size: 3rem;*/
    }
    /*----------END FORM-----------------*/

}