﻿/** Organizational tree view*/
.tree-view {
    min-height: 140px;
    overflow: auto;
}
#noDepartmentsMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.tree-view {
    min-height: 200px;
}

.card-body {
    min-height: 300px;
}

/*site css*/
:root {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        scroll-behavior: auto;
    }
}
/*PACE.js Related*/
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  /*background: #29d;*/
  background: green;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 50px;
}

/*site specifics*/
.site-loader-color 
{
    color: #000000 !important;
    font-size: 50px !important;
}

.site-datatable-button-container{
    margin-left: 10px;
}

.button-create{

}

/*Status Decoration */
.badge-status {
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.active-status {
    background-color: #d1fae5;
    color: #065f46;
}

.inactive-status {
    background-color: #fee2e2;
    color: #b91c1c;
}

/*Legend Filed*/
fieldset.panel {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px;
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

legend.panel-legend {
    font-size: 1.2em;
    font-weight: normal;
    color: #333;
    padding: 0 3px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: inline-block;
    transform: translateY(-30px); 
} 

/*login page*/
.account-container {
    background-image: url('../images/bgImage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 93vh;
    padding: 2rem 0;
}

.account-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    opacity: .9;
}

.imgcontainer {
    text-align: center;
    margin: 2px 0 2px 0;
}

img.avatar {
    width: 40%;
    border-radius: 10%;
}

#cookieConsentdiv {
    z-index: 1000;
    position: fixed;
    width: 400px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 30px 20px 30px;
    font-family: 'Century Gothic', sans-serif;
    box-shadow: 0px 3px 10px 5px rgba(0, 0, 0, 0.4);
    text-align: center;
    border-radius: 30px 30px 0 0;
}

    #cookieConsentdiv button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        border: none;
        background-color: green;
        padding: 10px 50px;
        margin-top: -5px;
        color: white;
        transition: all ease 0.5s;
    }

        #cookieConsentdiv button:hover {
            background-color: darkgreen;
        }

    #cookieConsentdiv h3 {
        font-size: 22px;
    }

    #cookieConsentdiv p {
        font-size: 13px;
    }

    #cookieConsentdiv a {
        color: gray;
        text-decoration: underline;
    }

/* Organizational Structure */
.jstree-search {
    font-weight: bold;
    color: #d32f2f;
    background-color: rgba(255, 235, 59, 0.3);
    border-radius: 3px;
    padding: 0 2px;
}

.search-box {
    position: relative;
}

.search-clear {
    transition: opacity 0.3s ease;
}

    .search-clear:hover {
        color: #d32f2f;
    }

