@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --main-color: #424242;
    --green-color: #7CB342;
    --blue-color: #3a4aa9;
    --orange-color: #f98b1f;
    --grey-color: #bdbdbd;
    --lite-grey-color: #ebebeb;
    --white-color: #fff;
    --box-shadow: 0 8px 24px rgba(44,43,55,.1);
}

html:not(.bvi-panel) {
    font-size: 16px;
}

.mix-item {
    display:none;
    width:100%;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: var(--main-color);
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.main-container {
    flex: 1 0 auto;
}

.container {
    width: 96%;
    max-width: 1400px;
    position: relative;
}

.d-block {
    display: block;
}

.text-green {
    color: var(--green-color);
}

.text-orange {
    color: var(--orange-color);
}

.br8 {border-radius: 8px;}
.br24 {border-radius: 24px;}
.mb0 {margin-bottom: 0 !important;}
.mt40 {margin-top: 40px !important;;}

.button {
    background-color: var(--white-color);
    color: var(--main-color);
    border: 2px solid var(--lite-grey-color);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    margin: 0 4px;
    font-size: 1rem;
    min-height: 50px;
    min-width: 50px;
}

.button-orange {
    background-color: var(--orange-color);
    border: 2px solid var(--orange-color);
    color: var(--white-color);
}

.button-green {
    background-color: var(--green-color);
    border: 2px solid var(--green-color);
    color: var(--white-color);
}

.site-header {
    .site-header__top-line {
        height: 80px;

        .site-header__flex-container {
            display: flex;
            align-items: center;
            justify-content: space-between;

            .site-header__logo {
                height: 80px;
                display: flex;
                align-items: center;

                img {
                    height: 60px;
                    
                    &:first-child {
                        margin-right: 10px;
                    }
                }
            }

            .site-header__contacts {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                .phone {
                    color: var(--main-color);
                    font-size: 1.6rem;
                    font-weight: 900;
                    line-height: 1;
                }

                .location {
                    color: var(--main-color);
                    font-size: .8rem;
                }
            }

            .site-header__soc-icons {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .site-header__icon {
                color: var(--main-color);
                font-size: 1.2rem;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border: 2px solid var(--lite-grey-color);
                border-radius: 8px;
                margin: 0 4px;
                width: 50px;
                height: 50px;
            }

            .site-header__right-item {
                display: flex;
            }
        }

        
    }

    .site-header__menu {
        background: var(--green-color);
        box-shadow: var(--box-shadow);
        
        .site-header__soc-icons {
            display: flex;
            align-items: center;
            justify-content: center;
            
            .site-header__icon {
                color: var(--white-color);
                font-size: 1.2rem;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border: 2px solid var(--lite-grey-color);
                border-radius: 8px;
                margin: 0 4px;
                width: 40px;
                height: 40px;
            }
        }
    }
}

.dropdown-content {
    max-width: 300px;
    height: auto;
    
    li {
        a, span {
            font-size: 1rem;
            color: var(--main-color);
            display: block;
            line-height: 22px;
            padding: 14px 16px;
        }
    }
}

.sidenav {
    li {
        border-bottom: 1px solid var(--lite-grey-color);
        a {
            padding: 0 18px;
        }
        
        &:last-child {
            border: none;
        }
        
        &.active {
            .collapsible-header {
                &:after {
                    transform: rotate(90deg);
                }
            }
        }
    }
    
    .no-padding {
        .collapsible-body {
            ul {
                padding: 0 0 0 24px;
                background: rgba(0,0,0,0.05);
                li {
                    a {
                        height: auto;
                        line-height: 1.3rem;
                        padding: 10px 0;
                    }
                }
            }
        }
    }
    
    .collapsible-header {
        &:after {
            width: 1em;
            height: 1em;
            transition: all 0.3s;
            content: '\f054';
            font: normal normal normal 14px/1 FontAwesome;
            font-family: "Font Awesome 5 Free";
            font-weight: 600;
            position: absolute;
            right: 16px;
            top: 17px;
            font-size: 1em;
            text-align: center;
        }
    }
}

.parallax-container {
    height: 640px;

    .parallax-container__flex-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        height: 420px;

        .parallax-container__title {
            color: var(--white-color);
            font-weight: 700;
            font-size: 7rem;
            line-height: 1;
            margin: 0;
            text-transform: uppercase;
        }

        p {
            color: var(--white-color);
            line-height: 1;
            margin: 0 0 20px 0;
            font-size: 1.6rem;
            font-weight: 700;
            text-transform: uppercase;
            opacity: .8;
        }
    }
}

.breadcrumbs {
    background-color: transparent;
    box-shadow: none;
    height: auto;
    margin-top: 20px;
    line-height: 1;
    
    .nav-wrapper {
        display: flex;
        align-items: center;
        
        .breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--white-color);
            color: var(--grey-color);
            padding: 10px 30px;
            border-radius: 50px;
            margin-left: -20px;
            box-shadow: -2px 2px 12px 4px rgba(44,43,55,.1);
            font-size: 0.9rem;
            transition: .5s;
            
            &::before {
                content: none;
            }
            
            &:first-child {
                margin-left: 0;
            }
            
            &:last-child {
                color: var(--main-color);
            }
            
            &:hover {
                color: var(--main-color);
            }
        }
    }
}


