/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0-beta1
 Requires at least: 5.0
 Tested up to: 6.5.2
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
body {
    font-family: "Marcellus", serif;
    color: #58666D;
}

#content {
    padding: 0px;
}

a{
    text-decoration: none;
}

.wp-block-uagb-advanced-heading.uagb-block-b544dc6e.wp-block-uagb-advanced-heading .uagb-highlight {
    font-style: normal;
    font-weight: Default;
    background: unset;
    color: #00AFD3;
    -webkit-text-fill-color: unset;
}

.page .entry-header {
    display: none;
}

.mi-language-box>.uagb-container-inner-blocks-wrap {
    border-top: 1px solid #273E47;
    border-bottom: 1px solid #273E47;
    padding: 30px 0 30px 0;
}

.uagb-faq-content p a {
    text-decoration: none;
}

.uagb-faq-content {
    background: #EFF8FB;
}

.mi-header-image img {
    width: auto !important;
    transition: height 0.15s ease-in;
}

.mi-footer-custom {
    background: #ECF2F6 !important;
    text-align: center;
    padding: 30px 10px 30px 10px;
}

.mi-footer-top {
    border-bottom: 1px solid #273E47;
    font-size: 24px;
}

.mi-footer-bottom {
    padding-top: 20px;
}

footer .bg-body-tertiary {
    background: #273E47 !important;
}

.bg-body-tertiary a {
    color: white !important;
    font-size: 18px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.gw-language button,
.gw-language button:hover {
    background: #ecf2f6 !important;
    border-radius: 0px;
    width: 100%;
    font-size: 20px;
    color: #58666D;
}

.gw-language .dropdown-menu {
    background: #eff8fb;
    width: 100%;
    border-radius: 0px;
    font-size: 20px;
    padding: 10px;
    color: #58666D;
}

.gw-centernav figure,
.gw-centernav figure img {
    min-width: 70px;
}

.gw-centernav .wp-block-uagb-container.uagb-is-root-container .uagb-block-b23b1930 {
    max-width: 10%;
}

.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked~.read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state:checked~.read-more-wrap .gw-punkte {
    opacity: 0;
}

.read-more-state~.read-more-trigger:before {
    content: 'weiterlesen';
    color: #00AFD3;
    font-size: 20px;
}

.read-more-state:checked~.read-more-trigger:before {
    content: 'weniger';
    color: #00AFD3;
    font-size: 20px;
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;
    padding: 0 .5em;
    color: #666;
    font-size: .9em;
    line-height: 2;
    border: 1px solid #ddd;
    border-radius: .25em;
}

.gw-quote p {
    color: #58666D;
    font-size: 120px;
    margin: 0px;
}

.gw-quote {
    float: left;
    height: 100%;
}

.gw-quote p {
    margin-top: -40px;
    margin-right: 10px;
}

.gw-quote-text {
    font-size: 18px;
    color: #58666D;
}

.read-more-trigger {
    border: none;
}

.gw-punkte {
    display: inline-block;
    width: 0px;
    font-size: 18px;
    color: #58666D;
}

.gw-current-table a {
    color: #00AFD3;
    text-decoration: none;
}

.bg-body-tertiary.mi-second-nav {
    background-color: #273E47 !important;
    height: 48px;
}

.mi-second-nav .dropdown-menu {
    background-color: #273E47;
}

.mi-logo-sub.mi-header-image img {
    height: 110px;
}

#nav-main.mi-main-sub {
    background: white;
}

header.mi-header-sub {
    margin-bottom: 40px;
}

.mi-second-nav .container {
    background: #273E47;
}

#menu-top a.nav-link, .mi-flag-top .wpml-ls-native {
    color: #273E47 !important;
    font-size: 20px;
}

#menu-top.mi-sub-top {
    width: 100%;
}

.mi-flag-top .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0px;
  }

  .mi-post-oneline img {
	object-fit: cover;
}

.mi-post-oneline article {
	position: relative;
}

.mi-post-oneline .wp-block-button {
	position: absolute;
	right: 0;
	bottom: 0;
}

.mi-post-oneline .uagb-post__date {
	position: absolute;
	bottom: 0;
}

.mi-post-oneline .uagb-post__text.uagb-post__excerpt {
	margin-bottom: 30px;
}

/* **************************************************** */
/* CSS für Template Parts */

.mi-dev-postgrid .mi-dev-thumb {
  width: 100%;
  overflow: hidden;
  margin: 0;
  /*padding-top: 56.25%;*/
  padding-top: 75%;
  position: relative;
}

.mi-dev-postgrid img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.mi-dev-postgrid .read-more {
    background: #00AFD3;
    color: white;
    text-decoration: none;
    font-size: 36px;
    padding: 5px 15px;
}

.mi-dev-postgrid .card-text:last-child {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.mi-dev-postgrid .text-body-secondary {
    position: absolute;
    bottom: 5px;
    font-family: "Palanquin";
    font-size: 20px;
    color: #58666D !important;
    font-weight: 600;
}

.mi-dev-postgrid .card {
    height: 100%;
}

.mi-dev-postgrid {
    padding-bottom: 30px;
    max-width: 1140px;
}

.mi-dev-postgrid h2 {
  font-family: "Palanquin";
  font-weight: 700;
  font-size: 24px;
  color: #273e47;
}

.mi-dev-postgrid .text-body {
  font-family: "Palanquin";
  font-size: 20px;
  color: #58666d !important;
}

.mi-dev-postgrid .row .col-lg-4:first-child {
    padding-left: 0;
}

/* **************************************************** */

.wpml-ls-display {
    color: #273E47;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle::after {
    color: #00AFD3;
}

.mec-event-article .col-md-3.col-sm-3 {
    display: none;
}

.mec-event-article .col-md-9.col-sm-9 {
    padding: 0;
    width: 100%;
}

h4.mec-event-title {
    font-family: "Palanquin" !important;
    color: #273E47;
    font-weight: 400;
    padding: 0 !important;
}

.mec-event-list-minimal .mec-event-title {
    text-transform: unset;
}

.mec-event-list-minimal .mec-event-date span {
    font-size: 18px;
}

.mec-event-list-minimal .mec-event-date {
    margin-right: 10px;
}

.mec-load-more-button {
    border: none;
    color: #00AFD3;
    margin: 0;
    padding: 0;
    font-family: "Marcellus", serif;
    text-transform: none;
    font-size: 18px;
}

.mec-load-more-button:hover {
    background: none;
    color: #00AFD3;
}

.mec-event-list-minimal .mec-event-detail {
    margin: 0;
}
.mec-event-date.mec-bg-color {
    background: #00AFD3 !important;
}

.mec-load-more-wrap {
    padding: 0;
    text-align: left;
}

.la-citation {
    margin-top: 0;
}

/* Mobile Styles */
@media only screen and (max-width: 400px) {
    .gw-centernav .wp-block-uagb-container.uagb-is-root-container > .uagb-container-inner-blocks-wrap {
        row-gap: 0px !important;
    }
}

@media only screen and (max-width: 991px) {
    .bg-body-tertiary.mi-second-nav {
      height: 60px;
    }
  }