﻿@keyframes OpInKeyFrame {
    0% {
        opacity: 0.0;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes shakeitanimation {
    33% {
        transform: rotate(-15deg);
    }

    66% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.shakeit:hover {
    animation: shakeitanimation 0.25s;
    animation-timing-function: ease-out;
    /*animation-timing-function: ease-in-out;*/
}

html {
    animation: OpInKeyFrame 0.15s;
}

html, body, form, main {
    margin: 0px;
    padding: 0px;
}

main {
    margin-top: 2rem;
}

html, body, form, main, a {
    color: #656565;
}

* {
    font-family: 'Century Gothic', Helvetica, Arial, sans-serif;
}

header {
    width: 100%;
    padding-top: 1rem;
}

footer {
    font-size: 0.6em;
    height: 25px;
    overflow: hidden;
}

section {
    margin-bottom: 4rem;
    overflow: hidden;
}

div.pagecontainer {
    width: 100%;
    height: 100vh;
    margin: 0px auto;
    padding-left: 5px;
    padding-right: 5px;
    display:grid;
    grid-template-rows: min-content auto min-content;
}

p {
    margin-bottom: 0px;
}

p, div {
    text-align: justify;
}

body, h4, h5, h6 {
    font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
    text-align: left;
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.1rem !important;
}

h3 {
    font-size: 1rem !important;
}

.colcontainer {
    margin: 0px -15px 0px -15px;
}

.rowcontainer {
    margin: 0px 15px 0px 15px;
}

a:hover {
    text-decoration: none;
}

a.nohover:hover,
a.aleft:hover,
a.aright:hover,
div.backwardanchor>a:hover,
div.forwardanchor>a:hover {
    background-color: transparent;
}

div.bggray {
    background-color: #ebebeb;
}

.gray {
    color: #8d8987 !important;
}

.black, div.black {
    color: #000000 !important;
}

div.title {
    font-weight: bold;
}

div.hidecolcount > div.columcount {
    column-count: 1;
    column-gap: 0px;
}

/*Navigation*/
div.headline * img.touchlogo {
    height: 30px;
}
div.headline * img {
    height: 35px;
}
div.headline * ul {
    height: 35px;
}
.mainmenu {
    font-weight: bold;
}

.mainmenu > .nav-item {
    padding-left: 5px;
    padding-bottom: 0px;
    margin-left: 10px;
}

#toggleme {
    position: absolute;
    width: 100%;
    background-color: #FFFFFF;
    z-index: 2;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.mainmenu * a,
a.submenuitem {
    display: block;
}
ul.mainmenu * a:hover,
ul.mainmenu * a.active,
a.loginlink:hover,
a#logoutlink:hover {
    color: #000000;
    background-color: #FFFFFF;
}

a:hover,
a.submenuitem:hover,
div#toggleme * a:hover {
    color: #FFFFFF;
    background-color: #000000;
}

button.navbar-toggler {
    border: none;
    outline: none !important;
}

nav.submenu {
    display: none;
    font-size: 11pt;
}
div.submenu {
    height: 52px;
    width: 100%;
    display: flex;
}

div.submenu * li {
    background-color: #FFFFFF;
}

a.activesubmenu {
    color: #000000;
    font-weight: bold;
}

div.touchmenu {
    position: relative;
    width: 100%;
}

div.touchmenu * a {
    display: block;
}

div.touchmenu * a:hover {
    color: #FFFFFF;
}

div.projektnav {
    margin-bottom: 16px;
}

div.projektnav * svg {
    height: 0.8rem;
}

/*News*/
div.txtzeile {
    margin-top: 22px;
    margin-left: -11px;
    margin-right: -11px;
}

div.txtzelle {
    padding-left: 11px;
    padding-right: 11px;
    min-height: 200px;
}

div.txtr {
    order: unset;
}

div.newsimg {
    position: relative;
    height: 100%;
}

img.newsimg {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center center;
}

/*Projekt in Bearbeitung*/
section#projekte-in-bearbeitung * img {
    width: 100%;
}

.imgrow {
    margin-left: -11px;
    margin-right: -11px;
}

.imgrow::after {
    content: "";
    clear: both;
}

.imgcol {
    margin-top: 22px;
    padding-left: 11px;
    padding-right: 11px;
    float: left;
}

.imgcol-6 {
    width: 50%;
}

.imgcol-12 {
    width: 100%;
}

.fright {
    float: right;
}

div.txtcontainer {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgba(0,0,0,0.4);
    color: #FFFFFF;
    text-transform: uppercase;
}

div.txtcontainer * {
    font-family: "Roboto Mono" !important;
}

div.txtbottom {
    position: absolute;
    bottom: 7px;
    left: 0px;
    right: 0px;
    background-color: rgba(255,255,255,0.75);
    padding: 0px 7px;
    font-size: 0.8rem;
    color: #000000;
}

/*Immobilien Angebote*/
section#immobilien-angebote * img {
    width: 100%;
}

/* Projekt Beschreibung */
div.projectgrid {
    height: 100%;
    display: grid;
    grid-template-rows: auto 45px;
}

div.projectcontainer {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #000000;
}

div.diashow {
    display: none;
    visibility: hidden;
    opacity: 0.0;
}

