/*
17.01.2024
LIB mobile framework form
*/

.mobile-form input, .mobile-form textarea, .mobile-form button, .mobile-form select   {
  display: block;
  width: 100%;
  font-size: 110%;
  border-radius: 0.3125em;
  border-width: 1px;
  border-style: solid;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.mobile-form-inputs input[type=text], .mobile-form input[type=password], .mobile-form input[type=email], .mobile-form input[type=search], .mobile-form textarea {
  border-color: lightgrey;
  margin: .5em 0;
  padding: .4em .2em;
}

.mobile-form-buttons button, .mobile-form input[type=submit] {
  cursor: pointer;
  font-weight: bold;
  margin: .5em 0;
  padding: .7em 1em;
}

.mobile-form button.default {
  background-color: #333;
  border-color: #1f1f1f;
  color: #fff;
  text-shadow: 0 1px 0 #111;
}

.mobile-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.mobile-form-selects select {
  cursor: pointer;
  font-weight: bold;
  margin: .5em 0;
  padding: .7em 1em;
}

.mobile-form .help {
  margin: 0;
  padding: 0 0 5px 10px;
  font-size: 80%;
}

.select-wrapper {
  position: relative;
}

.select-wrapper:after {
  content: " ";
  height: 0;
  width: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid darkgray;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: all 0.3s linear;
  pointer-events: none;
}

.clear-icon {
  position: relative;
  padding: 0;
  background-color: transparent;
  display: none;
  vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.clear-icon:before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
}
.clear-icon:after {
  content: "X";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  background-color: gray;
  z-index:1;
  right: 5px;
  top: 0;
  bottom: 0;
  margin: auto;
  padding: 2px;
  border-radius: 50%;
  text-align: center;
  color: white;
  font-weight: normal;
  font-size: 12px;
  box-shadow: 0 0 2px lightgray;
  cursor: pointer;
}
