/*
Theme Name: Hanseatics Child 2026
Description: hanseatics rich media
Version: 1.0
Template: harbor-2026
*/

/* =Theme customization starts here
------------------------------------------------------- */

:root{
  --light: #FFFFFF;
  --dark: #000000;
  --primary-color: #85a7ba;
  --secondary-color: #F0F1F2;

  --gray1-color: #EEE;
  --gray2-color: #CCC;
  --gray3-color: #AAA;
  --gray4-color: #2A2E31;

  --error-color: #EE5555;
}

@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-display: swap;
	src: local('Lato'),
		 url('assets/fonts/Lato-Regular.ttf') format('truetype')
}
@font-face {
	font-family: 'Lora';
	font-style: normal;
	font-display: swap;
	src: local('Lora'),
		 url('assets/fonts/Lora-Italic-VariableFont_wght.ttf') format('truetype')
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-display: swap;
	src: local('Montserrat'),
		 url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype')
}

#loader-wrapper{
	display: none!important;
}

.project-pagination .prev a:hover .arrow {
  left: 50%;
}

.project-pagination .next a:hover .arrow {
	right:50%;
}

.menu_standard .header .nav{
  margin-left: 35px;
}
@media only screen and (min-width : 769px) {
  .menu_standard .header .nav{
    margin-left: 0;
  }
}
@media only screen and (min-width : 1000px) {
  .menu_standard .header .nav{
    margin-left: 35px;
  }
}

.header .site-title{
  margin: 0;
}
@media only screen and (min-width : 769px) {
  .header .site-title{
    margin: 0 5px;
  }
}
@media only screen and (min-width : 1000px) {
  .header .site-title{
    margin: 0 35px;
  }
}

.header .nav li a{
  color: var(--gray4-color);
}

.footer{
  color: var(--gray4-color);
}
.footer .copyright a{
  color: var(--gray4-color);
  
}
.footer-social a{
  filter: brightness(0.5);
}

/* add google+ icon to footer */
.footer-social a.facebook-icon {
    background-position: 50% -91px;
}

.footer-social a.google-icon {
   background-image:url(assets/images/google-plus.png);
   background-size: 22px 18px !important;
   width: 22px;
}

/* add xing icon to footer */
.footer-social a.facebook-icon {
    background-position: 50% -91px;
}

.footer-social a.xing-icon {
   background-image:url(assets/images/xing.png);
   background-size: 22px 18px !important;
   width: 22px;
}


/* footer line break for small screens */
@media only screen and (max-width : 823px) {
	.footer .copyright {
		width: 100%;
    margin-left: 0 !important;
	}
}

@media only screen and (max-width : 823px) {
	.footer-social {
    margin-left: 0 !important;
	}
}

/* prevent late reflow on contact page caused by JS height adjustments */
.page-template-template-contact-php .contact-wrapper .entry-content {
	height: auto !important;
}

.page-template-template-contact-php .contact-wrapper .entry-content .center-vertical {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
	transform: none;
	-webkit-transform: none;
	-moz-transform: none;
	-ms-transform: none;
	-o-transform: none;
}

/* sidebar bug */
#menu-sidebar .menu-sidebar-inner {
	overflow-y: visible;
}

/* avoid first-paint jump: fixed header has 100px height */
#page-container {
	margin-top: 100px;
}

@media only screen and (max-width: 768px) {
	#page-container {
		margin-top: 0 !important;
	}
}

/* type */
h5 {
    font-weight: normal;
}

/* show lists */
.entry-content ul {
	list-style-type: disc;
	padding-left: 25px;
}

.entry-content li {
	display: list-item;
}




/* make intertitles or quotes wide */
@media only screen and (max-width : 823px) {
	.project-description blockquote, .page .entry-content blockquote{
		margin: 12% -30px 11%;
	}
}

@media only screen and (min-width : 824px) {
	.project-description blockquote, .page .entry-content blockquote{
		margin: 12% -60px 11%;
	}
}

@media only screen and (min-width : 1000px) {
	.project-description blockquote, .page .entry-content blockquote{
		margin: 12% -140px 11%;
	}
}

/* home welcome text style*/
@media only screen and (max-width : 823px) {
.home .entry-content blockquote{
		margin: 12% 0px 11%;
	}
}

@media only screen and (min-width : 824px) {
.home .entry-content blockquote{
		margin: 12% 0px 11%;
	}
}

@media only screen and (min-width : 1000px) {
.home .entry-content blockquote{
		margin: 12% 0px 11%;
	}
}

@media only screen and (min-width : 1300px) {
.home .entry-content blockquote{
		margin: 12% -100px 11%;
	}
}

