/*
 Theme Name:   Potsdamwebdesign Child-Theme
 Description:  Child-Theme
 Author:       Marcus Möller
 Author URI:   https://www.potsdamwebdesign.de
 Template:     hello-elementor
 Version:      1.0
 Text Domain:  potsdamwebdesign
*/


body, html {overflow-x: hidden !important;}
header#masthead nav ul li:nth-last-child(2) ul.sub-menu,
header#masthead nav ul li:nth-last-child(3) ul.sub-menu {left: auto !important; right: 0 !important;}
header#masthead nav ul li:nth-last-child(2) ul.sub-menu li a, .hfe-nav-menu a.hfe-sub-menu-item {display: block !important;}


header#masthead nav ul li a {cursor: pointer;}

header#masthead nav ul li li a i {display: block; font-size: 80%;clear:both; font-weight: 300;margin-top: 5px;}
header#masthead nav ul li.none a {opacity: 0.3; cursor: not-allowed;}
header#masthead nav ul li.none a:hover {color: #303336;}


.bdt-slideshow ul {aspect-ratio: 16 / 7 !important;}
.bdt-slideshow .bdt-prime-slider-footer-content>div:not(:first-child) {display: none !important;position: absolute !important;top: -9999px !important;left: -9999px !important;}

.wp-image-134, .wp-image-206 {width: 200px !important;transition: .5s ease-in-out;}
.wp-image-134.small-logo, .wp-image-206.small-logo {width: 111px !important; transition: .5s ease-in-out; height: auto !important;}

.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children ul a .sub-arrow i::before {
  content: '\f105' !important;font-family: "Font Awesome 5 Free";font-weight: 900;
}


.hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-arrow { float:right;}
.hfe-nav-menu__layout-horizontal ul .hfe-nav-menu .sub-arrow { margin-top: 0 !important;}

.gs_logo_single img {max-width:180px !important;}

#ep-events-container .ep-event-list-price,
#ep-events-container .ep-card-footer-wrap {display: none !important;}

.ep-box-title.ep-box-card-title.ep-text-truncate.ep-mb-2 {text-overflow: unset; white-space: normal;line-height: normal;font-family: "Roboto Flex", Sans-serif; font-size: 20px; font-weight: 600;color: var( --e-global-color-accent );}
.event-type {text-overflow: unset; white-space: normal;line-height: normal;font-family: "Roboto Flex", Sans-serif; font-size: 15px; font-weight: 400;color: var( --e-global-color-primary );margin-bottom: 15px;}
.ep-card-event-date-wrap.ep-d-flex.ep-fw-bold.ep-text-small>span {font-family: var( --e-global-typography-text-font-family ), Sans-serif !important; font-size: var( --e-global-typography-text-font-size ) !important; font-weight: var( --e-global-typography-text-font-weight ) !important; color: var( --e-global-color-text ) !important;text-align: center !important;}
.ep-box-card-content.ep-text-small.ep-p-3.ep-d-flex.ep-flex-column.ep-flex-1 {text-align: center !important;}
.ep-card-event-date.ep-d-flex.ep-text-muted,
.ep-event-details.ep-d-flex.ep-justify-content-between.ep-mb-2,
.ep-card-event-date-wrap.ep-d-flex.ep-fw-bold.ep-text-small {text-align: center !important; display: block !important;}


.elementor-element.akademie.wpr-sticky-section-no {--margin-bottom: 0px;margin-bottom: 0px;}

input.datenschutz, span.wpcf7-list-item {width: auto !important; min-width: 10px !important; margin-right: 10px !important;}
.kontaktformular { margin: 0 -5px; }
.wpcf7 .kontaktformular > div {padding: 0 5px !important;position: relative; overflow: hidden; display: block; background: transparent;}
.kontaktformular i { top: 15px; color: #615e5e; font-size: 14px; left: 17px; position: absolute; display: inline-flex; z-index: 999;}
.kontaktformular input, .kontaktformular textarea { border: 1px solid #6F6C6C !important; float: left !important; margin-bottom: 10px !important; padding: 10px 30px !important; width: 100% !important; border-radius: 0 !important;}
.kontaktformular input:disabled { color: #999999 !important;}
.datenschutz label {font-weight: 300; color: #606060;}
.datenschutz label input {width: auto; margin-right: 10px;}

@media (min-width: 992px) {
	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {float: left;}
	.col-md-2 {width: 16.66666667%;}
	.col-md-4 {width: 33.33333333%;}
	.col-md-5 {width: 41.66666667%;}
	.col-md-6 {width: 50%;}
	.col-md-8 {width: 66.66666667%;}
	.col-md-12 {width: 100%;}
}

/* AKADEMIE MENUE */

@media screen and (min-width:1024px) {

	body header#masthead .clubaktiv nav>ul>li:last-child>a {color: #ffffff !important; }
	body header#masthead .clubaktiv nav>ul>li:last-child>a:hover {color: #002951 !important; }
	body header#masthead .akademie nav ul li:nth-last-child(3) ul.sub-menu {left: 0 !important; right: auto !important;}
	body header#masthead .akademie nav ul li:nth-last-child(3) ul.sub-menu { width: 255px !important;}
	body header#masthead .akademie nav ul li:nth-last-child(3) ul.sub-menu ul { width: 180px !important;min-width: 180px !important;left: -180px !important;margin-top: 0 !important;}
	body header#masthead .akademie nav ul li:nth-last-child(5) ul.sub-menu ul { width: 180px !important;min-width: 180px !important;}
	body header#masthead .akademie nav ul li:nth-last-child(2) ul.sub-menu {width: 180px !important;min-width: 180px !important;}
	
	i._mi._before.dashicons.dashicons-admin-home {margin-bottom: -5px;}
	
	body #pojo-a11y-toolbar { top: calc(50% - 180px) !important; z-index: 9999 !important;}
	body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a { max-width: 50px;}
	body .bdt-prime-slider-skin-meteor .bdt-dotnav { margin-right: clamp(80px, 15vw, 150px);}
}

body .mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container:hover .event-title {text-decoration: none !important;}
.mptt-menu.mptt-navigation-select {display: none !important;}

table.mptt-shortcode-table.mptt-theme-mode tr td:first-child,
table.mptt-shortcode-table.mptt-theme-mode tr th:first-child { display: none; }

body .post .wp-post-image {
  max-height: 100%;
}


@media (max-width: 992px) {
	#pojo-a11y-toolbar {display: none !important;}
	h2.elementor-heading-title {hyphens: auto;}
}