html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
#outerwrapper th,
#outerwrapper td {
    margin: 0;
    padding: 0;
}
img {
    border: 0px;
}
/* Force the vertical scrollbar in FF */
html {
    overflow-y: scroll;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}

#campaigneditform .cell_appends_field input[type="checkbox"] {
    min-width: 0;
    width: auto;
    display: inline-block;
}

#campaigneditform .cell_appends_field label {
    display: inline-block;
    width: auto;
    font-size: 18px;
    line-height: 24px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.version {
    width: 45% !important;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 100%;
    max-height: 800px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.popup-close,
.popup-copy {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.popup-close {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.popup-close:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.popup-copy {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.popup-copy:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.popup-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
    color: #333;
}

#remix-email-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#remixed-email {
    width: 100%;
    height: 300px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 5px;
    margin-top: 40px;
}

.tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #007bff;
    color: #007bff;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    pointer-events: none;
}

.tooltip::after {
    content: "";
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

body #navigation ul #manage-users,
body #navigation ul #manage-clients,
body #navigation #client-drop,
body #navigation ul #manage-account {
    font-size: 20px;
    font-weight: bold;
    padding-top: 5px;
}
body #navigation #client-drop img {
    margin-top: 0px;
    margin-bottom: -1px;
    margin-left: 1px;
}

.datepicker-container {
    transition: none !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 400px;
    max-height: 1000px;
    overflow-y: auto;
}

.external-link:focus svg {
    stroke: #0066cc;
}

.external-link svg {
    margin-left: 4px;
    vertical-align: text-top;
    transition: all 0.2s ease;
    transform-origin: center;
    width: 10px;
    height: auto;
    position: relative;
    top: 2px;
}

.external-link:hover svg {
    stroke: #333;
}

.password-wrapper {
    position: relative;
}

.password-wrapper #togglePassword {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 12px;
}

.password-wrapper #togglePassword:hover {
    text-decoration: underline;
}

#facebook_ids .field {
    margin-bottom: 0;
}

.add-fb-id {
    display: inline-flex;
}

.add-fb-id #addFieldBtn,
.add-fb-id #addRentalFormBtn {
    margin-top: -13px;
    margin-bottom: 0px;
}
#addFieldBtn,
#addRentalFormBtn {
    width: auto;
    display: inline-block;
    background: none !important;
    color: #2a2a2a;
    margin-top: -20px;
    margin-bottom: 20px;
}

#addFieldBtn svg {
    width: 25px;
    height: auto;
    position: relative;
    top: 7px;
}

a.remove-field {
    margin-left: 10px;
    cursor: pointer;
    width: auto;
    display: inline-block;
    background: none !important;
    color: #2a2a2a;
}

a.remove-field-2 {
    margin-left: 14px;
}

a.remove-field:hover {
    background: none;
}

a.remove-field:hover svg path {
    fill: #2151f3;
}

.remove-field svg {
    width: 20px;
    height: auto;
}

.remove-field svg path {
    transition: 0.25s ease-in-out;
}

#manage-clients img {
    margin-left: 4px;
    margin-bottom: -4px;
}

#manage-account img {
    margin-top: 5px;
    margin-bottom: -2px;
    margin-left: 5px;
}

.capitalize {
    text-transform: capitalize;
}

/* Card fade-in animation */
.fade-in-card {
    animation: fadeInCard 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInCard {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table row fade-in animation */
.fade-in-row {
    animation: fadeInRow 0.5s ease-in forwards;
    opacity: 0;
}

@keyframes fadeInRow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.home #data-stage .inline-loader,
#card-stage .inline-loader {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    min-height: 600px;
    border-radius: 10px;
}

.home #data-stage .inline-loader h2,
#card-stage .inline-loader h2 {
    font-size: 40px;
    font-weight: bold;
    position: relative;
    top: 200px;
    left: 50%;
    transform: translate(-50%, 0%);
    text-align: center;
    animation: pulse 1s infinite;
    display: block;
}

.home #data-stage #noresult {
    border-radius: 10px;
    background: #ffffff;
    position: relative;
    height: 600px;
}

.home #data-stage #noresult h2 {
    font-size: 40px;
    font-weight: bold;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

@keyframes pulse {
    0% {
        opacity: 1; /* Fully visible */
    }
    50% {
        opacity: 0.2; /* Partially transparent */
    }
    100% {
        opacity: 1; /* Fully visible again */
    }
}

.statuscard {
    background-color: #ffffff;
    border: solid 1px #cccccca9;
    display: inline-block;
    margin: 0 0px 15px 0px;
    border-radius: 10px !important;
    width: 30%;
    flex-grow: 1;
    min-width: 250px;
}
.statusheader {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#statuscards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove
    span {
    position: absolute;
    left: 7px;
    margin-top: -2px;
}
.message-title {
    font-size: 14px;
    min-width: 180px !important;
}

.message-title-header {
    min-width: 180px !important;
}

#outerwrapper .refcode-th,
#outerwrapper .refcode-td {
    min-width: 330px !important;
}
.select2-selection__choice__display,
.select2-results__options li,
.select2-container--default .select2-search--inline .select2-search__field,
.select2-container .select2-search--inline .select2-search__field {
    font-size: 14px !important;
    font-family: "DM Sans" !important;
}

#outerwrapper .refcode-td {
    cursor: default;
}

#outerwrapper .userrow.excluded {
    background-color: #fcaead;
}

.select2-selection__choice__display {
    user-select: none;
}

.select2-selection.select2-selection--multiple,
.select2-results__options,
.select2-results__option,
.select2-dropdown--below,
.select2-results {
    min-width: 290px;
}

.select2-selection__choice__display {
    cursor: text !important;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    pointer-events: none !important;
}
.select2-selection__choice__remove {
    pointer-events: auto !important; /* Keep pointer events for the x button */
}
#manage-client-box .client-logo {
    object-fit: cover !important;
}

/* #statuscards div:last-child {
    flex-grow: unset;
} */

#app table {
    margin: 0 auto;
}

#manage-client-box {
    min-height: 900px;
}

.statuscard .statusheader {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    background-color: #1e235a;
}

.statuscard .statusheader h2 {
    color: #ffffff;
    padding: 10px 25px;
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
}

.statuscard .statuscontent {
    padding: 20px;
}

.statuscard .statuscontent p {
    font-size: 18px;
    color: #2a2a2a;
}

.statuscard .statuscontent p span.healthy,
span.healthy {
    color: #009d44;
    font-weight: bold;
}

.logout img {
    margin-top: 0px;
    /* margin-bottom: -3px; */
}

#manage-users img {
    margin-top: 0px;
    margin-bottom: -1.5px;
    margin-left: 5px;
}

.newcards {
    background-color: #f6f2e7;
    padding: 0px 0px !important;
    border: none;
    display: flex;
    flex-wrap: wrap;

    margin: 10px 0 15px;
    gap: 5px;
    justify-content: normal;
    padding: 10px;
    border-radius: 5px;
}

#topcards.newcards .carditem:nth-child(6n + 6) {
    margin-right: 0;
}

#topcards.newcards {
    border: 10px solid #f6f2e7;

    justify-content: space-between;
}
#topcards .carditem {
    width: 30%;
}

.newcards .carditem {
    flex-grow: 1;
    height: 110px;
    min-width: 140px; /* Minimum width, adjust as needed */
    width: 33%;
    max-width: unset;
    padding: 10px 20px;
    border: none;
    flex-wrap: wrap;
    border-radius: 5px;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 50px;
    padding: 10px 20px;
    height: 80px;
    border: none;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 5px;
    vertical-align: top;
    flex-direction: column;
    align-content: flex-start;
    position: relative; /* Needed for the pseudo-element to be positioned relative to this div */
    padding-bottom: 0px;
}

.newcards .carditem:nth-child(3n + 3) {
    margin-right: 0;
}

#primarycontent .newcards .carditem h3 {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 10px;
    color: #2a2a2a;
}

#primarycontent .newcards .carditem p {
    font-size: 25px;
    line-height: 30px;
    color: #2a2a2a;
    margin-bottom: 10px;
}

#client-drop {
    background: #e5eafe;
    border: none;
    color: #2151f3 !important;
    /* Text Large/bold */
    padding: 9px 7px 10px !important;
    border: none !important;
    font-family: "DM Sans";
    width: 210px !important;
    font-size: 20px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 700;
    line-height: 0.8; /* 30px */
}

#logout-button {
    background: #ff4c00;
    color: white !important;
    width: 210px;
    border: none !important;
    font-size: 20px;
    line-height: 1.6;
    display: flex;
    flex-direction: row;
    justify-content: center;
    transition: 0.25s ease-in-out;
    align-items: center;
    padding-bottom: 8px !important;
    margin: 0 auto;
}

#logout-button:hover {
    background: #2151f3 !important;
}

#navigation img {
    margin-right: 15px;
    height: auto !important;
    object-fit: contain;
    /* margin-top: 5px;
    margin-bottom: -3px; */
    width: 17px !important;
}