div.description {
    display: none;
    visibility: hidden;
    opacity: 0.0;
    margin-top: 1rem;
}

div.imgoverview {
    display: none;
    visibility: hidden;
    opacity: 0.0;
}

div.display {
    display: block;
    visibility: visible;
    opacity: 1.0;
    animation: OpInKeyFrame 0.25s;
}

div.projektmenu {
    position: fixed;
    bottom: 25px;
    right: 5px;
    width: 100%;
    z-index: 999;
}


div.projektmenu a img {
    width: 35px;
    height: 35px;
}

div.projektmenu a {
    padding: 5px;
    display:block;
}

/* Mosaic */
div.projectmosaiccontainer,
div.mosaiccontainer {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-flow: dense;
    margin-left: -11px;
    margin-right: -11px;
}
div.projectmosaiccontainer {
    grid-template-columns: repeat(1, 1fr 1fr);
}

div.projectmosaicitem {
    margin-top: 22px;
    margin-left: 11px;
    margin-right: 11px;
}

.mosaicitem {
    margin: 11px;
}

.mosaicimg {
    opacity: 1.0;
    object-fit: cover;
    transition: opacity ease-in-out 0.25s;
}

a.mosaiclink {
    display: block;
}

a.mosaiclink:hover img.mosaicimg {
    opacity: 0.0;
}

.mosaicbgimage, .mosaicimg, .mosaicinner {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.mosaic {
    position: relative;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    overflow: hidden;
}

/* 385x280 */
.mosaicnormal,
.mosaiclarge,
.mosaicwide,
.mosaichigh
{
    padding-bottom: 72.73%;
}

.pgridw {
    grid-column: span 2;
}

.pgridh {
    grid-row: span 2;
}

.pgridh1 {
    grid-row: span 4;
    grid-column: span 2;
}

.pgridl {
    grid-row: span 2;
    grid-column: span 2;
}

/* 2:3 */
.projectmosaicnormal,
.projectmosaiclarge {
    padding-bottom: 66.67%;
}

/* 773.33x250.44 */
.projectmosaicwide {
    padding-bottom: 32.38%;
}

/* 375.66x567.88 */
.projectmosaichigh {
    padding-bottom: calc(143.17%);
}

/* 773.33x1157.76*/
.projectmosaichighsinglecolspan {
    padding-bottom: 149.71%;
}


/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    div.projektnav * svg {
        height: 1.0rem;
    }

    div.pagecontainer {
        width: 556px;
        padding: 0px;
    }

    /* Mosaic */
    div.mosaiccontainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr 1fr);
    }

    .gridw {
        grid-column: span 2;
    }

    .gridh {
        grid-row: span 2;
    }

    .gridl {
        grid-row: span 2;
        grid-column: span 2;
    }

    /* 385x280 */
    .mosaiclarge {
        padding-bottom: calc(72.73% + 5px);
    }

    /* 792x280 */
    .mosaicwide {
        padding-bottom: calc(36.36% - 8px);
    }

    /* 385x582 */
    .mosaichigh {
        padding-bottom: calc(151.17% + 8px);
    }

    /* 375.66x567.88 */
    .projectmosaichigh {
        padding-bottom: 141.17%;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    header {
        padding-top: 2.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }

    body {
        font-size: 1rem;
    }

    main {
        margin-top: 0px;
    }

    div.projektnav * svg {
        height: 1.6rem;
    }

    div.pagecontainer {
        width: 750px;
        padding: 0px;
    }

    nav.submenu {
        display: flex;
    }

    #toggleme {
        position: unset;
        margin-left: 0rem;
        margin-right: 0rem;
    }

    div#toggleme * a:hover,
    div#toggleme * a.active {
        color: #FFFFFF !important;
        background-color: #000000;
    }

    div.projektnav * h1 {
        font-size: 1.8rem;
    }

    /*News*/
    div.newsimg {
        margin-top: 0px;
    }

    div.txtr {
        order: 2;
    }

    /* Mosaic */
    div.mosaiccontainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr 1fr 1fr);
    }

    /* 375.66x567.88 */
    .projectmosaichigh {
        padding-bottom: 139.17%;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    div.pagecontainer {
        width: 955px;
        padding: 0px;
    }

    /* Mosaic */
    /* 385x280 */
    .mosaiclarge {
        padding-bottom: calc(72.73% + 5px);
    }

    /* 792x280 */
    .mosaicwide {
        padding-bottom: calc(36.36% - 8px);
    }

    /* 385x582 */
    .mosaichigh {
        padding-bottom: calc(151.17% + 5px);
    }

    /* 375.66x567.88 */
    .projectmosaichigh {
        padding-bottom: 140.5%;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    header {
        padding-top: 3rem;
    }
    div.pagecontainer {
        width: 1160px;
        padding: 0px;
    }

    /* Mosaic */
    /* 385x280 */
    .mosaiclarge {
        padding-bottom: calc(72.73% + 5px);
    }

    /* 792x280 */
    .mosaicwide {
        padding-bottom: calc(36.36% - 8px);
    }

    /* 385x582 */
    .mosaichigh {
        padding-bottom: calc(151.17%);
    }

    /* 375.66x567.88 */
    .projectmosaichigh {
        padding-bottom: 139.17%;
    }
}