/* ==|== primary styles =====================================================
   Author: www.prowebdesign.ro
   Write your own styles here.
   ========================================================================== */

/* typography */
body{
  color:#444;
  font-family:'Droid Sans', Arial, Helvetica, sans-serif; 
  font-size:1em; line-height:normal;
  background-image: url("../images/linien.png");
  background-color: #fff;
  }
h1, h2, h3, h4, h5, h6{
  font-weight:normal;
  font-family:'Droid Sans', Arial, Helvetica, sans-serif; 
  line-height:120%;
  margin:0;
  padding:0; font-family:'Droid Sans', Arial, Helvetica, sans-serif; line-height:120%} 

.clear {
    clear: both;
}

/*
DIV.csc-textpic-above DIV.csc-textpic-imagewrap,
DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap,
DIV.csc-textpic-below DIV.csc-textpic-imagewrap,
DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI,
DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image,
DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap {
  float: none;
}
*/

DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap img {
  float: left;
  margin-right:30px;
}
DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap  img{
  float: right;
  margin-left:0px;
}

.flexslider {
margin: 2.5em auto;
}

.sf-menu a, .sf-menu a:visited {
font-size: 14px;
line-height: 40px;
padding-top: 0px;
padding-bottom: 0px;
}

.sf-menu  li ul a, .sf-menu  li ul a:visited {
line-height: 35px !important;
height:35px;
}

.sf-menu li ul li:last-child a {
    border-right: 1px solid #ccc;
}

/* links */
a { color: #444;}
a:visited { color: #444;}
a:active { color: #444;}
a:hover{color: #F50400;}



#content_typo3 .align-right {
  text-align:right;  
}

#content_typo3 .align-center {
  text-align:center;  
}

#content_typo3 .align-justify {
  text-align:justify;  
}

#content #content_typo3 ul {
  margin-left: 15px;
  margin-bottom: 20px;
}

#content #content_typo3 ol {

}
  
/* structure */   
#container, #colophon{
  max-width: 1100px; 
  margin: auto;
  width: 95%; 
  }
#container {
  margin-bottom:20px;
}
#spalte_rechts, .grid_6 #content_typo3 {
  width:95%;
  line-height:20px;
}

#content_typo3 {
  width:100%;
  line-height:20px;
}

.einspaltig #content_typo3 {

}


#content_typo3 h1, #spalte_rechts h1 {
  margin-bottom:20px;
}
#content_typo3 header, #spalte_rechts header {
  padding-bottom:0px;
}
hgroup {
    display: none;
    float: right;
    margin-right: 20px;
    margin-top: 0;
}

header{ 
  margin: 0 0 20px 0;
}

header, header nav, #main, #banner{
  width:100%;
}


#logo {
    background-color: #fff;
    box-shadow: 0 0 5px 0 #d1d1d1;
    display: inline-block;
    padding: 5px;
}

header{
  padding:0px 0 10px 0;
}

header h1{ 
  font-size:2em;
  margin-right: 30px;
  margin-top:20px;
}

/*****************************/
/*        NAVIGATION         */
/*****************************/

#banner{
  max-width: 1100px;
  margin: 3em auto 0 auto;
}

#topnav{
  background-color: #000;
  border-bottom: 1px solid #777;
  position: relative;
  width: 100%;
  z-index: 100;
}

#nav_container{
  max-width: 1100px;
  margin: auto;
  padding-left:0px;
}

a.menu-link {
  float: right;
  display: block;
  padding: 1em;
  color: #e0e0e0;
  text-decoration: none;
}


