/* 
Theme Name: At Home
Description: Custom build theme for at-home.co.at
Author: Vukadin Njegos
Author URI: https://why.studio/
Template: hello-elementor
Version: 1.0.5
Text Domain: at-home
*/

p:last-child {
    margin-bottom: 0!important;
}

ul {
    list-style-type: "- ";
    padding-inline-start: 1em;
}

body:not(.elementor-editor-active) #vormerken-form {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0,0,0, 0.8);
    opacity: 0;
    transition: opacity 300ms ease-in;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

body:not(.elementor-editor-active) #vormerken-form .elementor-widget-container {
    width: 364px;
    position: relative;
    padding: 20px;
    background-color: #FFF;
    overflow: auto;
}

#vormerken-form .elementor-acceptance-field {
    vertical-align: middle;
    margin-right: 5px;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    min-height: 70px;
}

#top-menu {
    z-index: 998;
    transition: background 300ms ease-in;
}

#top-menu ul {
    justify-content: space-between;
    width: 100%;
}

#top-menu ul:after {
    display: none!important;
    content: none!important;
}

#logo {
    width: 130px;
    position: absolute;
    top: 14px;
    left: 20px;
    z-index: 998;
    display: none;
}

#nav-logo {
    width: 140px;
}

#scrolled-logo {
    width: 130px;
    position: fixed;
    left: 50%;
    margin-left: -65px;
    top: 12px;
    z-index: 999;
    display: none;
}

#top-menu > .elementor-container,
#top-menu > .elementor-container > .elementor-column,
#top-menu > .elementor-container > .elementor-column > .elementor-widget-wrap {
    position: static;
}

#top-menu li {
    padding: 0px 5px;
}

#top-menu a {
    text-decoration: none!important;
}

.scrolled #top-menu {
    transform: translateY(-100%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background: white;
}

.scrolled-transition #top-menu {
    transition: transform 300ms ease-in;
}

.show-alt-header #scrolled-logo {
    display: block;
}

.scrolled #scrolled-logo {
    display: block;
}

.elementor-swiper-button-prev .eicon-chevron-left,
.elementor-swiper-button-next .eicon-chevron-right {
    font-family: inherit!important;
}

.elementor-swiper-button-prev .eicon-chevron-left:before {
    content: "\2190"!important;
}

.elementor-swiper-button-next .eicon-chevron-right:before {
    content: "\2192"!important;
}

@media (min-width: 768px) {

    .show-alt-header #top-menu {
        transform: translateY(0);
    }
    
    .show-alt-header #top-menu a {
        color: red!important;
    }
    
    .show-alt-header #top-menu a:after {
        background-color: red!important;
    }
    
}

@media (max-width: 767px) {

    .show-alt-header #scrolled-logo {
        display: none!important;
    }

    #nav-logo {
        display: none!important;
    }

    .show-alt-header #top-menu .elementor-column,
    .scrolled #top-menu .elementor-column {
        padding-left: 170px;
    }

    .scrolled #logo {
        display: block;
    }

    .show-alt-header #logo {
        display: block!important;
    }

    .show-alt-header #top-menu {
        transform: translateY(0);
    }

    .show-alt-header #top-menu a {
        color: red!important;
    }

    .show-alt-header #top-menu a:after {
        background-color: red!important;
    }

    #top-menu li a {
        flex: 0;
    }

    .show-alt-header  #top-menu .elementor-column {
        padding-left: 170px;
    }

}

@media (max-width: 620px) {

    .scrolled #top-menu li,
    .show-alt-header #top-menu li {
        min-width: 50%;
    }
}

@media (max-width: 480px ) {
    .scrolled #top-menu li,
    .show-alt-header #top-menu li {
        min-width: 100%;
    }
}

@media (max-width: 420px) {

    #top-menu li {
        min-width: 50%;
    }
}