/* ==|== primary styles =====================================================
   Author: www.prowebdesign.ro
   Write your own styles here.
   ========================================================================== */

/* typography */
body{
  color:#444;
  font-family:'Arial', Helvetica, sans-serif; 
  font-size:1em; line-height:normal; 
  background-image:url(../images/background.jpg);
  background-repeat:repeat;
  }
h1, h2, h3, h4, h5, h6{
  font-weight:normal;
  font-family:'Arial', Helvetica, sans-serif; 
  line-height:120%;
  margin:0;
  padding:0; font-family:'Arial', Helvetica, sans-serif; line-height:120%} 

breadcrumb{
  color:#444;
  font-family:'Arial', Helvetica, sans-serif;
  font-size:0.75em; line-height:normal;
  }

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;
}

/* links */
a { color: #636363; text-decoration: none;}
a:visited { color: #636363; }
a:hover { color: #ff3333; }



  
/* structure */   
#container, #colophon{
  max-width: 960px; 
  margin: auto;
  }
#container {
  border:1px solid #dddddd;
  margin-top:20px;
  margin-bottom:20px;
  background-color:#FFFFFF;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: 0px 0px 3px 3px rgba(88, 88, 88, 0.1);
-moz-box-shadow: 0px 0px 3px 3px rgba(88, 88, 88, 0.1);
box-shadow: 0px 0px 3px 3px rgba(88, 88, 88, 0.1);
}
#content_typo3, #spalte_rechts {
  width:95%;
  line-height:20px;
}

.einspaltig #content_typo3 {

}

header hgroup h2 {
margin-left: 20px;
}

#content_typo3 h1, #spalte_rechts h1 {
  margin-bottom:20px;
}
#content_typo3 header, #spalte_rechts header {
  padding-bottom:0px;
}
hgroup {
  float:right;
  margin-right:30px;
  margin-top:30px;
}

header{ 
  margin: 20px 0 20px 0;}
header, header nav, #main, #banner{
  width:100%;}
#logo{ 
  padding-right:0px;
  margin-left:20px;
  margin-right:10px;
  float:left;
  }
header{
  padding:10px 0 10px 0;}
header h1{ 
  font-size:2em;
  margin-right: 30px;
  margin-top:20px;
}
#content h1{ 
  margin-top:0px;
}
#main, footer{ 
  font-size:.875em; 
    line-height:1.3em;}
#main{ 
  margin-left:5%;
  min-height: 200px;
  width: 95%;
    }
#main p{ 
  margin:20px 0 20px 0;}

#content {  
  margin:0 0 20px 0;}
#content ul, #content ol {
  margin: 1em 0;
  padding: 0 0 0 0px; }
#content dd {
  margin: 0 0 0 40px; }


#content_typo3 img, #spalte_rechts img, embed, object, video {
  max-width: 100%;
#  width:100%;
  height: auto;
}

#formhandler_contact_form label {
width:150px;
display:block;
float:left;
}

#formhandler_contact_form input {
border: 1px solid #9c9c9c;
padding:5px;
width:95%;
}

#formhandler_contact_form div.row {
  margin-bottom:3px;
}

#formhandler_contact_form textarea {
width:95%;
height:100px;
border: 1px solid #9c9c9c;
margin-bottom:5px;
margin-top:4px;
padding:5px;
}

#formhandler_contact_form textarea, #formhandler_contact_form input {
  font-size:12px;
}
#formhandler_contact_form .error {
  margin-left:0px;
}

#formhandler_contact_form 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:94%;}

#banner {
  text-align:left;
}

/*colors and bgs*/
body{}
h1, h2, h3, h4, h5, h6{
  color:#333; }
  
hgroup h1{
  color:#555; }

footer{ 
  background-color:#000000;
  font-size:12px;
  color:#cccccc;
  clear:both;
  line-height:20px;
  padding-top:10px;
  padding-bottom:10px;
  padding-left:20px;
  padding-right:20px;
  -webkit-border-radius: 0px 0px 0px 0px;
  -moz-border-radius: 0px 0px 0px 0px;
  border-radius: 0px 0px 0px 0px;
}

a.bluelink{ 
  background:#ff3333; 
  border-radius:7px; 
  color:#fff;
  display:block;
  float:left; 
  margin:10px 15px 10px 0; 
  padding:15px;}





/* ==|== 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:95%;
}
.flexslider {width:95%;}

}

/* large smartphones ----------- */
@media  (max-width: 768px) {
#container, #colophon{width:94%;}
#content_typo3 {
  width:95%;
}
header{padding:10px 0 1px 0;}
header h1{ font-size:1.4em;}

.flexslider {width:92%;}

.sf-menu {
  line-height:1;
  font-size:14px;  
  height:35px !important;
}

.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%;  
}

}

/* medium smartphones ----------- */
@media (max-width: 480px) {
#container, #colophon{width:95%;}
#content_typo3 {
  width:95%;
}
#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:95%;
}

#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:100%;
  height:40px;
}

.sf-menu ul li {
  line-height:0.5;
}

DIV.csc-textpic DIV.csc-textpic-imagecolumn {
margin-bottom: 10px !important;
}