﻿[class*="col-"] {
    margin-bottom: 10px;
}

.sidebar-logo {
    background-color: #ffffff;
    padding: 10px;
    text-align: center
}

.profile-table td:first-child { font-weight: bold; }

table a.si { font-size: 1.3em; padding: 5px; }

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th { font-size: 14px; text-transform: none; }

.hh-mark-input { width: 65px; }

.hh-emp-start { width: 160px; }

.dataTables_wrapper { padding-left: 0px; padding-right: 0px; }
div.dataTables_length { float: left; }
div.dataTables_paginate { float: right; margin-right: 15px; }

.jumbotron-profile {
	padding:24px; 
	border-radius:3px;
}
.profile-partial .form-group {
    margin-bottom: 10px;
}
.profile-partial .control-label {
    padding-top: 2px;
}

.profile-photo {
    max-width: 100%;
    max-height: 250px;
    margin-bottom: 12px;
}


@media screen and (min-width: 992px) {
    #side-overlay {
        width: 620px;
    }
}

input.hasDatepicker { width: 100px; }

.actions_col_2 { width: 50px; text-align: center; }
.actions_col_3 { width: 75px; text-align: center; }

.visit-report td, .visit-report th {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.visit-span {
    cursor: pointer;
}
.select2 {
    width: 100% !important;
}

.m-2 {
    margin: 2rem;
}

/* Participant Card */
.participant-card {
    background-color: #EEEEEE;
    position: absolute;
    border-radius: 3px;
    box-shadow: -5px 5px 6px 6px rgba(0,0,0,0.2);
    z-index: 1;
    min-width: 540px;
    max-width: 680px;
    display: none;
    white-space: normal;
}
.p-card-body {
    padding: 12px 16px;
}

.p-card-body__image {
    width: 100%;
    padding-top: 8px;
}

.p-card-body__main {
    padding-top: 16px;
}

.p-card-body__main h4 {
    font-weight: bold;
    padding: 8px 0;
}

.p-card-body__title {
    font-size: 28px;
    font-weight: bold;
}

.p-card-body__checkmark--group {
    padding: 16px 4px;
}

.p-card-body__checkmark {
    transform: scale(1.5);
}

.p-card-body__checkmark--group span {
    padding-right: 12px;
}

.p-card-body__checkmark--group label {
    font-size: 16px;
    padding-left: 8px;
}

.p-card-body__text {
    font-size: 20px;
    font-weight: bold;
    padding: 4px 0;
}

.p-card-body__text:last-child {
    padding: 8px 0 0 0;
}

/* Filter toggles*/
.toggle-filter {
    display: flex;
}

    .toggle-filter input[type=checkbox] {
        margin: 1rem 1rem 0 0;
        -ms-transform: scale(1.5); /* IE */
        -moz-transform: scale(1.5); /* FF */
        -webkit-transform: scale(1.5); /* Safari and Chrome */
        -o-transform: scale(1.5); /* Opera */
    }

    /*fixing toggle filter select 2 bug*/
    .toggle-filter .select2-container {
        max-width: 95% !important;
    }
    .toggle-filter .input-group .select2-container {
        max-width: 100% !important;
    }

/*custom placement report*/
.range-group {
    display: inline-flex;
    align-items:center;
    padding: 2rem 2rem;
    border: 1px solid rgb(204,204,204);
    border-radius: 3px;
    margin-right: 1rem;
}
    .range-group label {
        margin:0 0.5rem 0 0 !important;
    }
    .range-group input[type=checkbox] {
        margin: 0 !important;
    }
    .range-group .range {
        display: inline-flex;
        align-items: center;
        margin-left: 1rem;
    }
    .range-group > div {
        margin-left:1rem;
    }
        .range-group > div > div {
            margin-left: 1rem !important;
        }

.range-validation {
    top: 56px;
    left: 70px;
    position: absolute;
    color: red;
    font-size: 12px;
}

pre.application {
    white-space: pre-line;
    word-break: break-word;
}

#sidebar, #side-overlay {
    z-index: 10000;
}

.hidden-1450 {
    display:block !important;
}

.red-bold-text {
    color: red;
    font-weight: 900
}

.note__warning {
    margin: 0 0 1rem 0;
    background-color: #ebe393;
    font-weight: bold;
    border-radius: 1rem;
    padding: 1rem 2rem;
}

table button.si {
    color: #609590;
    background-color: transparent;
    font-size: 1.3em;
    padding: 5px;
    border: none;
}

.info {
    padding: 1rem 0 0.5rem 2rem;
    font-weight: bold;
    background-color: #609590
}
.info.warning {    
    background-color: #fdf3e5;    
}

.info.error {
    background-color: #b1160bc7;
    color: white;
}

.info.error .field-validation-error {
    line-height: unset;
}


/** button with loading animation */
button.loading-button {
    position: relative;
    display:inline-block;
    overflow: hidden;
    text-align:center;
}

    button.loading-button .loading-dots > *:first-child {
        margin-right: 5px;
        animation: loading 1s infinite;
    }

    button.loading-button .loading-dots > *:nth-child(2) {
        animation: loading 1s infinite;
        animation-delay: .1s;
        margin-right: 5px;
    }

        button.loading-button .loading-dots > *:last-child {
            animation: loading 1s infinite;
            animation-delay: .2s;
            margin-right: 0;
        }

.validation-error {
    position:absolute;
    color: red;
    font-size: smaller;
}

@keyframes loading {
    0%, 100% {
        opacity: 0.2;
    }

    20% {
        opacity: 1;
    }
}

/* loading indicator */
.lds-ellipsis {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5em;
    height: 2em;
}

    .lds-ellipsis div {
        position: absolute;
        top: 0.6em;
        width: 0.81em;
        height: 0.81em;
        border-radius: 50%;
        background: #fff;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 0.5em;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 0.5em;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 2em;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 3em;
            animation: lds-ellipsis3 0.6s infinite;
        }



@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(1.5em, 0);
    }
}

/* Alerts */
.colored-toast.swal2-icon-success {
    background-color: #64945F !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #e6ab3a !important;
}

.colored-toast.swal2-icon-error {
    background-color: red !important;
}

.colored-toast .swal2-title {
    color: white;
    font-size: 1.2rem !important;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}



/** FloatThead Styles */

.floatThead-container {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .floatThead-container::-webkit-scrollbar {
        display: none;
    }

table.dataTable.floatThead-table, 
.floatHead-container table.dataTable {
    margin-top: 0 !important; 
}

table.floatThead-table thead th {
    background: white;
}


@media (min-width: 1450px) {
    .hidden-1450 {
        display: none !important;
    }
}
@media (min-width: 1200px) and (max-width: 1600px){
    .range-group .input-group-addon {
        font-size: 12px;
        padding-left: 8px;
        padding-right: 8px;
    }   
}
@media (min-width: 1900px) {
    .toggle-filter input[type=checkbox] {
        margin: 1rem 1.5rem 0 0;
        -ms-transform: scale(2); /* IE */
        -moz-transform: scale(2); /* FF */
        -webkit-transform: scale(2); /* Safari and Chrome */
        -o-transform: scale(2); /* Opera */
    }

    .range-group label {
        margin-right: 1.5rem !important;
    }
    .range-group > div > div {
        margin-left: 1.5rem !important;
    }
    .participant-link:hover {
        cursor: pointer;
        box-shadow: 0 0 10px 2px #609590 inset;
    }
}
