body {
    font-family: Roboto, sans-serif;
    background-color: var(--footer-text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 !important;
}

.hide {
    display: none;
}

:root {
    --navbar-color: #F0F5FF;
    --main-color: #2F54EB;
    --color-green: #218958;
    --color-green-hover: #145e3d;
    --color-orange: #eb7d2f;
    --color-orange-hover: #a84f17;
    --color-red: #EB2F2F;
    --color-red-hover: #780909;
    --footer-color: #061078;
    --footer-text-color: #fff;
    --border-color: #EDF3FF;
    --ligth-pink-color: #FFB6C1;
    --purple-color: #722ED1;
    --color-purple-hover: #531dab;
    --color-purple-light: #F9F0FF;
}


a {
    text-decoration: none !important;
}

button {
    outline: none;
    border: none;
}

.bg-primary {
    background-color: var(--main-color) !important;
}

.bg-success {
    background-color: var(--color-green) !important;
}

.bg-warning {
    background-color: var(--color-orange) !important;
}

.bg-danger {
    background-color: var(--color-red) !important;
}

.bg-purple {
    background-color: var(--purple-color) !important;
}

.bg-light-pink {
    background-color: var(--ligth-pink-color) !important;
}

.bg-dark-blue {
    background-color: var(--footer-color) !important;
}

.bg-dark-green {
    background-color: var(--color-green-hover) !important;
}

.text-dark-blue > * {
    color: var(--footer-color) !important;
}

.text-dark-green > * {
    color: var(--color-green-hover) !important;
}

.btn-danger {
    --bs-btn-bg: var(--color-red) !important;
    --bs-btn-border-color: var(--color-red) !important;
    --bs-btn-hover-bg: var(--color-red-hover) !important;
    --bs-btn-hover-border-color: var(--color-red-hover) !important;
}

.btn-primary {
    --bs-btn-bg: var(--main-color) !important;
    --bs-btn-border-color: var(--main-color) !important;
    --bs-btn-hover-bg: var(--footer-color) !important;
    --bs-btn-hover-border-color: var(--footer-color) !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--main-color) !important;
    --bs-btn-border-color: var(--main-color) !important;
    --bs-btn-hover-bg: var(--main-color) !important;
    --bs-btn-hover-border-color: var(--main-color) !important;
    --bs-btn-active-bg: var(--footer-color) !important;
    --bs-btn-active-border-color: var(--footer-color) !important;
    --bs-btn-disabled-color: var(--footer-color) !important;
    --bs-btn-disabled-border-color: var(--footer-color) !important;
}

.btn-warning {
    --bs-btn-color: var(--footer-text-color) !important;
    --bs-btn-hover-color: var(--footer-text-color) !important;
    --bs-btn-active-color: var(--footer-text-color) !important;
    --bs-btn-disabled-color: var(--footer-text-color) !important;
    --bs-btn-bg: var(--color-orange) !important;
    --bs-btn-border-color: var(--color-orange) !important;
    --bs-btn-hover-bg: var(--color-orange-hover) !important;
    --bs-btn-hover-border-color: var(--color-orange-hover) !important;
}

.badge {
    --bs-badge-font-weight: 400 !important;
    --bs-badge-padding-x: 10px !important;
    --bs-badge-padding-y: 5px !important;
    --bs-badge-font-size: 12px;
}

.navbar {
    background-color: var(--navbar-color) !important;
    transition: all 0.3s ease-in-out !important;
}

.navbar.fixed {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s;
    z-index: 1000;
}

.navbar > .container {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.navbar .pre-navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar .main-navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 10px 20px;
}

.navbar .main-navbar .links {
    display: flex;
    gap: 15px;
}

.navbar .main-navbar.mobile {
    display: none;
}

.navbar .main-navbar .navbar-collapse {
    flex-grow: 0;
}

.navbar .main-navbar .links > a {
    color: var(--main-color);
    position: relative;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.navbar .main-navbar .links > a:hover {
    opacity: 0.7;
}

.navbar .main-navbar .links > a::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
    opacity: 1;
}

