/*
Theme Name: BAG
Author: Ingo Thiel
Author URI: http://ithiel.de
Description: Das BAG Theme ist eine Eigenentwicklung fuer die BAG
Version: 1.0.0
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, two-columns, right-sidebar, custom-menu, header-pic
*/


/* Fonts */

@font-face {
  font-family: 'RespublikaFY-Regular';
  src: url('fonts/respublikafyregular.eot');
  src: url('fonts/respublikafyregular.eot?#iefix') format('embedded-opentype'),
  url('fonts/respublikafyregular.woff') format('woff'),
  url('fonts/respublikafyregular.ttf') format('truetype'),
  url('fonts/respublikafyregular.svg#respublikafyregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'RespublikaFY-Italic';
  src: url('fonts/respublikafyitalic.eot');
  src: url('fonts/respublikafyitalic.eot?#iefix') format('embedded-opentype'),
  url('fonts/respublikafyitalic.woff') format('woff'),
  url('fonts/respublikafyitalic.ttf') format('truetype'),
  url('fonts/respublikafyitalic.svg#respublikafyitalic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'RespublikaFY-Bold';
  src: url('fonts/respublikafybold.eot');
  src: url('fonts/respublikafybold.eot?#iefix') format('embedded-opentype'),
  url('fonts/respublikafybold.woff') format('woff'),
  url('fonts/respublikafybold.ttf') format('truetype'),
  url('fonts/respublikafybold.svg#respublikafybold') format('svg');
  font-weight: normal;
  font-style: normal;
}



/* --------------------------------------------------
----------------------------------------------------

allgemein

----------------------------------------------------
----------------------------------------------------*/

* {
margin: 0;
pading: 0;
}

/* html, body {
height: 100%;
}
*/

body {
  background: #D0D0D0 url(images/h1.jpg) repeat fixed;
  margin: 0;
  padding: 0;
  font-family: 'RespublikaFY-Regular', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, blockquote, a,
em, font, img, strong, ol,
ul, li, form, label, table, tbody, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  text-align: left;
}

:focus {
  outline: 0;
}

#cleaner {
  clear: both;
  height: 1px;
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

#wrapper {
  margin: 0 auto;
  padding: 0;
  position: relative;
  min-height: 100%;
  overflow:auto;
}

* html #wrapper {
height: 100%;
}

/* --------------------------------------------------
----------------------------------------------------

Header

----------------------------------------------------
----------------------------------------------------*/

img { max-width: 100%; height: auto }

#header-wrapper {
  margin: 0 auto;
  padding: 0;
  height: 215px;
  background: url(images/head-h01.png) repeat-x;
}

#header {
  text-align: left;
  margin: 0 auto;
  width: 100%;
  height: 215px;
  background: url(images/head-h02.gif) repeat-x;
}

#headlogo {
  height: 116px;
  float: left;
}

#headlogo img {
  width: 95%;
}


.header-logo {
  padding: 26px 0px 10px 13px;
  float:left;
}

#imprint {
  height: 26px;
  text-align: right!important;
  float: left;
  width: 100%;
  margin-right: 10px !important
}

#imprint a:link,
#imprint a:visited {
  text-decoration: none;
  color: #9e9e9e;
  font-size: 13px;
  line-height: 26px;
}

#imprint a:focus,
#imprint a:hover,
#imprint a:active {
  color: #ff9000;
  text-decoration: underline;
}

#searchbox {
  width: 233px;
  height: 70px;
  float: left;
  margin: 0px 0px 0px 42px;
}

#header-service {
  width: 233px;
  height: 34px;
  float: left;
  margin: 12px 0 0 42px;
}

#header-service a:link,
#header-service a:visited {
    color: #9e9e9e;
    font: 15px/0px 'Gudea', Arial, sans-serif; font-weight: 700;
    margin-right: 26px;
    padding: 23px 35px 23px 0;
    text-decoration: none;
    text-transform: uppercase;
}

#header-service a:focus,
#header-service a:hover,
#header-service a:active {
  color: #ff9000;
  text-decoration: underline;
}

