/**MATERIAL DESIGN**/
* {
  font-family: 'Roboto', sans-serif;
}

/*BUTTONS*/
.m-button {
  background-color: #2699fb;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 10px 12px;
  text-transform: uppercase;
  outline: none;
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: box-shadow .125s ease-in-out;
  color: #fff;
  display: block;
  text-decoration: none;
}
a.m-button {
  background-color: #2699fb;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 10px 12px;
  text-transform: uppercase;
  outline: none;
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: box-shadow .125s ease-in-out;
  color: #fff;
  display: block;
  text-decoration: none;
}
.m-button:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.m-button.white {
  color: #2699fb;
  background-color: #fff;
}
.m-button-flat {
  text-decoration: none;
  color: #2699fb;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 10px 12px;
  background: none;
  border: none;
  font-size: 14px;
  display: block;
}
a.m-button-flat {
  text-decoration: none;
  color: #2699fb;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  background: none;
  border: none;
  font-size: 14px;
  display: block;
}

/*INPUT-FIELDS*/
.m-input-field {
  width: 100%;
  height: 25px;
  position: relative;
  padding-top: 14px;
  padding-bottom: 12px;
  margin: 20px 0;
}
.m-input-field input {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  padding: 0;
  text-align: left;
  outline: none;
  border: none;
  margin: 0;
  width: 100%;
  height: 24px;
  border-bottom: 1px solid #737373;
  background: none;
  padding-bottom: 2px;
}
.m-input-field textarea {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  padding: 0;
  text-align: left;
  outline: none;
  border: none;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid #737373;
  background: none;
  padding-bottom: 2px;
  height: 238px;
  resize: none;
}
.m-input-textarea {
  height: 240px;
}
.m-input-textarea-popup textarea {
  height: 78px !important;
}
.m-input-textarea-popup {
  height: 80px;
}
.m-input-field span {
  position: absolute;
  top: 14px;
  left: 0;
  transform: none;
  transform-origin: bottom left;
  color: #737373;
  transition: transform .125s ease-in-out;
}
.m-input-field div {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  background-color: #2699fb;
  transition: transform .125s ease-in-out;
  z-index: 777;
}
.m-input-field h5 {
  color: #d50000;
  font-weight: 400;
  font-size: 12px;
  margin: 0;
  margin-top: 4px;
  text-align: left;
  opacity: 0;
  transition: opacity .125s ease-in-out;
}
.m-input-field.error h5 {
  opacity: 1;
}
.m-input-field.error div {
  transform: scaleX(1);
  background-color: #d50000 !important;
}
.m-input-field.active span, .m-input-field.filled span {
  transform: scale(0.75) translateY(-32px);
  color: #2699fb;
}
.m-input-field.error span {
  transform: scale(0.75) translateY(-32px);
  color: #d50000 !important;
}
.m-input-field.active div {
  transform: scaleX(1);
}
.m-input-field span.with-infotip {
  padding-right: 30px;
}
.m-input-field div.pos-field {
  width: 24px;
  height: 24px;
  position: absolute;
  bottom: auto;
  left: auto;
  top: 0;
  right: 0;
  transform: scale(1);
  border: none;
  background: none;
  z-index: 888 !important;
}
.m-input-field .pos-field i {
  transform: translateY(-10%);
}
.m-input-field .pos-field span {
  transform: translate(30px, -50%) !important;
  z-index: 888;
}
.m-input-field.right.active .pos-field span, .m-input-field.right.error .pos-field span, .m-input-field.right.filled .pos-field span {
  transform: translate(30px, -39%) scale(1.25) !important;
  color: #fff !important;
}
.m-input-field.active .pos-field span, .m-input-field.error .pos-field span, .m-input-field.filled .pos-field span {
  color: #fff !important;
}

/*CHECKBOX - called .m-check-field*/
.m-check-field {
  width: 100%;
  margin: 20px 0;
}
.m-check-field input {
  display: none;
}
.m-check-field label {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.m-check-field label p {
  color: #4f4f4f;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  width: calc(100% - 40px);
  padding-left: 12px;
  margin: 0;
}
.m-check-field label p a {
  color: #2699fb;
  text-decoration: none;
  cursor: pointer;
}
.m-check-field label div {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid #2699fb;
  position: relative;
}
.m-check-field label div i {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 3px;
  background-color: #2699fb;
  opacity: 0;
  transition: opacity .125s ease-in-out;
  font-size: 22px;
}
.m-check-field input:checked + label div i {
  opacity: 1;
}
.m-check-field h5 {
  color: #d50000;
  font-weight: 400;
  font-size: 12px;
  margin: 0;
  margin-top: 4px;
  text-align: left;
  opacity: 0;
  transition: opacity .25s ease-in-out;
  padding-left: 40px;
}
.m-check-field.error div {
  border-color: #d50000;
}
.m-check-field.error h5 {
  opacity: 1;
}

.m-input-select {
  margin: 20px 0;
  position: relative;
  width: 100%;
  padding-top: 12px;
}
.m-input-select span {
  position: absolute;
  top: 14px;
  left: 0;
  transform: none;
  transform-origin: bottom left;
  color: #737373;
  transform: scale(0.75) translateY(-30px);
}
.m-input-select select {
  outline: none;
  width: 100%;
  height: auto;
  background: none;
  border: none;
  border-bottom: 2px solid #737373;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  font-weight: 400;
  text-align: left;
  transition: border .125s ease-in-out;
}
.m-input-select:focus {
  border-bottom-color: #5c6bc0;
}

/**LOADER --> .m-loader **/
.m-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.m-loader svg {
  animation: icon_loader_rotate 2s linear infinite;
  height: 60px;
  transform-origin: center center;
  width: 60px;
  margin: auto;
  margin-top: -5px;
}
.m-loader circle {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: icon_loader_dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #2699fb;
}
@keyframes icon_loader_rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes icon_loader_dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
