/*
Theme Name: Reiten in Berlin
Description: Bootstrap 3 theme for Reiten-in-Berlin.
Version: 0.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: rib
*/

body {
	background: #fcf9e5;
	color: #58585a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 18px;
}

a,
a:visited {
	color: #a8332a;
}

a:hover,
a:active,
a:focus {
	color: #666;
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0 0 20px;
}

body h1 {
	color: #a8332a;
	font-family: "Times New Roman", Garamond, serif;
	font-size: 20px;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: normal;
	padding-bottom: 30px;
}

body h2 {
	border-bottom: 1px dotted #dddad9;
	color: #a8332a;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.1;
	margin: 0 0 10px;
	padding-bottom: 4px;
}

p,
ul,
ol,
blockquote {
	margin: 0;
	padding: 0 0 10px;
}

.site-header {
	margin-top: 20px;
}

.row.top {
	margin: 0 -15px 6px;
}

.row.logo {
	margin: 0 -15px;
}

.bg_A8332A {
	background-color: #a8332a;
}

.site-navigation--top {
	height: 26px;
	line-height: 25px;
	text-align: right;
}

.site-navigation--top .list-inline {
	margin: 0;
	padding: 0;
}

.site-navigation--top .list-inline > li {
	padding-left: 0;
	padding-right: 0!important;
}

.site-navigation--top a {
	color: #fff;
	font-size: 11px;
	text-decoration: none;
	text-transform: uppercase;
}

.site-navigation--top li + li::before {
	color: #fff;
	content: "|";
	padding: 0 9px 0 2px;
}

.site-branding {
	height: auto;
	overflow: hidden;
}

.site-header .custom-logo-link {
	display: block;
	height: auto;
	max-width: 100%;
	width: 790px;
}

.site-header .custom-logo {
	display: block;
	height: auto;
	max-width: 100%;
	width: 790px;
}

.site-title {
	color: #fff;
	font-size: 20px;
	font-weight: bold;
}

.row.navi {
	background: #f1f1f1;
	border-bottom: 1px dotted #dddad9;
	margin: 6px -15px 6px -15px;
}

.row.navi > .col-md-12 {
	padding: 0;
}

.row.navi .navbar-nav {
	padding-bottom: 0;
}

.row.navi .navbar-nav > li > a {
	color: #a8332a;
	font-size: 11px;
	font-weight: bold;
	padding: 10px 8px;
	text-transform: uppercase;
}

.row.navi .navbar-nav > li > a:hover,
.row.navi .navbar-nav > li > a:focus {
	background: #a8332a;
	color: #fff;
}

.row.navi .navbar-nav > li.current-menu-item > a,
.row.navi .navbar-nav > li.current-menu-parent > a,
.row.navi .navbar-nav > li.current-menu-ancestor > a,
.row.navi .navbar-nav > li.current_page_item > a,
.row.navi .navbar-nav > li.current_page_parent > a,
.row.navi .navbar-nav > li.dropdown.open > a,
.row.navi .navbar-nav > li.dropdown:hover > a,
.row.navi .navbar-nav > li.dropdown:focus-within > a {
	background: #a8332a;
	color: #fff;
}

.row.navi .navbar-nav > li > .dropdown-menu {
	margin-top: 0;
	border-radius: 0;
	font-size: 11px;
}

.row.navi .navbar-nav .dropdown-menu > li > a {
	color: #58585a;
	font-size: 11px;
	font-weight: normal;
	line-height: 1.42857143;
	padding: 3px 10px;
	text-transform: none;
}

.row.navi .navbar-nav .dropdown-menu > li > a:hover,
.row.navi .navbar-nav .dropdown-menu > li > a:focus {
	background: #f5f5f5;
	color: #58585a;
}

.row.navi .navbar-nav .dropdown-menu > li.active > a,
.row.navi .navbar-nav .dropdown-menu > li.current-menu-item > a,
.row.navi .navbar-nav .dropdown-menu > li.current-menu-parent > a,
.row.navi .navbar-nav .dropdown-menu > li.current-menu-ancestor > a,
.row.navi .navbar-nav .dropdown-menu > li.current_page_item > a {
	background: #a8332a;
	color: #fff;
}

@media (min-width: 992px) {
	.row.navi .navbar-nav > li.dropdown:hover > .dropdown-menu,
	.row.navi .navbar-nav > li.dropdown:focus-within > .dropdown-menu {
		display: block;
	}
}

.site-main {
	padding: 0 10px;
}

.site-main__container {
	background: #fff;
	padding-bottom:20px;
}

.row.breadcrumbs {
	background: #fff;
	margin: 0 -15px;
	padding: 15px 0 20px;
}

.site-breadcrumb {
	color: #a8332a;
	font-size: 10px;
	line-height: 18px;
}

