﻿body {
    background-color: #000;
    color: #fff;
    font-family: 'Open Sans';
}
.container-fluid {
    max-width: 1900px;
	padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}
.header {
    background: url(../images/LogoThaiBMA-13.png) no-repeat;
    height: 76px;
}
.footer {
    border-top: 1px solid #808080;
    text-align: center;
    font-size: 0.8em;
    color: #808080;
    background-color: #000;
}

.page-title {
     text-align: left;
    vertical-align: middle;
   
    font-size: 34px;
    font-weight: 600;
    /* text-shadow: 2px 2px 1px rgba(150, 150, 150, 1); */
    font-family: "open sans";
    /* text-transform: uppercase; */
    color: #ffbf60;
}
.last-updated, .prev-asof {
    text-align: left;
}
.chart {
    border: 0px solid #808080;
    min-height: 260px;
	font-family: "open sans" !important;
    
}
 div.k-chart {
    background-color: #2f2f2fb0;
    border-radius: 20px;
   /* margin: 20px;*/
 padding: 20px;}
.k-chart text {
 font-family: "open sans" !important;
 /*font-size: 15px !important;*/
}
.no-chart {
    border: 1px solid #000;
    min-height: 260px;
}
#main {
    margin-top: 0px;
    margin-bottom: 20px;
}
#main .row {
    margin: 2px 0;
}
#main .row > div {
    padding: 2px;
}

 .custom-overlay {
    min-height: 200px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .2;
    filter: alpha(opacity=60); 
    background-color: black;
    font-size: 34px;
}
#message{
    position: absolute; left: 40%; top: 40%;
    color:whitesmoke;
    
   
}

/* The sidepanel menu */
.sidepanel {
  height: 250px; /* Specify a height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  /*top: 50px;*/
  right: 0;
  background-color: #111; /* Black*/
  overflow: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */  
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
  padding-left:10px;
}

/* The sidepanel links */
.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  font-size: 20px;
    cursor: pointer;
    background-color: #8a5015;
    color: #fffffe;
    /* padding: 10px 15px; */
    border: none;
}

.openbtn:hover,.openbtn:active ,.openbtn:focus{
   font-size: 20px;
    cursor: pointer;
   background-color: #65390c;
    color: #ecb143;
    border: none;
}

