input:disabled, textarea:disabled, select:disabled, button:disabled { cursor: not-allowed; opacity: .5; }


/*INPUTS*/
.inp {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 280px;
  border-radius: 3px;
  overflow: hidden;
}
.inp .label {
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  transform-origin: 0 0;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
  pointer-events: none;
}
.inp .focus-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
}
.inp input, .inp select, .inp textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 16px 12px 0 12px;
  height: 56px;
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  color: #000;
  transition: all 0.15s ease;
}
.inp input:hover, .inp select:hover, .inp textarea:hover {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 -1px 0 rgb(239 68 68);
}
.inp input:not(:-moz-placeholder-shown) + .label, .inp select:not(:-moz-placeholder-shown) + .label, .inp textarea:not(:-moz-placeholder-shown) + .label {
  color: rgba(0, 0, 0, 0.5);
  transform: translate3d(0, -8px, 0) scale(0.75);
}
.inp input:not(:-ms-input-placeholder) + .label, .inp select:not(:-ms-input-placeholder) + .label, .inp textarea:not(:-ms-input-placeholder) + .label {
  color: rgba(0, 0, 0, 0.5);
  transform: translate3d(0, -8px, 0) scale(0.75);
}
.inp input:not(:placeholder-shown) + .label, .inp select:not(:placeholder-shown) + .label, .inp textarea:not(:placeholder-shown) + .label {
  color: rgba(0, 0, 0, 0.5);
  transform: translate3d(0, -8px, 0) scale(0.75);
}
.inp input:focus, .inp select:focus, .inp textarea:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
  box-shadow: inset 0 -2px 0 rgb(239 68 68);
}
.inp input:focus + .label, .inp select:focus + .label, .inp textarea:focus + .label {
  color: rgb(239 68 68);
  transform: translate3d(0, -8px, 0) scale(0.75);
}
.inp input:focus + .label + .focus-bg, .inp select:focus + .label + .focus-bg, .inp textarea:focus + .label + .focus-bg {
  transform: scaleX(1);
  transition: all 0.1s ease;
}



/*MARQUEE*/
.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}
.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 4s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}



/* LINE CLAMP */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
