@media only screen and (max-width: 641px) {
    .gform_wrapper.gravity-theme .chosen-container-single .chosen-single div b {
        position: relative;
        top: 0px !important;
    }
    .gform_wrapper.gravity-theme .chosen-container span:not(.ginput_price) {
        display: block;
        margin-bottom: 0px !important;
    }
}

.reserva-barra .chosen-container-single .chosen-single {
    background: white !important;
    color: #000 !important;
    border: none !important;
    letter-spacing: 1px;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 15px !important;
    height: 50px !important;
    display: flex !important;
    box-shadow: none !important;
    align-items: center;
    font-family: 'Baskervville' !important; 
}

.elementor-popup-modal .dialog-message {
    width: 640px;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    overflow: visible !important;
    display: flex;
}

.reserva-barra .chosen-container-single .chosen-single div b {
  border-color: #fff transparent transparent transparent;
  border-width: 6px 6px 0 6px;
  margin-top:70%;
}

.reserva-barra .chosen-container .chosen-drop {
    background: #fff !important;
    border: none !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 9999 !important;
    top: 100% !important;
    bottom: auto !important;
    position: absolute !important;
}

.reserva-barra .chosen-container.drop-up .chosen-drop {
    top: auto !important;
    bottom: 100% !important;
    margin: 0px !important;
}


.reserva-barra .chosen-container .chosen-results li {
  font-family: 'Baskerville Figma';
  letter-spacing:1px;
  font-size: 18px !important;
  color: #000 !important;
  padding: 10px 12px !important;
  cursor: pointer;
  transition: all 0.2s ease !important;
}

.reserva-barra .chosen-container .chosen-results li:hover {
  background: #000 !important;
  color: #fff !important;
}

.reserva-barra .chosen-container .chosen-results .result-selected,
.reserva-barra .chosen-container .chosen-results .highlighted {
  background-color: #000 !important;
  color: #fff !important;
}

.reserva-barra .active-result.result-selected.highlighted {
    background-color: #000 !important;
}

.reserva-barra ul.chosen-results {
    padding: 0px !important;
    margin: 0px !important;
}

.reserva-barra .chosen-single div b {
    background: url(/wp-content/uploads/2023/10/Seta-Almada.svg) no-repeat 0 10px !important;
    display: block;
    height: 100%;
    width: 100%;
}

.gform_wrapper.gravity-theme .chosen-container .chosen-results li.highlighted {
  background-color: #000 !important;
  background-image: linear-gradient(to bottom, #000 0%, #000 100%) !important;
  color: #fff !important;
}

.chosen-container .chosen-results li:first-child {
  display: none !important;
}

.chosen-container.drop-up .chosen-drop {
  top: auto !important;
  bottom: 100% !important;
  margin-bottom: 5px;
  border-top: 1px solid #ccc;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}


.reserva-barra {
    padding: 10px 0px;
}

.ui-datepicker-title {
    text-align: center;
    font-family: 'Montserrat';
}

.reserva-layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.reserva-info {
    min-width: 200px;
    padding-right: 20px;
    border-right: 1px solid #ccc;
}

.reserva-info h3.reserva-titulo {
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    padding: 10px 0px;
    font-family: 'Baskerville Figma';
    font-weight: 400 !important;
    letter-spacing: 1px;
}

.reserva-info h3.reserva-titulo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 2px;
    background: #000;
}

.reserva-info p.reserva-descricao {
    font-size: 12px;
    color: #000;
    /* text-transform:uppercase; */
    margin: 0;
    font-family: 'Baskervville';
    letter-spacing: 0.6px;
}

.reserva-form-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: start;
    flex: 1;
}

.reserva-form-horizontal .campo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.reserva-form-horizontal label {
    display:none;
    font-weight: bold;
    margin-bottom: 5px;
}

.reserva-form-horizontal input,
.reserva-form-horizontal select {
    padding: 10px;
    height:50px;
    font-size: 14px;
}

.datepicker::placeholder {
    color: #000;
    font-size: 16px;
    opacity: 1;
    font-weight:600;
    letter-spacing: 1px;
}

.gform_wrapper.gravity-theme.reserva-barra input[type="text"],
.gform_wrapper.gravity-theme.reserva-barra select{
    font-size: 16px;
    opacity: 1;
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0;
    margin-top: 0;
    font-family: 'Baskervville';
}

.gform_wrapper.gravity-theme.reserva-barra input[type="text"].datepicker {
    background-image: url('/wp-content/uploads/2023/11/data.png');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px 15px;
    padding-right: 40px;
}