/*Style the switch button*/
.onoffswitch {
    position: relative; width: 90px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #F08469; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "20";
    padding-left: 10px;
    background-color: #F0AD4E; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "MAX";
    padding-right: 10px;
    background-color: #EEEEEE; color: #6B6666;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #F08469; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

/* Bootstrap Select */
/*.bootstrap-select .dropdown-menu {
    background-color: #e5e5e5;
}
.bootstrap-select .dropdown-menu.openright::after {
    border-bottom-color: #434343 !important;
}
.bootstrap-select .dropdown-menu .ranges {
    padding: 0 !important;
    margin: 0 !important;
}
.bootstrap-select .dropdown-menu li a {
    color: #333;
}
.bootstrap-select .dropdown-menu > li > a:focus, 
.bootstrap-select .dropdown-menu > li > a:hover {
    background-color: #b2b2b2;
    color: #000;
}
.bootstrap-select .btn-default {
    border-color: #808080;
    background-color: #ccc;
    color: #000;
}
.bootstrap-select .btn-default.active, 
.bootstrap-select .btn-default:active, 
.bootstrap-select.open > .dropdown-toggle.btn-default {
    background-color: #ccc !important;
    color: #000 !important;
}*/
.bootstrap-select .dropdown-menu {
    background-color: #434343;
}
.bootstrap-select .dropdown-menu.openright::after {
    border-bottom-color: #434343 !important;
}
.bootstrap-select .dropdown-menu .ranges {
    padding: 0 !important;
    margin: 0 !important;
}
.bootstrap-select .dropdown-menu li a {
    color: #ADADAD;
}
.bootstrap-select .dropdown-menu > li > a:focus, 
.bootstrap-select .dropdown-menu > li > a:hover {
    background-color: #212121;
    color: #ffffff;
}
.bootstrap-select .btn-default {
    border-color: #727272;
    background-color: #434343;
    color: #ADADAD;
}
.bootstrap-select .btn-default.active, 
.bootstrap-select .btn-default:active, 
.bootstrap-select.open > .dropdown-toggle.btn-default {
    background-color: #212121 !important;
    color: #ffffff !important;
}


.topline01{text-align: right;
    font-size: 18px;
    /* font-family: "kanit"; */
    font-weight: 400;
    background-color:  #1b1b1bc2;
    padding: 3px 5px;
    margin: 10px 0px !important;
    border-radius: 20px;}
	
.toplineright{text-align: right;padding-top: 6px;}
.toplineleft{text-align: left;}
label {
font-weight: 600;}
	
.img-logo {
 max-height: 60px;  /* */
}
.btn[disabled]{
      color: #fff;
    background-color: #b55c01;
    border-color: #8c4101;
    font-size: 18px;
    /* text-indent: 10px; */
    letter-spacing: 1.15px;
    font-weight: 600;
	cursor: unset;
    box-shadow: none;
    opacity: 1;
}
.btn[disabled]:hover{
      color: #fff;
    background-color: #b55c01;
    border-color: #8c4101;
    font-size: 18px;
    /* text-indent: 10px; */
    letter-spacing: 1.15px;
    font-weight: 600;
	cursor: unset;
    box-shadow: none;
    opacity: 1;
}
.btn-warning {
       background-color: #7b7b7b;
    color: #ffffff;
    border: 1px solid #424242;
    font-size: 18px;
    /* text-indent: 10px; */
    letter-spacing: 1.15px;
    font-weight: 600;
}
input[type=checkbox]{
margin: 3px 0px 0px 15px;}
input[type="checkbox" i] {
    background-color: #0073d6;
}
.k-tooltip,.k-chart-tooltip
{
     font-weight:700;
}
.navbar-nav>li {
    float: left;font-weight: 600;
}


/* Styling Checkbox Starts */
.checkbox-label {
    display: inline-block;
    position: relative;
    margin: auto;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    height: 24px;
    width: 200px;
    clear: both;
    text-align: left;
    padding-left: 24px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label .checkbox-custom {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border-radius: 5px;
  	transition: all 0.3s ease-out;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-ms-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
    border: 2px solid #FFFFFF;
}


.checkbox-label input:checked ~ .checkbox-custom {
    background-color: #FFFFFF;
    border-radius: 5px;
    -webkit-transform: rotate(0deg) scale(1);
    -ms-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
    opacity:1;
    border: 2px solid #FFFFFF;
}

.checkbox-label .checkbox-custom::after {
    position: absolute;
    content: "";
    left: 12px;
    top: 12px;
    height: 0px;
    width: 0px;
    border-radius: 5px;
    border: solid #009BFF;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(0deg) scale(0);
    -ms-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
    opacity:1;
  	transition: all 0.3s ease-out;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-ms-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
}



.checkbox-label input:checked ~ .checkbox-custom::after {
  -webkit-transform: rotate(45deg) scale(1);
  -ms-transform: rotate(45deg) scale(1);
  transform: rotate(45deg) scale(1);
  opacity:1;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #009BFF;
  border-width: 0 2px 2px 0;
  background-color: transparent;
  border-radius: 0;
}



/* For Ripple Effect */
.checkbox-label .checkbox-custom::before {
    position: absolute;
    content: "";
    left: 10px;
    top: 10px;
    width: 0px;
    height: 0px;
    border-radius: 5px;
    border: 2px solid #FFFFFF;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);	
}

.checkbox-label input:checked ~ .checkbox-custom::before {
    left: -3px;
    top: -3px;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    -webkit-transform: scale(3);
    -ms-transform: scale(3);
    transform: scale(3);
    opacity:0;
    z-index: 999;
    transition: all 0.3s ease-out;
  	-webkit-transition: all 0.3s ease-out;
  	-moz-transition: all 0.3s ease-out;
  	-ms-transition: all 0.3s ease-out;
  	-o-transition: all 0.3s ease-out;
}

/* Style for Circular Checkbox */
.checkbox-label .checkbox-custom.circular {
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.checkbox-label input:checked ~ .checkbox-custom.circular {
    background-color: #FFFFFF;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}
.checkbox-label input:checked ~ .checkbox-custom.circular::after {
    border: solid #0067FF;
    border-width: 0 2px 2px 0;
}
.checkbox-label .checkbox-custom.circular::after {
    border-radius: 50%;
}

.checkbox-label .checkbox-custom.circular::before {
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.checkbox-label input:checked ~ .checkbox-custom.circular::before {
    border-radius: 50%;
}

/*========== BOOTSTRAP ==========*/
/* http://getbootstrap.com/css/#grid */
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
@media only screen and (max-width: 767px) {
    .page-title {
           font-size: 1.75em;
    line-height: 1.25em;
    text-align: left;
    }
}
@media only screen and (min-width: 669px) and (max-width: 767px) {
    .checkbox-label {
    font-size: 16px;
    line-height: 24px;
    height: 24px;
    width: 151px;
    padding-left: 24px;
}
}
/* Small devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .page-title {
        font-size: 2em;
    }
}

/* Medium devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .page-title { font-size: 2.5em;}
	.checkbox-label {font-size: 16px; line-height: 25px;height: 24px; width: 157px;}
}

/* Large devices (large desktops, 1200px and up) */
@media only screen and  (min-width: 1200px) {
.checkbox-label { width: 250px;}
}
@media only screen and (max-width: 576px) {
.toplineright {font-size: 15px;}
.checkbox-label {
    font-size: 16px;
    line-height: 33px;
    height: 22px;
    width: 165px;
    padding-left: 24px;
}
}
@media only screen and (max-width: 768px) {
.toplineleft {
    text-align: center;
    padding-top: 10px;
    padding-left: 10px;
}
.toplineright {
   
    padding-top: 9px;
}
}
@media only screen and  (max-width: 1200px) {

}

@media only screen and (max-width: 480px) {

}



        .tooltip1 {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  padding-left: 10px;/**/
  color: #fdcb80;    
  cursor: pointer;
}

.tooltip1 .tooltiptext {
    min-width: 500px;
    background-color: #efefefe8;
    color: #6f2e00;
    text-align: left;
    border-radius: 5px;
    padding: 10px 15px;
    z-index: 1;
    font-weight: 600;
    font-size: 13px;
    text-indent: 25px;
    font-style: italic;  
    visibility: hidden;
    position: absolute;

}

.tooltip1:hover .tooltiptext {
  visibility: visible;
}
.tooltip-top {
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
}

