html {
    scroll-behavior: smooth;
  }

body{
    font-family: 'Lato', sans-serif;
}

section span
{
    border-bottom: solid 3px #c83838;
    color: #c83838;
}

h2, h3
{
    text-transform: uppercase;
}

a:hover
{
    color: #c83838 !important;
}

button:hover
{
    color: #c83838 !important;
    border-color: #c83838 !important;
}

/* ######## */
/* ######## */
/* nav */
/* ######## */
/* ######## */

/* Page content */
.content {
    padding-top: 0px;
  }
  
  /* The sticky cl2ss is added to the navbar with JS when it reaches its scroll position */
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
  /* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
  .sticky + .content {
    padding-top: 160px;;
  }

#navall
{
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}

#topnavigation
{
    background-image: url('../img/scale.png');
    background-repeat: repeat-x;
    background-position: top left;
}
@media only screen and (max-width: 1500px) {
    #logo
    {
        max-width: 150px !important;
    }
}
@media only screen and (min-width: 1500px) {
    #logo
    {
        max-width: 250px !important;
    }
}
nav a span
{
border-bottom: 2px solid #fff !important;
}
nav a span:hover
{
border-bottom: 2px solid #c83838 !important;
}

/* ######## */
/* ######## */
/* Heroslide */
/* ######## */
/* ######## */

#glide1
{
    background-image: url('../img/01.jpg');
}

#glide2
{
    background-image: url('../img/02.jpg');
}

#glide3
{
    background-image: url('../img/03.jpg');
}

.glidebg 
{
    height: 80vh;
    width: 100%;
    background-position: center center;
    background-size: cover;
}

.glide a
{
    background-color: #c83838 !important;
    border: solid 1px #c83838 !important;
}

.glide a:hover
{
    background-color: #fff !important;
    color: #c83838 !important;
}

.bgcontent
{
    position: relative;
    z-index: 3;
}

@media only screen and (min-width: 1500px) {
    .bgcontent
    {
        padding-top: 200px !important;
    }
}

.bgoverlay
{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);

}


/* ######## */
/* ######## */
/* Vorteile */
/* ######## */
/* ######## */

#start
{
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    background-image: url('../img/diagonal-bold-dark.png');
    background-repeat: repeat;
}

.factitem
{
    background-color: #fff;
}

.factitem:hover i
{
    animation: flip; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 2s; /* don't forget to set a duration! */
    color: #c83838;
    transition: color .8s ease-in-out;

}


/* ######## */
/* ######## */
/* Kontakt */
/* ######## */
/* ######## */

.subbutton
{
    height: 40px;
    width: 87%;
    background-color: #c83838;
    color: #fff;
    border: solid 1px #c83838;
}

.subbutton:hover
{
    height: 40px;
    width: 87%;
    background-color: #fff;
    color: #000;
    border: solid 1px #c83838;
}

.iconkont
{
    width: 40px;
    height: 40px;
    background-color: #c83838;
}

.iconkontlong
{
    width: 40px;
    height: 120px;
    background-color: #c83838;
}

.fieldkont
{
    height: 40px;
    width: 80%;
    background-color: #fff;
    border: solid 1px #000;
}

.fieldkontlong
{
    min-height: 120px;
    width: 80%;
    background-color: #fff;
    border: solid 1px #000;
}

.fieldkont input:focus, .fieldkont input:active
{
 border-radius: 0px !important;
}

#kontakt h4
{
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
    width: 87%;
}

#kontakt a
{
    text-decoration: none;
    color: #c83838;
    border-bottom: solid 2px #fff;
}

#kontakt a:hover
{
    color: #c83838;
    border-bottom: solid 2px #c83838;
}

.map
{
    border-top: solid 1px #000;
}


/* ######## */
/* ######## */
/* footer */
/* ######## */
/* ######## */
footer
{
    background-color: #c83838;
}

footer button, footer button:focus, footer button:active
{
    color: #fff !important;
    border: none;
    background-color: none;
    outline: none -webkit-focus-ring-color;
    outline: none;
}



footer button:hover
{
    color: #000 !important;
    border: none;
    background-color: none;
}


#route
{
    position: relative;
    bottom: 50px;
}

#routebutton
{
    color: #fff !important;
    background-color: #c83838 !important;
    border: solid 1px #c83838 !important;
    padding: 5px;
}
#routebutton:hover
{
    color: #c83838 !important;
    background-color: #fff !important;
    border: solid 1px #c83838 !important;
    padding: 5px;
}

/* ######## */
/* ######## */
/* Modal */
/* ######## */
/* ######## */
#modal, #modal2
{
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 5000;
    width: 95%;
    height: 90%;
    background-color: white;
    border: solid 2px #000;

}

.modalcontent
{
    padding: 10%;
}

#modal button, #modal2 button
{
    color: #c83838 !important;
    border: solid 1px #fff !important;
    padding: 5px;
}
#modal button:hover, #modal2 button:hover
{
    color: #000 !important;
    border: solid 1px #fff !important;
    padding: 5px;
}