html,
body {
  font-size: 15px;
  line-height: 1.5;
}

html {
  position: relative;
  min-height: 100%;
}

.hidden {
  display: none;
}

.error {
  border-color: red;
  color: red;
}

.error:focus {
  border-color: red;
  color: black;
}

.ma-header {
  display: inline-block;
}
.ma-header .ma-title {
  font-size: 30px;
}

.form-wrapper {
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 34.8px 5.2px rgba(43, 52, 126, 0.04);
  width: 50%;
  margin: auto;
  padding-bottom: 3rem;
}

.table-wrapper {
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 34.8px 5.2px rgba(43, 52, 126, 0.04);
  width: 50%;
  margin: auto;
}

.form-title {
  font-size: 16px;
  font-weight: bold;
  padding-top: 3rem;
}

.form-or {
  font-size: 20px;
  font-weight: bold;
}

#index_form {
  position: relative;
}

#index_form .input-wrapper {
  margin-top: 1rem;
  width: 60%;
  border-radius: 15px;
}

#index_form .input-wrapper #searchedcustomer, #searchedorder {
  width: 100%;
  border-width: 1px;
  border-color: rgb(205, 246, 255);
  border-style: solid;
  border-radius: 15px;
  background-color: rgb(244, 252, 253);
  padding: 1rem 1rem;
  text-align: center;
}

.captcha-wrapper {
  margin-top: 1rem;
}

.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: none;
  color: white;
  padding: 0rem 3rem;
  font-size: 16px;
  border-radius: 8px;
  width: 25%;
}

.form-btn > span {
  display: block;
  padding: 1rem 0;
}

.img-wrapper {
  display: inline-flex;
  align-items: center;
  height: 100%;
  vertical-align: middle;
}

.dropdown-language {
  position: absolute !important;
  right: 0;
  top: 0;
  background-color: white;
}

.dropdown-language.open > .btn {
  background-color: #f8f8f8 !important;
}

.dropdown-language > .btn {
  background-color: white;
  color: black;
  border: none;
  height: 50px;
}

.dropdown-language > .btn:hover,
.dropdown-language > .btn:focus {
  background-color: #f8f8f8;
  color: black;
  border: none;
  box-shadow: none;
}

.dropdown-language > .btn > .img-wrapper {
  margin-left: -0.1rem;
}
.dropdown-language > .btn > .lang {
  padding-left: 0.2rem;
}

.language-menu {
  max-width: 100% !important;
  min-width: 10px !important;
  box-shadow: none;
  background-color: #f8f8f8 !important;
  border: none !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.language-menu hr {
  color: #f8f8f8;
  margin: 0;
}

.dropdown-item {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.dropdown-item > .lang {
  padding-left: 0.4rem;
}

.dropdown-item > .img-wrapper {
  margin-left: -0.3rem;
}

.dropdown-item:hover {
  background-color: #b1b1b1 !important;
}

.ma-text-align {
  text-align: center;
}

/* css loading animation https://loading.io/css/ */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0.4rem 0;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  margin: 4px;
  border: 4px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.page-content-wrapper {
  margin-bottom: 60px;
}

footer {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 300;
}

footer > span {
  font-size: 13px;
}

footer > span > a {
  font-weight: bold;
}

footer > span > a:hover {
  text-decoration: none;
}

/* 
// Extra small screen / phone
xs: 0,
// Small screen / phone
sm: 576px,
// Medium screen / tablet
md: 768px,
// Large screen / desktop
lg: 992px,
// Extra large screen / wide desktop
xl: 1200px 
*/

@media only screen and (max-width: 1500px) {
}

@media only screen and (max-width: 992px) {
  .form-title {
    padding: 0 1rem;
	padding-top: 3rem;
    text-align: center;
  }

  #index_form .input-wrapper {
    width: 90%;
  }

  .form-wrapper,
  .table-wrapper {
    width: 60%;
  }

  .form-btn {
    width: 33%;
  }
}

@media only screen and (max-width: 768px) {
  .form-wrapper,
  .table-wrapper {
    width: 75%;
  }
  .form-btn {
    width: 45%;
  }
}

@media only screen and (max-width: 600px) {
  .form-wrapper,
  .table-wrapper {
    width: 90%;
  }
  .form-title {
    margin-top: 1rem;
  }

  .captcha-wrapper {
    margin-top: 2rem;
  }

  .form-btn {
    width: 60%;
  }

  .ma-text-align {
    text-align: left;
  }
}
