/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color:#fff;
    font-family:Georgia,"Times New Roman",serif;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background:#fff;
    color:#000;
    text-shadow:none;
}

::selection {
    background:#fff;
    color:#000;
    text-shadow:none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	background:url('../image/hr_dot.png') repeat-x 0 0;
    display:block;
    height:4px;
    border:0;
    /*border-top:3px dotted #fff;*/
    margin:0.5em 0;
    padding:0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align:middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border:0;
    margin:0;
    padding:0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize:vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin:0.2em 0;
    background:#ff3333;
    color:#fff;
    padding:0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * fonts
 */

@font-face {
    font-family: 'Market Deco';
    src: url('../fonts/market_deco/Market_Deco.eot');
    src: url('../fonts/market_deco/Market_Deco%EF%B9%96.eot#iefix') format('embedded-opentype'),
         url('../fonts/market_deco/Market_Deco.woff') format('woff'),
         url('../fonts/market_deco/Market_Deco.woff') format('truetype'),
         url('../fonts/market_deco/Market_Deco.svg#MarketDeco') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'nobel_mapiregular';
    src: url('../fonts/nobelmapiweb/nobelmapiweb-webfont.eot');
    src: url('../fonts/nobelmapiweb/nobelmapiweb-webfont%EF%B9%96.eot#iefix') format('embedded-opentype'),
         url('../fonts/nobelmapiweb/nobelmapiweb-webfont.woff') format('woff'),
         url('../fonts/nobelmapiweb/nobelmapiweb-webfont.ttf') format('truetype'),
         url('https://amabile.ch/fileadmin/amabile/fonts/nobelnobelmapiwebmapi/nobelmapiweb-webfont.svg#nobel_mapiregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/*
 * responsive framework
 */

.container {
	/*background:#666;*/
	margin:0 auto 50px;
	position:relative;
	width:976px
}

.wrapleft { float:left;width:190px }
.wrapright { float:left;position:relative;width:786px}
img, embed, object, video { max-width:100%; height:auto; width:auto; }
/*.csc-textpic-2-col .csc-textpic-imagecolumn { width:48% } /* ca. 249px */
/*.csc-textpic-3-col .csc-textpic-imagecolumn { width:31% } /* ca. 166px */


/*
 * general styles
 */

html { background:#000 }
p { margin:0 0 0.5em }
.mobile { display:none }
.separator { clear:both;margin:1em 0;text-align:center }

.csc-frame-rulerAfter { 
	background:url('../image/hr_dot.png') repeat-x bottom left;
    margin:0 0 0.5em;
    padding:0 0 0.5em;
}

.pfeil,
.pfeil:visited { font-style:italic !important;text-decoration:none !important }
.pfeil:hover { text-decoration:underline !important }
.pfeil:before { content:"\2192\00A0\00A0"; }


/*
 * navmain
 */

.navtoggler { display:none }

ul#navmain {
	/*background:#333;*/
	float:left;
	font:1.125em/1.111111111em "Market Deco",helvetica,arial,sans; /* 18px 20px*/
	margin:31px 0 0;
	padding:0;
	width:190px
}

ul#navmain li { text-align:center }

ul#navmain a,
ul#navmain a:visited {
	color:#fff;
	text-decoration:none;
	text-transform:uppercase
}

ul#navmain a:hover,
ul#navmain a.active { color:#c25b5d }

ul#navmain ul {
	font:0.805555556em/1.24137931em nobel_mapiregular,helvetica,arial,sans;  /* 14.5px 18px */
	margin:0 0 10px;
	padding:0
}

ul#navmain ul a, ul#navmain ul a:visited { text-transform:none }


/*
 * header
 */

#pageheader {
	/*background:#777;*/
	float:left;
	margin:0 0 25px;
	width:786px
}

a#logomain { float:left;margin:30px 0 0 148px }

p.address {
	/*background:#333;*/
	float:right;
	font:0.90625em/1.24137931em nobel_mapiregular,helvetica,arial,sans;  /* 14.5px 18px */
	margin:31px 0 0;
	padding:0;
	text-align:center;
	width:190px
}

