:root {
    --primary-color: #152440;
    --primary-color-light: #ABBFE3;
    --secondary-color: #abbae3;
    --primary-text-color: #ffffff;
    --primary-color-20: rgba(21, 36, 64, 0.2);
    --highlight-color: rgba(202, 0, 0, 1);
}

body {
    padding-top: 70px;
    padding-bottom: 20px;
    scroll-padding-top: 70px;

    font-family: 'Raleway', sans-serif;
}

*,
::after,
::before {
    box-sizing: border-box
}

.image-container-height {
    height: 100% !important;
    width: auto !important;
}

.image-container-width {
    height: auto !important;
    width: 100% !important;
}

a {
    text-decoration: none;
    display: inline-block;
}

.no-cursor {
    cursor: not-allowed !important;
}

a.disabled {
    cursor: not-allowed !important;
    pointer-events: none;
}

/* small screen */
@media screen and (max-width: 991px) {
    nav.active {
        box-shadow: 0 4px 8px 0 var(--primary-color-20), 0 6px 20px 0 var(--primary-color-20);
    }
}

/* big screen */
/* @media screen and (min-width: 992px) {
    input.search {
        width: 250px;
    }
} */

/*::::::::::::::::::::::::::::: icons :::::::::::::::::::::::::::::*/
i.action:hover {
    cursor: pointer;
}

i {
    color: var(--primary-color);
}

a>i,
button>i {
    color: inherit;
    cursor: pointer;
}

#notification-list {
    max-height: 300px;
    overflow: auto;
}

#notification-icon {
    color: var(--primary-color);
}

#notification-icon.active {
    color: var(--highlight-color);
    font-weight: bold;
}

/*::::::::::::::::::::::::::::: subscriptions/orgs :::::::::::::::::::::::::::::*/
/* table.subscriptions {
    margin: auto;
    font-size: 1.2em;
}

table.subscriptions td {
    padding: 10px;
    text-align: center;
} */

.subscription,
.org {
    background-color: rgba(21, 36, 64, 0.2);
    border-radius: 10px;
}

.subscription-header,
.org-header {
    background-color: var(--primary-color);
    color: #ffffff;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

/*::::::::::::::::::::::::::::: lists :::::::::::::::::::::::::::::*/
/* .counter ol {
    counter-reset: item;
    /* list-style-type: none;
    list-style-position: outside;
}

.counter ol>li {
    counter-increment: item;
}

.counter ol>li::before {
    content: counters(item, '.') '. ';
} */
.counter ol {
    counter-reset: item;
}

/* Display all list items in a numbered list in block display */
.counter ol>li {
    display: block;
}

/* Use a counter that checks the number of items and adds a "." between them and ends with ". " */
.counter ol>li:before {
    content: counters(item, ".") ". ";
    counter-increment: item;
}

.clause:hover>.clause-options {
    display: inline-block !important;
}

/*:::::::::::::::::::::: progress list ::::::::::::::::::::::*/
.progressbar {
    counter-reset: step;

    width: 100%;
    padding: 0;
    position: relative;

    display: flex;
}

.progressbar li {
    list-style: none;
    /* display: inline-block; */
    width: 20%;
    position: relative;
    text-align: center;
    /* cursor: pointer; */
}

.progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 100%;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    background-color: #fff;
}

.progressbar li:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active {
    color: green;
}

.progressbar li.active:before {
    border-color: green;
    background-color: green;
    color: #ffffff;
    font-weight: bold;
}

.progressbar li.active+li:after {
    background-color: green;
}

/*::::::::::::::::::::::::::::: menu :::::::::::::::::::::::::::::*/
.dropdown-menu {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 8px 0 var(--primary-color-20), 0 6px 20px 0 var(--primary-color-20);
}

.nav-link.active {
    border-bottom: 2px solid var(--primary-color);
}

.dropdown-item.active {
    background-color: var(--primary-color);
}

/*::::::::::::::::::::::::::::: theme :::::::::::::::::::::::::::::*/
.shadow {
    box-shadow: 0 4px 8px 0 var(--primary-color-20), 0 6px 20px 0 var(--primary-color-20) !important;
}

.form-select.theme,
.form-control.theme {
    box-shadow: 0 4px 8px 0 var(--primary-color-20), 0 6px 10px 0 var(--primary-color-20);
    border: none;
    border-radius: 50em;
}

textarea.form-control.theme {
    border-radius: 20px;
    min-height: 100px;
    max-height: 300px;
}

.overflow-x-auto {
    overflow-x: scroll;
}