.navbar .main-navbar .links > a:hover::before,
.navbar .main-navbar .links > a.active::before {
    width: 100%;
    opacity: 1;
}

.navbar .main-navbar .links > a > span {
    margin-left: 7px;
}

.text-primary {
    color: var(--main-color) !important;
}

.navbar-info {
    color: var(--main-color);
    font-weight: 300;
}

.navbar-info-logo {
    font-size: 32px;
    color: var(--main-color);
}

.about-info {
    display: flex;
    gap: 85px;
    padding: 30px 60px;
    align-items: center;
}

.about-info > h1 {
    color: var(--main-color);
    font-size: 3.75rem; /* 60px */
    font-weight: bold;
    margin-bottom: 0;
}

.about-info > .text {
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 0;
}

.about-info.about-info-end > .text {
    display: none;
}

.custom-card {
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 2.5rem; /* 40px */
    position: relative;
    overflow: hidden;
}

.custom-card .card-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--main-color);
}

.custom-card .card-text {
    color: #000;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 300 !important;
    line-height: 1.7;
}

.custom-card > .card-body {
    padding: 50px 20px !important;
}

.custom-card > .card-body > i.icon {
    font-size: 32px;
    color: var(--main-color) !important;
    margin-bottom: 20px;
}

.btn-outline-primary:not(.btn-outline-custom) {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-color);
    background-color: var(--main-color);
    padding: 1rem 1.5rem;
    border-radius: 0;
}

.btn-outline-primary:not(.btn-outline-custom):hover {
    background-color: var(--footer-color);
}

.btn-outline-primary:not(.btn-outline-custom).absolute {
    position: absolute;
    bottom: 0;
    right: 0;
    min-width: 280px;
    max-width: 320px;
    font-weight: 300;
}

.btn-outline-primary:not(.btn-outline-custom) > i {
    margin-left: 10px;
}

.question-btn {
    border: none;
    outline: none;
    color: var(--footer-text-color);
    background-color: var(--main-color);
    padding: 15px;
    border-radius: 0;
    max-width: 320px;
    min-width: 280px;
    font-weight: 300;
}

.question-btn > i {
    margin: 0 10px;
}

footer {
    margin-top: auto;
    background-color: var(--footer-color);
    border-top: 8px solid var(--main-color);
}

footer .footer-container {
    padding: 30px;
}

footer .footer-container .footer-block.between {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

footer .footer-container .footer-block > * {
    margin-bottom: 20px;
    color: var(--footer-text-color) !important;
}

footer .footer-headline {
    font-size: 28px;
}

footer .footer-headline,
footer .footer-content_item {
}

footer .footer-content_item.developer {
    font-size: 13px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

footer .footer-content_item.developer .fastsol {
    width: 20px;
}

footer .footer-developer {
    color: #fff;
    transition: all .2s;
    position: relative;
}

footer .footer-developer::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--footer-text-color);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
    opacity: 1;
}

footer .footer-developer:hover::before {
    width: 100%;
    opacity: 1;
}

footer .footer-content_item {
    font-weight: 300;
}

