/* =========================================================
Stylesheet - 4CM Homepage
File:   styles.css
Date:   2011-11-07
Author: Martin Werni
========================================================== */

/*===========================================================
   Farben:
   #F3EADD : Hintergrund main, geht langsam in weiss ueber
   #A99C8C : Navigation-Border
   #E8E4DF : Navigation-Background
   #E9E7E3 : Navigation-Background (hover)

   margin = Abstand vom Rahmen zur Umgebung
   padding = Abstand vom Objekt zum Rahmen 
========================================================== */

/* =========================================================
============ general styles ================================
========================================================== */

/* The *-Selektor overwrites all Browser-default-values with 0 */ 
* {
    margin: 0px;
    padding: 0px;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #000000;
	background-color: white;
}

a:link, a:visited, a:active {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #993366;
	text-decoration: none;
}
hr {
	margin: 0px 0px 0px 0px;
	color: #660033;
	height: 1px;
	width: 100%;
}
h1,h2,h3 {
	font-size: 15px;
	font-color: #000000;
}

h1 { font-size: 115%}
h2 { font-size: 115%}
h3 { font-size: 100%}

table tr td {
    line-height: 140%;
}

table th, table td {
    padding: 2px 5px;
}

/* Für die als Tabelle gestalltete Liste */
table {
    margin-top: 15px;
}

/* Für die als Tabelle gestalltete Liste */
/* Liste in der Liste */
table table {
    margin-top: 10px;
}

/* =========================================================
============ classes =======================================
========================================================== */
.fehlermeldung {
    color: red;
    padding-left: 8px;
    font-weight: bold;
    font-size: 70%;
}

.wichtig {
    background: #e3e3e3;
    color: red;
}

.rahmen {
    border: 1px solid #000000;
}

.success {
    padding: 0px 2px;
    font-weight: bold;
}

.std_text {
    font-size: 100%;
}

.disp_grafik {
    margin-left: 100px;
    margin-top: 20px; 
    margin-bottom: 20px;
    display: none;
  }
  
.dyn_margin {
    margin-left: 20px;
  }

.disp_button1 {
    display: block;
    font-size: 150%;
    float: left;
  }

.disp_button {
    display: none;
    float: left;
  }
  
.dyn_foot1 {
    margin-left: 20px;
    margin-top: -10px;
    float:right;
  }

.dyn_foot2 {
    float:left;
    margin-top: -10px;
  }

.minus_margin {
    margin-top: 1px;
  }

 
@media (min-width: 600px) {
  .disp_grafik {
    display: block;
  }

  .std_text {
    margin-left: 100px;
  }

  .dyn_margin {
    margin-left: 100px;
  }

  .disp_button {
    display: block;
  }

  .disp_button1 {
    margin-left: 10;
    font-size: 100%;
  }

  .dyn_foot1 {
      margin-left: 100px;
      margin-top: -10px;
      float:right;
  }

  .minus_margin {
    margin-top: -100px;
  }

  
}

.send-button {
    text-align: left;
}

.send-button:hover {
    color: blue;
}


.werbung {
    text-align: right;    
}

/* =========================================================
============ IDs ===========================================
========================================================== */

/* ==================== Navigation top =================== */
#navigation {
    background-color: #F3F4F4; /*#F9F4ED;#EBE7E5; */
    padding: 15px 10px 15px 10px;
}

#navigation ul li{
    display: inline; 
    text-decoration: none;
    font-size: 120%;
}

#navigation a {
    text-decoration: none;
    padding: 0px 4px;
    margin: -4px -4px -2px -4px;
}

#navigation a:hover {
    background-color: #F3F4F4; /* #E9E7E3; */
    padding: 0px 4px;
    margin: -4px -4px -2px -4px;
    text-decoration: underline;
}


#site_index #navi_index a,
#site_service #navi_service a,
#site_products #navi_products a,
#site_contact #navi_contact a,
#site_about_us #navi_about_us a {
    text-decoration: underline;
}

#navigation2 {
    background-color: #FFA500; /*#F9F4ED;#EBE7E5; */
    color: white
}

#line_separator {
    margin-left: 4px;
    width: 1px;
    background-color: #FFA500; /*#F9F4ED;#EBE7E5; */
    color: white
}

/* ==================== Navigation bottom =================== */
#nav_bottom {
    clear: both;
    margin-top: 20px;
    font-size: 75%;
    background-color: #4D4D4D; /*#F9F4ED;#EBE7E5; */
    color: white
}

