/* THEME [ START ] */
* {
    font-family: 'Inter', Arial, sans-serif;
}

html {
    overflow-y: scroll;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

:root {
    --color-scapole-orange: #F0621E;
    --color-scapole-grey: #5B5B5C;
    --color-scapole-grey-2: #404041;
    --color-scapole-grey-3: #424143;
    --color-scapole-grey-4: #8c8e90;
    --color-scapole-grey-5: #dbdddf;
    --color-scapole-grey-6: #a9abad;
}

h1.text-orange,
h2.text-orange,
h3.text-orange,
h4.text-orange,
h5.text-orange,
h6.text-orange
p.text-orange {
    color: var(--color-scapole-orange)!important;
}

h1.text-grey,
h2.text-grey,
h3.text-grey,
h4.text-grey,
h5.text-grey,
h6.text-grey,
p.text-grey {
    color: var(--color-scapole-grey)!important;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-weight: 600;
    gap: 6px;
}

.btn-sm i {
    font-size: 20px;
    line-height: 1;
}

.action-toggle-btn.active,
.sales-order-action-btn.active {
    background-color: #4a148c !important;
    color: #e1bee7 !important;
}

.icon-link {
    font-size: 20px;
}

.icon-link:not(.readonly) {
    color: var(--primary);
    transition: color 0.3s;
}

.icon-link:not(.readonly):hover {
    cursor: pointer;
    color: #0056b3;
}

.icon-link.readonly {
    color: #bdbdbd;
}

svg.icon-default {
    fill: #fff!important;
    width: 1.2em!important;
    height: auto!important;
}

svg.icon-default,
svg.icon-default.google {
    width: 1.5em!important;
    height: auto!important;
    fill: #fff!important;
}

h1.section-title {
    position: relative;
    text-decoration: none;
    font-weight: bold;
    color: var(--color-scapole-grey)!important;
    transition: all .35s ease;
}

h1.section-title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--color-scapole-orange);
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

h1.section-title::before  {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

h1.page-title {
    position: relative;
    text-decoration: none;
    font-weight: bold;
    color: var(--color-scapole-grey)!important;
    transition: all .35s ease;
}

h1.page-title::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--color-scapole-orange);
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

h1.page-title::before  {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

h2.page-subtitle-title::before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

h2.page-subtitle {
    position: relative;
    text-decoration: none;
    font-weight: bold;
    color: var(--color-scapole-grey)!important;
    transition: all .35s ease;
}

h2.page-subtitle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -8px;
    left: 0;
    background-color: var(--color-scapole-orange);
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

h2.page-subtitle::before  {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

div.action-default {
    background-color: #eee;
    border: 1px solid #000;
}

form.form-default {
    background-color: #eee;
    border: 1px solid #000;
}

.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after {
    cursor: pointer;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid var(--color-scapole-orange);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.modal-backdrop {
    opacity: 0.8!important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite !important;
    display: inline-block;
}
/* THEME [ END ] */

/* FORMS [ START ] */
.form-group ul.errorlist {
    padding-left: 1rem;
    margin-bottom: 0;
}
/* FORMS [ END ] */

ul.errorlist {
    list-style-type: none!important;
    padding-left: 0!important;
    /* font-weight: 500; */
    color: #dc3545!important;
}

/* FOOTER [ START ] */
footer.footer-page { 
    background-color: transparent;
    margin-top: auto !important;
}

footer.footer-page .footer-title { 
    margin-bottom: 15px;
}

footer.footer-page ul {
    list-style-type: none;
}

footer.footer-page .footer-col {
    margin-bottom: 30px;
}

footer.footer-page .footer-col-1 {
    font-size: 12px;
}

footer.footer-page .footer-col-2 h6 {
    text-decoration: underline;
}

footer.footer-page #row-copy-right {
    min-height: 45px;
    background-color: #212529;
    font-size: 1rem;
    font-weight: 300;
    border-top: 2px solid var(--color-scapole-orange);
    padding-top: 10px;
    padding-bottom: 10px;
}
/* FOOTER [ END ] */
