﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
/*a {
  color: white!important;
}*/

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-chackaml {
    color: #fff;
    background-color: #592379;
    border-color: #592379;
}
.btn-chackaml:hover {
    color: #fff;
    background-color: #481f60;
    border-color: #481f60;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #0a2f79;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 7px solid #722fa0 !important;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 50px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*icon hamberker*/
.navbar-light .navbar-toggler {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.1);
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(114,47,160,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.text01 {
    font-size: 16px;
    line-height: 1.5;
    color: #722fa0;
}
.d-md{
    display: block;
}
.just-end1 {
    display: flex;
    justify-content: flex-end;
}
.logo-company {
    width: 100px;
}
.ic-social {
    width: 50px;
    object-fit:contain;
}
.color01 {
    color:white !important;
}
.color02 {
    color: #592379 !important;
}
.sty-ic-reset {
    margin-left: 5px;
    color: #5f83f8;
}
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100% !important;
}
.btn-menu {
    width:50%;
    height:auto;
    margin-top:3%;
}
.ic-menu {
    width: 70%;
    height: auto;
    object-fit: contain;
}
.line-bottom1 {
    border: solid #ED7D31;
    border-width: 5px 0px 0px 0px;
    width: 50px;
    display: block;
    margin: 15px 0;
}
.mr1 {
    margin-right: 3%;
}
.d-desktop {
    display: flex;
}
.d-999px {
    display: none;
}
.ic-anti {
    width: 10%;
    height: auto;
    object-fit: contain;
}

/* Style Step progess bar*/
.progressbar {
    counter-reset: step;
}
.progressbar li {
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    position: relative;
    text-align: center;
    color: white;
}
.progressbar li:before {
    width: 45px;
    height: 45px;
    content: counter(step);
    counter-increment: step;
    line-height: 45px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: #808185;
}
.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 24px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active:before {
    border-color: #5f83f8;
    background-color: #5f83f8;
}
/* ไว้สำหรับเปลี่ยนสีเส้นได้ */
    .progressbar li.active + li:after {
        background-color: #5f83f8;
    }
.font-list {
    font-size: 1.5rem;
    font-size: clamp(1rem, 1vw, 1.5rem);
    color: black !important;
}
/* End Style Step progess bar*/
.stl-ic1 {
    width: 10%;
    height: auto;
    object-fit: contain;
}
.mgt- {
    margin-top: -20px !important;
}
@media only screen and (max-width : 1675px) {
    .img-aboutus {
        width: 50%;
        height: auto;
        object-fit: contain;
    }
}

@media only screen and (max-width : 999px) {
    .d-desktop {
        display: none;
    }
    .d-999px {
        display: block;
    }
    .ic-social {
        width: 40px;
    }
    .media {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: start;
        align-items: flex-start;
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: column;
    }
    .img-aboutus {
        width: 100%;
    }
    .mr1 {
        margin-right: 0%;
    }
}

@media only screen and (max-width : 767px) {
    .d-sm {
        display: none;
    }

    .d-none-sm {
        display: none;
    }

    .logo-company {
        width: 60px;
    }

    .ic-social {
        width: 30px;
    }
}
/* Style Step progess bar*/
@media only screen and (max-width : 661px) {
    .progressbar li {
        width: 22%;
    }

    .progressbar li:before {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }

    .progressbar li:after {
        top: 18px;
    }
}
/* End Style Step progess bar*/
@media only screen and (max-width : 575px) {
    .border-bottom {
        border-bottom: 0px solid #722fa0 !important;
    }
    .just-end1 {
       justify-content: start;
    }

    .center-esm {
       display: flex;
       justify-content: center;
    }

    .d-none-esm {
       display: none !important;
    }
    .btn-menu {
       width: 100%;
    }
}
/* Style Step progess bar*/
@media only screen and (max-width : 420px) {
    .progressbar li {
        font-size: 1rem;
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }

    .progressbar li:before {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .progressbar li:after {
        top: 15px;
    }
}
/* End Style Step progess bar*/
.check-box-resize {
    transform: scale(1.5);
    margin-top: -30%;
}

::-webkit-input-placeholder {
    color: #adaaaa;
}

::-moz-placeholder {
    color: #adaaaa;
}

:-moz-placeholder { /* Older versions of Firefox */
    color: #adaaaa;
}

:-ms-input-placeholder {
    color: #adaaaa;
}
.form-control {
    color:black!important;
}

input[readonly] {
    cursor: not-allowed;
    pointer-events: all !important;
}

input[disabled] {
    cursor: not-allowed;
    pointer-events: all !important;
}
button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
}