@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');


body{
    --wp--style--content-size: 70%;
    --wp--style--content--mobile-size: 100%;
    --wp--style--wide-size: 1280px;
    --primary--color:#009832;
    --secondary--color:#000;
    --light--green--color:#DDEEE0;
    --title--color:#fff;
    --white--color:#fff;
    --w2r--font--family:'Open Sans',sans-serif;
    font-size:16px;
}

.checkin-plugin-body{
    max-width:var(--wp--style--content-size)!important;
}

@media(max-width:768px){
    .checkin-plugin-body{
        max-width:var(--wp--style--content--mobile-size)!important;
    }
}

h1, h2, h3, h4, h5, h6, p, a, label, span{
    font-family:var(--w2r--font--family)!important;
}

h5{
    font-size:20px!important;
}

label{
    font-size: 14px;
    font-weight: 600;
}

/*i{
      color:var(--primary--color);
  }*/

.error{
    background:#FFBFBF;
    color:#D20000;
    margin-bottom:10px;
    font-size:16px;
}

.alert-warning{
    font-size:16px;
    color: #000;
    background-color: #FFBFBF;
    border-color: #FFBFBF;
}

#checkin-plguin-container{
    width:100%;
    padding: 20px;
}

.checkin-login{
    background: rgba(255,255,255,1);
    box-shadow:0px 0px 23px rgba(0,0,0,0.1);
}

/*.checkin-title-top{
    background:var(--primary--color);
    text-transform:uppercase;
}*/

.checkin-title-box{
    padding:15px 15px;
    text-align:center;
}

.checkin-title-box h2{
    color:var(--primary--color);
}

.checkin-title-box hr.solid-small{
    border-top:5px solid var(--primary--color);
    width:80px;
}

.checkin_field_title {
    color:var(--secondary--color);
    font-weight: normal;
    font-size:16px;
}

.welcome_div{
    padding:15px 15px;
    text-align:center;
    color:var(--secondary--color);
    border-bottom:1px solid #ededed;
}

.welcome_div p{
    margin-bottom:0;
    font-size:16px;
}

.checkin-icon-modulo3 {
    width: 100%;
    margin-bottom: 10px;
}

.checkin-icon-modulo3 i {
    position: absolute;
    top: 42px;
    width: 40px;
    font-size: 16px;
    color:var(--primary--color);
}

.icon {
    padding: 10px;
    min-width: 40px;
}

.input-field {
    width: 100%;
    text-align: center;
}

.btn-checkin-primary, #finish_checkin_button{
    background:var(--primary--color);
    color:#fff;
    border-color:var(--primary--color);
    text-transform:uppercase;
}

.btn-checkin-primary:hover, #finish_checkin_button:hover{
    background:var(--secondary--color);
    border-color:var(--secondary--color);
    color:#fff!important;
}

.form-control {
    width: 100%;
    border-radius: 0;
    padding: 13px 12px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #000 !important;
}
.checkin-form-control {
    width: 100%;
    padding: 13px 10px!important;
    border-radius: 5px;
    border: 1px solid var(--light--green--color)!important;
    background: #FFFFFF!important;
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary--color);
    outline: none;
    resize: none;
}
/*************************************/
/* booking resume */

.checkin-plugin-body{
    display:flex;
    flex-direction:row;
    margin: 0 auto;
}

.checkin{
    padding:0;
}

.checkin-booking{
    background: rgba(255,255,255,1);
    display:flex;
    height: auto;
    box-shadow:0px 0px 23px rgba(0,0,0,0.1);
}


.checkin-booking-driver{
    background: rgba(255,255,255,1);
    display:flex;
    flex-direction:column;
    height: auto;
    margin-bottom:40px;
    box-shadow:0px 0px 23px rgba(0,0,0,0.1);
}

.logout-btn{
    background:var(--secondary--color);
    color:#fff;
    border-color:var(--secondary--color);
    text-transform:uppercase;
    padding: 5px 25px;
    border-radius: 0.25rem;
    font-size:14px;
    float:right;
    margin-bottom:15px;
}

