﻿body {
}

div.msgBox {
    /*padding: 4px 10px 4px 10px;*/
    padding: 0px;
    border-radius: 5px;
    position: absolute;
    z-index: 1050;
    /*font-family: Verdana;*/
    width: 25%;
    min-height: 250px;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
    background-image: url("../Images/msgbox/msgBoxBackGround.png");
    opacity: 1;
    top: 35%;
    /*left: 40%;*/
    /*transition-duration:5s;*/
    background-color: #fff;
}

div.msgBoxBackGround {
    top: 0;
    left: 0;
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.9;
    z-index: 999;
}

.msgBox {
    margin: 0 auto;
    left: 0;
    right: 0;
}

div.msgBoxTitle {
    padding: 5px 0 5px 0;
    /*font-variant:small-caps;*/
    font-size: 15pt;
    font-weight: bold;
    color: #00335e;
    width: 100%;
    border-bottom: 1px solid #002c5f;
    height: 60px;
    background-color: #111e90;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #fff;
}

div.msgBoxImage {
    margin: 20px 5px 0 5px;
    display: inline-block;
    float: left;
    height: 75px;
    width: 75px;
}

    div.msgBoxImage img {
        height: 75px;
        width: 75px;
    }

div.msgBoxContent {
    font-size: 11pt;
    margin: 0 3px 6px 3px;
    height: 135px;
    width: 100vw;
    text-align: center;
    position: relative;
}

    div.msgBoxContent p {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    div.msgBoxContent span {
        display: table-cell;
        vertical-align: middle;
        color: #00335e;
    }

/* Content class for IE7*/

div.msgBoxContentIEOld {
    font-size: 11pt;
    margin: 0 3px 6px 3px;
    display: inline-block;
    float: left;
    height: 90px;
    width: 319px;
    position: relative;
}

    div.msgBoxContentIEOld p {
        padding: 0;
        margin: 0;
        position: absolute;
        top: 50%;
    }

    div.msgBoxContentIEOld span {
        position: relative;
        top: -50%;
    }

/* Content class for IE7*/

div.msgBoxButtons {
    display: inline-block;
    width: 100%;
    text-align: right;
    border-top: 1px solid #DFDFDF;
    padding: 5px;
}

    div.msgBoxButtons input[type='button'] {
        cursor: pointer;
        margin: 2px;
        height: 35px;
        width: 90px;
        border: 1px solid #AFAFAF;
        background-color: #111e90;
        color: #FFFFFF;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        outline: none;
        font-weight: bold;
    }

        div.msgBoxButtons input[type='button']:hover {
            background-color: #00549c;
            color: White;
        }

        div.msgBoxButtons input[type='button']:active {
            background-color: #AAAAAA;
            color: White;
        }

        div.msgBoxButtons input[type='button']:focus {
            outline: none;
            border: solid 2px #FFCC66; /* replace outline by a border */
            -o-transform: rotate(0); /*remove opera outline*/
        }

        div.msgBoxButtons input[type='button']::-moz-focus-inner /*remove firefox inner outline*/ {
            outline: none;
            border: none;
        }

div.msgBoxInputs {
    margin: 0 auto;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 5px;
    width: 195px;
}

div.msgInput input[type='text'], div.msgInput input[type='password'] {
    padding: 4px;
    border: 1px solid #DFDFDF;
    color: #2f2f2f;
    width: 180px;
}

div.msgInput text {
    color: #2f2f2f;
    font-size: 10pt;
}


.msgWrapperBox {
    position: absolute;
    display: table;
    height: 135px;
}

    .msgWrapperBox p {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        padding: 10px;
    }

div.msgBox {
    padding: 0px;
    border-radius: 5px;
    position: absolute;
    z-index: 1050;
    min-height: 250px;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
    background-image: url("../Images/msgbox/msgBoxBackGround.png");
    opacity: 1;
    top: 35%;
    background-color: #fff;
}

@media screen and (min-width: 320px) and (max-width: 479px) {
    div.msgBox {
        width: 95% !important;
    }
    .msgWrapperBox {
        width: 90vw;
    }
}

@media screen and (min-width: 480px) and (max-width: 639px) {
    div.msgBox {
        width: 95% !important;
    }

    .msgWrapperBox {
        width: 90vw;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
    div.msgBox {
        width: 65% !important;
    }
     .msgWrapperBox {
        width: 65vw;
    }
}

@media screen and (min-width: 768px) and (max-width: 959px) {
    div.msgBox {
        width: 65% !important;
    }
     .msgWrapperBox {
        width: 65vw;
    }
}

@media screen and (min-width: 960px) and (max-width: 1023px) {
   div.msgBox {
        width: 50% !important;
    }
     .msgWrapperBox {
        width: 50vw;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    div.msgBox {
        width: 45% !important;
    }
     .msgWrapperBox {
        width: 45vw;
    }
}

@media screen and (min-width: 1280px) {
    div.msgBox {
        width: 25% !important;
    }
     .msgWrapperBox {
        width: 25vw;
    }
}