/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme.
Version: 1.0
Author: Markus Schraufstetter
Template: enfold
*/



/* ######################## Enfold ######################### */

/* main frame shaddow
NOT USED: Streched Design is used --> no shaddow possible
#main {
	position: fixed;
	box-shadow: 0px 0px 20px 12px #555555;
}*/


/* transparency of the cookie notice */
div.avia-cookie-consent.avia-cookiemessage-bottom {
	background-color: rgba(160, 0, 0, 0.8);
}


/* no uppercase in headlines in main content */
.content h1, .content h2 {
	text-transform: none !important;
}


/* hide last slash in blog meta infos in Blog posts shortcode */
.post-meta-infos > .text-sep.text-sep-cat, .post-meta-infos > .blog-author.minor-meta {
	display: none !important;
}

 /* Remove "you are here" in breadcrumbs */ 
 span.trail-before {
	 display: none!important;
}


/* hide archive categorie description (e.g. https://www.ffwgelting.de/fahrzeug/mzf/) */
.content .category-term-description {
	display: none !important;
}


/* ************************ Responsive ************************ */

/* Activate burger menu (default: 767px) */
/* See: https://kriesi.at/documentation/enfold/menu/#toggle-id-87 */
@media only screen and (max-width: 850px) {
	#top #header .av-main-nav > li.menu-item  {
		display: none!important;
	}
	#top #header .av-burger-menu-main {
		cursor: pointer;
		display: block!important;
	}
}


/* hide social icons at width less or equal 559px (default: 479px) */
@media only screen and (max-width: 1080px) {
	.responsive .avia-menu.av_menu_icon_beside {
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
	}
	.responsive #top .social_bookmarks,
	.responsive #top #main .av-logo-container .social_bookmarks{
		display: none !important;
	}
	.responsive #top .av_seperator_big_border .avia-menu.av_menu_icon_beside{
		margin-right: 0 !important;
		padding-right: 0 !important;
		border: none !important;
	}
}


/* hide search icon at width less or equal 480px */
/* NOT USED: Search icon is hidden with burger menu
@media only screen and (max-width: 480px) {
	#top #header #menu-item-search { 
		display: none !important;
	}
}
*/


/* line break for breadcrumbs at width less or equal 1200px */
@media only screen and (max-width: 1200px) {
.title_container .breadcrumb { 
	   position: relative;
	   margin-top: 0px;
	   left:-2px; 
	   top: -6px; 
   }

   .main-title {
	   min-height: auto !important;
	   line-height: 1.3em !important;
	   margin-top: 0.5em !important;
	   margin-bottom: 0.5em !important;
   }
}



/* ######################## Fahrzeuge ######################### */

/* table (on Fahrzeug-Pages) in mobile responsive view:
 * Incorrect display of the headings column (is displayed again in each line) */
 @media only screen and (max-width: 767px)
 {
	 /* show first column */
	 .responsive .avia_responsive_table .avia-data-table.fahrzeuge tr:first-child th{
		 display: block;
	 }
 
	 /* hide before elements */ 
	 .responsive .avia_responsive_table .avia-data-table.fahrzeuge td:before {
		 display: none;
	 }
 
	 /* text left align (not center) */ 
	 .responsive .avia_responsive_table .avia-data-table.fahrzeuge tr > * {
		 text-align: left;
	 }
 }
 
 
/* table formatting (on Fahrzeug-Pages) */ 
.avia-data-table.fahrzeuge {
	table-layout: auto;
 }

.avia-data-table.fahrzeuge th {
	width: auto;
	white-space: nowrap;
 }
 
 .avia-data-table.fahrzeuge td {
	width: 100%;
 }
 
.avia-data-table.fahrzeuge ul, .avia-data-table.fahrzeuge li {
	padding-top: 0;
	padding-bottom: 2px;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.1em;
}



/* ######################## Layer Slider ######################### */

/* hide shadow */
.avia-layerslider.avia-shadow {
	box-shadow: none !important;
}


/* hide border on start-page */
div#after_layer_slider_1 {
	border-top: none!important;
}



/* ######################## Timeline ######################### */

.avia-timeline-vertical .milestone_icon {
	height: 55px; 
	width: 55px; 
	line-height: 55px; 
}

.avia-timeline-vertical .av-milestone-content-wrap {
	padding: 30px 0 30px 20px;
}

.avia-timeline-vertical .av-milestone-date {
	padding: 0 40px 0 0;
}

.avia-timeline-vertical .av-milestone-date span {
	right: -50px;
}

@media only screen and (max-width: 989px){
	.av-no-preview .avia-timeline-vertical .av-milestone-date {
		padding: 15px 0 30px 50px;
	}

	.av-no-preview ul.avia-timeline-vertical li {
		padding: 0 0 0 55px;
	}

	.avia-timeline-vertical .av-milestone-icon-wrap {
		width: 55px;
		height: 55px;
	}

	.avia-timeline-vertical .av-milestone-date {
		height: 55px;
	}
}



/* ######################## Einsatzbericht ######################### */

/* ************************ List ************************ */

