html,
body {
   
    display: flex;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
}

body>header {
    flex-shrink: auto;
}

body>main {
    flex-shrink: auto;
    flex-grow: auto;
    overflow: auto;
}

body>footer {
    flex-shrink: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(100%);
}

.home-box{
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.home-box .h-card1, .home-box .h-card2, .home-box .h-card3{
    width: 28%;
    height: auto;
    margin: 0 15px;
    border-radius: 10px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    transition: 0.2s;
}

.home-box .h-card1:hover, .home-box .h-card2:hover, .home-box .h-card3:hover{
    
    box-shadow: rgba(60, 64, 67, 0.3) 0px 2px 4px 0px, rgba(60, 64, 67, 0.15) 0px 4px 12px 4px;

}




.home-box .h-card1{
    border-left: 20px solid orangered;
    background-color: rgb(252, 208, 192);
}
.home-box .h-card2{
    border-left: 15px solid rgb(0, 110, 4);
    background-color: rgb(192, 252, 193);
}
.home-box .h-card3{
    border-left: 15px solid rgb(1, 145, 168);
    background-color: rgb(192, 249, 252);
}
.home-box .h-card1 h2{
    background-color: rgb(252, 115, 65);
    padding: 10px 15px;
    color: rgb(161, 44, 2);
    margin: 0;
    font-size: 25px;
}
.home-box .h-card2 h2{
    background-color: rgb(177, 255, 180);
    padding: 10px 15px;
    color: rgb(2, 134, 4);
    margin: 0;
    font-size: 25px;
}
.home-box .h-card3 h2{
    background-color: rgb(163, 251, 244);
    padding: 10px 15px;
    color: rgb(0, 105, 111);
    margin: 0;
    font-size: 25px;
}
.home-box .h-card1 table{
    
    width: 100%;
}
.home-box .h-card2 table{
    width: 100%;
}
.home-box .h-card3 table{
    width: 100%;
}
.home-box .h-card1 table th{
    background-color: rgb(254, 138, 96);
    padding: 6px 15px;
    color: rgb(161, 44, 2);
    border-bottom: 2px solid rgb(252, 208, 192);
    width: 160px;
    font-size: 16px;
}
.home-box .h-card2 table th{
    background-color: rgb(208, 252, 210);
    padding: 6px 15px;
    color: rgb(2, 134, 4);
    border-bottom: 1px solid  rgb(254, 254, 254);
    width: 160px;
    font-size: 16px;
}
.home-box .h-card3 table th{
    background-color: rgb(209, 250, 246);
    padding: 6px 15px;
    color: rgb(0, 105, 111);
    border-bottom: 1px solid  rgb(255, 255, 255);
    width: 160px;
    font-size: 16px;
}
.home-box .h-card1 table tr{
    background-color: rgb(254, 169, 138);
    padding: 10px 15px;
    color: rgb(161, 44, 2);
    border-bottom: 2px solid rgb(252, 208, 192);
    width: 200px;
    font-size: 16px;
}
.home-box .h-card2 table tr{
    background-color: rgb(232, 250, 233);
    padding: 10px 15px;
    color: rgb(2, 134, 4);
    border-bottom: 1px solid  rgb(255, 255, 255);
    width: 200px;
    font-size: 16px;
}
.home-box .h-card3 table tr{
    background-color: rgb(234, 250, 249);
    padding: 10px 15px;
    color: rgb(0, 105, 111);
    border-bottom: 1px solid  rgb(255, 255, 255);
    width: 200px;
    font-size: 16px;
}



.alert-box{
    margin-top: 200px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.alert-box .h-card4, .alert-box .h-card5{
    width: 35%;
    max-height: 300px;
    margin: 0 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}
.alert-box .h-card4:hover, .alert-box .h-card5:hover{
    overflow-y: auto;
}
.alert-box .h-card4{
    width: 40px;
    height: 40px;
    border-left: 15px solid rgb(228, 123, 2);
    border-right: 15px solid rgb(228, 123, 2);
    background-color: rgb(251, 224, 171);
    transition: 0.2s;
    cursor: pointer;
    margin-top: 200px;
}
/* hb */
@keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .heartbeat {
    animation: heartbeat 1s infinite;
  }
  
/* hb end */
.alert-box .h-card4:hover{
    width: 35%;
    height: 300px;
    margin-top: -20px;
    animation-play-state: paused;
}












.alert-box .h-card5{
    display: none;
    border-left: 15px solid rgb(229, 61, 0);
    border-right: 15px solid rgb(229, 61, 0);
    background-color: rgb(250, 208, 130);
}

.alert-box .h-card4 h2{
    background-color: #fcdc8c;
    padding: 10px 15px;
    color: maroon;
    margin: 0;
    font-size: 25px;
}
.alert-box .h-card5 h2{
    background-color: rgb(253, 189, 161);
    padding: 10px 15px;
    color: rgb(69, 0, 0);
    margin: 0;
    font-size: 25px;
}
.alert-box .h-card4 table{
    width: 100%;
}
.alert-box .h-card5 table{
    width: 100%;
}

.alert-box .h-card4 table th{
    background-color: rgb(252, 242, 183);
    padding: 5px 10px;
    color: rgb(161, 44, 2);
    border: 1px solid rgb(253, 251, 238);
    width: 200px;
    font-size: 16px;
}
.alert-box .h-card5 table th{
    background-color: rgb(252, 219, 203);
    padding: 5px 10px;
    color: rgb(74, 0, 0);
    border: 1px solid  rgb(251, 240, 234);
    width: 200px;
    font-size: 16px;
}

.alert-box .h-card4 table td{
    background-color: rgb(254, 249, 222);
    padding: 5px 10px;
    color: rgb(161, 44, 2);
    border: 1px solid rgb(252, 246, 243);
    width: 200px;
    font-size: 16px;
}
.alert-box .h-card5 table td{
    background-color: rgb(254, 231, 223);
    padding: 5px 10px;
    color: rgb(134, 2, 2);
    border: 1px solid  rgb(252, 243, 243);
    width: 200px;
    font-size: 16px;
}


.alert-box .h-card4::-webkit-scrollbar{
    width: 15px;
}
.alert-box .h-card4::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 0px;
}
.alert-box .h-card4::-webkit-scrollbar-thumb {
    background: rgb(173, 136, 0);
    border-radius: 10px;
    
  }
  .alert-box .h-card4::-webkit-scrollbar-thumb:hover {
    background: rgb(96, 75, 0);
  }

.alert-box .h-card5::-webkit-scrollbar{
    width: 15px;
}
.alert-box .h-card5::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(252, 163, 163); 
    border-radius: 0px;
}
.alert-box .h-card5::-webkit-scrollbar-thumb {
    background: rgb(186, 50, 0);
    border-radius: 10px;
    
  }
  .alert-box .h-card5::-webkit-scrollbar-thumb:hover {
    background: rgb(255, 81, 0);
  }

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

    .home-box{
        padding: 0px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .home-box .h-card1, .home-box .h-card2, .home-box .h-card3{
        width: 100%;
        height: 200px;
        margin: 5px 0px;
    }
    
    .home-box .h-card2{
        border-left: 10px solid rgb(0, 110, 4);
        background-color: rgb(192, 252, 193);
    }
    .home-box .h-card3{
        border-left: 10px solid rgb(1, 145, 168);
        background-color: rgb(192, 249, 252);
    }

    .home-box .h-card2 h2{
        padding: 5px 10px;
        color: rgb(2, 134, 4);
        font-size: 20px;
    }
    .home-box .h-card3 h2{
        padding: 5px 10px;
        font-size: 20px;
    }
    .home-box .h-card2 table th{
        padding: 3px 10px;
        border-bottom: 1px solid  rgb(192, 252, 193);
        width: 120px;
        font-size: 14px;
    }
    .home-box .h-card3 table th{
        padding: 3px 10px;
        border-bottom: 1px solid  rgb(192, 249, 252);
        width: 120px;
        font-size: 14px;
    }
    .home-box .h-card2 table tr{
        padding: 5px 10px;
        border-bottom: 1px solid  rgb(192, 252, 193);
        font-size: 14px;
    }
    .home-box .h-card3 table tr{
        padding: 5px 10px;
        border-bottom: 1px solid  rgb(192, 249, 252);
        font-size: 14px;
    }
    
    
    .alert-box{
        padding: 0px;
        flex-direction: column;
        align-items: right;
        margin-top: 280px;
    }
    .alert-box .h-card4{
        width: 30px;
        height: 30px;
        border-left: 10px solid rgb(228, 123, 2);
        border-right: 10px solid rgb(228, 123, 2);
        margin-top: 105px;
    }
    
    .alert-box .h-card4:hover{
        width: 90%;
        height: 200px;
        margin-top: -30px;
        animation-play-state: paused;
    }    
    
    .alert-box .h-card4 h2{
        padding: 5px 10px;
        font-size: 20px;
    }
    .alert-box .h-card5 h2{
        padding: 5px 10px;
        font-size: 20px;
    }
    .alert-box .h-card4 table th{
        padding: 3px 5px;
        border: 1px solid rgb(252, 242, 192);
        font-size: 14px;
    }
    .alert-box .h-card5 table th{
        padding: 3px 5px;
        border: 1px solid  rgb(252, 214, 192);
        font-size: 14px;
    }
    
    .alert-box .h-card4 table td{
        padding: 3px 5px;
        border: 1px solid rgb(252, 208, 192);
        font-size: 14px;
    }
    .alert-box .h-card5 table td{
        padding: 3px 5px;
        border: 1px solid  rgb(252, 192, 192);
        font-size: 14px;
    }
    
    
    .alert-box .h-card4::-webkit-scrollbar{
        width: 15px;
    }
    
  }