.info-map {
    position: absolute;
    max-width: 600px;
    height: 300px;
    left: 0;
    top: 60px;
    z-index: 900;

    .card {
        padding: 0 20px;

        ul {
            li {
                padding: 20px 0;
                border-bottom: 1px solid #d4d4d4;
            }
    
            li:last-child {
                border: none;
                padding-bottom: none;
            }
        }


        .fa-solid {
            color: var(--green-color);
            margin-right: 10px;
        }
    }

}

.short-news {
    .short-news__item {
        margin-bottom: 30px;
        
        .short-news__date {
            color: var(--grey-color);
            font-size: .9rem;
            
            .short-news__icon {
                color: var(--orange-color);
                margin-right: 5px;
            }
        }
        
        .short-news__content {
            .card-panel {
                border-radius: 0 12px 12px 12px;
            }
        }
        
    }
}



.section {
    padding: 60px 0;
    
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        text-transform: uppercase;
    }
    
    &.grey-section {
        background: #fafafa;
    }
}


.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
}

.section-map {
    position: relative;
    
    .section-map .container {
        position: relative;
    }
}

.card-panel {
    padding: 24px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.skill-section {
    margin-top: -10rem;
    
    .skills {
        .skills__item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
    
            .skills__item__number {
                font-size: 3rem;
                font-weight: 900;
                line-height: 1;
            }
    
            .skills__item__text {
                font-size: 1.2rem;
                line-height: 1;
            }
        }
    }

}



.card {
    background: var(--white-color);
    box-shadow: var(--box-shadow);
    border-radius: 18px;
    overflow: hidden;
    transition: .5s;
    
    &.card-doc {
        .card-doc__content {
            height: 86px;
            overflow: hidden;
            .card-title {
                font-size: 1.2rem;
                line-height: 1;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
    }
    
    .card-title {
        font-size: 1.6rem;
        font-weight: 600;
    }
    
    .card-image {
        width: 100%;
        aspect-ratio: 3 / 2;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        
        .card-image__img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            border-radius: 24px;
        }
    }
    
    .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
        color: var(--orange-color);
        margin-right: 0;
        text-transform: none;
        font-weight: 500;
        
        &:hover {
            color: var(--main-color);
        }
    }
    
    .card-action {
        .card-doc__date {
            color: var(--grey-color);
        }
    }
    
    &.program-card {
        .card-content {
            display: flex;
            align-items: center;
            height: 140px;
            
            .card-title {
                line-height: 1;
                color: var(--main-color);
                font-size: 1.2rem;
            }
        }
        
        .card-action  {
            color: var(--main-color);
            margin-right: 0;
            text-transform: none;
            font-weight: 400;
            font-size: 0.9rem;
            height: 54px;
            overflow: hidden;
        }
    }
    
    &.card-smi {
        .card-smi__content {
            .card-title {
                line-height: 1;
                font-size: 1.2rem;
                height: 80px;
                overflow: hidden;
                padding-left: 5px;
            }
            
            .card-smi__description {
                font-size: 0.9rem;
                margin-bottom: 20px;
                padding-left: 5px;
                
                .card-smi__date {
                    i {
                        color: var(--orange-color);
                        margin-right: 5px;
                    }
                }
                
                .card-smi__source {
                    i {
                        color: var(--orange-color);
                        margin-right: 5px;
                    }
                }
            }
            
            
        }
    }
    
    &:hover {
         transform: scale(1.05);  
    }
    
    &.card-organization {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: var(--white-color);
        margin-bottom: 20px;
        padding: 1.2rem;
        text-align: center;
        font-size: 14px;
        color: var(--main-color);
        height: 200px;
        overflow: hidden;
        border-radius: 16px;
        transition: 0.5s;
        
        .card-organization__image {
            width: 100%;
            height: 100px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-bottom: 10px;
        }
        
        .card-organization__title {
            line-height: 1.2;
            font-weight: 600;
        }
    }
}

.my-gallery {
    .gallery-item {
        margin:0;
        font-size:0;
        
        .gallery-item__link {
            display: block;
            border-radius: 18px;
            overflow: hidden;
        }
    }
}


.main-content {
    margin-right: 305px;
    width: calc(100% - 305px);
}

.menu-sidebar {
    width: 282px;
    position: absolute;
    right: 0;
    top: 10px;
    
    a {
        color: var(--main-color);
        border: 2px solid var(--lite-grey-color);
        border-radius: 8px;
        display: flex;
        margin-bottom: 6px;
        align-items: center;
        padding: 8px 24px;
        font-size: 1rem;
        min-height: 50px;
        min-width: 50px;
        
        &:hover, &.active {
            color: var(--white-color);
            background: var(--orange-color);
            border-color: var(--orange-color);
        }
    }
}


