/* GLOBAL **************************************************************************************************************************************/
body, a, input {
    font-family: Arial, Verdana;
    font-size: 12px;
    color:#fff;
    margin:0px;
    -webkit-font-smoothing: antialiased !important;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

html, body {
    height:90%;
    min-height:90%;
}
.global-site {
    background: url(/img/background.png) #2c3087 no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.flash {
    padding:15px;
    border-radius: 4px;
    border:1px solid transparent;
}
.flash.alert-success {
    background-color: #E8F5E9;
    border-color: #4CAF50;
    color: #43A047;
}
.flash.alert-info {
    background-color: #E0F7FA;
    border-color: #00BCD4;
    color: #00838F;
}
.flash.alert-warning {
    background-color: #FFF3E0;
    border-color: #FF9800;
    color: #EF6C00;
}
.flash.alert-error {
    background-color: #FBE9E7;
    border-color: #FF5722;
    color: #D84315;
}
.header-row td {
    background: #f7f7f7;
}

.text-tooltip {
    padding: 5px 0 0 0;
    color: rgb(0,0,0,0.6);
}

/* HEAD **************************************************************************************************************************************/
#header {
    position: fixed;
    top: 0px;
    margin: auto;
    background: #0921a9;
    z-index: 50;
    width: 100%;
    height: 30px;
    padding-top: 10px;
}

#header, #header a {
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
}
#header img {
    margin-top:-5px;
    padding-right:10px;
}
#header span, #footer span {
    color:#ed1c24;
    padding:0px 10px;
}
#head-right {
    float:right;
    padding-right:10px;
}

/* BODY **************************************************************************************************************************************/
#container {
    min-height:100%;
    margin-bottom:-50px;
    margin-top:40px;
}
#container:after {
    content: "";
    display: block;
}

#colorbox {
    z-index: 999 !important;
}

.ui-jqgrid {
    z-index: 50 !important;
}

.confirmDialog, .alertDialog {display:none;}
input[type="text"], input[type="number"], input[type="password"], select {
    padding:5px 3px;
    border:1px solid #ed1c24;
    background: #fff;
    color:#000;
    width:90%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
input.small-field, select.small-field {
    width:30% !important;
}
input.medium-field {
    width:60% !important;
}
input {
    -webkit-appearance: none;
    -webkit-border-radius:0;
    border-radius:0;
}
input[type="radio"] {
    -webkit-appearance: radio;
    margin-right: 5px;
}

input[type="submit"], input[type="button"] {
    background: #ed1c24;
    color:#fff;
    padding:5px 10px;
    margin:1px 0;
    border:0px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    text-transform: lowercase;
}


.content-left {
    width:560px;
    float:left;
    margin-left:88px;
    margin-top:50px;
    margin-bottom:100px;
    padding-bottom: 100px;
}

.content-right {
    padding:10px;
    width:160px;
    float:right;
    background: #222;
    color:#fff;
    height: 100%;
    overflow-y:scroll;
    margin-top:40px;
}

.data-table {
    width:100%;
}
.data-table td {
    padding:1px;
    border: 1px dotted #ccc;
    border-collapse: collapse;
}
.data-table th {
    padding:1px;
    border: 1px dotted #ccc;
    border-collapse: collapse;
    text-align: left;
}

.info-table {
    width:100%;
    border:1px solid #ccc;
}
.info-table th {
    background: #58595c;
    color: #fff;
}
.info-table td {
    vertical-align: top;
}
.info-table tr:nth-child(even) {
    background: #f3f5f5;
}
.info-table.left th {
    text-align: left;
}
.info-table.left td {
    text-align: left;
}

.login-table .submit-td {
    padding-right:10% !important;

}
.submit-td {
    text-align: right;
    padding-right:2% !important;
}
.form-table {
    width:85%;
}
.form-table td {
    padding:4px;
}
td.message-row {
    background:#ed1c24;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
td.success-row {
    background: greenyellow !important;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
.no-padding td {
    padding:0;
}
p.error-message {
    font-weight: bold;
}
.underlined td {
    border-bottom: 1px dotted #ed1c24;
}
div.red-line {
    margin-top:20px;
    width:80%;
    margin-left:auto;
    margin-right:auto;
    height:5px;
    line-height: 5px;
    font-size:5px;
    background:#ed1c24;
}
div.success-block {
    text-align: center;
}
div.token {
    width:300px;
    margin:10px auto;
    text-align: left;
}

.kyc-notice p {
    margin:0;
    line-height: 20px;
}
.kyc-notice ul {
    margin:0;
}

/* FOOTER **************************************************************************************************************************************/

#footer {
    position:fixed;
    left:0px;
    bottom:0px;
    height:40px;
    width:100%;
    background:#0921a9;
    margin: auto;
}

#foot-left {
    padding-top:10px;
    padding-left:10px;
    float:left;
}

#foot-right {
    float:right;
    padding-right:10px;
    padding-top:5px;
    font-size:10px;
}

