/* ========================= LAYOUT SECTION  =========================== */

html,
body {
    width: 100%;
    height: 85%;
    margin: 0px;
    font-family: Verdana, Georgia, serif;
    font-size: 14px;
    box-sizing: border-box;
}

.div-main {
    padding: 25px;
    font-size: 110%;
    min-height: 80%;
}

input,
textarea {
    width: 100%;
    padding: 2px;
    margin: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

h1 {
    font-size: 120%;
    text-align: center;
    color: #ce282e;
}

h2 {
    font-size: 100%;
    text-align: center;
    color: #fff;
    margin: 0px;
}

h3 {
    font-size: 250%;
    text-align: center;
    color: #e5e4d7;
    font-family: "Century Gothic", "Gill Sans", Arial, sans-serif;
    margin: 0px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#loading {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 25%;
    top: 25%;
    background: url('../images/spinner.gif') no-repeat center center;
    background-size: 50px 50px;
    z-index: 10;
}


/* ======================================== HEADER SECTION ======================================== */


/** Banner **/

#div-header {
    background-color: #4e5944;
    height: 25px;
    padding: 5px 5px 0 5px;
}

.div-banner {
    float: left;
    font: bold 16px Times, "Times New Roman", serif;
    /*display: inline-block;*/
}

#div-info {
    float: right;
    /*display: inline-block;*/
}

#div-name {
    color: #fff;
    text-align: right;
    padding-right: 12px
}


/* ============================================ NAVBAR SECTION ======================================== */


/* ----- Main Navabar: Tabs ----- */

#div-navbar-main ul {
    margin: 0px;
    height: 100%;
    padding: 7px;
    list-style-type: none;
    text-align: left;
    background-color: #4e5944;
}

#div-navbar-main ul li {
    display: inline;
}

#div-navbar-main ul li a {
    color: #b8c6ac;
    font: bold 16px Times, "Times New Roman", serif;
    text-shadow: 1px 1px #000;
    text-transform: uppercase;
    text-decoration: none;
    padding: .2em .7em 0 .2em;
}

#div-navbar-main ul li a:hover {
    color: #fff;
    text-decoration: none;
}

#logoutspan {
    float: right;
    /*display: inline-block;*/
}


/* ----- Buttons Navbar ----- */

#div-navbar-buttons {
    background-color: #5f6956;
}

#div-navbar-buttons ul {
    padding: 3px;
    list-style-type: none;
    background-color: #5f6956;
    margin: 0px;
}

#div-navbar-buttons ul li {
    display: inline;
}

#div-navbar-buttons ul li button {
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    text-align: center;
    margin: 0px 5px 0px 5px;
}

#div-navbar-buttons ul li input {
    width: 15px;
}

#div-navbar-buttons ul li select {
    width: 100px;
    padding: 5px;
    border-radius: 5px;
    border: 0px 5px 5px 5px;
    margin-left: 5px;
    margin-right: 5px;
}

#div-navbar-buttons ul li a {
    color: #b8c6ac;
    font: bold 14px Times, "Times New Roman", serif;    
    text-decoration: none;
    padding-left: 10px;
}

#div-navbar-buttons ul li a:hover {
    color: #fff;
    text-decoration: none;
}

/* ============================= Login Page =========================== */

.div-login-main{
    font-size: 120%;
    margin-top: 10%;
}


.div-login-formcontainer {
    width: 40%;
    height: 50%;
    border-radius: 25px;
    background-color: #838a7c;
    margin: auto;
}

.div-reset-pwd-main {
    font-size: 120%;
    margin-top: 10%;
}

.div-reset-pwd-formcontainer {
    width: 40%;
    height: 30%;
    margin: auto;
    border-radius: 25px;
    background-color: #838a7c;
}

#login-text,
#reset-pwd-text {
    padding: 10px;
    text-align: center;
    font-size: 150%;
    color: #fff;
}


/* Bordered form   */

#login-form {
	margin: 25px 50px 25px 50px;
    padding: 10px 10px 20px 10px;
}

#reset-pwd-form {
    margin: 10px 50px 10px 50px;
    padding: 10px;
}