.overflow-y-auto {
    overflow-y: scroll;
}

.active-update {
    border: 0 !important;
}

.active-update:focus {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    font-weight: bolder;
}

.plan-container {
    border-radius: 15px;
    background-color: var(--primary-color);
    color: var(--primary-text-color);
    padding: 10px;
    cursor: pointer;
    border: solid 3px var(--primary-color);
}

.plan-container i {
    /* display: none; */
    font-size: 0;
    transition: font-size 0.3s ease-in-out;
}

.plan-container.active i {
    color: green;
    font-size: 1.5em;
    /* display: inline-block; */
}

.plan-container:hover {
    color: #000000;
    background-color: var(--primary-color-light);
}

.plan-container>.plan-header {
    font-size: 1.2em;
    font-weight: 500;
    margin: 0 !important;
}

.edit-icon-white {
    color: rgba(255, 255, 255, 0.6);
}

.edit-icon-white:hover {
    color: #ffffff;
}

.bold-link {
    font-weight: bold;
    color: inherit;
}

.bold-link:hover {
    font-weight: bolder;
    color: inherit;
}

.modal-header,
.modal-footer {
    background-color: var(--primary-color);
    color: #ffffff;
}

nav {
    background-color: #ffffff;
}

.toast {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.accordion-item,
.accordion-button {
    background-color: transparent !important;
    border-color: inherit !important;
}

.accordion-item button {
    font-weight: bold;
}

input,
select {
    accent-color: #000000;
    padding: 10px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #000000;
}

input[type=text],
input[type=email],
input[type=password],
input[type=number] {
    background-color: inherit !important;
}

input[type=checkbox] {
    border: 1px solid var(--primary-color) !important;
    background-color: var(--primary-color) !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
/* input[type=number] {
    -moz-appearance: textfield;
} */

.button {
    border: var(--primary-color) solid 2px;
    border-radius: 10px;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
}

.button-full {
    border: var(--primary-color) solid 2px;
    border-radius: 20px;
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    width: 100%;
}

.button-small {
    border: var(--primary-color) solid 2px !important;
    border-radius: 10px;
    padding: 3px 5px !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    text-decoration: none;
}

.button-small[disabled]:hover,
.button[disabled]:hover {
    cursor: not-allowed;
}

.button:hover,
.button-small:hover,
.button-full:hover {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    cursor: pointer;
}

.button-secondary {
    border: var(--primary-color-light) solid 2px;
    border-radius: 10px;
    padding: 15px 25px;
    background-color: var(--primary-color-light);
    color: #ffffff;
    text-decoration: none;
}

.button-secondary-small {
    border: var(--primary-color-light) solid 2px !important;
    border-radius: 10px;
    padding: 5px 8px !important;
    background-color: var(--primary-color-light) !important;
    color: #ffffff !important;
    text-decoration: none;
}

.button-secondary-small[disabled]:hover,
.button-secondary[disabled]:hover {
    cursor: not-allowed;
}

.button-secondary:hover,
.button-secondary-small:hover {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    cursor: pointer;
}

.fa-circle-xmark,
.fa-xmark {
    color: red;
}

.fa-circle-check,
.fa-check {
    color: green;
}

.primary-color {
    color: var(--primary-color);
    fill: var(--primary-color);
}

.pointer {
    cursor: pointer;
}

/*::::::::::::::::::::::::::::: table :::::::::::::::::::::::::::::*/
thead {
    position: sticky !important;
    top: 66px !important;
    background-color: #ffffff;
}

table.click-event tr:hover {
    cursor: pointer;
}

tr.new {
    background-color: rgba(219, 172, 52, 0.4);
}

tbody>tr:hover {
    /* background-color: rgba(21, 36, 64, 0.2); */
    font-size: 1em;
    /* filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5)); */
    box-shadow: 0 4px 8px 0 var(--primary-color-20), 0 6px 20px 0 var(--primary-color-20);
}

/* tbody>tr td:first-child {
    border-top-left-radius: 50em !important;
    border-bottom-left-radius: 50em !important;
}

tbody>tr td:last-child {
    border-top-right-radius: 50em !important;
    border-bottom-right-radius: 50em !important;
} */

tr.no-highlight:hover {
    background-color: inherit;
}

thead,
tfoot {
    font-weight: bold;
}

td.center {
    text-align: center;
}

td.right {
    text-align: right;
}

td.middle {
    vertical-align: middle;
}

td.nowrap {
    white-space: nowrap;
}

td.center-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

/*:::::::::::::::::::::: scroll ::::::::::::::::::::::*/
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: inherit;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}