:root {
    --affiliate-icon: #b695e4;
    --brand-icon: #1bd3c0;
    --product-icon: #ed7425;
    --policy-icon: #9879f0;
    --validation-icon: #96cecb;
    --email-icon: #0099c3;
    --staff-icon: #417ccd;
    --discounts-icon: #a43eed;
    --coupon-icon: #6c93a3;
    --dynamo-blue: #165c7e;
    --dynamo: linear-gradient(to right, #10465f, #5e2460);
    --green: #1b742f;
    --red: #a92734;
    --affiliate-btn: #705892;
    --brand-btn: #02766c;
    --product-btn: #bb5816;
    --uploads-btn: #384f82;
    --validation-btn: #537e7c;
    --email-btn: #047c9c;
    --staff-btn: #09529d;
    --coupon-btn: #517583;
    --discounts-btn: #7519cf;
}

/* title */
.title {
    transition: all 0.4s ease-in-out;
    font-size: 2.6rem;
}

@media only screen and (max-width: 600px) {
    .title {
        font-size: 1.4rem;
    }
}

/* Colors for icon in the page titles */
.icon-affiliate {
    color: var(--affiliate-icon);
}

.icon-brand {
    color: var(--brand-icon);
}

.icon-policy {
    color: var(--policy-icon);
}

.icon-product {
    color: var(--product-icon);
}

.icon-validation {
    color: var(--validation-icon);
}

.icon-email {
    color: var(--email-icon);
}

.icon-staff {
    color: var(--staff-icon);
}

.icon-discounts {
    color: var(--discounts-icon);
}

.icon-coupon {
    color: var(--coupon-icon);
}

/* Custom color for buttons */
.btn-custom {
    color: #fff;
    font-weight: 600;
}

.btn-custom:hover {
    filter: brightness(80%);
    color: #fff;
}

.btn-custom:focus {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
        rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.btn-dynamo {
    background-image: var(--dynamo);
}

.btn-dynamo-blue {
    background-color: var(--dynamo-blue);
}

.btn-red {
    background-color: var(--red);
}

.btn-green {
    background-color: var(--green);
}

/* Image in the title section */
.img-max-size {
    max-height: 5rem;
}

@media only screen and (min-width: 768px) {
    .img-max-size {
        max-height: 8rem;
    }
}

.custom-switch {
    padding-left: 0 !important;
}

.user-icon {
    font-size: 2.1rem;
    text-shadow: -1px 3px 6px #000;
    color: #afb3ba;
}

/* Table styling */
.responsive-table {
    overflow-x: auto;
    transition: all 0.4s ease-in-out;
}

.w-90 {
    width: 90%;
}

.table {
    border-collapse: collapse;
    border: 1px solid #eee;
    border-bottom: 2px solid #aa203a;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1),
        0px 10px 20px rgba(0, 0, 0, 0.05), 0px 20px 20px rgba(0, 0, 0, 0.05),
        0px 30px 20px rgba(0, 0, 0, 0.05);
}

.table th,
.table td {
    color: #454545;
    border: 1px solid #d7d7d7;
    padding: 12px 15px;
    border-collapse: collapse;
}

.table thead {
    background-image: linear-gradient(
        to right,
        #165d7e,
        #7b2e7d,
        #7c134e,
        #aa2039
    );
}

.table th {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
}

.table th.last {
    border-right: none;
}

tfoot {
    display: none;
}

#dtCustomers [data-toggle="collapse"] i:before {
    content: "\f102";
}

#dtCustomers [data-toggle="collapse"].collapsed i:before {
    content: "\f103";
}

/* Accordion */
[data-toggle="collapse"] i:before {
    content: "\f068";
}

[data-toggle="collapse"].collapsed i:before {
    content: "\f067";
}

#accordion .accordion-title {
    position: relative;
    display: block;
    padding: 10px 0 10px 50px;
    background-image: linear-gradient(to right, #165d7e, #7b2e7d, #7c134e);
    border-radius: 2px;
    overflow: hidden;
    color: #fff;
    width: 100%;
    text-align: left;
    transition: all 0.4s ease-in-out;
    user-select: none;
}