/* Body Sections */

.app .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.controls div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: fit-content;
    flex-direction: row;
    margin: 0 0 0 auto;
    max-width: 510px;
    max-width: unset;
    flex-wrap: nowrap;
}

/* Header */

#header {
    /*border-bottom:solid 1px #eeeeee;*/
    margin-bottom: 0px;
    padding-bottom: 0px;
    position: absolute;
    display: contents;
    z-index: 50;
    right: 0;
    top: 0px;
}

.header h1 {
    font-size: 40px;
    padding-left: 20px;
    color: #1e235a;
}
#utilitynav {
    position: absolute;
    right: 1px;
    top: 1px;
    z-index: 1000;
}

#utilitynav a {
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

a.logout {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 6px 10px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 12px;
    vertical-align: middle;
}

#navigation .logout {
    margin: 50px 0 20px;
    width: 94%;
}

a.logout:hover {
    color: #ffffff;
    background-color: #001b2e;
}

h1#branding {
    padding-top: 30px;
    color: #2a2a2a;
    font-size: 24px;
    line-height: 35px;
}

h1#branding a {
    color: #2a2a2a;
    text-decoration: none;
}

#nav-campaigns {
    padding-top: 10px !important;
}
/* Navigation */

#navigation ul {
    margin-left: 0px;
    margin-top: 0px;
    padding-top: 80px;
    list-style: none;
}
#navigation {
    height: 100%;
}

#navigation ul li {
    margin-bottom: 5px;
    font-size: 14px;
}

#navigation ul li ul {
    margin-top: 5px;
    margin-left: 10px;
}

#navigation ul li ul li {
    font-size: 12px;
    margin-bottom: 0;
}

body #navigation ul li a {
    text-decoration: none;
    color: #2a2a2a;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 16px;
    border-bottom: solid 1px transparent;
}

body #navigation #nav-campaigns li a.active {
    color: #001b2e;
    text-decoration: underline;
    font-weight: bold;
}

body #navigation ul li a:hover {
    text-decoration: underline;
}

/* ---- */

h2 {
    font-family: "DM Sans";
    padding-top: 0px;
    color: #2a2a2a;
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 20px;
    font-weight: normal;
}

h3 {
    font-family: "DM Sans";
    padding-top: 0px;
    color: #2a2a2a;
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

#outerwrapper #userlist td {
    width: 160px;
}

.parentrow td:first-child {
    vertical-align: middle;
}

#outerwrapper #userlist td {
    vertical-align: middle;
}

/* #userlist td:first-child {
    vertical-align: middle;
} */

#outerwrapper #userlist td a {
    width: 100%;
}

#outerwrapper #userlist #disableuser,
#outerwrapper #userlist #disableuser {
    width: 130px;
}
.prelogin h2 {
    font-weight: bold;
    color: #3c4257;
}

.prelogin #outerwrapper {
    background: unset;
}

.prelogin .inner {
    padding: 0px;
}

body a {
    color: #1e3932;
}

body a:hover {
    color: #001b2e;
}
.manage-filter-box {
    position: relative;
}

.inner {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

#clientlist th {
    min-width: 125px;
}

#clientlist tr.inactive td,
tr.ineligible td {
    opacity: 0.25;
}

#clientlist tr.inactive {
    cursor: not-allowed;
    background: repeating-linear-gradient(
        45deg,
        #ffffff,
        #f0f0f02f 10px,
        #e9dcbca4 10px,
        #c8c8c81a 20px
    );
}

tr.ineligible {
    cursor: not-allowed;
    opacity: 0.25;
}

#clientlist tr.inactive .client-logo,
#clientlist tr.inactive .copy-td a {
    cursor: not-allowed;
}
#clientlist tr.inactive .client-logo img,
#clientlist tr.inactive .copy-td a img {
    pointer-events: none;
}

#clientlist tr.inactive td:nth-of-type(9) {
    opacity: 0.8;
}

#clientlist tr.inactive td:nth-of-type(9) a:first-of-type {
    opacity: 0.6;
}

#clientlist tr.inactive td:nth-of-type(2) {
    opacity: 0.65;
}
#clientlist tr.inactive td:nth-of-type(1) {
    opacity: 0.6;
}

#clientlist tr.inactive:nth-of-type(even) {
    background: repeating-linear-gradient(
        320deg,
        #ffffff,
        #f0f0f02f 10px,
        #e9dcbca4 10px,
        #c8c8c81a 20px
    );
}

#manage-client-box .controls {
    gap: 15px;
    flex-direction: row !important;
}

#primarycontent p#add-client-p {
    margin-bottom: 0px;
}

.carditem .progress-bar-container {
    position: relative;
    background-color: #5f7fff24;
    border-radius: 25px;
    height: 10px;
    margin-bottom: 0px;
    top: unset;
}

.carditem #totalprogressmade {
    font-size: 13px !important;
    text-align: right;
    font-weight: 600;
}

.carditem #totalprogressmade span {
    float: left;
}

.carditem .progress-bar {
    background-color: #2151f3;
    height: 100%;
    border-radius: 25px;
    transition: all 1.5s ease-in-out;
}

.carditem .progress-bar-text {
    position: absolute;
    left: 10px;
    display: none;
    top: -25px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

#add-client-p a {
    padding: 11.5px 12px;
}

.copy-td a:hover {
    transition: 0.25s ease-in-out;
    opacity: 0.7;
}

.copy-td a {
    transition: 0.25s ease-in-out;
}

#outerwrapper table {
    border-collapse: collapse;
    min-width: 300px;
    display: block;
    overflow-x: auto;
    background-color: #f7f7f7;
    border: 0.25px solid rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 70px;
}

/*  */

#primarycontent {
    /* padding: 15px 0 30px; */
    align-items: flex-end;
}

.table-container h2 {
    margin-bottom: 0px;
}

#footerlogin {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
}

#footerlogin {
    color: #2a2a2a;
    font-size: 10px;
}

.footer {
    /* bottom: 0; */
    max-height: unset;
    /* vertical-align: bottom; */
    /* position: absolute;
    z-index: 100000; */
}
#footer {
    position: absolute;
    bottom: 50px;
    left: 20px;
    text-align: left;
    width: 100%;
}

#footer {
    color: #9b9aab;
    font-size: 10px;
    line-height: 15px;
}

/* Messages */

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert.alert-success {
    color: 1e235A;
    background-color: #eceeff;
    border-color: #d0d3ff;
}

.alert.alert-fail {
    color: #eb4335;
    background-color: #ffe9e7;
    border-color: #e2c1be;
}

/* General Treatments */

#primarycontent p {
    font-size: 16px;
    line-height: 22px;
    color: #2a2a2a;
    margin-bottom: 10px;
}

#primarycontent p.info {
    text-align: left;
    margin-bottom: 20px;
}

#acquisition_filters .filter input {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 0px;
    align-items: center;
    min-width: unset !important;
    width: 250px !important;
}
#acquisition_filters {
    margin-top: 10px;
}
#ranges .date-select,
#overviewranges .date-select {
    text-indent: 40px;
    font-size: 15px;
    height: 35px !important;
    border-radius: 5px;
}

#category,
#include_exclude,
#recurrencenumber {
    font-size: 15px;
    height: 35px !important;
    border-radius: 5px;
    padding: 0px 10px;
}

#ranges .date-select::placeholder,
#overviewranges .date-select::placeholder {
    color: #474747;
}
#acquisition_filters input#submit {
    margin-right: 0px !important;
}

#acquisition_filters {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
}

.client-content #filters form {
    width: fit-content;
    display: flex;
}

.tabs:last-child {
    opacity: 0.6;
}
.overview {
    border: 1px solid var(--Black-20, #cccccca9);
    border-radius: 10px;
}

#acquisition_filters .filter input::placeholder {
    color: #373737;
}

#acquisition_filters .filter a#clear-button {
    top: 7px;
}
#filters .filter {
    position: relative;
    display: flex;
    width: 250px;
    margin-right: 10px;
}

#filters {
    width: fit-content;
    margin-right: 0px;
}
#ranges,
#overviewranges {
    margin: 20px 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
}

#range-go {
    color: #ffffff !important;
    height: 35px;
    line-height: 0;
    display: inline-block;
    padding: 10px 20px;
    text-indent: 0px !important;
    box-sizing: border-box;
    transition: 0.25s ease-in-out;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    background-color: #1e235a !important;
    margin-left: 7.5px;
    font-size: 16px;
    border: none;

    cursor: pointer;
}

#range-go:hover {
    background-color: #001b2e !important;
}
#custom-date-range {
    margin-top: 50px !important;
    position: absolute;
    background: #f6f2e7;
    width: fit-content;
    border: 1px solid var(--Black-20, #cccccca9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 7.5px 7.5px;
    border-radius: 10px;
}
#range-start-date {
    margin-right: 7px;
}

