:root {
    --color-primary: #05054C;
    --color-primary-light : #0975c5;
    --color-secondary: #0975c5;
    --color-info: #ecf0f1;
    --color-red: red;
    --color-active: #00E900;
    --status-icon: #747474;
    --prior-1: #5DE04F;
    --prior-2: #FFD700;
    --prior-3: #FF0000;
    --task-new: #E2F8E6;
    --task-updated: #DDEEFF;
    --task-circle-new:#1FE00A;
    --task-circle-updated:#0944E7;
    --tag: #eee;
    --filter-element-hover: #f5f5f5;
    --chat-edit-bg: lightskyblue;
    --chat-bg: whitesmoke;
    --chat-msg-left: #f5f6f7;
    --comment-edit: lightyellow;
    --comment-new: #c8deff;
    --file-sum-hover: whitesmoke;
    --file-sum-mark: lightgray;
    --file-sum-sel: ghostwhite;
    --file-img-bg: lavender;
    --history-old: #ffffe8;
    --history-new: #ebfbed;
    --cancel-btn: #eee;
    --color-sorting: #F5F8FE;
    --login-color1: #05054C;
    --login-color2: #03042B;
}
body {
    font-family: 'Barlow', sans-serif;
    font-size: 16px !important;
}

#platform-notification {
    position: fixed;
    width: 100vw;
    margin: auto;
    bottom: 0px;
    font-size: 14px;
    background: #ffeece;
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
}

nav {
    margin-bottom: 135px;
}

#nav-header {
    position: fixed;
    height: 80px;
    background: linear-gradient(90deg, #05054C 50%, #03042B 100%);
    border-radius: 0px;
}

.breadcrumb {
    position: fixed;
    top: 60px;
    width: 100vw;
    flex-wrap: nowrap;
    font-size: 14px;
    background: var(--color-secondary);
    border-radius: 0px;
    border-bottom: 3px solid transparent; 
    border-image: linear-gradient(90deg, #0a52de 35%, #07d27e 100%); 
    border-image-slice: 1;
    z-index: 3;
}

.breadcrumb-item {
    width: fit-content;
    display: inline-flex !important;
}

.breadcrumb-item a {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 45vw;
    white-space: nowrap;
    display: inline-block;
}

.breadcrumb-item.active {
    max-width: 45vw;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.breadcrumb>li a, .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}
.breadcrumb>.active, .breadcrumb>li {
    color: #fff;
    flex: 0 0 auto;
}

.navbar-expand .navbar-nav .nav-link {
    color: white !important;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 26px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav>li>a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.navbar {
    min-width: 300px;
    margin-bottom: 8px;
    border: none;
}

.navbar .container-fluid {
    align-items: flex-end;
    min-height: 50px;
}

  .nav-custom {
    left: 0;
    right: 0;
    top: 2rem;
    transform: translateY(-50%);
    z-index: 999;
  }

  .nav-element-custom {
    color: var(--color-primary) !important;
    font-size: 30px;
  }

  .navbar-nav {
    float: left;
    margin: 0 !important;
  }

.table-info {
  font-size: 14px !important;
  overflow-y: hidden;
  position: relative;
}

table.dataTable> tbody tr:not(:hover)> td[class*="sorting_"] {
    box-shadow: inset 0 0 0 9999px rgba(245, 248, 254, 0.5) !important;
}

.info-header {
    background-color: var(--color-sorting);
}

@media (hover: hover) {
    .navbar-nav .nav-element-custom:hover {
        color: var(--color-secondary) !important;
    }
}

.badge:not(.tag) {
    position: absolute;
    font-style: normal;
    top: -10px;
    border-radius: 25px;
    background: var(--color-red);
    z-index: 1;
}

.badge.pulse {
    background: var(--prior-1);
    box-shadow: 0 0 0 0 var(--prior-1);
    animation: pulse-green 2s infinite;
    width: 5px;
    height: 10px;
    top: -2px;
    padding: 0px;
}

.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
    margin: auto;
    max-width: 100%;
    padding: 0px;
    border: 1px dashed rgba(198, 197, 197, 0.4);
    border-radius: 3px;
    background-color: var(--color-primary) !important;
    color: white;
    cursor: pointer;
}

.choose-file-button {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.choose-file-button * {
    cursor: pointer;
}

.file-message {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.dropdown-item {
    cursor: pointer;
}

.form-control, .form-check-input {
    outline: none !important;
    box-shadow: none;
}

.btn {
    font-size: 14px;
}

.toggle-handle {
    background-color: white;
}

.btn-custom, .btn-custom:focus, .btn-custom:active {
    background-color: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

@media (hover: hover) {
    .btn-custom:hover {
        background-color: var(--color-secondary) !important;
        color: white !important;
        box-shadow: none;
    }
}

.jconfirm-buttons button{
    text-transform: capitalize !important;
}

.form-check-input:checked {
    background-color: var(--color-primary) !important;
    border: var(--color-primary) !important;
}

.btn-custom:focus, .form-control:focus, .form-check-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus, .form-check-input:focus {
    border: 1px solid #ced4da;
}

.btn-custom, .form-control {
    font-size: 14px;
}

.paginate_button.current {
    background: transparent !important;
}

@media (hover: hover) {
    .paginate_button:not(.disabled):hover {
        background: var(--color-primary) !important;
        box-shadow: none;
    }

    #users-table_paginate .paginate_button.current:hover, #companies-table_paginate .paginate_button.current:hover{
        color: white !important;
      }
}


#ntf-area, #ntf-te-area {
    position: absolute;
    background: #f1f1f1;
    width: 300px;
    left: -230px;
    top: 30px;
    max-height: 60vh;
    overflow: auto;
    padding: 0px;
    border-radius: 5px;
}

#ntf-te-area {
    left: -160px;
}

#ntf-area .ntf-card, #ntf-te-area .ntf-card {
    position: relative;
    font-size: 14px;
    border-radius: 5px;
    margin: 5px;
    background: white;
}

