    a,
a:hover {
    text-decoration: none;
}

.navbar_color,
.theme_color {
    background-color:#003a58!important;
}

.indextheme_color {
    background-color:#284d79!important;
}

.notification_body{
	background-color:#a7d9f1;
}

nav ul {
    display: table;
    margin: 0 auto;
    background: transparent;
    border-radius: 5px;
}

nav ul li {
    float: left;
    border-left: 1px solid #435565;
    border-right: 1px solid #2c3f50;
    position: relative;
    list-style: none;
    line-height: 14px;
    /*font-size: 14px;*/
    font-weight: bold;
}

nav ul li:first-of-type {
    border-left: none;
}

nav ul li:last-of-type {
    border-right: none;
}

nav ul li a {
    display: block;
}

nav > ul > li > a:before {
    display: block;
    float: left;
    font-size: 20px;
    text-align: center;
    line-height: 14px;
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

nav > ul > li:first-of-type > a {
    border-radius: 5px 0 0 0;
}

nav > ul > li:last-of-type > a {
    border-radius: 0 5px 0 0;
}

nav > ul > li:hover > a:before {
    margin: 0 3px 0 -0px;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

nav > ul > li:hover > a {
    display: block;
}

nav ul li ul {
    display: block;
    position: absolute;
    border: none;
    left: 0;
    top: 200%;
    opacity: 0;
    width: 150%;
    border-radius: 0 0 5px 5px;
    background-color: #a99e9e;
    height: 50px;
    width: 100px;
}

.menu_ul {
    height: 70px !important;
}

nav ul li:last-of-type ul {
    left: -70px;
    right: 0;
}

nav ul li ul li {
    height: 0;
    padding: 0;
    font-size: 13px;
    float: none;
    border: none;
    overflow: hidden;
}

nav ul li ul li a {
    /*text-indent: -50%;*/
    opacity: 0;
}

nav ul li:hover ul {
    opacity: 1;
    top: 40px;
    padding: 5px 0;
}

nav ul li:hover ul li {
    height: 25px;
    width: 100px;
}

nav ul li:hover ul li a {
    text-indent: 0;
    opacity: 1;
}

h4 {
    color: white;
    text-align: center;
    margin-top: -15pt;
    padding-top: 5px;
}

.table_grid {
    border: 0;
    text-shadow: none;
    color: black;
    width: 100%;
    font-size: 1.05em;
}

.table_expand {
    margin-top: 8px;
    width: 100%;
}

.bgColor {
    background-color: #E9E9E9 !important;
}

.table_expand > tbody > tr > td {
    border-top: none !important;
    vertical-align: middle;
    padding: 3px;
    padding-left: 13pt;
    padding-right: 10pt;
    border-spacing: 0;
    font-size: small;
}

.table_grid > tbody > tr > td {
    border-top: none !important;
    vertical-align: middle !important;
    padding: 8px;
}

.right_td {
    text-align: right;
    margin-left: 20px;
}

.btn_width {
    width: 100%;
}

.btn_width-big {
    width: 100%;
    padding: 5vmin;
    font-size: 6vmin;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 24px;
    filter: alpha(opacity=60);
    _bottom: auto;
    _width: 100%;
    _position: absolute;
    margin-bottom: 25px;
}

.weui_dialog {
    /*OK dialog and Link dialog*/
    -webkit-user-select: none;
    position: fixed;
    z-index: 5000;
    width: 85%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FAFAFC;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}

.weui_dialog_conf_desktop {
    /*OK dialog and Link dialog*/
   -webkit-user-select: none;
    position: fixed;
    z-index: 5000;
    width: 80%;
    top: 8%;
    left: 10%;
    background-color: #FAFAFC;
    text-align: center;
    overflow: auto;
    min-height: 8em;
    height: -webkit-fill-available;
    max-height: 9em;
	border-radius:5px;
	 /* border-top-left-radius: 5px; */
    /* border-top-right-radius: 5px; */
}

.weui_dialog_conf {
	/* desktop */
	/* overflow:auto; */
	border-radius:5px;
	/* ---- */
    /*OK dialog and Link dialog*/
   -webkit-user-select: none;
    position: fixed;
    z-index: 5000;
    width: 80%;
    top: 30%;
    left: 10%;
    background-color: #FAFAFC;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.weui_dialog_nav {
    /*Navigation dialog*/
    -webkit-user-select: none;
    position: fixed;
    z-index: 5000;
    width: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #FAFAFC;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}

.weui_dialog_title {
    font-weight: 400;
    font-size: 17px;
}

.weui_dialog_bd {
    padding: 0 20px;
    font-size: 15px;
    word-wrap: break-word;
}

.weui_dialog_ft {
    position: relative;
    line-height: 42px;
    margin-top: 20px;
    font-size: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.weui_dialog_ft_conf {
    position: relative;
    margin-bottom: 0px;
    font-size: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.weui_dialog_nav_ft {
    position: relative;
    line-height: 42px;
    font-size: 17px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.weui_btn_dialog.primary {
    color: navy;
}

.weui_dialog_confirm .weui_dialog .weui_dialog_hd {
    padding: 1.2em 20px .5em;
}

.weui_dialog_confirm .weui_dialog .weui_dialog_bd {
    text-align: left;
}

.weui_dialog_ft a {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #3CC51F;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.weui_dialog_nav_ft a {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #3CC51F;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.weui_dialog_confirm .weui_dialog_ft a {
    position: relative;
}

.weui_dialog_ft a:active {
    background-color: #EEEEEE;
}

.weui_dialog_ft:after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.weui_dialog_confirm .weui_dialog_ft a:after {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    border-left: 1px solid #D5D5D6;
    color: #D5D5D6;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
}

.weui_dialog_confirm .weui_dialog_ft a:first-child:after {
    display: none;
}

.weui_mask {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}

.weui_mask_transparent {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.weui_mask_transition {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: background .3s;
    transition: background .3s;
}

#orderform td {
    padding: 8px 0px;
}

#page {
    background-color: #fff;
}


/*User Trade Dropdown */

.trade_menu_show {
    display: block;
    width: 40px;
    height: 25px;
    background-size: 60%;
    float: right;
    margin-top: 4px;
}

.trade_page_menu {
    position: absolute;
    right: 0px;
}

.trade_menu {
    background: rgba(255, 255, 255, 0.94);
    position: relative;
    width: 110px;
    top: 27px;
    left: -6px;
    height: 30px;
    font-size: 14px;
    border-radius: 6px;
    padding-right: 2px;
    padding-left: 10px;
    box-shadow: 0px 0px 12px 1px #333;
}

.order_menu {
    background: rgba(255, 255, 255, 0.94); 
    position: relative; 
    width: 110px; 
    top: 27px; 
    left: -6px; 
    height: 65px; 
    font-size: 14.5px; 
    border-radius: 6px; 
    padding-right: 2px; 
    padding-left: 10px; 
    box-shadow: 0px 0px 12px 1px #333; 
    z-index: 500; 
	/* background: rgba(165, 172, 173, 0.86); */
    /* position: absolute; */
    /* width: 260px; */
    /* right: 13em; */
    /* font-size: 14.5px; */
    /* border-radius: 6px; */
    /* padding-right: 2px; */
    /* padding-left: 10px; */
    /* box-shadow: 0px 0px 12px 1px #333; */
    /* z-index: 500; */
}

.trade_menu span {
    display: block;
    position: absolute;
    top: -11px;
    right: 12px;
    border: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.94);
    border-right: 1px solid transparent;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.order_menu span {
    display: block;
    position: absolute;
    top: -11px;
    right: 12px;
    border: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.98);
    border-right: 1px solid transparent;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

.trade_menu ul li {
    float: left;
    line-height: 32px;
}

.order_menu ul li {
    float: left;
    line-height: 25px;
}

.trade_menu ul li a {
    /*border-bottom: 1px solid rgba(204, 204, 204, 0.67);*/
    color: #333;
    text-decoration: none;
}

.order_menu ul li a {
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(204, 204, 204, 0.67);
    color: #333;
    text-decoration: none;
}

.trade_menu ul li:first-child {
    margin-top: -20px;
}

.order_menu ul li:first-child {
    margin-top: -17px; 
}

i.icon-bars.theme-blue {
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2021%2014'%3E%3Cpath%20fill%3D'%23007aff'%20d%3D'M0%2C0h2v2H0V0z%20M4%2C0h17v1H4V0z%20M0%2C6h2v2H0V6z%20M4%2C6h17v1H4V6z%20M0%2C12h2v2H0V12z%20M4%2C12h17v1H4V12z'%2F%3E%3C%2Fsvg%3E");
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: -3px
}

.input_num,
.input_decimal {
    padding-left: 0!important;
    padding-right: 0!important;
}

.field div:hover {
    overflow: visible;
}

.field {
    width: 95px;
}

.field div {
    text-align: left;
    padding-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#opInfoRow td:nth-child(1) {
    width: 28%;
    right: 0;
    padding-right:0;
    /*border: 2px solid darkred;*/
}

#opInfoRow td:nth-child(2) {
    text-align: center;
    width: 16%;
    right: 0;
    /*border: 2px solid blue;*/
}

#opInfoRow td:nth-child(3) {
    text-align: center;
    width: 25%;
    right: 0;
    /*border: 2px solid dimgrey;*/
}

#opInfoRow td:nth-child(4) {
    text-align: center;
    width: 24%;
    right: 0;
    /*border: 2px solid darkred;*/
}

#opInfoRow td:nth-child(5) {
    width: 0%;
    /*border: 2px solid darkred;*/
}

#woInfoRow td:nth-child(1) {
    width: 30%;
    padding-right: 0;
    /*border: 2px solid black;*/
}