.gform_wrapper.gravity-theme.reserva-barra select {
    background-image: url('/wp-content/uploads/2023/10/Seta-Almada.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 10px;
    padding-right: 35px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.gform_wrapper.gravity-theme.reserva-barra input[type="text"]:focus,
.gform_wrapper.gravity-theme.reserva-barra select:focus {
    background-color: #fff;
    opacity:1 !important;
    color: #000;
    outline: none;
    box-shadow: none;
}

.reserva-form-horizontal .botao {
    flex: 1;
}

.reserva-form-horizontal button {
    background: #000;
    height:50px;
    color: #fff;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Baskervville';
    letter-spacing: 1px;
}

.reserva-form-horizontal button:hover {
    background-color: #ffffff;
    color: #000000;
}

.ui-datepicker {
    z-index: 999999 !important;
}

.gravity-theme.ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day .ui-state-default {
    background: #000;
    border-color: #000;
    box-shadow: 0 .125rem .125rem rgba(58, 58, 87, .06);
    color: #fff;
}

input.datepicker:focus::placeholder {
    opacity: 1 !important;
    color: #000 !important;
}

table.ui-datepicker-calendar {
    font-family: 'Montserrat';
}

.btn-disponibilidade {
    display: none;
}

@media (max-width: 1024px) {

    .reserva-layout {
        padding: 0 20px;
        gap:10px;
    }

    .reserva-info h3.reserva-titulo {
        font-weight: 700;
        margin-bottom: 5px;
        position: relative;
        display: inline-block;
        color: #000;
        font-size: 20px;
        line-height: normal;
        text-transform: uppercase;
        padding: 0;
    }

    .reserva-info h3.reserva-titulo::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 52px;
        height: 2px;
        top: 100%;
        background: #000;
    }

    .reserva-info p.reserva-descricao {
        font-size: 8px;
        color: #000;
        text-transform: uppercase;
        margin: 0;
    }

    .reserva-info {
        min-width: 130px;
        width: 130px;
        padding-right: 5px;
        border-right: 1px solid #ccc;
    }

    .reserva-form-horizontal .campo {
        flex: 1 1 0;
        min-width: 1px;
    }

    .reserva-form-horizontal input,
    .reserva-form-horizontal select {
        width: 100%;
        box-sizing: border-box;
    }

    .reserva-form-horizontal .botao {
        flex: 0 0 auto;
        align-self: stretch;
    }

    .reserva-form-horizontal button {
        padding: 0 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .datepicker::placeholder {
        font-size: 14px;
    }

    .gform_wrapper.gravity-theme.reserva-barra input[type="text"],
    .gform_wrapper.gravity-theme.reserva-barra select{
        font-size: 14px;
    }

    .mensagem-erro{
        font-size:10px !important;
    }
}

@media (max-width: 767px) {

    .reserva-layout {
        display: flex;
        flex-direction: column;
    }

    .active-mobile .reserva-layout {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        padding: 0 10px;
    }

    .reserva-info {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border: none;
    }

    .active-mobile .reserva-info {
        width:40%;
        align-items: flex-start;
    }

    .active-mobile .reserva-info p.reserva-descricao {
        margin: 0px;
    }

    .reserva-info h3.reserva-titulo::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        height: 2px;
        top: 30px;
        background: #000;
    }

    .active-mobile .reserva-info h3.reserva-titulo::before {
        transform: translateX(-100%);
    }

    .reserva-info h3.reserva-titulo {
        margin-bottom: 10px;
    }

    .reserva-info p.reserva-descricao {
        font-size: 11px;
        color: #000;
        text-transform: uppercase;
        margin: 5px;
    }

    form.reserva-form-horizontal {
        flex-direction: column;
        width: 100%;
    }

    .reserva-form-horizontal .campo {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 100% !important;
    }

    .active-mobile .reserva-form-horizontal {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .active-mobile .reserva-form-horizontal .campo {
        flex: 1 1 150px;
        min-width: 130px !important;
    }

    .active-mobile .reserva-form-horizontal .botao {
        flex: 0 0 auto;
        align-self: stretch;
    }

    .btn-mobile {
        width: 57%;
    }

    .active-mobile .btn-disponibilidade {
        text-transform: uppercase;
        display: block !important;
        border: 1px solid #000000 !important;
        font-family: 'Montserrat';
        width: 100%;
        display: block;
        text-align: center;
        padding: 15px 0;
        font-weight: 700;
        background: #000;
        color: #fff;
    }

    .active-mobile .reserva-form-horizontal {
        display: none !important;
    }

    body:not(.active-mobile) .reserva-layout {
        display: flex;
    }
}