/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
@font-face {
    font-family: "Abril Fatface";
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/AbrilFatface-Regular.ttf");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/OpenSans-Regular.ttf");
}

.ays-pb-food-template-window * {
    box-sizing: border-box;
}

.ays-pb-food-template-window .ays-pb-food-template-header .close-template-btn {
    position: absolute;
    font-weight: lighter;
    font-size: 10px;
    text-decoration: none !important;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

div[class*='ays-pb-modal_'].ays-pb-food-template-window {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    background: #c0c0c0;
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    font-family: "Open Sans", monospace, arial, sans-serif;
    cursor: default;
    z-index: 1;
    pointer-events: fill;
    animation-duration: .5s;
    display: none;
    overflow: hidden;
    box-sizing: border-box;
}

.ays-pb-food-template-window .ays-pb-food-template-header h2 {
    margin: auto;
    font-size: 26px;
    line-height: 100%;
    word-break: break-all;
}

.ays-pb-food-template-window .ays-pb-food-template-header .ays-pb-food-template-title {
    height: 100%;
    display: flex;
}

.ays-pb-food-template-window .ays_template_content {
    width: 50%;
    overflow: hidden;
    position: relative;
}

.ays-pb-food-template-window p.ays_pb_timer {
    position: absolute;
    bottom: -8px;
    right: 0;
    width: inherit;
    text-align: center;
    margin: 0 auto;
}

.ays-pb-food-template-window header.ays-pb-food-template-head {
    height: 12%;
}

.ays-pb-food-template-window .ays-pb-food-template-bg-image-box {
    width: 50%;
}

.ays-pb-food-template-window footer.ays_template_footer {
    display: flex;
    flex-direction: row-reverse;
    height: 88%;
}

.ays-pb-food-template-window .ays-pb-food-template-main {
    display: flex;
    flex-direction: column;
    align-items: center;

    font-family: "Open Sans", monospace, arial, sans-serif;
    letter-spacing: -1px;
    max-height: 93%;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ays-pb-food-template-window .ays-pb-food-template-main:not(.ays-pb-show-scrollbar) {
    scrollbar-width: none;
}

.ays-pb-food-template-window .ays-pb-food-template-description-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.ays-pb-food-template-window .ays-pb-food-template-description-row:not(:empty) {
    height: 100%;
}

.ays-pb-food-template-window .ays-pb-food-template-content-row:not(:empty) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.ays-pb-food-template-window .ays-pb-food-template-content-row:not(:empty) > form {
    width: 100%;
}

.ays-pb-food-template-window .ays-pb-food-template-header {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ays-pb-food-template-window footer.ays_template_footer .ays_template_content p {
    margin-bottom: 5px;
    width: 100%;
}

.ays-pb-food-template-window .ays-pb-food-template-main:not(.ays-pb-show-scrollbar)::-webkit-scrollbar {
    width: 0 !important;
    scrollbar-width: none;
}

.ays-pb-food-template-window .ays-pb-food-template-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: inherit;
    text-align: center;
}

.ays-pb-food-template-window .ays-pb-food-template-content-header {
    font-family: 'Abril Fatface';
    width: 100%;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    line-height: 46px;
    letter-spacing: 0.01em;
    color: #6C1D03;
}

.ays-pb-food-template-window .ays-pb-food-template-content-text {
    margin: 10px 0;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #4C423E;
}

.ays-pb-food-template-window .ays-pb-food-template-content-button {
    width: 100%;
}

.ays-pb-food-template-window .ays-pb-food-template-button {
    font-family: 'Abril Fatface';
    display: inline-block;
    padding: 10px 20px;
    background-color: #6C1D03;
    color: #fff;
    white-space: nowrap;
    max-width: 100%;
    word-wrap: break-word;
    width: 100%;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.025em;
    border: 1px solid #6C1D03;
    box-shadow: 4px 6px 26px rgba(106, 162, 246, 0.31);
    border-radius: 4px;
    transition: 0.5s;
}

.ays-pb-food-template-window .ays-pb-food-template-button:hover {
    background-color: #631b03;
}

.ays-pb-food-template-window .ays_pb_coupon_type > p {
    padding: 20px 0;
    margin: 0 !important;
}

.ays-pb-food-template-window div[class^='ays-pb-countdown-box-'] .ays-pb-countdown-counters-timers {
    padding: 10px;
}

.ays-pb-food-template-window div[class^='ays-pb-countdown-box-'] .ays-pb-countdown-counters-timers span {
    display: inline-block;
}

.ays-pb-food-template-window img.ays-pb-food-template-icon {
    filter: invert(11%) sepia(67%) saturate(4140%) hue-rotate(21deg) brightness(98%) contrast(102%);
}

.ays-pb-food-template-window .close-template-btn i {
    color: #b8b7be;
}

.ays-pb-food-template-window .ays_video_content {
    position: static;
    z-index: 1;
}

.ays-pb-food-template-window .ays_video_content > p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ays-pb-food-template-window .ays_pb_coupon_container {
    height: auto;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}