


/*sidebar*/

.sidebar-layout__grid{
    position: relative;
}
.sidebar-layout__left{
    position: sticky;
    top: 3rem;
}

.sidebar-layout__sidebar{
    top: 1rem;
}

.page-species-subtopic{
    .sidebar-layout__sidebar{
        top: 12rem;
    }
}

.toc-active{
    .sidebar-layout__sidebar-inside-header-switch{
        transform: rotate(180deg);
    }
}

@media(min-width: 1024px){
    .sidebar-layout__sidebar{
        max-height: 96vh;
    }
    .page-species-subtopic{
        .sidebar-layout__sidebar{
            max-height: 81vh;
        }
    }
}
@media(max-width: 1023px){
    .sidebar-layout__sidebar{
        max-height: 93vh;
    }
}

/*//////////*/
.header-language-switcher{
    color: white;
}


.header-language-switcher{
    display: flex;
    align-items: center;
    i{
        font-size: 1.3rem;
    }
    ul{
        list-style: none;
        display: flex;
        gap: 1rem;
        text-transform: uppercase;

        margin-bottom: 0px;
        padding-left: 1.3rem;
    }
    a{
        color: var(--primary-color);
    }
    li.is-active{

        a{
            font-weight: bold;
        }
    }
}

/*link fix*/
.button-link__link, .button-link__list-single{
    max-width: 100%;
}

/*!*iframe*!*/
/*@media(min-width: 1024px){*/
/*    .embed-block__wrapper iframe{*/
/*        min-height: 650px;*/
/*    }*/
/*}*/
.embed-block__wrapper{
    min-height: 1px !important;
}
.embed-block__wrapper iframe{
    padding: 0px;
    min-height: 1px !important;
}
@media(min-width: 1024px){
    .nav-top-desktop__main .container{
        max-width: 1400px;
        width: 95%;
    }
}

.side-menu__item-link {
    margin-bottom: 0.5rem;
    display: block;
}
.side-menu__sub-item {
    margin-bottom: 0.4rem;
}

/*iframe yt fix*/
iframe[src*="youtube.com/embed/"],
iframe[src*="youtube-nocookie.com/embed/"]{
    height: auto;
}

/*test*/