:root {
    --primary-color-text: #007FFF;
    --primary-color-background: #007FFF;
}

h1, h2 {
    font-weight: bold;
    font-size: 1.25rem !important;
    margin-top: 1.9rem !important;
}

h3, h4, h5, h6 {
    font-weight: bold;
    font-size: 1rem !important;
    margin-top: 1.9rem !important;
}

p {
    margin-top: 1rem !important;
}

@media only screen and (max-width: 575px) {
    .show-all-server-size {
        width: 100% !important;
    }

    .login-card {
        width: 100%;
    }

    .support-info div img {
        width: 48px;
        height: 48px;
    }

    .support-info div p {
        font-size: 12px;
    }

    .user-location {
        font-size: 0.85rem;
    }

    .svg-icons {
        width: 48px;
        height: 48px;
    }

    .table-item-dashboard th, td {
        font-size: 0.50rem;
        text-align: center;
    }

    .form-select-os {
        width: 100%;
    }

    .btn-create-server {
        width: 100%;
    }

    .toast-location {
        width: 75%;
        right: 0;
    }

    .footer-img-size {
        width: 80px;
        height: 80px;
    }

    .input-detail-ticket {
        width: 90%;
    }

    .video-size {
        width: 100%;
    }
}

@media only screen and (min-width: 576px) {
    .show-all-server-size {
        width: 20% !important;
    }

    .video-size {
        width: 50%;
    }

    .login-card {
        min-width: 400px;
    }

    .support-info div img {
        width: 100px;
        height: 100px;
    }

    .support-info div p {
        font-size: 15px;
    }

    .user-location {
        font-size: 1rem;
    }

    .svg-icons {
        width: 24px;
        height: 24px;
    }

    .payment-size {
        width: 25% !important;
    }

    .table-item-dashboard th, td {
        padding: 20px;
        text-align: center;
    }

    .form-select-os {
        width: 50%;
    }

    .btn-create-server {
        width: 50%;
        max-width: 250px;
    }

    .toast-location {
        right: 50%;
    }

    .footer-img-size {
        width: 96px;
        height: 96px;
    }

    .input-detail-ticket {
        width: 75%;
    }
}

@font-face {
    font-family: Sans;
    src: url(/static/font/font-is.woff2);
    font-display: swap;
}

/* override */

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

.text-natural {
    color: #3f4064;
    font-size: 0.9rem;
}

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

.bg-gray {
    background-color: #eeeeee
}

.bg-alert {
    background-color: #deedff;
}

.bg-navbar {
    background-color: #007FFF !important;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    border-radius: 16px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color-background);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-background);
}

/* override */

body {
    font-family: Sans, serif;
    font-size: 0.9rem;
}

.display-ul-foo {
    list-style: none
}

.display-ul-foo li {
    display: inline-table;
    margin-left: 15px
}

.display-ul-foo li a:hover {
    color: var(--primary-color-text) !important
}

.primary-hover:hover a {
    color: var(--primary-color-background) !important;
    fill: var(--primary-color-background) !important;
}

#telegram-wrapper {
    transition: all .2s ease-in-out;
}

#telegram-wrapper:hover {
    transform: scale(1.1);
}

.article-title:hover {
    color: blue !important;
}

.card-description {
    display: block;
    display: -webkit-box;
    height: 2.6em;
    line-height: 1.3em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#dashboard-menu > a {
    text-decoration: none;
    color: black;
    padding: 12px;
    margin-top: 2px;
    margin-bottom: 2px;
}

#dashboard-menu > a:hover {
    background-color: var(--primary-color-background);
    border-radius: 12px;
    transition: 0.3s ease-in-out;
}

#dashboard-menu > a:hover span {
    color: white;
    transition: 0.3s ease-in-out;
}

#dashboard-menu > a:hover svg {
    fill: white;
    transition: 0.3s ease-in-out;
}

.dashboard-menu-items {
    background-color: var(--primary-color-background);
    border-radius: 12px;
    color: white;
    fill: white;
}

.dashboard-menu-items > div > span {
    color: white;
}

.dashboard-menu-items div svg {
    fill: white !important;
}

.table-item-dashboard th, td {
    padding: 20px;
    text-align: center;
}

.ptable {
    display: block;
    overflow-x: auto;
}

.table-server {
    vertical-align: baseline;
    border-collapse: separate;
    border-spacing: 0 1em;
    white-space: nowrap;
}

.table-server tbody tr:hover {
    background-color: #f6f6f6;
    transition: background-color .3s ease-in-out;
}

.table-server thead th {
    background-color: #deedff;
    border: 0px;
    border-color: none;
    text-align: center;
    padding: 20px;
}

.table-server th:nth-child(1) {
    border-radius: 0px 10px 10px 0px;
}

.table-server th:nth-last-child(1) {
    border-radius: 10px 0px 0px 10px;
}

.table-server tbody .detail-server-unselect {
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    border-color: none;
    padding: 15px;
    /* box-shadow: 0 .125rem 0 rgba(0,0,0,.075) !important; */
}

.table-server .detail-server-unselect:nth-child(1) {
    border-radius: 0px 10px 10px 0px;
    border-right: 1px solid #dee2e6;
}

.table-server .detail-server-unselect:nth-last-child(1) {
    border-radius: 10px 0px 0px 10px;
    border-left: 1px solid #dee2e6;
}

.table-server tbody .detail-server-select {
    border-bottom: 1px solid var(--primary-color-background);
    border-top: 1px solid var(--primary-color-background);
    border-color: none;
    padding: 15px;
    /* box-shadow: 0 .125rem 0 rgba(0,0,0,.075) !important; */
}

.table-server .detail-server-select:nth-child(1) {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid var(--primary-color-background);
}

.table-server .detail-server-select:nth-last-child(1) {
    border-radius: 10px 0 0 10px;
    border-left: 1px solid var(--primary-color-background);
}

.footer-link {
    text-decoration: none;
}

.footer-link:hover {
    color: black !important;
    transition: 0.3s linear;
}

.navbar-link {
    text-decoration: none;
    color: white !important;
    font-size: 1.1rem;
}

.navbar-link:hover {
    opacity: 0.6;
    transition: 0.3s linear;
}

.navbar-button {
    font-size: 0.9rem;
}

.navbar-button:hover {
    opacity: 0.8;
    transition: 0.3s linear;
}


.footer-svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.footer-svg:hover {
    fill: black !important;
    transition: 0.3s linear;
}

.user-location:hover {
    color: var(--primary-color-text) !important;
    transition: .3s linear;
}

.img-editor {
    width: 100% !important;
    height: 100% !important;
    align-self: center !important;
    cursor: pointer;
    border-radius: 8px;
}