#woInfoRow td:nth-child(2) {
    text-align: center;
    width: 30%;
    /*right: 0;*/
    /*border: 2px solid darkred;*/
}

#woInfoRow td:nth-child(4) {
    text-align: center;
    width: 20%;
    /*right: 0;*/
    /*border: 2px solid dimgrey;*/
}

#dblColumnRow td:nth-child(odd) {
    width: 20%;
}

#dblColumnRow td:nth-child(even) {
    width: 30%;
}

.tradeSummary tr td:nth-child(1) {
    width: 60%;
    padding-left: 10px;
}

.tradeSummary tr td:nth-child(2) {
    text-align: center;
    width: 40%;
}

.tradeSummary tbody tr td {
    padding-top: 3.5px!important;
    padding-bottom: 3.5px!important;
}

#body_OrderHistory #mainRow td:nth-child(2) {
    /*width:30%;*/
    /*border: 2px solid blue;*/
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#order-alert {
    background: #D7DFE1;
    color: #053855;
    text-shadow: none;
    font-size: 1em
}

#order-alert-second {
    background: rgba(227, 43, 43, 1);
    background: -moz-linear-gradient(45deg, rgba(227, 43, 43, 1) 0%, rgba(162, 137, 217, 1) 8%, rgba(112, 120, 122, 1) 100%);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(227, 43, 43, 1)), color-stop(8%, rgba(162, 137, 217, 1)), color-stop(100%, rgba(112, 120, 122, 1)));
    background: -webkit-linear-gradient(45deg, rgba(227, 43, 43, 1) 0%, rgba(162, 137, 217, 1) 8%, rgba(112, 120, 122, 1) 100%);
    background: -o-linear-gradient(45deg, rgba(227, 43, 43, 1) 0%, rgba(162, 137, 217, 1) 8%, rgba(112, 120, 122, 1) 100%);
    background: -ms-linear-gradient(45deg, rgba(227, 43, 43, 1) 0%, rgba(162, 137, 217, 1) 8%, rgba(112, 120, 122, 1) 100%);
    background: linear-gradient(45deg, rgba(227, 43, 43, 1) 0%, rgba(162, 137, 217, 1) 8%, rgba(112, 120, 122, 1) 100%);
}


