:root{
    --color-blue: #0076C0;
    --color-secondary: white;
    --color-background: #f3f3f3;
    --color-text-black: #353c41;
}

.stat_table_wrap {
    margin-bottom: 5px;
}

.stat_table {
    border: 1px black solid;
    border-collapse: collapse;
}

.stat_table tbody {
    background-color: rgba(225, 225, 225, 0.7);
}

body {
    background-color: rgba(225, 225, 225, 0.7);
    font-family: Roboto;
    margin: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}
#header {
    z-index: 1;
}

#main-header {
    height: 90px;
    box-shadow: 0px 0px 0.3em 1px #353c4163;
}

#main-header-content {
    /* position: relative; */
    display: flex;
    align-items: center;
    /* justify-content: center; */
    height: 100%;

    color: var(--color-text-black);
    width: 100%;
    background: var(--color-secondary);

}
#main-header-content .title {
    text-decoration: none;
    text-shadow: none;
    color: inherit;
    cursor: pointer;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    height: fit-content;
    font-size: 28px;
    white-space: nowrap;
    /* font-weight: bold; */


    /* position: absolute;
    left: max(50%, calc(333px + 180px));
    transform: translateX(-50%); */
    display: flex;
    align-items: center;
}

#main-content, #content {
    display: flex;
    flex-direction: column;
    overflow: hidden auto;
    width: calc(100% - 4px);
    height: 100%;
    /* background: var(--color-background); */
    background: linear-gradient(45deg, #d4e8ff, transparent);
    padding-left: 2px;
    padding-right: 2px;
}

.stat_tables {
    overflow-y: auto;
}

.stat_table tr {
    border: 1px black solid;
}

.tabhead {
    font-weight: bold;
}

.stat_table th {
    border: 1px black solid;
    text-align: center;
    background-color: white;
    font-size: 14px;
    padding-left: 2px; 
    padding-right: 2px;
}

.stat_table td {
    border: 1px black solid;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.titletd.titletd {
    border: 1px black solid;
    text-align: left;
    min-width: 13rem;
    width: 13rem;
}

.interval_text {
    font-weight: 400;
}

.interval_number {
    font-weight: 700;
}

.vertical_text {
    writing-mode: vertical-rl;
    line-height: 100%;
    transform: scale(-1.01, -1);
    -webkit-transform-origin: 49% 50%;
    font-family: Roboto;
}

.group {
    font-size: 14px; /* Размер шрифта */
    font-weight: bold; /* Жирное начертание */
    color: red; /* Цвет ссылки */

}

.facult {
    text-align: center;
    font-size: 18px;
    background-color: #084B8A;
    color: white;
}

.rasp {
    font-size: 18px;
}
.marks_interval {
    min-width: 1.5em;
}

.logo {
    background-image: url(logo.svg);
    background-size: cover;
    width: 100px;
    height: 85px;
    margin: 0 10px;
}

/* Accordion */
.main-accordion {
  position: relative;
  margin: 25px auto;
  width: 90%;

  display: flex;
  flex-direction: column;
  gap: 20px;
}
.main-accordion * {
    box-sizing: border-box;
}
.item-wrap-accordion {
    display: flex;
    flex-direction: column;
}
.label-accordion, .sub_label-accordion {
  cursor: pointer;
  width: fit-content;
  height: fit-content;
  display: flex;
}

.item-accordion, .sub_item-accordion {
    width: 700px;
    height: fit-content;
    display: flex;
    align-items: center;
    margin: 8px 1.5em;
    cursor: pointer;
    position: relative;
}
.item-accordion-content, .sub_item-accordion-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 5px 1em;
    z-index: 1;
    background: var(--color-text-black);
    color: white;
    background: #2b2b2b;
    background: #fffffffa;
    color: var(--color-text-black);
    font-size: 28px;
    border-radius: 5px;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}
.item-accordion::before, 
.item-accordion::after,
.sub_item-accordion::before
  {
    content: "";
    position: absolute;
    border-radius: 5px;
    width: 105%;
    transition: all 0.4s;
  }
.item-accordion::before, .sub_item-accordion::before {
    left: 0%;
    height: 130%;
    background: linear-gradient(to right, #B02F79, var(--color-blue));
}
.item-accordion::after {
    left: -6%;
    height: 120%;
    width: 102%;
    background: #353c415c;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.164);
}
.label-accordion:hover > .item-accordion::before,
.radio-accordion:checked ~ label .item-accordion::before {
    transform: translateX(-2.5%);
}
.label-accordion:hover > .item-accordion::after,
.radio-accordion:checked ~ label .item-accordion::after {
    transform: translateX(12%);
}

.radio-accordion {
    display: none;
}

.main-accordion a {
    font-size: 1.25em;
    font-weight: normal;
    text-decoration: none;
    text-shadow: none;
}

.accordion-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* background: #fff; */
    height: 0;
    margin: 5px 1.5% 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: max-content;
    min-width: 760px;
    max-width: 100%;
    transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    
    /* border-left: 2px solid #353c415c;
    box-shadow: 4px 0px 8px 1px inset #353c415c; */
    border-radius: 10px;
    background: #353c415c;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.164);
}

.radio-accordion:checked ~ .accordion-content {
    display: flex;
    height: auto;
    padding: 10px 36px;
    margin: 8px 30px 0;
    padding: 10px 36px;
}

.sub_label-accordion {
    /* color: blue; */
}
.sub_item-accordion {
    width: fit-content;
    margin: 8px 1em;

}
.sub_item-accordion-content {
    min-height: 45px;
    font-size: 23px;
    transition: all 0.2s;
}

