/*
 Theme Name:   UnderStrap Child: HDpublish AAD
 Theme URI:    https://aad-kongress.de
 Description:  UnderStrap Child Theme
 Author:       Benjamin Bedekovic
 Author URI:   https://HDpublish.com
 Template:     understrap
 Version:      1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-cild-ingconcept
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready

main color:  #6e8ba5
light grey: #f0f2f5
orange: #f49e00
*/

:focus {outline:0 !important;}

body {font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;color: #6e8ba5;}
a {color: #f49e00; text-decoration: none;}
a:hover {color: #f49e00; text-decoration: underline;}
h1 {font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 400; font-size: 1.55rem; line-height:2rem; margin-bottom: 4rem; padding-top: 1rem;}
h2 {color: #f49e00;font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 400; font-size: 1.55rem; line-height:2rem; margin-bottom: 1.1rem; padding-top: 0rem;}
h3 {font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 400;font-size: 1.25rem; line-height:2rem; margin-bottom: 1.1rem; }
h4 {border-top: 1px solid #6e8ba5; font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 100; font-size: 1.50rem; line-height:2rem; margin-bottom: 1.1rem; padding-top: .25rem;}
h5 {font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 400;font-size: 1.2rem; margin-bottom: 1.1rem;}
h6 {font-family:  'Open Sans', Verdana, Helvetica, Arial, sans-serif;font-weight: 400;font-size: 1rem; margin-bottom: 1rem;}
li.dropdown-menu:active,
li.dropdown-menu:hover{background: #f0f2f5;}
.dropdown-item.active, .dropdown-item:active {background: #999;}
ul.menu{/*display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;*/padding-left: 0;margin-bottom: 0;list-style: none;}
ul.menu li{margin-right: 1rem;}
ul.menu li a{color: #f49e00;}
span.logo {color:white; font-size:2rem;text-transform:capitalize;font-variant:small-caps;font-weight:bold;line-height: 1.25rem}
span.logo small {font-size: 60%; margin-top: -0.5rem}

#footer-full-content {color:#6e8ba5;font-size: 0.8rem; line-height: 1.2rem;margin-bottom: 1rem; margin-top:2rem;padding-left: 18px;}
#footer-full-content .widget-title{color:#6e8ba5;font-size: 0.8rem;font-weight: bold; line-height: 1.2rem; margin-bottom: 0;}
#footer-full-content a {color:#6e8ba5;text-decoration: none;}
#footer-full-content a:hover {color:#666666;text-decoration: underline;}
#footer-full-content .copyright {display:block;padding-left:12px;padding-top:24px;}
#footer-full-content .widget_nav_menu {margin-bottom: 2rem;}
#main {width: 100%;}
#nav_menu-2 {max-width: 70% !important;}
#wrapper-footer-full {background-color: transparent;}
#wrapper-static-hero {background-color: transparent; padding-top: 0rem;margin-bottom: 4rem;}
#wrapper-static-hero .widget-title {font-size: 150%;}

.entry-content .wp-block-media-text {margin-bottom: 12px; text-align:left;margin-left:0;}

.accordion .card {background: #fff;}
.accordion .card-header {background: #fff;border-bottom: 0;border-top: 1px solid #ddd; padding-left: 0;}

.btn {border-radius: 0;}
.btn-primary {color: #6e8ba5!important;background-color: #eff3f7!important;border-color: #eff3f7!important;}
.btn-primary:active,
.btn-primary:hover,
.btn-primary.active{color: #fff!important;background-color: #6e8ba5!important;border-color: #6e8ba5!important;}
.btn-secondary {background-color: #eee;border-color: #6e8ba5;}
.btn-aad {border:0;color:#f49e00;margin-top:24px;padding:0;}
.btn-aad:active,
.btn-aad:hover,
.btn-aad.active {background: transparent; border:0;color:#6e8ba5;padding:0;}

button.dt-button, div.dt-button, a.dt-button, input.dt-button {color: #6e8ba5;}
button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled), input.dt-button:hover:not(.disabled){color: #fff!important;}

.card-deck .col-md-2 {padding-left: 0; padding-right: 0;}
.card-deck .col-md-3 {padding-left: 0; padding-right: 0;}
.card-deck .col-md-4 {padding-left: 0; padding-right: 0;}
.card-deck .col-md-6 {padding-left: 0; padding-right: 0;}

.card {background-color: rgba(214, 224, 226, 0.2); border-radius:0; border:0;margin: 12px 0;}
.card6 {padding: 0.25rem; }
.card6 h6 {font-size: 90%; }
.card:hover {background: #ddd;}
.accordion .card:hover {background: #fff;}
.c-accordion__title:after { position: absolute; top: 50%; right: 0;font-family: FontAwesome; content: "\f107"; color: #6e8ba5;font-weight: 300; transform:translateY(-50%)}
.is-open .c-accordion__title:after { content: "\f106"; font-family: FontAwesome;}

.card h5 {font-size:100%; font-weight:bold;}
.card-img-top {border-radius: 0;}
.carousel-item img {height: auto;width: 100%!important;max-height: 360px;object-fit: cover;-webkit-filter: grayscale(10%); filter: grayscale(10%);} 
.container {background: rgba(255, 255, 255, 0.83);max-width: 1060px;padding-bottom: 2rem;}

.dropdown-menu{border-radius: 0; border:0;}
.dropdown-menu.show {background: #f0f2f5;background-color: #fff;
border-radius: 0px;
box-shadow: 0 .5em 1em -.125em rgba(10,10,10,.1),0 0 0 1px rgba(10,10,10,.02);min-width:212px;}
 

  .dropdown-menu.show .nav-link{
	position:relative;
	z-index:12;
  }
  .dropdown-menu.show:after{
	z-index:10; opacity:1; 
	visibility:visible;
	position: fixed;
  }
.dropdown-item {padding: 2px 9px;}
.dropdown-toggle::after { display:none;}

.edit-link {display: none;}
.entry-footer {display:none;}
.entry-meta {display:none;}
.form-control {border-radius: 0;}

.home h1 {margin-bottom: 1.5rem !important;}
.home .col-md-7 {padding-left: 0;}
.home .entry-title {color: #f49e00;}
.home .singlepost {background: #f0f2f5;margin-bottom: 1rem;margin-left: 0; margin-right: 0;}
.home .singlepost .col-md-5 {padding-right: 0;}
 
.more-link {display:block;padding-bottom:1rem;}

.nav-fill .nav-item {text-align: left}
.nav-fill .nav-link {display: block;font-weight: bold;padding: .125rem 0.25rem;}
.nav-pills .nav-link {border-radius: 0;background:#6e8ba5;border-right:6px solid #ffffff; color:#ffffff;padding-left: 9px;}
#main-menu li:last-child .nav-link {border-right:0px solid #ffffff; }

.nav-pills .nav-link.active, 
.nav-pills .show>.nav-link {background: #f49e00;color:#ffffff;}

.navbar {padding:0;}
.navbar-dark .navbar-nav .nav-link {color: rgba(255,255,255,.9);}
.navbar-toggler {border: 0; border-radius: 0;}

.page-item.active .page-link{background-color: #6e8ba5; border-color: #6e8ba5;}
.page-link {color:#6e8ba5;}
.page-link:hover {color:#6e8ba5;}
.page-item:first-child .page-link, 
.page-item:last-child .page-link {border-radius:0;}

.post, .page {padding: 0 12px;}
.post-navigation{display:none;}

tfoot {display: none;}
.textwidget {color:#dddddd;}
.widget-area {padding-top:2rem;}
.wp-block-file .wp-block-file__button  {background: #eee;}

.wp-block-latest-posts {padding-left: 0;}
.wp-block-latest-posts li {border-top: 1px solid #6e8ba5; padding-bottom: 2rem;}
.wp-block-latest-posts li a{font-weight: 700;}
.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {font-size: 1rem;}

.wp-block-latest-posts .understrap-read-more-link {display:none;}

.wp-block-pb-accordion-item {margin-bottom: 3rem;}
.wp-block-pb-accordion-item .c-accordion__content {max-width: 600px;}
.wp-block-quote {margin-bottom: 30px;}
.wp-block-quote cite {font-size: 0.85rem;line-height: 0.75rem; }
.wp-block-media-text .wp-block-media-text__content {padding-left: 0;}
.wp-block-separator.is-style-wide {border-color: #6e8ba5; margin-bottom: 0.25rem;margin-top:2rem;}
.wrapper {padding: 0;}







// Extra small devices (portrait phones, less than 576px) -> https://getbootstrap.com/docs/4.0/layout/overview/

@media (min-width: 1200px){

}


@media (min-width: 992px) {
	.navcontainer {padding: 0;}
}


// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { 
	
}


// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { 
	
}


// Medium devices (tablets, 768px and up)
@media (max-width: 767.98px) { 
	.navbar {padding:0px !important;}
	.dropdown-menu.show {display: contents;}
}


@media (max-width: 575.98px) { 
	.dropdown-menu.show {display: contents;}
	.dropdown-menu.show a {padding: 6px 0 6px 24px;}
	.navbar {padding:0px !important;}
	.navcontainer {padding: 0 !important;}
	.nav-fill .nav-link {display: block;font-weight: bold;padding-top: .35rem;padding-bottom: .5rem;padding-left:24px;}
    
}



/*****SEARCH

<div id="wrap">
		
		   <form role="search" method="get" class="search-form" autocomplete="on" action="<?php echo home_url( '/' ); ?>">
                    <input id="search" name="search" type="search" placeholder="Was suchen Sie?" name="s"><input id="search_submit" value="Suche" type="submit">
			   
            
            </div>
			
			<style>
	
#wrap {
  margin: 50px 12px;
  display: inline-block;
  position: relative;
  height: 60px;
  float: left;
  padding: 0;
  position: relative;
}

input[type="search"] {
  height: 50px;
  font-size: 55px;
  display: inline-block;
  font-family: "Lato";
  font-weight: 100;
  border: none;
  outline: none;
  color: #555;
  padding: 0px;
  padding-left: 60px;
  width: 0px;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  z-index: 3;
  transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
  cursor: pointer;
}

input[type="search"]:focus:hover {
  border-bottom: 1px solid #BBB;
}

input[type="search"]:focus {
  width: 700px;
  z-index: 1;
  border-bottom: 1px solid #BBB;
  cursor: text;
}
input[type="submit"] {
  height: 67px;
  width: 63px;
  display: inline-block;
  color:red;
  float: right;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFU1NT9fX1lJSUXl5e1dXVfn5+c3Nz6urqv7+/tLS0iYmJqampn5+fysrK39/faWlp////Vi4ZywAAABF0Uk5T/////////////////////wAlrZliAAABLklEQVR42rSWWRbDIAhFHeOUtN3/ags1zaA4cHrKZ8JFRHwoXkwTvwGP1Qo0bYObAPwiLmbNAHBWFBZlD9j0JxflDViIObNHG/Do8PRHTJk0TezAhv7qloK0JJEBh+F8+U/hopIELOWfiZUCDOZD1RADOQKA75oq4cvVkcT+OdHnqqpQCITWAjnWVgGQUWz12lJuGwGoaWgBKzRVBcCypgUkOAoWgBX/L0CmxN40u6xwcIJ1cOzWYDffp3axsQOyvdkXiH9FKRFwPRHYZUaXMgPLeiW7QhbDRciyLXJaKheCuLbiVoqx1DVRyH26yb0hsuoOFEPsoz+BVE0MRlZNjGZcRQyHYkmMp2hBTIzdkzCTc/pLqOnBrk7/yZdAOq/q5NPBH1f7x7fGP4C3AAMAQrhzX9zhcGsAAAAASUVORK5CYII=) center center no-repeat;
  text-indent: 10000px;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity .4s ease;
}

input[type="submit"]:hover {
  opacity: 0.8;
}
		</style>
*****/
