/*
 Theme Name:   AMH TUHH
 Theme URI:    https://amh.tuhh.de
 Description:  AMH Theme based on TUHH Design
 Author:       Mohamed Sakhri - Team AMH
 Author URI:   https://amh.tuhh.de
 Template:     twentytwentyone
 Version:      1.0.0
 Text Domain:  amhtuhh
*/

/* top nav menu open */
.is-locked .page {
	position: inherit;
}

/* Image in navigation menu*/
.quicklinks__illu {
	position: relative;
	margin-top: -20px;
	left: 0;
	right: 0;
}

.find-content__links {
	padding-bottom: 80px;
	display: flex;
	justify-content: center;
}
.find-content__main__inner {
	color: #005e73;
	border-left: 47px solid #5affc5;
	padding: 0;
}

.find-content__main__inner__content{
    border: 1px solid #00c1d4;
	padding: 80px 20px;

}

.subnav {
	padding: 10px;
	padding-bottom: 0;
	position: relative;
	z-index:2;
	margin-bottom: -20px;
	background: #00c1d4 !important;
}
.subnav a {
	color: #2C5458
}

a:hover, a:active, a:focus {
	text-decoration: none;
}

li.current-menu-item > a, li.current_page_item > a {
	background-color: #91f5ff !important;
}

li.current-page-ancestor > a, li.current-menu-ancestor > a {
	background-color: #e5fdff !important;
}
.subnav li {
	margin: 0 0 4px;
    background: whitesmoke;
    border-radius: 2px;
}

.subnav li li ul {
	border: none;
}

.page__content .container {
	display: flex;
	flex-wrap: wrap;
}

.page__content .container article {
	padding-top: 20px;
	flex: 66%;
	margin-bottom: 2rem;
}
.page__content .menu-sidebar-container, .page__content .container #extras {
	background: #00c1d4;
}
.page__content .container #extras {
	flex: 30%;
	margin-left: 3%;
	border-left: 1px solid #6ddbe6;
	margin-top: 1rem;
}

.ab-block-accordion {
	border: 1px solid #00c1d4;
}
.ab-block-accordion .ab-accordion-title {
	color: #005e73;
	padding: 15px;
	background: #fff;
}
.entry-footer {
	padding-top: 2rem;
	clear: both;
}
.uagb-tabs__panel .uagb-tab.uagb-tabs__active {
	background-color: #00c1d4 !important;
}

.uagb-tabs__panel .uagb-tab.uagb-tabs__active a {
	color: #FFF;
}

.uagb-tabs__body-wrap {
	border: 1px solid #00c1d4 !important;
}

.uagb-tabs__panel {
	border-bottom: 0 !important;
}
/* hide tuhh menu on mobile devices */
.header__nav.js-nav-main.is-active {
	display: none;
}
.sub-menu-toggle {
	display: none;
}

/* tabs */


@media (max-width: 1023px) {
	.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet ul.uagb-tabs__panel, .uagb-tabs__wrap.uagb-tabs__vstyle6-tablet .uagb-tabs__body-wrap, .uagb-tabs__wrap.uagb-tabs__vstyle6-tablet {
		margin: auto;
		flex-direction: column !important;
		align-items: center;
	}
	
	.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile .uagb-tabs__body-wrap, .uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel .uagb-tab, .uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel   {
		max-width: 100%;
		width: 100%;
	}	
	a.uagb-tabs-list {
		display: block;
		width: 100%;
		justify-content: center;
}
}

@media (max-width: 767px) {
	.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile {
		flex-direction: column;
		align-items: center;
	}
	.uagb-tabs__wrap.uagb-tabs__vstyle6-mobile .uagb-tabs__body-wrap, .uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel .uagb-tab, .uagb-tabs__wrap.uagb-tabs__vstyle6-mobile ul.uagb-tabs__panel   {
		max-width: 100%;
		width: 100%;
	}
	/* for page: Kooperation */
	.partnernetwork .wp-block-image img {
		max-width: 200px;
	}
}
/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 974px) {
  .page__content .container article, .page__content .container article {
	  flex: 100%;
	  display: contents;
  }
  .page__content .container #extras {
	  margin-left: 0;
	  display: none;
	}
		/* mobile mneu open */
