.d-none {
  display: none;
}

.ref {
    position: fixed;
    z-index: 99;
    width: 100%;
}

.wrap-label {
    position: absolute;
    background-color: transparent;
    min-height: 500px;
    max-width: 500px;
    right: 0;
}

 .rotate {
    margin-top: 5rem;
    transform-origin: top right;
    transform: rotate(-90deg);
    background-color: #D0D9E6;
    width: 350px;
    height: 60px;
    position: absolute;
    right: 60px;
    top: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 4.5rem;
}

.box-form {
   padding-top: 1rem;
   margin-top: 5rem;
   padding-left: 1.5rem;
   background-color: #D0D9E6;
   width: 420px;
   height: 350px;
   position: absolute;
   right: 0;
   padding-right: 70px;
   transition: all 0.3s linear 0s;
   transform: translateX(100%);
}

.box-form p {
    color: #07407B;
    text-align: center;
}

.box-form form  {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-form input {
    width: 90%;
    border: none;
    border-bottom: 2px solid #07407B;
    padding: 0.5rem;
    padding-left: 0;
    color: #07407B;
    background: 0 0;
    margin-bottom: 1.2rem;
    box-shadow: unset;
}

.form-control:focus {
    border-color: none;
    outline: 0;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.box-form input:focus-visible {
    outline: unset;
}

.box-form form ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-size: 14px;
    color: #07407B;
    opacity: 1; /* Firefox */
  }
  
  .box-form form :-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-size: 14px;
    color: #07407B;
  }
  
  .box-form form ::-ms-input-placeholder { /* Microsoft Edge */
    font-size: 14px;
    color: #07407B;
  }

.box-form .box-btn-submit {
    display: flex;
    margin-top: 1rem;
    justify-content: center;
}

.box-form .box-btn-submit button {
    background-color: #0A77E2;
    color: #fff;
    padding: .5rem 1rem;
    border: none;
    font-weight: 600;
}

.box-form .box-btn-submit button:hover {
    background-color: #065CAF;
}

.box-form.visible {
    transition: all 0.3s linear 0s;
    transform: translateX(0);
 }

.btn-show-newsletter {
    transition: all 0.3s linear 0s;
    transform: rotate(90deg);
    border: 0px;
    background: transparent;
    position: absolute;
    right: 0rem;  
    height: 60px;
    padding: 0px;
}

.btn-show-newsletter.flip {
    transition: all 0.3s linear 0s;
    transform: rotate(-90deg);
}

.btn-show-newsletter img {
    width: 100%;
    max-width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
}

.p-rotate {
    font-weight: bold;
    font-size: 16px;
   margin-bottom: 0px;
   color: #07407B;
   text-transform: uppercase;
   padding-right: 2rem;
}

.box-form .cerrar {
     display: none; 
}

.box-form .cerrar span {
    color: #07407B;
    font-weight: bold;
    position: absolute;
    right: 5%;
    top: 3%;
    transform: translateY(-6px);
}

.ref .box-form h3 {
  display: none;
}

.ref .box-form .text-muted {
  display: none;
}

.ref .box-form .fix {
  width: 100%;
}

.ref .box-form .fix .fix-child {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ref .box-form .fix .fix-child input#Email {
  margin: 0 auto;
  margin-bottom: 2rem;
}

.ref .box-form .fix .fix-child button.btn {
  display: block;
  max-width: 200px;
  z-index: 999;
}

/* MEDIAS */

@media screen and (max-width: 556px) {
    .box-form .cerrar {
     display: block; 
    }
    .rotate.label-hide {
        transform: translateX(100%) rotate(-90deg);
    }
    .box-form.visible {
        width: 400px;
        padding-right: 1.5rem;
        padding-top: 2.5rem;
    }
    .box-form p {
        margin-top: 1rem;
    }
    
}

/*CAMBIOS 23-01-2024*/

.p-rotate span {
  font-size: unset;
  font-weight: bold;
}

.box-form .cerrar span {
    font-family: "century-gothic",sans-serif;
    font-size: 18px;
}

@media screen and (max-width: 556px) {
  .p-rotate span {
    display: none;
  } 
  .rotate {
      width: 175px;
      top: unset;
      padding-left: 1.5rem;
      bottom: 20%;
  }  

}

