


/*--------------------------------------------------------------
# Rental steps
--------------------------------------------------------------*/

#steps {
    display: flex;
}

.step {
    width: 20%;
    text-align: center;
    border-bottom: 4px solid var(--wp--preset--color--gray-200);
    color: var(--wp--preset--color--gray-200);
    padding: 0 0 0.7em;
    margin-bottom: 1.2em;
    font-weight: 700;
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
    font-style: italic;
    display: flex;
    gap: 16px;
    align-items: center;
}

.two-col .step {
    width: 50%;
}

.step.step-active {
    color: var(--wp--preset--color--accent);
    border-color: var(--wp--preset--color--accent);
}

span.step-num {
    border: 4px solid;
    border-radius: 36px;
    width: 36px;
    height: 36px;
    display: inline-block;
    line-height: 1.2em;
    font-weight: 800;
}

span.step-label {
    text-align: left;
    line-height: 1.1;
    padding-right: 1.5em;
}

.step a, .step a:hover {
    color: inherit;
}

@media only screen and (min-width: 981px) {
span.step-label {
    width: calc(100% - 52px);
}
}

@media only screen and (max-width: 981px) {
.step {
    position: relative;
    padding-top: 20px;
    line-height: 1.2;
    font-size: 0.7em;
	margin-bottom: 1.4em;
	border-width: 4px;
}
span.step-num {
    position: absolute;
    top: -0.9em;
    left: 0;
    width: 1.8em;
    height: 1.8em;
    border-radius: 2em;
    line-height: 1.65em;
    font-size: 1.3em;
    margin: 0;
    left: calc( 50% - 0.9em );
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--gray-200);
    border: none;
}
.step.step-active span.step-num {
    background-color: var(--wp--preset--color--accent);
}
	
}



/*--------------------------------------------------------------
# Booking-grid
--------------------------------------------------------------*/

#booking-grid {
    display: flex;
    gap: 5%;
}

@media only screen and (max-width: 981px) {
#booking-grid {
    gap: 2em;
    flex-direction: column;
}
}




/*--------------------------------------------------------------
# Booking-summary
--------------------------------------------------------------*/

@media only screen and (min-width: 981px) {
#booking-summary {
    width: 25%;
}
}

#booking-summary .bs-inner {
    padding: 1em;
    border: 4px solid var(--wp--preset--color--gray-200);
    font-size: var(--wp--preset--font-size--small);
    border-top-left-radius: 2em;
    border-bottom-right-radius: 2em;
}

#booking-summary .bs-inner h4 {
    font-style: italic;
    color: var(--wp--preset--color--accent);
    font-weight: 700;
    margin: 2em 0 0.7em;
}

#booking-summary .bs-inner h4:first-of-type {
    margin-top: 1em;
}

#booking-summary .bs-inner table {
    border-collapse: collapse;
}

#booking-summary .bs-inner table td, #booking-summary .bs-inner table th {
    border: 2px solid #222;
    line-height: 1.2;
    padding: 0.3em 0.4em;
    text-align: left;
}

table#datos-reserva td {
    width: 50%;
}

tr.dr-items td span {
    display: block;
}

tr.dr-items td span span.hslot-extra {
    display: none !important;
}

#monto-reserva {
    line-height: 1;
}

#monto-reserva p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    padding: 0.5em 0.4em;
    border: 2px solid #222;
    margin: 0;
}

span#booking-amount {
    font-weight: 700;
    color: var(--wp--preset--color--accent);
    font-size: var(--wp--preset--font-size--medium);
}

table#horarios th {
    text-transform: uppercase;
}



@media only screen and (max-width: 981px) {
#booking-summary:not(.bs-open) .bs-inner > * {
    display: none;
}
#summary-toggle {
    display: block !important;
}
#summary-toggle {
    position: relative;
}
#summary-toggle:after {
    position: absolute;
    content: '';
    width: 1.3em;
    height: 1.3em;
    background-color: var(--wp--preset--color--accent);
    background-image: url(../img/icon-plus-w.png);
    background-size: 0.7em;
    background-repeat: no-repeat;
    background-position: 50%;
    border-radius: 1.3em;
    right: 0;
    top: -0.2em;
}
#booking-summary.bs-open #summary-toggle:after {
    background-image: url(../img/icon-minus-w.png);
}
}




/*--------------------------------------------------------------
# Booking form
--------------------------------------------------------------*/

@media only screen and (min-width: 981px) {
.booking-form {
    width: 70%;
}
}




/*--------------------------------------------------------------
# Booking section
--------------------------------------------------------------*/

.booking-section h2 {
    margin: 0 0 1.4em;
    color: var(--wp--preset--color--accent);
    font-style: italic;
    margin-bottom: 0.6em;
}

.booking-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2em;
    padding-bottom: 1.2em;
}

.booking-steps-nav > span {
    background-color: var(--wp--preset--color--gray-200);
    opacity: 0.3;
    line-height: 1.1;
    padding: 0.5em 1.2em 0.6em;
    border-radius: 0.3em;
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 700;
}

