.mD_dropDown a[href="/services/"] {
    display: none;
}

.lc_arrw_svg {
    position: relative;
    width: 1em;
    height: auto;
    aspect-ratio: 1;
    color: black;
}

li > a[href="/services/"] > span::after {
    display: inline-block;
    content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8' fill='none'><path d='M1.01071 6.50958L5.50001 1.49997L10.0107 6.49035' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
    width: .625em;
    height: auto;
    aspect-ratio: 1;
    transform: rotate(180deg) translateY(-2px);
    transition: .3s all;
}

li[onclick] svg {
    color: black;
}

.mD_dropDown li {
    list-style-type: none;
}
  
.mD_dropDown ul {
    margin-left: 0;
    padding-left: 0;
}

.mD_dropDown{
    display: block;
    position: absolute;
    top: 100%;
    width: fit-content;
    height: auto;
}

.mD_dropDown .mD_dropDown_wrp {
    position: relative;
    width: 100%;
    max-height: 0px;
    height: 100%;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    visibility: hidden;
}

.H_nav li:has(a[href="/services/"]):hover .mD_dropDown .mD_dropDown_wrp {
    max-height: 700px;
    visibility: visible;
}

.H_nav:has(a[href="/services/"]:hover) li > a[href="/services/"] > span::after {
    transform: rotate(0deg);
}

.mD_dropDown .mD_dropDown_wrp .item {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 1em;
    box-sizing: border-box;
    background-color: lightslategray;
}

.H_nav:has(.mD_dropDown_wrp:hover) li > a[href="/services/"] > span::after {
    transform: rotate(0deg);
}

@media screen and (max-width: 770px) {
    .H_nav a[href="/services/"] {
        max-width: 0px;
        pointer-events: none;
    }

    .mD_dropDown {
        position: relative;
        top: auto;
    }

    .H_nav li:has(a[href="/services/"]):hover .mD_dropDown .mD_dropDown_wrp {
        max-height: 0px;
        visibility: hidden;
    }

    .H_nav li:has(a[href="/services/"]) .mD_dropDown .mD_dropDown_wrp.active {
        max-height: 300px;
        visibility: visible;
    }

    .mD_dropDown .mD_dropDown_wrp .item {
        padding: .3em 0;
        box-sizing: border-box;
    }

    .H_nav:has(.mD_dropDown_wrp.active) li > a[href="/services/"] > span::after {
        transform: rotate(0deg);
    }
    
    .H_nav .mD_dropDown_wrp li.item {
        font-size: .8em;
    }
    
    li > a[href="/services/"] > span::after {
        transform: rotate(180deg) translateY(-5px);
    }
    
    .H_nav:has(.mD_dropDown_wrp.active) li[onclick] > a > span, .H_nav:has(.mD_dropDown_wrp.active) > span::after {
        color: #3498DB;
    }

    .H_nav:has(.mD_dropDown_wrp.active) li > a[href="/services/"] > span::after {
        content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 8' fill='none'><path d='M1.01071 6.50958L5.50001 1.49997L10.0107 6.49035' stroke='rgb(52, 152, 219)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
    }
    
}