.is-locked .page__content .container #extras {
	position: fixed;
	top: 50px;
	right: 0;
	display: block;
	max-height: 100%;
	overflow-y: scroll;
	width: 100%;
	z-index:99;
}

is.locked {
	overflow-y: scrollbar;
}
}
@media (min-width: 974px) {
	.uagb-tabs__wrap.uagb-tabs__hstyle2-desktop ul.uagb-tabs__panel {
		width: 80%;
		margin: auto;
	}
	.uagb-tabs__wrap ul.uagb-tabs__panel li.uagb-tab {
		min-width: 18%;
	}
	
	/* boxes on the start page*/
	.find-content__links__link {
		flex-basis: 50%;
		max-width: 50%;
	}
	.find-content__links__inner {
		justify-content: center;
		max-width: 99%;
	}
	
	/* sidebar on desktops */
	#menu-sidebar {
		margin-top: 0;
	}
}
.primary-navigation.device-l {
	display: none;
}
.module--footer .container {
	display: block;
}

.page {
	overflow: auto !important;	
}
.subnav li {
	font-size: 100% !important;
}
.subnav li li {
	font-size: 88% !important;
}

.entry-header {
	padding-bottom: 20px;
}
.entry-header .entry-title{
	color: #005e73;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.4;
}
p {
	line-height: 1.55;
}
body {
	background: #fff;
	color: #484848;
}

:root {
	/* Font Size */
	--global--font-size-base: 1.25rem;
	--global--font-size-xs: 1rem;
	--global--font-size-sm: 1.125rem;
	--global--font-size-md: 1.25rem;
	--global--font-size-lg: 1.5rem;
	--global--font-size-xl: 1.75rem;
	--global--font-size-xxl: 2rem;
	--global--font-size-xxxl: 2.5rem;
	--global--font-size-page-title: var(--global--font-size-xxl);
	--global--letter-spacing: normal;
}

.languages .lang_not_available {
	color: #aaa;
}
#menu-sidebar .sub-menu-toggle {
	display: none;
}

.home-button-blue {
    min-width: 100%;
    background-color: #02638b !important;
    padding: 10px 0;
    text-align: center;
    vertical-align: center;
    min-height: 60px;
    display: flex !important;
    margin: auto;
}

.home-button-blue:hover {
	background-color: #005476 !important;
}

.home-button-blue .wp-block-button__link {
	background-color: transparent;
}
.home-button-blue a {
	color: #fff !important;
	text-decoration: none !important;
	font-size: 140%;
	margin: auto;
}

.text ol, .text ul {
    overflow: inherit !important;
}
.text h1, .text h2, .text h3, .text h4, .text h5, .text h6 {
    display: block;
    clear: both;
    padding: 10px 0 20px 0 !important;
    font-size: 250%;
    font-weight: bold;
    word-wrap: break-word;
    line-height: 1.25em !important;
}

.partnernetworklogo img {
    height: 40px !important;
    object-fit: scale-down;
    object-position: left;
}

.partnerlogo {
	text-align: center;
}
.partnernetworklogo {
	text-align: left;
}

.partnerlogo img{
    height: 30px;
    width: auto;
    padding: 5px;
    object-fit: scale-down;
}

.partnerlogo.sponsor img {
    height: 50px;
}
/* Teamseite */

.page-id-16 .text hr {
    width: auto;
	min-width: 100%;
    margin: 0.5em 0;
    border: 2px solid #e0e0e0;
    height: 1px;
    color: #e0e0e0;
    background-color: #e0e0e0;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.subnav ul, .subnav ol {
	padding-left: 0 !important;
}

.text ul, .text ol {
    padding: 8px 0 20px 35px !important;
}

 .menu > li.current-menu-item  > a, .menu > li.current_page_item > a, .menu > li.current-page-parent > a, .menu > li.current-menu-parent > a, .menu > li.current-page-ancestor > a, .menu > li.current-menu-ancestor > a{
    font-weight: bold !important;
}

.page-id-20 .grecaptcha-badge, 
.page-id-230 .grecaptcha-badge { 
	visibility: visible; 
}

.grecaptcha-badge { 
	visibility: hidden; 
}

/* Contact formular */
.form-control {
	border-radius: 4px !important;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: .9375rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    /* transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; */
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(17,119,209,.25);
    box-shadow: 0 0 0 0.2rem rgba(17,119,209,.25);
}

