/* table fix */
table.tight,
table.tight tbody,
table.tight tr,
table.tight td {
    vertical-align: top;
}

/*
#fullscreen_slider_1 .avia-slideshow:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 380px;
    height: 220px;
    margin-left: -190px;
    margin-top: -100px;
    background-image: url("/wp-content/uploads/2018/10/egenska-logo-web.png");
    background-size: cover;
    z-index: 100;                   
}
*/


#header div .logo {
    display: block;
    height: 100%;
    vertical-align: middle;
    max-width: 230px;
    position: relative;
}

.logo img, .logo img.alternate {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: inherit;
    left: inherit;
}

.av-special-heading {
    margin-top: 1em;
}

.modern-quote .av-special-heading-tag {
    font-weight: 800;
}


/* menu */

.av-main-nav > li > a {
    font-family: 'Open Sans Condensed', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 0 11px;
}

#top .av-main-nav ul a,
#top .av-subnav-menu > li > a {
    font-family: 'Open Sans Condensed', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.header_color .sub_menu > ul > li > a, .header_color .sub_menu > div > ul > li > a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
    color: #fff;
}

/* submenu */

#top .av-submenu-container .av-subnav-menu .current-menu-item .avia-menu-fx {
    display: block;    
}

/* home */

#home_divize .av-image-caption-overlay {
    font-size: 24px;
    font-weight: 800;
}

.av-overlay-hover-deactivate:hover .av-caption-image-overlay-bg {
    opacity: 0.2 !important;
}

#home_divize .av-overlay-hover-deactivate:hover .av-image-caption-overlay {
    font-size: 28px;
}

/* slider logo */
div.homeslider_logo_container {
    width: 100%;
    position: absolute;
    top: 0px;
    opacity: 0.8;
    z-index: 10;
    text-align: center;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    height: 100%;
}
div.homeslider_logo_container .homeslider_logo {
	display: none;
}

div.homeslider_logo_container .homeslider_logo_mobile {
	align-self: center;
}

/* paticka */

#footer .av_one_fourth:nth-child(1) {
    width: 16%;
    margin-left: 0px;
}

#footer .av_one_fourth:nth-child(2) {
    margin-left: 2%;
    width: 32%;
}

#footer .av_one_fourth {
    margin-left: 2%;
    width: 23%;
}

ul[id^="menu-footer-menu-stranky"] {
    display: block;
    height: 15px;
    //margin-top: 12px ! important;
}

ul[id^="menu-footer-menu-stranky"] li:nth-child(2n) {
    width: 57%;
}

ul[id^="menu-footer-menu-stranky"] li {
    display: block;
    float: left;
    clear: none ! important;
    width: 43%;
    height: 31px;
}

#footer h3.widgettitle {
    border-bottom: 1px dotted #555555;
    padding-bottom: 8px;
    text-transform: none;
}

#footer ul[id^="menu-stranky-paticka"] li a {
    padding: 0px;
}

@media only screen and (min-width: 768px) {
	div.homeslider_logo_container .homeslider_logo{
		display: block;
	}
	div.homeslider_logo_container .homeslider_logo_mobile{
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	div.homeslider_logo_container  {
		flex-direction: column;
	}
}