/*
Theme Name: Hestia Child
Theme URI: https://www.themeisle.com/
Description: This is a custom child theme I have created.
Author: ThemeIsle
URI: https://www.themeisle.com/
Template: hestia    
Version: 0.3
*/
/* sidebar mobile */
@media (max-width: 1025px){
.blog-sidebar-wrapper{
   display: none;
}}


/* fix the line break issue */
body .blog-post .section-text p {
	margin: 0 0 15px !important;
} /* p > :last-child { margin-bottom: 15px !important; } */


/* title gradient */
.header-filter-gradient {
    background: linear-gradient(45deg, #00A0E5 0%, #F1F7FA 100%);
}


/* full height page header background image on homepage only */
.home .page-header{
	height: 100vh !important;
}


/* header image bottom aligned, not center */
.header-filter {
    background-position: center bottom;
}
/* 40% transparency instead of 50% */
.header-filter::before {
  background-color: rgba(0, 0, 0, 0.4);
}
/* header image for front-page center aligned */
#primary-frontpage .header-filter {
    background-position: center center;
}


/* padding between header and content */
.section {
    padding: 40px 0;
}


/* header image black overlay */
.page-header.header-small .header-filter::before {
    background-color: rgba(0, 0, 0, 0);
}


/* disable title for nextgen Gallery */
.sl-caption {
display: none !important;
}


/* image gallery no shadow and curved edges */
.gallery img {
    border: none !important;
    border-radius: 3px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}


/* container2 for header without top/bottom padding */
.container2 {
  max-width: 100%;
}
@media (min-width: 749px) {
  .container2 {
    max-width: 748px;
  }
}
@media (min-width: 768px) {
  .container2 {
    max-width: 750px;
  }
}
@media (min-width: 992px) {
  .container2 {
    max-width: 970px;
  }
}
@media (min-width: 1200px) {
  .container2 {
    max-width: 2000px;
  }
}
.container2{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}
@media (min-width:768px){.container2{width:750px}}
@media (min-width:992px){.container2{width:970px}}
@media (min-width:1200px){.container2{width:1170px;}}


/* highlight parent and child in navbar/menu */
/* Memo: current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor*/ 
.current-menu-ancestor { /* parent menu */
  color: #4E87CA; 
}
ul.dropdown-menu > li/*.menu-item*/.current-menu-item.page_item.current_page_item.active a {  /* child menu */
  color: #4E87CA;
}
li.current_page_item a { /* side bar */
  color: #4E87CA;
}
.blog-sidebar li.current_page_item { /* side bar */
  border-bottom:2px solid #4E87CA;
  margin-right: 30px;
}


/* reducded the margin to bottom for header title */
h1.title, h1.hestia-title, .pricing h2.title, .pricing h2.hestia-title, .contactus h2.title, .contactus h2.hestia-title {
    margin-bottom: 10px;
}

