body {
    font-size: 14px;
    background-color: #f2f2f2;
}

.container {
    width: 100%;
}
.background {
    position: absolute;
    width: 92%;
    height: 600px;
}
.background img{
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 2% 3%;
    border-radius: 15px;
}
.background .layer {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 2% 3%;
    background-color: rgba(0, 0, 0, 0.38);
    border-radius: 15px;
    z-index: -1;
}

footer{
    position: relative;
    float: right;
    margin-top: -4%;
    color: #BFBFBF;
    font-size: 10px;
    font-family: 'Helvetica Light', Arial, sans-serif;
}
#forgotbox {
    display: none;
    margin-top: 150px;
}

#loginbox {
    margin-top: 150px;
}

.panel-info {
    border: 1px solid #ccc;
    border-radius: 12px;
    width: 330px;
}
.panel-heading {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.panel-heading a {
    float:right; 
    font-size: 85%; 
    position: relative; 
    top:-10px;
}
.panel-info .panel-heading {
    background-color: #d9d9d9;
    border-color: #979797;
}
.panel-body {
    padding-top: 30px;
}
.panel-info .panel-body {
    background-color: #f2f2f2;
    border-color: #ccc;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.panel-title {
    font-size: 14;
    color: #000;
}
.panel-title img {
    float: left;
    width: 30px;
    height: 30px;
    margin-top: -5px;
}
.panel-title h5 {
    display: inline;
    text-align: center;
}
.panel-title label {
    color: #F37E1A;
    font-weight: bold;
    text-align: center;
}
.alert {
	margin-top: -10px;
}

.control a {
    color: #F37E1A;
    float: right;
    font-size: 12px;
    margin-right: 35%;
}
.control a:hover {
    text-decoration: none;
    color: #fff;
}

.user-input {
    margin-bottom: 25px;
}

input[type=text], input[type=password] {
    outline: none;
    border-radius: 8px;
    -moz-outline-radius: 8px;
}
input[type=text]:focus, input[type=password]:focus {
    outline: none;
    border-color: #ffc266;
    -webkit-box-shadow: 0 3px 3px rgba(255, 153, 0, 0.28);
    box-shadow: 0 5px 5px rgba(255, 153, 0, 0.28);
}

input[type=submit] {
    outline: none;
    float: right;
    margin-right: 30px;
    font-size: 13px;
    font-weight: bold;
    color: #595959;
    text-align: center;
    padding: 0 10px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: linear-gradient(#e6e6e6, #d7d7d7);
}
input[type=submit]:hover {
    background: #d7d7d7;
    cursor: pointer;
}

@media (min-width: 992px) and (max-width: 1200px){
    .col-md-offset-8 {
        margin-left: 60%;
    }
}
@media (min-width: 768px) and (max-width: 992px){
    .col-md-offset-8 {
        margin-left: 50%;
    }
}
@media (min-width: 468px) and (max-width: 768px){
    .col-md-offset-8 {
        margin-left: 28%;
    }
}
@media (max-width: 468px){
    .col-md-offset-8 {
        margin: auto;
        align: center;
    }
}
