@import "variables.css?v=20231011";
@import "layout.css?v=20231011";
@import "nav.css?v=20231011";
@import "forms.css?v=20231011";
@import "login.css?v=20231011";
@import "dialogs.css";

@import "../Dashboard/dashboard_styles.css";
@import "../ModulePages/pages_styles.css";
@import "../ModuleVisits/visits_styles.css";
@import "../ModuleGalleries/galleries_styles.css";
@import "../ModuleProducts/product_styles.css?v=6";
@import "../ModuleOrders/orders_styles.css?v=3";
@import "../ModuleCategories/categories_styles.css";
@import "../ModuleTags/tags_styles.css";

@import "respons.css?v=20231011";

/*----------------------------------------------------------------------------------------*/
/* tags */

* {
    box-sizing: border-box;
    color: var(--websy-text-color);
    font-family: 'Inter', sans-serif;
}

h1 {
    font-size: 24px;
    font-weight: normal;
}

h2 {
    font-size: 18px;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 20px;
}

h3 {
    font-size: 14px;
    font-weight: bold;
}

hr {
    clear: both;
    border-width: 0px;
    width: 100%;
    height: 2px;
    background-color: var(--websy-darker-grey);
    margin-top: 20px;
    margin-bottom: 20px;
}

#right ul {
    padding-left: 25px;
}

ul {
    clear: both;
}

.color-green {
    color: var(--websy-green);
}

.color-red {
    color: var(--websy-red);
}

#grey_background hr:not(.restore_page) {
    margin-top: 30px;
    margin-bottom: 30px;
}

hr.restore_page {
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: rgb(224, 224, 224);
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

.status a {
    color: white;
}

#show_extended {
    color: white;
}

.spinner::before {
    animation: spinner_rotate;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-timing-function: linear;
    color: #3a3a3a;
    transform: rotate(0deg)
}

@keyframes spinner_rotate {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

/*----------------------------------------------------------------------------------------*/
/* tables */

table {
    width: 100%;
    clear: both;
}

.responsive_table, .responsive-table {
    overflow: auto;
    clear: both;
    padding-bottom: 10px;
}

.responsive_table::-webkit-scrollbar, .responsive-table::-webkit-scrollbar {
    height: 8px;
    width: 4px;
    border: none;
}

.responsive_table::-webkit-scrollbar-thumb, .responsive-table::-webkit-scrollbar-thumb {
    background-color: var(--websy-border);
    border-radius: 4px;
}

.responsive_table::-webkit-scrollbar-thumb:hover, .responsive-table::-webkit-scrollbar-thumb:hover {
    background-color: var(--websy-darker-grey);
}

.responsive_table::-webkit-scrollbar-corner, .responsive-table::-webkit-scrollbar-corner {
    background: 0;
}

.news table td, .mailing_list table td {
    white-space: nowrap;
}

.width100 {
    width: 100%;
}

td {
    padding-right: 10px;
}

th {
    text-align: left;
}


.styled_table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.styled_table tr {
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 7px 0 rgba(0, 29, 178, .10);
}

.styled_table tr td:first-of-type, .styled_table tr th:first-of-type {
    border-radius: 10px 0 0 10px;
}

.styled_table tr td:last-of-type, .styled_table tr th:last-of-type {
    border-radius: 0 10px 10px 0;
}

.styled_table tr.red td {
    background-color: var(--websy-red);
    color: white;
}

.styled_table th {
    background-color: #cbcff1;
    font-weight: 500;
    text-align: left;
}

.styled_table td {
    background-color: #EBECFA;
}

.styled_table td, .styled_table th {
    padding: 12px 17px 12px 17px;
}

.bordered_table {
    border-collapse: collapse;
    border: 1px solid rgb(176, 176, 176);
}

.bordered_table tr th{
    background-color: rgb(250,250,250);
    border-left: 1px solid rgb(230, 230, 230);
}

.bordered_table tr:hover td{
    background-color: rgb(240,240,240);
    border-left: 1px solid rgb(220, 220, 220);
}

.bordered_table tr:hover td:first-of-type {
    border-left: none;
}

.bordered_table td, .bordered_table th{
    border-bottom: 1px solid rgb(176, 176, 176);
    border-left: 1px solid rgb(240, 240, 240);
    padding-left: 10px;
    padding-right: 10px;
}

.bordered_table td:first-of-type, .bordered_table th:first-of-type {
    border-left: none;
}

.files tbody:not(:last-of-type) {
    margin-bottom: 10px;
}

.files th {
    padding: 10px;
}

.files td {
    padding: 5px 10px;
    border: none;
}

.files tr td:nth-child(2), .files tr td:nth-child(3), .files tr td:nth-child(4), .files tr th:nth-child(2), .files tr th:nth-child(3), .files tr th:nth-child(4) {
    text-align: right;
}

.empty_folder td {
    height: 50px;
    border-radius: 10px !important;
}

/*-----------------------------------------*/

.bordered-table {
    border-collapse: collapse;
    border-radius: 10px;
}

.bordered-table th{
    background-color: #EBECFA;
    border-left: 1px solid white !important;
}

.bordered-table tr:first-of-type th:first-of-type{
    border-radius: 10px 0 0 0;
}

.bordered-table tr:first-of-type th:last-of-type{
    border-radius: 0 10px 0 0;
}

.bordered-table tr:nth-of-type(1) th {
    padding-top: 10px;
}

.bordered-table tr:nth-of-type(2) th {
    padding-bottom: 10px;
}

.bordered-table tr:hover td{
    background-color: rgb(240,240,240);
    border-left: 1px solid rgb(220, 220, 220);
}

.bordered-table tr:hover td:first-of-type {
    border-left: none;
}

.bordered-table td, .bordered-table th{
    border-bottom: 1px solid var(--websy-darker-grey);
    border-left: 1px solid rgb(240, 240, 240);
    padding-left: 10px;
    padding-right: 10px;
}

.bordered-table tr:nth-of-type(2n){

}

.bordered-table td:first-of-type, .bordered-table th:first-of-type {
    border-left: none;
}

/*---------------------*/

.form-table, .form-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-table tr {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: flex-start;
}

.form-table tr td {

}

.form-table tr td:first-of-type {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.form-table tr td:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: flex-start;
    min-height: 40px;
}

.form-table-non-breaking-div {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.form-table-vertical, .form-table-vertical tbody {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100% !important;
}

.form-table-vertical tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100% !important;
}

.form-table-vertical tr td {
    width: 100% !important;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.form-table-vertical input, .form-table-vertical select, .form-table-vertical textarea, .form-table-vertical .textbox {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

@media screen and (max-width: 1200px) {
    .form-table, .form-table tbody {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100% !important;
        padding-bottom: 20px;
    }

    .form-table tr {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        width: 100% !important;
    }

    .form-table tr td {
        width: 100% !important;
        padding: 0;
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        min-height: 0 !important;
    }

    .form-table input, .form-table select, .form-table textarea, .form-table .textbox {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media screen and (max-width: 1300px) {
    #content {
        padding-top: 10px;
    }
}

@media screen and (max-width: 1150px) {
    #content {
        min-height: calc(100vh - 110px);
    }
}
