html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #292f48;
    min-height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1 0;
    padding: 30px 30px;
    background-color: #f3f5f7;
    box-shadow: inset -5px 5px 5px #eee;
}


.gh_loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    background-image: url("/v4/img/loader.gif");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000;
    -ms-filter: "alpha(opacity=80)";
    filter: alpha(opacity=80);
    opacity: .8
}

.p_relative {
    position: relative
}

#signUpPage,
#signInPage {
    margin-top: 31px;
    /*margin-bottom: 300px;*/
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#signUpPage input.error,
#signInPage input.error {
    background-color: rgba(224, 67, 39, 0.1);
    border-color: #e04327;
}

#signUpPage label.error,
#signInPage label.error {
    color: #e04327;
}

.country-select-dropdown {
    display: flex;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.country-select-dropdown > a {
    padding-right: 10px;
}

.country-select-dropdown > a:after {
    position: absolute;
    right: 0;
    top: 13px;
}

.country-select-dropdown .dropdown-item.selected {
    pointer-events: none;
    background-color: #f8f9fa;
}

.country-select-dropdown .dropdown-item.selected:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    color:  var(--theme-color-active-main);
    content: '\f00c';
}

.hint {
    font-weight: normal;
    font-size: 12px;
    color: #999;
}

.hidden {
    display: none !important;
}

.form_error {
    padding: 5px; 
    border-radius: 5px;
    border: 1px solid #e04327;
    background-color: rgba(224, 67, 39, 0.1);
}

.margin_bottom_0 {
    margin-bottom: 0px !important;
}

.sync-card-content {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sync-card-message {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.sync-card-progress {
    text-align: center;
    width: 80%;
}

.sync-card-progress .progress-bar {
    background-color: var(--theme-color-main);
}

.progress-circle {
    margin: 0.5rem auto 0;
    height: 50px;
    width: 50px;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 100px;
    border: 5px transparent solid;
    border-top: 5px var(--theme-color-main) solid;
    animation: rotate 2s infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.sign-up-page-error {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #e04327;
    background-color: rgba(224, 67, 39, 0.1);
    color: #e04327;
    font-size: 14px;
    font-weight: 600;
    margin: 30px 0;
    text-align: center;
}

.align-group-center {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center
}

.align-group-space-between {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center
}

.align-group-flex-start {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center
}

.align-group-flex-end {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center
}


/* web clocks start */
.web-clock-name-container {
    background: #292F48 padding-box;
    color: #fff;
    font-size: 0.8rem;
}

.web-clock-time-container {
    background: #383E56 padding-box;
    color: #fff;
}

.web-clock-time-container .date-container {
    font-size: 1.2rem;
}


.web-clock-time-container .time-container {
    font-size: 2rem;
    font-weight: 600;
}

.web-clock-pin-pad-container {
    background: #E5E5E5;
    min-height: 500px;
}

.web-clock-pin-pad {
    background: #fff;
    box-shadow: 0 15px 29px rgba(89, 102, 122, 0.2);
    border-radius: 18px;
}

.web-clock-pin-pad .pin-pad-item {
    font-weight: bold;
    width: 150px;
    height: 68px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: 1px solid rgba(214, 214, 214, 0.6);
    border-top: none !important;
    border-left: none !important;
    transition: background 0.3s ease;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ and Edge */
    user-select: none; /* Standard syntax */
}

.web-clock-pin-pad-row:first-child .pin-pad-item {
    border-top: none !important;
}

.web-clock-pin-pad-row:last-child .pin-pad-item {
    border-bottom: none !important;
}


.web-clock-pin-pad-row:first-child .pin-pad-item:first-child {
    border-top-left-radius: 18px;
}

.web-clock-pin-pad-row:first-child .pin-pad-item:last-child {
    border-top-right-radius: 18px;
}

.web-clock-pin-pad-row:last-child .pin-pad-item:first-child {
    border-bottom-left-radius: 18px;
}

.web-clock-pin-pad-row:last-child .pin-pad-item:last-child {
    border-bottom-right-radius: 18px;
}

.pin-pad-item:first-child {
    border-left: none !important;
}

.pin-pad-item:last-child {
    border-right: none !important;
}


.web-clock-pin-pad .pin-pad-item:hover {
    background: #F4F5F7;
}

.pin-code-input-item {
    width: 30px;
    height: 42px;
    position: relative;
}

.pin-code-input-item.empty {
    border-bottom: 2px solid #000;
}

.web-clock-pin-input input {
    display: none;
}


.pin-code-input-item:not(.empty)::after {
    content: "\25CF";
    position: absolute;
    top: 0;
    left: 6px;
    color: #000;
    font-size: 2rem;
    line-height: 42px !important;
}


div.web-clock-pin-input > div.pin-code-input-element {
    animation: pinCodeShake 0.2s ease-in-out 0s infinite normal none paused;
}

@keyframes pinCodeShake {
    0% {margin-left: 0}
    25% {margin-left: 15px}
    50% {margin-left: 0}
    75% {margin-left: -15px}
    100% {margin-left: 0}
}

label.error {
    color: #e04327;
}


input.form-control.error {
    background-color: rgba(224, 67, 39, 0.1);
    border: 1px solid #dc3545;
}

.gh-tooltip-item:hover + .gh-tooltip{
    display: block !important;
}


.gh-tooltip {
    position: absolute;
    background: #fff;
    box-shadow: 0 7px 22px rgba(89, 102, 122, 0.2);
    border-radius: 2px;
    bottom: calc(100% + 13px);
    left: 0;
    padding: 1rem;
    font-weight: normal;
    min-width: 300px;
    display: none;
}

/* web clocks end*/
.gh-tooltip:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 10px;
    height: 20px;
    width: 20px;
    transform: rotate(45deg);
    transform-origin: 0 100%;
    background: #fff;
}

.pie-plain-footer-hr {
    height: 3rem;
}

.web-clock-pie-plain-footer {
    position: absolute;
    width: 100%;
    bottom: 15px;
}

.flex-none {
    flex: none !important;
}

.pie-plain .main-content {
    min-height: calc(100vh - 3rem);
}
/* web clocks end*/


/* tos sign starts */
.set-face-id-component-sub-component {
    background: #fff;
    border-radius: 15px;
}

.employee-faceid-wrapper div.face-id-hover{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    z-index: 200;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #D6D6D6;
}

.employee-faceid-wrapper div.face-id-hover:hover{
    cursor: pointer;
    background-color: #b8b6b6;
    opacity: 0.5;
}

.employee-faceid-wrapper {
    display: inline-block;
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
}


.signme-preview.tos-signme-preview {
    background: #fff ;
    border-radius: 15px;
    height: 80px;
    border: 1px dashed #797979;
    cursor: pointer;
    transform: scale(0.99);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.tos-signme-preview:hover {
    transform: scale(1);
    border: 2px dashed #797979;
}

.gh_dialog .gh_dialog_inner .gh_dialog_bottom_bar {
    border: none;
    background-color: transparent;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.ui-helper-hidden {
    display: none;
}

button:disabled {
    cursor: not-allowed;
}

.org-modal-header img {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

.org-modal-footer {
    border-top: 0;
    padding-top: 0
}

.org-modal-header {
    background-color: var(--theme-color-desaturated-blue);
    padding: .6rem .7rem;
    border-radius: 0;
    color: #fff
}

.org-modal-header button.close {
    color: #fff;
    opacity: .8;
    text-shadow: none;
    font-weight: normal
}

.org-modal-header button.close:hover {
    opacity: .5
}

.org-modal-header .modal-title {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}


#face-id-upload-modal .file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer
}


.modal-header {
    display: flex !important;
}

#face-id-upload-modal .file-upload {
    width: 100%;
    min-height: 50px;
    position: relative;
    background-color: #fafafa
}

#avatar-faceid-box {
    display: flex;
    justify-content: center;
    padding-bottom: .5rem
}

#avatar-faceid-box-left {
    position: relative;
    width: 350px;
    float: left;
    padding-right: 18px;
    border-right: 1px solid #ccc
}

#avatar-faceid-box-left img {
    width: 350px;
    margin: 0 auto;
    display: block
}