#accordion .accordion-title i {
    position: absolute;
    width: 44px;
    height: 100%;
    left: 0;
    top: 0;
    color: #fff;
    background: radial-gradient(rgba(33, 55, 68, 0.2), #1a5b7e);
    text-align: center;
    border-right: 1px solid transparent;
}

#accordion .accordion-title:hover {
    padding-left: 60px;
    background-image: linear-gradient(to right, #165d7e, #7b2e7d, #7c134e);
    color: #fff;
}

#accordion .accordion-title:hover i {
    border-right: 1px solid #fff;
}

#accordion .accordion-body {
    padding: 40px 6px;
}

#accordion .accordion-body .row p {
    margin: 0;
    padding: 0.5rem 0;
}

/* Cursor */
.pointer {
    cursor: pointer;
}

.default {
    cursor: default;
}

/* Messages style */
.message-container {
    position: fixed;
    top: 70px;
    right: 15px;
    z-index: 999;
}

.custom-toast {
    overflow: visible;
}
@media only screen and (min-width: 380px) {
    .custom-toast {
        min-width: 350px;
    }
}

.toast-line {
    height: 2px;
}

/* Form */
.errorlist {
    color: #e50000;
    font-size: 12px;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0 0.25rem;
}

.form input,
.form select,
.form textarea {
    padding: 8px;
    border: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 100%;
}

.form input[readonly],
.form select[readonly],
.form textarea[readonly] {
    box-shadow: none;
    user-select: none;
    pointer-events: none;
    appearance: none;
}

.form label.readonly {
    pointer-events: none;
}

input[type="checkbox"] {
    padding: 0;
    box-shadow: none;
    width: auto;
}

.form select {
    padding: 9.5px;
}