.service-kontakt {
  background: url(images/header-contact.png) no-repeat right center;
}

.service-login {
  background: url(images/header-login.png) no-repeat right center;
}



/* Searchbox */


div#margin form#searchform input#s {
  background: rgba(255, 255, 255, 0.5);
  border-color: -moz-use-text-color;
  border-style: none;
  border-width: medium;
  color: #666666;
  float: left;
  font: 16px/24px 'RespublikaFY-Italic',sans-serif;
  height: 27px;
  margin: 10px 2px 0 0;
  padding: 2px 5px;
  width: 100px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

div#margin form#searchform input#search_submit {
  background: #ff9000;
  border-color: -moz-use-text-color;
  border-style: none;
  border-width: medium;
  color: #fff;
  float: left;
  font: 16px/24px 'RespublikaFY-Italic',sans-serif;
  height: 31px;
  margin: 10px 0 0 10px;
  padding: 2px 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

div#margin form#searchform {
	margin: 0 0 40px 0;
}

/* --------------------------------------------------
----------------------------------------------------

Content

----------------------------------------------------
----------------------------------------------------*/

#sidecontainer {
  text-align: left;
  margin: 0 auto;
  width: 100%;
}

#content {
  background-color: #fff;
  background-color: rgba(255,255,255,0.7);
  margin: 7px 0 20px 0;
  padding: 5%;
  float: left;
  width: 90%;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

#margin {
  background: #b5b5b5;
  background-color: rgba(181,181,181,0.7);
  margin: 7px 0 149px 0;
  padding: 5%;
  float: right;
  width: 90%;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

/* partial opacity hack: configuration */  
.opacity {   
    opacity: 0.7;       /* modern browser */  
    -moz-opacity: 0.7;  /* older Mozilla browser */  
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE8 in Standard Compliant Mode */  
    filter:alpha(opacity=70); /* IE5.x -7.0 */  
}

/* Content */  

#content-forum a:link,
#content a:link,
#content-forum a:visited,
#content a:visited {
  color: #7C7C7B;
  text-decoration: none;
}

#content-forum a:focus,
#content a:focus,
#content-forum a:hover,
#content a:hover,
#content-forum a:active,
#content a:active {
  color: #ff9000;
}

#content-forum p a:link,
#content p a:link,
#content-forum p a:visited,
#content p a:visited {
  text-decoration: underline;
}

#content-forum p a:focus,
#content p a:focus,
#content-forum p a:hover,
#content p a:hover,
#content-forum p a:active,
#content p a:active {
  }

#content-forum p,
#content p {
    color: #000;
    font: 16px/18px 'RespublikaFY-Regular',sans-serif;
    padding: 6px 0;
}

#content-forum h1,
#content h1 {
    color: #000;
    font: 26px/28px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 12px 0;
}

#content-forum h2,
#content h2 {
    color: #000;
    font: 20px/22px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 9px 0;
}

#content-forum h3,
#content h3 {
    color: #000;
    font: 18px/20px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 6px 0;
}

#content h6 {
    color: #000;
    font: 12px/14px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 12px 0;
}

#content-forum blockquote p,
#content blockquote p {
  font: normal 16px/18px 'RespublikaFY-Regular', sans-serif;
  padding: 12px 25px;
}

#content-forum ul,
#content ul {
  padding: 6px 0px 6px 20px;
}

#content-forum ul li,
#content ul li {
  padding: 6px 0px 6px 6px;
  font: normal 16px/18px 'RespublikaFY-Regular', sans-serif;
}

#content-forum ol,
#content ol {
  padding: 6px 0px 6px 20px;
}

#content-forum ol li,
#content ol li {
  padding: 6px 0px 6px 6px;
  font: normal 16px/18px 'RespublikaFY-Regular', sans-serif;
}

#content-forum hr,
#content hr {
  clear: both;
  background: url(images/hr-content.png) no-repeat center top;
  height: 29px;
  border: none !important;
  margin:15px 73px 15px 0;
}

