/* 
    Document   : modalSM
    Created on : 26 avr. 2018, 11:03:39
    Author     : Boris Schadeck <boris.schadeck@stardustmultimedia.com>
    Description: CSS rules for ModalSM
*/

.modal-sm-container {
    visibility: hidden;
}

.modal-sm-container.modal {
    display: none;
}


.modal-sm-container.visible {
    visibility: visible;
}

.modal-sm-container.modal.visible {
    display: block;
}

.modal-sm-container.modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(50, 50, 50, 0.6);
    z-index: 1042;
    -webkit-box-shadow: 0 0 5px 5px #B3B3B3;
    box-shadow: 0 0 5px 5px #B3B3B3;
}

.modal-sm-container.visible .modal-sm {
    opacity: 1;
}

.modal-sm {
    position: relative;
    background-color: #efebeb;
    padding: 0;
    width: 75%;
    max-width: 100%;
    height: 90%;
    overflow-y: scroll;
    margin: auto;
    margin-top: 20px;
    opacity: 0;
    transition: opacity .8s ease-in-out;
    -moz-transition: opacity .8s ease-in-out;
    -webkit-transition: opacity .8s ease-in-out;
    padding-bottom: 10px;
}

.modal-sm-head,
.modal-sm-body {
    padding: 10px 30px;
}

.modal-sm-head {
    margin: 0;
    text-align: center;
}

.modal-sm-body {
    padding-top: 20px;
    height:auto;
}

.modal-sm-close, 
.modal-sm-close:before {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    border: none;
    background-color: transparent;
}

.modal-sm-close {
    text-indent: -1000px;
    overflow: hidden;
}

.modal-sm-close:before {
    content: "\00D7";
    font-size: 30px;
    text-indent: 0;
}

.modal-sm-body {
    padding-bottom: 0;
    overflow: hidden;
}

.modal-sm iframe {
    height: 100%;
    border: none;
    width: 100%;
}

.modal-sm-body, 
.modal-sm iframe {
    min-height: 500px;
}

.text-pink {
    color: #ff6666;
}

.border-right-md {
    border-right: none;
}

.block-divider {
    margin-top: 20px;
}

.block-divider p {
    background-color: #efebeb;
    width: 30px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.block-divider hr {
    border-top-color: #cdcdcd;
    position: relative;
    z-index: 1;
    top: -30px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .modal-sm {
        height: auto;
    }
    
    .modal-sm iframe {
        height: auto;
    }
    
    .border-right-md {
        border-right: #cdcdcd solid 1px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

body > iframe[name="f-sm-iframe"] {
    display: none;
    border: none;
}