/* =========================================================
Stylesheet - DUERR
File:   styles.css
Date:   2022-01-13
========================================================== */

/*===========================================================
   Farben:
   grau #717171
   blau #164194

========================================================== */

@font-face { font-family: AgencyFB;
             src: url('../font/AGENCYB.TTF'); }

@font-face { font-family: AgencyFBRegular;
             src: url('../font/AGENCYR.TTF'); }
                  
/* =========================================================
============ Default styles ================================
========================================================== */

/* Der *-Selektor überschreibt alle Browser-default-Werte mit 0 */
* {
    margin: 0px;
    padding: 0px;
}
a:link, a:visited {
    color: #717171;
}
a:hover, a:active {
    color: #000;
}
/* Border + padding ist in der Größe inklusive */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clear {
    clear: both;
}
.auto-trennung {
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

/* =========================================================
============ Generell styles ===============================
========================================================== */
body {
    font-family: "AgencyFB", Verdana, "Arial",sans-serif;
}   
html, body {
  height:100%;
  color: #717171;
}

ul li {
    margin-left: 25px;
}             

/* =========================================================
============ Header   ======================================
========================================================== */
#header {
    background: #fff;
    max-width: 1920px;
    width: 100%;
    padding: 20px 32px;
    margin: auto;
    font-size: 20px;
    font-family: "AgencyFB";
    color: #164194;    
    display: -webkit-flex; /* Safari */
    -webkit-align-items: flex-end; /* Safari 7.0+ */
    display: flex;
    align-items: flex-end;
}
#header .logo  {
    float: left;
    display: block;
    width: 55%;
    display: -webkit-flex; /* Safari */
    -webkit-align-items: flex-end; /* Safari 7.0+ */
    display: flex;
    align-items: flex-end;
}
#header .logo .logo-img {
    width: 12%;
    float: left;
    align-content: flex-end;
}
#header .logo .logo-text {
    float: left;
    margin-left: 10px;
    vertical-align: text-bottom;
    align-content: flex-end;
}
#header .nav {
    float: right;
    width: 27%;
}
#header ul {
    float: right;
    padding: 0 20px 10px 20px;
    border-bottom: 1px solid #164194;
}
#header ul li {
    float: left;
    list-style-type: none;
}
#header a {
    color: #164194;
    text-decoration: none;
}

/* =========================================================
============ Mitte  ========================================
========================================================== */
.main-container {
    max-width: 1920px;
    width: 100%;
    padding: 10px 32px;
    font-size: 18px;
    line-height: 24px;
    text-align: justify;
    margin: 10px auto;
}
.main-container .left-column {
    width: 55%;
    float: left;
}
.main-container .left-column .left-column-img img {
    width: 100%;
}
.main-container .left-column .left-column-text {
    width: 80%;
}
.main-container .right-column {
    width: 43%;
    margin-left: 2%;
    float: left;
}
.main-container .right-column .right-column-text {
    width: 60%;
    min-height: 400px;
}
.main-container .right-column .right-column-img {
    margin-left: -25%;
}
.main-container .right-column .right-column-img img {
    width: 100%;
    border-left: 20px solid #fff;
    border-top: 20px solid #fff;
}


.main-container h2, .main-container h1, .main-container h3 {
    margin-top: 18px;
}
.main-container h1 {
    font-size: 30px;
	line-height: 36px;
    font-weight: bold;
    margin-bottom: 14px;
}
.main-container h2 {
    font-size: 24px;
	line-height: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}
.main-container h3 {
    font-size: 22px;
	line-height: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}
.main-container p {
    margin-top: 12px;
}

.main-container .headline {
}

#site_index .main-container ul {
    margin-top: 6px;
    margin-bottom: 6px;
}

/* =========================================================
============ Über mich =======================================
========================================================== */
.two-column {
    float: left;
}      
.two-column-1 {
    margin-left: 3%;
    width: 35%;
}
.two-column-1 img {
    width: 100%;
    -webkit-box-shadow: 31px 31px 0px 0px rgba(31,73,87,1);
    -moz-box-shadow: 31px 31px 0px 0px rgba(31,73,87,1);
    box-shadow: 31px 31px 0px 0px rgba(31,73,87,1);
}
.two-column-2 {
    margin-left: 5%;
    width: 53%;
}

/* =========================================================
============ Kontakt =========================
========================================================== */
#site_kontakt .main-container a {
}
#site_kontakt .main-container {
}
.linke-spalte {
    float: left;
}
.rechte-spalte {
    float: left;
    margin-left: 70px;
}
.linke-spalte iframe {
	width: 600px;
}

/* =========================================================
============ Leistungen =========================
========================================================== */
.linke-liste {
    float: left;
}
.rechte-liste {
    float: left;
    margin-left: 180px;
}
.abstand {
    margin-top: 40px;
}

