a {
	color:black;
	text-decoration: none;
}
.positive_num {
	color: #fe5f5f;
}
.negative_num {
	color: #007cd2;
}
.neutral_num {
	color: #333;
}
.border_box {
	width: 95%;
	margin: 0 auto;
	background: #fff;
	border: 2px solid #ccc;
	box-sizing: border-box;
}

.row_border_top {
	margin: 0 auto;
	background: #fff;
	border-top: 1px solid #ccc;
	box-sizing: border-box;
}
.row_border_bottom {
	margin: 0 auto;
	background: #fff;
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
}
.row_border_left {
	margin: 0 auto;
	background: #fff;
	border-left: 1px solid #ccc;
	box-sizing: border-box;
}
.row_border_right {
	margin: 0 auto;
	background: #fff;
	border-right: 1px solid #ccc;
	box-sizing: border-box;
}

.tbl_txt_largest {
	font-size: 40px;
}
.tbl_txt_large {
	font-size: 22px;
}
.tbl_txt_middle {
	font-size: 16px;
}
.tbl_txt_small {
	font-size: 12px;
}
.btn {
	margin: 3px 3px 10px;
}

.bg_gray {
	background-color: #f3f3f3;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#content_body {
	overflow-y: auto;
	height: 460px;
}

@media screen and (min-height: 640px) and (max-device-width: 768px) {
	#content_body {
		overflow-y: auto;
		height: 530px;
	}
}

@media screen and (min-height: 768px) and (max-device-width: 1024px) {
	#content_body {
		overflow-y: auto;
		height: 730px;
	}
}

@media screen and (min-height: 1024px) {
	#content_body {
		overflow-y: auto;
		height: 1020px;
	}
}
			
li.on_mm, li.on_sm {
	float: left;	/* case not support grid */
	font-size: 15px;
	text-align: center;
	font-weight: bold;
	color: #1777cb;
	padding: 6px 0px 4px 0px;
	border-bottom: 2px solid #1777cb;
}

li.mm, li.sm {
	float: left;	/* case not support grid */
	font-size: 15px;
	text-align: center;
	padding: 6px 0px 6px 0px;
}

#app_name {
	font-weight: bold;
	margin: 0px;
	padding: 6px;
	text-align: center;
	border-bottom: 1px solid gray;
}

#main_menu>.grid_menu {
	margin: 0px;
	display: block;
	list-style: none;
	padding-left: 0px;
	border-bottom: 1px solid gray;
}

#sub_menu>.grid_menu {
	margin: 0px;
	display: block;
	list-style: none;
	padding-left: 0px;
	border-bottom: 1px solid gray;
}

.footer {
	padding-left: 10px;
	font-size: 8px;
 	display: block; color: #666;
 	list-style: none;
}

div.intro_grid, div.subscribe_grid {
	display: grid; grid-template-columns: 88px 1fr;
}

div.intro_explain, div.subscribe_explain {
	border-left: 1px solid gray;
	margin: 5px 0px 5px 0px; 
	padding: 5px 0px 5px 5px;
}

h4.intro_title, h4.subscribe_title {
	margin: 20px 10px 10px 10px;
}

ul.intro, ul.subscribe {
	padding: 0px 10px 0px 10px;
	font-size: 12px;
	list-style: none; 
}

table.admtable {
	border-collapse:collapse;
} 

table.admtable th, table.admtable td {
	border:1px solid #ccc;
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}