.wrap {
	width: 100%;
	height: 100%;
}
/* ------------------------------------------------- Menu ------------------------------------------------- */
.menu {
	position: relative;
}
.menu-list {
	width: 100%;
}
.menu-list>li {
	display: block;
	border-bottom: 1px solid #343e50;
}
.menu-list>li>a {
	position: relative;
	display: block;
	color: #a5a9b1;
	font-size: 1.143em;
	font-weight: 700;
	line-height: 1.143em;
	text-align: center;
	padding: 15px 5px;
	cursor: pointer;
}
.menu-list>li>a:hover,
.menu-list>li>a:focus {
	color: #ffffff;
	background-color: #2b3548;
}
.menu-list>li.active>a {
	color: #2d65f6;
	background-color: #ffffff;
	cursor: default;
}
.menu-list>li>a>span.menu-icon {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 auto;
	margin-bottom: 10px;
	background-size: 40px 80px;
}
.menu-list>li>a>span.menu-icon.icon-1 {
	background-image: url("../images/menu-icon-01.png");
}
.menu-list>li>a>span.menu-icon.icon-2 {
	background-image: url("../images/menu-icon-02.png");
}
.menu-list>li>a>span.menu-icon.icon-3 {
	background-image: url("../images/menu-icon-03.png");
}
.menu-list>li>a>span.menu-icon.icon-4 {
	background-image: url("../images/menu-icon-04.png");
}
.menu-list>li>a>span.menu-icon.icon-5 {
	background-image: url("../images/menu-icon-05.png");
}
.menu-list>li.active>a>span.menu-icon {
	background-position-y: -40px;
}
/* ------------------------------------------------- Header ------------------------------------------------- */
.header>.home {
	float: left;
}
.header>.home>.brand {
	display: inline-block;
	padding: 0;
	margin: 0;
}
.header>.home>.brand>.img {
	height: 55px;
}
.header>.home>.brand>.img.color {
	display: none;
}
.map>.header {
	position: absolute;
	top: 0; right: 0; left: 0;
	padding: 10px 15px;
	margin: 0;
	background-image: url("../images/header-bg.png");
	background-repeat: repeat-x;
	z-index: 1001;
}
.main.weather-data .header {
	position: fixed;
	top: 0; right: 0; left: 90px;
	padding: 10px 15px;
	background-color: #ffffff;
	background-image: none;
	border-bottom: 1px solid #dddddd;
}
.main.weather-data .header>.home>.brand>.img.white {
	display: none;
}
.main.weather-data .header>.home>.brand>.img.color {
	display: inline-block;
}
.main.weather-data .header>.home>.brand>.text {
	color: #333333;
	text-shadow: none;
}
.header>.home>.brand>.text {
	color: #ffffff;
	font-size: 0.786em;
	text-shadow: 0 0 5px rgba(0,0,0,.6);
}
.header>.btn-admin {
	float: right;
	color: #666666;
	margin-top: 10px;
	border-radius: 16px;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0,.6);
}
.main.weather-data .header>.btn-admin {
	float: right;
	margin-top: 10px;
	border-radius: 16px;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	box-shadow: none;
}
.header>.btn-admin:hover,
.header>.btn-admin:focus {
	color: #2d65f6;
}
.header>.btn-admin>.text {
	margin-left: 5px;
}
.btn-menu {
	display: none;
}
/* ------------------------------------------------- Main ------------------------------------------------- */
.main {
	position: fixed;
	top: 0; bottom: 0; left: 90px;
	width: 540px;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0,.3);
	overflow-y: auto;
	transition: all 0.5s ease;
	z-index: 2;
}
.main>.container-fluid {
	padding: 15px;
}
.main.weather-data {
	top: 0; right: 0; bottom: 0; left: 90px;
	width: auto;
	box-shadow: none;
}
.main.weather-data .container-fluid {
	padding-top: 85px;
}
.main::-webkit-scrollbar {
	display: none;
}
/* ------------------------------------------------- Map ------------------------------------------------- */
.map {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 630px;
	background-color: #c4d3af;
	z-index: 1;
}
.map>#map{
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.marker {
	position: absolute;
	display: block;
	width: 30px;
	cursor: pointer;
	z-index: 2;
}
.marker:hover,
.marker:focus {
	z-index: 3;
}
/* ------------------------------------------------- Contents ------------------------------------------------- */
.station-select {
	padding-bottom: 15px;
	margin-bottom: 15px;
	border-bottom: 1px solid #dddddd;
}
.box {
	margin-bottom: 20px;
}
.box>.box-header {
	margin-bottom: 5px;
}
.box>.box-header:after {
	clear:both;
	display: block;
	content: '';
	line-height: 0;
}
.box>.box-header>.title {
	float: left;
	font-size: 1.143em;
	padding: 0;
	margin: 8px 0;
}
.box>.box-header>.title-center {
	display: block;
	font-size: 1.286em;
	text-align: center;
	padding: 0;
	margin: 20px 0;
}
.box>.box-header>.title-center>small {
	color: #999999;
}
.box>.box-body {
	position: relative;
	padding: 15px;
	border: 1px solid #a1b3d3;
	border-radius: 15px;
}
.box>.box-body .stitle {
	font-size: 1.143em;
	text-align: center;
	padding: 0;
	margin: 0 0 10px 0;
}
.box>.box-body>#forecastGrowth {
	display: flex;
	justify-content: space-between;
}
.box.bg-gray .box-body {
	background-color: #f2f2f2;
}
.box.box-card .box-body {
	padding-bottom: 0;
}
.box.box-card .card {
	padding: 10px 5px;
	margin-bottom: 15px;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 12px;
}
.box.box-card .card strong {
	display: block;
	color: #666666;
}
.box.box-card .card span {
	font-weight: 700;
}
.box.box-card .card span.full {
	color: #3fa129;
}
.box.box-card .card span.on {
	color: #2d65f6;
}

