/*
 Theme Name:   Alvario
 Theme URI:    https://alvario.de/
 Description:  Alvario DIVI Child Theme
 Author:       Alvario
 Author URI:   https://alvario.de/
 Template:     Divi
*/

/* outfit-regular - latin */
/* outfit-regular - latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/outfit-v4-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/outfit-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/outfit-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/outfit-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('fonts/outfit-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/outfit-v4-latin-regular.svg#Outfit') format('svg'); /* Legacy iOS */
}

/* outfit-600 - latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/outfit-v4-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('fonts/outfit-v4-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/outfit-v4-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/outfit-v4-latin-600.woff') format('woff'), /* Modern Browsers */
    url('fonts/outfit-v4-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/outfit-v4-latin-600.svg#Outfit') format('svg'); /* Legacy iOS */
}


body {
    font-family: 'Outfit';
    letter-spacing: 0.04em;
}

.et_pb_row, .container {
    width: 95%;
}

.et_pb_button.et_pb_bg_layout_dark {
    border-color: #FFF;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-40 {
    margin-bottom: 40px;
}

a {
    font-weight: 700;
}

blockquote {
    background: rgba(13,71,161,0.15);
}

@media all and (min-width: 981px) {
    .alv-vc {
        margin: auto;
    }
}

/* Header */
#main-header {
    box-shadow: unset;
}

@media all and (min-width: 981px) {
    #et-top-navigation li.menu-item:not(:last-child) {
        padding-right: 35px;
    }
    #et-top-navigation li.menu-item:not(:last-child).icon {
        margin-right: 20px;
    }
    #et-top-navigation li.menu-item.icon {
        position: relative;
        width: 50px;
    }
    #et-top-navigation li.menu-item.icon a {
        position: absolute;
        width: 50px;
        top: -30px;
        padding: 10px;
    }
    #top-menu li.mega-menu > ul > li > a,
    #top-menu li.mega-menu > ul > li > a:first-child {
        padding: 25px 20px !important;
        background: #fff;
        width: 100%;
    }
    #top-menu li.mega-menu > ul > li > a:hover,
    #top-menu li.mega-menu > ul > li > a:first-child:hover {
        background: rgba(13,71,161,0.15) !important;
        opacity: 1;
    }
}

#et-top-navigation li.menu-item.icon.mail a,
.et_mobile_menu li.icon.mail a {

    content: url("/wp-content/uploads/mail.svg");
}
#et-top-navigation li.menu-item.icon.call a,
.et_mobile_menu li.icon.call a {
    content: url("/wp-content/uploads/call.svg");
}

.et_mobile_menu {
    left: -2.5%;
    width: 105%;
    padding: 20px;
}

.et_mobile_menu li a {
    padding: 10px 20px;
}

.et_mobile_menu li.icon {
    float: left;
}

.et_mobile_menu li.icon a {
    border-bottom: unset;
}

.et_mobile_menu .menu-item-has-children > a {
    background-color: unset;
}

.et_mobile_menu li ul.sub-menu li {
    padding-left: 10px;
}

.et_mobile_menu li ul.sub-menu li a {
    font-weight: 500;
}

/* Hero - Breathe animation */
.et_builder_inner_content {
	overflow: hidden;
	-webkit-overflow: hidden;
}

.breathe {
    -webkit-animation: breathing 5s ease-out infinite normal;
    animation: breathing 5s ease-out infinite normal;
	overflow: hidden;
}
@keyframes breathing {
    0% {
        transform: scale(1.0);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1.0);
    }
}

/* Index - Products */
@media all and (min-width: 981px) {
    .products .et_pb_row_4col .et_pb_column:not(:last-child):not(.et_pb_column_empty) {
        border-right: 1px solid rgba(42, 52, 46, 0.15);
    }
    .products .et_pb_row_4col:not(:last-child) .et_pb_column {
        border-bottom: 1px solid rgba(42, 52, 46, 0.15);
    }
    .products .et_pb_row_4col .et_pb_column {
        transition: all 300ms ease 0ms;
    }
    .products .et_pb_row_4col .et_pb_column:hover {
        opacity: 0.8;
    }
}

@media all and (max-width: 980px) {
    .products .et_pb_row_4col .et_pb_column:not(:nth-child(2n)) {
        border-right: 1px solid rgba(42, 52, 46,0.15);
    }
    .products .et_pb_row_4col .et_pb_column:not(:nth-child(-n+2)) {
        border-bottom: 1px solid rgba(42, 52, 46,0.15);
        border-top: 1px solid rgba(42, 52, 46,0.15);
    }
    .products .et_pb_row_4col:last-child .et_pb_column:nth-child(n+3) {
        border-bottom: unset;
    }
}