#user-avatar {
    width: 1.8rem;
    height: 1.8rem;
    object-fit: scale-down;
    object-position: center center;
}

#user-img-profile {
    width: 100%;
    height: auto;
    max-height: 20vh;
    object-fit: scale-down;
    object-position: center center;
}

.body-wrapper .main-wrapper .page-wrapper .content-wrapper {
    min-height: calc(100vh - 84px - 62px) !important;
}

.bg-secondary {
    background-color: var(--bs-gray-500)!important;
}

.navbar-brand>img {
    height: 2em;
}


/* loader */

body.loading {
    overflow: hidden;
}

#pre-loader {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: brightness(.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.lds-default {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-default div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}

.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}

.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}

.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}

.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}

.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}

.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}

.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}

.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}

.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}

.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}

.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}

@keyframes lds-default {
    0%,
    20%,
    80%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

img#post-banner-mgt {
    width: 100%;
    max-height: 40vh;
    object-fit: scale-down;
    object-position: center center;
}

img.post-banner {
    height: 21vh;
    width: 100%;
    object-fit: scale-down;
    object-position: center center;
}

.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

span.select2-selection.select2-selection--single {
    border-radius: 0;
}

#user-avatar-modal {
    width: 100%;
    height: 15vh;
    object-fit: scale-down;
    object-position: center center;
}

.nav-item.active a.nav-link {
    font-weight: bolder !important;
}

.summary-card {
    border-left-width: 5px !important;
    border-left-style: solid;
}

.clip-text {
    position: fixed;
    top: 0;
}