/*------ ส่วน ทั้งหมด ------*/
@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;
    }
.button-green {
    background: #0BA62E;
    color: #ffffff;
    font-size: 17px;
}
    .button-green:hover{
    	color: #ffffff;
	}
.button-red {
    background: #D70000;
    color: #ffffff;
    font-size: 17px;
}
	.button-red:hover{
    	color: #ffffff;
	}
/*========================================================================*/
/*------ เส้นคั่น ------*/
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;
  }
}
/*========================================================================*/
/* - consult section - */
.consult-section {
    background-color: #ffffff;
    width: 100%;
    padding: 50px 20px 50px 20px;
    text-align: center;
}
    .consult-section h2 {
        color: #000000;
        font-size: 40px;
        font-weight: 800;
        text-align: center;
    }

        .consult-section h2 span {
            color: #e5a913;
            font-size: 35px;
            font-weight: 800;
            text-align: center;
        }

    .consult-section h3 {
        color: #24252B;
        font-size: 38px;
        font-weight: 800;
    }
    .consult-section h4 {
        color: #000000;
        font-size: 20px;
        font-weight: 800;
    }
    .consult-section p {
        color: #24252B;
    }

    .consult-section a {
        color: #000000;
        text-align: center;
        margin-top: 25px;
    }

.consult-section-border {
    border: 2px solid #24252B;
    padding: 12px;
}
/*========================================================================*/
/*------form ------*/
.consult-form {
	background-color: #ffffff;
}

.consult-form input[type=text], select ,input[type=number]{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.consult-form textarea {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.consult-form p{
	color: #000000;
}
.consult-form span{
	color: #9E0002;
}
/*========================================================================*/
/*------ autocomplete province ------*/
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
/*========================================================================*/
/*------ consult register section ------*/
.consult-section {
	blackground-color:#ffffff;
}
/*========================================================================*/
/*------info card ------*/
.consult-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: auto;
  padding: 10px;
  word-wrap: break-word;
}
.consult-card h3 {
  word-wrap: break-word;
}
.consult-card h4 {
  font-weight: bold;
}
/*========================================================================*/
/* - pdf section - */
.pdf-ophc {
	background-color: #D8EDF8;
	padding: 3px 50px 3px 50px;
}
.pdf-ophc span{
	color: #071B6A;
	text-align: center;
}
#pdf-ophc {
    float: left;
	margin-right: 50px;
}
.pdf-ophc h2 {
	color: #000000;
	font-size: 18px;
}
.pdf-ophc p {
	color: #000000;
	font-size: 20px;
}
.pdf-ophc-account {
	font-weight: bold;
	border: 3px solid #000000;
	border-radius: 10px;
	text-align: center;
	padding:5px;
}
/*========================================================================*/
/* -- 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;
  margin-top: auto;
}
.button-approved {
    background: #e5a913;
    color: #000000;
    font-size: 12px;
	top:0px;
	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;
}
/*========================================================================*/