/* START OF TEXT FIELDS */
.material-textfield {
  position: relative;
}

.input-marg {
/*  margin-top: 1.5rem;*/
  margin-bottom: 1.5rem;
}

.input-marg2 {
  margin-top: 1.5rem;
}

label {
    position: absolute;
    font-size: 1rem;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #212529d1;
    padding: 0 0.3rem;
    margin: 0 0.5rem;
    transition: 0.1s ease-out;
    transform-origin: left top;
    pointer-events: none;
}

input:not([type="checkbox"]):not([class="range"]):not([class="file"]) {
    font-size: 1rem;
    outline: none;
    border: 1px solid #8a8a8a;
    border-radius: 5px;
    padding: 1rem 0.7rem;
    color: #212529;
    transition: 0.1s ease-out;
    width: 100%;
    /* width: calc(100% - 1.4rem); */
    border-color: lightgray;
}

input:focus {
  border-color: #30d9c8;
}

input:focus + label {
  color: #30d9c8;
  top: 0;
  transform: translateY(-50%) scale(0.9);
}

input:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(0.9);
}

.inline-input > input {
  width: 45px !important;
  display: inline-block;
  padding: 1rem 0.7rem;
  margin: 0.2rem;
  font-size: 2rem;
  text-align: center;
}


label.textarea {
    position: absolute;
    font-size: 1rem;
    left: 0;
    top: 20%;
    transform: translateY(-50%);
    background-color: white;
    color: #212529d1;
    padding: 0 0.3rem;
    margin: 0 0.5rem;
    transition: 0.1s ease-out;
    transform-origin: left top;
    pointer-events: none;
}

textarea:not([type="checkbox"]):not([class="range"]):not([class="file"]) {
    font-size: 1rem;
    outline: none;
    border: 1px solid #8a8a8a;
    border-radius: 5px;
    padding: 1rem 0.7rem;
    color: #212529;
    transition: 0.1s ease-out;
    width: 100%;
    /* width: calc(100% - 1.4rem); */
    border-color: lightgray;
}

textarea:focus {
    border-color: #30d9c8;
}

    textarea:focus + label.textarea {
        color: #30d9c8;
        top: 0;
        transform: translateY(-50%) scale(0.9);
    }

textarea:not(:placeholder-shown) + label.textarea {
    top: 0;
    transform: translateY(-50%) scale(0.9);
}


/* END OF TEXT FIELDS */

.item-x-btn {
    border: none;
    background-color: transparent;
}

.item-btn {
    background-color: #30d9c8;
    border-radius: 5px;
    padding: 0.3rem;
    margin-right: 0.2rem;
    font-size: small;
}

/*START OF ACTIVE LINK*/
.link-primary {
    color: #30d9c8 !important;
    font-weight: 700;
}

a.inactive {
  color: gray;
  border-bottom: 3px solid lightgray;
}
/*END OF ACTIVE LINK*/

/*START OF RANGE SLIDER*/
/* .slider-selection {
  background: #30d9c8 !important;
}

.slider-handle {
  background-color: #30d9c8 !important;
  background-image: none !important;
}

.slider.slider-horizontal {
  width: 100% !important;
}

.slider-ghost .slider-track {
  height: 5px !important;
} */
/*END OF RANGE SLIDER*/

/*START OF READ MORE*/
#more {
  display: none;
}
/*END OF READ MORE*/

/* START OF  Password strength checker */
form .indicator {
  height: 4px;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  display: none;
}
form .indicator span {
  position: relative;
  height: 100%;
  width: 100%;
  background: lightgrey;
  border-radius: 0;
}
form .indicator span:nth-child(2) {
  margin: 0 3px;
}
form .indicator span.active:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 0;
}
.indicator span.weak:before {
  background-color: #ff4757;
}
.indicator span.medium:before {
  background-color: orange;
}
.indicator span.strong:before {
  background-color: #23ad5c;
}
form .text {
  font-size: 15px;
  font-weight: 500;
  display: none;
  margin-bottom: -10px;
  color: #666666;
}
/*
form .text.weak {
  color: #ff4757;
}
form .text.medium {
  color: orange;
}
form .text.strong {
  color: #23ad5c;
}
*/
/* End OF Password strength checker */
.validation-message {
    top: -20px;
    position: relative;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px white inset; 
    -webkit-text-fill-color: #333;
}

    input:-webkit-autofill:focus {
        -webkit-box-shadow: transparent/,0 0 0 50px white inset;
        -webkit-text-fill-color: #333;
    }  