
@media only screen and (min-device-width: 1024px) {
    
    .anilaHeaderTwo {
        max-width: 100vw;
        background-color: black;
        border-bottom: solid 4px $primary-color;
        display: flex;
        align-items: center;
        position: relative;

        &__logo {
            flex: 0 0 30%;
            font-size: 30px;
            text-align: left;
            margin-left: .2rem;
            text-align: center;
            padding: 0.2rem;

            h1 {
                margin: 0 !important;
                line-height: 1 !important;
                // font-family: 'Hammersmith One', sans-serif;
                font-style: none;
                font-weight: none;
                line-height: none;
                margin-bottom: none;
                text-rendering: optimizeLegibility;  
                text-align: center;
            }
        }
            
        &__menu {
            flex: 1;

            
            ul {
                list-style: none;
                margin: 0;
                
                a {
                    padding: 2rem 1rem;
                    color: white;
                    transition: 0.3s all ease-in-out;
                    font-size: 16px;
                    margin-bottom: 0;
                    font-weight: 600;
                }
            
                li {
                    display: block;
                    position: relative;
                    float: left;
                    border-left: 1px solid lighten($primary-color-dark, 10%);
                    margin-bottom: 0 !important;
                    z-index: 200;
                    
                    a {
                        display: block;
                      
                        transition: 0.3s all ease-in-out;
                        // color: $font-color;
                    }
            
                    a:hover {
                        background: $primary-color; 
                        color: $font-color;
                    }
                    ul {
                        ul {
                            left: 100%;
                            top: 0;
                        }
                    }
                }
            }

            li {
                transition: 0.3s all ease-in-out;
                
            ul {
                display: none;
                transition: 0.3s all ease-in-out;
                
                li {
                    border-top: 0;
                    border-bottom: 1px solid $primary-color-dark;
                    transition: 0.3s all ease-in-out;
                }
            }
            &:hover > ul {
                display: block;
                position: absolute;
                width: 15rem;
                background: $primary-color;
                transition: 0.2s ease-in-out;
                color: $font-color;
            }
            
            &:hover{
                li {
                    float: none;
                }
            }
            }


            & ul:before, 
            & ul:after {
            content: " "; /* 1 */
            display: table; /* 2 */
            }
            & ul:after { clear: both; }
            
            .current-menu-item {
            background: $primary-color;
            }
            .menu-item-home {
            background: $primary-color;
            }
            
        } // menu ends

        
        

        .search__checkbox {
            display: none;
        }

        .fa-searchengin {
            margin-right: .2rem;
            // padding: 1.2rem 2rem;
            color: white;
            transition: 0.3s all ease-in-out;
            font-size: 36px;

            &:hover {
                background-color: $primary-color-dark;
                transition: 0.3s all ease-in-out;
                padding: 1.2rem 2rem;
            }
        }

        .search__checkbox:checked ~ .search_background {
            top: 5.3rem;
            right: 0;
            width: 100%;
            opacity: 1;
            transition: .4s all ease-in-out;
            
        }

        .search_background {
            position: absolute;
            width: 0;
            top: 3rem;
            opacity: 0;
            height: auto;
            right: 5rem;
            background-image: linear-gradient(15deg, $primary-color-dark, $primary-color, $primary-color-dark);
            transition: .4s all ease-in-out;
            z-index: 3000000;

            .a-search-form {
                position: relative;
                top: .5rem;     
                left: -.5rem;
                padding: 1rem 2rem;;   
                &__field {
                    height: auto;
                    background-color: white;
                    box-shadow: inset 0px 0px 3px rgba(0,0,0,0.5);
                    padding: .7rem;
                    border: none;
                    width: 100%;
                
                    -webkit-transition: width 0.4s ease-in-out;
                    transition: width 0.4s ease-in-out;
            
                    &:hover {

                    }
            
                    &:focus{
                        width: 100%;
                    }
                }
            
            
                &__label {
                    margin-bottom: 0;
                }
                &__button {
                    position: absolute;
                    justify-content: center;
                    top: 2rem;
                }
            }


        }
    }
}

@media only screen and (max-device-width: 1023px) {
    .anilaHeaderTwo {
        display: none;
    }

    .anilaDefaultHeader {
        &__top  {
            max-width: 100vw;
            min-height: 2rem;

            .top-menu {
                display: none;
            }

            .social-media {
               text-align: center;
               background-color: $primary-color-dark;
                .fab {
                    color: $grey-color-light;
                    transform: scale(1.3);
                    padding:  0.5rem;
                    &:hover {
                        color: white;
                        transform: scale(1.8);
                    }
                }
            }
        }

        &__middle {
            display: none;
        }

        &__bottom {
            display: none;
        }
    }


}