* { margin: 0; padding: 0; }

html, body {
    width: 100%;
    height: 100%;
}

html, body, p, ul, h1, h2, img {
    margin: 0;
    padding: 0;
}


body {
    background: lightgray;
    color: #333;
    font-family: "jaf-bernino-sans-condensed", sans-serif;
    font-size: 100%;
    font-weight: 300;
}

#wrap {
    padding: 0 15px;
    position: relative;
    z-index: 99;
}

#accordion_wrap {
    margin: 160px auto 0px auto;
    max-width: 850px;
}

#accordion_wrap .content {
    margin:0 0 4px 0;
    background: rgb(255, 255, 255); /* The Fallback */
    background: rgba(255, 255, 255, 0.5);
}

.content {
    padding: 20px;
}


.content p, div.content ul, div.content p, div.content ul {
    padding: 5px 0;
    letter-spacing: 0.5px;
    line-height: 22px;
}

.content table {
    padding: 6px 10px 6px 20px;
    line-height: 22px;
}

.content h1 {
    padding: 20px 10px 0px 20px;
    letter-spacing: .5px;
    display: block;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    color: #4b752d;
}

.content h2  {
    display: block;
    font-size: 1.5em;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    color: #4b752d;
    border-top: #4b752d solid 1px;
    padding: 20px 0 5px 0 ;
}

#metabox_wrap {
    position: fixed;
    top: 0px;
    right: 30px;
    width: 210px;
    z-index: 999;
}


#accordion_wrap h5 {
    margin: 0 0 3px 0px;
    padding: 10px 20px;
    font-size: 1.15em;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    background-color: #4b752d;
    color: #fff;
    background-repeat: no-repeat;
    background-position: 99% 50%;
    clear:left;
}

#accordion_wrap li.active h5 {
}


#accordion_wrap img {
    padding: 5px 0 0 0px;
    vertical-align: top;
}

#metabox_wrap h1 {
    font-size: 1.0em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    line-height: 1.0em;
    font-weight: 400;
}


#metabox_wrap h3 {
    padding: 0 20px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    background-color: #fff;
    color: #4b752d;
    line-height: 1.8em;
}

#metabox_wrap .content {
    margin:0 0 4px 0;
    background: rgb(255, 255, 255); /* The Fallback */
    background: rgba(255, 255, 255, 0.8);}


#logo {
    position: fixed;
    left: 40px;
    top: 50px;
    width: 217px;
    height: 69px;
}

#logo img {
    width: 100%;
    height: auto;
}

/* //// svit logo //// */

#svit {
    margin-top: 5px;
    width: 100%;
    height: 22px;
}

#svit a, #svit p {
    width: 45px;
    float: right;
    padding-left: 10px;
    padding-top: 5px;
}


/* //// Footer //// */

#filet-footer{
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-image: url("images/filet-utag.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: 10;
}

#logo_utag-treuhand {
    position: fixed;
    left: 160px;
    bottom: 60px;
    width: 120px;
    height: 68px;
}

/* //// TEAM //// */

#content_team > div {
    clear: left;
    border-top: #4b752d solid 1px;

}

#content_team .ce-gallery {
    width: 28%;
    float: left;
}

#content_team .ce-bodytext{
    width: 70%;
    float: left;

}


/* //// TYPO AUSZEICHNUNGEN //// */

img {
    border: none;
}

.immoimages {
    width: 100%;
    padding: 0 10px 6px 0px;
}

.immoimages img {
    width: 30%;
    height: auto;
}

ul {list-style: square;
    margin: 0 0 0px 20px;
}


a {
    text-decoration: none;
    color: #4b752d;
}


a:link {color: #4b752d; text-decoration:none; }
a:visited {color: #333333; text-decoration:none; }
a:hover {color: #333333; text-decoration:none; }
a:active {color: #333333; text-decoration:none; }

td {
    vertical-align: top;
}


.teaserimg {
    width: 33.333332%;
    height: auto;
}


.ui-widget-content {
    background: none;
    border: none;
    color: #222;
}



/* ////// ce-gallery responsive /////// */
.ce-gallery {
    margin: 10px 0;
}

.ce-gallery .ce-column {
    width: 100%;
    margin: 0;
    /* Abstand zwischen Bildern */
    padding: 0 5px;
    box-sizing: border-box;
}

/* Kein Abstand beim ersten und letzten Bild */
.ce-gallery .ce-column:first-child {
    padding-left: 0;
}

.ce-gallery .ce-column:last-child {
    margin-right: 0;
}

/* Fluid Image Tags */
.ce-gallery img,
.ce-gallery picture {
    width: 100%;
    height: auto;
}

/* Spaltenbreiten je nach eingestellten Columns */

.ce-gallery[data-ce-columns="2"] .ce-column {
    width: 50%;
}

.ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33%;
}

.ce-gallery[data-ce-columns="4"] .ce-column {
    width: 25%;
}

.ce-gallery[data-ce-columns="5"] .ce-column {
    width: 20%;
}



/* ////// Bilder bei Mietangeboten in Accordion /////// */

.ce-gallery-trigger-accordion {
    display: none;
}

#content_mietangebote .ce-gallery-trigger-accordion {
    display: inline-block;
}


#content_mietangebote .ce-row {
    display: none;
}

#content_mietangebote .ce-gallery-trigger-accordion div {
    display: inline-block;
    padding: 5px 8px;
    background-color: white;
    color: #4b752d;
    border: #4b752d solid 1px;
    cursor: pointer;
    font-weight: 600;
    transition: all ease-out 0.8s;
}

#content_mietangebote .ce-gallery-trigger-accordion div:hover {
    background-color: #4b752d;
    color: white;
}

.ce-gallery-toclose {
    display: none;
}

#content_mietangebote .gallery-open .ce-row {
    display: block;
}

.gallery-open .ce-gallery-toopen {
    display: none;
}

.gallery-open .ce-gallery-toclose {
    display: inline;
}




/* Tablets (portrait and landscape) ----------- */
@media only screen and (max-width: 1100px) {

    #accordion_wrap {
        margin: 120px auto 0px auto;
        width: 100%;
    }

    #metabox_wrap {
        position: relative;
        width: 90%;
        right: 0px;
        top: 20px;
        padding: 0 15px;
    }

    #logo {
        position: absolute;
        left: 15px;
        top: 15px;
        width: 180px;
        height: auto;
    }

    #accordion_wrap h5 {
        padding: 5px 15px;
    }

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width: 600px) {

    #content_team .ce-gallery {
        width: 100%;
        float: none;
    }

}