#nav_bottom p{
    text-align: center;
}

#nav_bottom a{
    text-decoration: none;
    background-color: #4D4D4D; /*#F9F4ED;#EBE7E5; */
    color: white
}

#nav_bottom a:hover{
    text-decoration: underline;
}

/* ==================== Fusszeile =========================== */
/* clear both bezieht sich auf die darüberliegende IDs inhalt-haupt und inhalt-sub */
/* clear both wird verwendet, weil vorher sowohl float left als auch right aktiv war */
#fusszeile {
    clear: both;  
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 10px;
    font-size: 80%;
    background-color: #4D4D4D; /*#F9F4ED;#EBE7E5; */
    color: white
    text-align: left;
}

#fusszeile p.bottom-right{
    float: right;
}

#fusszeile p.bottom-left{
    float: left;
}

#fussbild {
    clear: both;
    position: fixed;
    bottom: 0px;
}

/* ==================== Image ============================== */
/* 1000 : 681  QUER */
/* Gesamtbildbreite = Bild + 2*border + 2* margin + 2*padding */
/* background nur zwischen Bild und Rahmen (sinnvoll bei padding > 0) */


#inhalt .galerie-foto-600-409 {
    width: 602px;
    height: 411px;
    text-align: justify;
    padding: 5px;
    margin: 10px;
    border: solid 1px;
    background: #e3e3e3;
}
#inhalt .galerie-foto-600-409 img{
    border: solid 1px gray;
}
#inhalt .galerie-foto-600-409 a:hover img {
    border: solid 1px white;
}

#inhalt .galerie-foto-390-266 {
    width: 392px;
    height: 268px;
    text-align: justify;
    padding: 5px;
    margin: 10px;
    border: solid 1px;
    background: #e3e3e3;
    float: left;
}
#inhalt .galerie-foto-390-266 img{
    border: solid 1px gray;
}
#inhalt .galerie-foto-390-266 a:hover img {
    border: solid 1px white;
}

#inhalt .galerie-foto-390-248 {
    width: 392px;
    height: 250px;
    text-align: justify;
    padding: 5px;
    margin: 10px;
    border: solid 1px;
    background: #e3e3e3;
    float: left;
}
#inhalt .galerie-foto-390-248 img{
    border: solid 1px gray;
}
#inhalt .galerie-foto-390-248 a:hover img {
    border: solid 1px white;
}


/* ==================== all other IDs ====================== */

#bodybox {
/*    background-color: white; */
    background-repeat: repeat-y;
    background-position: center 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}

#main-container {
/*    width: 869px; */
    margin-right: auto;
/*    background-image: url("../images/background02_869x8.png");*/
}


#branding {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;    
}

#branding p {
    font-size: 80%;
    text-align: right;
    float: right;
}

#inhalt {
    margin: 20px 30px 5px 30px;
}

#inhalt p.explanation {
    font-size: 85%;
    margin-left: 10px;
    margin-right: 10px;
    text-align: justify; 
    vertical-align: middle;  
}

#inhalt p {
    font-size: 100%;
    line-height: 140%;
/*    text-align: justify; */
    margin-bottom: 5px;
} 

#inhalt ul li ul li{
    font-size: 90%;
    line-height: 160%;
    list-style-image: url("../images/button_orange_32x70.png");
    margin-left: 35px;
}

#inhalt ul li {
    font-size: 140%;
    line-height: 180%;
    vertical-align: top;
    list-style-image: url("../images/button_orange_32x70.png");
    margin-left: 45px;
}

#graybox {
    background: #D9D0C3;
    width: auto;
    padding: 20px 20px 10px 20px;
    margin: 10px 10px 10px 10px;
    text-align: justify;    
    -moz-border-radius: 8px;
}

#graybox p.bottom-right{
    font-size: 60%; 
    float: right;
}

#fusszeile p.bottom-left{
    float: left;
}

#impressum p {
    font-size: 80%;
    line-height: 100%;
    text-align: justify;
    margin-bottom: 5px;
}

/* vertical-align top, damit der Text immer links oben steht (wichtig bei Nachricht) */
#inhalt table th, #inhalt table td {
    vertical-align: top;
    text-align: left;
    border-bottom: none;
} 

/* vertical-align top, damit der Text immer links oben steht (wichtig bei Nachricht) */
#inhalt input, #inhalt textarea {
    padding: 2px 2px 0px 2px;
    margin: 2px 2px 0px 2px;
    background: #e3e3e3;
    border: 1px solid #aaaaaa;
}

