/*
 * =======================================================================================
 *
 *	Theme Name:   Rabbinervilla
 *	Theme URI:    https://www.rabbinervilla.de
 *
 *	Description:  
 *
 *	Author:       INTERPAGE
 *	Author URI:   http://www.interpage.de
 *
 *	Version:      1.2
 *
 *	Date created:	21/06/2021
 *	Last modified:	12/05/2026
 *
 * =======================================================================================
 */





/*######################################################################################*/
/*	NORMAL (DESKTOP) VIEW
/*######################################################################################*/


/*======================================================================================*/
/*	General
/*======================================================================================*/

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth;

    color: #0A1A21;
    font-size: 100%;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

body {
    padding: 0;
    height: 100%;
    margin: 0px auto;
    background: #FFF;
}



/* Content Lazy Loading*/
@keyframes starting {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

main,
aside {
    animation-name: starting;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}


/* Gutenberg editor - Color settings */
.has-black-background-color {
    background-color: #0A1A21;
}
.has-black-color {
    color: #0A1A21;
}
.has-white-background-color {
    background-color: #FFF;
}
.has-white-color {
    color: #FFF;
}
.has-blue-background-color {
    background-color: #296B87;
}
.has-blue-color {
    color: #296B87;
}
.has-brown-background-color {
    background-color: #866761;
}
.has-brown-color {
    color: #866761;
}


/*======================================================================================*/
/*	Content formats  
/*======================================================================================*/

/* Headlines */
h1 {
    color: #296B87; 
    font-size: 36px; 
    font-weight: 300;
    line-height: 125%;
    text-align: center;

    margin: 0 0 40px 0;
}

h2 {
    color: #296B87; 
    font-size: 36px; 
    font-weight: 300;
    line-height: 125%;

    margin: 0 0 40px 0;
}

h3 {
    color: #296B87;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;

    margin: 0 0 20px 0;
    border-bottom: 3px solid #296B87;
}

h4, h6 {
    color: #866761;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    text-transform: uppercase;

    margin: 0 0 10px 0;
}

h5 {
    color: #866761;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    font-family: 'Roboto Slab', sans-serif;

    margin: 0 0 40px 0;
}

.has-blue-background-color h2,
.has-blue-background-color h3,
.has-blue-background-color h4,
.has-blue-background-color h5,
.has-blue-background-color h6,
.has-brown-background-color h2,
.has-brown-background-color h3,
.has-brown-background-color h4,
.has-brown-background-color h5,
.has-brown-background-color h6 {
    color: unset !important;
}


/* Paragraphs */
p {margin: 0 0 20px 0;}


/* Bold Font */
b,strong {font-weight: 700;}


/* Text aligns */
.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}


