﻿/*Style for modal */
.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    padding-right: 17px;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity .15s linear;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

    .modal .modal-dialog {
        margin: 0 auto;
        width: 600px;
        position: absolute;
        left: 50%;
        margin-left: -300px;
        top: 50%;
        transform: translateY(-50%);
    }

        .modal .modal-dialog .modal-content {
            position: relative;
            background-color: #fff;
            border: 1px solid rgba(0,0,0,.2);
            margin-top: 3px;
            border-radius: 6px;
            box-shadow: 0 3px 9px rgba(0,0,0,.5);
        }


            .modal .modal-dialog .modal-content .modal-header {
                padding: 15px 20px;
                border-bottom: 1px solid #e7e7e7;
                position: relative;
            }

            .modal .modal-dialog .modal-content .modal-title {
                margin: 0;
                font-weight: normal;
                color: #666;
            }

            .modal .modal-dialog .modal-content .modal-body {
                padding: 15px 20px;
            }

            .modal .modal-dialog .modal-content .modal-footer {
                text-align: left;
                padding: 15px 20px;
                overflow: hidden;
            }


        .modal .modal-dialog .close {
            position: absolute;
            right: -15px;
            top: -15px;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            background: #fff;
            -webkit-appearance: none;
            border: none;
            font-size: 24px;
            padding: 0 0 10px 0;
            color: #000;
            text-shadow: 0 1px 0 #fff;
            border: 1px solid #ddd;
            color: #878787;
        }

            .modal .modal-dialog .close::after {
                content: "×";
                font-size: 24px;
                color: #bfbfbf;
                position: absolute;
                left: 5px;
                top: -1px;
            }


    .modal.modal-editor .modal-dialog {
        width: 800px;
        margin-left: -350px;
    }

        .modal.modal-editor .modal-dialog .modal-content .modal-body {
            padding-left: 60px;
            padding-right: 70px;
        }
