/*
Theme Name: Kanzlei Mannheim
Template: kanzlei
Version: 1.6.2
*/

/* Theme customization starts here
-------------------------------------------------------------- */


h1, h2, h3, h4, h5, h6 {
  margin-top: 25px;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}


.fancy_heading .title {
  line-height: 62px !important;
}

#Content {
  padding-bottom: 100px;
  padding-top: 100px !important;
}

#Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {
  margin-bottom: 25px !important;
}

#Content p {
  margin-bottom: 20px !important;
}

a:hover {
  text-decoration: none !important;
}

#Subheader {
  background-size: cover;
}

.page-id-36 #Content .wpcf7 .column p {
	margin-bottom: 0 !important;
}

/* .cookie-notice-container .cn-button {
	font-family: -apple-system,BlinkMacSystemFont,Arial,Roboto,"Helvetica Neue",sans-serif;
	font-weight: 400;
	font-size: 13px;
	letter-spacing: .25px;
	line-height: 20px;
	margin: 0;
	text-align: center;
	text-transform: none;
	display: inline-block;
	cursor: pointer;
	touch-action: manipulation;
	white-space: nowrap;
	outline: none;
	box-shadow: none;
	text-shadow: none;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	padding: 8.5px 10px;
	line-height: 1;
} */

.footer_copy .mcb-column-inner {
	margin-bottom: 0 !important;
}

#Footer .widget {
	padding-top: 15px !important;
}

.page-id-36 #Subheader, .page-id-158 #Subheader, .page-id-168 #Subheader {
  background-size: auto;
}

.menu-line-below-80 #Top_bar:not(.is-sticky) .menu > li > a::after {
  height: 2px !important;
}

#Top_bar .menu > li > a span {
  border-color: rgba(0, 0, 0, 0.2) !important;
}

body, ul.timeline_items, .icon_box a .desc, .icon_box a:hover .desc, .feature_list ul li a, .list_item a, .list_item a:hover, .widget_recent_entries ul li a, .flat_box a, .flat_box a:hover, .story_box .desc {
  color: #222222 !important;
}

.homeboxen .desc p {
  color: #222222;
}

.homeboxen a.button {
	border: none;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.03),inset 0px 4px 3px -2px rgba(0,0,0,.07);
}

.homeboxen a.button:hover {
  color: #00639b !important;
}

div.light_square .pp_close {
  background: rgba(0, 0, 0, 0) url("images/schliessen.png") no-repeat scroll 0 0;
  height: 28px;
  width: 28px;
}

#Footer .footer_copy .copyright {
  float: none !important;
}

/* .copyright-links {
  float: left;
}

.copyright-rechts {
  float: right;
} */

#Footer .footer_copy {
  background-color: #00639b;
  color: #ffffff;
}

#Footer .footer_copy .one {
  margin-bottom: 10px !important;
  min-height: 33px;
  padding-top: 20px !important;
}

.page-id-158 table tr:first-child td {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
}

.page-id-158 table tr:nth-child(2n) td {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
}

.page-id-158 table tr td {
  border: 0 none;
  padding: 0 15px 0 0;
  text-align: left;
}

.page-id-158 table {
  width: auto;
  margin-bottom: 35px;
}

.page-id-172 #Content h3 {
  font-size: 22px;
}

.page-id-172 #Content p {
  margin-bottom: 0 !important;
}

.page-id-172 #Content ul li {
  margin-bottom: 0;
}

.page-id-172 #Content h4 {
  font-size: 18px;
  margin-bottom: 0 !important;
}

.home .homeuberschrift1 .column {
  margin-bottom: 0;
}

.ShariffSC.shariffbuttons {
  margin-bottom: 80px;
  margin-top: 60px;
}

.page-id-129 #Subheader h1 {
  text-shadow: 0 0 10px #000000;
}


/* Image Flip */

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
	transform-style: preserve-3d;
}
	/*  UPDATED! flip the pane when hovered */
	.flip-container:hover .back {
		transform: rotateY(0deg);
	}
	.flip-container:hover .front {
	    transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 380px;
	height: 380px;
}

/* flip speed goes here */
.flipper {
	transition: all 0.65s ease-out 0s;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
}

/*  UPDATED! front pane, placed above back */
.front {
	z-index: 2;
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(-180deg);
}

/* 
	Some vertical flip updates 
*/
.vertical.flip-container {
	position: relative;
}

	.vertical .back {
		transform: rotateX(180deg);
	}

	.vertical.flip-container:hover .back {
	    transform: rotateX(0deg);
	}

	.vertical.flip-container:hover .front {
	    transform: rotateX(180deg);
	}


#cookie-notice #cn-accept-cookie, #cookie-notice #cn-more-info {
	margin-bottom: 0;
	font-weight: 600;
	font-size: 13px;
}

#cookie-notice .cookie-notice-container #cn-notice-text {
	clear: both;
	display: block;
	margin-bottom: 12px;
	font-size: 14px;
}

.column_column ul, .column_column ol, .the_content_wrapper ul, .the_content_wrapper ol {
	color: #222 !important;
	margin-top: -20px;
}

table tr:first-child td {
	box-shadow: none !important;
}

#cookie-notice .ck1-button {
	background: linear-gradient(to bottom,#fefefe,#f4f4f4) repeat scroll 0 0 #f3f3f3;
	color: #333;
}

.drdsgvo_btn {
display:none !important;
}

#Footer .container #text-11 i {
	margin-right: 3px;
}



/*---------------------------------------------------------------------------*/
/*  Responsive
/*---------------------------------------------------------------------------*/


@media only screen and (min-width: 1239px) {
  .brmobil {display: none;}
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
  .flip-container, .front, .back {height: 290px;width: 290px;}
}

@media only screen and (min-width: 500px) and (max-width: 959px) {
  .flip-container, .front, .back {height: 220px;width: 220px;}
}

@media only screen and (max-width: 769px) {
  .home .bg-cover .image_frame {position: relative;top: 60px !important;}
}

@media only screen and (max-width: 600px) {
  .page-id-172 .rechtsanw {display: table;float: none;margin: auto;width: 50% !important;}
}

@media only screen and (max-width: 499px) {
  .flip-container, .front, .back {height: 220px;width: 220px;}
}