/* front-page, blog tiles */
.card-blog {
    /*margin-top: 30px;*/
	margin-top: 0px;
	/*border-radius: 6px;*/
	border-radius: 0px;
	padding: 10px;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
	height: 100%;
}
.col-ms-1, .col-ms-2, .col-ms-3, .col-ms-4, .col-ms-5, .col-ms-6, .col-ms-7, .col-ms-8, .col-ms-9, .col-ms-10, .col-ms-11, .col-ms-12 {
    padding-left: 18px;
    padding-right: 18px;
	padding-bottom: 30px;
}
/*.hestia-blog-item - TILEs {
}*/
.hestia-blog-content .row {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}
.hestia-blogs article:nth-of-type(6n+1) .category a, .related-posts div:nth-of-type(6n+1) .category a { color: #4E87CA; }
.hestia-blogs article:nth-of-type(6n+2) .category a, .related-posts div:nth-of-type(6n+2) .category a { color: #4E87CA; }
.hestia-blogs article:nth-of-type(6n+3) .category a, .related-posts div:nth-of-type(6n+3) .category a { color: #4E87CA; }
.hestia-blogs article:nth-of-type(6n+4) .category a, .related-posts div:nth-of-type(6n+4) .category a { color: #4E87CA; }
.hestia-blogs article:nth-of-type(6n+5) .category a, .related-posts div:nth-of-type(6n+5) .category a { color: #4E87CA; }
.hestia-blogs article:nth-of-type(6n+6) .category a, .related-posts div:nth-of-type(6n+6) .category a { color: #4E87CA; }
.card-image {
	width: 100%;
	margin: 0 auto !important;
	height: auto !important;
}
.card .card-image {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.card-plain .card-image {
    border-radius: 0px;
}
.card-plain .card-image img {
    border-radius: 0px;
}
.card .card-image img, .card-no-width .card-image img {
    border-radius: 0px;
	/*display: none;*/
}
.card-blog .card-image {
    border-radius: 0px;
}
.card-plain .content {
    padding-right: 5px;
    padding-left: 20px;
}
.card-blog {
    padding: 0px;
}
.card-image .wp-post-image {
	/*display: block;*/
	/*max-width:360px !important;*/
	max-height:100px !important;
	width: auto;
	height: auto;
  	object-fit: cover;
}
article.hestia-blog-item .card {
    margin-bottom: 0px;
}

/* Removes Padding above and under Elementor Content Area */
.hestia-about{
	padding: 0px;
} 


/* typograohy properties */
.blog-post .section-text p {
	font-size: 1.2em;
	font-weight: normal;
	margin: 0px !important;
}
.blog-post .section-text h2 {
	font-size: 2.6em;
	line-height: 1.3em !important;
	font-weight: 600;
	margin: 0px !important;
}
.blog-post .section-text h3 {
	font-size: 2.3em;
	line-height: 1.1em !important;
	font-weight: 600;
	margin: 0px !important;
}
.blog-post .section-text h4 {
	font-size: 2.0em;
	line-height: 1.2em !important;
	font-weight: 500;
	margin: 0px !important;
}
.blog-post .section-text h5 {
	font-size: 1.7em;
	line-height: 1.2em !important;
	font-weight: 500;
	margin: 0px !important;
}
.blog-post .section-text h6 {
	font-size: 1.4em;
	line-height: 1.2em !important;
	font-weight: 500;
	margin: 0px !important;
}


/* contact form */
.form-row{
width: 100%;
}
.column-full{
float: left;
position: relative;
padding: 0.65rem;
width:100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.column-half{
float: left;
position: relative;
padding: 0.65rem;
width:50%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.form-control {
	border:1px;
}

/* search buttons */
.hestia-blogs article:nth-of-type(6n+1) .card-body .btn, .category h6 {
    background-color: #4E87CA;
}
.hestia-blogs article:nth-of-type(6n+2) .card-body .btn {
    background-color: #4E87CA;
}
.hestia-blogs article:nth-of-type(6n+3) .card-body .btn {
    background-color: #4E87CA;
}
.hestia-blogs article:nth-of-type(6n+4) .card-body .btn {
    background-color: #4E87CA;
}
.hestia-blogs article:nth-of-type(6n+5) .card-body .btn {
    background-color: #4E87CA;
}
.hestia-blogs article:nth-of-type(6n+6) .card-body .btn {
    background-color: #4E87CA;
}

/* navbar font size */
.navbar, .navbar a, .label, .footer .footer-menu a, .media-footer a, .hestia-top-bar {
    font-size: 13px;
}

/* Forced font for image-box (Freizeit/Kultur) */
.elementor-image-box-title {
    font-family: Montserrat !important;
}


/*.section {
    padding: 0px 0;
}
.col-md-3.blog-sidebar-wrapper {
	background-color: gray;
}
div.col-md-8.page-content-wrap div {
    padding: 5px 0;
}
article.section.section-text div.row {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}
.blog-sidebar {
    height: 100%;
	padding-top: 50px;
}*/

/* Side bar visual appearance */
.blog-sidebar{
	/*background-color: #FAFAFA;*/
    border: none !important;
    border-radius: 3px;
	padding: 5px;
}
.widget.advanced-sidebar-menu {
    margin-bottom: 0px;
    padding-top: 15px;
}

/* content */
div .col-md-8.page-content-wrap {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
	padding: 25px;
	border-radius: 6px;
}

/* contact form background shadow */
.wpcf7 input, .wpcf7 textarea {
    -webkit-box-shadow: 0 1px 4px #00000029 !important;
    -moz-box-shadow: 0 1px 4px #00000029 !important;
    box-shadow: 0 1px 4px #00000029 !important;
	margin-top: 5px;	
}

/* categories category-bilder + category-amtliche-bekanntmachung */
article.category-bilder .card-image img, article.category-amtliche-bekanntmachung .card-image img {
  height: 200px;
  object-fit: cover;
}

/* change hover color to white (for blue buttons), instead of blue */
.btn:hover/*, .btn:focus, .btn.focus*/ {
    color: #ffffff !important;
}

/* front page tile category text */
h6.tile-tag {
  border-radius: 20px;
  padding-top: 5px; 
  padding-bottom: 5px; 
  padding-left: 10px;
  padding-right: 10px;
  display:inline-block;
}
h6.Aktuelles {
  background: #ffcc01; /*#f9dc5e;*/
}
h6.AmtlicheBekanntmachung {
  background: #f55453;
}
h6.Bilder {
  background: #70daf1;
}
.hestia-blogs .card-blog h6.category a {
  color: #FFF; 
}

/* background main + article */
.main {
  background-color: #eee;
}
.blog-article-page, .article-page, .blog-post-fullscreen {
  background-color: white;
}
/* calendar */
.card-blog, .mec-event-article {
  background-color: white;
}
#next-date2 .mec-weeks-container.mec-calendar-d-table {
	display:none;
}
#next-date2 .mec-calendar-d-top {
	display:none;
}
.mec-event-footer {
	display:none;
}
#next-date2 .mec-month-navigator {
	display:none;
}

/* change default column gap to "no gap"*/
.elementor-column-gap-default
{
	padding: 0;
}

.page-content-wrap, .page-content-wrap dl, .page-content-wrap ol, .page-content-wrap table, .page-content-wrap ul, .page-template-template-fullwidth article, .page-template-template-fullwidth article dl, .page-template-template-fullwidth article ol, .page-template-template-fullwidth article table, .page-template-template-fullwidth article ul, .single-post-wrap, .single-post-wrap dl, .single-post-wrap ol, .single-post-wrap table, .single-post-wrap ul {
    font-size: 100%;
}

.navbar .navbar-nav>li a {
 font-family: Montserrat;
}
.advanced-sidebar-menu ul li a {
 font-family: Montserrat;
}
body, ul, .tooltip-inner {
 font-family: Montserrat !important;
}

/* fix header-menu in one line */
.navbar.hestia_left .title-logo-wrapper {
	min-width: 200px;
}