@import url('./lib/jquery.jgrowl.min.css');
.af-message-success {
	background-color: green !important;
	width: 40vw;
}

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

.jGrowl-message {
	padding: 50px;
	text-align: center;
}

.af-message-info { background-color: black !important; }
.ajax_form.af_example {
    width: 100%;
}
.ajax_form.af_example .controls input,
.ajax_form.af_example .controls textarea {
    width: 100%;
}
.ajax_form .error {
    color: brown;
}

@media (max-width: 1200px) {
    .jGrowl.center {
        width: 60%;
        left: 20%;
    }
    
    .af-message-success {
    	width: 60vw;
    }

    .af-message-error {
    	width: 60vw;
    }
}

@media (max-width: 576px) {
    .jGrowl.center {
        width: 80%;
        left: 10%;
    }
    
    .af-message-success {
    	width: 80vw;
    }
    
    .af-message-error {
    	width: 80vw;
    }
}

@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%;
        margin-top: 5px;
    }
}