/* ACCESSIBILITY: TASTATURFOKUS HINZUFUEGEN */

a,
body a,
#header nav ul li a,
#header nav > ul > li:first-child > a,
.ascend #header-outer .sf-menu ul li a,
.breadcrumb a,
.alternate_color .breadcrumb a,
input[type="radio"],
input[type="checkbox"],
select,
.avia-button.avia-color-black,
.copyright a,
#footer a,
#scroll-top-link,
#main div.addthis_toolbox a,
body#top #menu-item-search.menu-item-search-dropdown>a,
#top #wrap_all .social_bookmarks li a,
#schnellstart .av_font_icon.av-icon-style-border .av-icon-char,
#top .alternate_color a,
#top .main_color a,
#top .av-main-nav ul a,
body#top #header .avia_mega_div > .sub-menu > li > ul > li  a,
#top .gallery a,
#top #header .avia_mega_div .sub-menu .mega_menu_title a,
#top #searchsubmit {
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
}

a:focus,
.logo > a:focus,
#header nav ul li a:focus,
#header nav > ul > li:first-child > a:focus,
.ascend #header-outer .sf-menu ul li a:focus,
.breadcrumb a:focus,
.alternate_color .breadcrumb a:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus,
.main_color a:focus,
#top .main_color a:focus,
.copyright a:focus,
#scroll-top-link:focus,
#main div.addthis_toolbox a:focus,
#schnellstart .av_font_icon.av-icon-style-border .av-icon-char:focus,
#top .main_color a.av-masonry-entry:focus,
.avia_mega_div a:focus,
#top #header .main_menu .avia_mega_div ul ul.sub-menu li a:focus,
body#top #menu-item-search.menu-item-search-dropdown>a:focus,
.av-share-link a:focus,
#top .alternate_color a:focus,
#footer .partner:focus,
#top .gallery a:focus,
#top #header .avia_mega_div .sub-menu .mega_menu_title a:focus,
#av-burger-menu-ul li a:focus {
    border-width: 2px;
    border-style: solid;
    border-color: #c65218 !important;
    outline: none;
}

#top #wrap_all .social_bookmarks li a:focus,
.header_color #header_meta .sub_menu ul li a:focus,
.avia-button.avia-color-black:focus,
#footer a:focus {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
    outline: none;
}

#start-text .avia-button.avia-size-large:focus,
#top #main .main_color .avia-color-theme-color:focus,
#top #searchsubmit:focus  {
    border-width: 2px;
    border-style: solid;
    border-color: #000000 !important;
    outline: none;
}

#main .main_color .listmarker a {
    border: none;
}

body a:hover,
body a:focus,
body a:visited {
    text-decoration: none;
}
#main .main_color .listmarker a:focus {
    outline: 2px solid #c65218;
}
button.avia-bullet:focus,
.owl-carousel .owl-carousel-item-imgtitle:focus {
    outline: none;
}
.breadcrumb a,
.alternate_color .breadcrumb a {
    margin-top: -2px;
}

.logo > a,
.avia_textblock p a,
.avia_textblock a,
#start-text .avia-button.avia-size-large,
.av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry,
.av-large-gap.av-flex-size .av-masonry-entry:focus {
    border: 2px solid transparent !important;
}
.owl-carousel .item a {
	border: none!important;
}
.avia_textblock a:focus,
.av-large-gap.av-flex-size .av-masonry-entry:focus .av-inner-masonry {
    border: 2px solid #c65218 !important;
}
.logo > a:focus {
    border: 2px solid #c65218 !important;
}

#footer #text-3 {
    overflow: visible;
}

#footer #text-3 a {
    /*     font-size: 130px; */
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
}

#footer #text-3 a:focus {
    border-width: 2px;
    border-style: solid;
    border-color: #ffffff;
}

.copyright a {
    /*     font-size: 55px; */
}


/* ACCESSIBILITY: SKIPLINKS */

