/* Reset */
@import url(fundament.css);

/*################## NAVIGATION #####################*/
@font-face { font-family: 'OpenSans Bold'; src: url('fonts/OpenSans-Bold.ttf') format('truetype'); }
@font-face { font-family: 'OpenSans Italic'; src: url('fonts/OpenSans-Italic.ttf') format('truetype'); }
@font-face { font-family: 'OpenSans Regular'; src: url('fonts/OpenSans-Regular.ttf') format('truetype'); }

/* @import url(navigation.css);*/

html, body {
  font-size: 1em; 
  font-family: "OpenSans Regular", "Arial", "Helvetica", "Verdana", sans-serif;
  line-height: 1.5; 
  color: #000000;
  background: #F5F6F8;
}


/*################## WRAPPER ####################*/
#wrapper {
border-top: 30px solid #707070;
  width: 100%; max-width: 1920px;
  margin: 0px auto 0px auto;
  padding: 0;
  padding-bottom: 50px;
  text-align:center;
  background: #f5f6f8;
}


/* ############################ */


.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999999999999;
  top: 0;
  right: 0px;
  background:#ffffff;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  border-right:1px solid #444444;
}
.menulist { margin-top:30px; margin-left:14px; }

.sidenav a {
  padding: 8px 8px 8px 22px;
  text-decoration: none;
  font-size: 120%;
  color: #000000;
  display: block;
  transition: 0.3s;
  font-family: 'OpenSans Regular', serif;
}

.sidenav a:hover {
  color: #000000;
}

.sidenav .closebtn {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 36px;
  margin-left: 0px;
  margin-bottom:20px;
}

.menuicon { display:none; visibility:hidden; }



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height:1.3;
}