#foot-right em {
    padding-right:5px;
}

#left-logo {
    float:left;
}

.content-right h4 {
    margin:0px;
    color: #fff;
    font-size: 16px;
    padding-left: 37px;
    background: url(/img/bell.png) 7px 12px no-repeat #000;
    line-height: 45px;
    font-weight: normal;
    position: fixed;
    top: 40px;
    right: 0px;
    width: 203px;
}

.content-right h4.new-alert {
    background: url(/img/bell.png) 7px 12px no-repeat #ed1c24;
}

.red {
    color:#ed1c24;
}

#sys-status {
    color:green;
}

#notification-list span.timestamp {
    float:right;
}


#notification-list ul li a {
    text-decoration: none;
}

#notification-list ul li.more {
    padding:5px;
    background: #000;
    text-align: center;
}

#notification-list {
    margin-top:40px;
}

#notification-list ul li {
    font-size:11px;
    margin-bottom:3px;
    padding:5px;
    cursor:help;
}

#notification-list ul {
    list-style-type: none;
    padding:0px;
}

#notification-list li span {
    font-size:10px;
}
#notification-list li p {
    margin:0px;
    padding:0px;
    color:#ccc;
}

.alternate {
    background: #333;
}

table.card-table {
    width:95%;
}

.menu-nav {
    list-style-type: none;
    float: left;
    margin:2px 0px 0px -32px;
}

.menu-nav li {
    display: inline;
    width: 180px;
    text-align: center;
    padding: 6px 10px;
    background: #2e41ad;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.menu-lang {
    list-style-type: none;
    float: left;
    margin: -6px 0px 0px 0px;
}
.menu-lang li a {
    font-size: 12px;
}
.menu-lang li img {
    height:15px;
}

#footer .menu-nav {
    padding-top:10px;
}

.menu-nav li a {
    text-decoration: none;
}

table.card-table {
    background: #f7f7f7;
    width:95%;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.card-table thead td {
    border-bottom: 1px dotted #000 !important;
    padding:4px;
}
.card-table thead td h3 {
    margin:0px;
}

.card-table tbody td {
    vertical-align: top;
}
.card-table tfoot td {
    border-top: 1px dotted #000 !important;
    padding:4px;
}

div.round-white {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background: #fff;
    padding:5px;
    width:70px;
}

div.splash-container {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 2px solid #fff;
    width: 40%;
    padding:5px;
    float:left;
    margin:5px;
    height:180px;
}

div.splash-container h2 {
    margin:0px 0px 10px 0px
}

div.splash-container .form-table {
    width:100% !important;
}

.disabled {
    background: #ccc !important;
}


.no-print {
    padding-top:20px;
    padding-left:20px;
}

@media print  {
    .no-print, .no-print * {
        display: none !important;
    }
}
div.admin-splash {
    background: #2e41ad;
}

#InsuranceBirthDateDay, #InsuranceOwnerBirthDateDay {
    width: 50px !important;
    margin-right: 5px;
}

#InsuranceBirthDateMonth, #InsuranceOwnerBirthDateMonth {
    width: 100px !important;
    margin-right: 5px;
    margin-left: 5px;
}

#InsuranceBirthDateYear, #InsuranceYearManufactureYear, #InsuranceOwnerBirthDateYear {
    width: 80px !important;
    margin-left: 5px;
}

.popup-content {
    margin:0px !important;
    padding: 10px !important;
    width: 420px !important;
    color:#000;
}

.grey {
    background-color: #f7f7f7 !important;
    border: 1px solid #ccc !important;
}

.warning-button {
    background:#cc0000 !important;
    color:#fff !important;
}

