/*
Theme Name: Sydney Child
Theme URI: https://wp-themes.com/sydney
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Sydney child theme.
Template: sydney
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: sydney-child

Blau
#2a5a93
Rot
#b33319

*/ 

/* Fonts */
.entry-content p {
    margin-bottom: 22px;
    hyphens: auto;
}

.editor-styles-wrapper .has-large-font-size, .has-large-font-size {
    line-height: 40px;
    margin-top: 14px;
}

.wp-block-media-text .wp-block-media-text__media {
    margin-bottom: 20px;
}

/* Header */

.site-header {
    background-color: #ffffffe6 !important;
}

.site-header {
    border-bottom: 2px solid #2a5a93;
}


/* Logo */

.fw-menu-container .col-md-4 {
    height: 250px;
    margin-top: -20px;
    margin-bottom: -120px;
}

.site-logo {
    max-height: 250px;
}

@media all and (min-width: 992px) {
    .site-logo{
        max-height: 250px !important;
    }   
}

@media only screen and (max-width: 767px) {
.header-wrap {
  text-align: left !important;
}}


.wp-block-group.is-layout-flow {
    padding-left: 15px;
    padding-right: 15px;
}



@media all and (max-width: 767px) {
    .btn-menu {
        float: right;
        margin: 15px auto 0;
    }   
}

@media all and (max-width: 767px) {
    .site-logo {
        max-height: 140px;
    }
    
    .fw-menu-container .col-md-4 {
        height: 50px;
        margin-top: -20px;
        margin-bottom: 0px;
    }
}

/* Menu */

#mainnav ul::before {
    height: 2rem;
    left: 0;
    right: 0;
}

/* #mainnav ul ul::before{
    content: "›";
    font-family: Martel Sans !important;
    font-size: 26px !important;
    line-height: 14px !important;
    transform: rotate(0deg);
    top: 40px;
    position: absolute;
    left: 0px;
}*/

#mainnav ul ul {
    -webkit-box-shadow: 5px 5px 12px 0px #9c9c9c;
    -moz-box-shadow: 5px 5px 12px 0px rgba(156,156,156,1);
    box-shadow: 5px 5px 12px 0px #9c9c9c;
    } 

#mainnav ul li a {
    font-weight: 600 !important;
	font-size: 1.3rem !important;
}

#mainnav ul ul li a {
    font-weight: 400 !important;
	font-size: 1.1rem !important;
}

#mainnav ul ul li a:hover {
    color: #000 !important;
}


#mainnav .sub-menu li a {
    line-height: 20px;
}

#mainnav .sub-menu li a {
  line-height: 24px !important;
}

#mainnav .sub-menu li:hover > a, #mainnav ul li ul::after{
    background: #fff !important;
}

#mainnav .sub-menu li a {
    color: #295a9c !important;
    background-color: #fff !important;
    border: none !important;
}
.current_page_item::before, .current-menu-ancestor::before {
    content: "›";
    font-family: Martel Sans !important;
    font-size: 26px !important;
    line-height: 14px !important;
    display: block;
    float: left;
    color: #426ac4;
    margin-right: 0px;
}

/* Menu mobile */

.wp-block-cover .wp-block-cover__background, .wp-block-cover .wp-block-cover__gradient-background, .wp-block-cover-image .wp-block-cover__background, .wp-block-cover-image .wp-block-cover__gradient-background, .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, .wp-block-cover.has-background-dim:not(.has-background-gradient)::before {
    z-index: 0 !important;
}

#mainnav-mobi {
    z-index: 999;
    position: relative;
}

.fw-menu-container .col-md-4 {
    z-index: 2;
}

.fw-menu-container .col-md-8 {
    z-index: 1;
}

.btn-menu .sydney-svg-icon {
    fill: #2a5a93 !important;
} 

#mainnav-mobi {
    top: 32px;
}

#mainnav-mobi ul > li > a {
    padding: 10px 15px;
}

.btn-submenu {
    right: 5px;
}

#mainnav-mobi ul.sub-menu > li > a {
    padding: 10px 15px;
}

