/**
 * "Yet Another Multicolumn Layout" - YAML CSS Framework
 *
 * central stylesheet - layout example "flexible-grids"
 *
 * @copyright       Copyright 2005-2012, Dirk Jesse
 * @license         CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
 *                  YAML-CDL (http://www.yaml.de/license.html)
 * @link            http://www.yaml.de
 * @package         yaml
 * @version         v4.0.2
 * @lastmodified    $Date: 2012-10-23 23:01:14 +0200 (Di, 23 Okt 2012) $
 */

/* Google Font API */
/*
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600);
*/

/* import core styles | Basis-Stylesheets einbinden */
@import url(./yaml/core/base.css);

@import url(./yaml/forms/gray-theme.css);

/* import screen layout | Screen-Layout einbinden 
@import url(../yaml/navigation/hlist.css);
@import url(../yaml/forms/gray-theme.css);

@import url(../yaml/screen/typography.css);
@import url(../yaml/screen/screen-FULLPAGE-layout.css);

/* import print layout | Druck-Layout einbinden */
@import url(./yaml/print/print.css);

/*
Farbdef:
	blau: #277ca1
	hellblau: #8facc4
	text: #666

*/

@media screen {

	/* force vertical scrollbar */
	body {
		overflow-y: scroll;
		background-color: #fff;
		font-family: 'Open Sans', sans-serif;
		font-size: 62.8%;
		color: #222;
	}
	/*
	1.0em = 10px 
	1.1em = 11px 
	1.2em = 12px 
	1.3em = 13px 
	2.0em = 20px 
	5.0em = 50px
	*/

	/* Layout Module Configuration */
	.ym-wrapper {
		max-width: 1300px;
		margin: 0 auto;
		padding: 0 10px;
	}
	
	/*.start .ym-wrapper {
		max-width: 930px;
	}*/

	/* resets */
	.ym-gbox,
	.ym-cbox,
	.ym-wbox {
		padding: 0;
		margin: 0;
	}

	/* fallback for missing media queries support*/
	body > header,
	body > #main,
	body > footer {
		min-width: 760px;
	}
	
	.text-right {
		text-align:right;
	}	
	.text-center {
		text-align:center;
	}
	
	.ym-column { 
		display: block;
		overflow: hidden;
		padding-left: 180px; /* column width */
		width: auto;
	}
	 
	.ym-col3 { /* left sidebar */
        position: relative;
        float: left;
        width: 175px; /* column width */
        right: 175px; /* column width */
        _right: 0px; /* fix for ie6 */
        margin: 0 0 0 -100%;		
	}	 
	
	.ym-col1 { /* content */
		position: relative;
		float: left;
		width: 100%;
		border-top: none;
		padding:0 0px 10px 30px;
	}	

	/* Basic Element Styling */	
	header {
		margin-bottom:1px;		
	}	
    
    header .logo-wrapper {
		margin-top:5px;
		padding:3px 0 0 3px;
		background-color: #277ca1;
		-webkit-border-radius: 1px;
		-moz-border-radius: 1px;
		border-radius: 1px;		
	}
	
	header .links-intern ul {
		margin:0;
		padding:0 5px 0 0;
	}

    #main .content {
        margin-top:20px;
    }
    
	footer .ym-wrapper {		
		border-top: 1px solid #277ca1;
        font-size: 1.1em;
        text-align: center;
        padding-top:10px;
        margin-top:10px;
	}
	
	/* Nav */
    .nav {
		/* (en|de) Bugfix:IE - Doubled Float Margin Bug */
		display:inline;
		float:left; /* LTR */	
		margin:0;
		padding:0;
		font-size:1.3em;
		line-height:1.3em;
	}
	.nav li {
		/* (en|de) Bugfix:IE - Doubled Float Margin Bug */
		display:inline;
		list-style-type:none;	
        margin:0;
	}
    
    .nav li a {    
        text-decoration: none;
    }
    
    .titel_farbig {
        font-size:1.1em;
        margin-top:20px;
        padding:2px 5px;
        width:100%;
        background:#277CA1;
        color:#fff;
    }
	.ym-hlist ul {
        width:185px;
    }
	.ym-hlist ul li {
        width:100%;
    }
    
    .ym-hlist ul li span,
	.ym-hlist ul li a {
		color:#222222;
		display:block;
		font-size:0.8em;
        font-weight:bold;
		line-height:1.1em;
		padding: 5px 5px;
		width:auto;
	}

	.ym-hlist ul li a:focus,
	.ym-hlist ul li a:hover,
	.ym-hlist ul li a:active,
	.ym-hlist ul li.active a {
		color:#8facc4 !important;
		text-decoration:none;
	}
	
	/* Links intern */
	.links-intern li {
		padding-left: 20px;
	}	
    
    .links-intern .nav li a {
		color: #fff;
	}
		
	/* end Nav */
	
	
	.ym-column {
		font-size: 1.3em;
	}	
	.inner .ym-column {
		font-size: 1.0em;
	}

	.ym-column p {
		margin-bottom:1.0em;
	}
    footer a,
	.ym-column a {
		text-decoration:none;
		color:#277ca1;
	}
    footer a:hover,
	.ym-column a:hover {
		text-decoration:none;
		color:#8facc4;
	}
	
	.text-right {
		text-align:right;
	}

	/* Inhalt */
	h1 {
		font-size:1.6em;
		font-weight:600;
		margin-bottom: 10px;		
	}
	h2 {
		font-size:1.4em;
		font-weight:600;
        margin-bottom: 10px;
	}
	h3 {
		font-size:1.2em;
		font-weight:600;
		margin-bottom: 5px;		
	}
	h4 {
		font-size:1.2em;
		font-weight:normal;	
		margin-bottom: 5px;
	}
    
    
    #starttext {
        margin-top:12px;
    }


