/* +-----------------------------------------------------------------------------+
*    This file is subject to the terms and conditions defined in
*    file 'LICENSE.txt', which is part of this source code package.
* +------------------------------------------------------------------------------+
*/
/* 
    Created on : Apr 30, 2018, 12:10:51 PM
    Author     : Jubin
*/

/* Custom Fonts */
@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal; 
}
@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-italic.woff") format("woff");
    font-weight: 400;
    font-style: italic; 
}
@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-medium.woff") format("woff");
    font-weight: 600;
    font-style: normal; 
}
@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-mediumitalic.woff") format("woff");
    font-weight: 600;
    font-style: italic; 
}

/* Common Styles Starts */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: #e7e7e7;
}
::-webkit-scrollbar-thumb {
    background: #d1d3d5;
    border: 1px solid #d1d3d5;
}

::-webkit-input-placeholder {
    color: #cacaca !important;
}
::-moz-input-placeholder {
    color: #cacaca !important;
}

/* Common Style */
* {
    margin: 0;
    padding: 0;
}
html, body {
    margin: 0;
    height: 100%;
    font-family: 'Roboto';
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'Roboto';
}
p, li, ul, span, input {
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto';
    font-weight: 400;
    list-style: none;
}
a, submit, buttom, label, input {
    color: inherit;
    font-family: 'Roboto';
    font-weight: 400;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
a:hover, a:focus, a:active, input:focus,
.btn:hover, .btn:focus, .btn:active,
button:hover, button:focus, button:active {
    outline: none !important;
    text-decoration: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.clear {
    clear: both;
}

/* Select */
.custom-dropdown select.form-control, 
.custom-datepicker select.form-control {
    position: relative;
    z-index: 0;
    padding: 3px 30px 3px 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.custom-dropdown, 
.custom-datepicker {
    position: relative;
}

/* Custom Select */
.custom-dropdown::after, 
.custom-datepicker::after {
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    z-index: 4;
    width: 30px;
    height: 28px;
    font-family: 'Font Awesome 5 Pro';
    background: #f5f8fa;
    font-size: 12px;
    color: #8b959e;
    text-align: center;
    pointer-events: none;
    border-left: 1px solid #d7dfe5;
}

/* Custom Dropdown */
.custom-dropdown::after {
    content: "\f0d7";
    line-height: 25px;
}

/* Custom Datepicker */
.custom-datepicker::after {
    content: "\f073";
    line-height: 29px;
}

/* Checkbox */
.checkbox, .radio {
    position: relative;
    display: block;
}
input[type=checkbox], 
input[type=radio] {
    display: none;
}
input[type=checkbox]~.text, 
input[type=radio]~.text {
    padding-left: 0px;
    cursor: pointer;
    vertical-align: middle;
    color: #93969b;
    font-size: 12px;
    font-weight: 600;
}
input[type=checkbox]~.text:before, 
input[type=radio]~.text:before {
    position: absolute;
    top: 3px;
    left: 0;
    content: '';
    display: inline-block;
    width: 15px;
    height: 14px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 12px;
    text-align: left;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #808080;
    vertical-align: middle;
}

/* With Fontawesome */
input[type=checkbox]~.text:before {
    content: "\f0c8";
    vertical-align: bottom;
}
input[type=checkbox]:checked~.text:before {
    content: "\f14a";
    color: #3a5ba0;
}
input[type=checkbox]:checked~.text, 
input[type=radio]:checked~.text {
    color: #3a5ba0;
}

/* Radio Button */
input[type=radio]~.text:before {
    content: "\f111";
}
input[type=radio]:checked~.text:before {
    content: "\f058";
    color: #3a5ba0;
}

/*Disabled*/
input[type=checkbox][disabled]~.text, 
input[type=radio][disabled]~.text, 
input[type=checkbox][readonly]~.text, 
input[type=radio][readonly]~.text, 
input[type=checkbox][disabled]~.text:before, 
input[type=radio][disabled]~.text:before, 
input[type=checkbox][readonly]~.text:before, 
input[type=radio][readonly]~.text:before {
    color: #d8e0e6;
    cursor: not-allowed;
}

/* Buttons Style */
.btn-primary,
.btn-secondary {     
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
}
.btn-primary {
    color: #fff;
    border: 1px solid #3a5ba0;
    background-color: #3a5ba0;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #3a5ba0;
    background-color: #fff;
}
.btn-secondary {
    color: #000;
    border: 1px solid #f0f0f0;
    background-color: #f0f0f0;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #fff;
    border: 1px solid #dbdbdb;
}

/* Form Style Start */
.log-wrapper {
    float: left;
    width: 100%;
    height: 100%;
    background: url(../images/login_screen/password_reset/main-bg.png) no-repeat;
    background-size: cover;
    text-align: center;
}
.log-table {
    width: 360px;
    height: 100%;
    margin: 0 auto;
    padding: 25px 0px;
    display: table;
}
.log-cell {
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}
.logo-img,
.log-form,
.log-form .log-form-header,
.log-form .log-form-body,
.log-form .log-form-footer {
    display: block;
}
.logo-img {
    margin-bottom: 30px;
}
.log-form {
    display: table-cell;
    width: 360px;
    vertical-align: middle;
    height: 420px;
    padding: 35px 50px;
    background: #fff;
    position: relative;
    -webkit-box-shadow: 0px 1px 10px #e3e3e3;
    -moz-box-shadow: 0px 1px 10px #e3e3e3;
    box-shadow: 0px 1px 10px #e3e3e3;
}
.log-form .log-form-header img {
    margin-bottom: 15px;
}
.log-form .log-form-header h3,
.log-form .log-form-header h4,
.log-form .log-form-header h5 {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    margin-bottom: 10px;
}
.log-form .log-form-header span {
    color: #3a5ba0;
    font-size: 40px;
    margin-bottom: 4px;
    display: inline-block;
}
.log-form .log-form-header p {
    color: #898888;
    font-size: 13px;
    line-height: 19px;
    width: 251px;
    margin: 0 auto;
}
.log-form .log-form-body {
    padding: 35px 0px;
    padding-bottom: 25px;
}
.log-form .log-form-body .form-group {
    position: relative;    
}
.log-form .log-form-body .form-control {
    width: 100%;
    color: #000;
    padding: 7px 0px;
    border-color: #dcdcdc;
    border: 0px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    position: relative;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s;
    transition: border-color ease-in-out .15s;
}
.log-form .log-form-body textarea.form-control {
    color: #000;
    resize: vertical;
}
.log-form .log-form-body label {
    color: #585858;
    position: absolute;
    pointer-events: none;
    left: 0px;
    top: 10px;
    font-size: 13px;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.log-form .log-form-body input:focus,
.log-form .log-form-body .form-control:focus {
    border-bottom-color: #3a5ba0;
}
.log-form .log-form-body input:focus ~ label, 
.log-form .log-form-body input:valid ~ label,
.log-form .log-form-body textarea:focus ~ label,
.log-form .log-form-body textarea:valid ~ label {
    top: -12px;
    font-size: 13px;
    left: 0;
    font-weight: 600;
    color: #585858;
}
.log-form .log-form-body .verify-success {
    position: absolute;
    right: 0;
    top: 8px;
    color: #00b539;
    font-size: 13px;
}
.log-form .log-form-body .required-field {
    position: absolute;
    right: 0;
    top: 8px;
    color: #c50404;
    font-size: 13px;
}
.log-form .log-form-body .btn {
    display: block;
    width: 100%;
    margin-top: 10px;
}
.log-form .log-form-body .btn-primary {
    margin-top: 25px;
}
.log-form .log-form-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 25px 0px;
}
.log-form .log-form-footer a {
    font-size: 13px;
    font-weight: 600;
}
.log-form .log-form-footer a:hover {
    color: #3a5ba0;
}
/* Form Style End */

/* CSS hack only for Mozila Firefox */
@-moz-document url-prefix() { 
    .log-form .log-form-body .verify-success {
        font-size: 14px;
    }
}

/* CSS hack only for Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari and Chrome */
    /* Safari only override */
    ::i-block-chrome,.log-form .log-form-body .verify-success {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .log-table {
        width: 318px;
    }
    .log-form {
        padding: 35px 20px;
    }
}

@media (max-width: 319px) {
    body {
        display: none;
    }
}