/* Generic Style
 ==================================================================================================================== */
.booknbook-booking,
.booknbook-booking * {
    box-sizing: border-box !important;
}

.booknbook-clearfix:before,
.booknbook-clearfix:after {
    display: table;
    content: " ";
}
.booknbook-clearfix:after {
    clear: both;
}
.booknbook-input-wrapper {
    position: relative !important;
}
.booknbook-input-wrapper.booknbook-input-disabled {
    opacity: 0.5 !important;
}
.booknbook-input-wrapper.booknbook-input-disabled .booknbook-input:hover,
.booknbook-input-wrapper.booknbook-input-disabled .booknbook-button:hover {
    cursor: not-allowed !important;
}
.booknbook-input-wrapper .booknbook-input-icon {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 10px !important;
}
.booknbook-input-wrapper .booknbook-input-icon path {
    fill: #CC3366 !important;
}
.booknbook-input {
    display: block !important;
    width: 100% !important;
    height: 34px !important;
    padding: 6px 12px !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.booknbook-input:hover {
    cursor: pointer !important;
}
.booknbook-input.booknbook-input-error {
    border-color: #CC3366;
}
.booknbook-input-error-label {
    padding: 3px 15px !important;
}
.booknbook-input-submit button {
    background-color: #797676;
    color: white;
}
button.booknbook-primary,
.booknbook-input-submit button:hover,
.booknbook-input-submit button:focus {
    background-color: #CC3366;
    color: white;
}
.booknbook-input-restaurant select {
    padding: 6px 35px 6px 12px !important;
}
.booknbook-input-date .booknbook-input {
    background: white !important;
    background-size: 28px !important;
    font-size: 16px !important;
    color: #333 !important;
}
.booknbook-input-date .booknbook-input-icon svg {
    width: 22px !important;
    height: auto !important;
}
.booknbook-input-people .booknbook-input-icon svg,
.booknbook-input-time .booknbook-input-icon svg {
    width: 15px !important;
    height: auto !important;
}
select.booknbook-input {
    background: white !important;
    -webkit-appearance: none !important;
    font-size: 16px !important;
    color: #333 !important;
}
button.booknbook-button {
    display: inline-block !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: bold;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
}

/* Footer Bar
 ==================================================================================================================== */
#booknbook-footer-bar {
    width: 100% !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100000 !important;
    background-color: #F1F1F1;
    margin-bottom: 0;
}
#booknbook-footer-bar-toggle,
#booknbook-footer-bar-toggle-overlay,
#booknbook-footer-bar-mobile-handler {
    display: none !important;
}
#booknbook-footer-bar #booknbook-footer-bar-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 15px 0 10px 0 !important;
    text-align: center;
    position: relative !important;
}
#booknbook-footer-bar .booknbook-input {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 14px !important;
}
#booknbook-footer-bar .booknbook-input-wrapper {
    float: left !important;
}
#booknbook-footer-bar .booknbook-input-people,
#booknbook-footer-bar .booknbook-input-date,
#booknbook-footer-bar .booknbook-input-time {
    width: calc(23% - 10px) !important;
    margin: 0 5px !important;
}
#booknbook-footer-bar .booknbook-input-submit {
    max-width: calc(25% - 10px) !important;
    margin: 0 5px !important;
}
#booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-restaurant {
    width: calc(22% - 10px) !important;
    margin: 0 5px !important;
}
#booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-people,
#booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-date,
#booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-time {
    width: calc(19% - 10px) !important;
}

