﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,300,300italic);

@font-face {
    font-family: 'oswald_regularregular';
    src: url('../fonts/oswald-regular-webfont.eot');
    src: url('../fonts/oswald-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/oswald-regular-webfont.woff') format('woff'), url('../fonts/oswald-regular-webfont.ttf') format('truetype'), url('../fonts/oswald-regular-webfont.svg#oswald_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
    width: 100%;
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 23px;
}

.login-main {
    display: inline-block;
    position: relative;
    width: 380px;
    vertical-align: middle;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 37px #0815420d;
    margin: 0 auto;
    background-color: #fff;
    padding:10px;
    margin:10px;
}

.loginpage {
    display: flex;
    width: 100%;
    height: 100%;
    /*background: url("../images/login-bg-grey.jpg") no-repeat center center;*/
    background-size: cover;
}

.columns {
    position: relative;
}

    .columns:not(.leftcol) {
        flex: 1 1 60%;
        background: url("../images/login-bg-grey.jpg") no-repeat;
        background-size: cover;
    }

    .columns.leftcol {
        position: relative;
        flex: 0 0 40%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.91), 0 1px 2px rgba(0, 0, 0, 0.52);
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        background-color: #f8f9fb;
    }

.heading h4 {
    font-size: 15px;
    color: #666;
}

.columns.leftcol:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    content: "";
    background: #f8f9fb;
    left: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.91), 0 1px 2px rgba(0, 0, 0, 0.52);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.logo {
/*    font-family: "oswald_regularregular";
    font-size: 0;
    box-sizing: border-box;*/
    display: flex;
/*    margin: 0 0 17px;
    padding: 0 0 17px;
    font-weight: bold;*/
    width: 100%;
    background-color: #fff;
    /*transition: all 0.3s cubic-bezier(.25,.8,.25,1);*/
/*    border-bottom: 1px solid #ccc;*/
    min-height: 105px;
    align-items: center;
    justify-content: center;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari 5+ ONLY */
    ::i-block-chrome, .logo {
        line-height: 24px;
    }
}

.logo img {
    max-width: 45px;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 5px;
}

.f-subtitle {
    font-family: "oswald_regularregular";
    font-size: 12px;
    font-weight: normal;
    line-height: 15px;
    color: #555;
    margin: 10px 0 0;
}

*::-moz-placeholder {
    color: #999;
}

.vd_grey {
    color: #777 !important;
}

.font-semibold {
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin: 0 0 10px;
    text-rendering: optimizelegibility;
}

.mgbt-xs-5 {
    margin-bottom: 5px !important;
}

.widget::before, .widget::after {
    content: " ";
    display: table;
}

.widget::after {
    clear: both;
}

.widget::before, .widget::after {
    content: " ";
    display: table;
}

.widget {
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.panel {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    box-shadow: none;
}

    .panel .panel-body::after, .panel .panel-body-list::after {
        clear: both;
    }

    .panel .panel-body::before, .panel .panel-body-list::before,
    .panel .panel-body::after, .panel .panel-body-list::after {
        content: " ";
        display: table;
    }

    .panel .panel-body {
        padding: 15px 0 15px;
    }

    .panel .panel-body, .panel .panel-body-list {
        position: relative;
    }

.vd_hidden {
    display: none;
}

.alert {
    border: medium none;
    padding: 18px;
}

.alert-danger {
    background-color: #f6e1db;
}

.vd_input-wrapper input, .vd_input-wrapper select {
    border: 1px solid #ccc;
    height: 44px;
    padding: 0 10px 0 32px;
    width: 100%;
    color: #333;
    border-radius: 4px;
}

.vd_input-wrapper select {
    padding-left: 29px;
}

.faceDetect {
    padding-right: 44px;
}

    .faceDetect .fa-camera {
        position: absolute;
        right: 0;
        top: 4px;
        color: #7e7e7e;
        font-size: 36px;
    }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .vd_input-wrapper input {
        padding-top: 2px;
    }
}

span.asterisk {
    display: none !important;
}