/* Hyperlinks */
main a {color: #DCAD40; font-weight: 400; text-decoration: none;}
main a:hover {color: #DCAD40; text-decoration: underline;}

aside a {color: #FFF; text-decoration: underline;}
aside a:hover {color: #FFF; text-decoration: underline;}


/* Buttons */
a.button,
p.button a {
    margin: 10px 0 10px 0;
    border-radius: 5px;
    background: #DCAD40;
    display: inline-block;
    transition: all ease 0.4s;
    padding: 14px 25px 14px 25px;

    color: #FFF;
    font-weight: 400;
    text-decoration: none;
}

a.button:hover,
p.button a:hover {
    color: #FFF;
    text-decoration: none;
    background: #866761;
}

a.button:after,
p.button a:after {
    position: relative;
    float: right;
    content: "";
    margin: 6px 0 0 6px;

    width: 30px;
    height: 10px;
    background: url(img/icon-arrow-right-white.svg) no-repeat;
    background-position: right center;
    background-size: 100% 100%;
}


/* Lists */
main ul,
aside ul {
    list-style: none;
    margin: 0 0 20px 0;
}

main ol,
aside ol {
    margin: 0 0 20px 20px;
}

main li,
aside li {
    margin: 0 0 8px 0;
}

main ul li,
aside ul li {
    padding: 0 0 0 20px;
    background: url(img/liststyle.gif) no-repeat;
    background-position: left 10px;
}


/* Tables */
table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

    tr {vertical-align: middle;}
    
        td {padding: 10px;}


/* Horizont ruler */
hr,
hr.wp-block-separator {
    border: 0;
    padding: 0;
    height: 1px;
    margin: 40px 0 40px 0;
    border-bottom: 7px solid #EFEFEF;
}


/* Text selection */
::selection {background: #296B87; color: #FFF;}
::-moz-selection { background: #296B87; color: #FFF;}


/* Image links */
a img {
    border: none;
    transition: all ease 0.4s;
}

a img:hover {
    opacity: 0.75;
    transition: all ease 0.4s;
}


/* Images align */
.wp-caption {
    display: table-cell;
    width: auto !important;
}

img.alignleft,
.wp-caption.alignleft {
    float: left;
    margin: 0 25px 25px 0;
}

img.alignright,
.wp-caption.alignright {
    float: right;
    margin: 0 0 25px 25px;
}

img.aligncenter,
.wp-caption.aligncenter {
    margin: auto;
    display: block;
}


/* Images size ratio */
img {
    width: auto;
    height: auto;
}

.half img,
.third img,
.quarter img,
img.size-full,
img.size-large {
    width: 100%;
    height: auto;
}

img.size-medium {
    width: 50%;
    height: auto;
}

img.size-thumbnail {
    width: 25%;
    height: auto;
}

.wp-caption img {
    width: 100%;
    height: auto;
    display: block;
}


/* Image Captions */
.wp-caption .wp-caption-text {
    width: 100%;
}


/* Image Gallery */
.gallery {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

    .gallery-item {
        margin: 0 !important
    }

        .gallery img {
            width: 98%;
            height: 98%;
            display: block;
            margin: 0 auto 2% auto;
            border: none !important;
        }

        .gallery-caption {
            margin: 0 0 10px 0;
        }



/*======================================================================================*/
/*	Forms
/*======================================================================================*/

form {
    margin: 0;
    padding: 0;    
}

    fieldset {
        margin: 0;
        padding: 0;
        border: none;
    }
    
        legend {display: none;}
        
        label  {display: block;}
        
        
        /* Input fields */
        select,
        textarea,
        input[type=tel],
        input[type=text],
        input[type=file],
        input[type=date],
        input[type=email],
        input[type=number],
        input[type=password] {
            outline: none;
            width: 95%;
            height: auto;
            border: none;
            border-radius: 5px;
            padding: 12px 2.5% 12px 2.5%;
            background: #EFEFEF;

            color: #0A1A21;
            font-size: 15px;
            font-weight: 300;
            font-family: 'Roboto', sans-serif;
        }
        
        select {
            width: 100%;
        }
        
        textarea {
            height: 150px;
            overflow: auto;
        }

        input[type=radio],
        input[type=checkbox] {
            margin: 0 10px 10px 0;
        }        
        
        /* Buttons */
        input[type=submit],
        button[type=submit] {
            border: none;
            cursor: pointer;
            margin: 10px 0 10px 0;
            border-radius: 5px;
            display: inline-block;
            transition: all ease 0.4s;
            padding: 15px 55px 15px 25px;

            background: url(img/icon-arrow-right-white.svg) #DCAD40 no-repeat;
            background-size: 30px 10px !important;
            background-position: right 20px center !important;

        
            color: #FFF;
            font-weight: 400;
            font-size: 15px;
            text-decoration: none;
            font-family: 'Roboto', sans-serif;
        }
        
        input[type=submit]:hover,
        button[type=submit]:hover {
            background: url(img/icon-arrow-right-white.svg) #866761 no-repeat;
        }
        
        input[type=submit]:active,
        button[type=submit]:active {
            outline: none;
        }



/* Plugin adjustments: Contact Form 7 */

.wpcf7-list-item {
    margin-left: 0 !important;
}        

img.ajax-loader {
    width: 16px !important;
    height: auto !important;
}

.wpcf7 form .wpcf7-response-output {
    border: none !important;
    width: 95%;
    border-radius: 5px;
    margin: 0 !important;
    padding: 10px 2.5% 10px 2.5% !important;

    color: #fff !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: green;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: red;
}

.wpcf7-not-valid-tip {
    color: red !important;
}



/*======================================================================================*/
/*	Site Structure
/*======================================================================================*/

/*  Main Menu Area ---------------------------------------------------------------------*/

nav#main-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 400px;
    height: 100%;
    margin-right: -400px;
    background: #866761;
}

    nav#main-menu #close-menu {
        position: absolute;
        top: 5%;
        left: 50px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        transition: all ease 0.4s;
        background: url(img/icon-close.svg) no-repeat;
        background-size: 32px 32px;
    }

    nav#main-menu #close-menu:hover {
        opacity: 0.75;
    }

    /* 1st Level */
    nav#main-menu ul {
        position: relative;
        list-style: none;
        top: 20%;
        left: 50px;
        width: calc(100% - 50px);
        height: 80%;
        overflow-y: auto;
    }

        nav#main-menu ul li {
            width: 100%;
        }

            nav#main-menu ul li a {
                height: auto;
                display: inline-block;
                margin: 0 0 30px 0;
                padding: 0 0 3px 0;
                transition: all ease 0.4s;

                color: #FFF;
                font-size: 18px;
                font-weight: 300;
                text-decoration: none;
            }

            nav#main-menu ul li a:hover {
                opacity: 0.75;
                text-decoration: none;
            }

            nav#main-menu ul li.current-menu-item > a,
            nav#main-menu ul li.current-menu-ancestor > a {
                color: #DCAD40;
                border-bottom: 1px solid #DCAD40;
            }

    /* 2nd Level */
    nav#main-menu ul li ul {
        top: 0;
        left: 0;
        display: none;
        margin: -5px 0 20px 0;
    }

        nav#main-menu ul li ul li a {
            margin: 0 0 10px 0;
            padding: 0 0 0 40px;
            background: url(img/icon-arrow-right-white.svg) no-repeat;
            background-position: left center !important;
            background-size: 30px 10px !important;

            font-size: 15px;
        }

        nav#main-menu ul li ul li.current-menu-item a {
            border: none;
            background: url(img/icon-arrow-right-orange.svg) no-repeat;
        }


