/**
 * Theme Name:     Qualitätsplattform
 * Author:         Michael uNterlechner, Jörg Liwa
 * Template:       hello-elementor
 * Text Domain:	   qpsan
 * Description:    Theme für Qualitäsplattform, basierend auf Hello Elementor
 */

html {
    scroll-behavior: smooth;
}



/**
Buttons
 */

.outline-button{
    font-size:20px;
    line-height:1em;
    font-weight:bold;
    color:#3FA535;
    border:2px solid #3FA535;
    border-radius:0.75em;
    transition:all 0.2s linear 0s;
    padding: 0.25em 1em;
    width:fit-content;

}
.outline-button:hover, .outline-button:focus{
    color:#f5f2f2 !important;
    background:#3FA535 !important;
}

.cta-button.cta-button, .um-button.um-button{
    font-family: "Feixen Book", Sans-serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding:12px !important;
    line-height:1em !important;
    border: 3px solid var(--e-global-color-primary) !important;
    transition:all 0.2s linear 0s;
    color: var(--e-global-color-primary) !important;
    background-color: transparent !important;
    border-radius: 10px !important;

}
.cta-button.cta-button:hover, .um input[type=submit].um-button.um-button:hover{
    color: white !important;
    background-color: var(--e-global-color-primary) !important;
}
.cta-button.cta-button-reset{
    border: 3px solid #333 !important;
    color: #333 !important;
    &:hover{
        color: white !important;
        background-color: #333 !important;
    }
}



.um-button.um-button.um-alt{
    color:#666 !important;
}
.um-button.um-button.um-alt:hover{
    color:#666 !important;
}

/**
Bundesland Liste
 */

.bl-liste{
    list-style:none;
    padding:0;

}
.bl-liste li:not(.bl-liste--bezirke),.bl-liste .bl-liste--bezirke span{
    display:inline-block;
    border:2px solid var(--e-global-color-primary);

    padding:5px 10px;
    border-radius:8px 8px;
    margin:3px;
}

/*+
Dropzone Fix
 */
.dropzone .acf-gallery-attachments .acf-dropzone-info{
    position:absolute !important;
}

/**
Gravity Forms
 */

body .gform-theme--framework{
    --gf-color-primary:#3FA535 !important;
    --gf-ctrl-btn-radius:10px !important;
    --gf-ctrl-btn-bg-color-hover-primary: #1f521a !important;
}

.gform_button.button{
    text-transform:uppercase !important;
}

/**
UM DESIGN
 */

.um-field-block{
    font-size:20px;
}

/**
Backend Angebote Formular
 */
.acf-field-66df237a0f465 .acf-button-group {
    display: flex;
    flex-direction: column;
}

.user-role-um_anbieter.post-type-anbieter{
    .page-title-action{
        display:none;
    }
}

.user-role-um_anbieter{


    #elementor-switch-mode{
        display:none !important;
    }
    #edit-slug-box{
        display:none;
    }
    #visibility{
        display:none;
    }
    #screen-meta-links{
        display:none;
    }

}

.dce-generic-notice{
    display:none;
}

/**
Auslastung
 */
.acf-field-66df237a0f465{

    .acf-button-group{
        labeL:nth-of-type(1).selected{
            background:green;
        }
        labeL:nth-of-type(2).selected{
            background:yellow;
            color:black;
        }
        labeL:nth-of-type(3).selected{
            background:red;
            color:white;
        }
    }
}

/**
Header Menu

header{
    .elementor-nav-menu li{
        margin-inline:15px;
    }
    .elementor-nav-menu li .elementor-item {
        color:#fff;

        text-align: center;
        background-color: transparent;
        border: solid 2px white;
        border-radius: 30px;


        .sub-arrow svg{
            transition:all 0.4s linear 0s;
        }

    }

    .elementor-nav-menu li .elementor-item:hover {
        background:white;
        color:black !important;
    }
    .elementor-nav-menu li .elementor-item.has-submenu:hover{
        border-radius:30px 30px 0 0;
        .sub-arrow svg{
            fill:black;
            transform:rotateZ(180deg);
        }
    }


    .elementor-nav-menu li .elementor-item.has-submenu.highlighted{
        border-radius:30px 30px 0 0;
        background:white;
        color:black !important;
        .sub-arrow svg{
            fill:black;
            transform:rotateZ(180deg);
        }
    }

    ul.elementor-nav-menu--dropdown{
        right:0;
        border-radius:0 0 30px 30px !important;
    }

}
 */
/**
Overflow ANzeige Details
 */

.dce-acf-repeater-item{
    overflow:hidden;
}
.dce-acf-repeater-item a{
    text-overflow:ellipsis;
    overflow:hidden;
    display:block;
}