#primarycontent p#to-text {
    font-size: 15px;
    line-height: 22px;
    margin-right: 6px;
    color: #2a2a2a;
    margin-bottom: 2px;
}
.extra-margin {
    margin-bottom: 60px !important;
}

#custom-date-range input {
    height: 35px !important;
    text-indent: 5px;
    font-size: 14px;
    border: 1px solid var(--Black-60, #666);
    background: transparent;
    border-radius: 5px;
}

#client-logo-field {
    display: none !important;
}

.filter-range {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
}

#overview_table .filter-range {
    float: right;
}

#outerwrapper #overview_table td {
    padding: 15px 5px;
    min-width: 127px;
}

#outerwrapper #overview_table td:first-child {
    padding-left: 20px;
}

.home .filter-range {
    float: right;
    display: block;
}

.home #data-stage,
#card-stage {
    position: relative;
}

#range-start-date,
#range-end-date {
    background: #faf8f3 !important;
}

#userlist .commonbtn,
a.actionbutton,
.actionbutton {
    background-color: #ffffff;
    color: black;
    border: 1px solid #1b1b1b;
    display: inline-block;
    padding: 7px 10px;
    min-width: 100px;
    height: 35px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
}

.actionbutton.dark {
    background-color: #1e235a;
    color: #ffffff;
    cursor: pointer;
}

.actionbutton.dark:hover {
    background-color: #001b2e;
}

#manageuserstitle {
    font-weight: bold;
    width: fit-content;
    margin: 0 auto 0 0;
}
#addusercontainer {
    width: fit-content;
    margin: 0 0 0 auto;
}

.userrow .actionbutton,
.userrow .commonbtn {
    transition: none !important;
}
.userrow .actionbutton:hover,
.userrow .commonbtn:hover {
    color: #ffffff !important;

    background-color: #2151f3 !important;
    transition: none !important;
}
.userrow .actionbutton:hover img,
.userrow .commonbtn:hover img {
    filter: invert(1) brightness(1000);
    transition: none !important;
}

.userrow img {
    transition: none !important;
}

#manageuserstitle img {
    width: 30px !important;
    height: auto !important;
    margin-bottom: -4px !important;
}

#user-box img {
    width: 15px;
    height: auto;
    margin-top: -7px;
    margin-bottom: -4px;
    margin-right: 5px;
    opacity: 0.9;
}

#adduserbutton {
    width: 130px;
}

#user-box {
    width: fit-content;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20px 30px;
}

#userlist td.change-role a {
    width: 150px;
    text-indent: -6px;
}

#manage-client {
    width: 28px;
    margin-bottom: -8px;
    margin-top: 10px;
    height: auto;
}

#edit-client {
    width: 27px;
    height: auto;
    margin-bottom: -2px;
    margin-top: 0px;
}

#create-client {
    width: 27px;
    height: auto;
    margin-bottom: -2px;
    margin-top: 0px;
}

#add-client {
    width: 15px;
    margin-right: 7px;
    height: auto;
    margin-top: 0;
    margin-bottom: -3px;
}

#user-box img#add-user {
    width: 14px;
    margin-right: 7px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#add-client-p {
    text-align: right;
}

#manage-client-box {
    width: fit-content;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20px;
}

#outerwrapper .copy-th,
#outerwrapper .copy-td {
    min-width: 20px;
    width: 60px !important;
    min-width: unset !important;
}
#manage-client-header {
    font-weight: bold;
}

.edit-client-img {
    width: 14px;
    margin-bottom: 3px;
    margin-right: 10px;
    height: auto;
}

.copy-actblue-icon {
    width: 20px;
    height: auto;
}

.copy-ngp-icon {
    width: 20px;
    height: auto;
}

#manage-campaigns {
    width: 50px;
    height: auto;
}

.delete-user button {
    width: 130px !important;
    text-indent: -6px;
}
#userlist .inner {
    width: fit-content;
}

#userlist.commonbtn:hover,
.commonbtn a.actionbutton:hover {
    color: #ffffff !important;
    background-color: #001b2e !important;
}

/* Login Page */

body.prelogin {
    background-color: #f2f0eb;
    align-items: flex-start;
}

#loginform {
    width: 520;
    margin: 0 auto;
}

select:disabled,
select:invalid {
    color: rgba(0, 0, 0, 0.7) !important;
}
#loginform.register form {
    height: 500px;
    padding: 40px 50px 50px 50px;
}

#loginform form {
    display: block;
    width: 520px;
    height: 440px;
    background-color: #fffdf6;
    box-sizing: border-box;
    padding: 60px 50px 50px 50px;
    margin-top: 30px;
    border: solid 1px #cccccc;
    /* box-shadow: 0 15px 35px 0 rgb(60 66 87 / 8%), 0 5px 15px 0 rgb(0 0 0 / 12%); */
}

#loginform form label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

#loginform form input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 12px;
    font-size: 18px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

#loginform form button {
    color: #ffffff;

    display: inline-block;
    padding: 15px 15px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    background: #2151f3;
    font-size: 15px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}

#loginform form button:hover {
    background-color: #001b2e;
}

#loginform form p {
    text-align: center;
}

#loginform form p a {
    text-decoration: none;
}

body.prelogin #footer {
    text-align: center;
}

span.warning {
    color: red;
}

/* User Profile */

form.accountform {
    width: 50%;
}

form.accountform label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

form.accountform input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 7px;
    font-size: 18px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

form.accountform button {
    color: #ffffff;
    background-color: #2151f3;
    display: inline-block;
    padding: 7px 10px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    height: 40px;
    vertical-align: top;
}

form.accountform button:hover {
    background-color: #001b2e;
    color: #ffffff;
}

/* --------------- */

form#useraddform label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

#outerwrapper #userlist-table-container {
    width: 100%;
    overflow-x: auto;
    border: 0.25px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin: 10px auto;
}

h2 span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    font-style: italic;
    margin-left: 5px;
    display: inline-block;
    position: relative;
    top: 2px;
}

#userlist-container {
    width: 100%;
    border: 0.25px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

#outerwrapper #userlist-table-container table {
    margin: 0px !important;
    border: none !important;
}

#outerwrapper #userlist {
    width: 100% !important;
    margin: 10px auto;
    display: table;
}

form#useraddform input {
    width: 50%;
    box-sizing: border-box;
    padding: 12px 7px;
    font-size: 18px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 10px;
    min-width: 350px;
    display: block;
}

#client-content,
#client-wrapper,
#client-report-content,
#adduserform,
#add-new-client,
#edit-client-container {
    width: 100%;
    margin: 0 auto;
}

#edit-client-container h2 {
    white-space: break-spaces;
}
#add-user-title {
    font-weight: bold;
}

#adduserform form#useraddform button {
    width: 250px;
    height: 45px;
    margin-top: 10px;
}
form#useraddform button {
    color: #ffffff;
    background-color: #2151f3;
    display: inline-block;
    padding: 7px 10px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    vertical-align: top;
}

form#useraddform button:hover {
    color: #ffffff;
    background-color: #001b2e;
}

form#useraddform span {
    margin-bottom: 20px;
    display: inline-block;
}

/* Pagination */

.basepagination div:first-of-type {
    display: none;
}

.basepagination a {
    color: #22292f;
    background: transparent;
    display: inline-block;
    padding: 7px 12px;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-right: 14px;
    vertical-align: top;
    border: solid 1px #22292f;
}

.basepagination a:hover {
    background-color: #fffdf6;
}

span.items-center {
    color: #22292f;
    background: transparent;
    display: inline-block;
    padding: 7px 12px;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-right: 14px;
    vertical-align: top;
    font-weight: bold;
    border: solid 1px #22292f;
}

.basepagination a svg {
    width: auto;
    height: 14px;
}

.basepagination {
    margin-top: 30px;
}

/* Filters */

.filter {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin-right: 1%;
    margin-bottom: 20px;
}

.filter label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #2a2a2a;
}

.filter select {
    width: 100%;
    display: block;
    font-size: 16px;
    padding: 10px 10px;
}

.filter input {
    width: 47%;
    margin-right: 1%;
    font-size: 16px;
    padding: 10px 10px;
    display: inline-block;
    border: solid 1px #2a2a2a;
    border-radius: 3px;
}

#dashboard_filters .filter {
    width: 320px;
    margin-right: 0;
}

#dashboard_filters .filter input {
    width: 150px;
    margin-right: 1%;
    font-size: 16px;
    padding: 10px 10px;
    display: inline-block;
    border: solid 1px #2a2a2a;
    border-radius: 3px;
}

/* Dashboard */

#dashboardtop {
    border-top: solid 1px #eeeeee;
    border-bottom: solid 1px #eeeeee;
    margin-bottom: 40px;
    position: relative;
}

#largechart {
    border-right: solid 1px #eeeeee;
    padding: 20px 20px 20px 0;
}

.chart80 {
    width: 70%;
    display: inline-block;
    vertical-align: top;
}

