.bg-blue {
    background-color: #3b7ddd;
}

.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-blue h5, .bg-blue h6 {
    color: whitesmoke !important;
}

.bg-green {
    background-color: #399b0c;
}

.bg-coral {
    background-color: #FF6F61;
}

.btn-coral {
    background-color: #FF6F61;
    color: whitesmoke !important;
}

.btn-greenery {
    background-color: #88B04B;
    color: whitesmoke !important;
}

.btn-coral:hover, .btn-coral:active, .btn-coral:visited, .btn-coral:focus {
    background-color: #CC5448;
    color: whitesmoke !important;
}

.btn-greenery:hover, .btn-greenery:active, .btn-greenery:visited, .btn-greenery:focus {
    background-color: #7ca144;
    color: whitesmoke !important;
}

.btn-ultraviolet {
    background-color: #6B5B95;
    color: whitesmoke !important;
}

.btn-ultraviolet:hover, .btn-ultraviolet:active, .btn-ultraviolet:visited, .btn-ultraviolet:focus {
    background-color: #5b4694;
    color: whitesmoke !important;
}

.bg-coral h1, .bg-coral h2, .bg-coral h3, .bg-coral h4, .bg-coral h5, .bg-coral h6 {
    color: whitesmoke !important;
}

.bg-classic-blue {
    background-color: #34568B;
}

.bg-classic-blue h1, .bg-classic-blue h2, .bg-classic-blue h3, .bg-classic-blue h4, .bg-classic-blue h5, .bg-classic-blue h6 {
    color: whitesmoke !important;
}

.bg-greenery {
    background-color: #88B04B;
}

.bg-greenery h1, .bg-greenery h2, .bg-greenery h3, .bg-greenery h4, .bg-greenery h5, .bg-greenery h6 {
    color: whitesmoke !important;
}

.bg-ultraviolet {
    background-color: #6B5B95;
}

.bg-ultraviolet h1, .bg-ultraviolet h2, .bg-ultraviolet h3, .bg-ultraviolet h4, .bg-ultraviolet h5, .bg-ultraviolet h6 {
    color: whitesmoke !important;
}

.bg-green h1, .bg-green h2, .bg-green h3, .bg-green h4, .bg-green h5, .bg-green h6 {
    color: whitesmoke !important;
}

.bg-orange {
    background-color: orange;
}

.bg-orange h1, .bg-orange h2, .bg-orange h3, .bg-orange h4, .bg-orange h5, .bg-orange h6 {
    color: whitesmoke !important;
}

.bg-tonys-pink {
    background-color: #e6a57e;
}

.bg-tonys-pink h1, .bg-tonys-pink h2, .bg-tonys-pink h3, .bg-tonys-pink h4, .bg-tonys-pink h5, .bg-tonys-pink h6 {
    color: whitesmoke !important;
}

a:hover {
    text-decoration: none;
}

.search-box .clear {
    clear: both;
    margin-top: 20px;
}

.search-box ul {
    list-style: none;
    padding: 0px;
    width: 250px;
    position: absolute;
    margin: 0;
    background: white;
}

.search-box ul li {
    background: lavender;
    padding: 4px;
    margin-bottom: 1px;
}

.search-box ul li:nth-child(even) {
    background: cadetblue;
    color: white;
}

.search-box ul li:hover {
    cursor: pointer;
}

.search-box input[type=text] {
    padding: 5px;
    width: 250px;
    letter-spacing: 1px;
}

ul.search-results {
    list-style: none;
    background-color: #ffffff;
    margin-top: -16px;
    z-index: 9999;
    border: 1px solid #eee;
    box-shadow: 1px 3px #f9f3f3;
    line-height: 2rem;
    border-radius: 8px;
    /*max-height: 394px;*/
    max-height: 71%;
    overflow-y: scroll;
    cursor: pointer;
    width: 682px;
    font-size: 1.2rem;
}

ul.search-results.invoice-list {
    width: 100%;
}

ul.search-results li {
    border-bottom: 1px solid #eae3e3;
    margin-left: -27px;
}

ul.search-results li:last-child {
    border-bottom: none;
}

.sidebar-brand a {
    color: #ffffff;
}

ul.search-results li:hover {
    background-color: #e3e3e3;
}

.swal2-popup.swal2-toast .swal2-actions {
    justify-content: center !important;
}

.mt-sm-button {
    margin-top: 1.9rem !important;
}

.invoice-table tbody {
    font-size: 0.75rem;
}

.invoice-table tbody input {
    padding: 5px;
    font-size: 0.8rem;
}

.styled-select {
    font-size: 1.2rem;
    padding: 5px;
}

.lg-font {
    font-size: 1.1rem;
}

ul.variation-results {
    list-style: none;
    background-color: #ffffff;
    margin-top: 0;
    z-index: 9999;
    border: 1px solid #eee;
    box-shadow: 1px 3px #f9f3f3;
    line-height: 2rem;
    border-radius: 8px;
    /*max-height: 394px;*/
    max-height: 71%;
    overflow-y: scroll;
    cursor: pointer;
    width: 100%;
    font-size: 1.2rem;
}