#ntf-area .ntf-card.new::after, #ntf-te-area .ntf-card.new::after {
    top: 5px;
    right: 5px;
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 25px;
    background: var(--color-secondary);
}

.collapse.in {
    display: block !important;
}

.hidden{
    display: none !important;
}

.dataTables_filter input {
    border-radius: 2rem !important;
    padding-right: 2rem !important;
    width: 30vw !important;
    max-width: 30rem !important;
    min-width: 20rem !important;
    font-weight: normal !important;
    padding-left: 2rem !important;
    border: 1px solid #d9d9d9 !important;
}

.dataTables_filter input:focus {
    outline: none !important;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    text-align: left !important;
}

.ui-autocomplete {
    max-height: 20vh; /* Set your desired max height here */
    overflow-y: auto; /* Add vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.cursor-pointer {
    cursor: pointer;
}

.pulse {
    animation: pulse 1s linear infinite;
}

#connection-error {
    position: fixed;
    top: 0;
    text-align: center;
    width: 100%;
    z-index: 99999999; 
}

#connection-error .msg {
    margin: auto;
    padding: 2px;
    text-align: center;
    width: fit-content;
    background: red;
    color: white;
}

.lang-selector {
    width: fit-content;
}

select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse-green {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(93, 224, 79, 0.7);
	}
	
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(51, 217, 178, 0);
	}
	
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(51, 217, 178, 0);
	}
}

@media (max-width: 768px)
{
    #nav-header .container-fluid {
        padding-left: 0px;
    }

    #nav-header .navbar-brand {
        max-width: 30%;
    }

    .navbar-expand .navbar-nav .nav-link {
        padding-right: 0px;
    }

    .jconfirm .jconfirm-box-container, .jconfirm .container-fluid {
        padding-right: 8px !important;
        padding-left: 2px !important;
    }

    .breadcrumb-item a, .breadcrumb-item.active {
        max-width: 30vw;
    }
}

@media (max-width: 375px)
{
    .jconfirm *:not(span, button, .btn) {
        font-size: 12px !important;
      }

    .jconfirm .container-fluid {
        padding-right: 0px;
        padding-left: 0px;
        margin-right: auto;
        margin-left: auto;
      }

    #ntf-area {
        width: 260px;
        left: -155px;
      }
    
    #ntf-te-area {
        width: 260px;
        left: -105px;
      }

    #nav-header .container-fluid {
        padding-right: 25px;
    }
}


#cookieConsent {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(65, 65, 65, 0.65);
    color: white;
    text-align: center;
    align-items: center;
    font-size: 16px;
    padding: 10px 0;
    display: none; /* Initially hidden */
    z-index: 1000;
  }
  
#cookieConsent .cookie-message {
    width: fit-content;
    height: fit-content;
    max-width: 450px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    background: white;
    color: black;
}

#cookieConsent a {
    color: #0079e1;
}

#cookieConsent p {
  margin: 0;
  padding: 0 10px;
}

#cookieConsent button {
    margin-top: 10px;
  }


.iti__country-list {
    z-index: 999999999;
}

@media (max-width: 345px)
{
    .navbar-expand .navbar-nav .nav-link i {
        font-size: 22px !important;
      }
    
}

@media (max-width: 300px)
{

  .jconfirm *:not(span, button, .btn) {
    font-size: 10px !important;
  }

  .jconfirm .btn, .jconfirm .jconfirm-title {
    font-size: 12px !important;
  }

  .jc-bs3-row {
    width: 100vw;
  }

  .file-upload a {
    max-width: 35px;
  }

  .row>* {
    padding-right: 2px;
    padding-left: 2px;
  }

  .user-entry, .coll-entry {
    font-size: 12px;
  }
}


*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }
   
*::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }
   
*::-webkit-scrollbar-thumb {
    background-color: #b2b2b2;
    border-radius: 3px;
  }