.content-serv {
  color: #000;
  margin-right:10px;
}

#content-service {
  float: left;
}

#content-service a:link,
#content-service a:visited {

}

#content-service a:focus,
#content-service a:hover,
#content-service a:active {
}

#csprint {
  float: left;
  display:block;
  height: 24px;
  width: 55px;
  padding: 0 2px;
}

#csprint a:link,
#csprint a:visited {

}

#csprint a:focus,
#csprint a:hover,
#csprint a:active {
}

.service-print {
  background: url(images/content-print.png) no-repeat  right center;
}

/* Bilder */

#marginal div.csc-textpic-center img {
    border-radius: 10px;
    float: left;
}

#content-forum div.csc-textpic-imagewrap img,
#content div.csc-textpic-imagewrap img {
    border-radius: 5px;
    border: 2px solid #fff;
    margin: 10px 0 5px 0!important;
}

dd.csc-textpic-caption {
    padding: 0!important;
    margin: 0!important;
}

#content-forum caption.csc-textpic-caption,
#content caption.csc-textpic-caption {
    font: 13px/15px 'RespublikaFY-Regular',sans-serif;
}

div#content img.alignleft.size-thumbnail,
div#content div.entry p a img.alignleft.size-medium {
    border-radius: 5px;
    border: 2px solid #fff;
    margin: 0 20px 5px 0!important;
    float: left;
}

div#content img.alignright.size-thumbnail,
div#content div.entry p a img.size-medium.alignright {
    border-radius: 5px;
    border: 2px solid #fff;
    margin: 0 0 5px 20px!important;
    float: right;
}

div#content div.entry .wp-caption.alignright {
    border-radius: 5px;
    border: 2px solid #fff;
    margin: 0 0 5px 20px!important;
    float: right;
}

div#content div.entry .wp-caption.alignleft {
    border-radius: 5px;
    border: 2px solid #fff;
    margin: 0 20px 5px 0!important;
    float: left;
}

div#content .wp-caption-text {
    color: #000;
    font: 12px/14px 'Gudea', Arial, sans-serif; font-weight: 700;
}

div#content img.size-full {
    border-radius: 5px;
    border: 2px solid #fff;
    padding: 0 0 20px 0important;
}

/* Filelist */

div#content ul.csc-uploads {
    margin: 20px 0!important;
    padding: 0!important;
}

div#content ul.csc-uploads li {
  padding: 0 0 35px 0!important;
  background: url(images/hr-content.png) no-repeat center bottom;
  border: none !important;
}

div.navigation ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

div.navigation ul li {
  float:left;
}

div.navigation ul li a:link,
div.navigation ul li a:visited {
  display:block;
  padding:10px !important;
  margin:0 10px 0 0;
  background-color: #7C7C7B;
  text-decoration: none;
  color: #fff !important;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

div.navigation ul li a:focus,
div.navigation ul li a:hover,
div.navigation ul li a:active {
	background-color: #ff9000;
	transition-duration: 0.5s;
	transition-property: background-image;
	transition-property: background-color;
}

/* Marginalspalte */  

#margin a:link,
#margin a:visited {
  color: #fff;
}

#margin a:focus,
#margin a:hover,
#margin a:active {
  color: #7c7c7b;
}

#margin p a:link,
#margin p a:visited {
}

#margin p a:focus,
#margin p a:hover,
#margin p a:active {
  }

#margin p {
    color: #fff;
    font: 14px/16px 'RespublikaFY-Regular',sans-serif;
    padding: 6px 0;
}

#margin h1 {
    color: #fff;
    font: 22px/24px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 12px 0;
}

#margin h2 {
    color: #fff;
    font: 18px/20px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 9px 0;
}

#margin h3 {
    color: #fff;
    font: 16px/18px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 6px 0;
}

#margin blockquote p {
  font: normal 14px/16px 'RespublikaFY-Regular', sans-serif;
  padding: 12px 25px;
}

#margin ul {
  padding: 6px 0px 6px 20px;
}

