/*------ ส่วน ทั้งหมด ------*/
@import url('https://fonts.googleapis.com/css?family=Trirong|Kanit:400,700|Merriweather+Sans|Pacifico&display=swap');
html { height: 100%; }
body {
  margin: 0;
  font-family: 'Trirong', sans-serif;
  height: 100%;
}

section {
	position: relative;
    width: 100%;
    padding: 80px 0;
}
@media screen and (max-width: 768px) {
.space {
	padding : 20px 10px 20px 10px;
   }
}
.upload-img label {
	background: #e5a913;
    color: #000000;
    font-size: 17px; 
	border-radius: 40px;
	padding: 10px;
}
	.upload-img label:hover {
	background: #000000;
    color: #ffffff;
	transition: 1s;
}
/*========================================================================*/
/*------ Button ------*/
.button-go-to-top {
    position: fixed;
    bottom: 23px;
    left: 28px;
	border-radius: 50%;
}
.button-pill {
    border-radius: 40px;
}
.button-yellow {
    background: #e5a913;
    color: #000000;
    font-size: 17px;
}
    .button-yellow:hover {
        background: #000000;
        font-size: 17px;
		color :#ffffff;
		transition: 1s;
    }

.button-outline-dark {
	border: 3px solid #24252B;
    background: none;
    color: #24252B;
    font-size: 17px;
	font-weight: bold;
}
    .button-outline-dark:hover {
		border: 3px solid #000000;
        background: #000000;
        color: #ffffff;
        font-size: 17px;
		font-weight: bold;
		transition: 1s;
    }
.button-outline-white {
	border: 3px solid #ffffff;
    background: none;
    color: #ffffff;
    font-size: 17px;
	font-weight: bold;
}
    .button-outline-white:hover {
		border: 3px solid #e5a913;
        background: #e5a913;
        color: #000000;
        font-size: 17px;
		font-weight: bold;
		transition: 1s;
    }
/*========================================================================*/
/*------ เส้นคั่น ------*/
hr.white {
	border: 2px solid #ffffff;
}
hr.yellow {
	border: 2px solid #e5a913;
}
hr.dark {
	border: 2px solid #24252B;
}
/*========================================================================*/
/*------ Scroll Bar ------*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #9a9cb5;
}

::-webkit-scrollbar-thumb {
    background: #e5a913;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #87b5c4;
    }
/*========================================================================*/
/*------ menu ------*/
.topnav {
  overflow: hidden;
  background-color: #333333;
}
.topnav img {
   width:50px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #e5a913;
  color: #000000;
}

.topnav a.active {
  background-color: #e5a913;
  color: #ffffff;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 768px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/*========================================================================*/
/*------ section ------*/
.customerinfo-section {
	background-color: #ffffff;
}
/*------ section ------*/
/*------info card ------*/
.customerinfo-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: auto;
  padding: 10px;
  word-wrap: break-word;
}
.customerinfo-card h3 {
  word-wrap: break-word;
}
.customerinfo-card h4 {
  font-weight: bold;
}
/*========================================================================*/
/*------form ------*/
.customerinfo-form {
	background-color: #ffffff;
	width: 80%;
}

.customerinfo-form input[type=email],input[type=password],input[type=text],select,input[type=number],input[type=time],input[type=date] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.inline p input[type=number]
{ 
	display: inline !important; 
	width: 50px !important;
}


.customerinfo-form textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.customerinfo-form p{
	color: #000000;
}
.customerinfo-form span{
	color: #9E0002;
}
/* Center the image and position the close button */
.customerinfo-form-imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.customerinfo-form-avatar {
  width: 40%;
  border-radius: 50%;
}

.customerinfo-form-container {
  padding: 16px;
}

span.customerinfo-form-psw {
  float: right;
  padding-top: 16px;
  color: #000000;
}

/* The Modal (background) */
.customerinfo-form-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.customerinfo-form-modal-content {
  background-color: #fefefe;
  margin: 5% 5% 15% 5%; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888888;
  width: 90%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.customerinfo-form-close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000000 !important;
  font-size: 35px;
  font-weight: bold;
}

.customerinfo-form-close:hover,
.customerinfo-form-close:focus {
  color: #e5a913 !important;
  cursor: pointer;
}

/* Add Zoom Animation */
.customerinfo-form-animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}
/*========================================================================*/
/* Style the tab */
.tab {
  background-color: #ffffff;
  
}

/* Style the buttons inside the tab */
.tab button {
  background-color: #e5a913;
  border: 3px solid #CD9710;
  cursor: pointer;
  padding: 5px;
  transition: 0.3s;
  font-size: 14px;
  width: 200px;
  height: 50px;
  border-radius: 10px;
  box-shadow: 5px 5px 5px 1px #161616;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #000000;
  color:#e5a913;
  transition:1s;
  border: 1px solid #000000;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #000000;
  color:#ffffff;
  border: 1px solid #000000;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}
/*========================================================================*/
/* -- approve button -- */
.approved select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #24252B;
}
/* Remove IE arrow */
.approved select::-ms-expand {
  display: none;
}
.approved select {
  flex: 1;
  padding: 10px;
  color: #ffffff;
  cursor: pointer;
}
.button-approved {
    background: #e5a913;
    color: #000000;
    font-size: 12px;
	top:7px;
	height:40px;
}
    .button-approved:hover {
        background: #000000;
        font-size: 12px;
		color :#ffffff;
		transition: 1s;
    }
/*========================================================================*/
/* -- footer -- */
footer {
    background: #24252B;
    width: 100%;
	text-align: center;
    color: #ffffff;
    padding: 20px 0px;
}
/*========================================================================*/