/* ------------- */
/* Preview modal */
/* ------------- */
.osc-wrap-helper-page-unclickable {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.25);
    z-index: 99;
    display: none;
}
.osc-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}
.osc-wrap .osc-wrap-container {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.osc-modal {
    background: #fff;
    display: block;
    position: absolute;
    z-index: 2;
    box-shadow: 0 0 2px 0 #34495e;
    border-radius: 3px;
    max-width: 100%;
    top: 80px;
}

@media (min-width:576px){
    .osc-modal {
        top: 40px;
    }
}

.osc-modal>header {
    border-bottom: 1px solid #d8e2e4;
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-sizing: border-box;
    position: relative;
}
.osc-modal>header .main-group {
    flex: 1 1 auto;
    max-width: 100%;
    align-items: center;
}
.osc-modal>header .title {
    font-weight: 700;
    font-size: 14px;
}
.osc-modal>header .close-btn {
    position: absolute;
    right: 20px;
    top: calc((100% - 14px)/2);
    cursor: pointer;
    width: 14px;
    height: 14px;
    overflow: hidden;
}
.osc-modal>header .close-btn:before, 
.osc-modal>header .close-btn:after {
    content: "";
    display: block;
    position: absolute;
    background: #adadad;
    top: -50%;
    left: calc((100% - 2px)/2);
    height: 200%;
    width: 2px;
    transform: rotate(45deg);
}
.osc-modal>header .close-btn:hover:before, 
.osc-modal>header .close-btn:hover:after {
    content: "";
    display: block;
    position: absolute;
    background: #565555;
    top: -50%;
    left: calc((100% - 2px)/2);
    height: 200%;
    width: 2px;
    transform: rotate(45deg);
}

.osc-modal>header .close-btn:after {
    transform: rotate(-45deg);
}
.osc-modal>header .close-btn:hover:after {
    transform: rotate(-45deg);
}
.osc-modal>.body {
    padding: 20px;
}
.campaign-preview {
    max-width: 100vw;
    width: 780px;
    position: relative;
    box-sizing: border-box;
}
.campaign-preview .design-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.campaign-preview * {
    box-sizing: border-box;
}
.campaign-preview .design-tabs>div {
    color: #282364;
    padding: 10px;
    position: relative;
    cursor: pointer;
}
.campaign-preview .design-tabs>div.activated {
    color: #2684FE;
}
.campaign-preview .design-tabs>div.activated:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    background: #2F80ED;
    height: 3px;
    width: 100%;
    left: 0;
}
.osc-modal .campaign-preview .campaign-dynamic-mockup {
    height: 740px;
}