.site-breadcrumb__label {
	font-weight: bold;
}

.row.content {
	background: #fff;
	margin: 0 -15px;
	padding-bottom: 20px;
}

.rib-profile__tabs {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #ddd;
	margin-bottom: 20px;
}

.rib-profile__tabs a {
	padding: 10px 15px;
	border: 1px solid transparent;
	border-radius: 4px 4px 0 0;
	margin-bottom: -1px;
	text-decoration: none;
}

.rib-profile__tabs a[aria-selected="true"] {
	background: #fff;
	border-color: #ddd #ddd #fff;
	color: #58585a;
}

.rib-profile__panel[hidden] {
	display: none;
}

.rib-profile__box {
	background: #f1f1f1;
	padding: 16px 20px;
	margin-bottom: 20px;
	font-size: 11px;
	line-height: 18px;
}

.rib-profile__box h2 {
	font-size: 14px;
	margin: 0 0 20px;
}

.rib-profile__box p:last-child {
	margin-bottom: 0;
}

.rib-profile__contact {
	display: grid;
	grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr);
	gap: 5px 15px;
	margin: 0;
}

.rib-profile__contact dt,
.rib-profile__contact dd {
	line-height: 18px;
	overflow-wrap: anywhere;
}

.rib-profile__contact dd {
	margin: 0;
}

.rib-profile__image-link {
	display: block;
}

.rib-profile__image-link img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.rib-profile__properties {
	padding-left: 0;
	margin-bottom: 0;
	columns: 2;
	list-style: none;
}

.rib-profile__properties li {
	position: relative;
	padding-left: 22px;
	break-inside: avoid;
	overflow-wrap: anywhere;
}

.rib-profile__properties li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='2' fill='%23008000'/%3E%3Cpath d='M3.5 8l3 3 6-6' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rib-profile__map-frame {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

.rib-profile__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 15px;
}

.rib-profile__facebook-frame {
	display: block;
	width: 500px;
	max-width: 100%;
	height: 500px;
	border: 0;
}

.rib-profile__lightbox {
	max-width: 95vw;
	max-height: 95vh;
	border: 0;
	padding: 15px;
}

.rib-profile__lightbox::backdrop {
	background: rgb(0 0 0 / 75%);
}

.rib-profile__lightbox img {
	display: block;
	max-width: 85vw;
	max-height: 80vh;
	object-fit: contain;
	margin: 10px auto 0;
}

@media (max-width: 767.98px) {
	.rib-profile__main-image {
		margin-top: 20px;
	}

	.rib-profile__properties {
		columns: 1;
	}
}

.rib-news-detail__date,
.rib-marketplace-detail__date {
	margin-bottom: 20px;
	padding: 0;
}

body .rib-news-detail__title,
body .rib-marketplace-detail__title {
	border-bottom: 1px dotted #dddad9;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: normal;
	line-height: 1.1;
	margin: 0 0 10px;
	padding-bottom: 4px;
}

.rib-news-detail__text,
.rib-news-detail__back,
.rib-marketplace-detail__text,
.rib-marketplace-detail__back {
	margin-bottom: 20px;
	overflow-wrap: anywhere;
}

.rib-news-detail__text img {
	max-width: 100%;
	height: auto;
}

.rib-news-detail__image-link,
.rib-marketplace-detail__image-link {
	display: block;
	margin-bottom: 15px;
}

.rib-news-detail__image-link img,
.rib-marketplace-detail__image-link img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}

.rib-news-detail__image-description {
	overflow-wrap: anywhere;
}

.rib-news-detail__image-count,
.rib-marketplace-detail__image-count {
	padding: 10px 0 0;
	text-align: center;
}

.rib-sitemap ul {
	list-style: disc;
	padding-left: 20px;
}

.rib-sitemap .sub-menu {
	list-style: circle;
}

.rib-sitemap {
	overflow-wrap: anywhere;
}

.rib-clubs-page .tab_border {
	border: 1px solid #999;
	border-collapse: collapse;
	margin-bottom: 20px;
	max-width: 100%;
	width: auto;
}

.rib-clubs-page .tab_border td,
.rib-clubs-page .tab_border th {
	border-right: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	padding: 2px 8px 12px;
	vertical-align: top;
}

.rib-clubs-page .tab_border .fa-external-link::before {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3H2v11h11v-4M8 2h6v6M7 9l7-7' fill='none' stroke='%23487988' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
	display: inline-block;
	height: 11px;
	margin-right: 4px;
	width: 11px;
}

.rib-clubs-page .rib-page-layout__sidebar ul {
	padding-left: 20px;
	line-height: 22px;
}