.farm-data .col-3 {
	text-align: center;
}
.farm-data .col-3 strong {
	display: block;
}




.overlayData {
	padding: 3px 10px;
	border-radius: 25px;
	width: fit-content;
	margin: 0 auto;
}
.weather-today>div {
	border-left: 1px solid #dddddd;
}
.weather-today>div:first-child {
	border-left: none;
}
.weather-today .icon,
.weather-today .temperature {
	display: inline-block;
	vertical-align: top;
}
.weather-today .icon {
	width: 60px;
	text-align: center;
}
.weather-today .icon>p {
	margin: 1px 0 0 0;
}
.weather-today .icon img {
	height: 40px;
	margin-bottom: 5px;
}
.weather-today .temperature .num {
	font-size: 2.143em;
	font-weight: 700;
	line-height: 1em;
	vertical-align: top;
	padding: 5px 0 10px 0;
	margin: 0;
}
.weather-today .temperature .text {
	margin: 0;
}
.weather-today .con {
	text-align: center;
}
.weather-today .con .title {
	display: inline-block;
	padding: 7px 0;
}
.weather-today .con .text {
	font-size: 1.286em;
	margin: 0;
}
.weather-today .con .text small {
	margin-left: 3px;
}
.weather-week .slick-slide,
.forecast-slides .slick-slide {
	height: inherit;
}
.weather-week .slick-arrow,
.forecast-slides .slick-arrow {
	cursor: pointer;
	z-index: 99;
}
.weather-week .slick-prev:before, .weather-week .slick-next:before,
.forecast-slides .slick-prev:before, .forecast-slides .slick-next:before {
	color: #2d65f6;
	cursor: pointer;
}
.weather-week .slick-next,
.forecast-slides .slick-next {
	right: -5px;
}
.weather-week .slick-prev,
.forecast-slides .slick-prev {
	left: -5px;
}
.weather-week .con,
.forecast-slides .con {
	text-align: center;
}
.weather-week .con .date,
.forecast-slides .con .date {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}
.weather-week .con .img,
.forecast-slides .con .img {
	height: 40px;
	margin: 0 auto;
	margin-bottom: 10px;
}
.weather-week .con .item {
	margin-bottom: 5px;
}
.weather-week .con .item>strong {
	display: inline-block;
	min-width: 50px;
}
.weather-week .con .item>span {
	display: inline-block;
	min-width: 60px;
	text-align: left;
}
.weather-week .con .item.min>span {
	color: #126796;
}
.weather-week .con .item.max>span {
	color: #d33732;
}
.forecast-slides .con .item.bar {
	display: block;
	font-size: 13px;
	padding: 6px 2px;
	margin: 0 5px;
	border-radius: 20px;
}
.item.bar+.item.bar {
	margin-top: 5px;
}
.forecast-title .title {
	display: block;
	color: #ffffff;
	margin-bottom: 5px;
}
.forecast-title .name {
	display: block;
	font-weight: 700;
	padding: 6px 0px;
	margin: 0;
}
.forecast-title .name+.name {
	margin-top: 5px;
}
.title-legend {
	float: right;
	margin-top: 6px;
}
.title-legend span {
	display: inline-block;
	vertical-align: middle;
}
.title-legend span.color {
	width: 12px;
	height: 12px;
	line-height: 1em;
	border-radius: 6px;
	margin-right: 3px;
}
.title-legend span.color.none {
	background-color: #dddddd;
}
.title-legend span.color.safe {
	background-color: #84cd6c;
}
.title-legend span.color.warning {
	background-color: #e9a31d;
}
.title-legend span.color.danger {
	background-color: #da3a32;
}
.title-legend span.text {
	margin-right: 15px;
}