.skiplink {
    position: relative;
    z-index: 10000 !important;
    background-color: white;
}

.skiplink a {
    display: block;
    position: absolute;
    top: -300px;
    width: 1px;
    min-width: 300px;
    overflow: hidden;
    font-size: 16px;
    z-index: 1000 !important;
    background-color: white;
    padding: 10px 20px;
    margin-bottom: 20px;
    line-height: inherit;
    color: #000;
}

#sidebar .skiplink a,
.skiplink.sidebar-single a,
.skiplink.sidebar-page a,
.skiplink.socialfeed-skiplink a {
    top: -3000px;
}

.skiplink a:focus {
    top: 0 !important;
    left: 0 !important;
    height: auto !important;
    width: auto !important;
}

@media only screen and (max-width: 1024px) {
	.skiplink a:focus {
	    top: -300px !important;
	    width: 1px !important;
	}

	#sidebar .skiplink a:focus,
	.skiplink.sidebar-single a:focus,
	.skiplink.sidebar-page a:focus,
	.skiplink.socialfeed-skiplink a:focus {
	    top: -3000px  !important;
	}
}


/* ACCESSIBILITY: SUCHFELD AUCH BEI TASTATURNAVIGATION MIT SPACE EINBLENDEN, AUCH RESPONSIVE */

#search-outer.showsearch {
    display: block !important;
}


/* ACCESSIBILITY: KLASSE SCREEN-READER-TEXT EINFUEGEN */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* ACCESSIBILITY: MOBILES MENUE
 *
 * Added 2017/02/15
 */

/* make position of screen-reader-text match with advanced_menu_toggle
 * (for correct display of focus in screenreaders on mobile)
 */
#advanced_menu_toggle .screen-reader-text,
#advanced_menu_hide .screen-reader-text {
	position: absolute;
	left: 0px;
	width: 50px;
	height: 50px;
	z-index: 100000;
}

#mobile-advanced .avia_mega_div button.avia-bullet {
	display: block !important;
	z-index: 1000;
}

.avia_mega_div button.avia-bullet {
	display:none!important;
}

/* hide search icon inserted by :before from screenreaders */
#menu-item-search.mobile [data-av_iconfont="entypo-fontello"]:before {
	display: none;
}

/* add search icon in a span for visually non-impaired users */
#menu-item-search .icon {
	font-family: 'entypo-fontello';
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
    speak: none;
}

/* hide menu icon inserted by :before from screenreaders */
#advanced_menu_toggle.mobile:before {
	display: none;
}

/* add menu icon in a span for visually non-impaired users */
#advanced_menu_toggle .icon {
	font-family: 'entypo-fontello';
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: normal;
    speak: none;
}

@media only screen and (max-width: 989px) {
	
	/* make position of screen-reader-text match with link to search page
	 * (for correct display of focus in screenreaders on mobile)
     */
	#searchresults.screen-reader-text {
		position: absolute;
		right: 30px;
		width: 30px;
		height: 50px;
		z-index: 100000;
	}
	    
    button.avia-bullet {
	    background: url('../images/arrow-down.svg') no-repeat center center;
	    background-size: 30px 30px;
	    margin-left: 7px;
	    width: 50px;
	    height: 30px;	    
	    border: none;
	}
	
	.menu-item.visible_sublist > a > button.avia-bullet,
	.menu-item.visible_sublist .menu-item.visible_sublist > span > a > button.avia-bullet {
	    background-image: url('../images/arrow-up.svg');
	}
	
	.sub-menu.visible_sublist .menu-item-has-children .sub-menu.visible_sublist li.menu-item.menu-item-type-post_type.menu-item-object-page a button.avia-bullet {
	    display: none !important;
	}
	
	.sub-menu li a button.avia-bullet {
		display: none !important;
	}
	
	.sub-menu li.menu-item-has-children a button.avia-bullet {
		display: block !important;
	}
}