/*  Shop alt */	    
    
/* Info-Flash */
.info { margin: 5px; padding: 5px; border: 2px solid red;}


/* Bildbearbeitung */
.bilder_edit img {
	float:left;
    margin-right:10px;
}
/* end Bildbearbeitung */


/* Druckfassung-Bearbeitung */
.druckfassung_formate {
    padding:0;
    margin:0;
}

.druckfassung_formate li {
    list-style: none;
    float:left;
    padding: 0 10px;
}

.druckfassung_formate li label {
    padding-left: 5px;
}

.druckfassung_formate li:last-child label {
    font-style:italic;
}

/* end Druckfassung-Bearbeitung */

/* Produktliste */

div.list-view {
    margin-top:10px;
}

div.buch_kurz {
    width: 290px;
    margin-right:20px;
    height: 250px;
    float:left;
    padding-top:2px;
    border-top:1px solid #E0E0F9;
}

div.buch_kurz_bild {
    float:left;
    padding-right:10px;
    padding-bottom:10px;
}

div.buch_kurz_bild  img{
    width: 75px;
    border:0;
}

h2.buch_kurz_titel {
    font-size:12px;
    margin: 0 0 3px 0;
    font-weight:bold;
}

h2.buch_kurz_titel a,
div.buch_kurz_beschreibung  a {
    color: #333;    
    text-decoration:none;   
}

div.buch_kurz_beschreibung {
    font-size:12px;
    color: #666699;
}


div.buch_kurz_links {
    font-size:12px;
    clear:left;
}

div.buch_kurz_links .buttonlinks {
    padding-left:5px;
}

.summary {
    margin-right:10px !important;
}

/* end Produktliste */

/* Produktdetail */

#buch {
	/*padding: 0 0 0 10px;*/
}

#buch h1 {
	margin-top: 0;
}

#buch>div h4 {
    background: #90CBE4;
    padding:3px;
	clear:left;
    border-top: 1px solid #277ca1;
}

#buch h4 {
	margin-top:10px;
}

#buch div.galerie {
	cursor:pointer;
    float:left;
    margin-right:10px;
	margin-bottom:10px;
    font-size:9px;
}

#buch img {
    /*max-width:165px;*/
}

#buch_nav {
	float:right;
	width:140px;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 20px 10px;
	background: #90CBE4;
	margin-right:-10px;
}

#buch_nav_druckfassung {
	float:right;
	width:350px;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 20px 10px;
	background: #90CBE4;
	margin-right:-10px;
}

#buch_nav form {
	margin-bottom:10px;
}

#buch_nav>a:hover {
	color: #fff;
}

#buch_nav div.amazon {
    padding-top:10px;
    margin-left:-5px;
}

#buch_nav div.product-options div.small,
#buch_nav div.amazon div {
    font-size:9px;
    padding-top:5px;
    padding-left: 5px;
}

#buch_nav div.product-options div.small {
	margin-top:-13px;
	padding-left:0;
}

