 @media screen and (min-width: 789px) and (max-width: 1699px)
 {
     .login-container {
        width: 375px;
        margin: 0 auto;
        }
 }
 @media screen and (min-width: 124px) and (max-width: 789px)
 {
    .login-container {
    /*width: 375px;*/
    margin: 0 auto;
    } 
 }

body{ background: #dfe0e2 url(pattern7.png); }

.green {color: #69aa46!important;}
.red {color: #dd5a43!important;}
.grey {color: #777!important;}
.blue {color: #478fca!important;}

.error{color: red;}

.main-content {
    margin-left: 0!important;
    margin-right: 0!important;
    min-height: 100%;
    padding-left: 15px;
    padding-right: 15px;
}



.space {
max-height: 1px;
min-height: 1px;
overflow: hidden;
margin: 12px 0;
}
.space-4, [class*=vspace-4] {
max-height: 1px;
min-height: 1px;
overflow: hidden;
margin: 4px 0 3px;
}
.space-6, [class*=vspace-6] {
    max-height: 1px;
    min-height: 1px;
    overflow: hidden;
    margin: 6px 0 5px;
}
.space-24, [class*=vspace-24] {
max-height: 1px;
min-height: 1px;
overflow: hidden;
margin: 24px 0 23px;
}

.position-relative{ position: relative;}

.widget-box.no-border {
border-width: 0;
}

.widget-box {
padding: 0;
-webkit-box-shadow: none;
box-shadow: none;
margin: 3px 0;
border: 1px solid #CCC;
}

.no-border {
border-width: 0;
}



/* ----------------------------------------------- Login Box -------------------------------------------------- */

.light-login .widget-box.login-box {
background-color: #BCC6CF;
background-color: rgba(100,110,120,.4);
}

.login-layout .widget-box.visible {
visibility: visible;
position: relative;
z-index: auto;
-moz-transform: scale(1,1) translate(0);
-webkit-transform: scale(1,1) translate(0);
-o-transform: scale(1,1) translate(0);
-ms-transform: scale(1,1) translate(0);
transform: scale(1,1) translate(0);
transition: transform .3s ease;
-moz-transition: -moz-transform .3s ease;
-webkit-transition: -webkit-transform .3s ease;
-o-transition: -o-transform .2s ease;
}

.light-login .widget-box {
padding: 1px 1px 0 !important;
-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,.12) !important;
box-shadow: 0 0 2px 1px rgba(0,0,0,.12) !important;
border-bottom: 1px solid rgba(50,50,50,.33) !important;
}

.login-layout .widget-box {
visibility: hidden;
position: fixed;
z-index: -5;
border-bottom: none;
box-shadow: none;
padding: 6px;
background-color: #394557;
-moz-transform: scale(0,1) translate(-150px);
-webkit-transform: scale(0,1) translate(-150px);
-o-transform: scale(0,1) translate(-150px);
-ms-transform: scale(0,1) translate(-150px);
transform: scale(0,1) translate(-150px);
}

.widget-body {
background-color: #FFF;
}

.login-layout .login-box .widget-main {
padding-bottom: 16px;
}
.login-layout .widget-box .widget-main {
padding: 16px 36px 36px;
background: #F7F7F7;
}

.widget-main {
padding: 12px;
}

.header.blue {
border-bottom-color: #d5e3ef;
}

h4.bigger {
font-size: 19px;
}

.header {
line-height: 28px;
margin-bottom: 16px;
margin-top: 18px;
padding-bottom: 4px;
border-bottom: 1px solid #CCC;
}

.lighter {
font-weight: lighter;
}

.login-layout .widget-box .widget-main form {
margin: 0;
}

.widget-main>form, 
.widget-main>form .input-append, 
.widget-main>form .input-prepend {
margin-bottom: 0;
}

.login-layout label {
margin-bottom: 11px;
}

.block {
display: block!important;
}

label {
font-weight: 400;
font-size: 14px;
}

span.input-icon {
display: inline-block;
}

.input-icon {
position: relative;
}

.block {
display: block!important;
}

.input-icon.input-icon-right>input {
padding-left: 6px;
padding-right: 24px;
}
.input-icon>input {
padding-left: 24px;
padding-right: 6px;
}

.input-icon.input-icon-right>.ace-icon {
left: auto;
right: 3px;
}
.input-icon>.ace-icon {
padding: 0 3px;
z-index: 2;
position: absolute;
top: 1px;
bottom: 1px;
left: 3px;
line-height: 37px;
display: inline-block;
color: #909090;
font-size: 16px;
}
.ace-icon {
text-align: center;
}

.social-or-login {
margin-top: 4px;
text-align: center;
position: relative;
z-index: 1;
}
.social-or-login :first-child {
display: inline-block;
background: #F7F7F7;
padding: 0 8px;
color: #5090C1;
font-size: 13px;
}
.social-or-login:before {
content: "";
display: block;
position: absolute;
z-index: -1;
top: 50%;
left: 0;
right: 0;
border-top: 1px dotted #A6C4DB;
}
.bigger-110 {
font-size: 110%!important;
}
.social-login a>.ace-icon {
font-size: 24px;
margin: 0;
}

.social-login .btn-primary, 
.social-login .btn-primary:focus {
background-color: #428bca!important;
border-color: #428bca;
}

.social-login .btn-danger, 
.social-login .btn-danger:focus {
background-color: #d15b47!important;
border-color: #d15b47;
}

.light-login .widget-box .toolbar {
border-top-width: 1px;
}
.login-box .toolbar {
    background: #3c8dbc;
    border-top: 2px solid #3c8dbc;
}

.login-box .toolbar>div {
width: 50%;
display: inline-block;
padding: 9px 0 11px;
}
.login-box .toolbar>div:first-child {
float: left;
text-align: left;
}
.login-box .toolbar>div:first-child+div {
float: right;
text-align: right;
}

.login-layout .widget-box .widget-body .toolbar>div>a {
font-size: 15px;
font-weight: 400;
text-shadow: 1px 0 1px rgba(0,0,0,.25);
}
.login-box .toolbar>div:first-child>a {
margin-left: 11px;
}
.login-box .forgot-password-link {
color: #FE9;
}
.login-box .toolbar>div:first-child+div>a {
margin-right: 11px;
}
.login-box .user-signup-link {
color: #CF7;
}

/* ----------------------------------------------- Login Box -------------------------------------------------- */

/* ---------------------------------------------- Forgot Box -------------------------------------------------- */

.light-login .widget-box.forgot-box {
background-color: #D2C5C5;
background-color: rgba(120,110,100,.4);
}

.forgot-box .toolbar {
background: #C16050;
border-top: 2px solid #976559;
padding: 9px 18px;
}
.forgot-box .back-to-login-link, 
.signup-box .back-to-login-link {
color: #FE9;
font-size: 14px;
font-weight: 700;
text-shadow: 1px 0 1px rgba(0,0,0,.25);
}

/* ---------------------------------------------- Forgot Box -------------------------------------------------- */

/* ---------------------------------------------- Signup Box -------------------------------------------------- */

.light-login .widget-box.signup-box {
background-color: #C1CEC4;
background-color: rgba(110,120,100,.4);
}

.signup-box .toolbar {
background: #76B774;
border-top: 2px solid #759759;
padding: 9px 18px;
}

/* ---------------------------------------------- Signup Box -------------------------------------------------- */