/* Full-width inputs */

#login-username,
#login-password,
#reset-pwd-username,
#reset-pwd-dob,
#reset-pwd-newpassword {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* Set a style for all buttons */

#button-login-submit,
#button-reset-pwd-submit {
    width: 100%;
    background-color: #4e5944;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    margin: auto auto;
    cursor: pointer;
}


/* Add a hover effect for buttons */

button:hover {
    opacity: 0.8;
}


/* The "Forgot password" text */

#forgot-pwd-span {
    float: right;
    padding-top: 20px;
}

/* ======================================= Stocks Page ======================================== */

#div-live-stocks,
#div-fetch-stocks {
    margin-left: 2%;
}

#stocks-table-live,
#stocks-table-fetch {
    border-collapse: separate;
    border: solid 1px #606060;
}

#stocks-table-live tr,
#stocks-table-fetch tr {
    background-color: #f2f2f2;
}

#stocks-table-live-header th,
#stocks-table-fetch-header th {
    text-align: Center;
    font: 12px Verdana;
    font-weight: bold;
    background-color: #606060;
    color: #fff;
}

#sum-totamnt,
#sum-profitpct,
#sum-profit {
    text-align: right;
    font: 14px Verdana;
    font-weight: bold;
    padding: 7px;
}

#stocks-table-live-body td {
    text-align: right;
    font: 12px Verdana;
    font-weight: bold;
    width: 30px;
    padding: 5px;
    border: 0.1px solid #808080;
}

#stocks-table-fetch-body td {
    text-align: right;
    font: 12px Verdana;
    width: 30px;
    font-weight: bold;
    padding: 5px;
    border: 0.1px solid #808080;
}

#stocks-table-live-body tr td:first-child,
#stocks-table-fetch-body tr td:first-child {
    text-align: left;
    font: 12px Verdana;
    font-weight: bold;
}

#stocks-table-live-body tr td:last-child {
    text-align: center;
    font: 12px Verdana;
    font-weight: bold;
	width: 70px;
}
/*
#stocks-table-live-body tr:hover {
    background-color: #b4b4b4;
    opacity: 0.5;
}
*/
#stocks-table-fetch-header td {
    border: 0.1px solid #808080;
}

#stocks-table-fetch-header tr td:first-child {
    width: 100px;
    padding: 2px 2px 0 2px;
}

#stocks-table-fetch-body tr td:first-child {
    text-align: left;
    font: 12px Verdana;
    font-weight: bold;
}

#stocks-table-fetch-body td button {
    padding: 0px 5px 0px 5px;
    font-size: 14px;
    width: 100%;
}

/* ========================================= Password Reset Page ==================================== */


/* ----- Main Section ----- */

.resetpwd-formcontainer {
    width: 50%;
    margin: 5% 25% 0% 25%;
}


/* Bordered form */

#reset-form {
    margin: 50px;
    padding: 10px;
    border: 5px solid #fff;
    border-radius: 10px;
}


/* Full-width inputs */

#reset-username,
#reset-dob,
#reset-newpassword {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* Set a style for all buttons */

#button-resetpwd-submit {
    width: 100%;
    background-color: #606060;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    margin: auto auto;
    cursor: pointer;
}


/* Add a hover effect for buttons */

button:hover {
    opacity: 0.8;
}


/* ========================================= Sort & Filter ==================================== */

.sort-arrow-asc,
.sort-arrow-desc {
    cursor: pointer;
    color: #DCDCDC
}

.sort-arrow-asc:hover,
.sort-arrow-desc:hover {
    color: #fff;
}

.filter-input {
    /* Add a search icon to input */
    background-image: url('../images/searchicon.png');
    /* Position the search icon position & size*/
    background-position: 5px 5px;
    background-size: 20px 20px;
    /* Do not repeat the icon image */
    background-repeat: no-repeat;
    /* Full-width */
    width: 100%;
    /* Increase font-size */
    font-size: 14px;
    /* Add some padding */
    padding: 5px 10px 5px 25px;
    /* Add a grey border */
    border: 1px solid #606060;
    /* Add some space below the input */
    margin-bottom: 5px
}