/*@nav-font-size: 1.3em;*/
/*font resize*/
.text-brand {
    color: #e3b313;
}

.text-brand-bold {
    color: #e3b313;
    font-weight: bold;
}

.text-red {
    color: #ee2e24;
}

.text-green {
    color: #155428;
}

@media (min-width: 768px) {
    .col-sm-1,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9 {
        float: right;
    }

    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9 {
        float: right;
    }
}

.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
    float: right;
}

/*========responsive fonts==============*/
h2 {
    font-size: 17px;
}

.btn,
h3,
.recipe-properties {
    font-size: 14px;
}

html,
p,
body,
.form-control,
h4 {
    font-size: 12px;
}

@media (min-width: 768px) {
    h2 {
        font-size: 18px;
    }

    .btn,
    h3,
    .recipe-properties {
        font-size: 16px;
    }

    html,
    p,
    body,
    .form-control,
    h4 {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    h2 {
        font-size: 20px;
    }

    .btn,
    h3,
    .recipe-properties {
        font-size: 18px;
    }

    html,
    p,
    body,
    .form-control,
    h4 {
        font-size: 15px;
    }
}

@media (min-width: 1200px) {
    h2 {
        font-size: 20px;
    }

    .btn,
    h3,
    .recipe-properties {
        font-size: 20px;
    }

    html,
    p,
    body,
    .form-control,
    h4 {
        font-size: 19px;
    }
}

@media print {
    * {
        -webkit-print-color-adjust: exact;
    }
}

/*.modal.fade {
  opacity: 1;
}*/
.modal.fade {
    display: block;
    z-index: 1050;
}

.modal.fade .modal-dialog,
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-backdrop {
    background-color: #fff;
    opacity: .5;
}

.video-pop-window .modal-dialog {
    width: 1280px;
    max-width: calc(100% - 20px);
}

@media (max-width: 767px) {
    .video-pop-window .modal-dialog {
        max-width: calc(100% - 10px);
        margin: 5px;
    }
}

.video-pop-window .modal-content {
    border: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
}

.video-pop-window .modal-content .modal-body {
    display: flex;
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-body {
        flex-direction: column;
        padding: 0;
    }
}

.video-pop-window .modal-content .modal-body .popup-x {
    position: absolute;
    top: 10px;
    left: 15px;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.video-pop-window .modal-content .modal-body .popup-x img {
    width: 28px;
    height: 28px;
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-body .popup-x {
        top: 0;
        left: 0;
    }
}

@media (max-width: 767px) {
    .video-pop-window .modal-content .modal-body .popup-x img {
        width: 15px;
        height: 15px;
    }
}

.video-pop-window .modal-content .modal-body h2 {
    font-size: 41px;
    font-weight: bold;
    color: #604039;
    margin-top: 30px;
    padding-left: 50px;
    margin-bottom: 20px;
    line-height: 1;
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-body h2 {
        margin-top: 0;
    }
}

.video-pop-window .modal-content .modal-body .video-section {
    flex-shrink: 1;
    flex-grow: 1;
}

.video-pop-window .modal-content .modal-body .video-section .recipe-gallery {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-pop-window .modal-content .modal-body .video-section .recipe-gallery iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.video-pop-window .modal-content .modal-body .more-videos {
    flex-shrink: 0;
    width: 300px;
    margin-right: 15px;
    padding-top: 35px;
}


.video-pop-window .modal-content .modal-body .more-videos h2,
.video-pop-window .modal-content .modal-body .more-videos h3 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    text-align: center;
    width: 100%;
    color: #fff;
    margin-bottom: 20px;
    padding-left: 0;
}

.video-pop-window .modal-content .modal-body .more-videos h2 span,
.video-pop-window .modal-content .modal-body .more-videos h3 span {
    width: calc(100% - 2.6em);
    color: #fff;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    position: relative;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box + .video-box {
    margin-top: 15px;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box .image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box .image-wrap img {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit:cover;";
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box h4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px 10px;
    color: #604039;
    margin: 0;
    line-height: 1.2;
    min-height: 3.1em;
}

.video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box:after {
    content: " ";
    background-image: url(/wp-content/themes/yadmordechai/assets/img/play-btn.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 4em;
    height: 4em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 3;
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap {
        flex-direction: row;
        height: auto !important;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box {
        height: 0;
        padding-bottom: 30%;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box + .video-box {
        margin-top: 0;
        margin-right: 10px;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box h4 {
        font-size: 20px !important;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box .image-wrap {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box:after {
        width: 5em;
        height: 5em;
    }
}

@media (max-width: 767px) {
    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box h4 {
        font-size: 12px !important;
        padding: 5px;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box + .video-box {
        margin-top: 0;
        margin-right: 5px;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box:after {
        width: 3em;
        height: 3em;
    }
}

@media (max-width: 1199px) {
    .video-pop-window .modal-content .modal-body .more-videos {
        width: 200px;
    }

    .video-pop-window .modal-content .modal-body .more-videos .more-videos-wrap .video-box h4 {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-body .more-videos {
        padding: 20px;
        margin-top: 15px;
        border-top: 1px solid #dadada;
        border-bottom: 1px solid #dadada;
        margin-left: -15px;
        margin-right: -15px;
        width: auto;
    }
}

.video-pop-window .modal-content .ranking-wrap {
    margin-right: auto;
    font-weight: bold;
    color: #604039;
}

.video-pop-window .modal-content .ranking-wrap .averageRanking-wrap {
    display: inline-block;
    vertical-align: middle;
    font-size: 0.8em;
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .ranking-wrap {
        margin-right: 0;
        font-size: 1.6em;
        margin-top: 15px;
    }
}

.video-pop-window .modal-content .modal-footer {
    border: none;
    display: flex;
    width: calc(100% - 305px);
}

@media (max-width: 1199px) {
    .video-pop-window .modal-content .modal-footer {
        width: calc(100% - 205px);
    }
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-footer {
        width: 100%;
        flex-direction: column;
    }
}

.video-pop-window .modal-content .modal-footer .btn {
    background-color: #e3b313;
    font-size: 0.9em;
    color: #fff;
    width: 150px;
    max-width: 100%;
}

.video-pop-window .modal-content .modal-footer .recipe-utils {
    margin: 0;
    padding: 0;
    margin-right: 20px;
    border: none;
}

@media (max-width: 1199px) {
    .video-pop-window .modal-content .modal-footer {
        width: calc(100% - 205px);
    }
}

@media (max-width: 991px) {
    .video-pop-window .modal-content .modal-footer {
        width: 100%;
        flex-direction: column;
        padding: 0;
        margin-top: 15px;
    }

    .video-pop-window .modal-content .modal-footer .btn {
        font-size: 1.4em;
    }

    .video-pop-window .modal-content .modal-footer .recipe-utils {
        margin-right: 0;
        margin-top: 15px;
        font-size: 1.6em;
    }

    .video-pop-window .modal-content .modal-footer .recipe-utils ul li:last-of-type {
        float: right;
    }
}

@media (max-width: 767px) {
    .video-pop-window .modal-content .modal-footer .recipe-utils {
        position: relative !important;
    }

    .video-pop-window .modal-content .modal-footer .recipe-utils ul {
        text-align: right;
    }
}

.video-pop-window.interlude-window .modal-dialog {
    width: 800px;
    margin-top: 50px;
}

.video-pop-window.interlude-window .modal-dialog .modal-content {
    padding: 0;
    border-radius: 0;
    background-color: #000;
}

.video-pop-window.interlude-window .modal-dialog .modal-content .modal-body {
    padding: 0;
}

.video-pop-window.interlude-window .modal-dialog .modal-content .modal-body .popup-x {
    left: -15px;
    top: -40px;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap {
    padding-bottom: 56.25%;
    height: 0;
    width: 100%;
    position: relative;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap .bannerImage {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    font-family: "object-fit:cover;";
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap .video-wraper {
    padding-bottom: 56.65%;
    position: relative;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap .video-wraper .video-cover {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    visibility: visible;
    transition: all ease 0.3s;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap .video-wraper .video-cover img {
    width: 100%;
}

.video-pop-window.interlude-window .modal-dialog .banner-wrap .video-wraper .video-cover.ng-hide {
    display: block !important;
    opacity: 0;
    visibility: hidden;
}

.generic-pop-window .modal-dialog {
    width: 600px;
}