.risk-alert .nav-pills .nav-item,
.weather-range .nav-pills .nav-item {
	margin-right: 10px;
}
.weather-select .nav-pills .nav-item {
	margin-right: 5px;
}
.risk-alert .nav-pills .nav-link,
.weather-range .nav-pills .nav-link {
	min-width: 50px;
	color: #666666;
	background-color: #eeeeee;
	border-radius: 18px;
}
.weather-select .nav-pills .nav-link {
	padding: 5px 10px;
}
.weather-range .nav-pills .nav-link {
	min-width: 90px;
}
.weather-select .nav-pills .nav-link {
	min-width: 90px;
	cursor: default;
}
.risk-alert .nav-pills .nav-link.active, .risk-alert .nav-pills .show>.nav-link,
.weather-range .nav-pills .nav-link.active, .weather-range.nav-pills .show>.nav-link {
	color: #ffffff;
	background-color: #2d65f6;
}
.weather-select .nav-pills .nav-link {
	position: relative;
	min-width: inherit;
	color: #999999;
	padding: 0;
	background-color: #ffffff;
	border-color: #ffffff;
	border-radius: 0;
}
.weather-select .nav-pills .nav-link.active, .weather-select.nav-pills .show>.nav-link {
	color: #000000;
}
.weather-select .nav-pills .nav-link.active:before {
	content: "\f0d7";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
	/*--adjust as necessary--*/
	color: #2d65f6;
	font-size: 18px;
	position: absolute;
	bottom: -15px;
	left: 45%;
}
.weather-select .nav-pills li.nav-item {
	padding-left: 10px;
	margin-right: 10px;
	border-left: 1px solid #dddddd;
}
.weather-select .nav-pills li.nav-item:first-child {
	border-left: none;
}
.weather-select .nav-pills .nav-link.active .fa {
	color: #2d65f6;
}
.weather-select .nav-pills .nav-link.receive-none {
	color: #da3a32;
}

