﻿/*CSS modal popup*/

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background-color: rgba(0,0,0,.4);
    border-radius: 12px;
    -webkit-border-radius: 12px;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    width: 500px;
    position: relative;
    margin: 0 auto;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition: transform .3s ease-out,-o-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out,-o-transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    -ms-transform: translate(0,-25%);
    -o-transform: translate(0,-25%);
    transform: translate(0,-25%);
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 100%;
    -moz-box-shadow: 0 4px 8px 0 #000,0 6px 20px 0 #000;
    -moz-box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    -o-box-shadow: 0 4px 8px 0 #000,0 6px 20px 0 #000;
    -o-box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    -webkit-box-shadow: 0 4px 8px 0 #000, 0 6px 20px 0 #000;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    box-shadow: 0 4px 8px 0 #000, 0 6px 20px 0 #000;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: .4s;
    animation-name: animatetop;
    animation-duration: .4s;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
    border-radius: 12px;
    -webkit-border-radius: 12px
}

.topborder {
    width: 100%;
    clear: both;
    height: 10px;
    position: relative;
}

    .topborder .tleft {
        width: 100%;
        float: left;
        height: 10px;
        background-color: #506CFF;
    }
    /* .topborder .tbottom {
        width: calc(100%/3);
        float: left;
        height: 10px;
        background-color: #ff7a00;
    }

    .topborder .tright {
        width: calc(100%/3);
        float: left;
        height: 10px;
        background-color: #16b14b;
    }*/

    .topborder .tclose {
        width: 27px;
        height: 27px;
        position: absolute;
        top: -10px;
        right: -10px;
        background: url(../images/ic_close.webp) no-repeat;
        cursor: pointer;
        z-index: 10;
    }

.popup-noti {
    width: 100%;
    display: block;
}

    .popup-noti #stitle, .popup-noti .stitle {
        padding: 25px 15px 15px 15px;
        border-radius: 6px 6px 0 0;
        text-align: center;
    }

        .popup-noti #stitle h2, .popup-noti .stitle h2 {
            font-size: 35px;
            font-weight: 600;
            background-color: transparent;
            color: #000;
            margin-top: 0;
            margin-bottom: 0;
            line-height: 1.2;
        }

    .popup-noti #scontent, .popup-noti .scontent {
        padding: 16px;
        padding-left: 32px;
        padding-right: 32px;
        color: #000;
        font-size: 16px;
        text-align: left;
    }

    .popup-noti #btnGroup, .popup-noti .btnGroup {
        padding: 20px 0 15px 0;
        text-align: center;
    }

#btnGroup .sbtn {
    text-align: center;
    display: inline-block;
    margin: 5px 5px 0 5px;
    line-height: 1;
}

#btnGroup .sbtn, .btnGroup .sbtn {
    text-align: center;
    display: inline-block;
    margin: 5px 10px 0 10px;
}

#btnGroup .sbtnOk, .btnGroup .sbtnOk, .btnGroup .close {
    background-color: #506CFF;
    color: #fff;
}

#btnGroup .sbtnCancel, .btnGroup .sbtnCancel, .btnGroup .sbtnCancel {
    background-color: #636F7E;
    color: #fff;
}

#btnGroup a.sbtn, .btnGroup a.sbtn {
    text-decoration: none;
    align-items: center;
    padding: 16px 20px;
    width: 40%;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    font-weight: 400;
    font-size: 17px;
}

.body-mark {
    z-index: 9999999999999999;
}

.fade.in {
    opacity: 1;
}

.body-mark.active {
    display: block;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

.body-mark .modal-backdrop {
    float: left;
    width: 100%;
    height: 100%;
}

img.img-notify-title {
    width: 100px;
    padding-bottom: 15px;
}
.modal.fade._accept {
    /*
    padding: 0;
    display: flex !important;
    z-index: 999;
    top: 0;
    position: fixed;
        */
}
.popup_home {
    display: block;
    background-color: rgba(0,0,0,.5);
    border-radius: 0px;
    padding-top: 230px;
}
    .popup_home .owl-dots {
        position: absolute;
        bottom: 0px;
        text-align: center;
        width: 100%;
    }
    .popup_home .owl-dot {
        display: inline-block;
    }
        .popup_home .owl-dot span {
            width: 8px;
            height: 8px;
            margin: 5px 4px;
            background: #fff;
            display: block;
            -webkit-backface-visibility: visible;
            transition: opacity .2s ease;
            border-radius: 30px;
        }
    .popup_home .owl-dots .owl-dot.active span{
        /*background: #869791;*/
        width: 51px;
    }
    .popup_home .close {
        position: absolute;
        top: 0px;
        right: 0px;
        background: url(../images/icon_close.png) no-repeat center;
        width: 50px;
        height: 50px;
        z-index: 10;
        opacity: 1;
    }