.slope-widgets-container {
    box-sizing: border-box;
}

/* Overwrites le rules of the theme only for the elements that belong to .slope-block */
.slope-block {
    border-radius: 0.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1;
    margin: 0 auto;
    max-width: 900px;
    padding: 8px;
    position: relative;
}

.slope-block * {
    box-sizing: border-box;
}

.slope-block .slope-reservation-section-container {
    cursor: pointer !important;
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.slope-block .slope-reservation-section-container.slope-highlight:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.slope-block .slope-reservation-section-container .slope-check-in-container {
    margin: auto;
}

.slope-block input[type="number"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border-radius: 0;
    border: 0;
    color: inherit;
    display: block;
    font: inherit;
    margin: 0;
    outline: none;
    padding: 0;
    width: auto;
}

.slope-block label {
    display: block;
    font-size: 14px;
}

.slope-block {
    min-height: 225px;
}

.slope-reservation-dates {
    display: flex;
    justify-content: space-between;
    padding-right: 8px;
    width: 100%;
}

.slope-guests-and-button-container {
    width: 100%;
    z-index: 10;
}

.slope-reservation-section-container {
    width: 100%;
}

.slope-reservation-section-container.slope-check-out {
    justify-content: flex-end;
}

.slope-reservation-section-container.slope-submit-section {
    width: 100%;
}

.slope-reservation-submit {
    width: 100%;
}

.slope-guests-count-container {
    width: 100%;
    text-align: right;
}

.slope-save-guests,
.slope-cancel-guests {
    background: transparent;
    display: inline-block;
    text-align: center;
    width: 49%;
}

.slope-horizontal-separator {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
}

.slope-block .slope-check-out-wrapper {
    justify-content: flex-end;
    text-align: right;
}

.slope-vertical-divider {
    display: none;
}

.slope-reservation-dates .slope-reservation-icon-container {
    align-items: center;
    display: flex;
    justify-content: center;
    opacity: 0.4;
    width: 20px;
}

.dayContainer + .dayContainer {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.slope-block .slope-rooms-count-container {
    padding-right: 32px;
}

.slope-block .slope-reservation-section-container .slope-guests-wrapper {
    width: 100%;
}

.slope-guests-buttons-container {
    display: flex;
}

/* Desktop */
@media (min-width: 992px) {

    .slope-block {
        display: flex;
        justify-content: space-between;
        min-height: auto;
        min-width: 900px;
    }

    .slope-horizontal-separator {
        display: none;
    }

    .slope-guests-and-button-container {
        width: 65%;
        padding-left: 8px;
        display: flex;
        justify-content: space-between;
    }

    .slope-reservation-dates {
        width: 35%;
    }

    .slope-vertical-divider {
        display: block;
    }

    .slope-reservation-section-container {
        width: 50%;
    }

    .slope-reservation-dates .slope-reservation-icon-container {
        width: 60px;
    }

    .slope-reservation-section-container.slope-submit-section {
        width: 50%;
    }

    .slope-guests-count-container {
        text-align: left;
    }

}

/* This is a hack to show the datepicker in the right position */
.slope-block .slope-check-in-input,
.slope-block .slope-check-out-input {
    border: 0;
    height: 0;
    left: 0;
    padding: 0;
    position: absolute;
    top: 88px;
    visibility: hidden !important;
}

.slope-block .slope-check-in-label,
.slope-block .slope-check-out-label,
.slope-block .slope-guests-label,
.slope-block .slope-rooms-label {
    display: block !important;
    font-size: 13px !important;
    height: 15px !important;
    line-height: 15px !important;
}

.slope-block .slope-reservation-section-container .slope-guests-wrapper {
    white-space: nowrap;
    display: flex;
}

.slope-block .slope-check-in-date,
.slope-block .slope-check-out-date,
.slope-block .slope-guests-adults,
.slope-block .slope-rooms-count,
.slope-block .slope-adults-count,
.slope-block .slope-guests-children,
.slope-block .slope-children-count {
    border-radius: 0.2rem;
    font-size: 16px;
    line-height: 20px;
    min-width: 175px;
}

.slope-block input[type="submit"].slope-reservation-submit {
    border-radius: 0.2rem;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 20px;
    min-width: 175px;
}

.slope-stepper-container {
    animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: none;
    font-size: 16px;
    line-height: 16px;
    margin-top: 10px;
    padding: 10px;
    position: absolute;
    width: 300px;
    z-index: 9999;
}

.slope-block input[type="text"] {
    border: 0 !important;
    cursor: default !important;
    font-size: inherit !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
}

.slope-stepper-container input[type="text"] {
    background-color: inherit !important;
    border: 0 !important;
    cursor: default !important;
    font-size: inherit !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
}

.slope-block button,
.slope-block input[type="button"],
.slope-block input[type="reset"],
.slope-block input[type="submit"],
.slope-stepper-container button,
.slope-stepper-container input[type="button"],
.slope-stepper-container input[type="reset"],
.slope-stepper-container input[type="submit"] {
    border: 0 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    min-height: 30px !important;
    outline: 0 !important;
    padding: 12px !important;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.slope-block button:hover,
.slope-block input[type="button"]:hover,
.slope-block input[type="reset"]:hover,
.slope-block input[type="submit"]:hover,
.slope-stepper-container button:hover,
.slope-stepper-container input[type="button"]:hover,
.slope-stepper-container input[type="reset"]:hover,
.slope-stepper-container input[type="submit"]:hover {
    opacity: 0.8;
}

.slope-block label {
    text-align: left;
}

.slope-stepper-label {
    padding-bottom: 1px;
}

.slope-stepper-container input[type="text"],
.slope-stepper-container input[type="number"] {
    width: auto;
}

.slope-stepper-container .slope-stepper-value {
    text-align: center;
    margin: 0;
    border: none;
    box-sizing: border-box;
    background: transparent !important;
}

.slope-stepper-container .slope-increment-button,
.slope-stepper-container .slope-decrement-button {
    align-items: center;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    float: right;
    font-size: 18px;
    font-weight: bold;
    height: 26px;
    justify-content: center;
    line-height: 18px;
    margin: 0 !important;
    opacity: 1;
    padding: 0;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: 26px;
}

.slope-stepper-container .slope-stepper-value {
    width: 44px !important;
}

.slope-stepper-container .slope-guests-stepper,
.slope-stepper-container .slope-rooms-stepper {
    display: flex;
}

.slope-stepper-container .slope-horizontal-separator {
    width: 100%;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    display: block !important;
}

.slope-vertical-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 42px;
    margin-bottom: auto;
    margin-top: auto;
}

.slope-guests-count-row, .slope-rooms-stepper-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.slope-rooms-stepper {
    font-size: 18px;
    padding: 0;
}

.slope-guests-count-row.slope-padding-top {
    padding-top: 20px;
}

.slope-children-age {
    font-size: 12px;
}

#slope-widget p, #slope-widget table td {
    border: none !important;
}

.slope-stepper-container .slope-room-label {
    padding: 10px;
    font-size: 14px;
}
