/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/


h1, h2 {
    /*text-transform: uppercase !important;*/
}

body:not(.template-slider) #Header {
  min-height: 0;
}

#Top_bar {
  border-bottom: none !important;
}

.one.column {
    width: 100%;
}

.column, .columns {
    margin: 0;
}

.one-third.mcb-wrap {
    width: calc(33.3% - 40px); 
}

.two-third.mcb-wrap {
    width: calc(66.6% - 40px); 
}

.button.btn-phone {
	background-color: #e5e5e5 !important;
	transition: background-color .3s ease;
}
.button.btn-phone:hover {
	background-color: #d5d5d5 !important;
}

@media all and (min-width: 701px) {
    .one-third.mcb-wrap {
        margin-left: 20px;
        margin-right: 20px;
    }

    .two-third.mcb-wrap {
        margin-left: 20px;
        margin-right: 20px;
    }

    #Top_bar .logo {
        margin: 0 30px 0 40px;
    }

}

body.home h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

body.abteilungen h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

#Footer h3 {
    margin-bottom: 20px;
}

#Footer .footer_copy .copyright {
    float: none;
    text-align: center;
}


.textwidget img {
    max-width: 100%;
}

body.home .one h3 {
    color: #fff;
}

body.abteilungen .one h3 {
    color: #fff;
}



@media all and (max-width: 700px) {
    .hero--home > div {
        background-image: none !important;
        padding: 0 !important;
    }

    .one-third.mcb-wrap {
        margin-bottom: 30px;
    }

    .widget {
        margin-top: 0;
    }

    #Footer .widgets_wrapper .widget {
        padding: 0;
    }
}


/* Schriftverkleinerung responsive */
@media all and (max-width: 700px) {
    h1 {
        font-size: 100%;
    }
    h2, h3, h4, h5, h6 {
        font-size: 95%;
    }

    h3 {
        font-size: 95%;
    }

    p {
        font-size: 90%;
    }

    ul li {
        font-size: 90%;
    }

    table > * {
        font-size: 90%;
    }

    span {
        font-size: 90%;
    }

    a {
        font-size: 90%;
    }

    a.post-more {
        font-size: 80%;
    }
}

.tablepress tfoot th, .tablepress thead th {
    background-color: rgba(168, 203, 99, .3);
    font-family: "Axiforma Black";
}

strong {
    font-family: "Axiforma Black" !important;
}

.column_visual p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.column_visual h4 {
    margin-top: 2rem;
}

.tablepress {
    border: 1px solid #ddd;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.one-third.column_image {
    padding-left: 50px;
    padding-right: 0;
    margin-top: 60px;
}

.one-third.column_image:first-of-type {
    padding-left: 0;
    padding-right: 50px;
}

.menu-main > .menu-item:last-of-type {
    margin-right: 4rem !important;
}

.post-desc {
    padding-left: 0;
}

.post-footer {
    background-color: transparent !important;
}

body.single-post #Content {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

body.single-post .section_wrapper {
    max-width: 960px;
} 

body.single-post .single-photo-wrapper.image {
    text-align: left;
}

body.single-post .image_wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#Footer .footer_copy {
    border: none;
}

.dataTables_length {
    display: none;
}

.dataTables_filter {
    display: none;
}

.dataTables_info {
    display: none;
}

.dataTables_paginate {
    display: none;
}

@media only screen and (min-width: 1240px) {
    .menu-line-below #Top_bar .menu > li > a:after {
        bottom: 0 !important;
    }

    .center-text-padding {
        padding: 0 15%;
    }
}

.tablepress-table-name {
    text-align: center;
}

.tablepress-table-description {
    text-align: center;
}

.gallery .gallery-item {
    margin-bottom: 10px !important;
}

.sections_group .mcb-section {
    padding-top: 70px !important;
    padding-bottom: 80px !important;
}

.sections_group .mcb-section.no-general-padding {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.table-p-fix p:empty:before {
    display: none;
}

.tablepress-table-description {
    font-size: 90%;
}

.hero-desktop .bg-cover {
    padding: 140px;
}

.hero--home.hero-desktop .bg-cover {
    padding: 250px;
}

.hero-mobile .bg-cover {
    padding: 140px;
}

.menu-submenu-wasserball-container,
.menu-submenu-turnen-container {
    width: 100%;
    position: relative;
}

#menu-submenu-wasserball,
#menu-submenu-turnen {
    overflow: hidden;
    margin: auto;
    display: flex;
    justify-content: center;
}

#menu-submenu-wasserball li,
#menu-submenu-turnen li {
    list-style-type: none;
    margin-bottom: 0;
}

#menu-submenu-wasserball li a,
#menu-submenu-turnen li a {
    display: block;
    padding: 20px;
    font-family: "Axiforma Black";
    position: relative;
}

#menu-submenu-wasserball li a:hover,
#menu-submenu-turnen li a:hover {
    text-decoration: none;
    color: #a8cb63;
}

#menu-submenu-wasserball li a[aria-current="page"],
#menu-submenu-turnen li a[aria-current="page"] {
    color: #a8cb63;
}