#chartimportantmetrics {
    width: 29%;
    display: inline-block;
    vertical-align: top;
    margin-left: -4px;
    position: relative;
}

#chartimportantmetrics .section {
    padding: 20px 20px 0 20px;
}

#chartimportantmetrics .divider1 {
    border-bottom: solid 1px #eeeeee;
    padding-bottom: 50px;
}

#chartimportantmetrics p {
    font-size: 25px;
    line-height: 30px;
    text-align: left;
}

#chartimportantmetrics p.topperformer {
    font-size: 14px;
    font-weight: normal;
}

#dashboardtop p.info {
    font-size: 12px;
    line-height: 15px;
    color: #2a2a2a;
    position: absolute;
    bottom: 10px;
    right: 0px;
    font-style: italic;
}

#chartimportantmetrics h3 {
    font-family: "DM Sans";
    padding-top: 0px;
    color: #2a2a2a;
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 10px;
    font-weight: normal;
}

#dashboardsections {
    border-top: solid 1px #eeeeee;
    border-bottom: solid 1px #eeeeee;
}

.chart25 {
    width: 31%;
    display: inline-block;
    margin-right: 2%;
    border-right: solid 1px #eeeeee;
    padding: 20px 20px 20px 0;
    vertical-align: bottom;
}

.chartrow {
    padding-bottom: 0px;
    border-bottom: solid 1px #eeeeee;
}

#dashboardsections .chartinfo h5 {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 5px;
    color: #3c4257;
    font-weight: normal;
}

#dashboardsections .chartinfo h5 span {
    font-size: 12px;
    line-height: 19px;
    color: #0e6245;
    background-color: #caf5c9;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 5px;
    border: solid 1px #caf5c9;
    vertical-align: middle;
    font-weight: normal;
    margin-left: 5px;
}

#utilitynav a {
    margin-right: 0px;
}
#dashboardsections .chartinfo h4 {
    color: #3c4257;
    font-size: 22px;
    line-height: 26px;
    font-weight: normal;
    margin-bottom: 15px;
}

.commonbtn {
    color: #ffffff;
    background-color: #2151f3;
    display: inline-block;
    padding: 7px 10px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    vertical-align: top;
}

.commonbtn:hover {
    color: #ffffff;
    background-color: #001b2e;
}

/* Forms */

form.commonform label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

form.commonform input {
    width: 50%;
    box-sizing: border-box;
    padding: 12px 12px;
    font-size: 18px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

form.commonform button {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 15px 15px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 18px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}

form.commonform button:hover {
    background-color: #001b2e;
}

.processswaps .fielditem {
    width: 20%;
    display: inline-block;
    vertical-align: top;
    margin-right: 2%;
    /*background-color:#f7fafc;*/
    /*border:solid 1px #eeeeee;*/
    padding: 10px 0px;
}

.processswaps .fielditem label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}

.processswaps .fielditem select {
    width: 100%;
    font-size: 16px;
}

.processswaps .fieldrow select {
    font-size: 16px;
    padding: 5px 2px;
}

.processswaps .fieldrow input {
    font-size: 16px;
    padding: 5px 10px;
    border: solid 1px #2a2a2a;
}

.processswaps .swapsubmit {
    margin-top: 15px;
}

.processswaps .swapsubmit button {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;

    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}

.processswaps .swapsubmit button:hover {
    background-color: #001b2e;
}

.processswaps .fieldrow {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #eeeeee;
}

.processswaps .fieldrow h3 {
    margin-bottom: 5px;
    font-size: 19px;
    line-height: 24px;
}

.advancedrow {
    margin-bottom: 10px;
}

.advancedfields {
    margin-top: 10px;
    display: none;
}

.processswaps .fieldrow.subfield {
    margin-bottom: 5px;
    border: none;
    padding: 0;
}

.fieldrow.section {
    background-color: #f7fafc;
    padding: 20px;
    border-bottom: solid 7px #eeeeee;
}

.client-visiblility {
    width: 15px;
    margin-left: -5px;
    margin-top: -2px;
    margin-right: 5px;
    height: auto;
}

.client-visibility-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.client-visibility-box .sub-span {
    width: fit-content;
    text-align: left;
    text-decoration: none !important;
    margin-top: 0px !important;
}

.manage-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.manage-actions * {
    font-size: 13px !important;
}

.client-visibility-box {
    text-decoration: none !important;
}

.visibility {
    margin-left: -3px;
    margin-right: 6px;
}
.manage-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.advancedrow input[type="checkbox"]:checked + div.advancedfields {
    display: block;
}

#userlist-container h2 {
    margin-bottom: 15px;
    padding-top: 20px;
}
#userlist-container {
    border-radius: 0px 10px 10px 10px;
    border: 1px solid var(--Black-20, #cccccca9);
    background: var(--Cream-40, #f6f2e7);
    padding: 10px 7.5px;
    margin-bottom: 10px;
}

#client-copy,
#client-eye {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 2px;
    padding: 5px;
    margin: 0px 4px;
    border: 0.25px solid rgba(0, 0, 0, 0.4);
}

#ranges form,
#overviewranges form {
    display: none;
}
#client-link-box {
    display: flex;
    /* display: none; */
    flex-direction: column;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    margin: -20px 0 0 auto;
}

#client-link-box span {
    margin-top: 4px;
}
#client-report-links {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-bottom: 1px;
}
.chartitem {
    vertical-align: top;
}

#filters input#submit {
    color: #ffffff;
    height: 35px;
    line-height: 0;
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    background-color: #1e235a;
    margin-right: 20px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}
.tab {
    align-self: stretch;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #d2d3de;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    justify-content: center;
    align-items: center;
    height: 35px;
    transition: 0.25s ease-in;
    display: flex;
    gap: 10px;
    width: 160px;
}

.tab-box {
    width: fit-content;
    height: auto;
    margin: 10px 10px 0 0;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
}

#acquisition_filters .filter input {
    height: 35px;
}
.tab p {
    color: #333333;
    font-size: 14px !important;
    font-family: Assistant;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0px !important;
    word-wrap: break-word;
}
.tab:hover {
    background: #1e235a !important;
    transition: 0.25s ease-in-out;
    cursor: pointer;
}

.tab:hover p {
    color: white !important;
}

.active-tab {
    background: #1e235a;
    cursor: default;
}

.active-tab:hover {
    cursor: default;
    background: #1e235a;
}

.active-tab p {
    color: white !important;
}

.tabs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#filters input#submit:hover {
    background-color: #001b2e;
}

.sortabletable th a {
    color: #ffffff;
    text-decoration: underline;
}

.sortabletable th a.active {
    color: #ffffff;
}

.sortabletable th a.active.ASC:after {
    content: "\25b2";
    font-size: 10px;
}

.sortabletable th a.active.DESC:after {
    content: "\25bc";
    font-size: 9px;
}
#outerwrapper thead tr {
    color: white;
    background: var(--Navy-100, #1e235a);
}

#outerwrapper table {
    border-radius: 10px;
}

#vendorsearch {
    margin-top: 30px;
}

#vendorsearch input {
    width: 200px;
    box-sizing: border-box;
    padding: 12px 12px;
    font-size: 18px;
    border: solid 1px #cccccc;
    border-radius: 5px;
    margin-bottom: 10px;
}
#results p {
    color: blue;
    padding-bottom: 10px;
}
#remember-me {
    width: fit-content !important;
    margin: 0px 5px 0px 0px !important;
}

a#reset {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}

a#reset:hover {
    background-color: #001b2e;
}

.select2-container--default .select2-selection--multiple {
    padding-bottom: 5px !important;
}

#fulfilters .filter {
    display: block;
    width: 300px;
}

#fulfilters .filter input.link {
    width: 96%;
}

#fulfilters #submit {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
}

#fulfilters #submit:hover {
    background-color: #001b2e;
}

#blastrenders {
    margin-top: 60px;
}
#add-user-title img {
    margin-left: 12px;
    width: 35px;
    margin-bottom: -5px;
    height: auto;
}

#blastrenders h2 {
    font-size: 20px;
    line-height: 25px;
}

#blastrenders h3 {
    font-size: 16px;
    line-height: 22px;
}

#blastrenders .emailrow {
    margin-bottom: 50px;
    display: inline-block;
    width: 47%;
    vertical-align: top;
    margin-right: 5%;
}

#blastrenders .emailrow:nth-child(2n + 2) {
    margin-right: 0;
}

#blastrenders .emailitem {
    width: 100%;
    border: solid 1px #cccccc;
    border-radius: 0;
    position: relative;
}

#blastrenders .emailitem .emailcon {
    padding: 20px 40px;
    min-height: 300px;
    height: 600px;
    overflow-y: scroll;
}

#blastrenders .emailheader {
    position: relative;
}

#blastrenders .emailitem h2.mailingname {
    font-size: 12px;
    line-height: 19px;
    font-weight: bold;
    margin-bottom: 5px;
    width: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 22%;
    z-index: 12;
}

