

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins-bold';
    src: url('/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --icon-grey: #9CA3AF;
    --text-primary: #111827;
    --bs-body-font-family: Poppins, sans-serif;
    --bs-card-color: #344767 !important;
    --bs-heading-color: #344767;
}

html, body {
    height: 100%;
    --bs-body-font-family: Poppins, sans-serif;
}

html {
    font-size: 14px;
    --bs-body-font-family: Poppins, sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


body {
    background-color: var(--bs-gray-100);
    --bs-body-font-family: Poppins, sans-serif;
}


h2 {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 2rem; /* 133.333% */
}

td a {
    color: inherit;
    text-decoration: inherit;
}

    td a:hover {
        text-decoration: underline solid black 2px;
    }

tr.htmx-swapping td {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.validation-summary-valid {
    display: none;
}

.control-label {
    font-weight: 500;
    font-size: 14px;
    color: #7B809A;
}

.form-control {
    color: #344767;
}

    .form-control:focus {
    
        outline: none;
        box-shadow: none;
        color: #344767;
    }

    .form-control::placeholder {
        color: #C7CCD0;
        opacity: 1;
        font-weight: 400;
        font-style: normal;
    }

.table {
    --bs-table-hover-bg: azure;
    --bs-body-font-family: Poppins, sans-serif;
}

.nav-item {
    --bs-nav-link-padding-x: 17px;
    --bs-nav-pills-link-active-bg: #F3F4F6;
    --bs-nav-pills-link-active-color: var(--bs-gray-700);
    --bs-body-font-family: Poppins, sans-serif;
}


.ck.ck-content:not(.ck-comment__input *) {
    height: 300px;
    overflow-y: auto;
}


.text-regular {
    color: var(--bs-gray-600)
}

.aligned-row {
    display: flex;
    align-items: center;
}

.separator {
    margin-left: 10%;
    margin-right: 10%;
}


.editable {
    border: thin solid white;
}

    .editable:hover, .editable:focus {
        border-bottom: thin solid #86b7fe;
        border-radius: 6px;
    }

/*.card {
    --bs-card-height: 300px;
}*/

.icon {
    display: inline-block;
    width: 24px;
    /* margin-left: 16px; */
    margin-right: 12px;
    color: var(--icon-grey);
}

.help-icon {
    display: inline-block;
    width: .8rem;
    margin-left: .1rem;
    margin-right: .1rem;
    color: var(--icon-grey);
    vertical-align: text-bottom;
}

.icon-border {
    border: 2px solid var(--icon-grey);
    border-radius: .25rem;
}


.venue-image {
    height: 300px;
    width: 300px;
}


.title-box {
    margin-top: 21px;
    margin-left: 9px;
    padding-top: 33px;
    padding-left: 21px;
    max-width: 100%;
    height: 99px;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.settings-header {
    padding-top: 42px;
    padding-bottom: 42px;
    padding-left: 33px;
}

.pages-settings {
    /* background-color: white; */
    padding-top: 15px;
    padding-left: 26px;
}

    .pages-settings .nav-item {
        margin-right: 32px;
    }

.captive-tabs {
    /* margin-bottom: 32px; */
}

#customTimeInterval.hide {
    display: none !important;
}


.card-width {
    width: 90%;
}

.chart-width {
    min-width: 700px;
}

.chart-height {
    height: 250px;
}

.dashboard-grid-container {
    display: grid;
    gap: 20px;
    padding: 5px;
    grid-template-columns: 200px auto auto;
    grid-template-rows: 300px 300px;
   /* grid-template:
        'cookie-chart month-chart'
        'email-chart week-chart';*/
}
/*
.cookie-chart { grid-area: cookie-chart; }
.email-chart { grid-area: email-chart; }
.month-chart { grid-area: month-chart; }
.week-chart { grid-area: week-chart; }*/

.reports-grid-container {
    display: grid;
    gap: 20px;
    padding: 5px;
    grid-template-columns: auto auto;
    grid-template-rows: 300px 300px;
    /* grid-template:
        'cookie-chart month-chart'
        'email-chart week-chart';*/
}

.chart-container {
    background-color: white;
}

.tenant:hover, .expanded-tenant:hover {
    background-color: #E9EAED;
}


.bg-customer {
    background: rgba(251, 140, 0, 0.20);
    color: #FB8C00;
}

.bg-master {
    background-color: rgba(228, 49, 112, 0.20);
    color: #E93B77;
    
}

.bg-reseller {
    background: rgba(26, 115, 231, 0.20);
    color: #1A73E7;
}

.bg-partner {
    background: rgba(22, 192, 232, 0.20);
    color: #16C0E8;
}

.bg-distributor {
    background: rgba(76, 175, 80, 0.20);
    color: #4CAF50;
}

/* Import and Export buttons*/
.importexport {
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    color: #344767;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .importexport:hover {
        text-decoration: underline;
        cursor: pointer;
    }


/*Tooltip*/
.iconTooltip{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    fill: #C7CCD0;
}

.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tooltip-text {
    position: absolute;
    bottom: 120%;
    left: 10px;
    transform: translateX(0);
    background: #FFF;
    color: #8F90A6;
    text-align: center;
    border-radius: 4px;
    padding: 2px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
    width: max-content;
    max-width: 300px;
    white-space: normal;
    word-break: break-word;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 3;
    padding-inline: 8px;
    box-sizing: border-box;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/*Sliders*/
.form-check-input:checked {
    background-color: #4BA64F !important;
    border-color: #4BA64F !important;
    width: 30px !important;
    height: 15px !important;
}

.form-check-input:hover{
    cursor: pointer;
}

.form-check-input {
    background-color: #C7CCD0 !important;
    border-color: #C7CCD0 !important;
    width: 30px !important;
    height: 15px !important;
    background-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPSczJyBmaWxsPScjZmZmJy8+PC9zdmc+") !important;
}


/*Checkboxes*/
.form-checkbox-input {
    background-color: #C7CCD0 !important;
    width: 17px !important;
    height: 18px !important;
}

    .form-checkbox-input:checked {
        background-color: #4BA64F !important;
        accent-color: #4BA64F !important;
        width: 17px !important;
        height: 18px !important;
    }

    .form-checkbox-input:hover{
        cursor: pointer;
    }

/*Images*/
.dotted-area {
    background: #FFFFFF;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    margin: 0 auto;
}

.text_img {
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
}

.upload-link {
    color: #1A73E7;
}

