@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500');
@import url('https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:700');

body {
    background-color: black;
    margin: 0;
    color: #74CAF2;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: 0.9em;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #11560D;
}

p {
    max-width: 889px;
    margin: 0 auto;
}

h1, h2 {
    text-transform: uppercase;
}

h1 {
    font-family: 'Saira Extra Condensed', sans-serif;
    color: #74CAF2;
    font-size: 4em;
    margin: 0;
    line-height: 100%;
}

h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2em;
    margin: 0;
    font-weight: 400;
}

h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
}

h1 span {
    color: #e7b829;
}

#go-to-top {
    position: fixed;
    bottom: 0px;
    right: 5%;
    z-index: 2;
}

#go-to-top button {
    background: transparent;
    border: none;
}

#go-to-top button:focus {
    outline: none;
}

#content-container {
    background-image: url('../image/xfibu/image_teaser.png');
    background-size: cover;
}

#content-inner-container {
    background-color: black;
    min-height: 100vh;
    margin: 0 auto;
    box-sizing: border-box;
    width: 90%;
}

#content {
    
    padding: 30px 15px;
    margin: 0 auto;
    box-sizing: border-box;
    
    max-width: 1438px;
}

#menu-flex-container {
    display: flex;
    height: 53px;
    margin-bottom: 120px;
    margin-left: 150px;
    margin-right: 150px;
}

#menu-container {
    flex-grow: 1;
    align-self: center;
}

#menu-container > ul {
    list-style: none;
    text-align: right;
    text-transform: uppercase;
    font-size: 1.4em;
    font-family: 'Saira Extra Condensed', sans-serif;
    vertical-align: middle;
    margin: 0;
}

#menu-container > ul > li {
    display: inline-block;
}

#menu-container > ul > li.display-small {
    display: none;
}

#menu-container ul li a:hover {
    color: #e7b829;
    border-bottom: 2px solid #e7b829;
}

#menu-container ul li:not(:last-child) {
    margin-right: 20px;
}


.menu-dropdown {
    position: relative;
    display: inline-block;
    color: #11560D;
}

.menu-dropdown-content {
    display: none;
    position: absolute;
    padding: 0;
    z-index: 1;
}

.menu-dropdown-content > * {
    display: block;
    text-align: left;
    margin: 0;
}

.menu-dropdown:hover .menu-dropdown-content {
    display: block;
}



.menu-selected {
    border-bottom: #e7b829 2px solid;
}

.menu-selected a {
    color: #e7b829;
}

#footer {
    display: flex;
    border-top: 1px solid #B0B0B0;
    color: #B0B0B0;
    height: 40px;
}

#footer > * {
    flex-basis: 0;
    flex-grow: 1;
    align-self: center;
}

/** HOME **/

#company-banner {
    display: flex;
    justify-content: center;
    background-color: #74CAF2;
    color: white;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 2;
}

#company-banner p {
    margin: 0;
    max-width: unset;
    line-height: 40px;
    margin-right: 10px;
}

#company-banner button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 6px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0px 15px;
    height: 30px;
    align-self: center;
}

#home-gallerie {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 668px;
}

#home-gallerie div {
    margin: 20px;
}

#home-buttons {
    display: flex;
    flex-wrap: wrap;
}

#home-buttons div {
    flex-basis: 0;
    flex-shrink: 0;
    flex-grow: 1;
    margin: 20px;
    min-width: 250px;
}

#home-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#home-features > div {
    background-image: url('../image/home/bg-features.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 314px;
    width: 264px;
    padding: 20px 10px;
    margin: 10px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
    color: black;
}

#home-daily-business {
    display: flex;
    flex-direction: column;
}

#home-daily-business > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#home-daily-business > div > div {
    display: flex;
    align-self: center;
    flex-shrink: 0;
}

#home-daily-business > div > div > * {
    align-self: center;
    flex-shrink: 0;
}

#home-daily-business > div > div > div {
    display: flex;
    background-image: url('../image/home/bg-daily-business.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 81px;
    width: 523px;
    padding: 20px 20px;
    box-sizing: border-box;
    color: black;
    margin: 8px 20px;
}

#home-daily-business > div > div > div > * {
    align-self: center;
}

#home-daily-business > div > div > div img {
    margin-right: 20px;
}



#home-daily-business .verwaltung {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .rabatt {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .umsatztacho {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .kassenbon {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .werbedisplay {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .zahlungsmittel {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .gutschein {
    background-image: url('../image/home/bg-daily-business.png');
}

#home-daily-business .pruefsicher {
    background-image: url('../image/home/bg-daily-business.png');
}



#home-support {
    display: flex;
    justify-content: center;
}

#home-support > div {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: 0 10px;
}

