/*
Theme Name: VIA 2019 custom (Enfold Child)
Version: 1.0
Author: Ayne
Author URL: http://www.ayne.net
Parent Author: Kriesi
Parent Author URL: http://www.kriesi.at
Template: enfold
*/

#header_main .container, .main_menu ul:first-child > li a {
    height: 82px;
    line-height: 42px;
}

div .logo {
    top: 0;
    width: 125px;
    height: 102px;
    z-index: 1000;
}

.logo img { padding: 10px 0;position: relative;z-index: 2;}

#header {
    background-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(255, 255, 255, 0.9);
}

.header_color .avia_mega_div, 
.header_color .main_menu .menu ul,
.header_color .main_menu ul ul, 
.avia_mega_div .sub-menu,
.header_color .main_menu ul .avia_mega_div ul,
.header_color .main_menu .menu .avia_mega_div ul li a{
background-color:transparent!important;}

#top #header .avia_mega_div > .sub-menu {
    border:none;
	padding: 0;}


#header .avia_mega_div {
    left:0;
    position: absolute;
    top: 30px;
}


/* transparency in background grid caption, porfolio caption and masonry caption */
#top #wrap_all .grid-content, .main_color .container .av-inner-masonry-content, #top .av-masonry-entry.isotope-item figcaption {
	/*margin-top: -54px;*/
    background-color: rgba(255, 255, 255, 0.8)!important;
    background: rgba(255, 255, 255, 0.8)!important;}

.grid-entry .main_color .avia-arrow, #top .av-masonry-entry.isotope-item .avia-arrow { display:none;}

.main_color .grid-entry-title {background:transparent;}
	
.av-masonry-entry .av-masonry-entry-title{text-transform:uppercase;}

/* stop transform on portfolio items*/
.avia_transform .avia-gallery-thumb img.avia_start_animation {
-webkit-animation: none;
-moz-animation: none;
animation: none;
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
transform: scale(1);
}

/* remove top border on containers*/
.container_wrap {
    border-top-style: none;
    border-top-width: 0;
}

/*remove rounded corners on images*/
.avia-image-container-inner, .avia_image, .av-image-caption-overlay {
    border-radius: 0;
}

/* let section be smaller than default*/
#awards-button-container{
    min-height: 50px;
}
/* awards more button*/
.awards-more-toggle, .button-container {margin:0;}


/* portfolio captions*/
.avia_desktop.avia_transform3d .av-caption-on-hover-hide.av-caption-style- .av-masonry-entry.av-masonry-item-with-image .av-inner-masonry-content, .avia_desktop.avia_transform3d .av-caption-on-hover.av-caption-style- .av-masonry-entry.av-masonry-item-with-image:hover .av-inner-masonry-content {
     -webkit-transform: none;
	transform: none;
}
.avia_desktop.avia_transform3d .av-caption-on-hover.av-caption-style- .av-masonry-entry.av-masonry-item-with-image .av-inner-masonry-content, .avia_desktop.avia_transform3d .av-caption-on-hover-hide.av-caption-style- .av-masonry-entry.av-masonry-item-with-image:hover .av-inner-masonry-content {
    -webkit-transform: none;
    transform: none;
}


/* timer for full-width slideshow captions to fade in - top or bottom placement */
.avia_transform .av_slideshow_full.avia-fade-slider .active-slide .avia-caption-content,
.avia_transform .av_fullscreen.avia-fade-slider .active-slide .avia-caption-content
{
visibility: visible;
-webkit-animation: caption-bottom 2.5s 1 ease-out;
animation:         caption-bottom 2.5s 1 ease-out;
transition-delay:2s;
animation-delay:2s;
}

.avia_transform .av_slideshow_full.avia-fade-slider .active-slide .avia-caption-title,
.avia_transform .av_fullscreen.avia-fade-slider .active-slide .avia-caption-title
{
visibility: visible;
-webkit-animation: caption-top    2.5s 1 ease-out;
animation:         caption-top    2.5s 1 ease-out;
transition-delay:2s;
animation-delay:2s;
}