@media all and (max-width: 479px) {
    .products .et_pb_row_4col .et_pb_column,
    .alv-brands .et_pb_row_4col .et_pb_column {
        width: 50% !important;
    }
}

.entry-content table.alv-contactaligned {
    border: unset;
}

.entry-content table.alv-contactaligned td {
    padding: 0;
    border: unset;
}

/* Kategorieseite */
@media all and (max-width: 980px) {
    .float-buttons .et_pb_column {
        margin-bottom: 10px;
    }
}

/* Kontaktformular */
.et_pb_contact_form_label {
    display: block;
    font-size: 13px;
}

.et_pb_contact_field_options_title {
    display: none;
}

.et_pb_contact_field[data-type="select"]:after {
    top: 67%;
}

.et_pb_contact_field[data-type="radio"] .et_pb_contact_field_options_list .et_pb_contact_field_radio {
    width: auto;
    float: left;
    margin-right: 20px;
}

.et_pb_contact_field[data-id="datenschutz"] .et_pb_contact_form_label {
    display: none;
}

.two-smallfields .et_pb_contact_field[data-id="grain"],
.two-smallfields .et_pb_contact_field[data-id="size"],
.two-smallfields .et_pb_contact_field[data-id="quantity"],
.two-smallfields .et_pb_contact_field[data-id="unit"] {
	width: calc(50% / 2);
	clear: none !important;
}

.three-smallfields .et_pb_contact_field[data-id="grain"],
.three-smallfields .et_pb_contact_field[data-id="size"],
.three-smallfields .et_pb_contact_field[data-id="quantity"],
.three-smallfields .et_pb_contact_field[data-id="unit"] {
	width: calc(50% / 3);
	clear: none !important;
}

/* Footer */
footer .social-media .logo {
    display: inline-block;
    transition: all 300ms ease 0ms;
}

footer .social-media .logo:hover {
    opacity: 0.8;
}

footer .social-media .logo:not(:last-child) {
    margin-right: 15px;
}

#footer-widgets {
	padding: 40px 0 0 !important;
}

footer .footer-widget {
    margin-bottom: 0 !important;
}

footer .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column:not(:first-child) {
    margin-left: 0 !important;
}

#footer-bottom {
    padding: 0 0 10px;
}

#footer-bottom,
#footer-bottom a {
    color: #FFF;
}

footer .footer-widget .fwidget {
    margin-bottom: 0 !important;
    width: 100%;
}

#footer-widgets .footer-widget .widget_nav_menu li {
    padding-left: 0;
    float: left;
}

#footer-widgets .footer-widget .widget_nav_menu li:not(:last-child) {
    margin-right: 14px;
}

#footer-widgets .footer-widget .widget_nav_menu li:before {
    display: none;
}

@media all and (min-width: 768px) {
    #footer-bottom .container {
        display: flex;
    }
    #footer-bottom .left {
        width: 67%
    }
    #footer-bottom .right {
        width: 33%;
        text-align: right;
    }
    /*
    footer#main-footer {
        background-image: url("/wp-content/uploads/2022/04/kfp-footer-bg.png");
        background-position: right center;
        background-repeat: no-repeat;
        background-size: 50%;
        position: relative;
    }
    .alv-link-absolute {
        width: 43%;
        height: 100%;
        position: absolute;
        right: 0;
        top: 0%;
        z-index:9999;
    }*/
}

@media all and (max-width: 767px) {
    #footer-bottom {
        font-size: 14px;
    }
}

/* Passwortgeschützte Seite */
.post-password-required .et_pb_row {
    max-width: 500px;
    width: 95% !important;
}

.et_password_protected_form form input {
    border: 2px solid #0d47a1 !important;
    margin-top: 20px;
}

.et_password_protected_form form button.et_submit_button.et_pb_button {
    padding: 12.5px 25px !important;
}

/* Scroll top */
.et_pb_scroll_top.et-pb-icon {
    background: #0d47a1;
    border-radius: unset;
    bottom: 25px;
    right: 25px;
    border: 2px solid #FFF;
}

@media all and (max-width: 767px) {
    .et_pb_scroll_top.et-pb-icon {
        bottom: 10px;
        right: 10px;
    }
}

/* recaptcha v3 badge */
.grecaptcha-badge {
    visibility: hidden !important;
}