﻿/* #region BETWAY DEFAULT
=========================*/
body * {
    font-family: "Microsoft YaHei", "Arial","HELVETICA", "Tahoma", "sans-serif" !important;
    color: #eaeaea;
}

a,
a:hover,
a:visited,
a:active,
a:focus {
    color: #00a826
}

a.link-default {
    text-decoration: none;
}

a.link-default:hover {
    text-decoration: underline;
}

.button-default,
a.button-default {
    font-size: 40px;
    display: inline-block;
    margin: 20px 0;
    padding: 15px 15px 15px 40px;
    max-width: 60%;
    -webkit-border-top-right-radius: 2px;
    border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    border-bottom-right-radius: 2px;
    background: url("../../img/Common/Button/sport_buttonshape.png") no-repeat;
    background-position: top left;
    color: #FFFFFF;
    font-weight: bold;
}

.button-default:hover,
.button-default:active,
.button-default:visited,
.button-default:focus,
a.button-default:hover,
a.button-default:active,
a.button-default:visited,
a.button-default:focus {
    color: #FFFFFF;
    background: url("../../img/Common/Button/sport_buttonshape.png") no-repeat;
    background-position: 0 -567px;
}

@media screen and (max-width: 39.9375em) {
    .button-default,
    a.button-default {
        max-width: 100%;
        font-size: 20px;
        padding: 10px 15px 10px 40px;
    }
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .button-default,
    a.button-default {
        max-width: 100%;
    }
}

.style-cancel-button {
    background-color: #DE1B35;
}

.style-cancel-button:hover {
    background-color: #EB2842;
}

h1 {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight:bold;
}

h2 {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #FFFFFF;
    font-weight:bold;
}

h3 {
    font-size: 16px;
    font-weight: bold;
}

h3,
h4,
h5,
h6 {
    color: #2e6827;
}

input,
select {
    outline: none;
}
/* #endregion BETWAY DEFAULT */


/* #region FOUNDATION DEFAULT OVERRIDE
======================================*/
body {
    position: relative;
    overflow-x: hidden;
}

form {
    height: 100%;
}

.row.expanded .row {
    margin: 0 auto;
}

.button {
    transition: none;
}

.has-tip {
    border-bottom: none;
    cursor: auto;
}

.tooltip {
    padding-right: 10px;
    background-color: #FFFFFF;
    color: #000000;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 2px 4px 5px #121212;
    z-index: 999;
}

.tooltip::before {
    border-color: transparent transparent transparent #FFFFFF !important;
}

[type=text],
[type=password],
[type=date],
[type=datetime],
[type=datetime-local],
[type=month],
[type=week],
[type=email],
[type=number],
[type=search],
[type=tel],
[type=time],
[type=url],
[type=color],
textarea {
    padding: 0 .5rem;
}
/* #endregion FOUNDATION DEFAULT OVERRIDE */


/* #region FOUNDATION DEFAULT EXTENDED
======================================*/
.reveal.medium {
    width: 60%;
}

.reveal.full {
    top: 0 !important;
    margin-top: 0 !important;
}

.reveal.px-600 {
    width: 600px !important;
}

.reveal.px-700 {
	width: 700px ;
}

.reveal.px-800 {
	width: 800px !important;
}

.reveal.px-850 {
	width: 850px !important;
}

@media screen and (min-width: 31.9333em) and (max-width: 39.9333em) {
    .small-up-1.small-extend > .column,
    .small-up-1.small-extend > .columns {
        width: 50%;
        clear: none !important;
    }
}

@media screen and (min-width: 64em) {
    .large-up-4 > .column,
    .large-up-4 > .columns {
        clear: none !important;
    }
}

@media screen and (min-width: 80em) {
    .xlarge-up-5 > .column,
    .xlarge-up-5 > .columns {
        width: 20%;
        clear: none !important;
    }
}
/* #endregion FOUNDATION DEFAULT EXTENDED */


/* #region JQUEY UI THEME
=========================*/
.ui-datepicker {
    background-color: #CCCCCC;
}

.ui-datepicker .ui-datepicker-header {
    background-color: #000000;
    border-bottom: 3px solid #00a826;
}

.ui-datepicker .ui-datepicker-title {
    color: #FFFFFF;
}

.ui-datepicker .ui-datepicker-title select {
    height: 30px;
    padding: 0;
    border-radius: 3px;
    border-color: #000000;
    background-color: #161616;
    color: #A1A1A1;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    top: 2px;
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev span {
    width: 15px;
    height: 20px;
    background: url("../../img/common/common-sprite.png") -5px -559px no-repeat;
    background-size: 150px auto;
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover span {
    background-position: -30px -559px;
}

.ui-datepicker .ui-datepicker-next span,
.ui-datepicker .ui-datepicker-next.ui-state-disabled.ui-state-hover span {
    width: 15px;
    height: 20px;
    background: url("../../img/common/common-sprite.png") -5px -535px no-repeat;
    background-size: 150px auto;
}

.ui-datepicker .ui-datepicker-next.ui-state-hover span {
    background-position: -30px -535px;
}

.ui-datepicker thead,
.ui-datepicker tbody,
.ui-datepicker tfoot {
    border-color: #000000;
}

.ui-datepicker thead tr {
    background-color: #161616;
}

.ui-datepicker tbody tr,
.ui-datepicker tfoot tr {
    background-color: #222222;
}

.ui-datepicker th {
    color: #FFFFFF;
}

.ui-datepicker td a {
    color: #FFFFFF;
}

.ui-datepicker td a:hover {
    background-color: #333333;
}

.ui-datepicker td span {
    color: #555;
}
/* #endregion JQUEY UI THEME */


/* #region COMMON
=================*/
.cursor-pointer {
    cursor: pointer;
}

.error, label.error, span.error {
    color: red;
}

.font-small {
    font-size: 10px;
}

.word-wrap {
    word-break: break-all;
}

.word-nowrap {
    white-space: nowrap;
}

.form-inline label,
.form-inline .form-control {
    display: inline-block;
    width: 100%;
    margin: 0 5px 0 0;
    vertical-align: middle;
}

@media screen and (min-width: 40em) {
    .form-inline .form-group {
        display: inline-block;
        margin: 0;
    }

    .form-inline label,
    .form-inline .form-control {
        width: auto;
    }
}
/* #endregion COMMON */


/* #region COMMON - HEADER
==========================*/
.header-logo-th{
    background-image: url("/Assets/img/logo-th.png");
}

.header-main-body {
    position: relative;
    background-color: #111111;
    padding: 0 45px;
    height: 50px;
    transition: height 0.2s;
    z-index: 1;
}

.header-main-body .header-logo {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 5px;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    height: 100%;
    min-width: 120px;
    display: block;
    transition: 0.2s;
}

.offcanvas-left .header-main-body .header-logo {
    left: 45px;
}

@media screen and (min-width: 40em) {
    .header-main-body .header-logo {
        left: 45px;
        min-width: 180px;
    }
}

@media screen and (min-width: 64em) {
    .header-main-body, .header-main {
        height: 86px;
    }

    .header-main-body .header-logo {
        min-width: 234px;
        background-size: auto;
    }
}
/* #endregion COMMON - HEADER */


/* #region SCROLLBAR
====================*/
::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-button {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
    background: rgb(92,92,92);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background: rgb(76,76,76);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
    background: rgb(57,57,59);
}
/* #endregion SCROLLBAR */


/* #region BALANCE CONTROL
====================*/

.balance-list {
    list-style: none;
}

    .balance-list .balance-item {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .balance-list .balance-loading img {
        height: 15px;
    }

/* #endregion BALANCE CONTROL */