/*  Header Area ------------------------------------------------------------------------*/

header {
    position: relative;
    top: 0;
    width: 100%;
    height: 140px;
    background: #FFF;
    border-bottom: 2px solid #EFEFEF;

    display: flex;
    align-items: center;
    justify-content: center;
}

    #logo {
        position: absolute;
        left: 5%;
        width: 100%;
        max-width: 230px;
    }

        #logo img {
            width: 100%;
            height: auto;
            display: block;
        }

    #open-menu {
        position: absolute;
        right: 5%;
        width: 32px;
        height: 32px;
        cursor: pointer;
        transition: all ease 0.4s;
        background: url(img/icon-menu.svg) no-repeat;
        background-size: 32px 32px;
    }
    
    #open-menu:hover {
        opacity: 0.75;
    }



/*  Cover Images Area ------------------------------------------------------------------*/

section#cover {
    position: relative;
    width: 100%;
    height: 250px;
}

section#cover-start {
    position: relative;
    width: 100%;
    height: 66.666vh;
}

    section#cover img,
    section#cover-start img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    #cover-txt-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
    }

        #cover-txt {
            position: relative;
            width: 90%;
            height: auto;
            margin: 100px auto 0 auto;
            max-width: 1200px;
        }

            #cover-txt div {
                width: 40%;
                color: #866761;
                font-size: 60px;
                font-weight: 300;
                font-family: 'Roboto Slab', sans-serif;
            }


