/* CUSTOMER-CARD */

.customer-card {
    background: rgb(0,95,171);
    transition: all 0.3s ease;
    max-width: 200px;
    margin: 8px;
}

.customer-card .card-body {
    padding: 5px;
    padding-top: 0px;
}

.customer-card .card-body p {
    margin-bottom: 0px;
}

.customer-card:hover {
    box-shadow: 0px 0px 8px 2px rgb(255,238,0);
}


.cardImgContainer
{
    width: 140px;
    height: 140px;
}
.compact >.card-body>.cardLoc
{
    position: absolute;
    bottom:5px;
    right: 5px;
    font-size: 0.7rem;
    
}
.cardName
{
    position: absolute;
    padding: 5px;
    padding-bottom: 0;
    left: 0px;
    bottom: 30px;
    background: rgb(0,95,171);
    font-size: 0.9rem;
    width: 100%;
    color: rgb(255,238,0);
}


.compact >.card-body>.cardName
{
    
    bottom:0px;
    left: 0px;
    

}

.customer-card .cardName {
    position: static;
}

.compact > .cardImgContainer {
    width: 120px;
    height: 120px;
}

.cardImg
{
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.customer-dropdown {
    position: absolute;
    top: 2px;
    right: 4px;
}

.customer-dropdown-toggler {
    padding: 6px;
    border-radius: 100px;
    background-color: var(--color-input-text-shadow) !important;
    color: rgb(255,238,0) !important;
    box-shadow: none !important;
    border: 1px transparent solid;
}
.cd-toggler-icon
{
    font-size: 18px;
}
.customer-dropdown button span 
{
    display: block;
}

.customer-dropdownbody
{
    position: absolute;
    top: 31.5px;
    left: -130px;
    background-color: rgb(0,95,171) !important;
    color: rgb(255,255,255) !important;
    border-radius: var(--border-radius1) !important;
    border: 1px rgb(255,238,0) solid;

    
}
.customerDropdown-item
{

    border-radius: var(--border-radius1) !important;
    color: inherit !important;

}
#customerMenu
{
    display: none;
    transition: all ease-in-out 0.3s;
}
#customerMenu.open
{ 
    display: block;
}

/* duplicated from above, can only be refactored using SASS*/
.customer-card.compact {
    flex-direction: row;
    width: 48% !important;
    max-width: 480px !important;
    margin-left: 1%;
    margin-right: 1%;
    max-height: 200px;
}



/* CustomerSearchPopUp */
.popUpBox
{
    background: rgb(0,95,171);
    border-radius: var(--border-radius1);
    border: 1px rgb(255,238,0) solid;
    height: 80%;
    width: 30%;
    position: absolute;
    top: 5.6rem;
    left: 35%;
    z-index: 9000 !important;
    overflow: auto;
}
.popUpClose
{
    position: absolute;
    right: 5px;
    top: 8px;
}
.popUpCloseicon 
{
    font-size: 38px;
    border: 1px rgb(255,238,0) solid;
    color: rgb(255,238,0);
    border-radius: var(--border-radius2);
    
}

.goAttendanceDash
{
    background: rgb(0,95,171);
    position: sticky;
    bottom: 0;
    left: 0;
    padding: 5px 0;
    border-top: 1px rgb(255,238,0) solid;
}


.trafficLight
{
    border-radius: 100%;
    height: 30px;
    width: 30px;
}
.trafficLightS
{
    border-radius: 100%;
    height: 15px;
    width: 15px;
}
.trafficLightInfo
{
    position: absolute;
    width: max-content;
    top: 5px;
    left: 20%;
}
.trafficLegendTd
{
    width: 60px;
    vertical-align: top;
}
.trafficLightTd
{
    width: 34px;
}

.trafficTd
{
    color: white;
}
.tooltip-inner
{
    background: Red;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before
{
    
    border-top-color: Red;
}
.bs-tooltip-auto[x-placement^=left] .arrow::before
{
    
    border-left-color:Red;
}
.bs-tooltip-auto[x-placement^=bootom] .arrow::before
{
  
    border-bottom-color:Red;
}
.bs-tooltip-auto[x-placement^=right] .arrow::before
{
 
    border-right-color: Red;
}

.tooltip.show
{
    opacity:1!important;
}
.xmlfilepreview,
.xmlfilepreviewString
{
    padding-top: 20px;
}

.xmlGroup
{
    padding: 25px;
}
.xmlInputTxt
{
    max-width: 400px;
}

.realRadio
{
    border: 1px solid rgb(255,238,0);
    border-radius: 100%;
    height: 28px;
    width: 28px;
}
.btnBackground
{
    background: rgb(255,238,0);
}

@media (max-width: 768px) 
{
    .popUpBox
    {
        top: 80px;
        left: 20px;
        width: 500px;
    }
}

.modal .popup-hidden {
    display: none;
}


.tui-full-calendar-layout, .tui-full-calendar-timegrid-timezone {
    background-color: var(--calendar-background-color) !important;
}

#calendar-control {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    top: 10px;
}

.calendar-container {
    position: relative;
    height: 75vh;
}

.iframe-child .calendar-container {
    height: 1400px;
}

.xml-panel {
    width: 80%;
    padding-bottom: 80%;
    background-size: cover;
    background-repeat: no-repeat;
}