.rib-clubs-page .rib-page-layout__sidebar .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 991.98px) {
	.rib-clubs-page .tab_border {
		width: 100%;
	}

	.rib-clubs-page .tab_border td,
	.rib-clubs-page .tab_border th {
		display: block;
		width: 100%;
		padding-bottom: 2px;
	}
}

.rib-directory__item {
	display: flex;
	background: #f1f1f1;
	margin-bottom: 20px;
	font-size: 11px;
	line-height: 18px;
}

.rib-directory__image {
	flex: 0 0 25%;
	min-width: 0;
}

.rib-directory__image img {
	display: block;
	width: 100%;
	height: auto;
}

.rib-directory__content {
	flex: 1;
	min-width: 0;
	padding: 20px;
	overflow-wrap: anywhere;
}

.rib-directory__title {
	font-size: 12px;
	line-height: 1.1;
	margin: 0 0 10px;
	padding: 0 0 4px;
}

.rib-directory__summary {
	margin: 0;
}

.rib-directory__summary a {
	text-decoration: underline;
}

.rib-directory__nav-title {
	font-size: 16px;
	margin: 0 0 10px;
}

.rib-directory__nav {
	list-style: none;
	margin: 0 0 25px;
	padding: 0;
}

.rib-directory__nav a {
	display: block;
	padding: 5px 8px;
	border-bottom: 1px solid #ddd;
}

.rib-directory__nav a[aria-current="page"] {
	background: #a8332a;
	color: #fff;
}

.rib-directory__ancestor {
	font-weight: bold;
}

.rib-directory__pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 20px 0;
	padding: 0;
}

.rib-news-archive__table-wrap {
	overflow-x: auto;
	padding-top: 9px;
}

.rib-news-archive__table {
	border: 1px solid #ddd;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 11px;
	line-height: 18px;
	table-layout: auto;
	width: 100%;
}

.rib-news-archive__date-column {
	width: 8%;
}

.rib-news-archive__title-column {
	width: 41.5%;
}

.rib-news-archive__category-column {
	width: 13.8%;
}

.rib-news-archive__excerpt-column {
	width: 31.8%;
}

.rib-news-archive__action-column {
	width: 4.9%;
}

.rib-news-archive__table th,
.rib-news-archive__table td {
	border: 1px solid #ddd;
	height: 38px;
	line-height: 18px;
	padding: 1px 8px;
	text-align: left;
	vertical-align: top;
}

.rib-news-archive__table th {
	background: #f1f1f1;
	font-weight: bold;
}

.rib-news-archive__table td {
	font-weight: normal;
}

.rib-news-archive__table td:nth-child(2) {
	font-weight: bold;
}

.rib-news-archive__results {
	margin: 20px 0 0;
	padding: 0 0 10px;
}

.rib-news-archive__pagination a {
	padding: 0 2px;
	text-decoration: none;
}

.rib-marketplace-archive__item.has-post-thumbnail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	min-height: 210px;
}

.rib-marketplace-archive__item:not(.has-post-thumbnail) {
	margin-bottom: 10px;
}

.rib-marketplace-archive__image {
	min-height: 210px;
	padding: 0 2.5px 10px 0;
	text-align: center;
}

.rib-marketplace-archive__image img {
	display: block;
	width: 300px;
	max-width: 100%;
	height: 200px;
	margin: 0 auto;
	object-fit: cover;
}

.rib-marketplace-archive__content {
	min-width: 0;
	padding-left: 2.5px;
}

.rib-marketplace-archive__item:not(.has-post-thumbnail) .rib-marketplace-archive__content {
	padding-left: 0;
}

.rib-marketplace-archive__title {
	background: #a8332a;
	border: 0;
	color: #fff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
	margin: 0 0 2.5px;
	padding: 4px 4px 4px 6px;
}

.rib-marketplace-archive__title a,
.rib-marketplace-archive__title a:visited,
.rib-marketplace-archive__title a:hover,
.rib-marketplace-archive__title a:focus {
	color: #fff;
	text-decoration: none;
}

.rib-marketplace-archive__title a:hover,
.rib-marketplace-archive__title a:focus {
	text-decoration: underline;
}

.rib-marketplace-archive__summary {
	color: #a8332a;
	font-size: 11px;
	line-height: 18px;
	margin: 0 0 10px;
}

.rib-marketplace-archive__summary p {
	margin: 0;
	padding: 0;
}

.widget {
	background: #f1f1f1;
	margin-bottom: 10px;
	padding: 14px 10px;
}

.widget-title {
	border-bottom: 1px dotted #dddad9;
	color: #a8332a;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
}

.widget:has(.rib-latest-news) .widget-title {
	margin-bottom: 10px;
}

