﻿.sidePopupModalWrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    pointer-events: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

    .sidePopupModalWrapper.darken {
        background-color: #00000080;
        pointer-events: all;
        z-index: 1001;
    }

.sidePopupModal {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    position: absolute;
    right: 0;
    height: 100%;
    max-width: 100%;
    min-width: 250px;
    background-color: #EDEFF1;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    pointer-events: all;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .sidePopupModal.open {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    .sidePopupModal header {
        position: relative;
        height: 40px;
        padding: 0 30px;
        padding-right: 0;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -moz-box-pack: justify;
        box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
        -o-justify-content: space-between;
        justify-content: space-between;
        -ms-flex-pack: justify;
        -webkit-box-align: center;
        -moz-box-align: center;
        box-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        -ms-align-items: center;
        -o-align-items: center;
        align-items: center;
        -ms-flex-align: center;
        -webkit-flex-shrink: 0;
        -moz-flex-shrink: 0;
        flex-shrink: 0;
        -ms-flex-negative: 0;
        color: #697E8F;
        border-bottom: 1px solid #e7e9ea;
        background: #fff;
    }

.sidePopupModalClose {
    margin-bottom: 0;
    cursor: pointer;
    display: inline-block;
}

.buttonWrapper {
    position: absolute;
    right: 10px;
    top: 7px;
}

.sidePopupModalTitle {
    color: #cab387;
    font-weight: 600;
    line-height: 30px;
}

.sidePopupModalContent {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background-color: #EDEFF1;
    margin-top: auto;
    overflow: auto;
    padding: 5px 30px;
    -webkit-overflow-scrolling: touch;
}