.form-group {
    margin-bottom: 1rem;
}

.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
	width: 100%;
	margin-bottom: 1em;
}

.wpcf7-submit.wpcf7-form-control {
	margin-top: 2em;
}

.btn-primary {
    color: #fff;
    background-color: #1177d1;
    border-color: #1177d1;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #1177d1;
    border-color: #1177d1;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0e63ae;
    border-color: #0d5ca2;
}

.btn:disabled {
    opacity: .65;
}

.btn-block {
    display: block;
    width: 100%;
}

.text-danger, .notconnected, .que .validationerror, .text-error {
    color: #d9534f!important;
}


/* Details HTML für Helena*/
details summary {
  cursor: pointer;
}

/* Noch zu klären, ob beim neuen Theme notwendig ist, da Konflikt mit Akkordion */
/* 
details summary:before {
    content: "";
    border-color: transparent black;
    border-width: 0.35em 0 0.35em 0.45em;
    border-style: solid;
    display: inline-block;
    height: 0;
    width: 0;
    position: relative;
    transform: rotate(0deg);
    margin: 0 0.5em 0 0.15em;
}
*/

details[open] summary:before {
  transform: rotate(90deg);
}

details summary.h1 {
  font-size:2rem;
}

details summary.h2 {
  font-size:1.5rem;
}

details summary.h3 {
  font-size:1.2rem;
}

details summary.h4 {
  font-size:1rem;
}

details summary.h5 {
  font-size:0.8rem;
}

hr.line {
  height: 1.3px;
}

/* ############## FROM OLD TUHH DESIGN FOR THE AMH NAVIGATION */


/* EXTRAS
--------------------- */
.box {
	background: rgba(255, 255, 255, 0.95);
}
.box h3 {
	margin: 0 0 10px 0;
	font-size: 170%;
	font-weight: bold;
	color: #000;
}
.box p {
	margin: 0 0 10px 0;
	font-size: 140%;
}
.box p .more {
	display: block;
	font-style: normal;
}
.box p .more a {
	display: block;
	background: #DE3123;
	margin: 15px -9px -18px -10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 10px;
	-webkit-box-shadow: 1px 1px 1px #000;
	-moz-box-shadow: 1px 1px 1px #000;
	box-shadow: 1px 1px 1px #000;
	-webkit-transition: background 300ms ease-in-out;
	-moz-transition: background 300ms ease-in-out;
	-o-transition: background 300ms ease-in-out;
	transition: background 300ms ease-in-out;
	color: #fff;
	text-align: center;
}
.box p .more a:hover,
.box p .more a:active,
.box p .more a:focus {
	background: #000;
	text-decoration: none;
}
/* Contact Box */
.box .contact-inner {
	background-image: url(../img/bgs/phone.png);
	background-position: 96% 50%;
	background-repeat: no-repeat;
	padding-right: 75px;
}
.box p.phone {
	margin-bottom: 5px;
	font-size: 160%;
	font-weight: bold;
	letter-spacing: -1px;
}
/* Login Box */
.login .form-row {
	padding-top: 10px;
}
.login label {
	display: block;
	padding: 0 0 3px 0;
	font-size: 140%;
}
.login input {
	width: 255px;
}
/* Subnavigation */