#home-support .support-container {
    background-size: contain;
    background-repeat: no-repeat;
    height: 199px;
    width: 324px;
    padding: 20px 20px;
    box-sizing: border-box;
    margin-bottom: 15px;
    color: black;
}

#home-support .service-line {
    background-image: url('../image/home/bg-support-l-1.png');
}

#home-support .fernwartung {
    background-image: url('../image/home/bg-support-l-2.png');
}

#home-support .tauschgeraet {
    background-image: url('../image/home/bg-support-l-3.png');
}

#home-support .garantie {
    background-image: url('../image/home/bg-support-r-1.png');
}

#home-support .selfmade {
    background-image: url('../image/home/bg-support-r-2.png');
}

#home-support .innovation {
    background-image: url('../image/home/bg-support-r-3.png');
}

#home-support .left-container {
    padding-right: 60px;
}

#home-support .right-container {
    padding-left: 60px;
}

#home-support .support-container h3 {
    margin-bottom: 0px;
}

#home-packages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#home-packages > div {
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 20px;
    height: 494px;
    width: 379px;
    box-sizing: border-box;
    color: black;
    margin: 8px 20px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    padding: 0 20px;
}

.no-decoration {
    color: #e7b829;
}

.package-header {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.package-item {
    display: flex;
    margin-bottom: 8px;
}

.package-item > * {
    align-self: center;
}

.package-item .package-item-grow {
    flex-grow: 1;
}

.package-seperator {
    border-top: 1px solid black;
}

.package-last-item {
    flex-grow: 1;
}

.package-last-item > * {
    align-self: flex-start;
}

.package-price {
    font-size: 34px;
    line-height: 65px;
    height: 65px;
    color: white;
}

#home-contact {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#home-contact h3 {
    font-size: 2em;
}

#home-contact p {
    font-size: 1.6em;
}

#home-contact > div {
    flex-basis: 0;
    flex-grow: 1;
    margin: 10px 10px;
}

#home-allXpert {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#home-allXpert > * {
    margin: 10px 15px;
}

#home-allXpert .innerList {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#home-allXpert .innerList > * {
    margin: 5px;
}

.home-allXpert-container {
    margin-bottom: 10px;
}

/** CLASSES **/
#home-support > div.medium-visible {
    display: none;
}

.clear-both {
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.smaller-content-box {
    max-width: 889px;
}

.regular-quicksand {
    font-weight: 500;
}

.block-center {
    margin: 0 auto;
}

.margin-top {
    margin-top: 30px;
}

.margin-bottom {
    margin-bottom: 30px;
}

.margin-top-wide {
    margin-top: 90px;
}

.margin-bottom-wide {
    margin-bottom: 90px;
}

.margin-right {
    margin-right: 10px;
}

.text-center {
    text-align: center;
}

.info-box {
    font-size: 1.3em;
    max-width: 889px;
    border: 2px solid #74CAF2;
    border-radius: 25px;
    overflow: hidden;
}

.padding-box {
    padding: 15px;
}

.smaller-text {
    font-size: 0.7em;
}

.small-text {
    font-size: 0.8em;
}

.button {
    color: #74CAF2;
    background-color: transparent;
    box-sizing: border-box;
    position: relative;
    height: 100%;
    width: 100%;
    border: 4px solid black;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px;
    cursor: pointer;
}

.button-hover:hover {
    background-color: #74CAF2;
    color: white;
}

.selected-view-button {
    background-color: #74CAF2;
    color: white;
}

.border-bottom {
    border-bottom: 2px solid #74CAF2;
    max-width: 889px;
}

.background::before {
    border-top: 2px solid #74CAF2;
    content:"";
    margin: 0 auto; /* this centers the line to the full width specified */
    position: absolute; /* positioning must be absolute here, and relative positioning must be applied to the parent */
    top: 50%; left: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: -1;
}

.background {
    position: relative;
    z-index: 1;
}

.background span {
    /* to hide the lines from behind the text, you have to set the background color the same as the container */ 
    text-transform: uppercase;
    background: black; 
    padding: 0 15px; 
}

#home-gallerie .gallerie-container {
    overflow: hidden;
    height: 187px;
    width: 182px;
    background-image: url('../image/home/test/hintergrund_hell.png');
    background-size: contain;
}

#home-gallerie .gallerie-container:hover {
    background-image: url('../image/home/test/hintergrund_dunkel.png');
}

#home-gallerie .gallerie-container:hover > .img-content {
    margin-top: -187px;
    opacity: 0;
}

#home-gallerie .gallerie-container:hover > .text-content {
    opacity: 1;
}

#home-gallerie .gallerie-container.gallerie-hover {
    background-image: url('../image/home/test/hintergrund_dunkel.png');
}

