/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 @font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../template-fonts/OpenSans-Regular.ttf");
}

.ays-pb-book-template-window * {
    box-sizing: border-box;
}

.ays-pb-book-template-window .ays-pb-book-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-book-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-book-template-window .ays-pb-book-template-header h2 {
    margin: auto;
    font-size: 26px;
    line-height: 100%;
    word-break: break-all;
}

.ays-pb-book-template-window .ays-pb-book-template-header .ays-pb-book-template-title {
    height: 100%;
    display: flex;
}

.ays-pb-book-template-window .ays_template_content {
    width: 50%;
    /*padding: 0 10px;*/
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ays-pb-book-template-window p.ays_pb_timer {
    position: absolute;
    bottom: -8px;
    right: 0;
    width: inherit;
    text-align: center;
    margin: 0 auto;
}

.ays-pb-book-template-window header.ays-pb-book-template-head {
    height: 12%;
}

.ays-pb-book-template-window .ays-pb-book-template-image-box {
    /* width: 50%; */
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 0 50px;*/
    margin: auto;
    overflow: scroll;
    height: 100%;
}

.ays-pb-book-template-window footer.ays_template_footer {
    display: flex;
    height: 88%;
}

.ays-pb-book-template-window .ays-pb-book-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%;
    box-sizing: border-box;
}

.ays-pb-book-template-window .ays-pb-book-template-main:not(.ays-pb-show-scrollbar) {
    scrollbar-width: none;
}

.ays-pb-book-template-window .ays-pb-book-template-description-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* width: 300px; */
    word-break: break-all;
    word-wrap: break-word;
    /* margin: auto; */
}

/* .ays-pb-book-template-window .ays-pb-book-template-description-row:not(:empty) {
    height: 100%;
} */

.ays-pb-book-template-window .ays-pb-book-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-book-template-content-row{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    padding: 0 20px;
}

.ays-pb-book-template-content-row span,
.ays-pb-book-template-content-row div{
    color: white;
    width: 100%;
    /* margin-top: 17px; */
}

.ays-pb-book-template-content-row .ays_pb_sub_button.ays-pb-buttons-style{
    width: 251px;
    height: 48px;
    left: 485px;
    top: 303px;
    box-shadow: 0px 5px 5px rgb(1 158 202 / 15%), 0px 4px 21px rgb(4 41 79 / 25%);
    border-radius: 20px;

}

/* .ays-pb-book-template-main .ays-pb-book-template-content-row .ays_pb_subscription_live:not(:empty):not(:last-child){
    border-bottom: 1.5px solid #C7C4C4;
    margin-bottom: 35px;
} */

.ays-pb-book-template-main .ays-pb-book-template-content-row input:not([type='radio']):not([type='checkbox']):not([type='button']):not([type='submit']),
.ays-pb-book-template-main .ays-pb-book-template-content-row .ays_pb_subscription_live textarea{
    background: transparent;
    border: 0;
    outline: unset !important;
    color: #C7C4C4;
    padding: 10px;
    font-size: 12px;
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.015em;
    display: inline-block;
    width: 100%;
    margin-bottom: 35px;
    max-width: 100%;
    border-bottom: 1.5px solid #C7C4C4;
}

.ays-pb-book-template-window .ays-pb-book-template-header {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ays-pb-book-template-window footer.ays_template_footer .ays_template_content p {
    margin-bottom: 5px;
    width: 100%;
}

.ays-pb-book-template-window .ays-pb-book-template-main:not(.ays-pb-show-scrollbar)::-webkit-scrollbar,
.ays-pb-book-template-window .ays-pb-book-template-image-box:not(.ays-pb-show-scrollbar)::-webkit-scrollbar {
    width: 0 !important;
    scrollbar-width: none;
}


.ays-pb-book-template-window .ays-pb-book-template-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: inherit;
}

.ays-pb-book-template-image-box *{
    font-family: "Montserrat", arial, sans-serif;

}

.ays_template_content *{
    font-family: 'Open Sans';

}

.ays-pb-book-template-window .ays-pb-book-template-content-header {
    width: 100%;
    /* text-align: left; */
    /* font-style: normal; */
    /* font-weight: 700; */
    /* font-size: 32px; */
    /* line-height: 39px; */
    /* letter-spacing: 0.06em; */
    color: #fff;
    text-align: center;
    /* font-family: 'Montserrat'; */
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
}

.ays-pb-book-template-window .ays-pb-book-template-content-text {
    
    /* font-family: "Montserrat"; */
    /* font-style: normal; */
    /* font-weight: 400; */
    /* font-size: 18px; */
    /* line-height: 19px; */
    /* text-align: justify; */
    /* letter-spacing: 0.06em; */
    color: #fff;
    /* margin: 10px 0; */

    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.01em;
    margin-top: 8px;
}

.ays-pb-book-template-window .ays-pb-book-template-content-button {
    width: 100%;
}

.ays-pb-book-template-window .ays-pb-book-template-button {
    font-family: "Montserrat", arial, sans-serif;
    display: inline-block;
    /* justify-content: center; */
    /* align-items: center; */
    padding: 10px 20px;
    background-color: #00AEE0;
    color: #fff;
    white-space: nowrap;
    max-width: 250px;
    word-wrap: break-word;
    width: 100%;
    cursor: pointer;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    /* line-height: 6px; */
    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;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0px 5px 5px rgba(1, 158, 202, 0.15), 0px 4px 21px rgba(4, 41, 79, 0.25);
}

.ays-pb-book-template-window img.ays-pb-book-template-icon {
    width: 13px;
    margin-right: 3px;
    filter: invert(97%) sepia(17%) saturate(2%) hue-rotate(67deg) brightness(107%) contrast(100%);
}

.ays-pb-book-template-container-image-box{
    width: 200px;
    height: 200px;
}

.ays-pb-book-template-container-image-box img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ays-pb-book-template-window .ays_pb_coupon_type > p {
    padding: 20px 0;
    margin: 0 !important;
}

.ays-pb-book-template-window div[class^="ays-pb-countdown-box-"] .ays-pb-countdown-counters-timers {
    padding: 10px;
}

.ays-pb-book-template-window div[class^="ays-pb-countdown-box-"] .ays-pb-countdown-counters-timers span {
    display: inline-block;
}

.ays-pb-book-template-window .ays_video_content {
    position: static;
    z-index: 1;
}

.ays-pb-book-template-window .ays_video_content > p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ays-pb-book-template-window .ays_pb_coupon_container {
    height: auto;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.ays-pb-book-template-window .ays-pb-book-template-content-image-box {
    font-size: 32px;
    color: #fff;
}

.ays-pb-book-template-button-html{
    margin-top: 17px;
}

@media screen and (max-width: 648px){

    .ays-pb-book-template-window .ays-pb-book-template-image-box{
        display: none;
    }

    .ays-pb-book-template-window .ays_template_content{
        width: 100%;
    }

    div.ays-pb-forest-template-window .ays_template_content {
		width: 100% !important;
	}
}
