:root {
    --header-height: 100px;
    --header-small-height: 70px;
}

body {
    font-family: 'Montserrat';
    color: #000;
}

header {
    background: #fafbfc;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 0.46875rem 2.1875rem rgb(4 9 20 / 3%), 0 0.9375rem 1.40625rem rgb(4 9 20 / 3%), 0 0.25rem 0.53125rem rgb(4 9 20 / 5%), 0 0.125rem 0.1875rem rgb(4 9 20 / 3%);
    height: var(--header-height);
    display: flex;
    align-items: center;
    align-content: center;
    z-index: 10;
    justify-content: space-between;
    transition: all .2s;
    padding: 0 35px;
    box-sizing: border-box;
}

header .logo-container img {
    height: 80px;
}

header .right-side-container {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    transition: .3s;
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

header .right-side-container:hover {
    /* background: rgba(0,0,0,0.05); */
    background: rgb(134 189 0 / 31%);
}

header .right-side-container span {
    font-weight: 500;
}

header .right-side-container img {
    width: 25px;
    margin-right: 16px;
    transform: rotate(180deg);
}

.wrapper {
    padding-top: var(--header-height);
    display: flex;
    z-index: 8;
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
}



aside {
    background: rgba(0,0,0,0);
    position: fixed;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 11;
    margin-top: calc(0px - var(--header-height));
    padding-top: var(--header-height);
    pointer-events: none;
    transition: all .2s;
}

.scrollable-y {
    overflow-y: auto !important;
}

aside .aside-inner {
    background: #fff;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 7px 0 60px rgb(0 0 0 / 5%);
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-width: 280px;
    pointer-events: all;
    transition: all .2s;
}

main.main {
    z-index: 9;
    padding-left: 280px;
    flex-direction: column;
    display: flex;
    background: #f1f4f6;
    /* height: 100%; */
    transition: all .2s;
    width: 100%;
}

main.main .main-inner {
    padding: 50px;
}

.custom-card {
    box-shadow: 0 0.46875rem 2.1875rem rgb(4 9 20 / 3%), 0 0.9375rem 1.40625rem rgb(4 9 20 / 3%), 0 0.25rem 0.53125rem rgb(4 9 20 / 5%), 0 0.125rem 0.1875rem rgb(4 9 20 / 3%);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    position: relative;
    top: 0;
    cursor: pointer;

    transition: .3s;
}

.custom-card img {
    margin-bottom: 70px;
}

/* 
.custom-card.active-card {
    position: fixed;
    left: 330px;
    top: 150px;
    width: calc(100% - 380px);
    height: calc(100% - 200px);
    z-index: 10;
} */

/* .custom-card .card-header {
    height: 195px;
    width: 100%;   
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: 50% 50%;

    transition: .5s;
} */

/* .custom-card:hover .card-header {
    height: 0px;
} */

.custom-card .card-body {
    /* padding: 20px; */
    /* padding-top: 0; */
    transition: .5s;
    background-color: #fff;
    /* transform: translateY(195px); */
    position: absolute;
    top: calc(100% - 70px);
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.custom-card:hover .card-body {
    /* transform: translateY(0px); */
    top: 0;
}

/* .custom-card .card-body > * {
    max-height: 100%;
} */

.simplebar-scrollbar.simplebar-visible:before {
    opacity: 0.3 !important;
}

.custom-card .card-body .card-body-inner {
    padding: 20px;
    padding-top: 0;
}

.custom-card .card-body .card-title {
    padding: 0 20px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    height: 70px;
    display: flex;
    align-items: center;
}

.custom-card .card-body .card-description {
    margin-top: 0px;
    /* height: 220px; */
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    font-size: 14px;
    height: calc(100% - 70px);
}

.custom-card .card-body .card-description > * {
    max-height: 100%;
}

.custom-card .card-body .card-description .card-description-inner {
    padding: 0 20px 20px;
}

.custom-card .card-body .card-description .card-description-inner > * {
    margin-top: 0px;
}

.custom-card .card-body .card-description .card-description-inner > *:last-child {
    margin-bottom: 0px;
}

ul.nav {
    list-style: none;
    margin: 0;
    padding: 50px 22px;
    width: 100%;
}

ul.nav > li {
    margin-bottom: 10px;
}

ul.nav > li > a {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 6px;

    transition: .2s;
}

ul.nav > li > a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 7px;
    color: #333;
    transition: .2s;
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
}

ul.nav > li > a:hover,
ul.nav > li.uk-active > a {
    background: rgb(134 189 0 / 31%);
}

ul.nav > li > a > img {
    max-width: 30px;
    margin-right: 16px;

}

.contacts-wrapper {
    text-align: center;
    padding: 15px 20px;
}

.contacts-wrapper .contacts-name-1 {
    font-size: 115%;
    font-weight: 500;
}

.contacts-wrapper .contacts-name-2 {
    font-size: 85%;
    padding: 6px 0;
}

.contacts-wrapper .contacts-phone a {
    color: #7fa22a;
    font-weight: 500;;
}

.burger-container {
    display: none;
}

.detail-view-wrapper {
    display: none;
}

@media (max-width: 720px) {
    aside {
        margin-top: calc(0px - var(--header-small-height));
        padding-top: var(--header-small-height);
        
    }

    aside.active {
        background: rgba(0,0,0,0.5);
        pointer-events: all;
    }

    .aside-inner {
        transform: translateX(-100%);
        box-shadow: none;
    }

    aside.active .aside-inner {
        transform: translateX(0%);
        box-shadow: 7px 0 28px rgb(0 0 0 / 10%);
    }

    ul.nav {
        padding: 30px 20px;
    }

    ul.nav > li > a {
        padding: 7px 16px;
        font-size: 15px;
    }

    ul.nav > li > a > img {
        max-width: 24px;
        margin-right: 12px;
    }

    main.main {
        padding-left: 0px;
    }

    main.main .main-inner {
        padding: 30px;
    }

    header {
        height: var(--header-small-height);
    }

    .burger-container {
        display: block;
        padding: 6px 10px;
    }

    .burger-container .close-icon {
        display: none;
    }

    .burger-container.menu-open .open-icon {
        display: none;
    }

    .burger-container.menu-open .close-icon {
        display: block;
    }

    header .logo-container img {
        height: 60px;
    }

    .wrapper {
        padding-top: var(--header-small-height);
    }

    header .right-side-container {
        font-size: 16px;
    }

    header .right-side-container span {
        font-weight: 400;
    }

    header .right-side-container img {
        width: 18px;
        margin-right: 12px;
    }

    .detail-view-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: #7fa22a;
        color: #fff;
        border-radius: 6px;
        z-index: 1;
    }

    /* .detail-view-wrapper > *:first-child {
        
    } */

    .detail-view-wrapper > *:last-child {
        display: none;
    }

    .custom-card.active .detail-view-wrapper > *:first-child {
        display: none;
    }

    .custom-card.active .detail-view-wrapper > *:last-child {
        display: block;
    }

    .custom-card:hover .card-body {
        top: calc(100% - 70px);
    }

    .custom-card.active .card-body {
        top: 0;
    }
}

@media (max-width: 620px) {
    .right-side-container span {
        display: none;
    }

    header .right-side-container img {
        margin-right: 0;
    }
}

@media (max-width: 425px) {
    header .right-side-container {
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    header {
        padding: 0 10px;
    }
}