.form-horizontal .form-group {
    margin: 0;
}

.vd_input-wrapper {
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
}

    .vd_input-wrapper.focus {
        background: transparent;
    }

    .vd_input-wrapper .menu-icon {
        font-size: 17px;
        left: 8px;
        position: absolute;
        top: 3px;
        width: auto !important;
        line-height: inherit;
    }

        .vd_input-wrapper .menu-icon .fa {
            color: #ccc;
            text-shadow: none;
        }

#password-input-wrapper .menu-icon {
    font-size: 22px;
    left: 10px;
}

#company .menu-icon {
    font-size: 20px;
    left: 10px;
}

.vd_input-wrapper span {
    text-align: left;
    font-size: 12px;
    color: #fff;
    padding: 4px;
    width: 100%;
    float: left;
    line-height: normal;
    margin: 5px 0 !important;
}


.form-group.loginfields {
    margin: 0;
}

.vd_input-wrapper .validate-error {
    display: none;
}

.ng-invalid-email .vd_input-wrapper .validate-error {
    display: block;
}

.forgetpwcolor {
    color: #337ab7;
    font-size: 13px;
}

    .forgetpwcolor:hover {
        text-decoration: underline;
    }

a:hover, a:focus {
    color: #3c8dbc;
    outline: medium none;
    text-decoration: none;
}

.rememberstyl {
    color: #666 !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-right: 3px !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.vd_checkbox {
    text-align: left;
    margin: 0 0 10px;
}

.form-submit .button-blue {
    width: 100%;
}

.register-panel {
    clear: both;
    display: inline-block;
    margin: 40px 0 0;
    width: 100%;
}

    .register-panel a {
        color: #fff !important;
        display: inline-block;
        padding: 7px 0;
        width: 100%;
    }

.loginpage .button-orange {
    background-color: #7e7e7e;
    transition: all 0.3s ease;
    display: inline-block;
    border: medium none;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 16px !important;
    padding: 12px 10px;
    margin: 0;
    vertical-align: top;
    width: 100%;
}

.preload-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1000;
}

.preloadImg {
    position: absolute;
    width: 52px;
    height: 52px;
    padding: 8px;
    left: 50%;
    top: 50%;
    margin: -21px 0 0 -21px;
    border: 1px solid #00b4fb;
    background: #1e212b;
    box-shadow: 0 2px 12px 2px #000;
}

    .preloadImg img {
        display: block;
    }

.preloader {
    display: none
}

.field-validation-error {
    display: inline-block;
    width: 100%;
    padding: 4px;
    margin: 0 0 10px;
    background: #f10000;
    border-radius: 4px;
    color: #fff;
}

.CameraPopover {
    width: 480px;
    height: 480px;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .CameraPopover .camInner {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #000000;
    }

    .CameraPopover .closeCam {
        position: absolute;
        cursor: pointer;
        right: 98px;
        top: 20px;
        z-index: 1;
        background: #333;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: #fff;
        display: flex;
        justify-content: center;
        font-size: 21px;
        padding: 2px;
    }

    .CameraPopover canvas {
        transform: translate(-55%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;
    }

.login-register div video {
    position: absolute;
    bottom: 0;
}

@media only screen and (max-width:500px) {
    .login-main {
        width: 85%;
    }

    .columns.leftcol {
        position: relative;
        flex: 0 0 100%;
    }

    @media only screen and (max-width:480px) and (max-height:320px) {
        .login-main {
            padding: 30px 0 0;
            margin-top: 20px;
        }

        .panel .panel-body {
            padding: 0 25px;
        }

        .vd_input-wrapper span {
            display: block;
        }

        .panel-body div.form-group {
            margin-bottom: 5px;
        }

        .loginpage div.panel {
            margin-bottom: 5px;
        }
    }

    @media only screen and (max-width:500px) {
        .columns {
            display: none;
        }
    }
}

.ui.primary.button {
    box-shadow: 0 0 5px #007bff, 0 0 5px rgba(16, 185, 129, 0.2) !important;
}