/*Loader css*/

.loader {
    border: 7px solid #f3f3f3;
    /* Light grey */
    border-top: 7px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*          */


/*test for pull loading */

#eye-l,
#eye-r {
    position: absolute;
    z-index: 20;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    margin-top: 5px;
    left: 5px;
    margin-left: -5px;
    -webkit-animation: search 2s infinite;
    box-sizing: border-box;
    border: 3px solid #5ca4f2;
}

#eye-r {
    margin-left: 5px;
}

#nose {
    position: relative;
    width: 15px;
    height: 15px;
    border: 3px solid #5ca4f2;
    border-radius: 50%;
    border-top-color: transparent;
    background: white;
    top: 12px;
    left: -7px;
    -webkit-transform: rotate(35deg);
    -webkit-animation: noser 2s infinite;
}

#mouth {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5ca4f2;
    margin-top: 20px;
    float: left;
    margin-left: 3px;
    -webkit-animation: search 2s infinite;
}

#man {
    position: relative;
    width: 50px;
    height: 55px;
    border: 5px solid #5ca4f2;
    border-radius: 20%;
    margin-left: 35%;
    left: -25px;
    -webkit-animation: pop 3.8s infinite;
}

@-webkit-keyframes search {
    0%,
    100% {
        -webkit-transform: translate(0px, 0px);
    }
    60% {
        -webkit-transform: translate(32px, 0px);
    }
}

