/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
html {
  overflow-y: scroll;
}

body {
  color: #5a5a5a;
  font-family: "Open Sans",arial,sans-serif;
  font-size: 16px;
}

h1, h2, h3 {
	 font-family: "Segoe UI Light", "Open Sans",arial,sans-serif;
	 color: #800000;
}

.navbar {
	font-size: 14px;
	background-color: #CCCCCC !important;
}

.navbar-expand-md .navbar-nav .nav-link {
	padding-right: 1rem;
	padding-left: 1rem;
	color: #212529 !important;
}

.navbar-nav .nav-link:hover,  .navbar-nav .nav-link.active{
    color: #ce1818 !important;
}

.navbar .dropdown-menu {
	font-size: 14px;
}

.navbar .dropdown-menu .dropdown-item.active{
	background-color: #ce1818 !important;
}

.navbar .dropdown-menu .dropdown-item:focus{
	background-color: #E7E7E7 !important;
	color: #5a5a5a !important;
}

.navbar .logo-area {
	display: flex;
	gap: 10px;
}

.logo img{
	max-height: 50px;
	margin-top: 5px;
}

.logo-text {
	line-height: 30px;
    color: #000000;
    padding-top: 8px;
}

.btn {
	background-color: #800000;
	border: 0px;
}

.btn:hover {
	background-color: #800000;
	border: 0px;
	opacity: 0.9;
}

.img {
	position: relative;
}

.about {
	margin-top: 5rem;
	margin-bottom: 5rem;
}

.services {
	background: #f7f3f0;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.section-title {
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 20px;
}

.section-title h1 {
    
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h1::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    height: 2px;
    width: 150%;
	color: #800000;
    background: linear-gradient(90deg,#ce1818 0%,rgba(215,182,121,0) 17.57%,rgba(215,182,121,0) 84.67%,#ce1818 95.32%);
}

.section-title h2 {
    
    font-weight: 500;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title h2::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    height: 2px;
    width: 150%;
		color: #800000;
    background: linear-gradient(90deg,#ce1818 0%,rgba(215,182,121,0) 17.57%,rgba(215,182,121,0) 84.67%,#ce1818 95.32%);
}

.services .service {
	margin-bottom: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 0 10px rgb(0 0 0 / 7%);
	padding: 15px;
}

.services .service-content h2 {
	font-size: 1.2rem;
	font-weight: 400;
}

.services .service-image img {
	border-radius: 10px;
	margin-bottom: 15px;
}

.lawyers {
	margin-top: 5rem;
	margin-bottom: 5rem;
}

.lawyers .lawyer-area {
	display: flex;
  gap: 20px;
}

.mainpage-header {
	background-image: url('images/erbrecht.jpg');
	background-size: cover;
	background-position: center;
	min-width: 100%;
	padding-top: 15rem;
    padding-bottom: 5rem;
	margin-top: 80px;
	text-align: -moz-center;
	text-align: -webkit-center;
}

.mainpage-header .subpage-title{
	text-align: center;
  background-color: #000000;
  opacity: 0.8;
	padding:5px 20px 5px 20px;
	width: fit-content;
	border-radius: 10px;
}

.mainpage-header .subpage-title h1 {
	color: #FFFFFF;
}

.mainpage-header .subpage-title h1 .main-subtitle {
	font-size: 1.8rem;
	font-weight: 600;
}

.subpage-header {
	background-image: url('images/Erbrecht-Familienrecht-small.jpg');
	background-size: cover;
	background-position: center;
	min-width: 100%;
	padding-top: 8rem;
	padding-bottom:8rem;
	margin-top: 80px;
	text-align: -moz-center;
	text-align: -webkit-center;
}

.subpage-header-no-title {
	background-size: cover;
	background-position: center;
	min-width: 100%;
	height:20rem;
	margin-top: 80px;
	text-align: -moz-center;
	text-align: -webkit-center;
}

.impressum-header {
	background-image: url('images/impressum-header.jpg');
}

.kosten-header {
	background-image: url('images/kosten-header.jpg');
}

.datenschutz-header {
	background-image: url('images/datenschutz-header.jpg');
}

.kontakt-header {
	background-image: url('images/kontakt-header.jpg');
}

.mitarbeiterinnen-header{
	background-image: url('images/mitarbeiterinnen-header.jpg');
}

.testament-header {
	background-image: url('images/testament-header.jpg');
}

.jazunein-header {
	background-image: url('images/jazunein-header.jpg');
}

.erbrecht-header {
	background-image: url('images/erbrecht-header.jpg');
}

.familienrecht-header {
	background-image: url('images/familienrecht-header.jpg');
}

.mediation-header {
	background-image: url('images/mediation-header.jpg');
}

.b-header {
	background-image: url('images/b-header.jpg');
}

.f-header {
	background-image: url('images/f-header.jpg');
}

.subpage-header .subpage-title{
	text-align: center;
  background-color: black;
  opacity: 0.9;
	padding:5px 20px 5px 20px;
	width: fit-content;
	border-radius: 10px;
}

.subpage {
	padding-top: 3rem;
	padding-bottom:3rem;
}

.subpage a {
	color: #ce1818 !important;
}

.subpage a:hover {
	color: #5a5a5a !important;
}

.subpage .team {
	margin-bottom: 50px;
}

.subpage .team .lawyer-area-photo {
	margin-right: 30px;
}

.nopadding {
	padding-left: 0px;
	padding-right: 0px;
}

.imgborder {
	border: #5a5a5a 1px solid !important;
}

footer {
	background: #e9e9e9;
    font-size: 13px;
    padding-top: 20px;
    padding-bottom: 10px;
    color: #212529;
}

footer a {
	color: #800000;
	text-decoration: none;
}

footer a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

.cookie-disclaimer {
  background: #e9e9e9;
    color: #000;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 1;
  position: fixed;
	font-size: 13px;
}

.cookie-disclaimer .container {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.cookie-disclaimer .cookie-close{
  float: right;
  padding: 10px;
  cursor: pointer;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

@media all and (max-width: 991px) {
	.logo-text {
		display: none;
	}
}

@media all and (max-width: 761px) {
			.subpage-header {
			
			padding-top: 2rem;
			padding-bottom:2rem;
			
		}

		.subpage-title h1{
			font-size: calc(1rem + .9vw);
		}

		.mainpage-header .subpage-title h1 .main-subtitle {
			font-size: 1rem;
	}

		.section-title h1 {
			font-size: calc(1rem + .9vw);
			font-weight: 500;
			position: relative;
			display: inline-block;
			margin-bottom: 20px;
	}
	
	.section-title h1::before {
			content: "";
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			top: 12px;
			height: 2px;
			width: 150%;
			color: #800000;
			background: linear-gradient(90deg,#ce1818 0%,rgba(215,182,121,0) 17.57%,rgba(215,182,121,0) 84.67%,#ce1818 95.32%);
	}
	
	.section-title h2 {
		font-size: calc(1rem + .9vw);
			font-weight: 500;
			position: relative;
			display: inline-block;
			margin-bottom: 20px;
	}
	
	.section-title h2::before {
			content: "";
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			top: 12px;
			height: 2px;
			width: 150%;
			color: #800000;
			background: linear-gradient(90deg,#ce1818 0%,rgba(215,182,121,0) 17.57%,rgba(215,182,121,0) 84.67%,#ce1818 95.32%);
	}

}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}	
/* ============ desktop view .end// ============ */