/*  Main Content Area ------------------------------------------------------------------*/

main {
    position: relative;
    width: 100%;
    height: auto;
    margin: 80px auto 80px auto;

    font-size: 15px;
    line-height: 160%;
}

    article > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
        position: relative;
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

        .alignfull {
            width: 100%;
            margin: 60px 0 60px 0;
        }

        .alignfull + .alignfull {
            margin: -60px 0 60px 0;
        }

            .alignfull .wp-block-group__inner-container {
                width: 90%;
                margin: 0px auto;
                max-width: 1200px;
                padding: 60px 0 40px 0;
            }

        .alignwide {
            width: 100%;
            max-width: 1200px;
            margin: 0px auto;
        }

            .alignwide .wp-block-group__inner-container {
                width: 90%;
                padding: 0;
                margin: 0px auto;
                max-width: 800px;
            }

            .alignwide.has-background .wp-block-group__inner-container {
                padding: 60px 0 40px 0;
            }

    .wp-block-media-text {
        margin-bottom: 40px;
    }

        .wp-block-media-text__media,
        .wp-block-media-text__content {
            margin: 0 0 30px 0 !important;
        }

        .wp-block-media-text .wp-block-media-text__content {
            padding: 0 5% !important;
        }

    .wp-block-file {
        min-height: 64px !important;
        padding: 0 !important;
        margin: 0 0 30px 0 !important;
    }

        .wp-block-file a:first-child {
            color: #866761;
            display: block !important;
            height: 100% !important;
        }

        .wp-block-file a:first-child:before {
            position: relative;
            float: left;
            width: 64px;
            height: 64px;
            content: "";
            margin: 0 5px 0 0;
            font-size: 0 !important;
            border-radius: 0 !important;
            background: url(img/icon-download.png) no-repeat !important;
            background-size: 100% 100% !important;
        }

        .wp-block-file .wp-block-file__button {
            margin: 5px 0 0 0 !important;
            background: #DCAD40 !important;
            border-radius: 5px !important;
        }

/*  Aside Area -------------------------------------------------------------------------*/

aside {
    position: relative;
    width: 100%;
    height: auto;
    background-size: cover !important;
}

    #aside-trans {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(41, 107, 135, 0.8);
    }

    #aside-content {
        position: relative;
        z-index: 2;
        width: 90%;
        height: auto;
        margin: 0 auto;
        max-width: 1200px;
        padding: 60px 0 40px 0;

        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;

        color: #FFF;
        font-size: 15px;
        line-height: 150%;
    }

        .aside-widget {
            flex-basis: 48%;
        }

        aside h2, 
        aside h3,
        aside h4,
        aside h5,
        aside h6 {
            color: #FFF;
        }


/*  Footer Area ------------------------------------------------------------------------*/

footer {
    position: relative;
    width: 100%;
    height: auto;
    background: #866761;
}

    #footer-content {
        position: relative;
        width: 90%;
        height: auto;
        margin: 0 auto;
        max-width: 1200px;
        padding: 40px 0 30px 0;

        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;

        color: #FFF;
        font-size: 15px;
        line-height: 150%;
    }

        #address {
            flex-basis: 70%;
        }

        nav#footer-menu {
            flex-basis: 25%;
        }

            nav#footer-menu ul {
                width: 100%;
                list-style: none;
            }

                nav#footer-menu ul li {
                    width: 100%;
                }

                    nav#footer-menu ul li a {
                        display: inline-block;
                        margin: 0 0 10px 0;
                        transition: all ease 0.4s;

                        color: #FFF;
                        font-weight: 400;
                        text-decoration: none;
                    }

                    nav#footer-menu ul li a:before {
                        position: relative;
                        float: left;
                        content: "";
                        margin: 5px 10px 0 0;
                    
                        width: 30px;
                        height: 10px;
                        background: url(img/icon-arrow-right-white.svg) no-repeat;
                        background-position: right center;
                        background-size: 100% 100%;
                    }

                    nav#footer-menu ul li a:hover {
                        opacity: 0.75;
                        text-decoration: none;
                    }

                    nav#footer-menu ul li.current-menu-item > a,
                    nav#footer-menu ul li.current-menu-ancestor > a {
                        color: #DCAD40;
                    }


