/*
Theme Name: astra child
Theme URI: http://www.specht-gmbh.de
Template: astra
Version: 1.6.8.
*/


h1, .entry-content h1 {
  text-transform: uppercase;
}

h1,h2,h3,h4,h5 {font-family: Questrial, sans-serif;}

h1.headline {
	text-transform: none;
	font-size: 58px;
	color: #339933;
}

.blue {color: #1e4c90;}

.small {
	font-size:11px;
	font-style: italic;
}


div.sidebar-main {
	font-size: 14px;
	font-style: italic;
	text-align: align-center;
}



a[target="_blank"]:after {
  content: url(https://www.specht-gmbh.de/wordpress/wp-content/uploads/2019/02/icon.png);
  margin: 0 0 0 3px;
}

/* content */
.ast-advanced-headers-wrap, .ast-advanced-headers-title {
  display: none;
}

figure,
figcaption {
	margin: 0;
	padding: 0;
}

figure.einzel {
	position: relative;
	display: inline-block;
	width: 19.5%;
}

figure img {
	width: 100%;
	display: block;
	transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(0%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
    filter: grayscale(0%); /* FF 35+ */
}

figure a {color: #fff;}

figure a:hover {color: #33cc33;}


figure img:hover {
  -webkit-filter: grayscale(100%); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: grayscale(100%); /* FF 35+ */
}

figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	line-height: 2em;
	color: #ffffff;
	font-size: 18px;
	font-weight: bold;
	background: rgba(0, 61, 142, 0.7);
}

@media only screen and (max-width: 800px) {
	body {
		width: 100%;
		margin: 2% 0;
		padding: 1%;
	}
	figure.einzel {
		width: 48%;
	}
}

@media only screen and (max-width: 600px) {
	figure.einzel {
		width: 100%;
	}
}

.box01, .box02, .box03, .box04  {
     float: left;
     width: 23%;
     margin-right: 2%;	
     box-sizing: border-box;
	 padding-bottom: 30px;	
	 font-size: 13px;
	 text-align: center;
}

.box04 { margin-right: 0;}

.setclear { clear: both; }

.box1, .box2  {
     float: left;
     width: 36%;
     margin-right: 2%;	
     padding: 25px;	
	 margin: 15px;
	 border: 1px solid #e2e2e2;
     box-sizing: border-box;
}

.box2 {
     margin-right: 0;
}

.ima {border: 10px solid #e2e2e2;}

.gallery-icon {
  padding: 5px;
  margin: 5px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
}

/* footer */
.footer-adv .widget-title, .footer-adv .widget-title a.rsswidget, .ast-no-widget-row .widget-title {
    font-family: Questrial, sans-serif;
}

/* questrial-regular - latin */
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/questrial-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Questrial'), local('Questrial-Regular'),
       url('fonts/questrial-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/questrial-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/questrial-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/questrial-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/questrial-v8-latin-regular.svg#Questrial') format('svg'); /* Legacy iOS */
}