.risk-alert .tab-pane .col-sm-4 {
	border-left: 1px solid #dddddd;
}
.risk-alert .tab-pane .col-sm-4:first-child {
	border-left: none;
}
.risk-alert .tab-pane .title {
	font-size: 1em;
	text-align: center;
	margin: 0 0 5px 0;
}
.risk-alert .tab-pane .list>li {
	margin-top: 5px;
}
.risk-alert .tab-pane .list .item {
	display: block;
	color: #666666;
	text-align: center;
	padding: 5px;
	background-color: #eeeeee;
	border: 1px solid transparent;
	border-radius: 18px;
}
.risk-alert .tab-pane .list .item.active {
	color: #2d65f6;
	background-color: #ffffff;
	border-color: #2d65f6;
}
.risk-alert .tab-pane .list .item.none {
	background-color: #eeeeee;
}
.risk-alert .tab-pane .list .item.safe {
	color: #ffffff;
	background-color: #84cd6c;
}
.risk-alert .tab-pane .list .item.warning {
	color: #ffffff;
	background-color: #e9a31d;
}
.risk-alert .tab-pane .list .item.danger {
	color: #ffffff;
	background-color: #da3a32;
}
.station-info {
	position: absolute;
	min-width: 110px;
	text-align: center;
	padding: 5px;
	background-color: rgba(255,255,255,.6);
	border: 1px solid #ffffff;
	border-radius: 15px;
	box-shadow: 0 0 5px rgba(0,0,0,.3);
	transition: all 0.3s ease;
	z-index: 3;
}
.station-info:hover {
	cursor: pointer;
	background-color: rgba(255,255,255,1);
	border: 1px solid #a0a0a0;
	z-index: 4;
}
.station-info.active {
	background-color: rgba(255,255,255,1);
	border: 1px solid #2d65f6;
	box-shadow: 0 0 5px rgba(0,0,0,.4);
	z-index: 4;
}

.station-info .title {
	font-size: 0.875em;
	font-weight: bold;
	padding: 5px 0;
}

.station-info .text.mesureDt {
	font-size: 0.75em;
	padding: 5px 0;
}

.station-info .img {
	display: block;
	height: 60px;
	margin: 0 auto;
	margin-bottom: 5px;
}
.station-info .text {
	display: block;
	font-size: 0.875em;
	text-align: left;
	margin: 0 auto;
}
.station-info .text strong {
	display: inline-block;
	min-width: 40px;
	text-align: left;
}
.station-info .text span {
	display: inline-block;
	min-width: 55px;
	text-align: right;
}
.station-info .text .min {
	color: #126796;
}
.station-info .text .max {
	color: #d33732;
}
.station-info .bar {
	font-size: 0.875em;
	white-space: nowrap;
}
.map-legend {
	position: absolute;
	bottom: 10px; left: 10px;
	font-size: 0;
	padding: 5px;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0,.3);
	z-index: 2;
}
.map-legend>.item {
	display: inline-block;
	font-size: 14px;
	line-height: 1em;
	padding: 5px 8px;
	margin: 0;
}
.map-select {
	position: absolute;
	top: 70px; right: 10px;
	text-align: center;
	padding: 5px;
	background-color: #ffffff;
	border-radius: 15px;
	box-shadow: 0 0 5px rgba(0,0,0,.3);
	z-index: 2;
}
.map-select .title {
	font-size: 1.143em;
	padding: 0;
	margin: 10px;
}
.map-select .btn-select {
	display: block;
	border-radius: 20px;
}
.map-select .btn-select:hover,
.map-select .btn-select:focus {
	background-color: #eeeeee;
}
.map-select .btn-select.active {
	color: #ffffff;
	font-weight: 700;
	background-color: #2d65f6;
}
.map-select .btn-select .fa {
	color: #c3291c;
}
.map-select .btn-select.active .fa {
	color: #ff3131;
}

.search-bar {
	padding: 5px 10px;
	margin-bottom: 15px;
	border: 1px solid #889bbe;
}
.search-bar .form-inline,
.search-bar .form-group {
	margin-bottom: 0;
}
.search-bar .form-control,
.search-bar .btn,
.search-bar .bootstrap-select.form-control>.btn,
.search-bar .dropdown-menu,
.data-select .btn {
	border-radius: 0;
}
.search-bar .form-control,
.search-bar .btn-secondary,
.data-select .btn {
	border-color: #cccccc;
}
.search-bar .btn-group .btn-primary,
.data-select .btn-group .btn-primary {
	background-color: #1d283c;
	border-color: #1d283c;
}
.search-bar .btn-group .btn:hover,
.search-bar .btn-group .btn:focus,
.data-select .btn-group .btn:hover,
.data-select .btn-group .btn:focus {
	background-color: #aaaaaa !important;
	border-color: #999999 !important;
}
.data-select .btn-secondary.disabled, .data-select .btn-secondary:disabled,
.data-select .btn-secondary.disabled:hover, .data-select .btn-secondary:disabled:hover,
.data-select .btn-secondary.disabled:focus, .data-select .btn-secondary:disabled:focus {
	color: #777777;
	border-color: #cccccc !important;
	background-color: #dddddd !important;
	cursor: no-drop;
}