.form label {
    text-align: end;
    margin: 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 0;
    box-shadow: rgba(50, 50, 93, 0.5) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Custom select list */
.selectpicker-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.selectpicker {
    position: relative;
    display: inline-block;
    width: 100%;
}

.selectpicker-trigger {
    position: relative;
    display: block;
    padding: 0 50px 0 8px;
    line-height: 40px;
    background-color: #ffffff;
    border-radius: 0;
    transition: all 0.2s ease-in-out;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selectpicker:not(.readonly) > .selectpicker-trigger {
    user-select: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.selectpicker:not(.disabled):not(.readonly) > .selectpicker-trigger {
    cursor: pointer;
}

.selectpicker:is(.disabled) > .selectpicker-trigger {
    cursor: not-allowed;
    opacity: 0.65;
}

.selectpicker:not(.disabled):not(.readonly) > .selectpicker-trigger:hover {
    -webkit-box-shadow: rgba(50, 50, 93, 0.5) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    box-shadow: rgba(50, 50, 93, 0.5) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.selectpicker:not(.readonly) > .selectpicker-trigger:before {
    position: absolute;
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    top: 3px;
    right: 50px;
    margin-top: -3px;
    border-right: 1px solid #c7d1d6;
    transform-origin: 50% 0;
}

.selectpicker:not(.readonly) > .selectpicker-trigger:after {
    position: absolute;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    top: 50%;
    right: 20px;
    margin-top: -3px;
    border-bottom: 1px solid #c7d1d6;
    border-right: 1px solid #c7d1d6;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: 50% 0;
}

.selectpicker.opened .selectpicker-trigger:after {
    margin-top: 3px;
    transform: rotate(-135deg) translateY(-50%);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0%;
    right: 0;
    width: 100%;

    margin: 10px 0;
    border-radius: 0;
    box-sizing: border-box;
    z-index: 4;
    background: #fbfbfb;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    border: 0;
}

.selectpicker.opened .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(-8px);
    -webkit-box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    max-height: 400px;
    overflow: auto;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0 22px;
    line-height: 40px;
    cursor: pointer;
}

.custom-option:hover,
.custom-option.selection {
    background-color: #d9d9d9;
}

/* Circle style with tick animation checkbox */
/* Checkbox style credit https://getcssscan.com/css-checkboxes-examples */
.checkbox-wrapper-31:hover .check {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
}

.checkbox-wrapper-31 .background {
    fill: #ccc;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
}

.checkbox-wrapper-31 input[type="checkbox"] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    --appearance: none;
    --webkit-appearance: none;
}

.checkbox-wrapper-31 input[type="checkbox"]:hover {
    cursor: pointer;
}

.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .background-orange {
    fill: #e96723;
}
.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .background-blue {
    fill: #417ccd;
}

.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .stroke {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-31 input[type="checkbox"]:checked + svg .check {
    stroke-dashoffset: 0;
}

/* checkbox 31 */
.checkbox-wrapper-33 {
    --s-xsmall: 0.625em;
    --s-small: 1.2em;
    --border-width: 1px;
    --c-primary: #5f11e8;
    --c-primary-20-percent-opacity: rgba(95, 17, 232, 0.2);
    --c-primary-10-percent-opacity: rgba(95, 17, 232, 0.1);
    --t-base: 0.4s;
    --t-fast: 0.2s;
    --e-in: ease-in;
    --e-out: cubic-bezier(0.11, 0.29, 0.18, 0.98);
}

.checkbox-wrapper-33 .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.checkbox-wrapper-33 .checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-wrapper-33 .checkbox.readonly {
    pointer-events: none;
    opacity: 0.5;
}

.checkbox-wrapper-33 .checkbox + .checkbox {
    margin-top: var(--s-small);
}

.checkbox-wrapper-33 .checkbox__symbol {
    display: inline-block;
    display: flex;
    margin-right: calc(var(--s-small) * 0.7);
    border: var(--border-width) solid var(--c-primary);
    position: relative;
    border-radius: 0.1em;
    width: 1.5em;
    height: 1.5em;
    transition: box-shadow var(--t-base) var(--e-out),
        background-color var(--t-base);
    box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
}

.checkbox-wrapper-33 .checkbox__symbol:after {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    width: 0.25em;
    height: 0.25em;
    background-color: var(--c-primary-20-percent-opacity);
    opacity: 0;
    border-radius: 3em;
    transform: scale(1);
    transform-origin: 50% 50%;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox {
    width: 1em;
    height: 1em;
    margin: auto;
    fill: none;
    stroke-width: 3;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    color: var(--c-primary);
    display: inline-block;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox path {
    transition: stroke-dashoffset var(--t-fast) var(--e-in);
    stroke-dasharray: 30px, 31px;
    stroke-dashoffset: 31px;
}

.checkbox-wrapper-33 .checkbox__textwrapper {
    margin: 0;
}

.checkbox-wrapper-33 .checkbox__trigger:checked + .checkbox__symbol:after {
    -webkit-animation: ripple-33 1.5s var(--e-out);
    animation: ripple-33 1.5s var(--e-out);
}

.checkbox-wrapper-33
    .checkbox__trigger:checked
    + .checkbox__symbol
    .icon-checkbox
    path {
    transition: stroke-dashoffset var(--t-base) var(--e-out);
    stroke-dashoffset: 0px;
}

.checkbox-wrapper-33 .checkbox__trigger:focus + .checkbox__symbol {
    box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}

@-webkit-keyframes ripple-33 {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: scale(20);
    }
}

@keyframes ripple-33 {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: scale(20);
    }
}

/* Circle style tick for radio and checkbox inputs */
/* Radio button credit https://codepen.io/avstorm/pen/eYNLwVd */
.l-radio,
.l-checkbox {
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 8px 0;
    -webkit-tap-highlight-color: transparent;
}
.l-radio input {
    border-radius: 10px;
}

.l-radio input,
.l-checkbox input {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: none;
    border: 0;
    box-shadow: inset 0 0 0 1px #9f9f9f;
    box-shadow: inset 0 0 0 1.5px #9f9f9f;
    appearance: none;
    padding: 0;
    margin: 0;
    transition: box-shadow 150ms cubic-bezier(0.95, 0.15, 0.5, 1.25);
    pointer-events: none;
}

.l-radio input:focus,
.l-checkbox input:focus {
    outline: none;
}

.l-radio input:checked,
.l-checkbox input:checked {
    box-shadow: inset 0 0 0 6px #e96723;
}

.l-radio span {
    vertical-align: middle;
    display: inline-block;
    line-height: 20px;
    padding: 0 8px;
}

/* Checkbox with custom text */
/* Credit for checkbox style https://getcssscan.com/css-checkboxes-examples */
.checkbox-wrapper .tgl {
    display: none;
}

.checkbox-wrapper .tgl,
.checkbox-wrapper .tgl:after,
.checkbox-wrapper .tgl:before,
.checkbox-wrapper .tgl *,
.checkbox-wrapper .tgl *:after,
.checkbox-wrapper .tgl *:before,
.checkbox-wrapper .tgl + .tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper .tgl::-moz-selection,
.checkbox-wrapper .tgl:after::-moz-selection,
.checkbox-wrapper .tgl:before::-moz-selection,
.checkbox-wrapper .tgl *::-moz-selection,
.checkbox-wrapper .tgl *:after::-moz-selection,
.checkbox-wrapper .tgl *:before::-moz-selection,
.checkbox-wrapper .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper .tgl::selection,
.checkbox-wrapper .tgl:after::selection,
.checkbox-wrapper .tgl:before::selection,
.checkbox-wrapper .tgl *::selection,
.checkbox-wrapper .tgl *:after::selection,
.checkbox-wrapper .tgl *:before::selection,
.checkbox-wrapper .tgl + .tgl-btn::selection {
    background: none;
}

.checkbox-wrapper .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 6em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper .tgl + .tgl-btn:after,
.checkbox-wrapper .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper .tgl + .tgl-btn:after {
    left: 0;
}

.checkbox-wrapper .tgl + .tgl-btn:before {
    display: none;
}

.checkbox-wrapper .tgl:checked + .tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper .tgl-skewed + .tgl-btn {
    overflow: hidden;
    /* transform: skew(-10deg); */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: sans-serif;
    background: #888;
}

.checkbox-wrapper .tgl-skewed + .tgl-btn:after,
.checkbox-wrapper .tgl-skewed + .tgl-btn:before {
    /* transform: skew(10deg); */
    display: inline-block;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.checkbox-wrapper .tgl-skewed + .tgl-btn:after {
    left: 100%;
    content: attr(data-tg-on);
}

.checkbox-wrapper .tgl-skewed + .tgl-btn:before {
    left: 0;
    content: attr(data-tg-off);
}

.checkbox-wrapper .tgl-skewed + .tgl-btn:active {
    background: #717171;
}

.checkbox-wrapper .tgl-skewed + .tgl-btn:active:before {
    left: -10%;
}

.checkbox-wrapper .tgl-skewed:checked + .tgl-btn {
    background: #6bb777;
}

.checkbox-wrapper .tgl-skewed:checked + .tgl-btn:before {
    left: -100%;
}

.checkbox-wrapper .tgl-skewed:checked + .tgl-btn:after {
    left: 0;
}

.checkbox-wrapper .tgl-skewed:checked + .tgl-btn:active:after {
    left: 10%;
}

/* Image */
.small-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.medium-image {
    max-width: 44vw;
    max-height: 22vh;
}

/* Border */
.border-danger {
    border: 1px solid #e13226 !important;
}

/* Card */
.card-option:hover {
    box-shadow: rgb(0 0 0 / 69%) 0px 5px 20px;
}

/* Text over card image */
.card-img-caption {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card-img-caption .card-img-top {
    z-index: 0;
}

.card-img-caption .card-text {
    text-align: center;
    width: 100%;
    margin: 27% 0;
    position: absolute;
    z-index: 1;
}

@media only screen and (max-width: 575px) {
    .card-img-caption .card-text {
        font-size: 1.2rem;
        font-weight: 300;
        line-height: 1.5;
    }
}
@media only screen and (min-width: 575px) {
    .card-img-caption .main-policy {
        font-size: 3rem;
        line-height: 1.2;
    }
}

/* Table's filter dashboard */
#filters {
    position: absolute;
    z-index: 999;
    background: #fcfcfc;
    right: 0px;
    border: 1px solid #dbdbdb;
}