.home .entry-content blockquote p{
  font-size: 3rem;
  line-height: 1.7em;
}
.home .entry-content blockquote h1{
  font-family: Lora, serif;
  font-size: 3rem;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
}


/* hide project number */
#post-count .project-number {
	display:none;
}


/* projectheader no txt */
.single-portfolio .entry-title {
	display:none;
}

/* iframe */
.embed-container iframe {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.responsive-iframe-container {
	margin-top: 20px;
	margin-bottom:20px;
}

.responsive-iframe-container iframe {
	margin: 0!important;
}


/* team template centered */
.team-grid{
	position:relative;
	margin-left:auto;
	margin-right:auto;
}

.med-grid .masonry-project, .med-grid .grid-sizer {
  width: 50%;
	max-width: 450px;
	z-index: 3;
}

.jp-interface,
.entry-content .mejs-container,
.entry-content .mejs-container .mejs-controls {
	height: auto !important;
}

#termslink{
	margin-left: 3rem;
}

/* contact */
#post-28 .entry-title {
	display:none;
}

#post-28 article .center-vertical {
  top: 0;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

/* contact-template in hanseatics colors */
.contact-alert.success {
	background-color: var(--primary-color);
}

.contact-alert.fail {
	background-color: var(--primary-color);
}

/* contact form button*/
.contactform .submit .button {
  background-image: url(assets/images/submit-arrow.png)!important;
  background-position: right !important;
}

/* contact form textarea*/
#BeanForm textarea, #BeanForm input[type="text"], #BeanForm input[type="email"] {
  color: var(--gray4-color);
}

/* contact form error */
.contact-alert.fail {
  position: relative;
  background-color: var(--secondary-color);
  color: var(--error-color);
  margin-bottom: 4rem;
  width: 100%;
  opacity: 1;
  font-size: 12px;
}
.contact-alert.success {
    padding: 1rem 10%;
    font-size: 14px;
}
.contact-alert.success .center-vertical {
    padding: 1rem 10%;
}

input.error, textarea.error, input.error:hover, input.error:focus, textarea.error:hover, textarea.error:focus {
    border-color: var(--error-color)!important;
    color: var(--error-color)!important;
}

/*comment form*/
.comment-form input[type="submit"] {
  background-image: url(assets/images/submit-arrow.png) !important;
  background-position: right !important;
}
#cancel-comment {
  position: relative;
  margin-bottom: 10px;
  left: 0;
  top: 0;
}
.comment-form textarea {
   resize: none;
}

/* 404 page */
body.error404 .entry-content {
  top: 25%;
  color: var(--gray1-color);
}
body.error404 .entry-content a{
  color: var(--gray1-color);
}
body.error404 .entry-content p{
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 12px;
  line-height: 20px;
  margin-bottom: 1rem;
}
.error-logo {
  background-color: var(--gray1-color);
}
.contact404{
  margin-top: 2rem;
}
.contact404 p{
  color: var(--gray3-color);
  font-size: 11px !important;
  line-height: 14px !important;
  text-transform: none !important;
}

/* cookie info bar */
#cookieChoiceInfo{
  /*font-family: 'Lora', serif;*/
  font-family: 'Lato', sans-serif;
  background-color: var(--secondary-color) !important;
  padding: 1rem !important;
}
#cookieChoiceInfo span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 14px;
}
#cookieChoiceInfo a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  border: 1px solid var(--gray2-color);
  padding: 0.5rem 0.75rem;
}
#cookieChoiceDismissIcon{
  width: 36px !important;
  height: 36px !important;
  background-color: var(--secondary-color) !important;
  background-position: 50% 50% !important;
}


/* MOBILE */
@media only screen and (max-width: 720px){

	.med-grid .masonry-project, .med-grid .grid-sizer {
	  width: 100%;
		z-index: 1;
		max-width: none;
	}

  body.menu_fullscreen_open {
      position: fixed;
  }
  body.menu_fullscreen_open .header {
      height: 1px;
      position: fixed;
  }
  body.menu_fullscreen_open .menu-fullscreen{
    position: fixed;
    overflow: visible;
  }
  body.menu_fullscreen_open .menu-fullscreen ul{
    margin: auto auto;
  }

  .bean-btn{
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .form-submit #submit {
      background-size: auto!important;
  }
}

#CybotCookiebotDialog button{
	color: var(--gray4-color) !important;
}
#CybotCookiebotDialog button#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll{
	color: var(--light) !important;
}
#CookiebotWidget button{
	color: var(--gray4-color) !important;
}
#CookiebotWidget #CookiebotWidget-btn-change{
	color: var(--light) !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
	border-color: var(--error-color);
	font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Lato', sans-serif;
}