@media only screen and (max-width: 782px) {
    #booknbook-footer-bar {
        margin-bottom: -200px;
        transition: margin-bottom 0.35s linear !important;
    }
    #booknbook-footer-bar #booknbook-footer-bar-content {
        display: block !important;
    }
    #booknbook-footer-bar.booknbook-footer-bar-open {
        margin-bottom: 0 !important;
    }
    #booknbook-footer-bar-mobile-handler {
        position: fixed !important;
        display: block !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 100000 !important;
        background-color: #F1F1F1 !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 12px 1% 15px !important;
        text-align: center !important;
    }
    #booknbook-footer-bar button,
    #booknbook-footer-bar .booknbook-input-submit button,
    #booknbook-footer-bar-mobile-handler button {
        width: 100% !important;
        font-size: 20px !important;
        font-weight: bold !important;
    }
    #booknbook-footer-bar-mobile-handler.booknbook-footer-bar-open {
        display: none !important;
    }
    #booknbook-footer-bar-toggle,
    #booknbook-footer-bar-toggle-overlay {
        position: absolute !important;
        display: block !important;
        width: 100px !important;
        height: 29px !important;
        bottom: 99% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        cursor: pointer !important;
    }
    #booknbook-footer-bar-toggle svg {
        fill: #F1F1F1 !important;
    }
    #booknbook-footer-bar-toggle-overlay svg {
        fill: rgba(0, 0, 0, 0.3) !important;
    }
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow {
        position: absolute !important;
        left: 50% !important;
        width: 30px !important;
        height: 30px !important;
        transform: translateX(-50%) rotate(-180deg) !important;
        transition: all 0.35s linear !important;
    }
    #booknbook-footer-bar.booknbook-footer-bar-open #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow {
        transform: translateX(-50%) !important;
    }
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:first-child {
        top: 6px !important;
        z-index: 15 !important;
    }
    #booknbook-footer-bar.booknbook-footer-bar-open #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:first-child {
        z-index: 10 !important;
    }
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:nth-child(2) {
        top: -1px !important;
        z-index: 10 !important;
    }
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:before,
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:after {
        position: absolute !important;
        display: block !important;
        content: "" !important;
        border: 15px solid transparent !important;
        border-radius: 100% !important;
    }
    #booknbook-footer-bar-toggle .booknbook-footer-bar-toggle-arrow:before {
        top: 8px !important;
        border-top-color: #CC3366 !important;
    }
    #booknbook-footer-bar-toggle > .booknbook-footer-bar-toggle-arrow:after {
        top: 5px !important;
        border-top-color: #F1F1F1 !important;
    }
    #booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-restaurant,
    #booknbook-footer-bar .booknbook-input-people,
    #booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-people,
    #booknbook-footer-bar .booknbook-input-date,
    #booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-date,
    #booknbook-footer-bar .booknbook-input-time,
    #booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-time,
    #booknbook-footer-bar .booknbook-input-submit {
        max-width: none !important;
        width: 98% !important;
        margin: 0 1% 5px 1% !important;
    }
    #booknbook-footer-bar .booknbook-input {
        height: 30px !important;
        padding: 0 12px !important;
    }
    #booknbook-footer-bar.booknbook-multiple-connections .booknbook-input-restaurant select {
        padding: 0 35px 0 12px !important;
    }
}
@media only screen and (min-width: 783px) {
    #booknbook-footer-bar {
        margin-bottom: 0 !important;
    }
}
/* Widget
 ==================================================================================================================== */
.booknbook-widget {
    position: relative !important;
}
.booknbook-widget .booknbook-input-wrapper {
    width: 100% !important;
}
.booknbook-widget .booknbook-input-wrapper {
    margin-bottom: 5px !important;
}
.booknbook-widget .booknbook-input-wrapper.booknbook-input-submit {
    text-align: center;
}
.booknbook-widget .booknbook-input-wrapper.booknbook-input-submit > button {
    width: 100% !important;
}

/* Shortcode
 ==================================================================================================================== */