.search-bar .btn-group .btn {
	min-width: 60px;
}
.search-bar .dropdown-menu {
	border-color: #222222;
}
.search-bar .dropdown-item.active, .search-bar .dropdown-item:active {
	background-color: #222222;
}
.search-bar .btn-search {
	color: #ffffff;
	background-color: #1d283c;
	border-color: #1d283c;
}
.search-bar .btn-search:hover,
.search-bar .btn-search:focus {
	color: #ffffff;
	background-color: #354e7b;
	border-color: #1d283c;
}
.data-tabs.nav-tabs {
	border-color: #889bbe;
}
.data-tabs.nav-tabs .nav-link {
	min-width: 140px;
	color: #46546f;
	margin-right: 5px;
	background-color: #c3cee3;
	border-color: #c3cee3;
	border-bottom-color: #889bbe;
	border-radius: 0;
}
.data-tabs.nav-tabs .nav-item.show .nav-link, .data-tabs.nav-tabs .nav-link.active {
	color: #000000;
	font-weight: 700;
	border-color: #889bbe;
	border-bottom-color: #ffffff;
	background-color: #ffffff;
}
.box-date {
	font-size: 1.143em;
	font-weight: 700;
	text-align: center;
}
.forecast-week .item,
.rainfall-trend .item {
	text-align: center;
	padding: 25px 5px;
	margin: 0;
	background-color: #eff3ff;
	background-size: 35%;
	background-repeat: no-repeat;
	background-position: 5px -7px;
	border-radius: 15px;
	overflow: hidden;
}
.forecast-week .item.bg-1 {
	background-image: url("../images/week-item-bg-1.png");
}
.forecast-week .item.bg-2 {
	background-image: url("../images/week-item-bg-2.png");
}
.forecast-week .item.bg-3 {
	background-image: url("../images/week-item-bg-3.png");
}
.forecast-week .item .text {
	display: block;
	margin-bottom: 5px;
}
.forecast-week .item .info {
	font-size: 1.143em;
	font-weight: 700;
}
.forecast-week .item .info.high,
.weather-range span.high {
	color: #ca2b1d;
}
.forecast-week .item .info.middleHigh,
.weather-range span.high {
	color: rgb(248, 123, 71);
}
.forecast-week .item .info.low,
.weather-range span.low {
	color: #4174f0;
}
.forecast-week .item .info.middleLow,
.weather-range span.low {
	color: rgb(39,128,137);
}
.forecast-week .item .info.similar,
.weather-range span.similar {
	color: #458c2d;
}
.rainfall-trend .item {
	padding: 10px;
	background-color: #ffffff;
	border: 1px solid #dddddd;
}
.rainfall-trend .rainfall span {
	font-size: 1.143em;
	font-weight: 700;
	padding-right: 3px;
}
.rainfall-trend .rainfall-result {
	text-align: center;
	padding: 10px 5px;
	margin: 10px 0 0 0;
	background-color: #eeeeee;
	border-radius: 12px;
}
.rainfall-trend .rainfall-result strong {
	font-size: 1.143em;
	font-weight: 700;
	padding-right: 3px;
}
.rainfall-trend .rainfall-result strong.plus {
	color: #d33732;
}
.rainfall-trend .rainfall-result strong.minus {
	color: #126796;
}

.weather-select {
	position: absolute;
	top: 10px; right: 10px;
}
.date.receive-none {
	color: #9d4841;
}
.text-kma {
	color: #666666;
	line-height: 1em;
}
.text-kma .icon {
	width: 20px;
	vertical-align: top;
	margin-left: 3px;
}

.title-sub {
	text-align: center;
	margin: 20px 0 10px 0;
}
.title-sub .title,
.title-sub .form-control {
	display: inline-block;
}
.title-sub .title {
	font-size: 1.286em;
	margin: 0 5px 0 0;
}
.title-sub:not(.input-group)>.bootstrap-select.form-control:not([class*=col-]) {
	width: inherit;
}