.rib-home-layout__center .rib-latest-news__title a,
.rib-home-layout__center .rib-latest-news__title a:visited,
.rib-home-layout__center .rib-latest-news__title a:hover,
.rib-home-layout__center .rib-latest-news__title a:active,
.rib-home-layout__center .rib-latest-news__title a:focus {
	color: #fff;
	text-decoration: none;
}

.rib-home-layout__center .rib-latest-news__more:hover,
.rib-home-layout__center .rib-latest-news__more:active,
.rib-home-layout__center .rib-latest-news__more:focus {
	color: #666;
}

.widget:has(.rib-newsticker) .widget-title {
	background: #a8332a;
	border: 0;
	color: #fff;
	line-height: 16px;
	margin-bottom: 20px;
	padding: 4px 4px 4px 6px;
}

.site-footer {
	color: #58585a;
	font-size: 10px;
	line-height: 18px;
	padding: 0 10px 20px;
}

.site-footer__container {
	background: #fff;
	border-top: 1px dotted #dddad9;
}

.row.footer {
	margin: 0 -15px;
	padding: 6px 0 8px;
}

.site-footer__navigation,
.site-footer__copyright {
	display: inline-block;
	vertical-align: middle;
}

.site-footer .list-inline {
	margin-bottom: 0;
	padding-bottom: 0;
}

.site-footer__copyright {
	margin: 0;
	padding: 0;
}

.site-footer__separator {
	margin: 0 8px;
}

.pr-0 {
	padding-right: 0 !important;
}

.pb-0 {
	padding-bottom: 0 !important;
}

.mb-0 {
	margin-bottom: 0 !important;
}

.pl-0 {
	padding-left: 0 !important;
}

.pr-1 {
	padding-right: 2.5px !important;
}

.pl-1 {
	padding-left: 2.5px !important;
}

@media (min-width: 768px) {
	.pr-md-0 {
		padding-right: 0 !important;
	}
}

@media (min-width: 992px) {
	.p-lg-0 {
		padding: 0 !important;
	}

	.pl-lg-0 {
		padding-left: 0 !important;
	}

	.rib-home-layout__left .widget {
		margin-right: 5px;
	}

	.rib-home-layout__center .widget {
		margin-left: 5px;
		margin-right: 5px;
	}

	.rib-home-layout__right .widget {
		margin-left: 5px;
	}
}

@media (min-width: 1200px) {
	.pr-xlg-2 {
		padding-right: 5px !important;
	}

}

@media (max-width: 767.98px) {
	.rib-directory__image {
		display: none;
	}

	.site-header.container {
		padding-left: 25px;
		padding-right: 25px;
	}
}

@media (max-width: 899.98px) {
	.rib-news-archive__table {
		min-width: 0;
	}

	.rib-news-archive__table colgroup {
		display: none;
	}

	.rib-news-archive__table th {
		display: none;
	}

	.rib-news-archive__table td {
		border: 1px dotted #ccc;
		display: block;
		height: auto;
	}
}

@media (max-width: 990.98px) {
	.row.navi .navbar-nav > li.dropdown > .dropdown-menu {
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		float: none;
		position: static;
		width: auto;
	}

	.row.navi .navbar-nav > li.dropdown > .dropdown-menu > li > a {
		padding-left: 35px;
	}

	.row.navi .navbar-header {
		float: none;
	}

	.row.navi .navbar-toggle {
		border: 0;
		display: block;
		float: right;
		margin: 0;
		height: 35px;
		padding: 10px;
		width: 43px;
	}

	.row.navi .navbar-toggle .icon-bar {
		background-color: #a8332a;
	}

	.row.navi .navbar-nav,
	.row.navi .navbar-nav > li {
		float: none;
	}

	.row.navi .navbar-nav > li > a {
		padding: 2px 20px;
	}

	.row.navi .navbar-collapse {
		border-top: 0;
		box-shadow: none;
		padding: 0;
	}

	.row.navi .navbar-collapse.collapse:not(.in) {
		display: none !important;
	}

	.row.navi .navbar-collapse.collapse.in {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}

@media (min-width: 991px) and (max-width: 991.98px) {
	.row.navi .navbar-collapse {
		padding: 0;
	}

	.row.navi .navbar-nav {
		float: none;
		text-align: center;
	}

	.row.navi .navbar-nav > li {
		display: block;
		float: none;
	}

	.row.navi .navbar-nav > li > a {
		padding: 2px 20px;
	}
}

@media (max-width: 767.98px) {
	.row.navi .navbar-collapse {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (min-width: 992px) {
	.row.navi .navbar-header {
		display: none;
	}

	.row.navi .navbar-collapse {
		padding: 0;
	}

	.row.navi .navbar-nav {
		float: none;
		text-align: center;
	}

	.row.navi .navbar-nav > li {
		display: inline-block;
		float: none;
	}

	.row.navi .navbar-nav > li > a {
		padding: 10px 8px;
	}
}
