.clear {
    clear: both;
}

* {
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: url('../images/page_bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    
    color: #3c3c3b;
}

a {
    text-decoration: none;
    color: inherit;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition:.5s;
}


a:hover,
a:focus {
}

img {
    max-width: 100%;
}


.wrapper {
    display: none;
    width: 350px;
    min-height: 150px;
    background: white;
    padding: 20px;
    position: absolute;
    right: 0px;
    left: 0px;
    margin: 100px auto;
    
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
}


.login_avatar {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}
.login_avatar img {
    width: 50%;
}

.login_avatar h1 {
    font-size: 18px;
    /*text-transform: uppercase;*/
}

.form-row {
    display: block;
    width: 100%;
    margin-bottom: 30px
}

#username {
    background: url('../images/icon_user_input_bg.png') no-repeat left center transparent;
}

#password {
    background: url('../images/icon_lock_input_bg.png') no-repeat left center transparent;
}

.input_text {
    display: block;
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: none;
    border-bottom: 1px solid #dedede;
    font-size: 12px;
}

.submit_btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    background: #329fda;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.submit_btn:hover {
    opacity: 0.8;
}

.forgot_password_link {
    font-size: 12px;
    display: block;
    width: 100%;
    text-align: center;
}


.back2site_row {
    text-align: center;
    display: block;
    width: 100%;
}

.back2site_btn {
    display: inline-block;
    margin: auto;
    text-transform: uppercase;
    background: white;
    color: #329fda;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 10px; 
    border: 1px solid #329fda;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}


span.validateError {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    color: red;
}


#forgot_password_wrapper {
    display: none;
}

.ajax_response {
    padding: 10px;
    width: 100%;
    font-size: 12px;
    margin-bottom: 30px;
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    
}


.ajax_response.error {
    background: red;
    color: white;
}

.ajax_response.success {
    background: yellowgreen;
    color: white;
}


.ajax_response.warning {
    background: orange;
    color: white;
}