/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

#CDSSCROLLINGRAVE.narrow {
	max-width: 100%;
}

#top .flex_column.border-left {
	border-right-width: 0;
	border-top-width: 0;
	border-bottom-width: 0;
}

#top .flex_column.border-right {
	border-left-width: 0;
	border-top-width: 0;
	border-bottom-width: 0;
}

#header {
	padding-top: 1rem;
}

#top #header .av-main-nav > li > a {
	margin-right: 5px;
}
#top #header .av-main-nav > li > a:hover {
	opacity: 0.75;
}
#top #header .av-main-nav > .explore > a {
	background-color: #eb5624;
}
#top #header .av-main-nav > .visit > a {
	background-color: #18b363;
}



#top #header .av-main-nav > .learn > a {
	background-color: #ec7b0e;
}
#top #header .av-main-nav > .support > a {
	background-color: #53b2d2;
}
#top #header .av-main-nav > .cosign > a,
#top #header .av-main-nav > .sos > a
{
	padding: 0;
}
#top #header .av-main-nav > #menu-item-search > a {
	margin-right: 0;
	background-color: #fff;
	color: var(--enfold-header-color-primary);
}

#top .av-submenu-container {
	border-bottom-width: 0;
}

#top .av-submenu-container .container {
  max-width: 960px;
}

#top .av-subnav-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 5px;
	border-top: 10px solid;
	padding-top: 15px;
}
#top .av-subnav-menu > li {
	padding: 0;
}

#top .av-subnav-menu > li a {
	padding-top: 15px;
	padding-bottom: 15px;
}

#top .main_color .av-menu-mobile-active .av-subnav-menu > li > a::before {
	display: none;
}

#top .av-submenu-container .mobile_menu_toggle {
	border-style: none;
}

#after_submenu_1 {
	border-top-width: 0;
}
#after_submenu_1 .content {
	padding-top: 20px;
}

#top div .avia-gallery.img-cols img
{
	border-width: 0;
}
#top .avia-gallery.img-cols .avia-gallery-thumb a:hover {
	opacity: 1;
}


.avia-section + .av_default_container_wrap {
	border-top-width: 0;
}

td a {
	overflow-wrap: break-word;
}

.scrolling-table {
	overflow-x: scroll;
}

#top .main_color h1 a:hover,
#top .main_color h2 a:hover,
#top .main_color h3 a:hover,
#top .main_color h4 a:hover,
#top .main_color h5 a:hover,
#top .main_color h6 a:hover {
	color: var(--enfold-main-color-secondary);
}

#top .av-special-heading.av-linked-heading a:hover {
	opacity: 1;
}

#top .main_color .av-special-heading.av-linked-heading a:hover {
	color: var(--enfold-main-color-secondary);
}


.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
	border-radius: 0;
}
.avia-content-grid-active .slide-entry .slide-image {
	margin-bottom: 0;
}
.avia-content-grid-active .slide-entry .slide-content {
	padding: 1rem;
}


.collection-posts .slide-entry {
	background: #f5bc85;
}
#top .collection-posts h1,
#top .collection-posts h2,
#top .collection-posts h3,
#top .collection-posts h4,
#top .collection-posts h5,
#top .collection-posts h6 {
	color: #4c6cb4;
}

.single-collection_item .post-entry .single-big {
	display: none;
}

.single-collection_item .template-blog .post_delimiter {
	margin: 0;
	padding: 0;
}

/* -events- */

:root {
	--event-color: #8c447e;
	--event-highlight: #E7D8E4;
}

.em {
	--accent-color: var(--event-color);
	--accent-color-hover: var(--event-highlight);
	--default-color: var(--enfold-main-color-color);
	--meta-color: var(--enfold-main-color-primary);
}

.post-entry.type-event .single-big,
.post-entry.type-event .post-meta-infos 
{
	display: none !important;
}

.event-posts .slide-entry {
	background: var(--event-highlight);
}
#top .event-posts h1,
#top .event-posts h2,
#top .event-posts h3,
#top .event-posts h4,
#top .event-posts h5,
#top .event-posts h6 {
	color: var(--event-color);
}

