﻿body.modal-open {
    position: fixed !important;
    width: 100%;
}

    body.modal-open .overlay-fix {
        display: block;
    }

.modal-box {
    display: none;
    position: relative !important;
    z-index: 999999;
    width: 97% !important;
    background: white;
    border-bottom: 1px solid #aaa;
    border-radius: 0px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    top: 50% !important;
    height: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}



    .modal-box header,
    .modal-box .modal-header {
        padding: 1.25em 1.5em;
        border-bottom: 1px solid #ddd;
    }

        .modal-box header h3,
        .modal-box header h4,
        .modal-box .modal-header h3,
        .modal-box .modal-header h4 {
            margin: 0;
        }

    .modal-box .modal-body {
        padding: 5px 5px;
    }

    .modal-box footer,
    .modal-box .modal-footer {
        padding: 1em;
        border-top: 1px solid #ddd;
        background: rgba(0, 0, 0, 0.02);
        text-align: right;
    }

.overlay-fix {
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    overflow: hidden;
    display: none;
}


a.close {
    font-size: 16px;
    position: absolute;
    top: -47px;
    right: 0px !important;
    text-decoration: none;
    color: white;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: normal !important;
    line-height: 1;
}

.sticky-menu-bar {
    position: fixed;
    top: 54.9%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -133px;
    width: 200px;
    z-index: 9999;
}

    .sticky-menu-bar a {
        display: block;
        text-align: center;
        padding: 10px 0;
        font-weight: 400;
        transition: all 0.3s ease;
        color: white;
        font-size: 18px;
        transform: rotate(90deg);
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        -webkit-font-smoothing: antialiased;
        text-shadow: 1px 1px 1px rgb(0,0,0,.004);
    }

        .sticky-menu-bar a:hover {
            background-color: #3b5998;
            color: white;
        }

.Message {
    background: #131E29 !important;
    height: 155px;
    color: white;
}

.holds-the-iframe {
    background: url('../../Assets/img/loading.gif') center center no-repeat;
    top: 0px !important;
    height: 100% !important;
}

 /*fix for ie iframe */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .holds-the-iframe {
        background: url('../../Assets/img/loading.gif') center center no-repeat;
        top: 140px !important;
        height: 70% !important;
        width: 95% !important;
        left: 50% !important;
        transform: translateX(-50%);
    }

    .js-modal-close {
        top: -36px !important;
    }
}


.js-modal-close {
    top: -37px !important;
    right: 3px !important;
    padding: 10px 36px;
    color: #131E29;
    cursor: pointer;
}

.pink-bg {
    display: block !important;
    background: #131E29 !important;
}

@media only screen and (max-width : 575px) {
    .pink-bg {
        top: -37px !important;
    }

    a.close {
        right: 0px !important;
    }
}

@media only screen and (max-width : 767px) {
    .sticky-menu-bar {
        left: -115px;
        top: 50%;
    }

        .sticky-menu-bar a {
            padding: 0;
            font-size: 14px;
            font-weight: bold;
            color: #fff;
            line-height: 1.3;
        }

    .Message {
        min-width: auto;
        height: 150px;
        width: 130px;
    }

    .hasShardBackgroundComponent.modal-open > .usabilla_live_button_container {
        z-index: 9 !important;
        pointer-events: none;
        opacity: 0.8;
    }
}

 /*Landscape iphone xr */
@media (max-height : 414px) {
    .holds-the-iframe {
        top: 0px !important;
    }
}

.modal-overlay {
    top: 0px !important;
}