#to-top {
    position: fixed;
    opacity: 0;
    z-index: 10;
    right: 5%;
    bottom: 50px;
    width: 33px;
    height: 83px;
    transition: all ease 0.4s;
    background: url(img/icon-arrow-up.svg) no-repeat;
    background-size: 100% 100% !important;
}

#to-top:hover {
    opacity: 0.75;
}

    #to-top a {
        width: 100%;
        height: 100%;
        display: block;
    }


/*######################################################################################*/
/*	BREAKPOINT (@ 1000 Pixel)
/*######################################################################################*/

@media only screen and (max-width: 1000px) { 

h1 {font-size: 28px;}

h2 {font-size: 28px;}

h3 {font-size: 18px;}

h4, h6 {font-size: 16px;}

h5 {font-size: 16px;}


/*  Main Menu Area ---------------------------------------------------------------------*/

nav#main-menu {
    width: 300px;
    margin-right: -300px;
}

    nav#main-menu #close-menu {
        top: 2.5%;
        left: 25px;
        width: 24px;
        height: 24px;
        background-size: 24px 24px;
    }

    nav#main-menu ul {
        left: 25px;
        top: 10%;
        height: 90%;
    }

        nav#main-menu ul li a {
            font-size: 16px;
            margin: 0 0 20px 0;
        }

        nav#main-menu ul li ul li a {
            font-size: 13px;
            margin: 0 0 10px 0;
            padding: 0 0 0 25px;
            background-size: 15px 5px !important;
        }

    
/*  Header Area ------------------------------------------------------------------------*/

header {
    height: 70px;
}

    #logo {
        max-width: 100px;
    }

    #open-menu {
        width: 28px;
        height: 28px;
        background-size: 28px 28px;
    }


/*  Cover Images Area ------------------------------------------------------------------*/

section#cover {
    height: 150px;
}

section#cover-start {
    height: 50vh;
}

    #cover-txt {
        margin: 50px auto 0 auto;
    }

        #cover-txt div {
            width: 75%;
            font-size: 40px;
        }


/*  Main Content Area ------------------------------------------------------------------*/

main {
    margin: 40px auto 40px auto;
}

    .wp-block-file {
        min-height: 32px;
    }

    .wp-block-file .wp-block-file__button {
        width: 32px;
        height: 32px;
    }


/*  Aside Area -------------------------------------------------------------------------*/

#aside-content {
    padding: 40px 0 20px 0;
}

    .aside-widget {
        flex-basis: 100%;
        margin: 0 0 20px 0;
    }

/*  Footer Area ------------------------------------------------------------------------*/   
    
#to-top {
    width: 16px;
    height: 40px;
    bottom: 25px;
}

} /* <--- END MEDIA */




/*######################################################################################*/
/*	BREAKPOINT (@ 600 Pixel)
/*######################################################################################*/

@media only screen and (max-width: 600px) { 

/*  Cover Images Area ------------------------------------------------------------------*/

section#cover {
    height: 125px;
}

#cover-txt div {
    width: 100%;
    font-size: 34px;
}

/*  Footer Area ------------------------------------------------------------------------*/    
    
#address {
    flex-basis: 100%;
}

nav#footer-menu {
    flex-basis: 100%;
    margin: 20px 0 0 0;
}

} /* <--- END MEDIA */