.grau { color: #707070; }
.rot { color: #921813; }
.bgrot { backround-color: #921813; }
.blau { color:#25346c; }
.bgblau { background-color: #25346c; }
.bghellgrau { background-color: #f5f6f8;}

p a { color: #000000;}


#linie {
margin: 20px auto; width: 100%; padding:0; height: 3px; 
background: #f5f6f8;
background: linear-gradient(90deg, rgba(146,24,19,1) 0%, rgba(146,24,19,1) 49%, rgba(37,52,108,1) 50%, rgba(37,52,108,1) 100%);
}


/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px 40px;
}

.header .logo { width: 27%; max-width: 300px; }

.header .logo h1 {
    font-size: 24px;
    color: #b01c2e;
}

.header .logo span {
    color: #0056b3;
}

.navigation { margin-top: 22px; }
.navigation a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

.contact-info p {
    margin: 5px 0;
}

/* Hero section */
.hero img {
    width: 100%;
    height: auto;
}

/* Welcome section */
.welcome {
    text-align: left;
    padding: 40px 40px 0px 40px;
    background: #f5f6f8;
}

.welcome .sections-text {
    text-align: left;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 40px 0px;

}

.welcome h1 {
    font-size: 160%;
    font-weight:normal;
    color: #707070;
    text-transform: uppercase;
}

.welcome h2 {
    font-size: 140%;
    font-weight:normal;
    color: #707070;
    text-transform: uppercase;
}

/* Team section */
.sections {
    display: flex;
    padding: 0px;
    background: #ffffff;
}
.uebersicht { background: #f5f6f8; border-bottom: 1px solid #707070;}



.sections-image {
    text-align: left;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: left;
}
.sections-text {
    text-align: left;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 40px;

}

.uebersicht .sections-text { padding-top: 0; }

.sections-image {}


.sections-text h3, .sections-text p { margin-bottom: 20px; }
.sections-text h3 { text-transform: uppercase; margin-top: 20px; font-size: 140%; font-weight: normal; }
.sections-text p { font-size: 100%; font-weight: normal; }
.sections-text p.ohneabstand { margin-bottom: 0.2em; }
.sections-text ul { margin:0 0 20px 0; padding:0; list-style-type: none; }
.sections-text li { margin-left:22px; list-style-type: disc; }

.sections-image img {
    width: 100%;
    height: auto;
    /* Make sure the image scales */
    flex: 1;
}


#stenger .sections-image  { background-image: url("../images/AGF28409.JPG"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }
#kadriolli .sections-image  { background-image: url("../images/AGF27958.JPG"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }
#familienrecht .sections-image  { background-image: url("../images/AGF27013.jpg"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }
#verkehrsrecht .sections-image  { background-image: url("../images/2.jpg"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }
#vertrauen .sections-image  { background-image: url("../images/AGF27529.JPG"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }
#team .sections-image  { background-image: url("../images/team.jpg"); background-size: cover; background-repeat: no-repeat; background-position: 60% 0%; }




.footerdrueber {
    display: flex;
    justify-content: space-between;
background: #f5f6f8;
    padding: 60px 40px 30px 40px;
    border-top: 1px solid #707070;
}

.footerdrueber-contact {
    width: 33%;
    text-align: left;
}
.footerdrueber-contact h4 { margin-bottom: 0px; }
.footerdrueber-contact p { margin-bottom: 20px; }






/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    background-color: #707070;
    color: #fff;
    padding: 10px 40px 0px 40px;
    text-align: left;
}

.footer-contact{
    width: 66%;
    text-align: left;
}
.footer-links {
    width: 33%;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 0px;
    text-align: left;
}


.sections-image-mobile, .nurmobile {
    display:none; visibility: hidden;
}
.sections-image {
}


/*################## WEITERE ########################*/


.gruen { color:#008e38; }
.braun { color: #a06f26; }
.fett { font-weight: bold; }
.paddingoben { margin-top: 5px; }
.zentriert { text-align:center; }
.blocksatz { text-align: justify; }
.kleiner { font-size:94%; }
.clearing { margin:0; width:100%; height: 1px; padding:0; clear:both; }

.abstand20 { margin-bottom: 20px; }
.ohneabstand { margin-bottom:0;}


span.skype_pnh_container {display:none !important;}
span.skype_pnh_print_container {display:inline !important;}



/* ########################################################################*/
/* ########################################################################*/
@media all and (min-device-width: 0px) and (max-device-width: 980px), all and (min-width: 0px) and (max-width: 980px) {
.navigation { display:none; }
.menuicon { display:block; visibility:visible; }
.header .logo { width: 40%; max-width: 250px; }
.nurmobile { display:block; visibility: visible; }
.footerdrueber { display:blocK; }
.footerdrueber-contact:first-child { width: 100%; display:block; margin-bottom: 30px; }
.footerdrueber-contact:nth-child(2) { display:block; float:left; width: 50%; overflow:hidden; margin-top: 30px; }
.footerdrueber-contact:nth-child(3) { display:block; float:left; width: 50%; overflow:hidden; margin-top: 30px;  }
.ersteerste, .erstezweite { display:block; float:left; width:50%; }
}

@media all and (min-device-width: 0px) and (max-device-width: 768px), all and (min-width: 0px) and (max-width: 768px) {
.header .logo { width: 50%; max-width: 250px; }
.sections { width: 100%; display:block; }
.sections-image { display:none; visibility: hidden; }
.sections-image-mobile { display:block; visibility: visible; }
.sections-text { width: 100%; display: block; flex-direction: column; padding: 40px; }

}

@media all and (min-device-width: 0px) and (max-device-width: 580px), all and (min-width: 0px) and (max-width: 580px) {
.header .logo { width: 55%; max-width: 250px; }
.footerdrueber-contact, .footerdrueber-contact:first-child, .footerdrueber-contact:nth-child(2), .footerdrueber-contact:nth-child(3) { margin-bottom: 30px; display:block; float:left; width: 100%; overflow:hidden; }
.footer { display:block; padding-bottom: 25px; padding-top: 15px; }
.footer-contact, .footer-links, .footer-contact p, .footer-links p { width:100%; margin-bottom: 0.4em; }
.ersteerste, .erstezweite { display:block; float:left; width:100%; }
.footerdrueber-contact:nth-child(2), .footerdrueber-contact:nth-child(3) {  margin-top: 0px;  }
}