#margin ul li {
  padding: 6px 0px 6px 6px;
  font: normal 14px/16px 'RespublikaFY-Regular', sans-serif;
}

#margin ol {
  padding: 6px 0px 6px 20px;
}

#margin ol li {
  padding: 6px 0px 6px 6px;
  font: normal 14px/16px 'RespublikaFY-Regular', sans-serif;
}

.marg-facebbok {
  font: normal 14px/43px 'RespublikaFY-Regular', sans-serif!important;
  padding:10px 10px 10px 0;
  float:left;
}

.marg-facebbok-text {
  font: normal 14px/43px 'RespublikaFY-Regular', sans-serif!important;
  padding:10px 10px 10px 0;
  float:left;
}

#margin hr {
  clear: both;
  background: url(images/hr-marg.png) no-repeat center top;
  height: 29px;
  border: none !important;
  margin:5px 0;
}

.partner {
  margin: 5px 0;
}

/* --------------------------------------------------
----------------------------------------------------

Footer

----------------------------------------------------
----------------------------------------------------*/

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  line-height: 1.5em;
  text-align: left;
  background: #000000;
  height: 116px;
  border-top: 4px solid #FFF;
}

#footer-container {
  text-align: left;
  margin: 0 auto;
  width: 95%;
  height:116px;
}

#footer a:link,
#footer a:visited {
  color: #fff;
}

#footer a:focus,
#footer a:hover,
#footer a:active {
  color: #ff9000;
}

#footer p a:link,
#footer p a:visited {
  text-decoration: none;
  padding-right: 15px;
}

#footer p a:focus,
#footer p a:hover,
#footer p a:active {
  }

#footer p {
  color: #fff;
  font: 14px/16px 'RespublikaFY-Regular',sans-serif;
  padding: 6px 0 6px 20px;
}

#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer li {
  color: #fff;
  font: 14px/16px 'RespublikaFY-Regular',sans-serif;
  padding: 6px 0 6px 20px;
  float:left;
}

#footer ul.sub-menu {
	display:none;
}


#footer h1 {
    color: #fff;
    font: 22px/22px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 12px 0;
}

#footer h2 {
    color: #fff;
    font: 16px/18px 'Gudea', Arial, sans-serif; font-weight: 700;
    padding: 9px 0;
}

#footer h3 {
  color: #D9D9D9;
  font: 18px/26px 'Gudea', Arial, sans-serif; font-weight: 700;
  padding: 24px 0 6px 20px;
  text-transform: uppercase;
}

/* --------------------------------------------------
----------------------------------------------------

Tabletts

----------------------------------------------------
----------------------------------------------------*/


@media only screen and (min-width: 760px) {

body {
	font: 1.1em;
}


}


/* --------------------------------------------------
----------------------------------------------------

Große Monitore

----------------------------------------------------
----------------------------------------------------*/

@media only screen and (min-width: 961px)	{

body {
	font: 1.0em;
}

#header {
  text-align: left;
  margin: 0 auto;
  width: 960px;
  height: 215px;
  background: url(images/head-h02.gif) repeat-x;
}

#sidecontainer {
  text-align: left;
  margin: 0 auto;
  width: 960px;
  min-height:400px;
}

#imprint {
  width: 958px;
}

#content-forum hr,
#content hr {
  clear: both;
  background: url(images/hr-content.png) no-repeat center top;
  height: 29px;
  border: none !important;
  margin:15px 573px 15px 0;
}


#content {
  width: 649px;
  margin: 7px 38px 149px 0px;
  padding: 20px;
}


#margin {
  width: 193px;
  padding: 20px;
}

#footer-container {
  width: 960px;
}

#navi {
  margin: 0;
  width: 960px;
  height:51px;
  float:left;
}

/* hide the checkbox and the label */

input#responsive-nav,
label.responsive-nav-label {
  display: none;
}

/* declarations for the not-responsove-menu */

nav {
	margin: 0 auto;
	text-align: left;
	padding: 0;
}

nav a {
  text-decoration: none;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}


nav > ul > li {
  float: left;
}

