﻿/* Modal Box */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    filter: alpha(opacity=50);
    opacity: 0.5;
    z-index: 120;
}

.modalbox {
    background: #ffffff;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -125px;
    margin-left: -250px;
    width: 500px;
    height: 250px;
    filter: alpha(opacity=0);
    opacity: 0;
    padding: 0;
    overflow: hidden;
    z-index: 300;
    border-radius:5px;
}
    .modalbox .modal-title {
        font-size: 14px;
        font-weight: bold;
        padding: 6px 20px;
        background: #16456d;
        color:#ffffff;
        height: 42px;
        overflow: hidden;
        border-bottom: 10px solid #fff;
    }
    .modalbox .content {
        background: #ffffff;
        position: absolute;
        top: 42px;
        left: 20px;
        right: 20px;
        bottom: 80px;
        overflow: hidden;
        color: #000000;
        overflow-y: auto;
    }

    .modalbox .action {
        border-top: #e5e5e5 1px solid;
        padding-top: 10px;
        position: absolute;
        right: 20px;
        bottom: 20px;
        left: 20px;
        text-align: right;
    }

        .modalbox .action button {
            margin-left: 10px;
        }
        .modalbox .action a {
            margin-left: 10px;
        }

    .modalbox .primary {
        float: none;
    }


@media all and (max-width: 1366px) {
}

@media all and (max-width: 1280px) {
}

@media all and (max-width: 1199px) {
}


@media all and (max-width: 1024px) {
}

@media all and (max-width: 991px) {
}

/* Break */
@media all and (max-width: 767px) {
    .modalbox {
        background: #ffffff;
        position: fixed;
        top: 0 !important;
        left: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        filter: alpha(opacity=0);
        opacity: 0;
        padding: 0;
        overflow: hidden;
        z-index: 300;
    }
}

@media all and (max-width: 640px) {
}

@media all and (max-width: 500px) {
}

@media all and (max-width: 360px) {
}

@media all and (max-width: 320px) {
}

@media print {
}
