@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,400;1,300;1,400;1,700&display=swap');

/* Color set */
:root {
  --default-primary: #D14D72;
  --default-secondary: #FFABAB;
  --default-third: #FCC8D1;
  --light: #FEF2F4;
  --dark: #343a40;
  --white:#FFFFFF;
  --brown:#524A4E;
  --red: #dc3545;
}

*{
	font-family: 'Sarabun', sans-serif;
	font-size: 14px;
	color:var(--brown);
}



.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
   font-family: 'Sarabun', sans-serif;
}
.content-wrapper {
    min-height: 100%;
    background-color: #fff;
    z-index: 800;
}
.main-header .logo {
    -webkit-transition: width .3s ease-in-out;
    -o-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    display: block;
    float: left;
    height: 95px;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    width: 230px;
    font-family: 'Sarabun', sans-serif;
    padding: 0 15px;
    font-weight: 300;
    overflow: hidden;
}

.main-header .sidebar-toggle {
    background-color: transparent;
    background-image: none;
    padding: 15px 8px;
    font-family: 'Sarabun', sans-serif;
}

.img-logo{
	width: 60px;
    height: 60px;
    padding: 10px;
}

.noti-profile{
	border: 1px solid transparent;
    border-radius: 25px;
    background-color: #fff;
    width: 42px;
    height: 42px;
}
.noti-badge{
	position: absolute;
   	top: 2px;
    right: 57px;
    padding: 1px 8px;
    border-radius: 50%;
    background: var(--default-primary);
    color: white;
}

.text-logo{
	font-size: 14px;
	color: var(--brown);
	font-weight: bold;
}

a:link { 
	color: var(--dark);
	text-decoration: none; 
}

a:visited { 
	color: var(--dark);
	text-decoration: none; 
}


.treeview  a:hover { 
	color: var(--dark);
	text-decoration: none; 
	background-color: var(--white);
}


a:active { 
	text-decoration: none; 
}

.text-menu{
	color: var(--dark);
	font-size: 24px;
}

.text-header-menu{
	background-color: var(--default-third);
	color: var(--brown);
	font-size: 16px;
    padding: 1rem!important;
    
}

.text-sub-header-menu{
	color: var(--default-primary);
	/* font-size: 16px;
    padding: 1rem!important; */
}



/* custom dateTimePicker */
.datepicker [class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    font-family: Font Awesome\ 5 Pro;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.datepicker .prev [class^="icon-"]:before {
    content: "\f04a";
}

.datepicker .next [class^="icon-"]:before {
    content: "\f04e";
}
.datepicker .table-condensed{
	width: 100%;
}
/* custom dateTimePicker */

.content-header{
	/* background: var(--light)!important; */
    padding: 10px;
   /*  border-bottom: 2px solid var(--default-primary);; */
	font-size: 14px;
	color: var(--brown);
	font-weight: bold;
}
.content-header>h1{
	font-size: 14px;
}
.content-header>.breadcrumb{
	padding: 0px;
    font-size: 16px;
}
.user-login{
	height: 50px;
    padding: 16px;
}
.user-login a{
	color: #ffffff;
}
.user-login .change-pass,
.user-login .logout{
    padding-left: 10px;
    padding-right: 10px;
    border-left: 1px solid;
}

.user-sub-header{
	/* padding: 10px; */
    font-size: 12px;
}

.content {
    min-height: 250px;
    /* padding: 15px; */
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.box-body .row{
	padding-bottom: 5px;
}
.box-body font{
    position: absolute;
    top: 0px;
    right: 8px;
}
.box-body .error{
    color: red;
    margin-bottom: 0px;
    min-width: 100px;
}
.box-body .label-form{
    font-weight: normal;
    float: right;
    margin: 0px;
}
.datepicker-dropdown:before{
	display: none;
}
.sidebar-toggle:before{
	display: none;	
}
.treeview-menu .tooltip-inner{
	white-space: nowrap;
	max-width: unset;
	width: 100%;
}
.treeview-menu a{
    overflow: hidden;
    text-overflow: ellipsis;
}
.swal2-cancel, .swal2-confirm{
	margin: 0px 10px;
}

@media (max-width: 991px){
	.content-header>h1{
		display: inline-block;
	}
	.content-header>.breadcrumb {
		    background: none;
	    text-align: right;
	    display: inline-block;
	    float: right;
	    margin-top: 0px;
	}
	.box-body .label-form{
		float: left;
		padding-left: 0px;
	}
	.box-body font{
		top: 30px;
	}
	.user-login a{
		color: #ffffff !important;
	}
}

.fix-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: var(--light)!important;
    border-right: 1px solid #f3f3f3;
    
}

.bd-sidebar {
    position: -webkit-fixed;
    position: fixed;
   top: 6rem;
    z-index: 1000;
    max-height: calc(100vh - 5rem);
    border-right: 1px solid #f3f3f3;
    background: var(--light)!important;
}

.main-sidebar {
	padding-top: 0px;
}

.content-hg { 
	/* min-height: 345px; */
	margin-top: 60px;
}

.select2-container .select2-selection--single {
	border: 1px solid #ccc;
	padding: 6px;
	border-radius: 0px;
	color: #555;
	height: 34px;
}

.dropdown-menu{
    left: unset;
    right: 0.5%;
    width: 250px;
   /*  height: 262px; */
}
.dropdown-menu .user-header{
	text-align: center;
	height: 210px;
}
.dropdown-menu .user-footer{
	padding: 5px;
}

#map{ width:700px; height: 500px; }

th {
	text-align: center !important;
}


.box.box-primary {
    border-top-color: var(--default-primary);
}

.form-select{
	padding: 8px!important;
}

font{
	color:red;
}


/* login css */
.divider:after,
.divider:before {
content: "";
flex: 1;
height: 1px;
background: #eee;
}
.h-custom {
height: calc(100% - 73px);
}
@media (max-width: 450px) {
.h-custom {
height: 100%;
}
}

/* CSS */
.button-1 {
  background-color: var( --default-primary);
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-1:hover,
.button-1:focus {
  background-color: #F082AC;
}

.bg-footer{
	position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--default-primary);
    padding-right: 3rem!important;
    padding-left: 3rem!important;
    padding-top: 1.5rem!important;
    padding-bottom: 1.5rem!important;
}

.treelink{
	overflow: hidden;
    white-space: normal;
    border-bottom:0.5px #ffd5dc solid!important;
}

.treelink:hover,
.treelink:focus{
	background-color: #FFFFFF;
}

/* .hr{
    border: 0.5px #ffd5dc solid!important;
    opacity: .25;
    margin-right: 15px!important;
    margin-left: 15px!important;
}

.sidebar-menu>li>a {
    padding: 9px 5px 5px 15px!important;
} */