#avatar-faceid-box-right {
    border-radius: 50%;
    width: 104px;
    float: left;
    padding-left: 18px
}

#avatar-faceid-box-preview {
    border-radius: 50%;
    width: 100px;
    height: 100px
}

#avatar-faceid-box-preview .preview-container {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    overflow: hidden
}

.display-none {
    display: none !important
}

.employee-avatar {
    border-radius: 50%;
    height: 100px;
    width: 100px
}
.employee-avatar-sm {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    border: 0;
    background: #0093a3;
    color: #fff;
}

/*.tos-signme-preview:after {*/
    /*content: "Click to Sign";*/
    /*position: absolute;*/
/*}*/

.tos-signme-preview-has-value .tos-signme-preview-placeholder{
    display: none !important;
}

.tos-signme-preview-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}


#switchLanguageDropdownWrapper .dropdown-toggle::after {
    display: none !important
}

.btn-disagree {
    color: #fff;
    background: #00565B;
}

.btn-disagree:hover {
    opacity: 0.9;
}

@media only screen and (max-device-width: 480px){

    body {
        background: #f3f5f7;
        height: 100vh !important;
    }

    .pie-plain .main-content {
        /*min-height: unset !important;*/
        overflow-x: hidden !important;
    }


    .web-clock-pie-plain-footer {
        position: relative !important;
    }

    .web-clock-pin-pad .pin-pad-item {
        width: 80px;
        height: 40px;
    }

    #set-face-id-component .employee-faceid-wrapper-container {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
    }

    .tos-partial-container {
        padding: 1rem !important;
    }

    .set-face-id-component-sub-component-mobile {
        padding: 0 !important;
    }

    .modal-content {
        width: unset !important;
    }

    .file-upload-content-container {
        display: flex;
        flex-flow: column nowrap;
    }

    #avatar-faceid-box {
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
    }


    #avatar-faceid-box-right {
        margin-top: 1rem;
    }


    .signme-actions {
        float: unset !important;
        text-align: right;
        margin-bottom: 1em;
    }

    .gh_dialog {
        position: fixed !important;
        top: 20px !important;
    }
}
/* tos sign ends */
