﻿/*
    * Created by: Bryan E. Avellana
    * Create date: November 03, 2017
*/

/* Company Image */

/* Header */
.header {
    position: fixed;
    left: 0;
    top: 0;
    height: 120px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

#company-image {
    height: 100%;
    width: auto;
}

/* Main Content */
#login-body {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

.outer-div {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle-div {
    display: table-cell;
    vertical-align: middle;
}

#login-container {
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    min-height: 400px;
}

#login-fields .panel {
    min-height: 400px;
    border-radius: 0;
    border: none;
    background-color: #fff;
}

#login-fields .panel-body {
    min-height: 400px;
    position: relative;
}

#login-fields #login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50.1%, -50.1%);
    width: 90%;
    padding: 15px;
}

#login-form .form-group {
    margin-bottom: 10px;
}

    #login-form .form-group:last-of-type {
        margin-top: 15px;
        margin-bottom: 0;
    }

#login-details {
    min-height: 400px;
    background-color: rgba(0, 0, 0, 0.7);
}

    #login-details .content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        width: 250px;
        height: auto;
    }

        #login-details .content img {
            width: 100%;
            min-height: 100%;
        }

.expiration-error {
    /*background-color: #af3f3c;*/
    text-align: center;
    /*font-size: 13px;
    color: #fff;
    padding: 2px;*/
    margin-bottom: 10px;
    font-size: 13px;
    color: #af3f3c;
    font-weight: bold;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px !important;
}

.validation-summary-errors li {
    /*background-color: #af3f3c;*/
    text-align: center;
    /*font-size: 13px;
    color: #fff;
    padding: 2px;*/
    font-size: 13px;
    color: #af3f3c;
    font-weight: bold;
    margin-bottom: 10px;
}

    .validation-summary-errors li:last-of-type {
        margin-bottom: 0 !important;
    }

.location-summary-errors ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px !important;
}

.location-summary-errors li {
    text-align: center;
    font-size: 13px;
    color: #af3f3c;
    font-weight: bold;
    margin-bottom: 10px;
}

    .location-summary-errors li:last-of-type {
        margin-bottom: 0 !important;
    }

#clockworkExpiration {
    text-align: center;
    font-size: 13px;
    color: #af3f3c;
    font-weight: bold;
}

#login-fields #services-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 15px;
}

.services-error-message {
    font-size: 13px;
    color: #af3f3c;
    font-weight: bold;
    text-align: center;
}

#successMessage {
    /*background-color: #347934;*/
    text-align: center;
    /*font-size: 13px;
    color: #fff;*/
    margin-bottom: 10px;
    /*padding: 2px;*/
    font-size: 13px;
    color: #347934;
    font-weight: bold;
}

#successMessageFP {
    /*background-color: #347934;*/
    text-align: center;
    /*font-size: 13px;
    color: #fff;*/
    margin-bottom: 10px;
    /*padding: 2px;*/
    font-size: 13px;
    color: #347934;
    font-weight: bold;
}

#leaveWarningMessage {
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #d2ab3d;
    font-weight: bold;
}

.no-radius {
    border-radius: 0 !important;
}

.portal-title {
    text-align: center;
    color: #ffffff;
    padding: 10px;
    background-color: #438eb9;
}

#powered-by {
    font-size: 9px;
    float: left;
}

    #powered-by img {
        width: 120px;
        height: auto;
        margin-top: -10px;
    }

#product-detail {
    float: right;
    padding-top: 10px;
}

/* Footer */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 75px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

/* Padding */
.no-padding-right {
    padding-right: 0;
}

/* Margin */
.margin-top-5 {
    margin-top: 5px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-top-bottom-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}


.margin-top-bottom-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-top-bottom-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Fonts */
.font-8 {
    font-size: 8px;
}

.font-12 {
    font-size: 12px;
}

/* Online Time Entry */
.btn-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(44, 104, 138, 0.5);
    position: fixed;
    bottom: 8px;
    right: 20px;
    cursor: pointer;
    -webkit-box-shadow: inset 1px 6px 12px rgba(67, 142, 185, 0.5), inset -1px -10px 5px rgba(44, 104, 138, 0.5);
    -moz-box-shadow: inset 1px 6px 12px rgba(67, 142, 185, 0.5), inset -1px -10px 5px rgba(44, 104, 138, 0.5);
    box-shadow: inset 1px 6px 12px rgba(67, 142, 185, 0.5), inset -1px -10px 5px rgba(44, 104, 138, 0.5);
}

.clock {
    color: white;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 55px;
    font-size: 35px;
    font-family: 'Roboto';
    font-weight: 300;
    transition: all 0.3s;
}

/* Online Time Entry Modal */
@media (min-width: 768px) {
    #modalOTE > .modal-sm {
        width: 450px;
    }

    #btnRow {
        margin-left: -15px !important;
        margin-right: -20px !important;
    }

    .btn-col {
        padding-right: 5px !important;
    }

    /*#btnRow {
        padding-right: 10px !important;
    }*/

    .btn-left-padding {
        padding-left: 10px !important;
    }

    .btn-right-padding {
        padding-right: 10px !important;
    }
}

#modalOTE .modal-content {
    border: none;
    border-radius: 0;
}

#modalOTE .modal-header {
    text-align: center;
    padding: 10px 15px;
    background-color: #438eb9;
}