#booknbook-shortcode {
    position: relative !important;
}
#booknbook-shortcode-content {
    border: 0 solid #CCC;
    padding: 10px !important;
    border-radius: 10px;
}
#booknbook-shortcode-content.booknbook-shortcode-border-small {
    border-width: 1px;
}
#booknbook-shortcode-content.booknbook-shortcode-border-medium {
    border-width: 2px;
}
#booknbook-shortcode-content.booknbook-shortcode-border-large {
    border-width: 3px;
}
#booknbook-shortcode .booknbook-shortcode-title {
    height: 85px !important;
    position: relative !important;
    padding-left: 120px !important;
    padding-bottom: 5px !important;
}
#booknbook-shortcode .booknbook-shortcode-title > h2 {
    margin: 0 !important;
}
#booknbook-shortcode .booknbook-shortcode-title-icon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 80px !important;
    margin-left: 20px !important;
    text-align: center;
    font-size: 26px !important;
    display: none;
}
#booknbook-shortcode .booknbook-shortcode-title-text {
    display: block !important;
    font-size: 28px !important;
    line-height: 75px !important;
}
#booknbook-shortcode .booknbook-shortcode-border-none .booknbook-shortcode-separator {
    display: none;
}
#booknbook-shortcode .booknbook-shortcode-separator,
#booknbook-shortcode .booknbook-shortcode-border-small .booknbook-shortcode-separator {
    position: relative !important;
    border-top: 1px solid #CCC;
    height: 22px !important;
}
#booknbook-shortcode .booknbook-shortcode-border-medium .booknbook-shortcode-separator {
    border-top-width: 2px;
}
#booknbook-shortcode .booknbook-shortcode-border-large .booknbook-shortcode-separator {
    border-top-width: 3px;
}
#booknbook-shortcode .booknbook-shortcode-separator:after,
#booknbook-shortcode .booknbook-shortcode-separator:before {
    left: 60px !important;
    border: solid transparent;
    content: " ";
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    pointer-events: none;
}
#booknbook-shortcode .booknbook-shortcode-separator:before {
    top: -1px !important;
    border-top-color: #CCC;
    border-width: 22px !important;
    margin-left: -22px !important;
}
#booknbook-shortcode .booknbook-shortcode-separator:after,
#booknbook-shortcode .booknbook-shortcode-border-small .booknbook-shortcode-separator:after {
    top: -2px !important;
    border-top-color: white;
    border-width: 21px !important;
    margin-left: -21px !important;
}
#booknbook-shortcode .booknbook-shortcode-border-medium .booknbook-shortcode-separator:after {
    top: -4px !important;
}
#booknbook-shortcode .booknbook-shortcode-border-large .booknbook-shortcode-separator:after {
    top: -6px !important;
}
#booknbook-shortcode .booknbook-shortcode-form {
    margin-top: 5px !important;
}
#booknbook-shortcode .booknbook-shortcode-has-title .booknbook-shortcode-form {
    margin-top: 20px !important;
}
#booknbook-shortcode.booknbook-multiple-connections .booknbook-input-restaurant {
    width: calc(65% - 10px) !important;
    margin: 0 5px !important;
}
#booknbook-shortcode .booknbook-input-date {
    width: 28% !important;
    margin: 0 5px !important;
}
#booknbook-shortcode.booknbook-multiple-connections .booknbook-input-date {
    width: calc(35% - 10px) !important;
}
#booknbook-shortcode .booknbook-input-people,
#booknbook-shortcode .booknbook-input-time {
    width: 23% !important;
    margin: 0 5px !important;
}
#booknbook-shortcode.booknbook-multiple-connections .booknbook-input-people,
#booknbook-shortcode.booknbook-multiple-connections .booknbook-input-time {
    width: calc(32.5% - 10px) !important;
}
#booknbook-shortcode .booknbook-input,
#booknbook-shortcode .booknbook-input-submit button {
    height: 40px !important;
}
#booknbook-shortcode .booknbook-input-wrapper {
    float: left !important;
}
#booknbook-shortcode .booknbook-input-submit {
    width: 18% !important;
    margin: 0 5px !important;
}
#booknbook-shortcode.booknbook-multiple-connections .booknbook-input-submit {
    width: calc(35% - 10px) !important;
}
#booknbook-shortcode .booknbook-input-submit button {
    width: 100% !important;
}

/* Media screen simulator */
#booknbook-shortcode.booknbook-shortcode-large .booknbook-shortcode-title-icon {
    display: inherit;
}
#booknbook-shortcode.booknbook-multiple-connections.booknbook-shortcode-medium .booknbook-input-restaurant {
    width: calc(100% - 10px) !important;
    margin-bottom: 7px !important;
}
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-input-people,
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-input-date,
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-input-time,
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-input-submit {
    width: calc(50% - 10px) !important;
    margin: 0 5px 7px 5px !important;
}
#booknbook-shortcode.booknbook-multiple-connections.booknbook-shortcode-small .booknbook-input-restaurant {
    width: calc(100% - 10px) !important;
    margin-bottom: 5px !important;
}
#booknbook-shortcode.booknbook-shortcode-small .booknbook-input-people,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-input-date,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-input-time,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-input-submit {
    width: calc(100% - 10px) !important;
    margin: 0 5px 5px 5px !important;
}
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-shortcode-title-icon,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-shortcode-title-icon {
    display: none;
}
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-shortcode-title,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-shortcode-title {
    height: auto !important;
    padding-left: 10px !important;
    padding-bottom: 10px !important;
}
#booknbook-shortcode.booknbook-shortcode-medium .booknbook-shortcode-title-text,
#booknbook-shortcode.booknbook-shortcode-small .booknbook-shortcode-title-text {
    line-height: 1.3 !important;
}

