/* darker orange color */
.detail_node .field-name-field-titel, .news-full .field-name-field-titel, .anwalt .field-name-field-titel, .rechtsgebiet .field-name-field-titel,
a:link{
	color: #ff7100;
}
a:hover,a:focus{color: #d97600;}
.form-submit,
#personalcomputerheader #block-system-main-menu .content > .menu .lawyers li a:hover{
	background: #ff7100;
}
/* mobile nav colors */
.slicknav_menu{background: #ff7100 !important;}
.slicknav_menu a,.slicknav_menu a:hover{color: #fff;}

/* hover state for first entry in mainnav */
#personalcomputerheader ul.menu li.first.expanded:hover{
	cursor: pointer;
	color: rgba(63, 63, 82, 0.5); /* note: not using 'opacity: 0.5;' here intentionally (since that would affect the containing children) */
}

/* frontpage content startbutton narrow view */
body.front #startbox{width:auto;}
body.front #startbox #frontstartbutton{padding:20px;}
/* call to action icon for frontpage content startbutton */
body.front #startbox:after{
	background: url(../img/sprite.png) no-repeat 50% 0;
	bottom: 18px;
	content: '';
	height: 24px;
	left: 0;
	position: absolute;
	width: 100%;
}
/* hover state for frontpage content startbutton */
body.front #startbox #frontstartbutton{
	transition: background ease 300ms;
}
body.front #startbox #frontstartbutton:hover{
	background: rgba(83, 83, 83, 0.8);
}
body.front #startbox #frontstartbutton + .triangle{
	bottom: 15px;
	content: '';
	cursor: pointer;
	display: block;
	height: 30px;
	left: 0;
	padding: 0 40px;
	position: absolute;
	width: 100%;
	z-index: 1;
	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* RuA menu opened - minimize top/bottom spacing between items */
#personalcomputerheader #block-system-main-menu .content > .menu ul.lawyers{
	margin-top: 10px;
}
#personalcomputerheader #block-system-main-menu .content > .menu .lawyers .image-link-title{
	margin-top: -10px;
}
/* RuA menu opened - line in between */
#personalcomputerheader #block-system-main-menu .content > .menu .menu{
	border-right: none;
}
#personalcomputerheader #block-system-main-menu .content > .menu .submenu-wrapper:before{
	background: #c8c8c8;
	content: '';
	height: 100%;
	left: 30%;
	position: absolute;
	top: 0;
	width: 1px;
}

/* fix case datepicker with date picked */
body.page-suche-veroeffentlichungen #publication-search-form .container-inline-date input,
body.page-search-publications #publication-search-form .container-inline-date input{
	padding: 0.4em 0.3em 0.4em 1.5em;
}