p.address a,
p.address a:visited { color:#fff;text-decoration:none }


/*
 * contentmain
 */

#contentmain {
	/*background:#333fff;*/
	float:left;
	font-size:0.875em; /* 14px */
	/*letter-spacing:1px;*/
	line-height:1.285714286em; /* 18px */
	min-height:1px;
	padding:0 39px;
	position:relative;
	width:518px;
}

#contentmain img { max-width:518px }
#contentmain .csc-textpic-2-col .csc-textpic-imagecolumn img { max-width:100% }
#contentmain .csc-textpic-3-col .csc-textpic-imagecolumn img { max-width:100% }

#contentmain a:link,
#contentmain a:visited { color:#fff;font-style:normal;text-decoration:underline }
#contentmain a:hover { color:#c25b5d;/*font-style:italic;*/text-decoration:none }

#contentmain img { margin:0 0 0.5em; }

/* 2 containers on homepage */
#contentmain .home-container1 { left:-190px;position:absolute;top:0;width:440px }
#contentmain .home-container2 { left:275px;position:absolute;top:205px;width:296px }
#contentmain .home-container1 img { max-width:440px }
#contentmain .home-container2 img { max-width:296px }


/*
 * pagesidebar
 */

#pagesidebar {
	/*background:#333;*/
	float:left;
	font-size:.875em; /* 14px */
	line-height:1.285714286em; /* 18px */
	width:190px
}

#pagesidebar a:link,
#pagesidebar a:visited { color:#fff;font-style:italic;text-decoration:none }
#pagesidebar a:hover { text-decoration:underline }

#pagesidebar img { margin:0 0 0.5em 0;max-width:190px }


/*
 * info
 */

.info { font-size:.714285714em /* 10px */ }
.info a.facebook { float:right }
.info a.facebook { font-style:normal !important }


/*
 * I'm not there
 */
 
.imnotthere {
	left:310px;
	position:absolute;
	top:50px;
	z-index:1
}


/*
 * gridelements
 */

#contentmain .ge-2cols .col1,
#contentmain .ge-2cols .col2 { float:left;margin:0 18px 0 0;width:250px }
#contentmain .ge-2cols .col2 { margin:0 }
#contentmain .ge-2cols .col1 img,
#contentmain .ge-2cols .col2 img { max-width:250px }




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

/* ==========================================================================
   #Tablet: (Portrait)
   ========================================================================== */

/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 976px) {

	.container			{ margin:0 auto;width:768px }
	.wrapleft			{ float:left;width:190px }
	.wrapright			{ float:left;width:578px}
	
	/* we need these %-definitions to keep the columns */
	.csc-textpic-2-col .csc-textpic-imagecolumn { width:48% }
	.csc-textpic-3-col .csc-textpic-imagecolumn { width:31% }
	
	ul#navmain			{ float:left;margin:31px 0 0;width:190px }
	#pageheader			{ float:left;margin:0 0 25px;width:578px }
	a#logomain			{ float:left;height:52px;margin:30px 0 0 44px;width:300px }
	a#logomain img		{ max-width:300px }
	p.vcard				{ float:right;margin:31px 0 0;width:190px }
	#contentmain		{ float:left;padding:0 39px;width:310px }
	#contentmain img	{ max-width:310px }
	#pagesidebar		{ float:left;width:190px }
	#pagesidebar img	{ max-width:190px }
	
	/* I'm not there */
	.imnotthere			{ left:208px;top:50px }
	
	/* gridelements */
	#contentmain .ge-2cols .col1,
	#contentmain .ge-2cols .col2 { float:left;margin:0 18px 0 0;width:146px }
	#contentmain .ge-2cols .col2 { margin:0 }
	#contentmain .ge-2cols .col1 img,
	#contentmain .ge-2cols .col2 img { max-width:146px }
	
	/* 2 containers on homepage */
	#contentmain .home-container1 { left:-190px;position:absolute;top:0;width:311px }
	#contentmain .home-container2 { left:146px;position:absolute;top:150px;width:217px }
	#contentmain .home-container1 img { max-width:311px }
	#contentmain .home-container2 img { max-width:217px }
	
	
}