.popup-table td {
    padding:5px;
    vertical-align: top;
}

.button-checked {
    border:2px solid red !important;
}

#replaceable th, #pg-left table th {
    text-align: left !important;
}

div.spacer {margin:10px;}

.cake-debug-output {
    margin-top:60px;
    background:#000;
    color:red;
    padding:10px;
}
.cake-error, .cake-error a {
    background:#000;
    color:red !important;
    padding:10px;
}
.paging span {
    margin-right: 10px;
}
.view dl {
    width: 350px;
}
.view dl dt { float:left; width: 150px; }
.view dl dd { clear:right; margin-bottom:5px; }

.greytd {
    background: #ddd;
}

.ajax_spinner {
    background: #666;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    left:0;
    top:0;
    display: none;
}
.ajax_spinner img {
    position: relative;
    top:49%;
    left:49%;
    width: 25px;
    height: 25px;
}
.ajax_spinner span {
    position: relative;
    top:50%;
    display: block;
    text-align: center;
}

/* LOTTO **************************************************************************************************************************************/
.form-table .lotto {
    width:100%;
}

.lotto_board {
    width:100%;
    display: block;
    padding: 10px 0;
}
.lotto_board div {
    padding:0 5px;
    display:inline-block;
}
.lotto_board .boardnum {
    width:10px;
}
.lotto_board .boardnumbers {
    position: relative;
}
.lotto_board .boardoptions {
}

.lotto_board .number input[type="text"] {
    text-align: center;
    min-width: 20px;
    max-width: 20px;
}
.lotto_board .options_sp {
    position: absolute;
    left:0;
    width:100%;
    text-align: center;
}

.lotto_add {
    text-align: center;
}
#btnAddBoard {
    width:80%;
    background: #5cb85c !important;
}
input[type="button"].btnRemoveBoard {
    background: #d9534f !important;
    padding:0 5px;
}
/* DS added 20180517 */
input[type="submit"], input[type="button"] {
    background-color: #000;
    color: #fff !important;
}


#tdCostMsg {
    font-weight: bold;
    text-align: right;
}

.lotto_board_dialog {
    width:100%;
}

.lotto_board_dialog #dialog_msg {
    width:100%;
    color:red;
    text-align: center;
}

.lotto_board_dialog #lotto_form {
}

.lotto_board_dialog .pick_number_row {
    display: block;
}

.lotto_board_dialog .pick_number {
    position: relative;
    display: inline-block;
    margin:5px;
    color:#9b9b9b;
    min-width:30px;
}

.lotto_board_dialog .pick_number input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    top:0;
    left:0;
    line-height: 30px;
    margin: 0;
    width:100%;
    height: 100%;
}

.lotto_board_dialog .pick_number label {
    width:42px;
    height: 42px;
    line-height: 42px;
    font-size: 24px !important;

    cursor: pointer;
    display: block;
    max-width: 100%;
    margin-bottom:0;
    border-radius: 50%;
    border:2px solid #b1b3b4;
    text-align: center;
    color:#9b9b9b;
}

.lotto_board_dialog .pick_number.picked label {
    color:#ffffff;
    text-shadow: 2px 2px 3px #747d7d;
}
.lotto_board_dialog .pick_number.picked .white-ball {
    background:#ffffff;
    color:#ffffff;
    text-shadow: 1px 1px 4px #747d7d;
}
.lotto_board_dialog .pick_number.picked .blue-ball {background:#499bea;}
.lotto_board_dialog .pick_number.picked .pink-ball {background:#ff0066;}
.lotto_board_dialog .pick_number.picked .green-ball {background:#66cc33;}
.lotto_board_dialog .pick_number.picked .yellow-ball {background:#ffcc00;}
.lotto_board_dialog .pick_number.picked .purple-ball {background:#990099;}

.lottoReceipt {width:100%; text-align: left; padding-bottom: 15px; border-top: 1px dashed #000;}
.lottoReceipt .title {font-weight: bold; margin-top:10px;}
.lottoReceipt .info {}
.lottoReceipt .lottoNums {width:100%;}
.lottoReceipt .lottoNums .lottoNum {
    width:15px;
    display: inline-block;
    padding:0 3px;
    text-align: center;
}

/*** LOTTO (end) ***/

