* {
    margin: 0;
    padding: 0;
}

a {
    position: relative;
}

h2 {
    font-size: 24px;
    color: #fff;
    background-image: url('../img/tittle.png');
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
    line-height: 80px;
    background-position: center;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    width: 100%;
    display: block;
}

body {
    width: 100%;
    background: #fff;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 20px;
    min-width: 320px;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/************ Header ************/
.header {
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    /*    max-width: 1920px;*/
    z-index: 99;
    transition: all .3s ease-in-out;
}

.header .content {
    display: flex;
    max-width: 1100px;
    padding: 0 15px;
    margin: 0 auto;
    align-items: center;
    height: 100%;
}

.header .logo {
    color: #404a7b;
    font-size: 48px;
    line-height: 28px;
    font-weight: 900;
    width: 50%;
    margin: 0 auto;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.header .menu{
    width: 50%;
}

.header .menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.header .menu ul li a {
    line-height: 28px;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    display: block;
    position: relative;
}

a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #000;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}


a.line:after,
a:hover:after {
    visibility: visible;
    transform: scaleX(1);
}

a.line:hover:after {
    visibility: hidden;
    transform: scaleX(0);
}


.scroll .header {
    background: #fff;
    height: 80px;
}

.menu-open.scroll .header {
    height: auto;
}

.scroll .header .logo {
    visibility: visible;
    opacity: 1;
}

/********************** Burger Menu **********************/

.burger {
    width: 30px;
    height: 14px;
    cursor: pointer;
    display: none;
    position: absolute;
    right: 15px;
    top: 25px;
}

.burger span,
.burger:after,
.burger:before {
    width: 100%;
    height: 2px;
    background: #000;
    display: block;
    content: '';
    position: relative;
    top: 50%;
    transition: transform 0.3s ease-in-out;
}

.burger:before {
    top: 0;
}

.burger:after {
    top: 100%;
}

@media screen and (max-width: 1000px) {
    .burger {
	display: block;
    }
}

.menu-open .burger {
    height: 25px;
}

.menu-open .burger span,
.menu-open .burger:before { 
    transform: rotate(135deg);
}

.menu-open .burger:after {
    top: 8px;
    transform: rotate(225deg);
}

.menu-open .burger span {
    top: 9px;
}

.menu-open .burger:before {
    top: 11px;
}

.scroll .header {
    box-shadow: 0 0 6px #000;
}


@media screen and (max-width: 1000px) {

    .header {
	background: #fff;
	height: auto;
    }

    .scroll .header {
	box-shadow: 0 0 6px #000;
    }

    .header .content {
	flex-wrap: wrap;
    }

    .header .content > div {
	width: 100%;
    }

    .header .content .logo {
	/*visibility: visible;
	opacity: 1;*/
	font-size: 24px;
	padding: 20px 0;
    }

    .content .menu {
	max-height: 0;
	height: 90vh;
	overflow: hidden;
    }

    .menu-open .header .content .menu {
	max-height: 1000px;
	display: flex;
	align-items: center;
    }

    .header .content .menu ul {
	flex-wrap: wrap;
    }

    .header .content .menu li {
	width: 100%;
	text-align: center;
	margin: 10px 0;
    }

    .header .content .menu li a {
	display: inline-block;
    }
}

/************ Body ************/

.body {
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/******************* Banner *****************/

.body .banner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    max-width: 1920px;
    margin: 0 auto;
}

.body .banner .banner_img,
.body .banner .banner_content {
    width: 50%;
}

.body .banner .banner_content {
    display: flex;
    align-items: flex-end;
    margin-bottom: 5%;
}

.body .banner .banner_content .text {
    max-width: calc(1100px / 2); 
    padding-left: 7%;
}

.body .banner h1 {
    color: #404a7b;
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 40px;
}

.body .banner h1 span{
    display: block;
    color: #000;
    margin-bottom: 20px;
    font-size: 24px;
}

@media screen and (max-width: 1024px) {

    .body .banner {
	padding-top: 200px;
    }

    .body .banner .banner_img,
    .body .banner .banner_content {
	width: 100%;
	max-height: 200px;
    }

    .body .banner .banner_img {
	display: none;
    }

    .body .banner .banner_content .img {
	max-width: 230px;
    }
} 

@media screen and (max-width: 500px) {
    .body .banner {
	padding-top: 200px;
    }
}

@media screen and (max-width: 400px) {
    .body .banner {
	padding-top: 225px;
    }
}

@media screen and (max-width: 320px) {
    .body .banner {
	padding-top: 260px;
    }
}

/******************* Content *****************/

.body .content {
    background: #e9e9e9;
    padding: 100px 20px;
}

.body .content #verlage {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

.body .content #verlage h2 {
    margin-bottom: 20px;
}




/******************* Footer *****************/

.footer {
    background: #1e365d;
    padding: 100px 20px 80px;
    color: #fff;
}

.footer p {
    margin-bottom: 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:after {
    background-color: #fff;
}

.subfooter {
    background: #e6e6e6;
    padding: 20px;
    font-size: 12px;
}

.subfooter .content,
.footer .content {
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto; 
}

.footer .left,
.footer .right,
.subfooter .left,
.subfooter .right {
    text-align: center;
    width: 50%;
}

@media screen and (max-width: 768px) {
    .footer .left,
    .footer .right,
    .subfooter .left,
    .subfooter .right {
	width: 100%;
    }

    .footer .left {
	padding-bottom: 80px;
    }

    .subfooter .left {
	padding-bottom: 20px;
    }
}

.subfooter .content a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

/****************** gallery ***************/

.gal_row {
    display: flex;
    flex-wrap: wrap;
    margin: 80px auto 0;
    max-width: 80%;
}

.gal_left {
    width: 63%;
    display: flex;
    flex-wrap: wrap;
}
.gal_right {
    width: 37%;
    display: flex;
    flex-wrap: wrap;
}

.gal_left .gal-col {
    width: 33.333%;
    display: flex;
}

.gal_right .gal-col {
    display: flex;
}

.gal_left .gal-col:nth-child(5) {
    width: calc(100% - 33.333%);
}

.gal-col .img-row {
    padding: 15px;
    background: #fff;
    margin: 5px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .gal-col .img-row {
	padding: 10px;
    }
}

@media screen and (max-width: 768px) {

    .gal_row {
	max-width: 100%;
    }

    .gal-col .img-row {
	margin-left: auto; 
	margin-right: auto; 
    }

    .gal_row > div,
    .gal_row .gal-col {
	width: 100% !important;
    }
}


/**************** Modal ***************/

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal.open {
    display: block;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    margin-bottom: 200px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-footer,
.modal-header {
    padding: 10px 16px;
    background-color: #fff;
    color: white;
}

.modal-body {
    padding: 2px 16px;
    display: none;
}

.modal-body strong {
    text-align: center;
    display: block;
}