/* Date Picker
 ==================================================================================================================== */
#booknbook-datepicker-overlay {
    display: none !important;
    opacity: 0 !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;
    -webkit-animation: booknbookFadeInFromNone 0.5s ease-in-out;
    -moz-animation: booknbookFadeInFromNone 0.5s ease-in-out;
    -o-animation: booknbookFadeInFromNone 0.5s ease-in-out;
    animation: booknbookFadeInFromNone 0.5s ease-in-out;
}
.booknbook-datepicker-open #booknbook-datepicker-overlay {
    display: block !important;
    opacity: 1 !important;
}
.booknbook-datepicker-container {
    opacity: 0 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 0.35s ease-in-out !important;
    animation: none !important;
    visibility: visible !important;
}
.booknbook-datepicker-container.open {
    opacity: 1 !important;
    z-index: 999999 !important;
}
.booknbook-datepicker-container:before,
.booknbook-datepicker-container:after {
    display: none !important;
}
.booknbook-datepicker-container input {
    margin: 0 !important;
    padding: 2px 10px !important;
    font-size: 100% !important;
}
.booknbook-datepicker-container input:hover {
    cursor: pointer !important;
}
.booknbook-datepicker-container .flatpickr-months .flatpickr-month {
    height: 34px;
}
.booknbook-datepicker-container .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: 300 !important;
    height: auto !important;
    line-height: inherit !important;
    margin: -1px 15px 0 0 !important;
    outline: none !important;
    padding: 0 0 0 .5ch !important;
    position: relative !important;
    vertical-align: initial !important;
    -webkit-box-sizing: border-box !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    width: auto !important;
}
.booknbook-datepicker-container .flatpickr-day.flatpickr-disabled,
.booknbook-datepicker-container .flatpickr-day.flatpickr-disabled:hover,
.booknbook-datepicker-container .flatpickr-day.prevMonthDay,
.booknbook-datepicker-container .flatpickr-day.nextMonthDay,
.booknbook-datepicker-container .flatpickr-day.notAllowed,
.booknbook-datepicker-container .flatpickr-day.notAllowed.prevMonthDay,
.booknbook-datepicker-container .flatpickr-day.notAllowed.nextMonthDay {
    border-color: #e9e9e9 !important;
    border-right-color: transparent !important;
}
.booknbook-datepicker-container span.flatpickr-day:nth-child(n+8),
.booknbook-datepicker-container span.flatpickr-day:hover:nth-child(n+8),
.booknbook-datepicker-container span.flatpickr-day.flatpickr-disabled:nth-child(n+8),
.booknbook-datepicker-container span.flatpickr-day.flatpickr-disabled:hover:nth-child(n+8) {
    border-top-color: transparent !important;
}


/* Spinner
 ==================================================================================================================== */
.booknbook-ajax-loader {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: none !important;
    opacity: 0 !important;
    background: rgba(0, 0, 0, 0.3) !important;
}
.booknbook-ajax-loader.booknbook-ajax-loader-visible {
    display: block !important;
    opacity: 1 !important;
}
.booknbook-spinner-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin-top: -20px !important;
    margin-left: -20px !important;
}

.booknbook-spinner-container .booknbook-spinner {
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto !important;
    border: 5px double !important;
    border-radius: 50% !important;
    border-color: transparent #CC3366 #CC3366 !important;
    animation: booknbook-spinner-animation 1000ms infinite linear;
    -o-animation: booknbook-spinner-animation 1000ms infinite linear;
    -ms-animation: booknbook-spinner-animation 1000ms infinite linear;
    -webkit-animation: booknbook-spinner-animation 1000ms infinite linear;
    -moz-animation: booknbook-spinner-animation 1000ms infinite linear;
}

@keyframes booknbook-spinner-animation {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes booknbook-spinner-animation {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Animations
 ==================================================================================================================== */
@-webkit-keyframes booknbookFadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes booknbookFadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes booknbookFadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes booknbookFadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}