nav[role=navigation] {
  clear: both;
  -webkit-transition: all 0.3s ease-out;  
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.js nav[role=navigation] {
  max-height: 0;
  overflow: hidden;
}

nav[role=navigation].active {
  max-height: 15em;
}

nav[role=navigation] ul {
  margin: 0;
  padding: 0;
}

nav[role=navigation] li {
  line-height: 3em;
  padding: 0 0.8em 0 0.8em;
  display: block;
  border-top: 1px solid #666;
  transition: background 0.2s;
}

nav[role=navigation] li.active {
  position: relative;
  background: #f50400; /* Old browsers */
  background: -moz-linear-gradient(top, #f50400 0%, #a80000 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f50400), color-stop(100%,#a80000)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #f50400 0%,#a80000 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #f50400 0%,#a80000 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #f50400 0%,#a80000 100%); /* IE10+ */
  background: linear-gradient(to bottom, #f50400 0%,#a80000 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f50400', endColorstr='#a80000',GradientType=0 ); /* IE6-9 */
}

nav[role=navigation] li:hover:not(.active) {
  background-color: #666;
}

nav[role=navigation] li a {
  color: #fff;
  text-decoration: none;
}

.triangle{
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #A80000;
  left: 50%;
  margin-left: -8px;
  bottom: -8px;
  display: none;
}


#content h1{
    border-bottom: 2px solid #F50400;
    font-size: 2.2em;
    padding-bottom: 20px;
}
    
@media screen and (min-width: 768px) {

#nav_container{
  max-width: 1100px;
  margin: auto;
  padding-left:20px;
}

#content h1{
    border-bottom: 2px solid #F50400;
    font-size: 3em;
    padding-bottom: 20px;
}

#header_image {
  background-color: #000;
  margin-top: 60px;
  position: relative;
  border-bottom: 10px solid #fff;
}

#banner {
  text-align: left;
}

#logo{ 
  float:left;
  margin-left: 20px;
}

hgroup {
  float: right;
  margin-right: 20px;
  margin-top: 0;
  display: block;
  text-align: left;
}

  #banner{
    margin-top: 0;
  }

  #content {
    margin: 4em 0 0 0;
  }

  #topnav{
    position: absolute;
    top: 170px;
  border-top: 10px solid #fff;
  }

  a.menu-link {
    display: none;
  }
   
  .js nav[role=navigation] {
    max-height: none;
    overflow: visible;
  }
      
  nav[role=navigation] li {
    display: inline-block;
    border-top: none;
    border-left: 1px solid #888;
    transition: background 0.2s;
  }

  nav[role=navigation] li:last-child {
    border-right: 1px solid #888;
  }

  .triangle{
    display: block;
  }
}


#content h1{ 
  margin-top:0px;
}

#content h2{margin-bottom:20px;}
#main, footer{ 
  font-size: .910em;
    line-height:1.3em;
}
#main{ 
  min-height: 200px;
  width: 100%;
    }
#container.zweispalten #main { 
  width: 95%;
    }
/*ritter*/
#main p {
    margin: 0 0 1em;
}


#content {  
  /*margin:0 0 0px 0;*/
  padding-top: 0px;
}

#content ul, #content ol {
  margin: 1em 0;
  padding: 0 0 0 0px; }
#content dd {
  margin: 0 0 0 40px; }

/*ritter*/
#content_typo3 img, #spalte_rechts img, embed, object, video {
  max-width: 100%;
  width: 100%;
  height: auto;
 }


.csc-mailform label {
width:150px;
display:block;
float:left;
}

.csc-mailform input {
border: 1px solid #9c9c9c;
padding:5px;
width:95%;
}

div.csc-mailform ol li {
  margin-bottom:10px;
}

div.csc-mailform fieldset li.csc-form-confirmation-false, div.csc-mailform fieldset li.csc-form-confirmation-true {
  padding-left:0px;
}

div.csc-mailform ol {
  list-style-type:none;
}

.csc-mailform div.row {
  margin-bottom:3px;
}

.csc-mailform textarea {
width:95%;
height:100px;
border: 1px solid #9c9c9c;
margin-bottom:5px;
margin-top:4px;
padding:5px;
}

.csc-mailform textarea, .csc-mailform input {
  font-size:12px;
  line-height: 22px;
  box-sizing: border-box;
  width: 100%;
}

.csc-form-9.csc-form-element.csc-form-element-submit > input {
  background-color: #F50400;
  border: medium none;
  border-radius: 0 0 15px 15px;
  color: #fff;
  font-size: 1.3em;
  line-height: 2em;
  text-transform: uppercase;
  width: 100%;
  font-family: "adobe-text-pro",sans-serif;

}

#c9{
  border-bottom: none; 
}

.csc-mailform .error {
  margin-left:0px;
}

.csc-mailform span.red a {
  color:red;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
#content_typo3 img, #spalte_rechts img, embed, object, video {
        max-width: 100%;
        height: auto;
        width: auto;
    }
}