.btn-ote {
    width: 100%;
    border-radius: 0;
    border: 1px solid transparent !important;
    margin-bottom: 5px !important;
}

    .btn-ote:focus, .btn-ote:active:focus, .btn-ote.active:focus, .btn-ote.focus, .btn-ote:active.focus, .btn-ote.active.focus {
        outline: none;
    }

#btnRow {
    padding: 0 15px;
}

.btn-col {
    padding: 0;
}

.btn-label-margin {
    margin-top: 3px !important;
    margin-bottom: 4px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.btn-separator-left {
    padding-left: 2px;
}

.btn-separator-right {
    padding-right: 2px;
}

/* Forgot Password Modal */
@media (min-width: 768px) {
    #modalFP > .modal-sm {
        width: 380px;
    }
}

#modalFP .modal-content {
    border: none;
    border-radius: 0;
}

    #modalFP .modal-content .form-group:last-of-type {
        margin-bottom: 0;
    }

#modalFP .modal-header {
    text-align: center;
    padding: 10px 15px;
    background-color: #438eb9;
}

/* User Registration Modal */
@media (min-width: 768px) {
    #modalUR > .modal-sm {
        width: 380px;
    }
}

#modalUR .modal-content {
    border: none;
    border-radius: 0;
}

    #modalUR .modal-content .form-group:last-of-type {
        margin-bottom: 0;
    }

#modalUR .modal-header {
    text-align: center;
    padding: 10px 15px;
    background-color: #438eb9;
}

/* Icon Shake */
.shake {
    display: inline-block;
    -moz-animation: ringing 2.0s 9999999 ease 1.0s;
    -webkit-animation: ringing 2.0s 9999999 ease 1.0s;
    -o-animation: ringing 2.0s 9999999 ease 1.0s;
    -ms-animation: ringing 2.0s 9999999 ease 1.0s;
    animation: ringing 2.0s 9999999 ease 1.0s;
    -moz-transform-origin: 50% 0%;
    -webkit-transform-origin: 50% 0%;
    -o-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
}

@-moz-keyframes ringing {
    0% {
        -moz-transform: rotate(-15deg);
    }

    2% {
        -moz-transform: rotate(15deg);
    }

    4% {
        -moz-transform: rotate(-18deg);
    }

    6% {
        -moz-transform: rotate(18deg);
    }

    8% {
        -moz-transform: rotate(-22deg);
    }

    10% {
        -moz-transform: rotate(22deg);
    }

    12% {
        -moz-transform: rotate(-18deg);
    }

    14% {
        -moz-transform: rotate(18deg);
    }

    16% {
        -moz-transform: rotate(-12deg);
    }

    18% {
        -moz-transform: rotate(12deg);
    }

    20% {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes ringing {
    0% {
        -webkit-transform: rotate(-15deg);
    }

    2% {
        -webkit-transform: rotate(15deg);
    }

    4% {
        -webkit-transform: rotate(-18deg);
    }

    6% {
        -webkit-transform: rotate(18deg);
    }

    8% {
        -webkit-transform: rotate(-22deg);
    }

    10% {
        -webkit-transform: rotate(22deg);
    }

    12% {
        -webkit-transform: rotate(-18deg);
    }

    14% {
        -webkit-transform: rotate(18deg);
    }

    16% {
        -webkit-transform: rotate(-12deg);
    }

    18% {
        -webkit-transform: rotate(12deg);
    }

    20% {
        -webkit-transform: rotate(0deg);
    }
}

@-ms-keyframes ringing {
    0% {
        -ms-transform: rotate(-15deg);
    }

    2% {
        -ms-transform: rotate(15deg);
    }

    4% {
        -ms-transform: rotate(-18deg);
    }

    6% {
        -ms-transform: rotate(18deg);
    }

    8% {
        -ms-transform: rotate(-22deg);
    }

    10% {
        -ms-transform: rotate(22deg);
    }

    12% {
        -ms-transform: rotate(-18deg);
    }

    14% {
        -ms-transform: rotate(18deg);
    }

    16% {
        -ms-transform: rotate(-12deg);
    }

    18% {
        -ms-transform: rotate(12deg);
    }

    20% {
        -ms-transform: rotate(0deg);
    }
}

@keyframes ringing {
    0% {
        transform: rotate(-15deg);
    }

    2% {
        transform: rotate(15deg);
    }

    4% {
        transform: rotate(-18deg);
    }

    6% {
        transform: rotate(18deg);
    }

    8% {
        transform: rotate(-22deg);
    }

    10% {
        transform: rotate(22deg);
    }

    12% {
        transform: rotate(-18deg);
    }

    14% {
        transform: rotate(18deg);
    }

    16% {
        transform: rotate(-12deg);
    }

    18% {
        transform: rotate(12deg);
    }

    20% {
        transform: rotate(0deg);
    }
}

@media (min-width: 1200px) {
    #login-container {
        padding-top: 0;
    }
}

@media (min-width: 992px) {
    #login-container {
        padding-top: 70px;
    }
}

@media (min-width: 768px) {
    #login-container {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    #login-container {
        padding-top: 70px;
    }

    /*#btnTimeOut, #btnBreakIn, #btnBreakOut {
        margin-top: 11px;
    }*/

    .vl-separator {
        display: none;
    }
}

@media (max-height: 610px) {
    .footer {
        background-color: transparent;
    }
}

.vl-separator {
    border-left: 1px solid #ccc;
    position: absolute;
    left: 50%;
}