body, html {

	font-family: 'Kanit';
	overflow: auto;
	margin: 0px;
  height: 100vh;
  display: flex;
  flex-direction: column;
 
  background: linear-gradient(#fb8277 ,#fff, #fff);
  background-size: cover;
  background-attachment: fixed;


}
.alert01{color: red;
    font-size: 14px;}
.fromdetile{padding: 10px;}
.from-advert-01 {
    width: 100%;
    border: 1px solid #d5d2d2;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #f4fcff;

}
.from-input-register{margin-top: 10px; margin-bottom: 10px;}
.h3{font-size: 20px;}
.h1{font-size: 30px;
  font-weight: 600;}
.foodter{  margin-top: 80px; text-align: center;}
.imgadvert{width: 100%;}
.fromdetile p{text-align: center;}
.logohb{width: 30px;
    height: 30px;
    display: inline-block!important;
    vertical-align: top!important;}
.topnav {
width: 100%;
  background-color: #3bafda;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 3px;
  text-decoration: none;
  
}

/*.topnav a:hover {
  background-color: #ddd;
  color: black;
}*/
.active{font-size: 18px;}
.rl{float: right!important;}
.container {
  width: 101%;
  border-radius: 28px;
  background: #fff;
  margin-left: -2px;
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
.card {
  padding: 10px;
}
.h2{
  text-align: center;
  color: #0e194d;
}
.herder-login{padding: 0.75rem 1.25rem;
       padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
    color: #fff!important;
    background-color: #ed1a1a7d;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
.body-login {
        background-color: #e1e6ebe6!important;
    flex: 1 1 auto;
    padding: 1.25rem;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.bgh{background-color: #004260!important;}
.bth{background-color: #05293b!important;border-radius: 3px!important;}
.input-container {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  width: 100%;
  margin-bottom: 15px;
}

.icon {
 padding: 10px 0px;
    background: #c1c1c1;
    color: #626262;
    min-width: 45px;
    border-radius: 3px;
    text-align: center
}
.fromlogin{
  background: #f7f7f7;
    text-align: center;
    border: 1px solid #e33a3a;
    border-radius: 5px;
}
.tb01{width: 50%!important;background-color: #13648b!important;}
.tb02{background-color: #13648b!important;}
.txth{color: #005a85;
    font-weight: 600;}
.alit01{position: relative;
    top: -15px;
    font-size: 10px;
    color: red;
}
.alit{position: relative;
    
    font-size: 10px;
    color: #6c6868;
}
select {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: 'Kanit';
}

.input-fields {
  border: none;
  border-bottom: 2px solid red;
}
.input-field {
  width: 100%;
  padding: 10px;
  outline: none;
  border: 1px solid #999898;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
     font-family: 'Kanit';
}

.input-field:focus {
  border: 2px solid dodgerblue;
}

/* Set a style for the submit button */
.btn {
  background-color: dodgerblue;
  color: white;
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.btn:hover {
  opacity: 1;
}
.row{
  width: 100%;
    overflow: hidden;
    float: left;color: #504f4f;
}
.co-l6{width: 50%;float: left;}
.co-r6{width: 50%;float: right;    text-align: right;}
.form-check {
    position: relative;
    display: block;
    
}
.button {
  background-color: #870606;
    border: none;
    color: white;
    padding: 5px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 0px;
    transition-duration: 0.4s;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    font-family: 'Kanit';

}
.logols{margin-top: 40px;
  margin-bottom: 20px;text-align: center;}
.logoimg{width: 20%;}
.tet{font-size: 10px;}
.register01{float: right;}
.mb{margin-bottom: 20px;}
.button:hover{color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;} 
.bt-top{margin-top: 10px;}
.tbw{    background-color: #ffffff;
    color: #333;
    border: 1px solid #c3c3c3;}

  .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: 'Kanit';
}
.group-from{margin-bottom: 20px;}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.fool{text-align: center;}
.from-imgs01{    margin-bottom: 10px;}
label{font-weight: 600;}
.aler-text{text-align: center;}
.imgforget{width: 100%}

.from-success{width: 100%;}
.imgsuccsse{text-align: center;margin-bottom: 10px;}


/* .icon {
  padding-left: 25px;
  background: url("https://static.thenounproject.com/png/101791-200.png") no-repeat left;
  background-size: 20px;
} */
.input0 {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e2e2;;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-size: 20px;
  background-position: 10px 10px; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 20px;
  font-family: 'Kanit';
  
}

.input4 {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e2e2;;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('email.png');
  background-size: 20px;
  background-position: 10px 10px; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  font-family: 'Kanit';
}

.input2 {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e2e2;;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('user.png');
  background-size: 20px;
  background-position: 10px 10px; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  font-family: 'Kanit';
}
.input1 {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e7e2e2;;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('fin.png');
  background-size: 20px;
  background-position: 10px 10px; 
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  font-family: 'Kanit';
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: red;
  color: white;
  text-align: center;
}
.btm{text-align: center;
  background: #f29900;
  width: 30%;
  margin: auto;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0px 9px 0px -2px #b5b5b35e;
  font-size: 20px;
  color: #fff; cursor: pointer;}
  .btm:hover{background: #e2c084;}
  .brugc{background: #4c44aa;margin-top: 50px;}
.from-list{text-align: right;}
.from-input{margin-bottom: 20px;}
@media  only screen and (min-width: 768px){

.from-login{width: 90%;margin: auto;}
.from-logins{    width: 50%;
    margin: auto;
    margin-top: 30%;}
.body-logins{padding: 22px;}
.container{padding-right:0px;padding-left:0px;}
.fl{width: 48%;
    float: left;}
.fr{width: 48%;
    float: right;}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  
}



.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.group-input{
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}

.group-from{    overflow: hidden;}







}
@media  only screen and (min-width: 1024px){
.logohb{width: 35px;
    height: 35px;}
.active{font-size: 22px;}
.container{font-size: 18px;} 
.row{overflow:unset;}
.from-logins{margin-top: 0%;}
.from-logins{width: 50%}
.logoimg{width: 15%;}
.from-input {
  margin-bottom: 10px;
}
.foodter {
  margin-top: 30px;
  text-align: center;
}
}