#buch_daten {
    /*padding-top: 5px;*/
}

div.top {
    width:100%;
    text-align:right;
    margin-top:10px;
}

div.product_variation_formate {
    font-size:smaller;
    padding-left:25px;
}


/* end Produktdetail */

/* Bestellung allgemein */
.tooltip { display: none; background-color: #CCC; border-radius:5px; margin: 5px; padding: 5px;}
.info { margin: 5px; padding: 5px; border: 2px solid red;}
.preis_information{ cursor: pointer;}
.buttons a {margin: 5px;}
/* end Bestellung allgemein */

/* Bestellablauf-Übersicht */
#waypointarea {
    padding:5px;
    background: #90CBE4; 
}

#waypointarea span {
    margin-right: 10px;
}

#waypointarea span.active {
    font-weight: bold;
}

#waypointarea a{
    text-decoration:none;
}

#waypointarea a:hover {
    color:#fff;
}

/* end Bestellablauf-Übersicht */

/* Bestellablauf */
.checkout-adresse th,
.checkout-adresse td,
table.konto th, 
table.konto td {
    text-align:left;
}

.checkout-adresse th {
	padding-right:10px;
}

td.aktion {
    width:80px;
}

.text-right {
    text-align:right !important;
}

div.payment input {
    float:left;
    margin-right:5px !important;
    margin-top:0 !important;
}

table.konto td {
    padding-left:5px;
}

#checkout .box-delivery-address {
    float:left;
    margin-right:70px;
}

#checkout .box-billing-address {
    padding-top:1px;
}

.select-country {
	display:block;
	float:none;
	padding-top:8px;
}

/* end Bestellablauf */

/* Warenkorb-Widget */

#cart-widget .portlet {
    /*height: 15px;*/
    position:relative;
}

#cart-widget .portlet-content {
    width:132px;
    position: absolute;
    right:0;
    top: -10px;
}


/* end Warenkorb-Widget */


/* Warenkorb */
.shopping_cart {
    width:100%;
}
.shopping_cart th {
    font-weight:bold;
    border-bottom:1px solid #D2D2D2;
    padding:2px;
}
.shopping_cart td {
    vertical-align:top;
    padding:2px;
    text-align:left;
}

.shopping_cart td div.galerie img,
.shopping_cart td img{
    float:left;
    margin-right:5px;
}

.shopping_cart td.beschreibung a {
   text-decoration:none;
}

.buttons a  {
    text-decoration:none;
}

/* end Warenkorb */

/* Bestellformular */

#kunden-form input[type="radio"] {
    float:left;
    margin-right: 10px;
    margin-top: 1px;
}

/* end Bestellformular */

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #277ca1;
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #333;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#90CBE4;
    border: 1px solid #277ca1;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}

.pdf-tab {
}

.pdf-tab th,
.pdf-tab td {
    border-bottom:1px solid black;
    text-align: right;
    padding:5px;
}

.pdf-tab tr.last td {

}

.pdf-tab tr.first td {
    border:none;
}

.pdf-tab th {
    border-top:1px solid black;
    font-weight:normal;
}
.pdf-tab td {
    vertical-align:top;
}