ul.variation-results li {
    border-bottom: 1px solid #eae3e3;
    margin-left: -27px;
}

ul.variation-results li:last-child {
    border-bottom: none;
}

ul.variation-results li:hover {
    background-color: #e3e3e3;
}

.upper {
    text-transform: uppercase;
}

.dropdown .price-dropdown {
    width: 100%;
}

.dropdown-toggle {
    min-height: 37px;
}

button.price-row {
    font-size: 1.4rem !important;
    padding: 10px;
}

li.price-line {
    border-bottom: 1px solid #cccccc;
}

li.price-line:last-child {
    border-bottom: none;
}

li.price-line:hover {
    background-color: #e3e3e3;
}

li.price-line:hover i.bi-pencil {
    color: #e3e3e3;
}

li.price-line button.btn-link {
    text-decoration: none;
}

.price-dropdown-text button {
    font-size: 1.15rem;
}

.dropdown-menu.price-dropdown {
    max-height: 400px;
    overflow-y: scroll;
}

.product-btn-width {
    min-width: 180px;
}

tr.bold-top-border {
    border-top: 3px solid #333;
}

ul.statistic-search-results {
    list-style: none;
    background-color: #ffffff;
    margin-top: -16px;
    z-index: 9999;
    border: 1px solid #eee;
    box-shadow: 1px 3px #f9f3f3;
    line-height: 1.2rem;
    border-radius: 8px;
    /*max-height: 394px;*/
    max-height: 71%;
    overflow-y: scroll;
    cursor: pointer;
    width: 100%;
    font-size: 0.8rem;
}

ul.statistic-search-results li {
    border-bottom: 1px solid #eae3e3;
    margin-left: -27px;
}

ul.statistic-search-results li:last-child {
    border-bottom: none;
}

ul.statistic-search-results li:hover {
    background-color: #e3e3e3;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

table tr.bigger-font {
    font-size: 1.3rem;
}

table tr.bigger-font td {
    padding: 0.3rem;
}

table .invoice-percentage {
    width: 7%;
}

table .row-input {
    /*width: 13%;*/
    min-width: 45px !important;
}

.form-control.padding-2 {
    padding: .3em !important;
}

.btn.btn-no-padding {
    --bs-btn-padding-x: 0 !important;
}

.text-white {
    color: white;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * */

.gallery {
    /*padding-top: 40px;*/
    /*background: red;*/
    @media screen and (min-width: 991px) {
        /*padding: 60px 30px 0 30px;*/
    }
}

.img-wrapper {
    position: relative;
    margin-top: 15px;
    width: 50px;
    cursor: pointer;

    background: red;

    img {
        width: 100%;
    }
}

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;

    i {
        color: #fff;
        font-size: 3em;
    }
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    img {
        margin: 0;
        width: 80%;
        height: auto;
        object-fit: contain;
        padding: 5%;
        @media screen and (min-width: 768px) {
            width: 60%;
        }
        @media screen and (min-width: 1200px) {
            width: 50%;
        }
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    cursor: pointer;
    padding: 15px;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width: 768px) {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    cursor: pointer;
    padding: 15px;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width: 768px) {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width: 768px) {
        font-size: 3em;
    }
}

#changeVariationButton {
    color: #fff;
    font-size: 1em;
    transition: opacity 0.8s;
    position: absolute;
    bottom: 15px;
    right: 15px;

    &:hover {
        opacity: 0.7;
    }

    @media screen and (min-width: 768px) {
        font-size: 3em;
    }
}

.min-padding {
    padding: 0.1rem !important;
}

.table > :not(caption) > * > * {
    padding: .2rem !important;
}

ul.e-invoice-numbers {
    list-style: none;
    margin-bottom: 3px;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.z-index-9990 {
    z-index: 9990;
}

.z-index-9999 {
    z-index: 9999;
}

@media (max-width: 576px) {
    table tr.bigger-font {
        font-size: 1rem;
    }

    table tr.bigger-font td {
        padding: 0.1rem;
    }

    .d-sm-table-cell {
        border: none !important;
    }

    table .btn .feather {
        height: 14px;
        width: 14px
    }

    th.d-none, td.d-none {
        display: none!important;
    }

    table .btn-lg {
        --bs-btn-padding-x: 0.85rem;
        --bs-btn-padding-y: 0.3rem;
        --bs-btn-font-size: 0.875rem;
    }
}

.btn .feather {
    height: 20px;
    width: 20px
}

h2 > i.bi {
    font-size: xxx-large;
}

.w-60 {
    width: 60%!important;
}

.w-70 {
    width: 70%!important;
}

.w-20 {
    width: 20%!important;
}

.w-15 {
    width: 15%!important;
}
