@import url('./lib/jquery.jgrowl.min.css');

.af-message-success {
    background-color: #006170 !important;
}

.af-message-error {
    background-color: brown !important;
}

.af-message-info {
    background-color: black !important;
}

.ajax_form.af_example {
    width: 50%;
}

.ajax_form.af_example .controls input,
.ajax_form.af_example .controls textarea {
    width: 100%;
}

.ajax_form .error {
    color: brown;
}

.form-group {
    display: block;
    width: 100%;
    padding: 10px;
    font-family: "Montserrat";
line-height: 1.3;
    letter-spacing: -0.02em;
    font-size: 16px;
    font-weight: 500;

}

.form-control {
    display: block;
    width: 100%;
    padding: 10px;
    font-family: "Montserrat";
    color: #394041;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 1px solid #5F928C;
}

.btn-default {
    white-space: nowrap;
    border-radius: 10px;
    padding: 10px 50px;
    cursor: pointer;
    background-color: #D3D3D3;
    font-family: "Montserrat";
    color: #1F504B;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    font-weight: 500;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    white-space: nowrap;
    border-radius: 10px;
    padding: 10px 50px;
    cursor: pointer;
    background-color: #FDFEFE;
    font-family: "Montserrat";
    color: #006170;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    font-weight: 500;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.btn-primary:hover {
    background-color: #006170;
    color: #FDFEFE;
}

@media(max-width:1199px) {
    .ajax_form.af_example {
        width: 70%;
    }
}

@media(max-width:743px) {
    .ajax_form.af_example {
        width: 100%;
    }
}

@media(max-width:515px) {
    .btn-primary {
        width: 100%;

    }

    .btn-default {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 320px) {
    .ajax_form.af_example .controls button[type="submit"] {
        float: right;

    }
}

@media screen and (max-width: 320px) {
    .ajax_form.af_example .controls button {
        width: 100%;

    }
}