html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.funnel, .funnelperlead, .funnelOfferteHitratio, .funnelSampleHitratio {
    background-color: #393862;
    padding: 10px;
    margin: 5px;
}

span#task-count-planned {
    font-size: 12px;
}

.svg-funnel-js .svg-funnel-js__labels {
    padding: 20px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

tr:hover {
    background-color: lightgray;
}

.btn-smaller {

    padding: 2px 5px;
    font-size: 12px;
   
}


.card-smaller {
    padding: 10px;
    font-size: 12px;
    margin: 5px;
}

.card-tools {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.card-header {
    position: relative;
}

.card-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
}

.scrollable-container {
    max-height: 500px; /* Adjust the height as needed */
    overflow-y: auto;
    padding: 15px;
    border-radius: 5px;
    zoom: 0.9;
}

.scrollable-dropdown {
    max-height: 200px; /* Set maximum height for the dropdown */
    overflow-y: auto; /* Add vertical scroll when items overflow */
}

.card {
    margin-bottom: 20px;
}

#dataGrid {
    display: none;
}

.cool-button {
    background: linear-gradient(45deg, #1e90ff, #00bfff);
    border: none;
    color: white;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, transform 0.3s;
}

    .cool-button:hover {
        background: linear-gradient(45deg, #00bfff, #1e90ff);
        transform: translateY(-2px);
    }

    .cool-button:active {
        background: linear-gradient(45deg, #1e90ff, #00bfff);
        transform: translateY(0);
    }

.nav-pillsCustome .nav-link.active {
    background-color: #007bff;
    color: white;
}


.nav-pillsCustome .nav-link {
    background-color: #f8f9fa;
    color: #343a40;
}


.nav-pillsCustome .nav-link:hover {
    background-color: #e9ecef;
    color: #343a40;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.download-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    text-decoration: none;
    color: white;
   
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.delete-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgb(255, 255, 255);
    padding: 5px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
}

    .download-icon i,
    .delete-icon i {
        font-size: 16px;
    }


.select2-container--classic .select2-selection--multiple {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap; /* Wrap the tags to the next line if there are too many */
    align-items: center;
    gap: 5px; /* Add space between tags */
    max-height: 150px; /* Optional: Set maximum height */
    overflow-y: auto;
}


#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Make sure it appears on top */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.credit {
    padding: 10px;
}

.criticalhigh {
    background-color: orangered;
}

.criticalmedium {
    background-color: orange;
}

.warning {
    background-color: #fda;
}

.invoiced {
    background-color: violet;
}

.ok {
    background-color: #ced;
}

.marginsummary {
    clear: both;
    font-weight: bold;
    font-size: 18px;
    border: solid lightgray 1px;
    overflow: auto;
    margin: 5px;
    padding: 10px;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

    .modal-dialog-centered::before {
        content: '';
        display: block;
        height: calc(100vh - 4rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
    }

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #4CAF50;
}

    input:checked + .slider:before {
        transform: translateX(14px);
    }

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }






@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 0px !important;
    }
}

@media (min-width:768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 250px !important;
    }
}