#blastrenders .emailitem h2.fromname {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

#blastrenders .emailitem p.toname {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 5px;
}

#blastrenders .emailitem h2.subject {
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 0px;
    border-top: solid 1px #cccccc;
    padding: 20px 0;
}

#blastrenders .emailitem p.sentdate {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 5px;
    float: right;
}

#blastrenders .emailitem img {
    max-width: 100%;
    height: auto;
}

#primarycontent p.updated_date {
    font-size: 12px;
    color: #222222;
    text-align: right;
    font-style: italic;
}

/* User Edit */

#usereditform {
    width: 300px;
}

#usereditform .field label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #2a2a2a;
}

#usereditform .field select {
    width: 100%;
    display: block;
    font-size: 16px;
    padding: 10px 10px;
}

#usereditform input#submit {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
    text-transform: capitalize;
}

#usereditform input#submit:hover {
    background-color: #001b2e;
}

.userrow select.field {
    width: 100%;
    display: block;
    font-size: 12px;
    padding: 5px 5px;
}

#accounttoggle {
    margin-bottom: 20px;
}

/* Data Management */

#datarules #ruleform {
    display: inline-block;
    width: 45%;
    margin-right: 20px;
    vertical-align: top;
}

#datarules #ruleform form.accountform {
    width: 100%;
}

#datarules #currentrules {
    display: inline-block;
    width: 45%;
    vertical-align: top;
}

#datarules #ruleform select {
    margin-bottom: 20px;
    font-size: 16px;
    padding: 10px 12px;
    width: 180px;
    margin-right: 10px;
    box-sizing: border-box;
    vertical-align: middle;
    display: inline-block;
}

#datarules #ruleform a {
    vertical-align: middle;
    display: inline-block;
}

#datarules #ruleform button#addrule {
    width: 90px;
    box-sizing: border-box;
    vertical-align: middle;
}

#datarules #saverules {
    display: none;
}

#datarules .rule-item {
    border: dashed 1px #cccccc;
    padding: 20px;
    margin-bottom: 20px;
}

/* Campaign Edit */

#campaigneditform {
    width: 70%;
}

#campaigneditform label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    color: #2a2a2a;
    font-weight: bold;
}

#campaigneditform input {
    border: solid 1px #2a2a2a;
    display: inline-block;
    font-size: 15px;
    padding: 10px 10px;
    width: 100%;
    margin-bottom: 20px;
}

#campaigneditform input.readonly {
    background-color: #f7fafc;
    color: #cccccc;
}

#campaigneditform select {
    width: 100%;
    display: block;
    font-size: 16px;
    padding: 10px 10px;
}

#campaigneditform input#submit {
    color: #ffffff;
    background-color: #2151f3;
    display: inline-block;
    padding: 7px 10px;
    box-sizing: border-box;
    text-decoration: none;
    width: 250px;
    text-align: center;
    border-radius: 5px;
    border: none;
    margin: 10px auto;
    height: 45px;
    cursor: pointer;
    font-size: 14px;
    vertical-align: top;
}

#campaigneditform input#submit:hover {
    background-color: #001b2e;
    color: #ffffff;
}

#campaigneditform .field {
    display: inline-block;

    width: 100%;
    vertical-align: top;
    margin-right: 2%;
}

#campaigneditform input {
    border-radius: 4px;
    border: 1px solid var(--Black-40, #999);
    background: var(--White-80, #fdfdfd);
    max-width: 500px;
    min-width: 290px;
}

.campaignitem {
    display: inline-block;
    width: 45%;
    border-radius: 20px;
    padding: 25px 25px;
    vertical-align: top;
    border: solid 1px #cccccc;
    margin-bottom: 20px;
    margin-right: 2%;
}

.campaignitem h2 {
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.campaignitem h2 a {
    text-decoration: none;
}

.campaignitem h3 {
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
    margin-bottom: 5px;
}

.campaignitem p {
    font-size: 17px;
    line-height: 22px;
}

/* ActBlue Text Rental Forms */

#actblue_rental_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#campaigneditform #actblue_rental_container input {
    width: 15%;
    margin-right: 10px;
    min-width: 130px;
    font-size: 13px;
}
#campaigneditform #actblue_rental_container .field input:nth-of-type(1) {
    min-width: 140px;
    width: 140px;
}

#campaigneditform #actblue_rental_container .field input:nth-of-type(2) {
    min-width: 80px;
    width: 80px;
}

#campaigneditform #actblue_rental_container .field input:nth-of-type(4) {
    min-width: 100px;
    width: 100px;
}

.settingsicon {
    float: right;
}

.settingsicon svg {
    width: 30px;
    height: auto;
}

.progress-bar-container {
    position: relative;
    top: 20px;
}

.progress-bar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    background: radial-gradient(closest-side, #f2f0eb 49%, transparent 52% 100%),
        conic-gradient(#e37a40 calc(var(--progress-value) * 1%), #cccccc 0);
}

.progress-bar.complete {
    background: radial-gradient(closest-side, #f2f0eb 49%, transparent 52% 100%),
        conic-gradient(#009102 calc(var(--progress-value) * 1%), #cccccc 0);
    animation: glowing 3s ease-in infinite;
}

.section-container {
    transition: height 0.3s ease-in-out;
    margin-bottom: 10px;
}

.collapsible-container {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.collapsible-container-toggle {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #2a2a2a;
    margin-bottom: 10px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    vertical-align: top;
}

.section-container.open .collapsible-container {
    max-height: fit-content;
}

.section-title {
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}

.section-container.open .collapsible-container-toggle {
    transform: rotate(180deg);
    display: inline-block;
}

.collapsible-container.open:before {
    transform: rotate(180deg);
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #009102;
    }
    50% {
        box-shadow: 0 0 10px #009102, 0 0 20px #009102;
    }
    100% {
        box-shadow: 0 0 5px #009102;
    }
}

.dashboardbtn {
    position: relative;
    display: inline-block;
    z-index: 12;
}

.select2-container {
    width: 200px !important;
}

.select2-selection__choice {
    max-width: 95% !important;
}

#campaigneditform .select2-container {
    width: 100% !important;
    max-width: 650px;
}

.custom-dropdown {
    /* Apply general styles to the dropdown */
    width: 200px;
    padding: 8px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    /* font-family: Arial, sans-serif; */
    font-size: 14px;
    color: #333;
    background-color: #fff;
}

.custom-dropdown option {
    /* Apply styles to the dropdown options */
    padding: 8px;
    background-color: #fff;
    color: #333;
}

.custom-dropdown option:hover {
    /* Apply hover styles to the dropdown options */
    background-color: #f2f2f2;
}

.custom-dropdown option:selected {
    /* Apply styles to the selected option */
    background-color: #007bff;
    color: #fff;
}

#clientbtn {
    text-align: right;
}

#ranges a,
#overviewranges a {
    color: #2a2a2a;
    background: transparent;
    display: inline-block;
    padding: 7px 12px;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-right: 14px;
    vertical-align: top;
    border: solid 1px #2a2a2a;
    vertical-align: middle;
}

#ranges a.active,
#overviewranges a.active {
    color: #ffffff !important;
    background-color: #1e3932 !important;
}

#ranges a:hover,
#overviewranges a:hover {
    color: #000000;
    background-color: #b2b0a7;
}

#customrange {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

#customrange form {
    display: none;
}

#customrange input {
    width: auto;
    display: inline-block;
    font-size: 16px;
    padding: 5px 10px;
    border: solid 1px #2a2a2a;
    box-sizing: border-box;
}

#customrange input[type="submit"] {
    color: #ffffff;
    background-color: #1e3932;
    display: inline-block;
    padding: 7px 25px;
    width: auto;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

#customrange input[type="submit"]:hover {
    background-color: #001b2e;
}

* {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    box-sizing: border-box;
    font-family: "DM Sans";
    margin: 0;
    padding: 0;
}

#outerwrapper th {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
}

html {
    background: #f6f2e7;
}
body {
    background-color: #f6f2e7;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
    color: #333;
    width: 100%;
    flex-wrap: wrap;
    font-family: "DM Sans";
    font-weight: 400;
    background-color: #f2f0eb;
}

.inline-logo {
    width: 20px;
    height: auto;
    object-fit: contain;
}

.header {
    border-bottom: 1px solid var(--Cream-100, #e8dec4);
    background: var(--Cream-40, #f6f2e7);
    padding: 10px 10px 12px 20px;
    width: 100%;
}

.progress-circle {
    width: 60px !important;
    height: 60px;
    position: relative;
}

#header-logo {
    width: 270px;
    height: auto;
}

.footer img {
    width: 200px;
    height: auto;
}

.footer a svg {
    display: none;
}

.direct-donate span {
    display: flex;
    width: 100%;
    padding-bottom: 5px;
    padding-top: 5px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke: #d3dcfd;
    stroke-width: 25;
    /* stroke-linecap: round; */
}

.progress-circle circle:last-child {
    stroke: #2151f3;
    border-radius: 0;
    stroke-dasharray: calc(var(--progress) * 2.64), 264;
    transition: stroke-dasharray 0.5s ease;
}

.progress-circle::after {
    content: attr(data-progress) "%";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 10px;
    font-weight: bold;
}

#header-logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#header-logo-container h1 {
    margin-bottom: 0px;
    padding-left: 10px;
}

