.avia-slideshow-button{
    border-radius: 100px!important;
    padding: 18px 50px!important;
    text-transform: none!important;
    font-size: 15px!important;
    font-weight: 300!important;
    letter-spacing: 0.04em!important;
}

.av_fullscreen.avia-fade-slider .active-slide .avia-caption-content p,
.avia_transform .av_fullscreen.avia-fade-slider .active-slide .avia-caption-content{
    font-weight: 300!important;
    letter-spacing: 0.06em!important;
}

.page-template-default-homepage .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title,
.page-template-homepage-small .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title,
.post-template-default .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title,
.post-template-default .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title
{
    font-weight: 200;
    text-transform: none!important;
    font-family: 'Roboto', sans-serif!important;
}

.avia-menu-text{
    font-size: inherit;
    font-weight: 400!important;
    color: #000!important;
}

.avia-menu-fx{
    height: 4px!important;
}

#top .av_header_transparency .avia-menu-fx {
    width: 100%;
    bottom: 0;
    left: 0;
}

#header_main{
    border-bottom: none;
    background-color: #fff;
}


@media screen and ( min-width: 767px ) {

    #top #menu-item-search a{
        color: #000!important;
        /*line-height: 140px;*/
    }

    #header_main .container, 
    .main_menu > ul:first-child > li a{
        height: 70px !important;
        line-height: 120px;
    }    

    .page-template-default-homepage #header_main, {
        height: 120px; /* height: 54px; */
        -ms-transition: all 200ms ease;
        -webkit-transition: all 200ms ease;
        transition: all 200ms ease;
    }

    .page-template-default-homepage #header_main .container, 
    .page-template-default-homepage .main_menu ul:first-child > li a {
        height: 120px;  /* top menu on homepage height: 54px; */
        line-height: 170px;  /* top menu on homepage line-height: 54px;*/
        -ms-transition: height 200ms ease, line-height 200ms ease;
        -webkit-transition: height 200ms ease, line-height 200ms ease;
        transition: height 200ms ease, line-height 200ms ease;
    }

    .page-template-default-homepage #header {
        position: absolute;
        /* top menu on homepage bottom: 0px; */
    }

    .page-template-default-homepage .logo,
    .page-template-homepage-small .logo {
        position: relative;
        top: 0px;
        height: 70px;
        display: block;
    }


    .page-template-default-homepage .logo-wrapper.sticky-wrapper-logo,
    .page-template-homepage-small .logo-wrapper.sticky-wrapper-logo {
        width: auto;
        position: relative;
        top: 0px;
        left: 0px;
    }

    .page-template-default-homepage .sticky-header-logo,
    .page-template-homepage-small .sticky-header-logo {
        position: relative!important;
        top: inherit!important;
        left: inherit!important;
        margin-left: 0px!important;
    }

    .page-template-default-homepage .sticky-header-header, 
    .page-template-homepage-small .sticky-header-header {
        position: fixed!important;
        bottom: inherit!important;
    }

    .page-template-default-homepage #avia-menu > li > .sticky-header-height,
    .page-template-homepage-small #avia-menu > li > .sticky-header-height {
        height: 120px!important;
        line-height: 170px!important;
        -ms-transition: height 200ms ease, line-height 200ms ease;
        -webkit-transition: height 200ms ease, line-height 200ms ease;
        transition: height 200ms ease, line-height 200ms ease;
    }

    .page-template-default-homepage .sticky-header-height-head,
    .page-template-homepage-small .sticky-header-height-head {
        height: 120px!important;
        background-color: #fff!important;
        -ms-transition: all 200ms ease;
        -webkit-transition: all 200ms ease;
        transition: all 200ms ease;
    }

    .logo-wrapper {
        float: left;
    }

    .logo {
        height: 70px;
    }

    .page-template-default-homepage .logo-wrapper,
    .page-template-homepage-small .logo-wrapper {
        position: fixed;
        top: 0px;
        left: 0px;
        float: inherit!important;
    }

    .archive #header_main .container, 
    .archive .main_menu ul:first-child > li a,
    .page-template-default #header_main .container, 
    .page-template-default .main_menu ul:first-child > li a,
    .post-template-default #header_main .container,
    .post-template-default .main_menu ul:first-child > li a,
    .error404 #header_main .container,
    .error404 .main_menu ul:first-child > li a,
    .search #header_main .container,
    .search .main_menu ul:first-child > li a,
    .portfolio-template-default .main_menu ul:first-child > li a
    {
        height: 120px;
        line-height: 170px;
    }

    #header_main .logo > a{
        height: 70px;
    }

    .archive #header,
    .page-template-default #header,
    .post-template-default #header,
    .error404 #header,
    .search #header
    {
        position: fixed;
    }    

    .caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption{
        margin-top: -113px;
    }


    .logo-text-overlay{
        position: absolute;
        width: 100%;
        height: auto;
        left: 0;
        bottom: 0;
        z-index: 9;
    }


    #animated-img {
        -moz-transition: none !important;
        -webkit-transition: none !important;
        -o-transition: color 0 ease-in !important;
        transition: none !important;
        transition-duration: 0ms !important;
    }

    .svg-wrapper {
        -moz-transition: none !important;
        -webkit-transition: none !important;
        -o-transition: color 0 ease-in !important;
        transition: none !important;
        transition-duration: 0ms !important;
        display: none;
    }

    #top .av-main-nav > ul a{
        border: none;
        padding: 10px!important;
    }

    .html_header_top .header_color .main_menu ul:first-child >li > ul, 
    .html_header_top #top .header_color .avia_mega_div > .sub-menu{
        border-top-color: #fff!important;
    }

    .av-main-nav > ul > li{
        padding: 0px;
    }

    .sub-menu-open-menu{
        height: auto;
        line-height: inherit;
    }

}

@media screen and ( min-width: 989px ) {

    #header_main .container,
    .main_menu > ul:first-child > li a {
        height: 120px !important;
        line-height: 120px;
    }
}


/****************
    
    Homepage small

****************/

    .page-template-homepage-small #header {
        position: absolute;
        background: transparent;
        width: 100%;
    }

    .page-template-homepage-small .header_bg {
        background: transparent;
    }

    .page-template-homepage-small #header,
    .page-template-homepage-small .avia-fullscreen-slider .avia-slideshow {
        height: 70vh !important;
    }

    .page-template-homepage-small .avia-fullscreen-slider .avia-slideshow {
        position: relative;
        top: 0;
    }

    .page-template-homepage-small #header_main,
    .page-template-homepage-small #header_main .av-logo-container,
    .page-template-homepage-small #header_main .av-logo-container .inner-container,
    .page-template-homepage-small #header_main nav {
        height: 100%;
    }

        .page-template-homepage-small #header_main nav {
            display: inline-block;
            vertical-align: bottom;
        }

            .page-template-homepage-small #header_main nav::before {
                content: "";
                display: inline-block;
                vertical-align: bottom;
                height: 100%;
            }


            .page-template-homepage-small #header_main nav .avia-menu {
                float: none;
                display: inline-block;
                background: #f2f2f2;
            }

    .page-template-homepage-small .main_menu ul:first-child > li a {
        line-height: 54px;
        height: 54px;
    }

    .page-template-homepage-small .avia-fullscreen-slider {
        z-index: 0;
    }