.map-date-select {
	position: absolute;
	top: 70px; /*right: 170px;*/
	text-align: center;
	padding: 5px;
	background-color: #ffffff;
	border-radius: 15px;
	box-shadow: 0 0 5px rgba(0,0,0,.3);
	z-index: 2;
}
.map-date-select .list>li {
	display: inline-block;
}
.map-date-select .list>li .btn {
	border-radius: 20px;
}
.map-date-select .list>li .btn:hover,
.map-date-select .list>li .btn:focus {
	background-color: #dddddd;
}
.map-date-select .list>li .btn.active {
	color: #ffffff;
	border-radius: 20px;
	background: #2d65f6;
	background: #2d65f6;
}

/*
full calendar
 */
.fc-event-title {
	width: 100%;
	text-align: center;
}

/*
c3 chart
 */
.c3-grid line {
	stroke: #DA3A32 !important;
}

label.title {
	font-weight: 700;
}

/* Data Table */
.dataTables_wrapper .dataTables_length select {
	border: 1px solid #cccccc;
	padding: .375rem .75rem;
}
.text-area {
	padding: 20px 0;
}
.text-area .loging {
	text-align: center;
}
.text-area .loging .fa {
	color: #2d65f6;
	font-size: 2.143em;
	animation: rotate_image 1s linear infinite;transform-origin: 50% 50%;
}

@keyframes rotate_image{
	100% { transform: rotate(360deg); }
}
.text-area .text {
	font-size: 1.286em;
	text-align: center;
}
.text-area .text strong {
	color: #458c2d;
	font-weight: 700;
}

/* ------------------------------------------------- Mobile ------------------------------------------------- */
@media screen and (max-width: 769px) {
	.header {
		text-align: center;
		padding: 10px 5px;
		border-bottom: 1px solid #cccccc;
	}
	.btn-menu {
		display: block;
		float: left;
		color: #2d65f6;
		font-size: 1.286em;
		margin-top: 3px;
	}
	.header>.home {
		float: inherit;
		display: inline-block;
		margin: 0 auto;
	}
	.header>.home>.brand>.img.color {
		display: block;
		height: 40px;
	}
	.header>.home>.brand>.img.white {
		display: none;
	}
	.header>.home>.brand>.text {
		display: none;
	}
	.header>.btn-admin {
		margin-top: 3px;
		margin-right: 5px;
		font-size: 1.286em;
		box-shadow: none;
	}
	.header>.btn-admin>.text {
		display: none;
	}
	.main.weather-data .header {
		left: 0;
	}
	.menu-list>li>a {
		text-align: left;
		line-height: 1em;
		padding-left: 20px;
	}
	.menu-list>li>a>span.menu-icon,
	.menu-list>li>a>span.text {
		display: inline-block;
		line-height: 1em;
		vertical-align: middle;
	}
	.menu-list>li>a>span.menu-icon {
		margin: 0 5px 0 0;
	}
	.menu-list>li>a>span>br {
		display: none;
	}
	.main {
		position: relative;
		top: inherit; bottom: inherit; left: 0;
		width: 100%;
		background-color: #ffffff;
		box-shadow: none;
		z-index: 1;
	}
	.main.weather-data {
		top: inherit; bottom: inherit; left: 0;
		width: 100%;
	}
	.main>.container-fluid {
		padding: 15px 10px;
	}
	.main.weather-data .container-fluid {
		padding-top: 75px;
	}
	.weather-today .icon {
		margin-bottom: 20px;
	}
	.risk-alert .tab-pane .title {
		margin-top: 10px;
	}
	.risk-alert .tab-pane .col-sm-4 {
		border-left: none;
	}
	.map { display: none; }
	.search-bar .form-title {
		width: 100%;
	}
	.search-bar .ml-3 {
		margin-left: 0 !important;
	}
	.search-bar .form-group {
		margin-bottom: 15px;
	}
	.search-bar .form-group .btn-group {
		width: 100%;
	}
	.search-bar .btn-search {
		display: block;
		width: 100%;
	}
	.search-bar .form-control {
		width: 100%;
	}
}