.booking-steps-nav > span.habilitado {
    background-color: var(--wp--preset--color--accent);
    opacity: 1;
    cursor: pointer;
}

span.bsn-prev {
    background-image: url(../img/arrow-left-w.png);
    padding-left: 2.6em;
    background-size: 1.3em;
    background-repeat: no-repeat;
    background-position: 0.8em;
}

span.bsn-next {
    background-image: url(../img/arrow-right-w.png);
    padding-right: 2.6em;
    background-size: 1.3em;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.8em);
}


@media only screen and (max-width: 981px) {
.booking-section h2 {
    font-size: 1.6em;
}
.booking-steps-nav > span {
    font-size: 0.8em;
    width: 48%;
    display: flex;
    align-items: center;
    height: 3.25em;
}
span.bsn-next {
    text-align: right;
}
}



/*--------------------------------------------------------------
# Selector fecha
--------------------------------------------------------------*/

div#m3calendar-reserva {
    margin-top: 3em;
}



/*--------------------------------------------------------------
# Selector horas
--------------------------------------------------------------*/

#display-turnos {
    display: flex;
    gap: 2em;
    justify-content: space-between;
}

#display-turnos p {
    margin: 0;
}

p#info-tiempo {
    border: 4px solid var(--wp--preset--color--accent);
    text-align: center;
    font-size: var(--wp--preset--font-size--medium);
    padding: 0.3em;
    line-height: 1;
    font-weight: 800;
    height: 2.1em;
    color: var(--wp--preset--color--accent);
    width: 9em;
    margin-top: 0.4em;
    border-color: #fff;
    background-color: #fff;
}

p#info-tiempo:empty {
    opacity: 0.1;
}


.selector-horas {
    display: flex;
    gap: 0.8em;
    flex-wrap: wrap;
    margin-top: 3em;
}

.hslot {
    width: calc((100% - 2.4em) / 4);
    padding: 0.5em 1em;
    border-radius: 0.6em;
    position: relative;
    height: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hslot.available {
    background-color: var(--wp--preset--color--gray-100);
    cursor: pointer;
}

.hslot.available.selected {
    background-color: var(--wp--preset--color--accent);
    cursor: pointer;
}

.hslot.selectable {
    cursor: pointer;
}

.hslot.booked {
    background-color: rgba(255, 255, 255, 0.02);
    color: #666;
}

.hslot * {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

span.hslot-extra {
    position: absolute;
    bottom: 0.7em;
    right: 0.9em;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    background-color: var(--wp--preset--color--accent);
    line-height: 1;
    padding: 4px 6px 3px;
    border-radius: 3px;
}

.selected span.hslot-extra {
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--contrast);
}

span.hslot-extra:empty {
    display: none;
}

.hslot.booked span.hslot-extra {
    display: none;
}

.hslot-time {
    font-size: 1.6em;
    font-weight: 700;
}

.hslot.available input[type="checkbox"] {
    display: none;
}

@media only screen and (max-width: 981px) {
#display-turnos p {
    font-size: 0.9em;
}
.hslot-time {
    font-size: 1.2em;
}
span.hslot-extra {
    bottom: 0.5em;
    right: 0.9em;
    font-size: 0.7em;
    padding: 3px 5px 2px;
    border-radius: 2px;
}
}



/*--------------------------------------------------------------
# Selector items
--------------------------------------------------------------*/

.selector-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 3.5em;
}

.selector-items .slot {
    display: flex;
    gap: 20px;
    align-items: center;
}

.slot-time {
    font-size: 1.2em;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
}

.slot-time span.hslot-extra {
    bottom: -1.7em;
    left: 0;
    width: fit-content;
}

.slot-items {
    display: flex;
}

.slot-item {
    position: relative;
    padding: 6px 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

span.item-num {
    position: absolute;
    background-color: var(--wp--preset--color--base);
    line-height: 1;
    font-size: 13px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
}

.slot-item img {
    width: 68px;
    filter: invert(0.3);
}

.slot-item.booked {
    opacity: 0.25;
}

.slot-item.available {
    cursor: pointer;
}

.slot-item.available.selected img {
    filter: invert(12%) sepia(79%) saturate(4569%) hue-rotate(351deg) brightness(116%) contrast(97%);
}

.slot-item.available input[type="checkbox"] {
    display: none;
}


@media only screen and (max-width: 981px) {
.selector-items {
    flex-direction: row;
    margin-top: 1.7em;
}
.selector-items .slot {
    flex-direction: column;
}
.slot-items {
    flex-direction: column;
}
.slot-item {
    padding: 12px 12px;
    margin-bottom: 8px;
    
}
}







p.field-container {
    max-width: 600px;
    margin-bottom: 1.3em;
}

p.field-container label {
    font-weight: 500;
    padding-bottom: 0.3em;
    display: block;
}

p.field-container input, p.field-container textarea {
    padding: 0.9em;
    border-radius: 0.6em;
}

.booking-form input[type="submit"] {
    background-color: var(--wp--preset--color--accent);
    text-transform: uppercase;
    font-weight: 600;
    padding: 1.1em 1.8em;
    margin-top: 0.7em;
}






