.ico-down {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    transition: all 0.3s;
}

/* DROPDOWN */
.dropdown {
  display: inline-block;
  margin: 0;
  position: relative;

    .dropdown-content {
        position: absolute;
        z-index: 99;
        left: 50%;
        width: auto;
        top: 100%;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        text-align: left;
        margin: 0;
        visibility: hidden;
        pointer-events: none;
        padding: 2rem;
        background-color: var(--black);
        border-radius: 5px;
        min-width: 25rem;
        translate: -50% 0;
        text-align: center;

        & a {
            line-height: 1.2;

            &:hover {
                color: var(--white);
            }
        }
    }
}

.dropdown:hover {
    .dropdown-content {
        height: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}




/* TOGGLE */
ul.accordion {
    .inner {
        overflow: hidden;
        display: none;
        padding: 1rem 0;
    }
}

.rotate {
  rotate: 180deg;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    overflow-x: hidden;
    transition: 0.5s;
    right: 0;
    overflow-y: scroll;

    .closebtn {
        position: absolute;
        top: 2rem;
        color: var(--black);
        font-size: 2.6rem;
        background: var(--white);
        border-radius: 5px;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        right: 2rem;
        z-index: 9;
        background: transparent;
    }

    .flexnav {
        display: flex;
        position: relative;

        .bgcolor {
            position: fixed;
            background-color: rgba(76, 172, 71, 0.8);
            width: 10%;
            min-height: 100vh;
            transition-timing-function: cubic-bezier(1.28, 0.89, 0.32, 0.18);
            left: 0;
            top: 0;
            position: absolute;
            height: 100%;
        }

        .bgblack {
            background-color: var(--black);
            min-height: 100vh;
            height: 100%;
            padding: 10rem 2rem;
            margin-left: 10%;
            width: 90%;
            padding: 3rem;

            & a {
                font-size: 1.6rem;
                color: var(--white);
                font-weight: 500;
                text-transform: uppercase;
            }
        }
    }
}

.sidenav {
    .logo-resp {
        margin: 0 0 2rem;

        & img {
            width: 10rem;
            height: auto;
            aspect-ratio: 120 / 125;
            object-fit: contain;
            max-width: 100%;
        }
    }
}


#myBtn {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  transition: all 0.3s;
  background: var(--black);
  border-radius: 10rem;
  height: 3.5rem;
  width: 3.5rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);

    & img {
        width: 2.5rem;
        height: 2.5rem;
    }

    &.arrow-visible {
        opacity: 1;
        visibility: visible;
    }
}

.fascia_menu {
    width: 100%;
    position: relative;
    padding: 1rem 2% 0;
    background-color: var(--white);    

    @media screen and (min-width:1140px) {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9;
        padding: 2rem 2% 13rem;
        background: #2B2B2B;
        background: -webkit-linear-gradient(0deg, rgba(43, 43, 43, 0) 0%, rgba(43, 43, 43, 1) 100%);
        background: -moz-linear-gradient(0deg, rgba(43, 43, 43, 0) 0%, rgba(43, 43, 43, 1) 100%);
        background: linear-gradient(0deg, rgba(43, 43, 43, 0) 0%, rgba(43, 43, 43, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2B2B2B", endColorstr="#2B2B2B", GradientType=0);
    }

    .wrap {
        width: 100%;
        max-width: 180rem;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
    }

    .cta_wrap {
        width: calc(100% - 10rem);
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0 1rem;
        margin: 0 0 1rem;

        @media screen and (min-width:1140px) {
            width: 22rem;
            margin: 0;
            gap: 0 1.5rem;
        }
        @media screen and (min-width:1280px) {
            width: 28rem;
        }

        span {
            display: none;

            @media screen and (min-width:1280px) {
                display: block;
            }
        }
    }

    .logo {
        width: 10rem;
        height: auto;
        aspect-ratio: 120 / 125;
        object-fit: contain;
        max-width: 100%;

        @media screen and (min-width:1140px) {
            width: 22rem;
            aspect-ratio: 280 / 73;
        }
        @media screen and (min-width:1280px) {
            width: 28rem;
        }
    }

    .menu {
        width: calc(100% - 22rem - 22rem);
        display: none;

        @media screen and (min-width:1140px) {
            display: block;
        }
        @media screen and (min-width:1280px) {
            width: calc(100% - 28rem - 28rem);
        }

        ul {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;

            li {
                a {
                    display: flex;
                    height: 100%;
                    padding: 2rem 1rem;
                    text-transform: uppercase;
                    color: var(--white);
                    align-items: center;
                    gap: 5px;

                    @media screen and (min-width:1400px) {
                        padding: 2rem;
                    }

                    &:hover, &.active {
                        color: var(--green);
                    }
                }

                &.dropdown {
                    .sub-nav {
                        li {
                            display: block;
                            width: 100%;

                            a {
                                padding: 5px 0;
                                justify-content: center;
                            }
                        }
                    }
                }
            }
        }
    }
}



/* RESPONSIVE */
.menuresponsive {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  margin: 0;

    @media screen and (min-width: 365px) {
        margin: 0 1rem 0 0;
        width: 4rem;
    }
    @media screen and (min-width: 1140px) {
        display: none;
    }

    & img {
        width: 4rem;
        height: 4rem;
        aspect-ratio: 1/1;
    }

    
}

