
/* #region Const*/
.logo{
    width: 66px;
}
.content {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    flex: 1 0 0;
    align-self: stretch;
}
main {
    width: 100%;
    min-height: 100vh;
    background-color: var(--white-100);
    margin-left: 280px;
    display: flex;
    /* align-items: self-start; */
    flex-direction: column;
    gap: 40px;
}
section {
    width: 100%;
}
iframe {
    width: 100%;
    height: 800px;
}
.hide-scroll {
    overflow: hidden;
}

.sidebar {
    display: flex;
    position: fixed;
    height: 100%;
    z-index: 10000;
}
.sidebar-content {
    /* position: fixed; */
    width: 280px;
    height: 100%;
    /* padding: 1.4rem 0; */
    display: flex;
    flex-direction: column;
    background-color: var(--white-100);
    color: var(--blue-100);
    gap: 140px;

    background: var(--white-100, #FFF);
    box-shadow: 0px 0px 3px 0px rgba(104, 142, 255, 0.20);
    /* box-shadow: 0 5px 30px 0 rgba(0,0,0,0.2); */
    z-index: 5;

    transition: all 0.3s;
}
.sidebar-shadow{
    box-shadow: 0px 0px 3px 0px rgba(104, 142, 255, 0.20), 10px 0px 30px 0px rgba(0, 0, 0, 0.10);
}
.sidebar-navbar-content {
    display: flex;
}
.sidebar-general {
    display: flex;
    flex-direction: column;
    gap: 140px;
}
.sidebar-general__base {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 1.4rem;
}
.sidebar__back {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar__back {
    color: var(--blue-100);
    transition: all 0.3s;
}
.sidebar__back:hover {
    color: var(--primary-color);
}
.sidebar__back:hover svg path {
    stroke: var(--primary-color);
}
.sidebar__info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
}
.sidebar__header {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sidebar__info .header__title-name {
    display: none;
    font-size: 1.2rem;
}
.sidebar__options .search {
    display: none;
}
.header__title-subsection {
    font-size: 1rem;
}
.sidebar__menu {
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    display: none;

    padding: 5px;
    border: 1px solid var(--blue-100);
    border-radius: 50%;
    
    cursor: pointer;
}
.sidebar__menu-button svg {
    width: 30px;
    height: 30px;
}
.sidebar-checkbox:checked + .sidebar__menu-button svg {
    /* background-color: var(--primary-color); */
    background: var(--primary-color);
    border-radius: 30px;
    /* width: 100%;
    height: 100%; */
    padding: 5px;
    box-shadow: 0px 3px 9px 0px rgba(104, 142, 255, 0.35);
}
.sidebar__menu:has(.sidebar-checkbox:checked) {
    padding: 0;
}
.sidebar-checkbox:checked + .sidebar__menu-button svg path {
    fill: var(--white-100);
}

.sidebar-checkbox {
    display: none;
}
/* .sidebar__menu:has(.sidebar-checkbox:checked) .nav-list {
    display: block;
} */
.nav-list {
    height: 100vh;
    position: fixed;
    top: 0;
    right: -60vw;
    /* right: -60vw; */
    z-index: 1500;
    opacity: 0;
    /* width: 0; */
    width: 0;
    transition: all 0.4s;

    overflow: auto;
    background: var(--white-100);
    padding: 80px 0 40px 0;
}
.sidebar__menu-button {
    position: relative;
    /* background-color: white; */
    /* height: 5rem; */
    /* width: 5rem; */
    border-radius: 50%;
    /* position: fixed; */
    /* top: 5vh; */
    /* right: 5vw; */
    z-index: 2000;
    /* box-shadow: 0 1rem 3rem black; */
    text-align: center;
    cursor: pointer;
  }
.sidebar-checkbox:checked ~ .sidebar__menu-button {
    /* position: fixed; */
}
.list {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
    width: 100%;
}
  
.sidebar-checkbox:checked ~ .nav-list {
    width: 100%;
    opacity: 1;
    right: 0;
}
label.sidebar__search-button img {
    width: 25px;
}
.search-box {
    display: none;
    position: relative;
    z-index: 100;
    opacity: 0;
    width: 0;
    /* animation: smoothSearchShow 1s alternate-reverse; */
}
.sidebar-checkbox:checked ~ .search-box {
    display: flex;
    opacity: 1;
    width: 100%;
    right: 0;

    border: 1px solid var(--blue-100);
    border-radius: 100px;
    padding: 10px;
    /* z-index: 99999; */
    animation: smoothSearchShow 1s alternate;
}
@keyframes smoothSearchShow {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}
.sidebar__search-button {
    display: flex;
    align-items: center;
    /* height: 25px; */
}
.sidebar__search-button svg {
    /* width: 25px;
    height: 25px; */
}
.sidebar-checkbox:checked + .sidebar__search-button svg circle, .sidebar-checkbox:checked + .sidebar__search-button svg path {
    stroke: var(--white-100);
}
.sidebar__search-button svg circle, .sidebar__search-button svg path {
    /* fill: var(--primary-color); */
    stroke: var(--primary-color);
}
.sidebar-checkbox:checked + .sidebar__search-button {
    order: 1;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 3px 9px 0px rgba(104, 142, 255, 0.35);
}
.sidebar__options:has(.search .sidebar-checkbox:checked) {
    width: 100%;
}
.search:has(.sidebar-checkbox:checked) {
    width: 100%;
    border: none;
    padding: 0 !important;
}
.sidebar__options .search:focus-within {
    background: none;
    box-shadow: none;
}
.sidebar-general__base:has(.search .sidebar-checkbox:checked) .sidebar__header,
.sidebar-general__base:has(.search .sidebar-checkbox:checked) .sidebar__menu {
    display: none;
}
  
.sidebar__divider {
    width: 1px;
    height: 30px;
    background-color: var(--blue-100);
}
.sidebar-general__base {
    padding: 1.4rem 30px;
}
.sidebar__back {
    padding: 14px 0;
    color: inherit;
}
.sidebar__info {
    justify-content: start;
}
.sidebar-general__base {
    gap: 1.4rem;
}
.logo {
    width: 50px;
    height: 50px;
}
.sidebar__divider {
    display: none;
}
.sidebar-content {
    color: var(--blue-200);
}
.header__title-org {
    font-family: 'Montserrat Medium';
    color: var(--black-100);
}
.sidebar__options {
    display: none;
}
.sidebar-general {
    gap: 60px;
}
.sidebar-navbar-content {
    flex-direction: column;
    gap: 30px;
}
.sidebar-navbar__header {
    width: 100%;
    padding: 0 1rem 0 26px;
    font-family: 'Montserrat Medium';
    font-size: 1.2rem;
}
.navbar__item label {
    padding: 14px 26px 14px 24px;
    gap: 1.4rem;
}
.navbar__item-ellipse {
    display: none;
}
.navbar__input:checked + label .sidebar-list__ico {
    background-color: rgba(104, 142, 255, 0.1);
}
.navbar__item label {
    font-family: 'Montserrat Medium';
    color: var(--blue-200);
}
.navbar__input:checked + label {
    color: var(--primary-color);
}
label .sidebar-list__ico {
    background-color: rgba(197, 207, 216, 0.2);
}
label .sidebar-list__ico svg path {
    stroke: var(--blue-200);
}
.sidebar-list__ico {
    border-radius: 10px;
}
.navbar__item p {
    color: inherit;
    font-size: 1rem;
}
input[type="checkbox"] + label .sidebar-list__ico {
    border-radius: 50%;
}
.sidebar__navbar-more {
    color: var(--blue-200);
    /* background-color: rgba(197, 207, 216, 0.2); */
}
.sidebar__navbar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    color: var(--blue-100);
}
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-selected {
    /* color: var(--black-100); */
}
.sidebar-selected svg path{
    stroke: var(--primary-color);
}
.sidebar-selected .navbar__item-ellipse {
    opacity: 1;
}
.sidebar__navbar-more {
    display: flex;
    color: var(--text-inactive);
    padding: 14px 1rem 14px 32px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    background-color: var(--secondary-color);

    cursor: pointer;

    transition: all 0.3s;
}
.sidebar__navbar-more:hover {
    color: var(--primary-color);
}
.sidebar-content {
    display: flex;
}
.sidebar-additional {
    display: none;
    position: relative;
    width: 430px;
    background-color: #fbfbfb;
    border-radius: 0 1.4rem 0 0;
    /* z-index: 10; */
    /* display: none; */
    /* height: 80%; */
    top: 100px;
    padding: 1.4rem 10px;
    box-shadow: 0 5px 30px 0 rgba(0,0,0,0.2);

    animation: sidebarShow 0.5s ease-in-out;
}
.sidebar-additional .sidebar__navbar-more {
    display: none;
}
@keyframes sidebarShow {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(0);
    }
}
.navbar__item {
    display: flex;
    align-items: center;
    /* gap: 1.4rem; */
    /* padding: 14px 1rem 14px 32px; */
    align-self: stretch;

    cursor: pointer;
}
.navbar__item-ellipse {
    opacity: 0;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;

    -webkit-transform: translateX(30px);
    transform: translateY(0px);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.navbar__item p {
    flex: 1 0 0;
    transition: all 0.3s;
}
.navbar__item:hover p{
    color: var(--text-hover-color);
}
.navbar__item:hover .navbar__item-ellipse {
    opacity: 0.5;
}
.navbar__item:hover svg path{
    stroke: var(--primary-color);
    opacity: 0.5;
}

/* #region Header */

.header {
    position: sticky;
    top: 0;
    /* width: 100%; */
    z-index: 1000;

    display: flex;
    padding: 40px 40px 1.4rem 40px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* gap: 1.4rem; */
    align-self: stretch;

    background: var(--white-100, #FFFFFF);
    box-shadow: 0px 1px 2px 0px rgba(104, 142, 255, 0.20);
}
.header__title {
    display: flex;
    gap: 10px;
}
.header-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.header__title-name {
    color: var(--primary-color);
}
.header__options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-active {
    background: var(--primary, #688EFF);
    box-shadow: 0px 3px 9px 0px rgba(104, 142, 255, 0.35);
    color: var(--text-button-active);
}

/* #endregion */

.main__content {
    display: flex;
    flex-direction: column;
    padding: 0px 40px 40px 40px;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    flex: 1 0 0;
    align-self: stretch;
    /* margin-top: 40px; */
    background-color: var(--white-100);
}


.content__pdf {
    width: 100%;
}
.content__pdf .mobile-hide {
    display: none;
}
.content__pdf:has(.mobile-hide) .content-hint::after {
    content: 'PDF';
    font-weight: 500;
}
.content-hint {
    position: relative;
    top: 10px;
    width: max-content;

    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    background: var(--primary-color);
    border-radius: 100px;

    color: var(--white-100);
    box-shadow: 0px 3px 9px 0px rgba(104, 142, 255, 0.35);
}
@media (max-width: 1550px) {
    .content {
        padding: 0 1.4rem;
    }
}
@media (max-width: 1200px) {
    .main__content embed, .main__content iframe {
        height: 600px;
    }
    .sidebar__info {
        flex-direction: column;
    }
    .sidebar__header {
        align-items: center;
    }
}

@media (max-width: 1070px) {
    .sidebar-content {
        width: 200px;
    }
    .sidebar-additional {
        width: 31.4rem;
    }
    .sidebar-general__base img {
        width: 46px;
    }
    .navbar__item label {
        padding: 14px 1.4rem 14px 1.4rem;
    }
    .navbar__item label .sidebar-list__ico {
        display: none;
    }
    h4 {
        font-size: 1.4rem;
    }
    p, a, input {
        font-size: 1rem
    }
    main {
        margin-left: 200px;
    }
    div.list-container > ul > li, .links-container h4 {
        font-size: 1.4rem;
    }
    .list-container li {
        font-size: 1.2rem;
    }
}

@media (max-width: 720px) {
    body {
        overflow-x: hidden;
    }
    .content {
        /* overflow-x: hidden; */
        padding: 0;
        flex-direction: column;
    }
    .sidebar {
        height: auto;
    }
    .sidebar__info {
        flex-direction: row;
    }
    .sidebar__header p, .sidebar__header h5 {
        display: none;
    }
    .header {
        padding: 0;
        background: none;
    }
    .header-content {
        display: none;
        gap: 15px;
        padding: 1.4rem;

        box-shadow: 0px 3px 31px 0px rgba(104, 142, 255, 0.10);
    }
    .sidebar__info .header__title-name {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
                line-clamp: 2; 
        -webkit-box-orient: vertical;
    }
    .sidebar {
        position: sticky;
        top: 0;
        width: 100%;
        flex-direction: row;
    }
    .sidebar-content {
        width: 100%;
        flex-direction: row;
        height: auto;

        backdrop-filter: blur(1rem) saturate(180%);
        -webkit-backdrop-filter: blur(1rem) saturate(180%);
        background-color: rgba(255, 255, 255, 0.75);
    }
    .sidebar-general {
        width: 100%;
        /* flex-direction: row; */
        align-items: flex-start;
        gap: 1.4rem;
    }
    .sidebar-general__base {
        box-sizing: border-box;
        width: 100%;
        height: 75px;
        padding: 10px 1.4rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .sidebar-general__base img {
        width: 46px;
    }
    .sidebar__options {
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .sidebar__options .search {
        display: flex;
    }
    .search {
        height: fit-content;

        padding: 10px !important;
        /* border: 0; */
    }
    .search:focus-within {
        box-shadow: none;
    }
    /* .search-button {
        display: none;
    } */
    .sidebar-navbar-content {
        display: none;
    }
    .sidebar-list {
        /* flex-direction: row; */
        flex-wrap: wrap;
        gap: 15px;
    }
    .sidebar__info p {
        font-size: 1rem;
    }
    .sidebar__info p, .sidebar__info .sidebar__divider {
        /* display: none; */
    }
    .sidebar__info {
        /* order: 1; */
    }
    .sidebar__back {
        display: none;
        /* order: 2; */
    }
    .sidebar__header {
        align-items: flex-start;
    }
    p.header__title-subsection {
        display: block;
        order: 10;
        font-size: 1rem;
    }
    .sidebar__menu {
        display: block;
    }
    .navbar__item {
        flex: 1 0 0;
    }
    .sidebar__navbar-more {
        background-color: var(--white-100);
        justify-content: flex-end;
    }
    .sidebar-additional {
        position: static;
        width: 100%;
        background-color: var(--white-100);
        z-index: 10;
        box-shadow: none;
        border-radius: 0;
        padding: 0;

        animation: none;
    }
    .sidebar-additional .sidebar__navbar-more {
        display: flex;
    }
    .navbar__item label .sidebar-list__ico {
        display: block;
    }
    .navbar__item label svg {
        display: block;
    }
    .navbar__item p {
        font-size: 1rem;
    }
    .sidebar-settings {
        order: 10;
    }
    main {
        margin: 0;
    }
    .header__navbar-list {
        flex-wrap: wrap;
        border: 0;
    }
    .main__content {
        padding: 0px 1.4rem 1.4rem 1.4rem;
    }
    
}

@media (max-width: 420px) {
    .sidebar-general__base {
        padding: 10px;
    }
    .navbar__item {
        /* padding: 14px 1.4rem; */
    }
    .header {
        /* padding: 1.4rem 1.4rem 10px 1.4rem; */
    }
    .search {
        gap: 15px;
    }
    .search-container {
        gap: 10px;
    }
    .search-container input {
        /* width: 100px; */
    }
    .main__content {
        padding: 0 1.4rem;
    }
    .links-container ul {
        padding: 0;
    }
    
    .sidebar__info {
        gap: 10px;
    }
    .sidebar-general__base img {
        width: 40px;
    }
    .sidebar__info .header__title-name {
        /* font-size: 1rem; */
    }
}
