/*---GENERAL COMPONENTS---*/
[class="theme-indigo"] {
    --primary-color: #6C584C !important;
    --secondary-color: #F0EAD2 !important;
    --third-color: #8B0000 !important;
}
:root{
    --primary-color: #6C584C !important;
    --secondary-color: #F0EAD2 !important;
    --third-color: #8B0000 !important;
    /* --border-color: #6C584C !important; */
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: url(/assets/images/cigar.png), url(/assets/images/cigar.png), auto !important;
}
body{
    background: #F0EAD2;
}
.btn.btn-outline-secondary:hover{
    background-color: brown
}
.modal .modal-header, .modal .modal-footer{
    border-color: var(--primary-color);
}
.page-item .page-link{
    background: var(--primary-color);
    color: #ffffff
}
.pagination{
    justify-content: center;
}
[requires-admin-permission] {
    display: none;
}
/*---LOADING PAGE---*/
.loadingDiv{
    position: absolute;
    background: var(--primary-color);
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 9999;
}
.loadingDiv h3 {
    font-size: 18px;
}
.dot-flashing {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
  }
  .dot-flashing::before, .dot-flashing::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
  }
  .dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
  }
  .dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
  }
  @keyframes dot-flashing {
    0% {
      background-color: #ffffff;
    }
    50%, 100% {
      background-color: rgba(255, 255, 255, 0.2);
    }
  }

.modal .modal-content{
    background-color: var(--secondary-color)
}
.modal-body .form-control, .form-select{
    background-color: #6c584c24;
    border-color: #6c584c24;
}
.btn.btn-secondary{
    background: var(--primary-color);
    color: var(--secondary-color);
}
.btn-check:checked+.btn, :not(.btn-check)+.btn:active, .btn:first-child:active, .btn.active, .btn.show{
    background-color: var(--third-color);
    border-color: var(--third-color);
}
.btn.btn-dark:hover{
    background: var(--third-color);
}
option{
    background: var(--primary-color);
    color: var(--secondary-color);
}
/*---HEADER---*/
.searchIcon{
    position: absolute;
    left: 5%;
    font-size: 1.15rem;
    color: #c9c9c9;
    padding-top: 0.3em;
}
.input-group-lg>.form-control{
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 30px;
}
.input-group-lg>.form-control::placeholder{
    color: "red"
}
.input-group-lg>.form-control:focus{
    padding: 0.5rem 1rem;
}
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating){
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
#main-search-input{
    background-color: #6c584c24;
    border: none;
}
.form-control:focus{
    border: 1px solid var(--third-color);
    padding: 0.5rem 1rem;
    background-color: #6c584c24;
}
.form-control{
    background-color: #6c584c24;
    border-color: #6c584c24;
}
.search-criteria-btns{
    display: flex;
    flex-direction: row;
}
.img-thumbnail{
    background-color: transparent;
}
/*---MAIN MENU---*/
.menu-icons{
    filter: brightness(0) invert(1);
}
.brand-icon .logo-text{
    padding-left: 0px;
}
.sidebar.sidebar-mini .menu-list .m-link {
    justify-content: center;
}
.sidebar.sidebar-mini{
    width: 150px;
}
/*---FOOTER---*/
.footer{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
}
/*---LOGIN PAGE---*/
.loginMain{
    background-image: url("/assets/images/background.jpg");
    background-position: 50% 70%;
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
    display: flex;
    align-items: center;
}
.formDiv{
    max-width: 34rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.showPasswordIcon {
    color: var(--primary-color);
    font-size: large;
    position: absolute;
    right: 8%;
    cursor: pointer;
}
.showPasswordIconChangePass{
    position: relative;
    left: -10%;
    width: 0px;
}   
.card{
    border-width: 0px 0px 0px 0px;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.2);
    overflow: auto;
}
#cigarsCard, #factoryCard, #storageCard{
    height: calc(83vh - 120px);
}

.cigarsTable thead, .factoryTable thead, .storageTable thead{
    position: sticky;
    left: 0;
    top: 0;
    background:var(--secondary-color);
    z-index: 1;
    box-shadow: 5px 15px 20px -15px rgba(0,0,0,0.1);
}
.cigarsTable tr th, .factoryTable tr th, .storageTable tr th{
    text-transform: capitalize;
    text-wrap: nowrap;
    color: var(--primary-color);
    border-bottom: 1px solid #6c584c24;
}
.cigarsTable tr td, .factoryTable tr td, .storageTable tr td{
    border-bottom: 1px solid #6c584c24;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cigarsTable .btn.btn-outline-secondary, .factoryTable .btn.btn-outline-secondary, .storageTable .btn.btn-outline-secondary{
    border-color: #6c584c24;
}

.footerText{
    color: var(--primary-color);
}

@media only screen and (max-width: 48em){
    * {
        cursor: unset;
    }
    .cursorCigar{
        display: none;
    }
    .navbar>.container-xxl{
        display: flex;
        flex-direction: column-reverse;
    }
    .menuIcon{
        font-size: 1.6rem;
        color: var(--primary-color)
    }
    .user-profile{
        flex-direction: row-reverse;
    }
    #headerMainRow{
        width: 100%;
        justify-content: space-between;
    }
    .footer{
        position: fixed;
        clear:both;
        height:25px;
        margin-top: -20px;
        background: var(--primary-color);
    }
    .footerText{
        color: var(--secondary-color);
    }
    .navigationMenu{
        width: max-content;
        position: sticky !important;
        left: 0px;
        bottom: 0px;
    }
    .modal-dialog-scrollable .modal-content{
        max-height: 90%;
    }
    #factoryCard{
        height: unset;
    }
    #cigarsCard{
        height: unset;
    }
    #storageCard{
        height: unset;
    }
    .cigarsTable tr td{
        text-wrap: nowrap;
        max-width: 220px;
        padding: 5px;
    }
    .cigarNameMobDisplay{
        position: sticky;
        left: -10px;
        top: 0;
        background: var(--secondary-color) !important;
        max-width: 170px !important;
    }
    .dropdown-menu{
        position: absolute;
        left: 0 !important;
        top: 0px !important;
    }
}