#primarycontent .inner {
    height: 100%;
}

.app {
    width: 100%;
    padding: 20px 0 20px 0;
    margin: 0 auto;
    height: inherit;
    min-height: 750px;
    background: #faf8f3 !important;
}

h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.controls {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 0px;
    flex-wrap: wrap;
}

.controls input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--Black-60, #666);

    border-radius: 5px;
    font-size: 16px;
    min-width: 300px;
    max-width: 350px;
    text-indent: 30px;
    background: url("/img/search.png") no-repeat 10px center;
    background-size: 23px;
    background-position: 12px;
}

#client-content input[type="text"] {
    flex: 1;
    padding: 10px 30px 10px 10px;
    border: 1px solid var(--Black-60, #666);
    height: 35px;
    border-radius: 5px;
    font-size: 16px;
    min-width: 300px;
    max-width: 350px;
    text-indent: 30px;
    background: url("/img/search.png") no-repeat 10px center;
    background-size: 23px;
    background-position: 12px;
}

#client-content input[type="text"].smallsearch {
    min-width: 100px;
    padding: 10px 10px 10px 12px;
    font-size: 15px;
    background: none;
    text-indent: 0px;
    margin-top: 10px;
}

#client-content input[type="text"].spendinput {
    min-width: 0;
    width: 80px;
    background: none;
    text-indent: 0px;
    padding: 10px 10px 10px 10px;
}

#client-content span.spend-label {
    font-size: 16px;
    font-weight: normal;
    margin-right: 5px;
    color: #333;
}

.select2-selection__choice {
    cursor: default;
}

#clear-button {
    transition: 0.25s ease;
    transform: scale(1.1);
}

#clear-button:hover {
    opacity: 0.7;
    transform: scale(1.3);
}

.controls .client-filter-box {
    position: relative;
    display: flex;
    width: fit-content;
}

.controls div .clear-button,
.custom-clear {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url("/img/close.png") no-repeat center center;
    background-size: 20px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.date-select {
    background: url("/img/calendar.png") no-repeat 10px center;
    background-size: 23px;
    background-position: 12px;
    width: 180px;
}

.auditdate {
    min-width: 100px;
    padding: 5px 10px 5px 12px;
    font-size: 15px;
    background: none;
    text-indent: 0px;
    margin-top: 10px;
    border: solid 1px #666;
    border-radius: 5px;
}

.controls select {
    padding: 10px;
    border: 1px solid var(--Black-60, #666);
    border-radius: 5px;
    min-width: 240px;
    max-width: 310px;
    font-size: 16px;
    margin-left: 10px;
    text-indent: 30px;
}

.client-dashboard-link {
    transition: 0.25s ease-in-out;
}
.client-dashboard-link:hover {
    transition: 0.25s ease-in-out;
    color: #2151f3 !important;
}
#outerwrapper th,
#outerwrapper td {
    padding: 15px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    min-width: 140px;
}

#outerwrapper td a {
    text-decoration-color: rgba(0, 0, 0, 0.5);
}

#data-stage th.sortable-col {
    text-decoration: underline;
    cursor: pointer;
}

#data-stage th.sortable-col.active {
    color: #ff4c00;
}

/* #outerwrapper th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
} */

.prelogin #primarycontent {
    padding: 0px !important;
}

#primary-login {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap-reverse;
    padding: 0px;
}
#outerwrapper tr {
    background-color: #f7f7f7;
}
#outerwrapper tr:nth-child(even) {
    background-color: #fff;
}

#outerwrapper tr:hover {
    background-color: #f1f1f1;
}

#outerwrapper thead tr:hover {
    background-color: #1e235a;
}

#outerwrapper tr.pinned {
    background-color: #ffffcc;
}

#outerwrapper tr.pinned:hover {
    background-color: #ffff99;
}

#outerwrapper td img {
    vertical-align: middle;
    margin: 0 3px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #4caf50;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress::after {
    content: attr(data-progress) "%";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
}

.sql-query {
    background: #f6f2e7;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.sql-query h3 {
    margin-bottom: 10px;
}

.actions {
    display: flex;
}

.actions button {
    width: 75px;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 7px;
    background: none;
    border: none;
    cursor: pointer;

    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sub-span {
    color: rgba(0, 0, 0, 0.912);
    font-size: 10px;
    margin-top: 5px;
    transition: 0.25s ease-in-out;
    display: flex;
}

.actions button:hover {
    opacity: 1;
}

.actions button:hover span {
    color: white;
    transition: none;
}

.actions button img {
    width: 24px;
    height: 24px;
}

.footer {
    /* margin-top: 20px; */
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    width: 100%;
    align-items: center;
    background: var(--Black-100, #24252a);
    justify-content: space-between;
}

#primarycontent .disclaimer {
    font-size: 12px;
}

#loginform form {
    background: white !important;
    padding: 50px 40px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#loginform .logo {
    padding-bottom: 20px;
}

.footer a {
    color: #dddddd;
    margin: 10px 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #b4b4b4;
    text-decoration: underline;
}

.prelogin main {
    border-radius: 10px;
}
.main {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    /* overflow: hidden; */
}

.left-login {
    width: 49%;
    min-width: 300px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left-login img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: right;
}

/* .table-container {
    padding-left: 30px;
} */
.right-login {
    width: 50%;
}
#primarycontent {
    flex: 1;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
    flex-wrap: wrap-reverse;
}

.inner {
    width: 95%;
}

#loginform .logo img {
    width: 300px;
    height: auto;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.branding {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
}

.subtitle {
    font-family: "DM Sans";
    font-size: 46px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -1;
}

/* #loginform {
    width: 100%;
    max-width: 400px;
    margin: auto;
} */

#loginform h2 {
    font-size: 34px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-weight: 500;
    text-align: left;
}
.parentrow {
    cursor: pointer;
}

.controls h2 {
    padding-right: 20px;
    margin-bottom: 20px;
}

.childless {
    cursor: default !important;
}

.childless .parent-up {
    display: none !important;
    opacity: 0 !important;
}
.childrow {
    background: var(--White-60, #f7f7f7) !important;
    transition: 0.25s ease-in-out;
}

.parentrow.hidden-children .parent-up {
    transform: rotate(180deg);
    transform-origin: center;
    transition: 0.25s ease-in-out;
}
.child-right,
.parent-up {
    background: transparent;
    width: 20px !important;
    transform-origin: center;
    height: auto;
    transition: 0.25s ease-in-out;
}

.parent-up {
    transform: rotate(90deg);
    transition: 0.25s ease-in-out;
}
.parentrow {
    background: var(--White-100, #fff) !important;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}
#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#outerwrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
    background: white;
    width: 100%;
    flex-direction: row;
}

#primarycontent .inner {
    padding: 50px 0;
}

#upload-logo img {
    width: 150px;
    height: auto;
}

#upload-logo {
    border-radius: 4px;
    width: 100%;
    height: 45px;
    min-width: 290px;
    max-width: 500px;
    border: 1px solid var(--Black-40, #999);
    background: var(--White-80, #fdfdfd);
    padding: 10px 0px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 4px;
    transition: 0.25s ease-in-out;
}

#upload-logo:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.25s ease-in-out;
}

#client-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;

    width: 100%;
    max-width: 100%;
    flex-direction: column;
}
#bodynav {
    width: 0px;
    height: 0;
    border-left: 1px solid var(--Black-20, #ccc);

    flex-shrink: 0;
    background-color: white;
    position: relative;
    flex-grow: 1; /* Optional: makes the child flex item take up all available space in flex container */
    padding-left: 0px;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    transition: width 0.3s ease-in-out; /* Separate transitions for width and opacity */
}

#bodynav * {
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Transition for child elements' opacity */
}

#bodynav.open {
    width: 300px; /* Set the width to the desired value */
    padding-left: 20px;
    transition: width 0.3s ease-in-out; /* Transition for width */
}

#bodynav.open * {
    opacity: 1;
    transition: opacity 0.3s ease-in-out; /* Transition for child elements' opacity */
}

#reset-password-div {
    width: 90%;
    margin: 0 auto;
}

.footer div {
    margin: 0px 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer div a {
    text-align: center;
}

#bodyleft {
    /* flex-grow: 1;
    display: flex; */
    overflow: hidden;
    vertical-align: top;
    /* box-shadow: -1px 0 #e3e8ee; */
    position: relative;
    z-index: 100;
    width: 100%;
    background: #faf8f3 !important;
    padding-left: 0px;
    min-height: fit-content;

    /*padding-bottom:60px;*/
}

