/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 @font-face {
    font-family: "Raleway";
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/Raleway-Regular.ttf");
}

/* @font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/OpenSans-Regular.ttf");
} */

.ays-pb-holiday-template-window * {
    box-sizing: border-box;
}

.ays-pb-holiday-template-window .ays-pb-holiday-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-holiday-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: monospace, arial, sans-serif;
    cursor: default;
    z-index: 1;
    pointer-events: fill;
    animation-duration: 0.5s;
    display: none;
    /* overflow: hidden; */
    box-sizing: border-box;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-header h2 {
    margin: auto;
    font-size: 26px;
    line-height: 100%;
    word-break: break-all;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-header .ays-pb-holiday-template-title {
    height: 100%;
    display: flex;
}

.ays-pb-holiday-template-window .ays_template_content {
    width: 50%;
    /*padding: 0 10px;*/
    overflow: hidden;
    position: relative;
}

.ays-pb-holiday-template-window p.ays_pb_timer {
    position: absolute;
    bottom: -8px;
    right: 0;
    width: inherit;
    text-align: center;
    margin: 0 auto;
}

.ays-pb-holiday-template-window header.ays-pb-holiday-template-head {
    height: 12%;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-bg-image-box {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-bg-image-box img.ays-pb-holiday-template-inner-image{
    width: 429px;
    position: absolute;
    left: -135px;
    /* z-index: 5; */
    /* top: 20%; */
    height: 290px;
    object-fit: contain;
}

.ays-pb-holiday-template-window footer.ays_template_footer {
    display: flex;
    height: 88%;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-main {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* font-family: monospace, arial, sans-serif; */
    letter-spacing: -1px;
    max-height: 93%;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    /*display: flex;
    align-items: center;*/
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    box-sizing: border-box;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-description-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-description-row:not(:empty) {
    height: 100%;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-content-row:not(:empty) {
    width: 100%;
    max-width: 100%;
    height: 100%;

    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;*/
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-header {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ays-pb-holiday-template-window footer.ays_template_footer .ays_template_content p {
    margin-bottom: 5px;
    width: 100%;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-main::-webkit-scrollbar {
    width: 0 !important;
    scrollbar-width: none;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-content {
    /* display: flex; */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: inherit;
    overflow-y: auto;
    padding: 10px 0;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-content-header {
    /* font-family: Raleway; */
    font-family: 'Raleway';
    width: 100%;
    text-align: left;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 46px;
    letter-spacing: 0.01em;
    color: #F84845;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    text-decoration-line: underline;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-content-text {
    /* font-family: "Open Sans"; */
    /* font-style: normal; */
    /* font-weight: 400; */
    /* font-size: 14px; */
    /* line-height: 19px; */
    /* text-align: justify; */
    /* letter-spacing: 0.02em; */
    /* color: #001a44; */
    margin: 10px 0;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 23px;
    line-height: 27px;
    color: #887B7B;
    text-align: initial;
    /* letter-spacing: 0.2px; */
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-content-button {
    width: 100%;
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-button {
    font-family: "Raleway";
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    background-color: #002d71;
    color: #fff;
    white-space: nowrap;
    max-width: 100%;
    word-wrap: break-word;
    width: 100%;
    cursor: pointer;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: initial;
    letter-spacing: 0.025em;
    /* border: 1px solid #002d71; */
    /* box-shadow: 0px 4px 16px rgb(33 97 194 / 16%), 4px 6px 26px rgb(106 162 246 / 31%); */
    /* border-radius: 4px; */
    /* transition: 0.5s; */
    background: linear-gradient(90.17deg, #B58A69 12.68%, #C7B870 46.21%, #D4B972 92.44%);
    text-decoration: none;
    /* box-sizing: border-box; */
    max-width: 300px;
}

.ays-pb-holiday-template-window img.ays-pb-holiday-template-icon {
    width: 13px;
    margin-right: 3px;
    filter: invert(97%) sepia(17%) saturate(2%) hue-rotate(67deg) brightness(107%) contrast(100%);
}

.ays-pb-holiday-template-window .ays-pb-holiday-template-button:hover {
    background-color: #022354;
}

.ays-pb-holiday-template-window .ays_pb_coupon_type > p {
    padding: 20px 0;
    margin: 0 !important;
}

.ays-pb-holiday-template-window div[class^="ays-pb-countdown-box-"] .ays-pb-countdown-counters-timers {
    padding: 10px;
}

.ays-pb-holiday-template-window div[class^="ays-pb-countdown-box-"] .ays-pb-countdown-counters-timers span {
    display: inline-block;
}

.ays-pb-holiday-template-window .ays_video_content {
    position: static;
    z-index: 1;
}

.ays-pb-holiday-template-window .ays_video_content > p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ays-pb-holiday-template-window .ays_pb_coupon_container {
    height: auto;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

@media screen and (max-width: 768px){

    .ays_bg_image_box.ays-pb-holiday-template-bg-image-box{
        display: none;
    }

    .ays-pb-holiday-template-window .ays_template_footer{
        justify-content: center;
    }

    .ays-pb-holiday-template-window .ays_template_content{
        width: 100%;
    }

    div.ays-pb-forest-template-window .ays_template_content {
		width: 100% !important;
	}
}
