/*
webdesign-sartory.de 2012
*/


/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {}



/*
/* #Base 960 Grid für IE8 max-widt: 960px und width:90%
================================================== */

    .container                                  { position: relative; max-width: 960px; width: 98%; margin: 0 auto;  }
    .container .column,
    .container .columns                         { float: left; display: inline; margin: 8px;}

    /* Base Grid */

    .container .four.columns                    { width: 220px; }
    .container .five.columns                    { width: 280px; }
	.container .seven.columns                   { width: 400px;  }
    .container .eight.columns                   { width: 460px;  }
    .container .eleven.columns                  { width: 640px; }
    .container .sixteen.columns                 { max-width: 960px; width: 98%; }
	
	
/* #Tablet (Portrait)
================================================== */

    /* Note: Design for a width of 768px */

    @media only screen and (min-width: 768px) and (max-width: 959px) {
        .container                                  { max-width: 768px; width: 98%; }
        .container .column,
        .container .columns                         { margin: 0px;  }

        .container .four.columns                    { width: 172px; }
        .container .five.columns                    { width: 220px; }
		.container .seven.columns                   { width: 316px;  }
        .container .eight.columns                   { width: 364px; }
        .container .eleven.columns                  { width: 508px; }
        .container .sixteen.columns                 { width: 748px; }
 }

/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

    @media only screen and (max-width: 767px) {
        .container { max-width: 300px; width: 98%; }
        .container .columns,
        .container .column { margin: 0; }

        .container .four.columns,
        .container .five.columns,
        .container .eight.columns, 
        .container .eleven.columns, 
        .container .sixteen.columns  { width: 300px; }
 }
/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px -----geändert Hintergrundfarbe----Suche Funktion ober Navi verschwinden lassen*/

    @media only screen and (min-width: 480px) and (max-width: 767px) {

        .container { max-width: 420px; width: 98%;}
        .container .columns,
        .container .column { margin: 0; }

        .container .four.columns,
        .container .five.columns,
        .container .eight.columns,
        .container .eleven.columns,
        .container .sixteen.columns { width: 420px; }
    }
/* #Clearing
================================================== */

    /* Self Clearing */
    .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
   /* clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }

    /*  <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }   

/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }



/* ===============================================*/


body {  font-family: Helvetica,Arial,sans-serif;
        text-align: justify;
		background-color: #fff;
		font-size: 100%; /* Base font size: 13px */
		font-size: 14px; line-height:1.4;  color:#393A32; font-weight: 500; margin-bottom:0px;
		color: #393A32; line-height:1.2 ;

 }
 td  { text-align: left; }
label { text-align: left; }
 
/* webfont auf eigenen server */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(../font-lato/Lato-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(../font-lato/Lato-Regular.ttf) format('truetype');
}

/* Headers
-----------------------------------------------*/

h1,h2,h3,h4,h5,h6 {font-family:"Lato", sans-serif;margin-bottom:12px;font-weight:600; }
	h2 { font-size:1.5em; line-height: 1.2; margin-top: 12px; color:#393A32; text-align: left; margin-right:6px;}
	h3 { font-size:1.4em; line-height: 1.2; margin-top: 12px;  color:#393A32; font-weight: 600;  }
	h4{ font-size: 1.3em; line-height:1.2 ; color:#393A32; }
	h5{ font-size: 1.1em; line-height:1.2 ; color:#990000; text-align: left; margin-right:6px;}
	h6 { font-size: 1.0em; line-height:1.4;  color:#393A32; font-weight: 500; margin-bottom:0px; margin-right:6px;}
	.fh6 { font-size: 0.9em; line-height:1.4;  color:#D7D7D4; font-weight: 500; margin-bottom:5px; text-align:center;}
/* 
-----------------------------------------------*/
	
	p { margin-bottom: 0px; margin-top:0px; }
	p img { margin: 0; }
	strong {color:#000000; font-weight: 600;}
	em {color:#393A32; font-style:italic;}
	
	

/* #Images  für mobile Seite
================================================== 

	img.scale-with-grid {
		max-width: 400px;
		width:100%;
		height: auto; }	
	
/* Links
-----------------------------------------------*/
	a, a:visited { color: #990000; text-decoration: underline; outline: 0; }
	a:hover, a:focus { color: #990000; }
	p a, p a:visited { line-height: inherit; }
	
/* #Lists
================================================== */
	ul, ol { margin-top: 4px; }
	ul { list-style: disc; color:#ffffcc;  }
	li p { line-height: 21px; }
	

/* Navigation
-----------------------------------------------*/
#nav {
	margin: 0px 0 0px 0px;
	padding: 0;
		/* fuer IE8
==================================================*/
	text-align:center;
	width: 100%;
	
}
#nav ul  {
	display: inline;
	margin: 0px;
	padding: 0px;
	
}
 
#nav ul li {
	display: inline;
	margin: 0px 6px 0px 0px;
	margin-bottom: 0px;
	line-height:33px;
	font-family: Helvetica,Arial,sans-serif;
	font-size:14px;
		
}

 
#nav a { 
     font-family: Helvetica,Arial,sans-serif;
	text-decoration: none;
	font-weight: 600;
    color: #393A32;
    background-color:#A1A19F;
	padding: 3px;
	border: 1px solid #A1A19F;
	  border-top: 1px solid #A1A19F;
	  border-left: 1px solid #A1A19F;
	  -moz-border-radius: 4px;
	  -webkit-border-radius: 4px;
	  border-radius: 4px;	
	  
}
	
 
#nav a:hover {
	text-decoration: underline;
	text-decoration: none;
	color: #000000;
}
.active
{	color: #990000;
padding: 3px;
    font-weight: 600;
    }

@media only screen and (max-width: 950px){
#nav {
	margin-top: 4px;}
 }
 @media only screen and (max-width: 640px){
#nav {
	margin-top: 4px;}
 }
	
	 
@media only screen and (max-width: 480px){
#nav {
	margin-top: 4px;
		max-width: 420px; width: 99%;
				 text-align: center;
	  }
	
#nav ul {
	display: block;
		margin: 0;
		padding: 0;
		border: 0;

		}
#nav ul li, #nav li a 
    {width: 99%;
	display: block;
    text-align: center;
	color: #393A32;
	margin: 0px 5px 5px 0px;
	
    }
#nav li a

{     background-color:#D7D7D4;
		padding:3px;
      line-height:20px;
      border: 1px solid #aaa;
	  border-bottom: 1px solid #393A32;
	  -moz-border-radius: 5px;
	  -webkit-border-radius: 5px;
	  border-radius: 5px;	
	  }
	  .active
{	border: 0px;
  
}


/* #Buttons
================================================== */

	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		background: #eee; /* Old browsers */
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
		background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	  border: 1px solid #aaa;
	  border-top: 1px solid #ccc;
	  border-left: 1px solid #ccc;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #444;
	  display: inline-block;
	  font-size: 11px;
	  font-weight: bold;
	  text-decoration: none;
	  text-shadow: 0 1px rgba(255, 255, 255, .75);
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: normal;
	  padding: 8px 10px;
	  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #222;
		background: #ddd; /* Old browsers */
		background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
		background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
		background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
		background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
		background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
		background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	  border: 1px solid #888;
	  border-top: 1px solid #aaa;
	  border-left: 1px solid #aaa; }

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		border: 1px solid #666;
		background: #ccc; /* Old browsers */
		background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
		background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
		background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
		background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
		background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
		background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

	.button.full-width,
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-bottom: 0;
		}

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
	}
		
/* Footer
-----------------------------------------------*/