#acquisition-tab-box {
    /* display: none !important; */
}
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

#outerwrapper td {
    word-wrap: break-word;
}

.remember-me input {
    margin: 0 0px 0 0;
}

.remember-me .forgot-password {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

#blueprint-link {
    transition: 0.25s ease-in-out;
}

#blueprint-link:hover {
    color: #0056b3 !important;
}

.remember-me .forgot-password:hover {
    text-decoration: underline;
}

.footer p {
    text-align: right;
}

button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3 !important;
}

table button:hover {
    background: #0056b3 !important;
    transition: 0.25s ease-in-out;
}

table button:hover img {
    transition: 0.25s ease-in-out;
    filter: invert(1) brightness(5);
}

table button,
table button img {
    transition: 0.25s ease-in-out;
}

#footerlogin {
    margin-top: 20px;
    text-align: center;
}

.newcards {
    justify-content: space-between;
}

.loading-p::after {
    background: transparent !important;
}
#userlist-container h2 {
    text-indent: 2px;
}
#footerlogin .inner {
    padding: 20px;
}

.right-login h2 {
    text-align: left;
}

.disclaimer {
    font-size: 12px;
    color: #666;
    padding-top: 0px;
    text-align: center;
}

.remember-me * {
    opacity: 0.5;
    cursor: not-allowed;
}

.client-logo,
#client-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    object-position: center;
    background: var(--White-100, #fff);
    box-shadow: -3px 3px 20px 0px rgba(0, 0, 0, 0.1);
}

.client-logo {
    width: 60px;
    margin-right: 0px;
    height: 60px;
    transition: 0.5s ease-in-out;
}

.client-logo:hover {
    transition: 0.5s ease-in-out;
    filter: grayscale(100%) contrast(1.5);
}

#client-content h2,
#client-report-content h2 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    white-space: wrap;
    font-weight: 600;
}

.basepagination {
    width: fit-content;
    font-weight: 600;
    margin: 30px auto;
}

.basepagination p {
    text-align: center;
    margin-top: 20px;
}

.basepagination a {
    /* width: 120px; */
    font-weight: 600;
}

.basepagination span {
    font-weight: 600;
    opacity: 0.3;
    cursor: not-allowed;
}
#client-report-content h2 {
    padding-bottom: 10px;
    line-height: 1.2;
}

#search-input,
.clear-button,
.date-select {
    height: 45px !important;
}

.smaller-logo {
    width: 15px;
    height: auto;
    object-fit: contain;
    margin-top: -4px;
    margin-right: 1px;
}
/* Tiles */

/* Topline Tiles */

#topcards.newcards .carditem {
    /* background: white; */
    overflow: hidden;
    z-index: 10;
}

#topcards {
    position: relative;
}

#topcards.newcards .carditem p::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    width: 120px;
    height: 120px;
    background-color: #5f7fff24;
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: -1;
}

#topline-progress-div p::after {
    content: unset !important;
}

/* Set up parent divs with relative positioning */
#topline-total-raised-div,
#topline-total-gifts-div,
#topline-avg-gift-div,
#topline-projection-goal-div,
#topline-total-recurring-div,
#topline-progress-div,
#total-raised-div,
#total-raised-excluded-div,
#total-recurring-div,
#total-gifts-div,
#avg-gift-div,
#total-gross-spend-div,
#roi-div,
#google-search-remainder-div,
#facebook-ads-remainder-div,
#x-ads-remainder-div,
#emails-sent-div,
#email-openrate-div,
#topline-total-email,
#topline-total-texting,
#topline-total-dd,
#email-avg-open-div,
#avg-donation-rate-div,
#messages-sent-div,
#topline-total-misc-raised,
#clicks-div,
#topline-total-partner-raised,
#topline-total-website-raised,
#cpa-div {
    position: relative;
}

/* Add images using ::before pseudo-element */
#topline-total-email::before,
#topline-total-texting::before,
#topline-total-dd::before,
#topline-total-raised-div::before,
#topline-total-gifts-div::before,
#topline-avg-gift-div::before,
#topline-projection-goal-div::before,
#topline-total-recurring-div::before,
#total-raised-div::before,
#total-raised-excluded-div::before,
#total-recurring-div::before,
#total-gifts-div::before,
#avg-gift-div::before,
#total-gross-spend-div::before,
#roi-div::before,
#google-search-remainder-div::before,
#facebook-ads-remainder-div::before,
#x-ads-remainder-div::before,
#emails-sent-div::before,
#email-openrate-div::before,
#email-avg-open-div::before,
#avg-donation-rate-div::before,
#topline-total-website-raised::before,
#messages-sent-div::before,
#topline-total-partner-raised::before,
#topline-total-email::before,
#topline-total-misc-raised::before,
#clicks-div::before,
#cpa-div::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
    background-size: cover;
    background-position: center;
    z-index: 10; /* Make sure the image is behind the content */
}

/* Set specific background images */
#topline-total-raised-div::before {
    background-image: url("/img/TotalRaised.png");
}

#topline-total-texting::before {
    background-image: url("/img/messages-sent.png");
}
#topline-total-dd::before {
    background-image: url("/img/NetSpend.png");
}

#topline-total-partner-raised::before {
    background-image: url("/img/CPA.png");
}

#topline-total-gifts-div::before {
    background-image: url("/img/TotalGifts.png");
}

#topline-avg-gift-div::before {
    background-image: url("/img/AverageGift.png");
}

#topline-projection-goal-div::before {
    background-image: url("/img/Projection.png");
}

#topline-total-recurring-div::before {
    background-image: url("/img/ToplineRecurring.png");
}

/* Individual Tiles */
#total-raised-div::before {
    background-image: url("/img/TotalRaised.png");
}
#topline-total-website-raised::before {
    background-image: url("/img/website-2.png");
}

#topline-total-misc-raised::before {
    background-image: url("/img/misc-2.png");
}

#total-raised-excluded-div::before {
    background-image: url("/img/NetSpend.png");
}

#total-recurring-div::before {
    background-image: url("/img/ToplineRecurring.png");
}

#total-gifts-div::before {
    background-image: url("/img/TotalGifts.png");
}

#avg-gift-div::before {
    background-image: url("/img/AverageGift.png");
}

#total-gross-spend-div::before {
    background-image: url("/img/GrossSpend.png");
}

#roi-div::before {
    background-image: url("/img/roi.png");
}

#google-search-remainder-div::before {
    background-image: url("/img/google-blue.png");
}

#facebook-ads-remainder-div::before {
    background-image: url("/img/facebook-blue.png");
}

#x-ads-remainder-div::before {
    background-image: url("/img/x-blue.png");
}

#emails-sent-div::before {
    background-image: url("/img/emails-sent.png");
}

#email-openrate-div::before {
    background-image: url("/img/TotalEmailsOpen.png");
}

#email-avg-open-div::before {
    background-image: url("/img/avg-open-rate.png");
}

#topline-total-email::before {
    background-image: url("/img/TotalEmailsOpen.png");
}

#avg-donation-rate-div::before {
    background-image: url("/img/AverageDonationRate.png");
}

#messages-sent-div::before {
    background-image: url("/img/messages-sent.png");
}

#clicks-div::before {
    background-image: url("/img/messages-clicked.png");
}

#cpa-div::before {
    background-image: url("/img/CPA.png");
}

/* temporarily disable client view features */
.client-dashboard-button *,
.copy-client-link * {
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.client-dashboard-button,
.copy-client-link {
    cursor: not-allowed !important;
}

#campaigneditform .tabsection label {
    display: block;
}

#campaigneditform .tabsection input {
    padding: 5px 10px;
    margin-bottom: 10px;
    width: 100px;
    min-width: 0;
}

.tabsection.active {
    height: auto;
}

.tabsection {
    height: 0;
    overflow: hidden;
}

/* MEDIA QUERIES - MOVE TO LAYOUT.CSS */
@media screen and (max-width: 1330px) {
    #primarycontent .newcards .carditem h3 {
        font-size: 14px;
    }

    .carditem:before {
        opacity: 0.5 !important;
    }
}

/* MEDIA QUERIES - MOVE TO LAYOUT.CSS */
@media screen and (max-width: 1150px) {
    #topcards .carditem {
        width: 33%;
        max-width: unset;
        background-position: 95% center;
        background-size: 50px;
    }

    #primarycontent .newcards .carditem h3 {
        font-size: 13px;
    }
    /* #google-search-remainder-div {
        background-size: 35px;
        background-position: 89% center;
    } */
    #topcards.newcards .carditem {
        /* background: white; */
        background-position: 96%;
    }

    .newcards .carditem {
        background-size: 40px;
    }
}