.go-back, .formbold-back-btn{
    background:var(--secondary--color);
    color:#fff;
    border-color:var(--secondary--color);
    text-transform:uppercase;
    padding: 9px 25px;
    border-radius: 0.25rem;
    font-size:16px;
}

.go-back:hover{
    background:var(--primary--color);
    border-color:var(--primary--color);
    color:var(--white--color)!important;
}

.booking_info{
    padding-top:15px;
    padding-bottom:15px;
    border-right:1px solid #efefef;
}

.booking_car{
    padding:15px;
    align-content:center;
    border-left:1px solid #efefef;
}

.checkin-booking .checkin_details_title{
    font-size:25px;
    color:var(--primary--color);
}

.booking_data{
    display:flex;
    flex-direction:column;
}

.booking_data > *{
    flex:2 1 auto;
    padding:10px;
}

.booking_data_info > *{
    flex:1;
    padding:10px;
}

.booking_data_info .right{
    border-left: 2px solid #ededed;
}

.booking_data_img{
    text-align:center;
}
.booking_data_img img{
    box-shadow:0px 0px 10px #efefef;
    width:100%;
}

.booking_data_details_div{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    border-bottom:1px solid #efefef;
    padding:10px 0;
}

.booking_pickup, .booking_dropoff{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    border-bottom:1px solid #efefef;
    padding:10px 0;
}

.checkin_details_title{
    font-weight:700;
    color:var(--primary--color);
}

.driver_info{
    display:flex;
    padding:10px 0;
    border-bottom:1px solid #efefef;
}

.driver_info > *{
    flex:2 1 auto;
}

.driver_info .driver_button, .driver_info .driver_button_edit{
    text-align:right;
}

.driver_button i{
    color:var(--primary--color);
    font-size:25px;
}

.driver_button_edit i{
    font-size:22px;
    color:#000;
}

.driver_button_edit .complete{
    background: green;
    border-radius: 5px;
    padding: 6px 9px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

.driver_button_edit .not_complete{
    background: #fff;
    border: 2px solid red;
    border-radius: 5px;
    padding: 6px 9px;
    cursor: pointer;
    font-size: 14px;
    color: red;
    font-weight: bold;
}






/*********************************************/
/* FORMULARIO */

  .formbold-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
  }

  .formbold-form-wrapper {
    margin: 0 auto;
    /*max-width: 750px;*/
    width: 100%;
  }

  .formbold-steps {
    padding-bottom: 18px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--light--green--color);
  }
  .formbold-steps ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 40px;
  }
  .formbold-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #536387;
  }
  .formbold-steps li span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light--green--color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #536387;
  }
  .formbold-steps li.active {
    color: #07074D;;
  }
  .formbold-steps li.active span {
    background: var(--primary--color);
    color: #FFFFFF;
  }

  .formbold-input-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
  }
  .formbold-input-flex > div {
    width: 50%;
  }
  .formbold-form-input {
    width: 100%;
    padding: 13px 10px!important;
    border-radius: 5px;
    border: 1px solid var(--light--green--color)!important;
    background: #FFFFFF!important;
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary--color);
    outline: none;
    resize: none;
  }
  #birth_date, #license_date, #licence_validate, #document_validity, #document_issue_date{
      background: #FFFFFF!important;
      padding: 15px 10px!important;
  }
  .gj-datepicker-md [role=right-icon] {
    position: absolute;
    right:5px!important;
    top: 12px!important;
    font-size: 24px;
  }
  .formbold-form-input:focus {
    border-color: var(--primary--color);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }
  .formbold-form-label {
    color: #07074D;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    display: block;
    margin-bottom: 10px;
  }

  .formbold-form-confirm {
    border-bottom: 1px solid var(--light--green--color);
    padding-bottom: 35px;
  }
  .formbold-form-confirm p {
    font-size: 16px;
    line-height: 24px;
    color: #536387;
    margin-bottom: 22px;
    width: 75%;
  }
  .formbold-form-confirm > div {
    display: flex;
    gap: 15px;
  }

  .formbold-confirm-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 0.5px solid var(--light--green--color);
    border-radius: 5px;
    font-size: 16px;
    line-height: 24px;
    color: #536387;
    cursor: pointer;
    padding: 10px 20px;
    transition: all .3s ease-in-out;
  }
  .formbold-confirm-btn {
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.12);
  }
  .formbold-confirm-btn.active {
    background: var(--primary--color);
    color: #FFFFFF;
  }

  .formbold-form-step-1,
  .formbold-form-step-2,
  .formbold-form-step-3 {
    display: none;
  }
  .formbold-form-step-1.active,
  .formbold-form-step-2.active,
  .formbold-form-step-3.active {
    display: block;
  }

  .formbold-form-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-top: 25px;
  }
  .formbold-back-btn {
    cursor: pointer;
    background: var(--secondary--color);
    border: none;
    border-radius:5px;
    color: #fff;
    font-weight: 400;
    padding: 10px 25px;
    font-size: 16px;
    line-height: 20px;
    display: none;
  }
  .formbold-back-btn:hover{
    background:var(--primary--color);
    border-color:var(--primary--color);
    color:var(--white--color)!important;
  }
  .formbold-back-btn.active {
    display: block;
  }
  .formbold-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    border-radius: 5px;
    padding: 10px 25px;
    border: none;
    font-weight: 500;
    background-color: var(--primary--color);
    color: white;
    cursor: pointer;
  }
  .formbold-btn:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
  }