.subnav .back {
	margin-bottom: 0;
}
.subnav .back a {
	display: block;
	background: url(../img/icons/sprite-1.png) 15px -4384px no-repeat;
	border-bottom: 1px solid #ccc;
	padding: 12px 5px 12px 34px;
}
.subnav ul {
	list-style: none;
}
.subnav li {
	font-size: 170%;
}
.subnav li a,
.subnav li strong {
	display: block;
	padding: 12px 15px;
}
.subnav li.open a {
	font-weight: bold;
	background-color: #EFF3DC;
}
.subnav li strong {
	font-weight: bold;
	background-color: #D0DE9B;
}
.subnav li li {
	font-size: 88.2%; /* 15px */
	font-weight: normal;
}
.subnav li li a,
.subnav li.open li a,
.subnav li li strong {
	background: url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 15px -4588px  no-repeat;
	padding: 8px 15px 8px 32px;
	font-weight: normal;
	word-wrap: break-word;
}
.subnav li.open li.open a {
	background: #EFF3DC url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 15px -5486px no-repeat;
	padding-left: 34px;
}
.subnav li li.on strong {
	background: #D0DE9B url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 15px -4788px no-repeat;
}
.subnav li li.open strong {
	background: #D0DE9B url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 15px -5486px no-repeat;
	55px -4788px
}
.subnav li li li {
	font-size: 100%;
}
.subnav li li li:first-child {
	background: none;
}
.subnav li li li a,
.subnav li.open li.open li a,
.subnav li li li strong {
	background: transparent url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 40px -4588px no-repeat;
	border-bottom: none;
	padding: 8px 15px 8px 53px;
	font-weight: normal;
}
.subnav li li li strong {
	position: relative;
	background-color: #D0DE9B;
	background-position: 32px -4788px;
	margin-bottom: -1px;
}
.subnav li.open li.open li.open a {
	background: #EFF3DC url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 36px -5486px no-repeat;
}
.subnav li li li strong {
	background: #D0DE9B url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 32px -4788px no-repeat;
}
.subnav li li li.open strong {
	background: #D0DE9B url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 36px -5486px no-repeat;
}
.subnav li li li.on strong {
	background: #D0DE9B url(https://www.tuhh.de/fileadmin/TUHHrelaunch/aperto//img/icons/sprite-1.png) 39px -4788px no-repeat;
}
.subnav li li li ul {
	border-bottom: none;
}
.subnav li li li li {
	background: none;
}
.subnav li.open li.open li.open li a {
	background-color: transparent;
	background-position: 55px -4588px;
	padding-left: 65px;
}
.subnav li.open li.open li.open li strong {
	background-position: 55px -4788px;
	padding-left: 65px;
}

/* for the page: Studie: Die MINTFIT Wirksamkeitsanalyse*/
#post-649 .entry-content details {
 	padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #00c1d4;
}

#post-649 .entry-content details summary {
	color: #005e73;
	background: #fff;
}

/* for the page: Kooperationen */ 
.partnernetwork .wp-block-image img {
	height: 75px;
	width: auto;
	object-fit: scale-down;
	object-position: left;
}

/* contact forms */
.wpcf7-text, .wpcf7-email, .wpcf7-textarea, .wpcf7-quiz, .wpcf7-select, .wpcf7-number, .wpcf7-date {
	background-color: #e8f0fe;
	border: 1px solid #009eac;
	border-radius: 4px;
	margin-top: 10px;
    -webkit-transition: border-color ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s;
    transition: border-color ease-in-out .15s;
}

.wpcf7-text, .wpcf7-email, .wpcf7-select, .wpcf7-number, .wpcf7-date {
	height: 36px;
}

.wpcf7-list-item {
	margin: 1em 0;
}

.button--primary-dash {
	border-radius: 4px;
}
/* lists in articles */

.entry-content ul li, .entry-content ol li{
	padding: 5px;
}

ul.list-style-none {
	list-style: none;
}

/* Youtube Gallery */
.yotu-copyright {
	display: none;
}

.yotu-videos.yotu-mode-grid h3, .yotu-videos .yotu-video h3 {
	text-align: center;
	color: #005e73 !important;
}

.img-radius-4x figure, .img-radius-4x figure img {
	border-radius: 4px;
}

.img-radius-4x figure {
		box-shadow: 10px 10px 10px #ddd;
}

.media-block {
	clear: both;
}

.btn-full-width, .btn-full-width a {
	width: 100%;
}

/* password form for pages or blogs */

.post-password-form label, .post-password-form input {
	margin-right: 1em;	
}


/* New changes in footer 
@media screen and (min-width: 980px) {
	.footer__quicklinks__left {
	margin-left: 0 !important;
	}
}
*/

@media (max-width: 29.99em) {
	.footer__quicklinks__right {
    	margin-top: 16px !important;
	}
}

@media (max-width: 61.24em) {
	.footer__top {
    	padding: 40px 0 60px !important;
	}
}

@media (min-width: 30.00em) {
	.footer__quicklinks__right {
		margin-top: 0 !important;
	}
}

/*
.footer__bottom {
    display: flex !important;
	align-items: flex-start;
	padding: 16px 0 20px !important;
}

@media (min-width: 61.25em) {
	.footer__top {
		padding: 60px 0 0px !important;
	}
}
*/

h2.wsp-pages-title {
	display: none;
}