.modal {
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: none;
}

.modal .hidden {
    display: none !important;
}

.modal.show {
    display: block;
}

.modal.show.hidden {
    display: none;
}

.modal.loading {
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
    background-image: url(../img/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 100;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    width: 400px;
    left: 50%;
    top: 50%;
    position: absolute;
    padding: 0;
    border: 1px solid #888;
    margin-left: -200px;
    margin-top: -135px;
    color: #333;
    z-index: 7;
}

.modal-content.modal-winnerlist {
    width: 700px;
    margin-left: -350px;
    height: 400px;
    margin-top: -200px;
}

.modal-header {
    background-color: #EAEAEA;
    border-bottom: 1px solid #D5D5D5;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 28px;
}

.modal-body {
    padding: 10px 20px 20px 20px;
}

.success-message {
    font-size: 14px;
}

.modal-winnerlist .modal-body {
    overflow: auto;
    height: 325px;
    font-size: 12px;
}

.modal-winnerlist .modal-body table {
    border-collapse: collapse;
    width: 100%;
}

.modal-winnerlist .modal-body table tr td {
    padding: 4px 20px;
    border: 1px solid #ccc;
    border-collapse: collapse;
}

.modal-winnerlist .modal-body table tr td.table {
    padding: 0;
    border: none;
}

.modal-body .title {
    font-size: 13px;
    display: block;
    font-weight: bold;
    width: 100%;
}

.modal-body .input {
    width: 100%;
    padding: 4px 5px;
    height: 30px;
    box-sizing: border-box;
}

.modal-body .button {
    padding: 0 50px;
}

.modal-body label.error {
    font-size: 12px;
    color: red;
    display: block;
    width: 100%;
}

.modal-body .line {
    width: 100%;
    padding: 10px 0;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* mailBox */
#mailBox{background:#fff;border:1px solid #ddd;padding:3px 5px 5px;position:absolute;z-index:9999;display:none;-webkit-box-shadow:0px 2px 7px rgba(0, 0, 0, 0.35);-moz-box-shadow:0px 2px 7px rgba(0, 0, 0, 0.35);}
#mailBox p{width:100%;margin:0;padding:0;height:20px;line-height:20px;clear:both;font-size:12px;color:#ccc;cursor:default;}
#mailBox ul{padding:0;margin:0;}
#mailBox li{font-size:12px;height:22px;line-height:22px;color:#939393;font-family:'Tahoma';list-style:none;cursor:pointer;overflow:hidden;}
#mailBox .cmail{color:#000;background:#e8f4fc;}

@media only screen and (max-width: 400px) {
    .modal-content {
        width: 90%;
        margin-left: -45%;
    }

    .modal-content.modal-winnerlist {
        width: 90%;
        margin-left: -45%;
    }

    .modal-winnerlist .modal-body table {
        width: 660px;
    }
}

.text-center {
    text-align: center;
}
.button {
    background-color: #006446;
    color: #fff;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    box-sizing: border-box;
}