.em.em-item .em-item-image img, .em.em-list .em-item .em-item-image img {
	padding-right: 35px;
}
.em.em-item .em-item-meta .em-item-meta-line a:hover, .em.em-item .em-item-meta .em-item-meta-line a:focus, .em.em-list .em-item .em-item-meta .em-item-meta-line a:hover, .em.em-list .em-item .em-item-meta .em-item-meta-line a:focus, .em.em-list-widget .em-item .em-item-meta .em-item-meta-line a:hover, .em.em-list-widget .em-item .em-item-meta .em-item-meta-line a:focus {
	color: var(--enfold-main-color-secondary) !important;
}
.em.pixelbones .button.button-primary.input:focus, .em.pixelbones .input .button.button-primary:hover, .em.pixelbones .input button.button-primary:hover, .em.pixelbones .input input[type="button"].button-primary:hover, .em.pixelbones .input input[type="reset"].button-primary:hover, .em.pixelbones .input input[type="submit"].button-primary:hover, .em.pixelbones button.button-primary.input:focus, .em.pixelbones input[type="button"].button-primary.input:focus, .em.pixelbones input[type="reset"].button-primary.input:focus, .em.pixelbones input[type="submit"].button-primary.input:focus, .em.pixelbones.input .button.button-primary:hover, .em.pixelbones.input button.button-primary:hover, .em.pixelbones.input input[type="button"].button-primary:hover, .em.pixelbones.input input[type="reset"].button-primary:hover, .em.pixelbones.input input[type="submit"].button-primary:hover {
	color: var(--event-color) !important;
}

#top #header .av-main-nav > .events > a {
	background-color: var(--event-color);
}

#top #menu-events-menu {
	border-color: var(--event-color);
}
#top #menu-events-menu li {
	background: var(--event-highlight);
}
#menu-events-menu a {
	background: inherit;
	color: var(--event-color);
	font-weight: bold;
}

#menu-events-menu a:hover,
.responsive #top .main_color .av-open-submenu#menu-events-menu > li > a:hover,
#menu-events-menu .current_page_item a,
#menu-events-menu .current_menu_item a
{
	background-color: var(--event-color);
	color: #fff;
}

/* -restore / save old signs (sos) section- */

:root {
	--sos-color: #4c6cb4;
	--sos-highlight: #dbe1f0;
}

.avia-content-grid-active.sos-news .slide-entry {
	background: var(--sos-highlight);
}

#top #menu-restore-menu {
	border-color: var(--sos-color);
}
#top #menu-restore-menu li {
	background: var(--sos-highlight);
}
#menu-restore-menu a {
	background: inherit;
	color: var(--sos-color);
	font-weight: bold;
}

#menu-restore-menu a:hover,
.responsive #top .main_color .av-open-submenu#menu-restore-menu > li > a:hover,
#menu-restore-menu .current_page_item a,
#menu-restore-menu .current_menu_item a
{
	background-color: var(--sos-color);
	color: #fff;
}

.sos-resource-table th {
	color: #fff;
	background: var(--sos-color);
}

.sos-posts .slide-entry {
	background: var(--sos-highlight);
}
#top .sos-posts h1,
#top .sos-posts h2,
#top .sos-posts h3,
#top .sos-posts h4,
#top .sos-posts h5,
#top .sos-posts h6 {
	color: var(--sos-color);
}

/* -media queries- */

@media (max-width: 767px) {
	#top .flex_column.border-left,
	#top .flex_column.border-right 
	{
		border-width: 0 !important;
	}
}

@media (min-width: 768px) {
	.side .avia-image-container.avia-align-left {
		margin-right: 0;
	}
	#top #menu-events-menu li {
		width: calc(100% / 6 - 5px);
	}
	#top #menu-restore-menu li {
		width: calc(100% / 5 - 5px);
	}
}

@media (max-width: 989px) {
	#top .av-subnav-menu {
		padding: 0;
	}
	#top #menu-events-menu {
		background: var(--event-color);	
	}
	#top #menu-restore-menu {
		background: var(--sos-color);	
	}
}

@media (min-width: 990px) {
	#top #header .av-main-nav > #menu-item-search > a {
		color: #fff;
		background-color: var(--enfold-header-color-primary);
	}
	
	.scrolling-table {
		overflow: hidden;
	}
	.scrolling-table table {
		table-layout: fixed;
	}
	.scrolling-table th, .scrolling-table td {
		padding: 5px;
	}
}


/*responsive logo stuff*/
@media 
	(max-width: 500px),
	(min-width: 990px) and (max-width: 1068px) {
	.logo.avia-standard-logo {
		width: calc(100% - 630px);
	}
	.responsive .logo a {
		display: flex;
		align-items: center;
		background-color: #2d1614;
	}
	.responsive .logo img {
		width: 100%;
	}
}

@media (max-width: 500px) {
	.responsive #top .logo.avia-standard-logo {
		width: calc(100% - 95px);
	}
	.responsive .logo a {
		background-color: transparent;
	}
	.responsive .logo img {
		max-height: 100%;
	}
}