/*Typography */

@import "typography.css";

/* Agent-Template */
body {
    overflow-x: hidden;
}

.px-main {
    padding-left: 5%;
    padding-right: 5%;
}

.bg-main {
    background-color: #19416F;
    color: #fff;
}

.text-main {
    color: #19416F;
}

.btn-default {
    border: 1px solid #ccc;
}

.btn-default:hover {
    background-color: #eee;
}

.info {
    color: #bd4444;
}

@media (max-width:1199px) {
    p {
        font-size: 22px
    }
}

@media (max-width:991px) {
    p {
        font-size: 20px
    }
}

@media (max-width:575px) {

    p,
    div,
    ul {
        font-size: 18px
    }

    h2 {
        font-size: 40px
    }
}

/*HERO*/
#hero {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero_slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.hero_slide.active {
    visibility: visible;
    opacity: 1;
}

.hero_slide>h1 {
    transform: translateX(-200px);
    opacity: 0;
    -webkit-transition: all ease-out 0.3s;
    transition: all ease-out 0.3s;
    width: 500px;
    max-width: calc(100vw - 70px)
}

.hero_slide.active>h1 {
    opacity: 1;
    transform: translateX(0px);
}

.hero_slide>a {
    color: #fff;
    font-size: 24px;
    padding: 11px 22px;
    border: 2px solid #fff;
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

#hero_slide_1 {
    background-image: url('../img/epicasus_blau_head_1920xX-tri.png');
}

#hero_slide_2 {
    background-image: url('../img/epicasus_blau_geschichte_1920x1090-tri.png');
}

#hero_slide_3 {
    background-image: url('../img/epicasus_blau_kontakt_1920x1090-tri.png');
}

#hero_slide_20 {
    background-image: url('../img/epicasus_sgf1_1920x1090-tri.png');
}

#hero_slide_21 {
    background-image: url('../img/epicasus_gf2_1920x1090-tri.png');
}

@media (max-width:800px) {
    #hero_slide_1 {
        background-image: url('../img/epicasus_blau_head_800x800-tri.png');
    }

    #hero_slide_2 {
        background-image: url('../img/epicasus_blau_geschichte_800x800-tri.png');
    }

    #hero_slide_3 {
        background-image: url('../img/epicasus_blau_kontakt_800x800-tri.png');
    }

    #hero_slide_20 {
        background-image: url('../img/epicasus_gf1_800x800-tri.png');
    }

    #hero_slide_21 {
        background-image: url('../img/epicasus_gf2_800x800-tri.png');
    }
}

#hero_navigation {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

#hero_navigation>div {
    border: 2px solid #fff;
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
    cursor: pointer;
}

#hero_navigation>div.active,
#hero_navigation>div:hover {
    background-color: #fff;
}

#hero_arrow {
    position: absolute;
    left: 50%;
    bottom: 35px;
    border-left: 5px solid #fff;
    border-bottom: 5px solid #fff;
    border-right: 5px solid transparent;
    border-top: 5px solid transparent;
    width: 80px;
    height: 80px;
    transform: translateX(-50%) rotateZ(-45deg);
    animation: arrow 1.6s linear 0s infinite normal;
}

@keyframes arrow {
    0% {
        bottom: 55px;
        opacity: 0;
    }

    20% {
        bottom: 55px;
        opacity: 0;
    }

    40% {
        bottom: 48px;
        opacity: 1;
    }

    60% {
        bottom: 41px;
        opacity: 1;
    }

    80% {
        bottom: 34px;
        opacity: 0;
    }

    100% {
        bottom: 34px;
        opacity: 0;
    }
}

@media (max-width:575px) {
    #hero h1 {
        font-size: 30px;
        padding-right: 50px;
    }

    .hero_slide>a {
        font-size: 18px;
        padding: 8px 16px;
    }
}



/*SECTIONS*/
.arrow_container {
    height: 100px;
    position: relative;
    margin-bottom: 25px;
}

.arrow_container>div {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotateZ(-45deg);
    top: -50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow_container>div>div {
    border-right: 4px solid transparent;
    border-top: 4px solid transparent;
    width: 84%;
    height: 84%;
}


#darum img {
    width: 40px;
    margin-right: 10px;
    margin-top: 6px;
}

/****** TESTIMONIALS*/
#testimonials img {
    max-height: 50px;
    width: auto;
}

#testimonials .owl-stage {
    display: flex;
    align-items: stretch;
    padding: 5px;
}

#testimonials .item {
    border-color: #f3f3f3 !important;
    background-color: #fff;
    color: #707070;
    box-shadow: 3px 3px 6px 0px rgba(0, 46, 89, 0.22);
}

#testimonials .item .text-main {
    font-size: 1rem;
    line-height: 1.5rem;
}

#testimonials .owl-stage .item,
#testimonials .owl-stage .item>div {
    height: 100%
}

#testimonials p {
    /* font-style: italic; */
    font-size: 1.5rem;
}

.partner {
    padding: 20px;
    border: 4px solid #fff;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.partner:hover {
    background-color: #002E59;
}

.partner_img {
    height: 250px;
    display: flex;
    align-items: center;
}

.partner_body {
    height: 150px;
}

#referenzen .owl-carousel>div {
    cursor: pointer;
}

#kontakt input,
#kontakt textarea {
    background-color: #19416F;
    border: 2px solid #fff;
    border-radius: 0;
    color: #fff;
}

#kontakt ::-webkit-input-placeholder {
    color: #fff
}

#kontakt ::-moz-placeholder {
    color: #fff
}

#kontakt ::-ms-input-placeholder {
    color: #fff
}

#kontakt ::-moz-placeholder {
    color: #fff
}

#kontakt ::placeholder {
    color: #fff
}


/*FOOTER*/
#map {
    background-image: url(../img/google-map.png);
    background-size: cover;
    background-position: center center;
    height: 600px;
    max-height: 60vh;
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: darken;
}

#footer,
#footer a,
#footer .btn {
    color: #fff;
}

#footer-bottom .btn {
    padding: 0;
    font-size: 24px;

}

#footer a:hover {
    color: #B3D1F0;
}

#modal_agb .modal-body>*,
#modal_datenschutz .modal-body>* {
    font-size: 70% !important;
}

#modal_datenschutz .modal-body a, #modal_disclaimer .modal-body a {
    color: #fff;
}

@media (max-width: 630px){
	#footer-bottom>div {
		margin-top: 20px;
	}
	#footer-bottom>div .btn {
		display: block;
		margin-left: 0;
}