/* Flexbox */
.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
.site-content {
	flex: 1;
}

/* General */
#navbar-logo {
	width: 150px !important;
	height: auto;
}

#slogan {
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	margin-bottom: 0;
	padding-top: 1px;
	padding-bottom: 1px;
}

.nopadding {
    padding: 0 !important;
}

.clear {
    clear: both;
}

a:link,
a:active,
a:visited {
    color: #C9302C;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

a:focus {
	color: #C9302C;
	outline: 0;
	border: none;
	-moz-outline-style: none;
}

a:hover {
    color: #d5182a;
}

h1 {
	font-size: 2.0rem;
}

h1 > .headline {
	
}

.red {
	color: #C9302C;
}

.red-bg {
	background: #C9302C;
}


/* Navbar */
.navbar-custom {
	border-top: 1px solid #eeeeee;
	background: #F1F1F1 !important;
}

/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    font-weight: bold;

}

/* Navbar active link & link on hover */
.navbar-custom .nav-item.active .nav-link, .navbar-custom .nav-item:hover .nav-link {
	color: #d5182a !important;
}

.nav-link.active {
	color: #ef1d33 !important;
}

#anfahrt-text {
	display: block;
}

#google-map {
	display: none;
}

.list-hagen {
	margin-top: 25px;
	padding-left: 20px;
}

.list-hagen li:before {
	content: "\f00c"; /* FontAwesome Unicode */
	font-family: FontAwesome;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	color: #ef1d33;
}

/* Breakpoint fix */
@media (min-width: 768px) {
	.np {
		padding-right: 15px;
	}
}

/* Sections */
section {
	padding-top: 60px;
	padding-bottom: 60px;
}

.grey-section {
	background: #F6F8F9 !important;
}

#datenschutz, #impressum. #_404 {
	padding-bottom: 10px !important;
}

#service, #ueber-uns, #anfahrt, #kontakt {
	padding-top: 60px !important;
	padding-bottom: 60px !important;
}

/* Footer */
footer {
	margin-top: 20px;
	padding-top: 20px;
	background: #F1F1F1;
}

.footer-copyright {
	font-size: 12px;
	color: #43464f;
}

#footer-logo {
	width: 164px;
	height: 34px;
	margin-top: 10px;
}

/* Buttons */
.btn-custom {
    padding: 10px 25px;
    color: #ef1d33;
    background-color: transparent;
    border: 1px solid #ef1d33;
    font-size: 16px;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-custom:hover {
    border: 1px solid #ef1d33;
    background-color: #ef1d33;
    color: #fff;
}

/* Forms */
.form-control:focus{
	border-color: #ef1d33;
	box-shadow: none;
	-webkit-box-shadow: none;
} 

textarea {
    resize: none;
}

input, textarea {
    border-radius: 2px !important;
}

.fullname {
	display: none;
}

/* Extend bootstrap spacing */
.pt-6,
.py-6 {
 	padding-top: 5rem !important;
}

.pr-6,
.px-6 {
 	padding-right: 5rem !important;
}

.pb-6,
.py-6 {
 	padding-bottom: 5rem !important;
}

.pl-6,
.px-6 {
 	padding-left: 5rem !important;
}

/* Hide E-Mail from spam bots */
mail::after{content:attr(dom)}
mail::before{content:attr(me) "\0040"}


.col-theme {
	border: 1px solid #EAE6EC;
}

.col-theme:hover {
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #C0C0C0;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #C0C0C0;
}

.theme-container {
    cursor: pointer
}

.theme-image {
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
}

.theme-middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    background: #2F2F2F;
    padding: 15px 20px 10px 20px;
    color: #fff;
    border-radius: 4px;
}

.theme-container:hover .theme-image {
    opacity: 0.2;
}

.theme-container:hover .theme-middle {
    opacity: 1;
}

.theme-text {
	transition: .5s ease;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

.theme-container {
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.theme-container img {
  transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.theme-container:hover img {
  transform: scale(1.1);
}