/* end Shop alt */	
    
    
	/* Suche */	
	.searchbox {
		display:block;
		float:right;        
		background:#277CA1;	
        padding-top:30px;        
	}
	
	.searchbox .nav {
		background: #277CA1;
		padding: 0 0 0 10px;		
		margin-right:3px;
		height:30px;
	}
	.searchbox .nav>li>a {
		margin-left:0;
		color: #FFFFFF;
		display: block;
		font-size: 1.1em;
		font-weight: 600;
		line-height: 1.1em;
		padding: 7px 10px;
	}
	.searchbox .nav ul li ul li {
		font-size: 1.0em;
		padding: 2px 10px;
	}

	.ym-searchform .ym-searchfield {
		padding: 3px;
		margin-right:3px;
		width: 140px;
		height:30px;
		border: solid 1px #277ca1;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		float:left;
		color: #277ca1;
	}

	.ym-searchform .ym-searchbutton {
		background: url(../bilder/suchbutton.png) no-repeat; 
		width: 31px; 
		height: 30px;		
		border: none;
		cursor: pointer;
		padding: 0;
		margin:0;		
		vertical-align:top;
	}

    .sidebar-right div.werbung {
		font-size:0.9em;
		line-height:1.2em;
        padding: 0;
	}

    .sidebar-right .advertisementHeader {
        margin:0;
        padding:0;
        font-weight:bold;
    }

    .sidebar-right .werbung-text-1 p {
        padding-left: 3px;
        padding-right: 3px;
    }

    .sidebar-right .werbung-text-2 {
        margin-top:10px;
    }
	/* end rechte Sidebar */
	
	/* Footer */
	.link-media {
		padding-top:5px;
		float:left;
	}	
	.link-top {
		margin-left: 160px;
		margin-right:10px;
	}
	
	/* end Footer */


	/* skip links styling */
	.ym-skiplinks a.ym-skip:focus,
	.ym-skiplinks a.ym-skip:active {
		color:#fff;
		background:#222;
		border-bottom:1px #000 solid;
		padding:10px 0;
		text-align: center;
		text-decoration:none;
	}
	
	/* Formulare */
	
	.ym-col1,
	.ym-col2,
	.ym-col3,
	legend,
	label,
	input,
	textarea,
	select {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}
    
    .search {
        width : 60px;
    }

    .sendarticle {
        width : 90%;
        margin-bottom:10px;
    }
    
    .content input,
	.content textarea,
	.content select {
        margin-bottom:10px;
    }
    
	
	/* responsivness */
	.flexible {
		margin:0;
		max-width: 100%;
		height: auto;
	}

	* html .flexible {	/* IE6 support */
		width: 98%;		/* 2% space for borders */
	}
}

/* reset fallback values in modern browsers */
@media screen and ( min-width: 0px ) {

	body > header,
	body > nav,
	body > #main,
	body > footer {
		min-width: 0;
	}
}

@media screen and ( max-width: 790px ) {
	/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
	.linearize-level-1,
	.linearize-level-1 > [class*="ym-g"],
	.linearize-level-1 > [class*="ym-col"] {
		display: block;
		float: none;
		padding: 0;
		margin: 0;
		width: 100% !important;
	}

	.linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"],
	.linearize-level-1 > [class*="ym-col"] > [class*="ym-cbox"] {
		overflow: hidden; /* optional for containing floats */
		padding: 0;
		margin: 0;
	}

	.ym-searchform {
		display:block;
		float: none;
		width: auto;
		text-align: right;
	}
}

@media screen and ( max-width: 540px) {

	header .ym-wbox {
		padding: 0.75em 10px;
	}
	
	header .logo {
		float:none;
	}
	
	header .logo a {
		border:none;
	}

	footer .ym-wbox,
	nav .ym-hlist ul {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	#main {
		padding:10px;
	}

	header h1 {
		font-size: 1.5em;
		line-height: 1em;
		margin: 0;
	}

	/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
	.linearize-level-2,
	.linearize-level-2  [class*="ym-g"],
	.linearize-level-2  [class*="ym-col"] {
		display: block;
		float: none;
		padding: 0;
		margin: 0;
		left: 0;
		right: 0;
		width: 100% !important;
	}

	.linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"],
	.linearize-level-2 > [class*="ym-col"] > [class*="ym-cbox"] {
		overflow: hidden; /* optional for containing floats */
		padding: 0;
		margin: 0;
	}
	
	.ym-searchform,
    nav .ym-hlist ul > li > ul > li > ul,
	nav .ym-hlist ul,
	nav .ym-hlist li {
		display:block;
		float: none;
		width: auto;
		text-align: left;
        position:relative !important;
        left:auto;
        margin:0 !important;
	}

    
    nav .ym-hlist ul li ul li {
        margin:0;
        padding-left:20px;
        width:auto;
    }
    
    .searchbox {
        float:none;
        width:100%;
    }    
    
    .searchbox .nav {
        height:auto;
    }
    .ym-searchform {
        padding-top:5px;
    }
    
	.ym-searchform input[type="search"] {
		width: 75%;
	}
}

/* FAX */
.fax {
    max-width:1000px;
}
.fax header {
    margin: 0 auto;
    max-width: 1300px;
    padding: 0 50px;
}
.fax .logo-wrapper {
    background:none;
    padding:0;
}
.fax .ym-column {
    padding:30px;
}
.fax .buttons{
    margin-top:20px;
}

@media print {
    .fax .header {
        padding:0;
    }
    .fax .logo img {
        height:50pt;

    }
    .fax .buttons {
        display:none;
    }
}


/* end FAX */