/* =========================================================
============ Datenschutz/Impressum =========================
========================================================== */
#site_datenschutz h1 {
    margin-top: 20px;
}
#site_datenschutz h2 {
    margin-top: 25px;
}
#site_datenschutz h3 {
    margin-top: 18px;
}
#site_impressum h4, #site_datenschutz h4 {
	margin-top: 12px;
}
/* =========================================================
============ Footer =========================================
========================================================== */
#footer {
    width: 100%;
    color: #fff;
    background: #164194;
    max-width: 1920px;
    padding: 20px;
    margin: auto;
    font-size: 15px;
    font-family: "AgencyFB";
    display: -webkit-flex; /* Safari */
    -webkit-align-items: flex-end; /* Safari 7.0+ */
    display: flex;
    align-items: flex-end;
}
.footer-nav {
    float: right;
    width: 100%;
    text-align: right;
}
.footer-nav ul {
    float: right;
}
.footer-nav ul li {
    float: left;
    list-style-type: none;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.webue {
	margin: 6px auto 0;
	text-align: center;
	font-size: 13px;
	color: #000;
	margin-bottom: 12px;
}
.webue a {
	color: #000;
}

/* =========================================================
============ Off canvas ====================================
========================================================== */

* {
  box-sizing: border-box;
}

#nav {
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
  position: fixed;
  z-index: 4;
  overflow: visible;
  height: 100%;
  top: 0;
  left: -250px;
  width: 250px;
  background-color: rgba(22, 65, 148, 0.8);
  color: #fff;
}
#nav:target {
  left: 0;
}
#nav:target #openNav {
  -moz-transition: all 0.2s 0s;
  -o-transition: all 0.2s 0s;
  -webkit-transition: all 0.2s;
  -webkit-transition-delay: 0s;
  transition: all 0.2s 0s;
  left: -45px;
}
#nav h3 {
  margin: 26px 12px 14px 42px;
  text-transform: uppercase;
  letter-spacing: .025em;
  font-size: 1.25em;
}
#nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#nav li {
  margin: 0;
  padding: 5px 0;
  border-top: 1px solid #ffffff;
}
#nav li a {
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  font-size: 1.02em;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .1em;
  color: #fff;
  display: block;
  padding: 5.6px 12px;
  margin: 0;
}
#nav li a:hover {
  background: #ff2025;
  background: #114294;
}

.toggle-nav {
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-indent: -119988px;
  overflow: hidden;
  text-align: left;
  text-transform: capitalize;
  display: block;
  top: 20px;
  --left: 6px;
  right: 20px;
  height: 24px;
  width: 32px;
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  z-index: 3;
}
.toggle-nav:hover {
  color: #ff0000;
  border-color: #ff0000;
  color: #114294;
  border-color: #114294;
}
.toggle-nav:before, .toggle-nav:after {
  position: absolute;
  content: '\00a0';
  display: block;
  width: 100%;
  height: 0;
}

#openNav {
  -moz-transition: all 0.2s 0.6s;
  -o-transition: all 0.2s 0.6s;
  -webkit-transition: all 0.2s;
  -webkit-transition-delay: 0.6s;
  transition: all 0.2s 0.6s;
  position: fixed;
  border-bottom: 4px solid;
  color: #000;
  z-index: 1;
}
#openNav:hover {
  color: #ff0000;
  color: #114294;
}
#openNav:before {
  top: 0;
  border-bottom: 4px solid;
}
#openNav:after {
  top: 50%;
  border-bottom: 4px solid;
}

#closeNav {
  position: absolute;
  width: 200px;
  z-index: 5;
  color: #fff;
}
#closeNav:hover {
  color: #ff2025;
}
#closeNav:before, #closeNav:after {
  width: 21px;
  top: 42%;
  left: 0;
}
#closeNav:before {
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border-bottom: 4px solid;
}
#closeNav:after {
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-bottom: 4px solid;
}

html {
  font-size: 62.5%;
}

.content {
  max-width: 600px;
  margin: 0 auto;
  padding: 42px 12px;
} 
.off-canvas {
    display: none;
}
.oben-nicht {
    display: none;
}

/* =========================================================
============ Responsive  ===================================
========================================================== */

@media (max-width: 1450px) {
#header .nav {
    width: 35%;
}
.main-container .right-column .right-column-text {
    min-height: 260px;
	width: 80%;
}
}


@media (max-width: 1200px) {
.left-container ul {
    margin-left: 0;
}
#header .nav {
    width: 45%;
}
}



@media (max-width: 1100px) {
.dummy-field {
    display: none;
}
.main-container .right-column .right-column-text {
	width: 96%;
}
.rechte-spalte {
    float: none;
    margin-left: 0;
	margin-top: 25px;
}
.linke-spalte {
    float: none;
}
}



@media (max-width: 1000px) {
#header .logo {
    width: 45%;
}
#header .nav {
    width: 55%;
}
#header .logo .logo-img {
    width: 16%;
} 
}


@media (max-width: 950px) {
}




@media (max-width: 800px) {
.off-canvas {
    display: block;
}
.off-canvas .name-im-header {
    display: none;
}
#header .nav {
    display: none;
}
.oben-nicht {
    display: block;
}
.off-canvas ul li ul li {
    padding-left: 20px !important;
}
.unten-nicht {
	display: none;
}
.footer-nav ul {
	display: none;
}
.main-container .left-column {
    width: 100%;
    float: none;
}
.main-container .right-column {
    width: 100%;
    float: none;
}
.main-container .right-column .right-column-img {
    margin-left: 0;
	border-left: none;
	border-top: none;
	margin-top: 20px;
}
.main-container .right-column .right-column-img img {
	border-left: none;
	border-top: none;
}
#header .logo .logo-img {
    width: 18%;
} 
.main-container .right-column .right-column-text {
    margin-top: 55px;
}
}

@media (max-width: 700px) {
body {
}
#header .logo .logo-img {
    width: 22%;
} 
.rechte-liste {
    float: none;
    margin-left: 0;
}
.linke-liste {
    float: none;
}
.linke-spalte iframe {
	width: 100%;
}
}


@media (max-width: 600px) {
#header .logo .logo-img {
    width: 30%;
} 
}



@media (max-width: 500px) {
#header .logo .logo-img {
    width: 40%;
} 
}

@media (max-width: 360px) {
}