/* quadratic tiles, v/h centered content */
.teaserkachel-grid-item.auto-size img.quadratic{
	height: auto;
	vertical-align: middle;
	width: 100%;
}
.teaserkachel-grid-item.auto-size .teaserkachel-inner{
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.teaserkachel-grid-item.auto-size .vh-wrap{
	display: table;
	height: 100%;
	width: 100%;
}
.teaserkachel-grid-item.auto-size .vh-center{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.teaserkachel-grid-item.auto-size a{
	margin: 0;
	position: static;
}
.teaserkachel-grid-item.auto-size a:after{
	content: '';
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* contact page - override default titel field styling */
.contact-chunk .contact-job-title .field-name-field-titel{
	font: inherit;
	letter-spacing: inherit;
	margin: 0;
}
.contact-chunk .contact-job-title .field-name-field-titel:before{
	display: none;
}
.contact-chunk .contact-job-title{
	color: #999;
}

/* fix spacings */
.page-suche-veroeffentlichungen .list_publications li{
	margin-bottom: 10px !important;
}
.page-suche-veroeffentlichungen h3.authors{
	margin-bottom: 14px;
}
.page-suche-veroeffentlichungen h3.authors + .pubcontent p{
	margin: 7px 0;
}
.area-publications h3{
	margin: 24px 0 14px;
}
.area-publications li p{
	margin: 7px 0 2px
}
.area-law-fields h2{
	margin-bottom: 20px;
}

/* footernav language divider */
footer .block-locale li.first:before{
	display: none;
}
footer .block-locale li + li:before{
	background: #333;
	content: '\0a0';
	cursor: default;
	float: left;
	margin-left: -10px;
	width: 1px;
}

/* fix page header image */
/*
@media screen (min-width: 1133px){
	div.region-header-specialblocks div.dummy{
		width: 1205px;
	}
}
*/

/* fix x-scrollbar in narrow view */
@media (max-width: 768px){
	.fullypage{
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
}

/* force different fontsize/word-break in narrow view */
@media (max-width: 768px){
	#main-content h1,#main-content .news-full .page-title{
		font-size: 17px;
	}
	#main-content a,#main-content h2,#main-content h3{
		word-wrap: break-word;
	}
}

/* change contact layout in narrow view */
@media (max-width: 768px){
	.contact-chunk{
		float: none;
		width: 100%;
	}
	.contact-chunk:after{
		clear: both;
		content: '';
		display: table;
	}
}

/* hide contact image in narrow view */
@media (max-width: 400px){
	.contact-chunk>div.left{
		display: none;
	}
	.contact-chunk>div.right{
		padding-left: 0;
	}
}

/* nav search */
@media (min-width: 768px) and (max-width: 1132px){
	header .search{
		background-position: 20px 50%;
		bottom: 0;
		height: 80px;
		left: 0;
		padding-right: 20px;
	}
	header .search_edit{
		top: 20px;
		width: 380px;
	}
}

/* RuA - highlighting narrow view */
@media (min-width: 768px) and (max-width: 1132px){
	#personalcomputerheader #block-system-main-menu .content > .menu .lawyers li a:hover{
		background: inherit;
		color: #3f3f52;
		opacity: 0.5;
	}
}

/* page publications */
body.page-suche-veroeffentlichungen #publication-search-form,
body.page-search-publications #publication-search-form{
	margin: -40px 0 -20px;
}

/* page lawyer detail */
.anwalt .area-small-grid .teaserkachel-begriff,
.anwalt .area-small-grid .teaserkachel-anwalt-teaser,
.anwalt .area-small-grid .teaserkachel-gebiet-teaser{
	margin: 3% 3% 0 0;
}

/* page news (detail) */
.news-full{
	max-width: 835px;
}
.page-news .datetitle{
	font-size: 21px;
}
.news-full .page-title{
	font-family: "Libre Baskerville",serif;
	font-size: 2em;
	font-style: normal;
	letter-spacing: 1px;
	margin: 0;
	text-transform: uppercase;
}

/* logo narrow view */
#mobilelogo{
	background: url(../img/logo.png) no-repeat 0 50%;
	height: 60px;
	left: 0;
	top: 0;
	width: 90px;
}

/* field of law narrow view */
@media (max-width: 767px){
	.rechtsgebiet .left .inner{
		padding: 3%;
	}
	
	.anwalt .hiddentop .area.area-contact .right50{
		margin-right: 8%;
		width: 84%;
	}
	.anwalt .hiddentop .area-contact .right50 .field{
		height: auto;
	}
}

/* contact page narrow view */
@media (max-width: 767px){
	div.region-header-specialblocks #block-jbb-kontaktseite-jbb-google-maps{
		width: auto;
	}
	div.region-header-specialblocks #block-jbb-kontaktseite-jbb-google-maps #google_maps_block{
		height: auto;
		position: relative;
	}
	div.region-header-specialblocks #block-jbb-kontaktseite-jbb-google-maps #google_maps_block>div:first-child{
		height: 280px;
		overflow: auto;
		position: relative;
	}
	div.region-header-specialblocks #block-jbb-kontaktseite-jbb-google-maps #addressoverlay{
		box-shadow: none;
		height: auto;
		position: static;
		width: 100%;
	}
	div.region-header-specialblocks #block-jbb-kontaktseite-jbb-google-maps #addressoverlay>.inner{
		padding-top: 0;
	}
}