.sub_item-accordion::before {
    transform: translateX(-20px);
    transition: all 0.2s;
    width: calc(100% + 40px);
}
.sub_label-accordion:hover > .sub_item-accordion::before {
    transform:  translateX(-20px) scale(106%);
}
.sub_label-accordion:hover .sub_item-accordion-content {
    transform: scale(106%);
}

.information {
    text-align: center;
    background: white;
    border-radius: 5px;
    padding: 2px 6px;
    box-shadow: 0px 1px 0.2em 1px #a9abad;
}
.information a {
    color: var(--color-blue);
    font-weight: 600;
    /* border: 1px solid var(--color-blue); */
    /* border-width: 0px 0px 1px; */
    padding: 2px;
    text-decoration: underline;
    white-space: nowrap;
}

.content-title {
    color: var(--color-text-black);
    /* color: white; */
    background: linear-gradient(to right, transparent, #B02F79 5%, white 10%, white 90%, var(--color-blue) 95%, transparent);
    background: white;
    font-size: 26px;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    margin: 20px auto;
    /* margin: 12px auto; */
    padding: 5px 50px;
    border: 1px solid white;
    border-image: linear-gradient(to right, #B02F79 0%, #3a4ed5 100%) 1;
    width: fit-content;
    border-width: 2px 0px;
}

.facult-link {
    color: #a2eeff;
    transition: color 0.1s;
}

.facult-link:hover {
    color: #acbfff;
}

table .subheader {
    background-color: #084B8ACC;
    color: white;
}

/* */

/* media */

@media (max-width: 1080px) {
    .sub_item-accordion-content {
        font-size: 20px;
    }

}

@media (max-width: 920px) {
    .sub_item-accordion-content {
        font-size: 19px;
    }

    .item-accordion {
        width: 600px;
    }
    
    .item-accordion-content {
        font-size: 24px;
        min-height: 50px;
    }

    .accordion-content {
        min-width: 670px;
    }

    .content-title {
        font-size: 24px;
        padding: 4px 40px;
    }

    #main-header-content .title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .sub_item-accordion-content {
        font-size: 18px;
        min-height: 36px;
    }

    .item-accordion {
        width: 480px;
    }
    
    .item-accordion-content {
        font-size: 21px;
        min-height: 40px;
    }

    .accordion-content {
        min-width: 524px;
        max-width: 96%;
    }
    .radio-accordion:checked ~ .accordion-content {
        margin: 5px 19px 0;
        padding: 10px 25px;
    }
    .information {
        font-size: 15px;
    }

    .content-title {
        font-size: 21px;
        padding: 4px 30px;
        margin: 10px 30px;
    }

    .logo {
        width: 85px;
        height: 70px;
    }

    #main-header {
        height: 80px;
    }

    #main-header-content .title {
        font-size: 22px;
    }

    .main-accordion {
        gap: 10px;
        width: 95%;
        margin: 10px auto;
    }
}

@media (max-width: 600px) {
    .sub_item-accordion-content {
        font-size: 17px;
    }
    .sub_item-accordion {
        margin: 3% 1em;
    }

    .item-accordion {
        width: 390px;
    }
    
    .item-accordion-content {
        font-size: 21px;
        min-height: 40px;
    }

    .accordion-content {
        min-width: 440px;
    }
    .content-title {
        font-size: 20px;
        margin: 10px 25px;
    }

    #main-header-content .title {
        font-size: 19px;
    }

    .main-accordion {
        gap: 7px;
    }
}

@media (max-width:480px) {
    .sub_item-accordion-content {
        font-size: 14px;
        font-weight: 600;
    }
    .sub_item-accordion {
        margin: 3% 0.6em;
    }

    .item-accordion {
        width: 389px;
        margin: 8px 1em;
    }
    
    .item-accordion-content {
        font-size: 18px;
        padding: 5px 10px;
    }

    .sub_item-accordion::before {
        transform: translateX(-10px);
        width: calc(100% + 20px);
    }

    .sub_item-accordion::before {
        height: 120%;
    }

    .sub_label-accordion:hover > .sub_item-accordion::before {
        transform:  translateX(-10px) scale(106%);
    }

    .radio-accordion:checked ~ .accordion-content {        
        margin: 4px 16px 0;
        padding: 4px 14px;
    }

    .accordion-content {
        min-width: 280px;
        gap: 3px;
    }
    .content-title {
        font-size: 16px;
        margin: 10px 20px;
        padding: 4px 15px;
    }

    .logo {
        width: 65px;
        height: 55px;
    }

    .information {
        font-size: 13px;
    }

    #main-header {
        height: 65px;
    }

    #main-header-content .title {
        font-size: 12px;
    }

    .main-accordion {
        gap: 7px;
    }
}

@media (max-width:460px) {
    .item-accordion {
        width: 310px;
    }
}

@media (max-width:370px) {
    .item-accordion {
        width: 252px;
    }
}

.only_media_print {
    display: none;
}

@media print {
    .only_not_media_print {
        display: none;
    }
    
    body {
        height: 100%;
        overflow-y: auto;
    }

    .content-title {
        background: white;
        border: none;
    }

    .stat_table th {
        font-size: 12px;
    }

    .facult,
    table .subheader {
        background-color: white;
        color: black;
    }

    body {
        background-color: white;
    }

    #content {
        background: none;
    }

    .stat_table tbody {
        background: none;
    }
    .facult-link {
        display: none;
    }
}

/* */