@media screen and (max-width: 1100px) {
    .table-container .progress-circle {
        margin-left: 5px;
    }
    #utilitynav {
        top: 0px;
    }
    .newcards .carditem {
        width: 49.5%;
    }

    #topcards .carditem {
        width: 49.5%;
    }
    .newcards {
        justify-content: space-between;
    }
    #outerwrapper th,
    #outerwrapper td {
        padding: 10px;
        text-align: left;
        min-width: 120px;
    }

    .footer {
        max-height: unset;
    }
    #search-input {
        width: 200px;
        min-width: unset !important;
    }

    .controls select.date-select {
        width: 180px;
        min-width: unset !important;
    }
    .header h1 {
        font-size: 30px;
    }
    #header-logo {
        width: 200px;
    }
}
@media screen and (max-width: 1024px) {
    .statuscard .statusheader h2 {
        padding: 5px 20px;
        font-size: 20px;
    }
    .statuscard .statuscontent {
        padding: 8px 20px;
    }
    #primarycontent .newcards .carditem h3 {
        font-size: 12px;
    }
    #primarycontent .newcards .carditem p {
        font-size: 22px;
        margin-top: -5px;
    }
    .header h1 {
        font-size: 20px;
    }

    .header {
        padding: 13px 10px 13px 20px;
    }
    #header-logo {
        width: 170px;
    }
    #utilitynav {
        right: -2px;
        top: -3px;
    }
    .left-login {
        position: absolute;
        opacity: 0.15;
        z-index: 0;
        width: 100%;
        top: 0;
    }

    #loginform form {
        width: 90%;
        margin: 0 auto;
        max-width: 600px;
    }

    .controls h2 {
        margin-bottom: 10px;
    }

    .controls {
        margin-bottom: 10px;
    }

    .controls input,
    .controls select {
        width: 49%;
        min-width: 200px;
    }

    #client-input {
        width: 100%;
        max-width: unset;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .subtitle {
        font-family: "DM Sans";
        font-size: 33px;
        margin: -10px auto 15px;
        width: 90%;
        text-align: center;
    }

    .disclaimer {
        padding-top: 15px;
    }
    #loginform {
        width: 100%;
        margin: 0 auto;
        max-width: 600px;
    }

    #loginform .logo {
        padding-bottom: 10px;
    }

    .right-login {
        width: 100%;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding-top: 30px;
    }

    .progress-circle {
        width: 50px;
        height: 50px;
    }

    .progress-circle circle {
        stroke-width: 15;
    }

    .app {
        padding: 15px;
    }

    h1 {
        font-size: 22px;
    }

    #outerwrapper th,
    #outerwrapper td {
        padding: 12px;
    }

    .actions button {
        margin-right: 10px;
    }

    .actions button img {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 880px) {
    .statuscard {
        width: 49%;
    }
}

@media screen and (max-width: 800px) {
    #primarycontent .inner {
        padding: 20px 0;
    }
    #bodynav {
        padding-left: 0px;
        border-left: none;
    }

    #navigation {
        height: 100%;
    }

    #navigation .logout {
        margin: 20px auto;

        padding-right: 20px;
        width: 260px;
    }

    #navigation ul {
        display: flex;
        padding-top: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #navigation ul li {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    #outerwrapper th,
    #outerwrapper td {
        padding: 7.5px;
        text-align: left;
        min-width: 100px;
    }

    #userlist th,
    #userlist td {
        width: 150px !important;
        min-width: 150px;
    }
    .progress-circle::after {
        font-size: 9px;
    }
    .footer div {
        flex-direction: column;
        padding: 30px 10px;
    }

    #client-wrapper .footer img {
        margin-bottom: 15px;
        padding-top: 10px;
    }

    #client-wrapper .footer {
        padding: 10px 0px 20px;
    }
    .progress-circle {
        width: 40px;
        height: 40px;
    }

    .progress-circle circle {
        stroke-width: 4;
    }

    #outerwrapper table {
        font-size: 14px;
    }

    #outerwrapper th,
    #outerwrapper td {
        padding: 10px;
    }

    .progress::after {
        font-size: 10px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        padding-bottom: 40px;
    }

    .footer a {
        margin: 10px 10px;
    }
    #loginform form {
        padding: 20px 20px 10px;
        height: fit-content;
    }
    #client-logo {
        width: 100px;
        height: 100px;

        margin-right: 15px;
    }

    .table-container .progress-circle {
        margin-left: 5px !important;
        width: fit-content !important;
    }
}
@media screen and (max-width: 650px) {
    .app {
        padding: 10px 0px;
    }
    .tab {
        /* width: 80px; */
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }

    .tab-box a {
        width: 100%;
    }

    .tab-box {
        width: 33%;
    }

    .tab-box {
        margin: 10px 15px 0 0;
    }
    #primarycontent .tab p {
        font-size: 13px !important;
        line-height: 14px;
        width: 50px;

        text-align: center;
    }
    .newcards .carditem {
        width: 100%;
        padding: 10px 15px;
        height: 70px;
        background-size: 50px;
        background-position: 94% center !important;
    }
    /* #google-search-remainder-div {
        background-size: 40px;
        background-position: 93% center !important;
    } */
    #topcards .carditem {
        width: 100%;
    }
    #primarycontent .newcards .carditem p {
        font-size: 16px;
    }
    #primarycontent .newcards .carditem h3 {
        margin-bottom: 5px;
        line-height: 1 !important;
    }
    #topcards .carditem,
    .newcards .carditem {
        width: 49%;
    }
    .carditem:before {
        height: 48px !important;
        width: 48px !important;
        top: 12px !important;
        right: 11px !important;
    }
    #topcards.newcards .carditem p::after {
        right: 18px;
    }
    #topcards.newcards .carditem p::after {
        opacity: 0.3 !important;
    }
    #topcards h3,
    .carditem h3 {
        line-height: 1;
    }
}

@media screen and (max-width: 600px) {
    .statuscard {
        width: 100%;
        margin-bottom: 18px;
    }
    .statuscard .statuscontent {
        padding: 5px 20px;
    }
    .statuscard .statusheader h2 {
        padding: 5px 20px;
        font-size: 20px;
    }
}

@media screen and (max-width: 520px) {
    #outerwrapper th,
    #outerwrapper td {
        min-width: 70px !important;
    }

    #topcards .carditem,
    .newcards .carditem {
        width: 49%;
        min-width: 130px;
    }

    .carditem:before {
        opacity: 0.2 !important;
    }
    #client-logo {
        width: 90px;
        height: 90px;

        margin-right: 15px;
    }
    form#useraddform input {
        min-width: 270px;
    }
    #adduserform form#useraddform button {
        width: 270px;
        margin-top: 0px;
    }
    #header-logo {
        width: 110px;
    }
    #reset-password-div form.accountform {
        width: 100%;
    }

    #manage-client-box .controls {
        flex-direction: column-reverse !important;
        margin-bottom: 15px;
    }
    .header h1 {
        font-size: 15px;
        width: 120px;
    }
    #utilitynav {
        right: 5px;
        top: 2px;
    }
    .controls div {
        /* flex-direction: column; */
        width: 100%;
    }

    .controls .client-filter-box {
        width: 100%;
    }
    .controls #search-input,
    .controls select {
        width: 100% !important;
        margin-bottom: 10px;
        max-width: unset !important;
        margin-left: auto;
        margin-right: auto;
        min-width: unset !important;
    }

    #manageuserstitle {
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .search-input {
        font-size: 14px !important;
    }
    #client-content input[type="text"] {
        text-indent: 20px;
        background: url(/img/search.png) no-repeat 71px 40px;
        background-size: 17px;
        background-position: 8px;
    }
    #filters .filter {
        width: 180px;
    }
    #client-content input[type="text"] {
        max-width: 180px;
    }
    h2 {
        font-size: 25px;
    }
    #navigation ul {
        padding-top: 70px;
    }

    #primarycontent .disclaimer {
        font-size: 10px;
    }
    #loginform h2,
    .subtitle {
        font-size: 25px;
        line-height: 1;
    }

    #loginform form {
        padding: 20px 20px 10px;
        height: fit-content;
    }
    h1 {
        font-size: 20px;
        text-align: center;
    }

    #outerwrapper table {
        font-size: 12px;
    }

    #outerwrapper th,
    #outerwrapper td {
        padding: 8px;
    }

    .actions {
        justify-content: space-around;
    }

    .actions button {
        margin-right: 0;
    }

    .footer {
        font-size: 14px;
    }

    .footer p {
        text-align: center;
        font-size: 12px !important;
    }
}
@media screen and (max-width: 385px) {
    #ranges form,
    #overviewranges form {
        flex-wrap: wrap;
    }
    .extra-margin {
        margin-bottom: 100px !important;
    }
    #ranges,
    #overviewranges {
        margin: 10px auto 20px;
    }

    #custom-date-range {
        left: 0;
    }
    #filters {
        margin: 0 auto;
    }
    .filter-range {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    #range-go {
        width: 280px;
        margin: 8px auto 2px;
    }
    #outerwrapper th,
    #outerwrapper td {
        min-width: 50px !important;
    }
}
