/* BASIC */

html {
  /*background-color: #56baed;*/
}

body {
  font-family: "Poppins", sans-serif;
}

a {
  color: #92badd;
  display:inline-block;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display:inline-block;
  margin: 40px 8px 10px 8px; 
  color: #cccccc;
}
.list_table{
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}
.list_table li{
  list-style: none;
  display: inline-block;
  vertical-align: top;
}
.list_table td{
  padding: 3px;
}


/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

input[type=button], input[type=submit], input[type=reset]  {
  background-color: #56baed;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover  {
  background-color: #39ace7;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text],input[type=password],textarea,select {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px; 
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px; 
  width: 85%; 
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus,input[type=password]:focus,textarea:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text]:placeholder {
  color: #cccccc;
}


/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}

.log_icon{
  font-size: 80px;
  color: #62a0fe;
}
.log_title{
  font-size: 30px;
  margin-top: 10px;
}
.fadeInDown input{
  border-radius: 27px;
  border: 1px solid #e8e6e6;
}


h1{
    color:#60a0ff;
}

/* OTHERS */

*:focus {
    outline: none;
} 

#icon {
  width:30%;
}
.navbar {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    font-weight: 300;
    background-color: #f6faeb!important
}
.navbar-inverse {
    border:none;
}
.navbar-inverse .navbar-brand {
    color: rgba(0,0,0,.9);
}
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
    color: #6f6c6c;
    background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: rgba(0,0,0,.9);
    background-color: #a7cff1; 
}
.navbar-inverse .navbar-nav > li > a {
    color: rgba(0,0,0,.9);
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
  color: #070348;
}

.card {
   margin-bottom: 1.5rem;
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #c8ced3;
  border-radius: 0.25rem;
}
.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: #f0f3f5;
  border-bottom: 1px solid #c8ced3;
}
.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}
.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}
.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: #f0f3f5;
  border-top: 1px solid #c8ced3;
}
.col-form-label {
  text-align: right;
  padding-top: calc(1.375rem + 1px);
  padding-bottom: calc(1.375rem + 1px); 
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
}
.addUser i{
  font-size: 1.7em;
}
.addUser td a{
  display: inline-block;
  margin-left: 5px;
}
.addUser .fa-minus-circle{
  color:#f12626;
}
.addUser .fa-edit{
  color:#397988;
}
.addUser .fa-toggle-on{
  color:#4cae4c;
}
.addUser .fa-power-off{
  color:#f12626;
}
.addUser .form-check{
  padding: 1.375rem .75rem;
}
.label_post{
  background: #ccc !important;
  border-radius: 0 !important;
  text-transform: uppercase;
}
#entry{
  padding: 0px 15px 0 15px;
}
.l_input{
    font-size: 14px;
    text-align: center;
}

.tbl_number th{
  background: #ccc;
  text-align: center;

}
.tbl_number .space{
  background: #fff;
}
#entry{
  
}
#entry ul{
  overflow-x: auto;
  width: 2400px;
  max-height: 1400px;
  padding: 0;
  margin: 0;
}
#entry ul li{
  list-style: none;
  display: inline-block;
  margin-right: 10px;
  vertical-align: top;
  text-align: center;
}
#entry ul li span{
  color:red;
  font-size: 14px;
  font-weight: bold;
}
.entry_head{
  margin: 0 0 15px 0;
  padding: 0;
}
.entry_head li{
  display: inline-block;
  list-style: none;
  margin-right: 10px;
  vertical-align: top;
  text-align: center;
}
.entry_head li a{
  color: #0d0d0d;
  font-style: 16px;
  font-weight: bold;
}
.invalid_input{
  background: #f12626;
}
.invalid_input th{
  background: #f12626;
}
.entry_head li input{
  display: inline-block;
  border: 1px solid #ccc;
}
.entry_head li select{
  /*margin: 5px 10px;*/
  min-width: 80px;    }
.entry_head .s_label{
  line-height: 44px;
    font-size: 14px;
    font-weight: bold;
}
.entry_head a{
  height: 34px;
    display: block;
    background: #ccc;
    margin-top: 5px;
    padding: 0 10px;
    line-height: 34px;
    border-radius: 3px;
    text-decoration: none;
}
#show_more i{
  vertical-align: middle;
}
#kh_modal .modal-dialog,#kh_modal_new .modal-dialog,#LPM_modal .modal-dialog,#TN_modal .modal-dialog,#all_modal .modal-dialog{
  max-width: 1024px;
}
#kh_modal .kh_result_input,#kh_modal_new .kh_result_input,#LPM_modal .kh_result_input,#TN_modal .kh_result_input,#THAI_modal .kh_result_input,#all_modal .kh_result_input{
  width: 200px;
  background-color: #fff;
  border:1px solid #ccc;
  
}
.red{
  color:red !important;
}
.flex-column{
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}
.list-lo{
  text-align: center;
}
.list-lo li{
  list-style: none;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}
.kh_btn_rulst{
  font-size: 14px;
  vertical-align: middle;
}
#select_time,#select_time_new,#lpm_select_time,#tn_select_time,#thai_select_time,#lottery_type,#period_all{
  width: 200px;
  display: inline-block;
}
.lottery_share{
  padding: 0;
  margin: 0;
}
.lottery_share li{
  list-style: none;
  display: block;
}
.lottery_share li input,.lottery_share li .checkbox,.lottery_share li label{
  display: inline-block;
}
.lottery_share li .checkbox{
  margin-right: 10px;
}
.lottery_share li label input{
  max-width: 100px;
}
#views_modal table td{
  height: 30px;
}

.table_total td{
  color:#000;
}
.table_total th{
  text-align: center;
}
.table_total span{
  font-weight: bold;
  color:#000;
  float: right;
}
.table_total b{
  text-align: left;
  color:red;
}
.table_detail td{
  font-weight: bold;
  font-size: 16px;
}
table td.color_loss{
  color:red !important;
}
#btn_print{
  background: #337ab7;
  color: #fff

}

/*==========Tab========*/

#profile{
  padding: 10px;
}
form .ctl-border{
  border: 1px solid #ccc !important;
}
.nav-link{
  color:#000;
  font-weight: bold;
}
#cancel{
  color:red;
}
.group_search{
  width: 50%;


}
.group_search input{
  width: 200px !important;
  position: relative;
  display: block;
}

.ul_search{
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 3px;
    position: absolute;
    left: 19px;
    top: 40px;
    width: 200px;
    display: none;
}
.ul_search li{
  list-style: none;
}
.ul_search li a{
  display: block;
  padding: 5px;
  border-bottom: 1px solid #ccc;
  color:#000;
  text-decoration: none;
}

.wrap-confuse{
  width: 40%;
  margin: 0 auto;
}
#save_mobile{
  position: fixed;
  bottom: 15px;
  right: 15px;

}
#confuse_form .checkbox{
  display: inline-block;
  border: 1px solid #ccc;
  padding: 3px;
}

.event_luy{
  cursor: pointer;
}
.event_luy:hover{
  background: #22dada;
}
