.header {
  position: fixed;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 70px;
  background: #fff;
  z-index: 99;
  top: 0;
  left: 0;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  /* display   : flex; */
  justify-content: space-between;
}

.header ul li {
  float: left;
  margin-top: 5px;
  padding: 0px 10px;
}

.max-limit-logo {
  max-width: 160px;
}

.my-logo {
  width: 100%;
  height: 50px;
  /* height: auto; */
  object-fit: contain;
}

.btn-white {
  color: #fff !important;
  border: 3px solid !important;
}

.text-logo {
  text-decoration: none;
  color: #ffffff;
}

.text-logo:hover {
  text-decoration: none !important;
  color: #ffffff !important;
}

.dropdown-header2 {
  color: #ffffff !important;
  border: none !important;
  white-space: nowrap !important;
  font-size: 14px !important;
}

.flag-size {
  width: 30px;
}

.input-group-text-transparent {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #c4c4c4;
  text-align: center;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.border-right-none {
  border-right-color: transparent !important;
}

.border-left-none {
  border-left-color: transparent !important;
}

.border-right-radius {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}

.shadow-input {
  box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.btn-creden {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-creden-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-creden-Gray {
  color: #000000;
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.border-profile {
  border-left: 2px solid #bdbdbd;
}

.radius50 {
  border-radius: 50%;
}

.dropdown-profile {
  right: 0 !important;
  left: unset !important;
  width: 239px;
}

.profile-box-img {
  width: 30%;
  float: left;
}

.profile-box-text {
  width: 70%;
  float: left;
}

.max-profile-detail {
  max-width: 55px;
}

/* .profile-menu{
    display: block !important;
    position: fixed !important;
    width: 18rem !important;
    right: 0.357rem !important;
    background-color: white !important;
    border-radius: 0.2rem !important;
    border: 1px solid #e0e0e0 !important;
    padding-top: 1rem !important;
} */

@media screen and (max-width: 767px) {
  .header ul {
    display: flex;
  }

  .header ul li {
    float: left;
    margin-top: 5px;
    padding: 0px;
  }

  .max-limit-logo {
    max-width: 160px;
  }

  .my-logo {
    /* width: 50%; */
    height: 50px;
    object-fit: contain;
  }
}

/* --ใช้ร่วม-- */

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 300px) {
  .navbar-brand span {
    font-size: 24px !important;
  }

  .mb {
    display: block;
  }

  .pc {
    display: none !important;
  }

  .header .logo img {
    width: 105px;
  }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar-brand span {
    font-size: 24px !important;
  }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-brand {
    font-size: 2rem !important;
  }

  .pc {
    display: unset !important;
  }

  .mb {
    display: none !important;
  }

  .header .logo img {
    width: 150px;
  }
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