@media \0screen {
#content_typo3 img, #spalte_rechts img, embed, object, video { 
    width: auto\9; /* for ie 8 */
  }
}

aside { 
  float:left;
  margin:0 0 40px 0;
  }
.flexslider {width:90%;}   

#banner {
  text-align:center;
}

/*colors and bgs*/
body{}
h1, h2, h3, h4, h5, h6{
  color:#000; }
  

hgroup h1{
  border-bottom: 2px solid #f50400;
  color: #000;
  margin-bottom: 5px;
}

footer {
    background-color: #fff;
    clear: both;
    color: #444;
    font-size: 14px;
    line-height: 22px;
    padding: 50px 0;
    text-align: center;
    text-transform: uppercase;
}

footer p {
    background-color: #fff;
    display: inline-block;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

footer hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #f50400;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 2px;
    bottom: -12px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

footer span {
    color: #f50400;
    font-weight: 700;
}

a.bluelink{ 
  background:#0099ff; 
  border-radius:7px; 
  color:#fff;
  display:block;
  float:left; 
  margin:10px 15px 10px 0; 
  padding:15px;
}

.img_headline {
    left: 5%;
    padding: 20px;
    position: absolute;
    top: 45%;
}


.img_headline h1{
  color: #fff;
  font-size: 4em;
  text-shadow: 0 0 3px #333;
}

.img_headline h2{
  color: #F50400;
  font-size: 1.3em;
  font-weight: 400;
}





/* ==|== non-semantic helper classes ========================================
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
only screen and min-device-width
   ========================================================================== */
   
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) {
#container, #colophon{width:95%;}
#content_typo3 {
  width:100%;
}
.flexslider {width:90%;}

}

/* large smartphones ----------- */
@media  (max-width: 768px) {
#container, #colophon{width:94%;}
#content_typo3 {
  width:100%;
}

.img_headline {
    left: 0%;
    position: absolute;
    top: 45%;
}
/* large smartphones alte werte: left:5% top:60% ----------- */

.img_headline h1{
  color: #fff;
  font-size: 3em;
}

.img_headline h2{
  color: #F50400;
  font-size: 1em;
  font-weight: 400;
}

header h1{ font-size:2em;}

.flexslider {width:90%;}

.sf-menu {
  line-height:1;
  font-size:14px;  
  height:35px !important;
}

.sf-menu a, .sf-menu a:visited {
line-height: 35px !important;
}

.flexslider {
margin-top: 20px;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
  left:      0;
  top:      2.5em; /* match top ul list item height */
  z-index:    99;
}

/*#main h1{font-size:1.6em;}*/
#main h2{font-size:1.4em;}
#main h3{font-size:1.3em;}
#main h4{font-size:1.2em;}
}

/* medium smartphones ----------- */
@media (max-width: 600px) {
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11
 {
  margin-left: 0.83333333333333%;
  margin-right: 0.83333333333333%;
  width: 48.333333333333%;
}
#content_typo3 {
  width:95%;
}

.grid_12 {
  width:95%;  
}

.csc-textpic-intext-right-nowrap-320 .csc-textpic-text {
margin-right: 0px !important;
float:left;
}

div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
float: left;
margin-left:0px;
}

}

/* medium smartphones ----------- */
@media (max-width: 480px) {
#container, #colophon{width:95%;}
.grid_6 #content_typo3 {
  width:95%;
}



#content_typo3 {
  width:100%;
}
#logo, header hgroup{ }
#logo img{max-width:100%;}

.einspaltig #content_typo3 {

}

.flexslider {display:block;}
.flex-direction-nav li a {
  background: none;  
}

header h1{ font-size:1em; margin-bottom:10px;}

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
  margin-left: 0;
  margin-right: 0;
  width:100%;
}

.grid_6 #content_typo3 {
    width: 100%;
}


#spalte_rechts, .grid_6 #content_typo3 {
    line-height: 20px;
    width: 100%;
}

/*
#topnav{ clear:both; display:block; width:90%; text-align:center; background:#e6e6e6; padding:10px 0; margin:auto; border-radius:3px;}
#mobileMenu_mobileselect { display:block; width:90%; margin:auto; height:1.6em; font-size:14px; line-height:1.6em;}
*/
footer .grid_4{ border-bottom:1px dotted #ccc; padding-bottom:10px;}


div.csc-textpic-intext-left div.csc-textpic-imagewrap, div.csc-textpic-intext-left-nowrap div.csc-textpic-imagewrap {
margin-right: 0px !important;
}
#googlemap {
  margin-top:20px !important;
}
}

