/*
Theme Name: IT-Service Schmidt V2
Author: IT-Service Schmidt
Version: 2.0
Text Domain: it-service_v2
*/

@import 'assets/css/bootstrap/bootstrap.min.css'; /* Bootstrap 3.4.1 */
@import 'assets/css/fontawesome/all.css'; /* Fontawesome 6.1.1 */
@import 'assets/css/theme/fonts.css';

@import 'assets/css/theme/glyph.css';

@import 'assets/css/theme/navigation.css';
@import 'assets/css/theme/footer.css';
@import 'assets/css/theme/carusel.css';
@import 'assets/css/theme/referenz.css';

/* BODY */
html,
body {
	font-family: 'Oswald', sans-serif;
	margin: 0;
	padding: 0;
	background-color: #fff;
	font-size: 16px;
}

@media (max-width: 1200px) {
    .container {
		width: 100%;
	}
}

:root {
	--dunkelblau: 0,0,0;
	--hellblau: 149,149,149;
	--dunkelgrau: 68, 68, 68;
	--hellgrau: 129, 130, 134;
}

.pinable {
	padding-top: 15px;
}

.pinable > div {
	display: table-cell;
	vertical-align: middle;
}

.pinable > .pin {
	padding: 0 8px;
    background-color: #fff;
    color: #000;
	width: 30px;
    text-align: center;
}

.pinable > .text {
	padding-left: 8px;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 0px;
}

a:focus {
	outline: none;
	background-color: transparent !important;
	color: rgb(var(--hellblau)) !important;
}

/* HEADPIC */

#headpic {
	background-color: rgb(var(--dunkelblau));
	width: 100%;
	height: 516px;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* HEADLINES */

#headlines {
	padding-top: 15px;
	height: auto;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

#headlines > a {
	color: #000;
	text-decoration: none;
	transition: all ease 0.5s;
	display: block;
	background-color: #ededed;
}

#headlines > a:hover,
#headlines > a:focus {
	color: rgb(var(--dunkelblau));
}

.headline {
	background-color: #ededed;
	border-radius: 5px;
	padding: 30px;
	background-color: #fff;
    margin: 15px;
	margin-bottom: 0;
}

.headline:first-child {
	margin-left: 0;
}
.headline:last-child {
	margin-right: 0;
}

.headline > i {
	font-size: 80px;
}

.headline > img {
	max-height: 80px;
}

.headline > h5 {
	padding-top: 10px;
	font-size: 17px;
}

.headline > p {
	transition: all ease 0.5s;
    opacity: 0;
    height: 0;
    overflow: hidden;
	position: absolute;
	left: 0;
	width: 100%;
}

.headline > p {
	top: 30px;
	padding: 10px;
}

.headline:hover > p {
	opacity: 1;
    height: auto;
	display: block;
	overflow: inherit;
	transition: all ease 2s;
	color: #000;
}

.headline > i,
.headline > h5 {
	opacity: 1;
	transition: all ease 1s;
}
.headline:hover > i,
.headline:hover > h5 {
	opacity: 0.1;
	color: #000;
}

@media (max-width: 768px) {
	#headlines {
		display: block;
	}
	
	.headline {
		margin: 0;
		margin-top: 15px;
		height: inherit;
	}
	
	.headline:first-child {
		margin-top: 0;
	}
	
	.headline > h5,
	.headline > p {
		opacity: 1;
		height: auto;
		position: relative;
		overflow: inherit;
	}
	
	.headline > p {
		top: 0;
		padding: 0;
		margin: 0;
	}
	
	.headline:last-child {
		margin-bottom: 15px;
	}
}


/* CONTENT */

#content {
	padding-top: 30px;
	padding-bottom: 30px;
	transition: all ease 2s;
}

#content > div {
	padding: 15px;
	background-color: #ededed;
	min-height: 150px;
	border-radius: 5px;
}

.aligncenter {
	margin-left: auto;
    margin-right: auto;
}

.alignright {
	float: right;
	margin-left: 15px;
}

.alignleft {
	float: left;
	margin-right: 15px;
}



.aligncenter > a > img,
.aligncenter > img,
.alignright > a > img,
.alignright > img {
	width: 100%;
}

.wp-caption-text {
	background-color: rgba(var(--hellgrau),0.7);
	color: #fff;
	padding: 5px;
	font-style: italic;
}

.info-btn {
	font-size: 20px;
	font-weight: bold;
	float: left;
	text-align: center;
	width: 25%;
	padding: 25px;
	transition: all ease 0.2s;
}

.info-btn > i {
	font-size: 3em;
    padding-bottom: 10px;
	display: block;
    text-align: center;
}

.info-btn:hover {
	background-color: #337ab7;
	color: #fff;
	text-decoration: none;
}

.max-btn {
	font-size: 20px;
    text-align: center;
    transition: all ease 0.2s;
	padding: 25px;
}

.max-btn::before {
	font-size: 3em;
    padding-bottom: 10px;
    display: block;
    text-align: center;
	color: #000;
}

.max-btn:hover {
	color: #fff;
}

.max-btn:hover::before {
    color: #fff;
}

.max-btn > .mb-text {
	font-weight: bold;
    font-family: 'Oswald';
}

.wp-caption {
	max-width: 100%;
}

#carousel-partner .item > div > a {
	background-color: #ededed;
	border-radius: 5px;
}

@media (max-width: 768px) {
	#content {
		padding-top: 0;
		padding-bottom: 0;
	}

	.headline,
	#content > div {
		border-radius: 0;
		box-shadow: none;
	}
	
	.alignright {
		width: 100% !important;
	}
	
	.info-btn {
		width: 100%;
	}
}