/****************************************************************/
/* Success */

#checkinreserva_success{
    background:#fff;
    padding:30px;
    height: auto;
    margin-bottom:40px;
    box-shadow:0px 0px 23px rgba(0,0,0,0.1);
}

.success_text{
    text-align:center;
    margin-bottom:20px;
}

.success_text i{
    color:#009832;
    font-size:50px;
}


@media(max-width:768px){
    .checkin-booking{
        display:flex;
        flex-direction:column-reverse;
    }
    
    .booking_info, .booking_car{
        border-right:none;
        border-left:none;
        padding:15px 0px;
    }
    
    .booking_pickup, .booking_dropoff{
        flex-direction:column;
    }
    
    .booking_data_img{
        margin-bottom:15px;
    }
    
    .formbold-input-flex {
        display: flex;
        flex-direction:column;
    }
    .formbold-input-flex > div {
        width: 100%;
    }
    
    .formbold-form-btn-wrapper{
        gap:12px;
    }
      
    .formbold-btn {
        font-size: 12px;
    }
    
    .go-back, .formbold-back-btn{
        text-transform:uppercase;
        padding: 9px 25px;
        border-radius: 0.25rem;
        font-size:12px;
    }
}

/******************************************

.main_modulo{
    border:1px solid #e1e1e1;
    border-radius:10px;
}

.row{
    margin:20px -15px;
}

.label_title{
    font-weight:bold;
}

.img-fluid{
    border-radius:10px;
    box-shadow:10px 10px 12px #e1e1e1;
}

.div_matricula{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.matricula{
    background-image: url(../../assets/images/matricula.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    text-align: right;
    width: 75%;
    display: flex;
    justify-content: space-around;
}

.matricula h3{
    margin-bottom:0;
}

/*****************************************************************************************************/
/* LOADER */

.loading-checkin {
    position: fixed;
    z-index: 999999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  
  /* Transparent Overlay */
  .loading-checkin:before {
      content: '';
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(rgba(0,0,0,.6), rgba(0,0,0, .6))!important;
      background: -webkit-radial-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6))!important;
  }
  
  /* :not(:required) hides these rules from IE9 and below */
  .loading-checkin:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }
  
  .loading-checkin:not(:required):after {
      content: '';
      display: block;
      font-size: 10px;
      width: 1em;
      height: 1em;
      margin-top: -0.5em;
      -webkit-animation: spinner 150ms infinite linear;
      -moz-animation: spinner 150ms infinite linear;
      -ms-animation: spinner 150ms infinite linear;
      -o-animation: spinner 150ms infinite linear;
      animation: spinner 150ms infinite linear;
      border-radius: 0.5em;
      -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
      box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
  }
  
  /* Animation */
  
  @-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }