/* ####################### */
/* Navigation enhancements */

#head-wrap {
	z-index: 2000;
}

#portal-nav-top-container {
margin-top: 10px;
}
  /*
div.navbar .nav-collapse li>a, div.navbar .nav-collapse.in .dropdown-menu li>a{
	padding-right: 36px;
}

div.navbar .nav-collapse li>span, div.navbar .nav-collapse.in .dropdown-menu li>span{
	position: absolute;
	right: 0px;
	top: 0px;
	padding: 10px 12px 10px 10px;
	cursor: pointer;
	border-radius: 3px;
}

div.navbar .nav-collapse li>span:hover, div.navbar .nav-collapse.in .dropdown-menu li>span:hover{
	background-color: #E5E5E5;
}

div.navbar .nav-collapse li.open, div.navbar .nav-collapse li.open span {
	background-color: #E5E5E5 !important;
}

div.navbar .nav > .active > a, div.navbar .nav > .active > a:hover, div.navbar .nav > .active > a:focus {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

@media (max-width: 991px){
	div.navbar .nav-collapse .nav > li > a, div.navbar .nav-collapse .dropdown-menu a {
		padding: 10px 15px;
		margin-bottom: 2px;
	}
}
div.navbar .dropdown-submenu {
	list-style-type: none;
	margin-left: 0;
}

div.navbar .dropdown-submenu a {
	padding-left: 40px !important;
	background-color: #FFFFFF;
}

div.navbar .dropdown-submenu .dropdown-submenu a {
	padding-left: 60px !important;
	background-color: #DDDDDD;
}

div.navbar .dropdown-submenu .dropdown-submenu .dropdown-submenu a {
	padding-left: 80px !important;
	background-color: #FFFFFF;
}

div.navbar .dropdown-submenu .dropdown-submenu .dropdown-submenu .dropdown-submenu a {
	padding-left: 100px !important;
	background-color: #DDDDDD;
}
*/

/* ########################### */
/* Left navigation adjustments */
#nav_left_mobile .nav-tabs > li {
    margin-bottom: -3px;
}

#nav_left_mobile .nav-tabs > li:first-child {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

#nav_left_mobile .nav-tabs > li:last-child {
    margin-bottom: -1px;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

#nav_left_mobile .nav-tabs.nav-stacked > li > a {
    border-top: 1px solid #DDDDDD;
    border-right: 1px solid #DDDDDD;
    border-left: 1px solid #DDDDDD;
    border-radius: 0;
    margin-right: 0;
}

/* ######################## */
/* Overwriting other styles */

/* Carousel */
.carousel-inner {
	/*margin-top: 20px;
	margin-bottom: 20px;*/
}

.carousel-inner div.left {
	float: none;
}

@media (max-width: 991px) {
	.carousel-caption {
		bottom: 5px;
	}
}

.carousel-caption h3 {
	text-align: center;
	font-size: 18px;
	color: #fff;
}

.carousel-caption p {
	text-align: center;
	font-size: 12px;
	color: #fff;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	height: auto;
}

/* Button styles copied from original bootstrap CSS for webform and document center */
.webform_wrapper {
	margin-bottom: 20px;
}
div.webform_wrapper input.formbutton, div.webform_check_button input.formbutton,
div.download_onecol div.searchSelection input.button {
	height: inherit;
	-moz-user-select: none;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    background-color: #FFFFFF;
    border-color: #CCCCCC;
    color: #333333;
}

div.webform_wrapper input.formbutton:hover, div.webform_wrapper input.formbutton:focus,
div.webform_check_button input.formbutton:hover, div.webform_check_button input.formbutton:focus,
div.download_onecol div.searchSelection input.button:hover, div.download_onecol div.searchSelection input.button:focus {
	background-color: #EBEBEB;
    border-color: #ADADAD;
    color: #333333;
}

div.webform_wrapper input.formbutton:hover, div.webform_wrapper input.formbutton:focus, div.webform_wrapper input.formbutton:active,
div.webform_check_button input.formbutton:hover, div.webform_check_button input.formbutton:focus, div.webform_check_button input.formbutton:active,
div.download_onecol div.searchSelection input.button:hover, div.download_onecol div.searchSelection input.button:focus, div.download_onecol div.searchSelection input.button:active {
	color: #333333;
	background-color: #e6e6e6;
}

/* Colorbox (larger controls) */
#cboxPrevious {
  background: url(../img/controls-large.png) no-repeat -80px 0;
  width: 40px;
  height: 40px;
}

#cboxPrevious:hover {
	background-position: -80px -40px;
}

#cboxNext {
  left: 42px;
  background: url(../img/controls-large.png) no-repeat -40px 0;
  width: 40px;
  height: 40px;
}

#cboxNext:hover {
	background-position: -40px -40px;
}

#cboxClose {
  background: url(../img/controls-large.png) no-repeat 0 0;
  width: 40px;
  height: 40px;
}

#cboxClose:hover {
	background-position: 0 -40px;
}

#cboxTitle {
	left: 96px;
	width: 60%;
}

#cboxCurrent {
	bottom: 44px;
	padding: 1px 3px;
	opacity: 0.65;
	filter:alpha(opacity=65);
	background-color: #000;
}

/* Head/Foot Search form */
div.form-line-head { width:150px; padding-left: 8px;display: inline-block; top: 6px; position: relative; }
div.form-line-head form { padding: 0; margin: 0; }
div.form-line-head-input { width:120px; height: 14px; padding: 2px; border: 1px solid #DDD; }
div.form-line-head-input input { width:100%; border: none; }
button.form-line-head-button { border: 1px solid #DDD; background-color: white; width: 20px; height: 20px; cursor: pointer; }

div.form-line-head {
	width: 165px;
}

div.form-line-head input[type="text"] {
	width: 120px;
}

div.form-line-head button {
	padding: 4px 4px;
}

div.linkrow a, #portal-header-container a.text, #portal-header-container span.text, #portal-footer-container a.text, #portal-footer-container span.text {
	display: inline-block;
	vertical-align: top;
	margin-top: 10px;
}

/* Sticky footer */

@media (min-width: 992px) {
	.nav-footer-column {
		width: 19%;
	}
}

@media (max-width: 991px) {
	.nav-footer-column {
		width: 100%;
		padding: 0;
		border: none;
	}
}

.nav-footer-column h2 {
	font-size: 16px;
}

/* Pagination */
.pagination a, .pagination span {
	display: inline !important;
	margin: 0 !important;
	min-width: none !important;
	text-align: inherit !important;
}

ul.bootpag li.active {
	 
}

.pagination ul > .disabled > span, .pagination ul > .active > a, .pagination ul > .active > a:hover {
	background-color: #f5f5f5;
}

/* ############## */
/* Resource Types */

/* Calendar */

#calendarside table.cal_month_table td, #calendarside table.cal_month_table td a span, #calendarside table.cal_month_table td span {
	font-size: 12px;
}

#calendarside table.cal_month_table td.cal_mon_nav a.cal_mon_nav, #calendarside table.cal_month_table td.cal_mon_nav a.cal_mon_nav:hover {
	font-size: 14px;
}

td.cal_mon_day a.cal_mon_day_event, td.cal_mon_day a.cal_mon_day_event:hover {
	font-weight: bold;
}

.fc-header-center .fc-header-title h2 {
	font-size: 14px;
	line-height: inherit;
}

/* Contact Information */
div.ebk_person_visit_data_contact {
	font-size: inherit;
}

div.ekk_person_visit_data_head_side, div.ebk_person_visit_data_adress_side p, div.ebk_person_visit_data_contact_side {
	font-size: inherit;
	line-height: inherit;
}
div.ebk_person_contact_value_side {
	margin: 0 0 0 60px;
	font-size: inherit;
}

div.ebk_person_visit_data  {
	width: 50%;
}

div.ebk_person_visit_data_name {
	white-space: normal;
}

div.ebk_person_visit_data_bs, div.ebk_person_visit_link_bs {
	margin-left: 0px;
}

div.ebk_person_visit_data, div.ebk_person_visit_link {
	float: inherit;
	max-width: inherit;
	margin-left: 15px;
}

div.ebk_person_visit_linl_value {
	float: inherit;
}

/* Document Center */
@media (max-width: 991px) {
	div.download_onecol, div.download_leftcol, div.download_rightcol {
		float: none;
		width: 100%;
	}
}

p.downloadcenter {
	background-color: #f5f5f5;
}

p.downloadcenter * {
	line-height: 25px;
	padding: 0 8px;
	white-space: nowrap;
}

div.download_onecol table.downloadcenter tr td.litte_font {
	font-size: inherit;
}

div.download_onecol div, div.download_onecol p {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

div.row div.download_onecol a.button-w {
	font-weight: inherit;
}

div.download_onecol form table {
	width: 100%;
}

div.download_onecol label {
	display: inline;
	margin-left: 3px;
}

div.download_onecol label.hidden {
	display: none;
}

div.download_onecol form table td#categories span {
	line-height: 32px;
}

/* Icon-Link box */
ul.iconlinks li span.iconspacer {
	width: 2px;
}

/* Link box */
.linkbox-wrapper .first-link a {
    position: relative;
}

/* Newsletter subscription */
div.newsletter-wrap .newsletter-box {
	padding-bottom: 2px;
}
div.newsletter-wrap div.newsletter-box h2 {
	font-size: 14px;
	line-height: 16px;
}

/* Parish box, Search box */
/* This style is currently not used
div.search-wrap input, div.parish-wrap input {
	font: inherit; 
	height: inherit; 
	padding: inherit; 
	border: inherit;
}
*/

/* Photo Album */
div.album-pagination .pagination {
	font-size: 14px;
}

.album-pagination a, .album-pagination span {
	padding: 0.5em 0.8em;
}
.pagination_container {
	height: 100%;
}

/* Service */
div.servicelist-time {min-width: 40px;}
p.service-back { margin-top: 6px; }

/* Shop */
div.shopCategoryNavigation ul li {
	padding-bottom: 4px;
}

div.shopCategoryNavigation ul li ul {
	padding-top: 4px;
}

div.onlineshopwrapper div.row {
	margin-bottom: 20px;
}

div.onlineshopwrapper div.shopOverviewItemOrder input,
div.onlineshopwrapper div.shopNavButtons input[type="button"] {
	margin-top: 5px;
	margin-bottom: 5px;
}

/* Sitemap */
#alkaconsitemap_mainelement img {
	vertical-align: none;
}

#alkaconsitemap_mainelement .alkaconsitemap_level1_image {
	margin-top: 0;
}

#alkaconsitemap_mainelement label {
	display: inline-block;
	margin-right: 6px;
}

#alkaconsitemap_mainelement div.alkaconsitemap_level1_name label {
	margin-bottom: 0;
}

#alkaconsitemap_mainelement a {
	font-size: inherit !important;
}

/* Social network links */
ul.social-bookmarks li, #centercontainer ul.social-bookmarks li {
	margin-right: 1px;
}

/* Tabs */
.tabs {
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.tab-content {
	border-left: 1px solid #DDD;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
}

/* Teaser */
.box-article {
	/* width: 32%;
	margin-left: 2%; */
	margin: 0;
}

.box-article-title {
	height: inherit;
}

@media (max-width: 767px) {
	.box-article-teaser {
		height: inherit;
	}
}

@media (min-width: 768px) {
	.box-article-title {
		min-height: 35px;
	}
}

.box-article-title h2 {
	font-size: 14px;
}

/* Text block (teaser) */
.teaser-image-title {
	left: 15px;
	right: 15px;
}

.teaser-image {
	height: 120px;
}

.teaser-image.teaser-left{
	margin-right: inherit;
}

.teaser-image.teaser-right{
	margin-left: inherit;
}

.teaser-image img {
	height: 120px;
}

.teaser-right.teaser-text {
	padding-left: 30px;
}

.teaser-text {
	height: 120px;
}

.teaser-text .teasertext {
	max-height: 60px;
	overflow: hidden;
}

/* Webform (button styles modified above in this CSS) */

/* Input field styles have to be overwritten with values from bootstrap CSS as well */
div.webform_wrapper div.webform_row select, div.webform_wrapper div.webform_row textarea,
div.webform_wrapper div.webform_row input[type="text"], div.webform_wrapper div.webform_row input[type="password"] {
	background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

div.webform_wrapper div.webform_row textarea {
	height: auto;
}

@media (max-width: 991px) {
	/* label and field elements behave differently for lower resolutions */
	div.webform_row div.webform_label, div.webform_row div.webform_label_multi, div.webform_row div.webform_label_table, div.webform_row div.webform_text_left,
	div.webform_row div.webform_field, div.webform_row div.webform_field_multi, div.webform_row div.webform_field_table, div.webform_row div.webform_text_right {
		width: 100%;
		display: block;
	}
}

/* Check page button adjustments */
div.webform_check_wrapper div.webform_check_button {
	float: none;
}

div.webform_check_wrapper div.webform_check_button input {
	width: 100%;
}

form#webformcaptcha, div.webform_check_wrapper form {
	margin: 0;
}

/* Generic styles */
.no-margin-bottom {
	margin-bottom: 0;
}