.content {
    .cover-image {
        aspect-ratio: 3 / 2;
        overflow: hidden;
        padding: 0 0 20px 20px;
        
        img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            border-radius: 18px;
        }
    }
    
    ul > li {
        position: relative;
        padding: 0 0 0 20px;
        list-style-type: none;
        
        
        &:before {
            content: "";
            display: block;
            position: absolute;
            left: 2px;
            top: 10px;
            width: 6px;
            height: 6px;
            border-radius: 1px;
            transform: rotate(45deg);
            background: var(--orange-color);
        }
        
        ul > li {
        position: relative;
            padding: 0 0 0 20px;
            list-style-type: none;

            &:before {
                content: "";
                display: block;
                position: absolute;
                left: 2px;
                top: 10px;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                border: 2px solid var(--orange-color);
                background: transparent;
            }
        }
    }
    
    h2 {
        font-weight: 700;
        font-size: 2rem;
    }
    
    h3 {
        font-weight: 700;
        font-size: 1.8rem;
    }
    
    h4 {
        font-weight: 700;
        font-size: 1.6rem;
    }
    
    h5 {
        font-weight: 700;
        font-size: 1.4rem;
    }
    
    hr {
        display: block;
        margin: 20px 0;
    	padding: 0;
    	height: 0;
    	border: none;
    	border-top: 2px dashed #ddd;
    }
    
    blockquote {
        border-color: var(--orange-color);
    }
    
    b, strong {
        font-weight: 700;
    }
}

.assets-contacts {
    .assets-contacts__title {
        font-size: 1.6rem;
        font-weight: 700;
    }
    
    .assets-contacts__icons a {
        color: var(--main-color);
        font-size: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--lite-grey-color);
        border-radius: 8px;
        margin: 0 4px;
        width: 50px;
        height: 50px;
    }
}


.fullscreen-modal {
    background: var(--white-color);
    width: 100%;
    min-height: 100vh;
    position: fixed;
    top: 0 !important;
    left: 0;
    z-index: 1000;
    overflow-x: scroll;
    display: none;
    padding-top: 5vh;
    
    .modal-close {
        position: absolute;
        font-size: 2.4rem;
        top: 20px;
        right: 20px;
        color: var(--orange-color);
    }
    
    .card-panel {
        padding: 3rem;
        
        h4 {
            font-size: 2rem;
            font-weight: 700;
            text-transform: uppercase;
        }
    }
}

.page-footer {
    background: var(--main-color);

    .footer-copyright {
        font-size: 0.8em;
   }
}

.copy-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .madein {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    
    .madein__text {
        margin-right: 10px;
    }
    
    .madein__link {
        .madein__logo svg {
            height: 30px;
            
            .st3 {
                transition: .5s;
                fill:#8ED336;
            }
        }
        
        &:hover {
            .madein__logo svg {
                .st3 {
                    fill:#f98b1f;
                }
            }
        }
    }
} */




@media screen and (max-width: 600px) {
    
    html:not(.bvi-panel) {
        font-size: 14px;
    }
    
    .site-header__menu {
       height: 64px;
    }
    
    .content {
        .cover-image {
            padding: 0 0 20px 0;
        }
    }
    
    .card-news .block {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        padding: 20px;
    } 

    .card-news .img-container {
        flex-basis: 60%;
    }

    .card-news .card-content {
        flex-basis: 100%;
        padding: 0;
    }

    .info-map {
        position: static;
        margin-bottom: 60px;
    }

    .flex-search-modal {
        align-items: flex-start;
        flex-direction: column;
    }
    
    .person-card .card-content {
        padding: 10px;
    }
    
    .person-card .card-content .card-title {
        font-size: 15px;
        height: 60px;
    }
    
    .person-card .card-reveal .card-title {
        font-size: 15px;
    }
    
    .person-card .card-reveal {
        padding: 10px;
        font-size: 15px;
    }
}

@media screen and (max-width: 992px) {
    
    .site-header {
        .site-header__top-line {
            .site-header__flex-container {
                .site-header__contacts {
                    .phone {
                        font-size: 1.2rem;
                    }
                }        
            }
        }
    }
    
    .site-header__menu {
        .nav-wrapper {
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            
            .site-header__icon {
                color: var(--white-color);
                font-size: 1.2rem;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border: 2px solid var(--lite-grey-color);
                border-radius: 8px;
                margin: 0 4px;
                width: 40px;
                height: 40px;
            }
        }
        
    }
    
    .parallax-container {
        height: 400px;
            .parallax-container__flex-container {
                height: 400px;
                
                p {
                    font-size: 1rem;
                }
                
                .parallax-container__title {
                    font-size: 4rem;
                } 
            }
    }
    
    .skill-section {
        margin-top: -10rem;
        
        .skills {
            .skills__item {
                margin: 20px 0;
                .skills__item__number {
                    font-size: 2rem;
                }
        
                .skills__item__text {
                    font-size: 1rem;
                }
            }
        }
    
    }

    
    
    
    
    .page-title {
        font-size: 2rem;
    }

    .top-line .icons {
        padding-left: 0;
    }
    
    .main-content {
        width: 100%;
        margin-right: 0;
    }
    
    .menu-sidebar {
        width: 100%;
        position: relative !important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: flex-start;
        
        a {
            display: inline-flex;
            white-space: nowrap;
            margin-right: 6px;

        }
    }
}




