/*
Theme Name: Springhornhof
Description: Child theme for Avada theme
Author: P1XEL
Author URI: https://p1xel.net
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*
 *  TYPO
 */

h1,h2,h3,h4,h5,h6,p,a{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}   

a:has(.read-more-prelink){
    transition: none !important;
    text-decoration: none !important;
}
a:has(.read-more-prelink):hover > .read-more-prelink{
    color: var(--awb-color5);   
}

.hyphenate {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.justified-title h1,
.justified-title h2,
.justified-title h3,
.justified-title h4,
.justified-title h5,
.justified-title h6{
    line-height: 1.4 !important;
    text-align: justify !important;
}

.h-indent,
.p-indent{
    text-indent: 60px;
}

/*
*  MENU
*/
.awb-menu__open-nav-submenu-hover:before{
    margin-top: 3px !important;
    line-height: 1 !important;
    font-size: 14px !important;
    content: "\25BC" !important; 
    font-family: var(--awb-fusion-font-family-typography) !important;
}

.awb-menu__open-nav-submenu-hover {
    padding-inline-start: 7px !important;
}


/*
 *  GRIDS
 */

.stupid-grid .fusion-grid-column:nth-child(2n + 0){
	width: 25% !important;
}
.stupid-grid .fusion-grid-column:nth-child(2n + 1){
	width: 50% !important;
}
.stupid-grid .fusion-grid-column:nth-child(3n + 2){
	width: 25% !important;
}

.stupid-grid-rund .fusion-grid-column:nth-child(2n + 0){
	width: 25% !important;
}
.stupid-grid-rund .fusion-grid-column:nth-child(2n + 1){
	width: 25% !important;
}
.stupid-grid-rund .fusion-grid-column:nth-child(3n + 2){
	width: 50% !important;
}

.stupid-grid-rund .fusion-imageframe,
.stupid-grid-rund img,
.stupid-grid .fusion-imageframe,
.stupid-grid img{
    width: 100% !important;
}

.stupid-grid-rund.stupid-grid-desktop .fusion-grid{
    display: block !important;
}


/*
 *  EVENTS
 */
#main:has(.tribe-events-pg-template){
    padding-left: 0px !important;
    padding-left: 0px !important;
}

.fusion-title-heading #title{
    text-align: justify !important;
    text-decoration: underline !important;
}

.fusion-title-heading #date{
    text-align: justify !important;
    font-weight: 400 !important;
}

.justified-title a{
    font-weight: normal !important;
    text-decoration-line: none !important;
}

.single-event-title{
    margin-bottom: 50px !important;
    font-size: 36px !important;
}

.single-navigation{
    margin-left: 48px !important;
    text-align: left !important;
    border: none !important;
}

.moved-event-content{
    order: 1 !important;
}

.custom-pagination{
    font-weight: bold;
    margin-left: 0px !important;
}

/*
 * POSTS
 */
 .custom-post-content p{
    text-indent: 60px !important;
}

.custom-post-content p:first-child{
    text-indent: 0px !important;
}

.fusion-body .fusion-title.sep-underline {
    border-bottom: 2px solid var(--awb-sep-color) !important;
}

.postcards-ausstellungen-startseite a{
    hyphens: auto;
  -webkit-hyphens: auto; /* Safari, ältere iOS-Browser */
  -ms-hyphens: auto;
}

.awb-menu__m-collapse-icon-open:before{
    
    font-size: 40px !important;
}
.awb-menu__m-collapse-icon-open{
margin-top: -10px !important;
}
.awb-menu__m-collapse-icon-close{
margin-left: 10px !important;
}
.sphh-mobile-menu li.current-menu-item>a, .awb-menu.collapse-enabled li.expanded>a, .awb-menu.collapse-enabled li:hover>a {
     color: var(--awb-color5) !important;
}