@charset "UTF-8";

.az-subform {
    margin-bottom: 20px;
    position: relative;
}

.az-subform-success {
    font-size: 1.375rem;
    line-height: 24px;
    color: #FFFFFF;
    font-weight: 600;
    background: url("/modules/custom/az_subform/css/subscribe-check.svg") 0 8px no-repeat;
    /*background: url(../img/subscribe-check.svg) 0 8px no-repeat;*/
    padding-left: 32px;
    margin: 28px 0 32px;
}

.az-subform__elements {
  display: -ms-flexbox;
  display: flex;
}

.az-subform__error {
    font-size: 0.875rem;
    line-height: 18px;
    position: absolute;
    top: 44px;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    color: #E0716F;
}

.az-subform__error_visible {
    opacity: 1;
}

.az-subform__disabled button span {
  display: none;
}

.az-subform__disabled .az-subform__elements {
  opacity: 0.5;
}

.az-subform__input {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    padding: 0 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    outline: none;
    border-radius: 0;
    font-family: 'Source Sans Pro';
    height: 40px;
    -ms-flex: 1;
    flex: 1;
    border: solid 1px #FFFFFF;
    border-right: none;
    transition: border 0.3s;
}

.az-subform__input :-ms-input-placeholder {
    color: #AEAEAE;
}

.az-subform__input ::placeholder {
    color: #AEAEAE;
}

.az-subform_invalid .az-subform__input {
    border-color: #E1312F;
}

.az-subform__submit {
    font-size: 1.125rem;
    line-height: 40px;
    height: 40px;
    padding: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 0;
    background-color: #e63131;
    background-image: linear-gradient(90deg, #e63131 0%, #ff6a00 50%, #e63131 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    transition: all 0.3s;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    margin-left: -2px;
}

.az-subform__submit:active {
    background-color: #E30100;
    background-image: none;
}

.az-subform__submit:hover {
    background-position: -100% 0;
}

.az-subform .azimut7-loader {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
    .az-subform__submit {
        min-width: 56px;
    }

    .az-subform .azimut7-loader {
      right: 16px;
    }
}

@media (min-width: 768px) {
    .az-subform__submit {
        min-width: 88px;
    }

    .az-subform .azimut7-loader {
      right: 32px;
    }
}

@media (min-width: 1024px) {
    .az-subform__submit {
        min-width: 72px;
    }

    .az-subform .azimut7-loader {
      right: 24px;
    }
}

@media (min-width: 1256px) {
    .az-subform__submit {
        min-width: 88px;
    }

    .az-subform .azimut7-loader {
      right: 32px;
    }
}