/* ==========================================================================
   #Mobile (Portrait)
   ========================================================================== */

/* Note: Design for a width of 320px */

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

	.container			{ margin:0 auto;width:300px }
	.wrapleft			{ float:left;width:300px }
	.wrapright			{ float:left;width:300px}
	
	/* we need these %-definitions to keep the columns */
	.csc-textpic-2-col .csc-textpic-imagecolumn { width:48% }
	.csc-textpic-3-col .csc-textpic-imagecolumn { width:31% }
	
	ul#navmain			{ float:none;margin:0;width:300px }
	#pageheader			{ float:none;margin:0;width:300px }
	a#logomain			{ float:none;height:52px;margin:0;width:300px }
	a#logomain img		{ max-width:300px }
	p.vcard				{ float:none;margin:1em 0;width:300px }
	#contentmain		{ float:none;margin:0 0 1em;padding:0;width:300px }
	#contentmain img	{ max-width:300px }
	#pagesidebar		{ float:none;margin:0 0 0 55px;width:190px }
	#pagesidebar img	{ max-width:190px }
	
	/* show separator */
	.mobile { display:block }
	
	/* show/hide menu */	
	.navtoggler			{ display:block;margin:1em 0;text-align:center }
	a.opennav			{ display:none }
	a.opennav:hover		{ color:#c25b5d }
	a.closenav			{ color:#fff;display:block }
	a.closenav:hover	{ color:#c25b5d }
	ul.navopened		{ display:block }
	ul.navclosed		{ display:none }
	
	/* I'm not there */
	.imnotthere			{ left:60px;top:30px }
	
	/* gridelements */
	#contentmain .ge-2cols .col1,
	#contentmain .ge-2cols .col2 { float:left;margin:0;width:300px }
	#contentmain .ge-2cols .col2 { margin:0 }
	#contentmain .ge-2cols .col1 img,
	#contentmain .ge-2cols .col2 img { max-width:300px }
	
	/* 2 containers on homepage */
	#contentmain .home-container1 { left:0;position:relative;top:0;width:300px }
	#contentmain .home-container2 { display:none }
	#contentmain .home-container1 img { max-width:300px }
}

/* ==========================================================================
   #Mobile (Landscape)
   ========================================================================== */

/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	.container			{ margin:0 auto;width:420px }
	.wrapleft			{ float:left;width:420px }
	.wrapright			{ float:left;width:420px}
	
	/* we need these %-definitions to keep the columns */
	.csc-textpic-2-col .csc-textpic-imagecolumn { width:48% }
	.csc-textpic-3-col .csc-textpic-imagecolumn { width:31% }

	ul#navmain			{ float:none;margin:0;width:420px }
	#pageheader			{ float:none;margin:0;width:420px }
	a#logomain			{ float:none;height:52px;margin:0 0 0 60px;width:300px }
	a#logomain img		{ max-width:300px }
	p.vcard				{ float:none;margin:1em 0;width:420px }
	#contentmain		{ float:none;margin:0 0 1em;padding:0;width:420px }
	#contentmain img	{ max-width:420px }
	#pagesidebar		{ float:none;margin:0 0 0 115px;width:190px }
	#pagesidebar img	{ max-width:190px }
	
	/* show separator */
	.mobile				{ display:block }
	
	/* I'm not there */
	.imnotthere			{ left:225px;top:20px }
	
	/* gridelements */
	#contentmain .ge-2cols .col1,
	#contentmain .ge-2cols .col2 { float:left;margin:0 18px 0 0;width:201px }
	#contentmain .ge-2cols .col2 { margin:0 }
	#contentmain .ge-2cols .col1 img,
	#contentmain .ge-2cols .col2 img { max-width:201px }
	
	/* 2 containers on homepage */
	#contentmain .home-container1 { left:0;position:relative;top:0;width:420px }
	#contentmain .home-container2 { display:none }
	#contentmain .home-container1 img { max-width:420px }
}




@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}