#home-gallerie .gallerie-container.gallerie-hover > .img-content {
    margin-top: -187px;
    opacity: 0;
}

#home-gallerie .gallerie-container.gallerie-hover > .text-content {
    opacity: 1;
}

#home-gallerie .text-content {
    box-sizing: border-box;
    margin: 30px 20px;
    opacity: 0;
    transition: opacity 0.7s;
    font-size: 1.3em;
    display: flex;
    height: 127px;
}

#home-gallerie .text-content span {
    align-self: center;
}

#home-gallerie .img-content {
    margin: 0px;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.5s;
}

#vertrieb-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.vertrieb-box {
    border: #e7b829 2px solid;
    border-radius: 25px;
    min-width: 271px;
    min-height: 202px;
    margin: 20px 40px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertrieb-box * {
    align-self: center;
    
}

.vertrieb-box h3 {
    font-size: 2em;
}

.vertrieb-box a {
    color: #e7b829;
    font-size: 1.6em;
}

/* media query */
@media all and (max-width:1522px) {
    #menu-flex-container {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 60px;
        flex-direction: column;
        height: auto;
    }
    
    #menu-flex-container img {
        margin: 0 auto;
    }

    #menu-container > ul {
        padding: 0;
        text-align: center;
        font-size: 3em;
    }
    #menu-container > ul > li {
        display: block;
        margin: 10px 0;
    }

    .menu-dropdown {
        display: none;
    }

    #menu-container > ul > li.display-small {
        display: block;
    }

    #menu-container ul li:not(:last-child) {
        margin: 10px 0;
    }
}

@media all and (max-width:1300px) {
    #home-support > div.medium-visible {
        display: block;
    }
    
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 1.5em;
    }
    
    #home-support {
        flex-direction: column;
    }

    #home-support .support-container {
        width: 300px;
        height: 228px;
        margin-bottom: 20px;
    }

    #home-support .support-container h3 {
        font-weight: 500;
    }

    #home-support .support-container .small-text {
        font-size: 1.1em;
    }

    #home-support .left-container {
        padding-right: 20px;
    }
    
    #home-support .right-container {
        padding-left: 20px;
    }

    #home-support .service-line {
        background-image: url('../image/home/bg-support-m-1.png');
    }
    
    #home-support .fernwartung {
        background-image: url('../image/home/bg-support-m-2.png');
    }
    
    #home-support .tauschgeraet {
        background-image: url('../image/home/bg-support-m-3.png');
    }
    
    #home-support .garantie {
        background-image: url('../image/home/bg-support-m-4.png');
    }
    
    #home-support .selfmade {
        background-image: url('../image/home/bg-support-m-5.png');
    }
    
    #home-support .innovation {
        background-image: url('../image/home/bg-support-m-6.png');
    }

    #home-support > div.medium-invisible {
        display: none;
    }
}

@media all and (max-width: 724px) {
    #home-daily-business > div > div {
        width: 100%;
        justify-content: center;
    }

    #home-daily-business > div > div > img {
        display: none;
    }

    #home-daily-business > div > div > div {
        flex-direction: column;
        align-self: center;
        width: 300px;
        margin: 8px 0px;
        height: 245px;
        text-align: center;
        font-size: 1.2em;
        justify-content: center;
    }

    #home-daily-business > div > div > div img {
        margin-right: 0px;
        margin-bottom: 20px;
    }

    #home-daily-business .verwaltung {
        background-image: url('../image/home/bg-daily-business-m-verwaltung.png');
    }
    
    #home-daily-business .rabatt {
        background-image: url('../image/home/bg-daily-business-m-rabatt.png');
    }
    
    #home-daily-business .umsatztacho {
        background-image: url('../image/home/bg-daily-business-m-umsatztacho.png');
    }
    
    #home-daily-business .kassenbon {
        background-image: url('../image/home/bg-daily-business-m-kassenbon.png');
    }
    
    #home-daily-business .werbedisplay {
        background-image: url('../image/home/bg-daily-business-m-werbedisplay.png');
    }
    
    #home-daily-business .zahlungsmittel {
        background-image: url('../image/home/bg-daily-business-m-zahlungsmittel.png');
    }
    
    #home-daily-business .gutschein {
        background-image: url('../image/home/bg-daily-business-m-gutschein.png');
    }
    
    #home-daily-business .pruefsicher {
        background-image: url('../image/home/bg-daily-business-m-pruefsicher.png');
    }

    #go-to-top img {
        width: 42px;
        height: 40px;
    }
}

@media all and (max-width: 460px) {
    #home-packages > div {
        -ms-transform: scale(0.7, 0.7);
        -webkit-transform: scale(0.7, 0.7);
        transform: scale(0.7, 0.7);
    }
}

