/* 
    Created on : Aug 20, 2016, 5:15:20 PM
    Author     : rong
*/
.btn-blue {
    -moz-box-shadow: 0px 1px 0px 0px #9fb4f2;
    -webkit-box-shadow: 0px 1px 0px 0px #9fb4f2;
    box-shadow: 0px 1px 0px 0px #9fb4f2;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7892c2), color-stop(1, #476e9e));
    background:-moz-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-webkit-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-o-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-ms-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7892c2', endColorstr='#476e9e',GradientType=0);
    background-color:#7892c2;
    -moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    border:1px solid #4e6096;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px -1px 0px #283966;
}
.btn-blue:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #476e9e), color-stop(1, #7892c2));
    background:-moz-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-webkit-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-o-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-ms-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#476e9e', endColorstr='#7892c2',GradientType=0);
    background-color:#476e9e;
}
.btn-blue:active {
    position:relative;
    top:1px;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


/* The Modal (background) */
.modal {
    /* display: none; */ /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* 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 */
}

/* Modal Content/Box */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto  10%;  /* 15% from the top and centered */  
    margin-left: auto;
    margin-right: auto;
    /* padding: 10px; */
    border: 1px solid #888;
    border-radius: 15px;
    width: 80%; /* Could be more or less, depending on screen size */
    box-shadow: 0px 1px 10px #5E5E5E;
    /* transition: all 15s ease-in-out; */
    font-family: Tahoma, Arial, sans-serif;
    resize: both;
    overflow: auto;
}

.modal_active {
    display: block;
}

.modal_hidden {
    display: none;
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-right: 12px;

    padding-left: 7px;
    padding-right: 7px; 
}

.close:hover,
.close:focus {
    color: yellow;
    text-decoration: none;
    cursor: pointer;
    background-color: red;
    border-radius: 50%;
}

.option {
    position: absolute;
    top: 28px;
    display: none;
    padding: 1px;
    z-index: 100;
    width: 200px;
    border: solid black 1px;
    box-shadow: 5px 5px 10px #888888;
}
.option .item {
    width: 100%;
    padding: 2px;
    padding-left:6px;
    background: white;
    color: black;
    float: left;
}
.option .item:hover {
    cursor: pointer;
}