.navbar-toggler {
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.nav-link {
    color: var(--main-color);
}

.nav-link.active {
    color: var(--footer-color) !important;
}

.mobile .navbar-nav {
    gap: 5px;
    display: flex;
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > *{
    box-shadow: inset 0 0 0 9999px rgba(47, 84, 235, 0.05) !important;
}

.dt-container {
    width: 100%;
    margin-top: 20px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-x: hidden;
}

.comments-list > .comment {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    background-color: #fff;
    padding: 10px;
    border-radius: 7px;
}

.comments-list > .comment > .comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comments-list > .comment > .comment-text {
    word-break: break-all;
}

.is-invalid {
    border: 1px var(--color-red) solid;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.loading-overlay > i {
    color: var(--main-color);
    font-size: 48px;
    margin-bottom: 10px;
}

.loading-overlay > span {
    color: lightgray;
    font-weight: 400;
    font-size: 14px;
}

.form-control:focus {
    box-shadow: 0 0 0 .25rem var(--border-color) !important;
}

.btn-group,.btn-group-vertical {
    width: 100%;
}

.ml-auto {
    margin-left: auto !important;
}

.mr-2 {
    margin-right: 8px !important;
}

.mr-1 {
    margin-right: 4px !important;
}

.fixed-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: fixed;
    top: 112px;
    right: 14px;
    z-index: 1000;
}

.fab-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    cursor: pointer;
    background: #fff;
    color: var(--main-color);

    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(47, 84, 235, 0.15);
}

.fab-btn i {
    font-size: 16px;
}

.fab-status {
    background: var(--main-color);
    color: #fff;
}

.fab-status:hover {
    background: #1d39c4;
    transform: translateX(-6px);
    box-shadow: 0 10px 22px rgba(47, 84, 235, 0.35);
}

.fab-feedback {
    background: var(--purple-color);
    color: #fff;
}

.fab-feedback:hover {
    background: var(--color-purple-hover);
    transform: translateX(-6px);
    box-shadow: 0 10px 22px rgba(114, 46, 209, 0.35);
}

.fab-btn:active {
    transform: scale(0.96);
}

table.dataTable:not([data-full="true"])#table_builder tr th:first-child,
table.dataTable:not([data-full="true"])#table_builder tr th:first-child {
    width: 5% !important;
}

.tableBuilder-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

/*.tableBuilder-container table.dataTable tr th:first-child {*/
/*    width: 5% !important;*/
/*}*/

.pages-welcome-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

.pages-welcome-wrapper .welcome-item {
    padding: 20px 20px 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    background-color: var(--main-color);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.pages-welcome-wrapper .welcome-item:hover,
.pages-welcome-wrapper .welcome-item:active,
.pages-welcome-wrapper .welcome-item:focus-visible {
    background-color: var(--footer-color) !important;
}

.welcome-item .title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--navbar-color);
}

.welcome-item .description {
    font-size: 16px;
    font-weight: 300;
    color: var(--navbar-color);
}

.welcome-item .icon {
    position: absolute;
    color: var(--navbar-color);
    font-size: 26px;
    right: 20px;
}

.cube20 {
    display: flex;
    width: 20px;
    height: 20px;
}

.g5 {
    gap: 5px;
}

table tbody tr td.text-break-normal {
    white-space: normal;
}

table tr td.min-w220, table tr th.min-w220 {
    min-width: 220px !important;
    max-width: 260px !important;
    word-break: break-word;
    vertical-align: middle;
}

table tr td.min-w120, table tr th.min-w120 {
    min-width: 120px !important;
    max-width: 180px !important;
    word-break: break-word;
    vertical-align: middle;
}

.sort-header {
    cursor: pointer;
    user-select: none;
}
.sort-header i {
    opacity: 0.5;
}
.sort-header.sorted-asc i,
.sort-header.sorted-desc i {
    opacity: 1;
}

table tr td.max-300 {
    max-width: 300px !important;
    width: 300px !important;
    word-break: break-word;
    vertical-align: middle;
}

body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    overflow-y: scroll !important;
}

.arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow-left {
    left: -20px;
}

.arrow-right {
    right: -20px;
}

.arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 1px 17px rgba(244, 192, 192, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: .2s all;
}

.arrow::before {
    font-size: 26px;
    font-weight: 500;
    color: #2F54EB;
    line-height: 1;
    transition: .2s all;
}

/* hover */
.arrow:hover {
    background: #2F54EB;
    box-shadow: 1px 6px 20px rgba(47, 84, 235, 0.35);
}

.arrow:hover::before {
    color: #fff;
}

.arrow-left::before { content: "<"; }
.arrow-right::before { content: ">"; }

::-webkit-scrollbar { width: 8px; height: 8px;}
::-webkit-scrollbar-track {  background-color: lightgrey;}
::-webkit-scrollbar-track-piece { background-color: lightgrey;}
::-webkit-scrollbar-thumb { height: 50px; background-color: var(--main-color); border-radius: 5px;}
::-webkit-scrollbar-corner { background-color: #999;}
::-webkit-resizer { background-color: lightgrey;}