/* Content */

/* Cover Block */


@media (min-width: 850px) {
.wp-block-cover {
  margin-left: -50px !important;
  margin-right: -50px !important;
}
}

@media (min-width: 1024px) {
  .no-sidebar .entry-content .alignwide {
    width: auto !important;
	margin: 20px auto !important;
  }
}


/* Page */

@media all and (max-width: 767px) {
.page-wrap {
    padding-top: 10px !important;
}
}

.page .page-wrap .content-wrapper, .single .page-wrap .content-wrapper {
    margin-bottom: 20px;
}

.page-wrap {
    
    padding-bottom: 20px !important;
}

@media all and (min-width: 1000px) {
body:not(.home) .page-wrap {
    padding-top: 183px !important;
}
}
@media all and (max-width: 767px) {
    
.site-info {
    padding-left: 15px !important;
    padding-right: 15px !important;
    }
}

/* Images */

.wp-block-image.alignwide {
    margin-bottom: 2em;    
}

/* Cover Block */
@media all and (max-width: 767px) {
.wp-block-cover {
    min-height: 200px !important;
}
    }

/* Blockquote */

.hentry blockquote {
    background-color: transparent;
    color: #333;
}

blockquote, .wp-block-quote.is-large, .wp-block-quote.is-style-large {
    margin: 20px auto;
    max-width: 705px;
    border-left: 5px solid #2a5a93;
    padding-left:20px;
}

blockquote p, blockquote cite {
	max-width: 1170px;
}

/* Social Links */

.socy {
    width: 100%;
    margin: 0 0 40px 0;
}

.socyinner {
    width: 300px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.socylink {
    padding: 0 10px;
}
/* Article */

.hentry .title-post {
    padding-left: 0px;
    line-height: 4rem;
}

@media all and (max-width: 1640px) {
    .hentry .title-post {
        padding-left: 80px;
    }
}

@media all and (max-width: 1480px) {
    .hentry .title-post {
        padding-left: 180px;
    }
}

@media all and (max-width: 1290px) {
    .hentry .title-post {
        padding-left: 220px;
    }
}

@media all and (max-width: 1100px) {
    .page .entry-header {
        text-align: center;
    }
    .hentry .title-post {
        width:auto;
        display: block;
        max-width: 705px;
        margin: 0 auto;
        padding-left: 0px;
    }
}

.entry-content p, .wp-block-columns, ul {
    margin: 0 auto 20px auto;
}

h2, h3, h4, h5{
    margin: 0 auto 15px auto;
}

/* Buttons */

.wp-block-buttons {
    margin: 0 auto;
}

.wp-block-button__link {
    padding: 12px 24px 10px 24px;
}

.wp-block-button__link:hover {
    background-color: #6694cb;
    color: #fff;
    border: 2px solid #6694cb;
}

/* Forms Formular */

input {
    max-width: 100%;
}

/* Spacer Mobile */

@media all and (max-width: 700px) {
.wp-block-spacer {
    height: 10px !important;
}
    }

@media all and (max-width: 700px) {
.home .wp-block-spacer:first-of-type {
    height: 0px !important;
}
    }


/* View Transistion, Seitenwechsel-Animation */

/* Turn cross-document view-transitions on */
/* Note that this at-rule is all that is needed to create the default cross-fade animation  */



 @view-transition {
    navigation: auto;
}



::view-transition-group(root) {
    animation-duration: 0.3s;
}

.cookie-opt-out {view-transition-name: cookiwe}

@keyframes move-out {
    from {
        opacity: 100%;
    }

    to {
        opacity: 0%;
    }
}

@keyframes move-in {
    from {
        opacity: 0%;
    }

    to {
        opacity: 100%;
    }
}

::view-transition-old(root) {
    animation: .5s ease-in both move-out;
}

::view-transition-new(root) {
    animation: .5s ease-in both move-in;
}

::view-transition-old(cookiwe) {
    display: none;
}

::view-transition-new(cookiwe) {
    display:block;
}

@media (prefers-reduced-motion) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