/* border in Einsatzliste */
.einsatzverwaltung-reportlist td, .einsatzverwaltung-reportlist th {
	border-style: solid !important;
	border-width: 1px !important;
}

/* vertical align in Einsatzliste */
.einsatzverwaltung-reportlist tr.report > td {
	vertical-align: middle !important;
}

/* center: Number, Date, Time */
.einsatzverwaltung-reportlist td.einsatz-column-seqNum,
.einsatzverwaltung-reportlist td.einsatz-column-date,
.einsatzverwaltung-reportlist td.einsatz-column-time,
.einsatzverwaltung-reportlist td.einsatz-column-annotationImages,
.einsatzverwaltung-reportlist th:nth-child(-n+3) {
	text-align: center !important;
}


/* ************************ Progress Bar ************************ */

/* margins top & bottom */
#einsatz-progress-bar {
	margin-top: 0px !important;
	margin-bottom: 35px !important;
}

/* bar height smaller */
#einsatz-progress-bar > div.avia-progress-bar > div.progress {
	height: 28px !important; /* original: 30px */
}
#einsatz-progress-bar > div.avia-progress-bar > div.progressbar-title-wrap {
	line-height: 19px !important; /* original: 21px */
}


/* ************************ Bericht ************************ */

/* text 'Einsatzbericht' smaller */
.single-einsatz main h3 {
	font-size: 17px;
}


/* remove lightbox title on 'einsatz' pages: filename */
.einsatz-template-default .mfp-title {
	display: none !important;
}


/* ************************ Widget ************************ */
/* ----> SEE: Widget ICS-Calendar */



/* ######################## ICS Calendar ######################### */

/* ************************ Table + Widget ************************ */

/* do not show hidden end time on mouse hover */
.ics-calendar .time .show_on_hover {
	display: none !important;
}

/* No mouse hover effect at the time */
.ics-calendar .time {
	cursor: auto !important;
}

/* Append the text "Uhr" after the time */
.ics-calendar .time:after {
	content: " Uhr";
}


/* ************************ Table ************************ */

/* font inside the month table larger */
.ics-calendar .ics-calendar-month-grid {
	font-size: 120% !important;
}

/* display mouse pointer as pointer when scrolling through the months */
.ics-calendar .ics-calendar-arrow-nav .prev, .ics-calendar .next {
	cursor: pointer !important;
}

/* do not show checkboxes for selection */
.ics-calendar .ics-calendar-color-key {
	display: none !important;
}


/* ************************ Widget ************************ */

/* events date is declared as H4 heading */
/* 'einsatzbericht' date is declared as H4 heading */
.widget ul.einsatzberichte li.einsatzbericht h4,
.widget .ics-calendar.layout-list h4 {
	font-size: 13px !important;
	line-height: 1.65em !important;
	color: #555555 !important;
	margin: auto !important;
}

/* events time smaller */
/* 'einsatzbericht' time smaller */
.widget ul.einsatzberichte li.einsatzbericht div.einsatzzeitart,
.widget .ics-calendar.layout-list dt.time {
	font-size: 85% !important;
	color: #666666 !important;
	font-weight: bolder !important;
	padding: 0 !important;
}

/* events text color */
/* 'einsatzbericht' text color */
.widget ul.einsatzberichte li.einsatzbericht div.einsatzmeldung,
.widget .ics-calendar.layout-list dd.event {
	color: #666666 !important;
	line-height: 1.4em !important;
}

/* border between events */
/* border between 'einsatzbericht' */
.widget ul.einsatzberichte > li.einsatzbericht:not(:last-child),
.widget .ics-calendar.layout-list > article > div.ics-calendar-date-wrapper > dl.events {
	border-bottom: 1px solid rgb(225, 225, 225);
	padding-bottom: 3px !important;
	margin-bottom: 3px !important;
}

/* no frame at the end */
.widget .ics-calendar.layout-list > article:last-child > div.ics-calendar-date-wrapper:last-of-type > dl.events {
	border-bottom: none;
	padding-bottom: 0px !important;
	margin-bottom: 0px !important;
}



/* ######################## Pages & Blog ######################### */

/* reduce top margin (default: 50px) */
#top .entry-content-wrapper .column-top-margin {
	margin-top: 20px !important;
}

/* reduce top margin (default: 40px) */
#top .entry-content-wrapper .avia-content-slider .slide-entry-wrap {
	margin-bottom: 20px !important;
}

/* remove the solid line on default special heading */
#top .av-special-heading .special-heading-inner-border {
    display: none;
}

/* justification and hyphenation of text for pages/portfolios and blogs */
.entry-content-wrapper p {
	hyphens: auto !important;
	text-align: justify !important;
}

/* hyphenation of headers for pages/portfolios and blogs */
.entry-content-wrapper :is(h1, h2, h3, h4, h5, h6) {
	hyphens: auto !important;
}


/* ************************ Blog only ************************ */

/* remove lightbox title on 'blog' pages: filename */
.post-template-default .mfp-title {
	display: none !important;
}



/* ############ TEST ############# */
/*
article.av-milestone-content-wrap {
    padding: 0 0 0 20px  !important;
}
*/