#menu-submenu-wasserball li a[aria-current="page"]:after,
#menu-submenu-turnen li a[aria-current="page"]:after,
#menu-submenu-wasserball li a:hover:after,
#menu-submenu-turnen li a:hover:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #a8cb63;
    bottom: 0;
    left: 0;
}

.hero-desktop .bg-cover {
    padding: 12%;
}

.sub-menu .sub-menu {
    background-color: #EFF3E8 !important;
}

.gallery .gallery-item .gallery-icon {
    margin-bottom: 5px;
}

body.blog .excerpt-hellip {
    display: none;
}

.sections_group .mcb-section.small-padding-bottom {
    padding-bottom: 40px !important;
}

.sections_group .mcb-section.no-padding-top {
    padding-top: 0 !important;
}


@media all and (max-width: 900px) {
    .mobile-text-center {
        text-align: center;
    }

    .sections_group .mcb-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .mcb-item-sf5ekxfk1 {
        display: none !important;
    }

    .tablepress-table-description {
        font-size: 80%;
    }

    h2 {
        line-height: 1.5 !important
    }

    #menu-submenu-wasserball,
    #menu-submenu-turnen {
        display: block;
        text-align: center;
    }

    #menu-submenu-wasserball li,
    #menu-submenu-turnen li {
        display: inline-block;
    }

    #menu-submenu-wasserball li a,
    #menu-submenu-turnen li a {
        padding: 5px 10px;
        border: 1px solid #eee;
        border-radius: 3px;
        margin: 5px;
        font-size: 80%;
    }

    #menu-submenu-wasserball li a[aria-current="page"],
    #menu-submenu-turnen li a[aria-current="page"] {
        border: 1px solid #a8cb63;
    }

    #menu-submenu-wasserball li a[aria-current="page"]:after,
    #menu-submenu-turnen li a[aria-current="page"]:after,
    #menu-submenu-wasserball li a:hover:after,
    #menu-submenu-turnen li a:hover:after {
        display: none;
    }

    #Content .gallery .gallery-item {
        width: 50%;
    }
    #sc_gallery-1 .gallery-item {
        font-size: 65%;
    }
}

#menu-item-1017.hover > a > span {
    color: transparent; !important;
}


/* Events Anpassungen */

.tribe-events-visuallyhidden {
    display: none;
}

.tribe-bar-date-filter {
    display: none;
}

.tribe-events-list-separator-month span {
    background: transparent;
}

.tribe-events-event-meta {
    display: none;
}



/* Judo */
.judo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.judo-times {
  display: flex;
  flex-direction: column;
  min-width: 600px;
}

.judo-times-row {
  flex: 0 0 100%;
  display: flex;
  flex-direction: row;
  flex-flow: wrap;
}
.judo-times-col {
  flex: 0 0 33.333%;
}
/*
.judo-times-col:nth-child(1) {
  flex: 0 0 40%;
}
.judo-times-col:nth-child(2) {
  flex: 0 0 20%;
}
.judo-times-col:nth-child(3) {
  flex: 0 0 40%;
}*/

@media all and (max-width: 700px) {
	.judo-times {
		min-width: unset;
    }
	/*.judo-times-row {
		flex-direction: column;
	}*/
	.judo-times-row:not(:last-of-type) {
		margin-bottom: 1em;
	}
	
	.judo-times-col:nth-child(1) {
	  flex: 0 0 100%;
	}
	.judo-times-col:nth-child(2), .judo-times-col:nth-child(3) {
	  flex: 0 0 50%;
	}
}


/**
 * SVD flex tables
 * @author Sven Eberth
 */

.svd-table {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	border-top: none;
}

.svd-table-row {
	flex: 0 0 100%;
	display: flex;
	flex-direction: row;
	flex-flow: wrap;
	border-top: 1px solid #ddd;
}
.svd-table-row.svd-table-row--head {
	font-weight: bold;
	color: #444;
}

.svd-table-row--head .svd-table-col {
	background-color: rgba(168, 203, 99, .3);
	font-family: "Axiforma Black";
}

.svd-table-row--body:nth-child(odd) .svd-table-col {
	background-color: #f9f9f9;
}
.svd-table-row--body:nth-child(even) .svd-table-col {
	background-color: #fff;
}

.svd-table-col {
	flex: 1 1 0px;
	padding: 8px;
}
.svd-table-col:nth-child(1) {
	font-weight: bold;
}

.svd-table-footnote {
  font-size: .9em;
  text-align: center;
}

@media all and (max-width: 800px) {
	.svd-table-row {
		flex-direction: column;
	}
	.svd-table-row--head {
		display: none;
	}

	.svd-table-col {
		padding: 4px 8px;
	}
	.svd-table-col:nth-child(1) {
		flex: 0 0 100%;
	}
	.svd-table-row--body .svd-table-col {
		flex: 0 0 50%;
	}
	.svd-table:not(.svd-table--nolabels) .svd-table-row--body .svd-table-col:not(:nth-child(1)) {
		text-align: right;
	}
	.svd-table:not(.svd-table--nolabels) .svd-table-col:not(:nth-child(1))::before {
		content: attr(data-label) ':';
		display: block;
		font-weight: 300;
		position: absolute;
	}
	.svd-table .no-mobile {
		display: none;
	}
}
