body,
html {
font-family: 'Verdana', sans-serif;
font-size: 12px;
color: #515974;
line-height: 24px;
height: 100%;
background-image: url('../images/bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}

*,
*:before,
*:after {
box-sizing: border-box;
}

a {
text-decoration: none;
color: #005da2;
}

a:hover {
text-decoration: none;
}

a:focus,
a:hover {
color: #005da2;
text-decoration: none;
}

.container {
display: table;
position: absolute;
height: 100%;
width: 100%;
max-width: 100% !important;
}

.main {
margin: 0 auto;
display: table-cell;
vertical-align: middle;
}

.container .row {
margin-left: 0px !important;
margin-right: 0px !important;
}

.main-login {
background-color: #fff;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
margin: 0 auto;
max-width: 500px;
}

.form-horizontal .form-group {
margin-right: 0px;
margin-left: 0px;
}

.heading {
    color: #fff;
    background: linear-gradient(135deg, #002B55, #00BFFF);
    border-color: #ddd;
    height: 60px;
    padding: 0px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.heading-title {
margin-top: 0;
margin-bottom: 0;
font-size: 20px;
color: inherit;
text-transform: uppercase;
text-align: center;
line-height: 60px;
}

.form-section {
padding: 20px 25px;
}

.btn-primary {
background-color: #005da2;
border: 1px solid #005da2;
}

.btn-primary:hover {
background-color: #005da2;
border-color: #005da2;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
color: #fff;
background-color: #005da2;
border-color: #005da2;
}

.btn-primary.focus,
.btn-primary:focus {
color: #fff;
background-color: #005da2;
border-color: #005da2;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
color: #fff;
background-color: #005da2 !important;
border-color: #005da2 !important;
}

.btn-primary.focus,
.btn-primary:focus {
color: #fff;
background-color: #005da2 !important;
border-color: #005da2 !important;
}

.btn-signin {
font-size: 14px !important;
font-weight: bold !important;
text-transform: uppercase;
width: 100% !important;
border-radius: 4px;
height: 43px !important;
}

.btn-small {
width: 49% !important;
height: 43px !important;
font-weight: bold !important;
font-size: 14px !important;
border-radius: 4px !important;
float: left;
}

.btn-large {
width: 100% !important;
height: 43px !important;
font-weight: bold !important;
font-size: 14px !important;
border-radius: 4px !important;
}

.forgot_pwd {
float: right;
display: inline-block;
}

input,
input::-webkit-input-placeholder {
color: #a5a6bb;
font-size: 12px !important;
padding-top: 3px;
outline: none !important;
border-radius: 0px;
border-bottom: 1px solid #cecece;
}

.form-control {
height: 42px;
font-size: 12px;
color: #a5a6bb;
background-color: #fff;
background-image: none;
border: none;
}

.input-group-addon {
padding: 6px 15px 6px 0px;
font-size: 18px;
font-weight: 400;
line-height: 1;
color: #a5a6bb;
text-align: center;
background-color: transparent;
border: none;
border-radius: 4px;
}

.zmdi {
font-size: 18px;
}

.form-group a.pull-right {
text-decoration: none;
}

.form-group .checkbox {
display: inline;
}

label {
display: inline-block;
font-weight: normal;
}

input:focus ~ label,
textarea:focus ~ label,
input:valid ~ label,
textarea:valid ~ label {
font-size: 0.75em;
color: #005da2 !important;
top: -2.25rem;
-webkit-transition: all 0.125s ease;
transition: all 0.125s ease;
}

.input-field label {
color: #005da2;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
background-color: #fff !important;
transition: background-color 5000s ease-in-out 0s;
background-image: none;
color: rgb(0, 0, 0);
}

[type="checkbox"] + label {
top: 0px !important;
color: #515974 !important;
line-height: 20px !important;
font-size: 12px !important;
}

.styled-input {
float: left;
width: 100%;
margin: 0rem 0 0px;
position: relative;
}

.styled-input label {
color: #a5a6bb;
padding: 1rem 1rem 1rem 0rem;
font-size: 12px;
position: absolute;
top: 0;
left: 0;
-webkit-transition: all 0.25s ease;
transition: all 0.25s ease;
pointer-events: none;
}

input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]),
input[type=email]:focus:not([readonly]),
input[type=url]:focus:not([readonly]),
input[type=time]:focus:not([readonly]),
input[type=date]:focus:not([readonly]),
input[type=datetime-local]:focus:not([readonly]),
input[type=tel]:focus:not([readonly]),
input[type=number]:focus:not([readonly]),
input[type=search]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
border-bottom: 1px solid #005da2;
box-shadow: 0 1px 0 0 #005da2;
}

input[type=text]:focus:not([readonly]) + label,
input[type=password]:focus:not([readonly]) + label,
input[type=email]:focus:not([readonly]) + label,
input[type=url]:focus:not([readonly]) + label,
input[type=time]:focus:not([readonly]) + label,
input[type=date]:focus:not([readonly]) + label,
input[type=datetime-local]:focus:not([readonly]) + label,
input[type=tel]:focus:not([readonly]) + label,
input[type=number]:focus:not([readonly]) + label,
input[type=search]:focus:not([readonly]) + label,
textarea.materialize-textarea:focus:not([readonly]) + label {
color: #005da2;
}

[type="checkbox"].filled-in:checked + label:after {
border: 2px solid #005da2;
background-color: #005da2;
}

.modal-backdrop {
height: 100% !important;
}

.modal {
display: none;
position: fixed;
left: 0;
right: 0;
background-color: #fafafa;
padding: 0;
max-height: 100%;
width: 100%;
margin: auto;
overflow-y: auto;
border-radius: 2px;
will-change: top, opacity;
}

.modal .modal-content {
padding: 0px;
}

h4.modal-title {
font-size: 14px;
line-height: 1.42857143;
}

[type="radio"] + label {
    line-height: 20px !important;
    height: 20px !important;
}

[type="radio"]:not(:checked) + label:before {
border-radius: 50%;
border: 2px solid #005da2 !important;
}

[type="radio"].with-gap:checked + label:before {
border-radius: 50%;
border: 2px solid #005da2 !important;
}

[type="radio"].with-gap:checked + label:after {
border-radius: 50%;
border: 2px solid #005da2 !important;
background-color: #005da2 !important;
z-index: 0;
-webkit-transform: scale(.5);
-moz-transform: scale(.5);
-ms-transform: scale(.5);
-o-transform: scale(.5);
transform: scale(.5);
}

@media screen and (min-width :320px) and (max-width: 480px) {
.main-login {
max-width: 300px;
}

[type="checkbox"] + label {
display: block !important;
}

.forgot_pwd {
float: none;
display: block;
}
}

@media screen and (min-width: 481px) and (max-width: 639px) {
.main-login {
max-width: 400px;
}
}

@media screen and (max-width: 768px) {
.btn-small {
width: 100% !important;
margin-bottom: 10px;
}

.pull-right {
float: none;
margin-bottom: 0px;
}
}

@media screen and (min-width: 640px) {
.main-login {
max-width: 500px;
}
}