/* medium smartphones, portrait ----------- */
@media (max-width: 320px) {

}


/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}


.sf-menu {
width: 95%;
height: 40px;
padding-left: 5%;
}

.sf-menu ul li {
  line-height:0.5;
}

DIV.csc-textpic DIV.csc-textpic-imagecolumn {
margin-bottom: 10px !important;
}


#header_image {
    background-color: #000;
    border-bottom: 10px solid #fff;
    margin-top: 30px;
    position: relative;
}

.csc-default {
    border-bottom: 2px solid #F50400;
    padding-bottom: 20px;
  margin-bottom: 60px;
}


#menu li a{
  display: block;
}

.csc-linkToTop {
    display: none;
}

.image_container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.image_container img {
  height: auto;
  width: 100%;
  float: right;
  min-width: 700px;
}


.red {
    background-color: #F50400;
    bottom: 0;
    height: 20px;
    opacity: 0.5;
    position: absolute;
    width: 100%;
}

#gmeg_map_canvas {
  border: 10px solid #fff;
  -webkit-box-shadow: 0 0 5px 0 #D1D1D1;
  box-shadow: 0 0 5px 0 #D1D1D1;
  box-sizing: border-box;
}

#main iframe {
    border: 10px solid #fff;
    box-sizing: border-box;
    height: 450px;
    width: 100%;
    -webkit-box-shadow: 0 0 5px 0 #D1D1D1;
  box-shadow: 0 0 5px 0 #D1D1D1;
}


#content h6 a {
  background-color: #f50400;
  border: medium none;
  border-radius: 0 0 15px 15px;
  color: #fff;
  display: block;
  font-family: "adobe-text-pro",sans-serif;
  font-size: 2em;
  line-height: 2.5em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  margin-top: 30px;
}

#content h6 a:hover {
    background-color: #a80000;
}

#c221, #c228 {
  border-bottom: none;
}


/* Tabelle Ergänzung Anwälte ----------- */
.kooperation td {
  padding: 5px;
  background: #FFF;
  font-family: "Droid Sans",Arial,Helvetica,sans-serif;
}

#main .kooperation p {
  padding-top: 10px;
  margin-bottom: 0;
}

.kooperation {
  margin-bottom: 30px;
}

.kooperation div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {
  margin-bottom: 0;
}

.kooperation .csc-default { 
  margin: 0;
  border-bottom: 0;
  height: 100%;
  display: table-cell;
  padding-bottom: 0;
}

.kooperation .col2, .kooperation .col1 > div {
  padding: 10px;
  background: #FFF;
  box-shadow: 0 0 5px 0 #d1d1d1;
}

.kooperation .col1, .kooperation .col2 {
  height: 100%;
  box-sizing: border-box;
}

.kooperation .col2 {
  padding: 15px;
  width: 70%;
}

.kooperation .col1 {
  padding-right: 10px;
  width: 30%;
}

.kooperation .element2cols {
  display: table;
  width: 100%;
  overflow: visible;
}

.kooperation .element2cols > div {
  display: table-cell;
  height: 100%;
  float: none;
  vertical-align: top;
  margin: 0;
}

.kooperation div.csc-textpic-center .csc-textpic-center-outer,
.kooperation div.csc-textpic-center .csc-textpic-center-inner{
  display: block;
  float: none;
  position: static;
  right: auto;
  margin: 0;
  left: auto;
}

#content_typo3 .kooperation div.csc-textpic .csc-textpic-imagewrap img {
  max-width: 150px;
display: inline;}

h5 {
  font-family: "adobe-text-pro",sans-serif;
  font-size: 20px;
  font-weight: light;
}

@media screen and (max-width: 768px) {
  .kooperation .element2cols > div {
    display: block;
    width: 100%;
  }

  #content_typo3 .kooperation div.csc-textpic .csc-textpic-imagewrap img {
    max-width: 9999999px;
  }

  .kooperation .element2cols .col1 {
    padding: 0;
    text-align: center;
  margin-bottom: 10px;
  }

  .kooperation .col1 > div {
    margin: 0 auto;
    display: inline-block;
  }
}