nav ul li {
  transition: 0.5s;
  height: 51px;
  font: 18px/43px 'Gudea', Arial, sans-serif; font-weight: 700;
  text-transform: uppercase;
}

nav ul li a:link,
nav ul li a:visited, 
nav ul li a:active {
	color: #7c7c7b;;
  padding: 0px 22px;
    transition-duration: 1s;
    transition-property: background-image;
    transition-property: background-color;
  border-top: 4px solid #D9D9D9;
  border-bottom: 4px solid #D9D9D9;
}

nav ul li a:hover {
  color: #ffffff;
  background: #7C7C7B;
  border-top: 4px solid #7c7c7b;
  border-bottom: 4px solid #7c7c7b;
}

nav ul ul li a:link,
nav ul ul li a:visited, 
nav ul ul li a:active {
	font-size: 1em;
	color: #7c7c7b;
	padding: 0px 22px;
	background: #fff;
	margin: 0;
	transition-duration: 0.5s;
	transition-property: background-image;
	transition-property: background-color;
	border-top: 2px solid #D9D9D9;
	border-bottom: 2px solid #D9D9D9;
  font: 16px/40px 'Gudea', Arial, sans-serif; font-weight: 700;
	text-transform: none;
}

nav ul ul li a:hover {
  color: #ffffff;
  background: #7C7C7B;
  border-top: 4px solid #7c7c7b;
  border-bottom: 4px solid #7c7c7b;
}

nav > ul li:hover > ul {
display: block;
}

nav ul ul {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

nav ul ul li {
  width: 250px;
}


nav > ul a {
  display: block;
  white-space: nowrap;
  padding: 10px;
}

nav > ul {
  float: left;
  overflow: hidden;
}

nav > ul > li:hover > ul {
  display: block;
  position: absolute;
}

nav > ul > li > ul > li {
  position: relative;
}

nav > ul > li > ul > li:hover > ul {
  display: block;
}

nav > ul > li > ul > li:hover > ul {
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
}

nav > ul ul {
display: none;
position: absolute;
}

nav > ul li:hover > ul {
display: block;
}

nav > ul ul ul {
left: 100%;
top: 0;
}

nav ul ul ul {position: absolute; top: 0; left: 100%; width: 100%; } 

/* nav ende */

}

/* --------------------------------------------------
----------------------------------------------------

Responsiv Menü

----------------------------------------------------
----------------------------------------------------*/


@media screen and (max-width: 960px) {

/* Menü */

input#responsive-nav,
label.responsive-nav-label {
  display: none;
}

label.responsive-nav-label {
	position: relative;
	display: block;
	padding: 156px 0 0 5%;
	cursor: pointer;
	color: #7c7c7b;
	height: 46px;
}

label.responsive-nav-label span {
  margin-right: 10px;  
}

nav {
	position: absolute;
	top: -9999px;
	padding: 0px;
	background: #eeeeee;
}
 
input#responsive-nav[type=checkbox]:checked ~ nav {
  position: relative;
  top: 0;
}

nav a:after {
  display: none;
}

nav li {
  float: none !important;
  width: 100% !important;
  border-bottom: none !important; 
}
   
nav li a {
	margin-bottom: 10px !important;
	padding: 10px 20px !important;
	background: #4a4a4a;
	display: block;
	color: #CCC;
	text-decoration: none;
}
 
nav ul li:hover {
	background: none;
}
   
nav ul li a:hover {

  background: #dd2a1b;
	color: #FFF;
	transition-duration: 0.5s;
	transition-property: background-image;
	transition-property: background-color;
}

nav ul ul {
  position: relative !important;
  width: 100%;
  left: 0 !important;
  top: 0 !important;
  background: none !important;
  box-shadow: none;
}

nav ul ul li {
  padding-left: 20px;
}


}


@media screen and (max-width: 960px) {

#headlogo {
	margin-right:233px;
}


#searchbox {
  display: none;
}

#header-service {
  display: none;
}


@media screen and (max-width: 760px) {

#headlogo {
	margin-right:0;
}

#footer ul {
	display:none;
}

}