@-webkit-keyframes noser {
    0%,
    100% {
        -webkit-transform: translate(0px, 0px) rotate(35deg);
    }
    60% {
        -webkit-transform: translate(43px, 0px) rotate(-35deg);
    }
}

@-webkit-keyframes pop {
    0%,
    100% {
        -webkit-transform: translate(0px, 80px)
    }
    30%,
    60% {
        -webkit-transform: translate(0px, 10px)
    }
}

.normalwhite {
    font-weight: 100;
    text-align: center !important;
    color: #EEEEEE;
    width: 100%;
    font-size: 4vmin;
}

.drophead {
    border-bottom: 1px solid #053855;
    background-color: #D7DFE1;
    color: #053855;
    padding: 0.5em;
    font-size: 1.1em;
    cursor: default;
    width: 100%;
    font-family: sans-serif;
    border-radius: 1.1em;
}

.dropdown {
    background:#F8FCFF;
    margin-left: 15%;
    margin-right: 15%;
    font-family: sans-serif;
    font-size: 1em;
    width: auto;
    box-shadow: 10px 10px 12px -10px rgba(0, 0, 0, 0.34);
    min-width: 70%;
    border: #F3F3F5 solid 1px;
    z-index: 2000;
}

.dropdown tr{
	cursor: pointer;
}

#nav_drophead{
	cursor: default;
}

.dropdown-content {
    z-index: 1;
    font-size: 1.1em;
    color: #053855;
    border-bottom: lightgrey solid 0.2px
}

.dropdown-content tr {
    background-color: #fafafa;
    color: #06C1F3;
    padding: 0.25em;
}

.dropdown-content td:hover {
    background-color: #ebeff0;
    color: Black;
}

.dropdown:hover .dropdown-content {}

.dropdown:hover .dropbtn {
    background-color: #EBEBEC;
}

.dropdown tbody tr td {
    padding: 16px;
}

.primary {
    width: 50%;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    color: #FFFFFF !important;
    font-weight: bold;
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);*/
    background-color: #003A58;
    text-shadow: 1px 1px #003A58;
    font-size: 1em;
    border-bottom-right-radius: 5px;
}

.primary:hover {
    background-color: #006195;
    color: #FFFFFF;
    text-shadow: 1px 1px #006195;
    text-decoration: none;
}

.primaryGr {
    width: 50%;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    color: #FFFFFF !important;
    font-weight: bold;
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);*/
    background-color: #464646;
    text-shadow: 1px 1px #003A58;
    font-size: 1em;
    border-bottom-left-radius: 5px;
}

.primaryGr:hover {
    background-color: #555555;
    color: #FFFFFF;
    text-shadow: 1px 1px #006195;
    text-decoration: none;
}

.primaryFull {
    width: 100%;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    color: #FFFFFF !important;
    font-weight: bold;
    /*box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);*/
    background-color: #003A58;
    text-shadow: 1px 1px #003A58;
	font-size: 1em;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.primaryFull:hover {
    background-color: #006195;
    color: #FFFFFF;
    text-shadow: 1px 1px #006195;
    text-decoration: none;
}

@media only screen and (max-width: 380px) {
    .drophead {
        font-size: 0.9em;
    }
    .dropdown-content {
        font-size: 0.9em;
    }
    .dropdown tbody tr td {
        padding: 14px;
    }
	
	.table_grid {
        font-size: 0.95em;
    }
	
}

@media only screen and (min-width: 580px) {
	.weui_dialog_conf {
		width:50%;
		left:26%
	}
}

@media only screen and (min-width: 900px) and (min-height: 700px){

    .table_grid {
        font-size: 2vmin;
    }
	
	.notification_body{
		width:50%;
		left:26%;
	}
	
}

.redirectorder_placement{
	cursor: pointer;
}


	
[data-role="header"] > h1{
	font-size:15pt!important;
}

/* width */

     ::-webkit-scrollbar {
		width:15px;
        height: 5%;
		
    }
    /* Track */

     ::-webkit-scrollbar-track {
        background: #00273b;
    }
    /* Handle */

     ::-webkit-scrollbar-thumb {
        background: #7c7777;
		border: solid black 0px;
	}
    }
    /* Handle on hover */

     ::-webkit-scrollbar-thumb:hover {
        background: #684c4c;
    }
