﻿
/*#region NOTIFICATIONS & POPUPS ******************************************************************************************************************************************************************************/

.bar-notification {
    width: 800px;
    left: 50%;
    transform: translateX(-50%);
    top: 5%;
    border: 1px solid #ccc;
    border-radius: 5px;
    position: fixed;
    z-index: 16777262;
    -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    padding: 4rem;
    text-align: center;
    max-width: 60vw;
}

    .bar-notification.success,
    .bar-notification.error,
    .bar-notification.warning {
        top: 10%;
        visibility: visible;
        opacity: 1;
    }

    .bar-notification .successMessage,
    .bar-notification .warningMessage,
    .bar-notification .errorMessage {
        display: none;
    }

    .bar-notification.success .successMessage {
        color: #86C402;
        display: block;
    }

    .bar-notification.warning .warningMessage {
        color: #d59105;
        display: block;
    }

    .bar-notification.error .errorMessage {
        color: #cc0d33;
        display: block;
    }

    .bar-notification .icon {
        display: block;
        width: 8rem;
        height: 8rem;
        max-width: 8rem;
        max-height: 8rem;
        margin: 0 auto 1rem;
        border: 2px solid;
        border-radius: 50%;
    }

    .bar-notification.success .icon {
        border-color: #86C402;
        padding: 1.4rem;
    }

    .bar-notification.warning .icon {
        border-color: #d59105;
        padding: 1.2rem;
    }

    .bar-notification.error .icon {
        border-color: #cc0d33;
        padding: 2rem;
    }

    .bar-notification.success .icon svg {
        padding-top: .7rem;
    }


    .bar-notification .content {
        margin: 0 0 2rem;
        padding: 1rem 0 0;
        color: #666;
        font-size: 2rem;
    }

    .bar-notification .close {
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        margin: 7px;
        background: url('/Themes/Cokesbury/Content/images/search_dropdown_close_x.svg');
        opacity: 0.3;
        background-repeat: no-repeat;
        background-size: 20px 20px;
        background-position: 50% 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .bar-notification .close:hover {
            opacity: 0.8;
            transition: all 0.3s ease;
        }

    .bar-notification .button {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        width: auto;
        min-width: unset;
        margin: 0 1rem;
    }

.notificationOverlay {
    display: none;
    transition: all 0.3s ease;
}

    .notificationOverlay.active {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        position: fixed;
        z-index: 16777259;
        background: #000;
        opacity: .2;
        width: 100%;
        height: 100%;
        display: block;
    }



/* #region jQuery Modal ******************************************************************************************************************************************************************************/

.ui-dialog .divButtonWrapper {
    text-align: right;
    margin-top: 2rem;
}

.ui-widget-overlay {
    background: #000;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 102;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    -moz-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
    -webkit-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
    -o-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
    transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
}

    .ui-widget-overlay.ui-front {
        opacity: .5;
        visibility: visible;
        width: 100%;
        height: 100%;
        -moz-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
        -webkit-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
        -o-transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
        transition: visibility 0s, height 0s, width 0s, opacity 0.5s linear;
    }


.divMainVideo iframe {
    width: 50vw;
    height: calc(50vw * .5625);
}

.ui-dialog .ui-dialog-content {
    padding: 4rem 4rem 3rem;
}

    .ui-dialog .ui-dialog-content.seeInsideModal {
        padding: 4rem;
    }

.ui-widget-content.ProductDetailVideoPopup {
    color: #333;
    z-index: 103;
    background: #fff;
    border: none;
    border-radius: 5px;
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-box-shadow: 0px 7px 8px -4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 7px 8px -4px rgba(0,0,0,0.3);
    box-shadow: 0px 7px 8px -4px rgba(0,0,0,0.3);
}

.ui-dialog .ui-dialog-titlebar {
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0;
}

.ui-button .ui-icon.ui-icon-closethick {
    background: url('/Themes/Shared/Content/images/search_dropdown_close_x.svg') no-repeat center;
    background-position: 0 0;
    display: block;
    width: 24px;
    height: 24px;
}

    .ui-button .ui-icon.ui-icon-closethick:hover {
        background: url('/Themes/Shared/Content/images/search_dropdown_close_x_hover.svg') no-repeat center;
        background-position: 0 0;
        display: block;
        width: 24px;
        height: 24px;
    }

.ui-dialog .ui-dialog-titlebar-close {
    border: none;
    margin: 0;
    background: transparent;
    padding: 0;
    top: 1.4rem;
    right: 1rem;
    z-index: 1;
    box-shadow: none;
    min-width: 0;
    font-size: 0;
}

    .ui-dialog .ui-dialog-titlebar-close:hover {
        box-shadow: none;
    }


/* #region product detail video strip Modal ******************************************************************************************************************************************************************************/

.divVideoStrip {
    display: inline-block;
    padding: 0 1rem;
    font-size: 1.4rem;
    max-width: 180px;
    vertical-align: top;
    max-height: calc(50vw * .5625);
    overflow-y: auto;
}

.divVideoStripThumbnail {
    padding-bottom: 1rem;
    position: relative;
}

    .divVideoStripThumbnail img {
        border: 1px solid #eee;
        -webkit-box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.3);
        box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.3);
    }

        .divVideoStripThumbnail img:hover {
            border: 1px solid #ccc;
            -webkit-box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.5);
            -moz-box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.5);
            box-shadow: 0px 4px 3px -3px rgba(0,0,0,0.5);
        }

.divMainVideo {
    display: inline-block;
}





/* browser reject modal */
.Reject.bar-notification {
    max-width: 80rem !important;
}

    .Reject.bar-notification .close > a {
        text-decoration: none;
        width: 4rem;
        height: 4rem;
        display: block;
    }

    .Reject.bar-notification ul {
        padding: 0;
        display: flex;
        justify-content: space-between;
    }

        .Reject.bar-notification ul li {
            padding: 0 2rem;
        }

            .Reject.bar-notification ul li a {
                font-size: 1.6rem;
                white-space: nowrap;
            }

    .Reject.bar-notification .jr_icon {
        display: block;
        width: 100px;
        height: 100px;
        background-size: contain;
        margin: 0 auto;
    }

    .Reject.bar-notification #jr_firefox .jr_icon {
        background-image: url("/Themes/Cokesbury/Content/images/browserIcons/firefox.png");
    }

    .Reject.bar-notification #jr_msedge .jr_icon {
        background-image: url("/Themes/Cokesbury/Content/images/browserIcons/edge.png");
    }

    .Reject.bar-notification #jr_chrome .jr_icon {
        background-image: url("/Themes/Cokesbury/Content/images/browserIcons/chrome.png");
    }

    .Reject.bar-notification #jr_safari .jr_icon {
        background-image: url("/Themes/Cokesbury/Content/images/browserIcons/safari.png");
    }




/*#region Small devices (landscape phones, less than 768px)  */
@media screen and (max-width: 767px) {
    .ui-dialog .ui-dialog-titlebar-close {
        right: -8px;
    }
    .ui-button .ui-icon.ui-icon-closethick:hover {
        background: url('/Themes/Shared/Content/images/search_dropdown_close_x.svg') no-repeat center;
        background-position: 0 0;
    }
    .ui-widget-content.ProductDetailVideoPopup {
        background: none;
        border-radius: 0;
        box-shadow: none;
    }

    .ui-dialog .ui-dialog-content {
        padding: 0;
    }

    .ProductDetailVideoPopup .ui-state-default .ui-icon.ui-icon-closethick {
        display: none;
    }
}