/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 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: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  
.left {float:left;}
.right {float:right;}  
  
body {background: #47423f; text-align: center; margin: 0; padding: 0; font-family: 'Questrial', Arial, Helvetica, sans-serif;}
#page {width: 960px; margin: 0 auto;}
section {position:relative; z-index: 50; margin: -10px 0 10px 0;}
section.defaultpage {background: transparent url(../img/background-page.gif) repeat-y 0 0;}
section.homepage {background: transparent url(../img/background-homepage.gif) repeat-y 0 0;}
img {max-width:100%; height:auto;}

/* Header */
header {position:relative; z-index: 51;}
#logo {float: left; margin: 10px 20px;}
.logo-wrap {background: #f1eee9;}
.gradient {background: transparent url(../img/background-header.png) repeat-x 0 100%; padding: 0 15px 8px 15px;}

#language-chooser {list-style: none; margin: 0; padding: 0; float: right; margin: 15px;}
#language-chooser li {float:left; margin: 0 2px;}
#facebook-button {display: block;}

/* Navigation */
#shownavigation {display:none; margin: 5px 0;}
#page-header nav {float: left;}
#page-header nav ul {margin:0; padding: 0;}
#page-header nav li {float: left; padding: 8px 0;}
#page-header #navigation-meta li {padding: 10px 0;}
#page-header nav a {text-transform: uppercase; color: #FFFFFF; text-decoration: none; display: block; text-align: left;}
.headernavwrap {padding: 20px;}
#langugenavigation {float: right; padding: 2px 0 0 12px;}
#socialnavigation {float: left;}

#navigation-main li a {font-size: 12px; padding: 0 15px 0 0; margin: 0 0 0 10px;}
#navigation-main ul li ul {background: #643332 url(../img/background-subnavigation.png) repeat-x 0 0; position: absolute; margin: 8px 0 0 0; min-width: 190px; display: none;}
#navigation-main ul li:hover ul {display: block;}
#navigation-main ul li ul li {clear: both;}
#navigation-meta li a {font-size: 9px; padding: 0 10px 0 0; border-right: 1px solid #FFFFFF; margin: 0 0 0 5px;}
#navigation-meta li.last a {padding: 0 10px 0 0; border-right: none; margin: 0 0 0 10px;}

/* Navigation Footer */
footer ul {margin:0; padding: 0;}
footer li {margin:0; padding: 0; line-height: 100%;}
footer a {color: #FFFFFF; text-decoration:none; font-size: 11px;}
footer a.first {font-weight: bold;}

/* Search */
#search-wrap {background: transparent url(../img/background-search.png) no-repeat 50% 50%; margin: 6px 0; width: 139px; float:right; height: 20px;}
#search-wrap input[type="text"] {font-size: 10px; background: none; width: 110px; border: none; height: 20px; line-height: 20px; float: left; padding: 0 0 0 5px; color: #999999;}
#search-wrap input[type="image"] {float:right; line-height: 20px;}

/* Beradcrumb */
#navigation-breadcrumb {margin: 20px 0;}
#navigation-breadcrumb ul {margin:0; padding:0;}
#navigation-breadcrumb li {margin:0; padding:0; float:left; font-size: 13px; color: #8c8c8c;}
#navigation-breadcrumb li.active {margin: 0 0 0 5px;}
#navigation-breadcrumb a {font-size: 13px; color: #8c8c8c; text-decoration: none;}

/* Article */
section.homepage article {text-align: left; float: left; width: 720px; margin: 0; padding: 0;}
section.defaultpage article {text-align: left; float: left; width: 660px; margin: 0 0 0 0; padding: 0 30px 30px 30px;}
article h2 {font-size: 45px; text-transform: uppercase; font-weight: normal; color: #8c8c8c; margin:0; line-height: 100%;}

/* Inline Navigation */
article header  {margin: 30px 0;}
article header nav ul {margin: 0; padding:0;}
article header nav li {float:left; margin: 3px 0; padding:0 5px; border-left: 1px solid #202120;}
article header nav li a {color: #202120; text-decoration:none; font-size: 11px; display: block; line-height: 11px;}
article header nav li:first-child {padding:0 5px 0 0; border-left: none;}

.csc-frame-frame1 {background: #eeeae3; width: 100%; box-shadow: 0 10px 15px -10px #777; margin: 0 0 30px 0; min-height: 260px; position: relative;}
.csc-frame-frame1 .bodytext {margin: 0;}
.csc-frame-frame1 div.csc-textpic .csc-textpic-imagewrap {margin: 0; padding: 0; min-height: 260px; float: left; line-height: 260px;}
.csc-frame-frame1 div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {margin: 0; padding: 0; min-height: 260px; line-height: 260px;}
.csc-frame-frame1 div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img {vertical-align:middle; display: inline;}
.csc-frame-frame1 .csc-header-date {color: #404040; font-size:14px; margin: 1em 0 0 0;}
.csc-frame-frame1 h1, .csc-frame-frame1 h2, .csc-frame-frame1 h3, .csc-frame-frame1 h4, .csc-frame-frame1 h5 {color: #404040; font-size:21px; margin: 0.15em 0 0.5em 0; text-transform: uppercase;}
.csc-frame-frame1 header {margin: 0;}
.csc-frame-frame1 .csc-textpic-intext-left-nowrap-179 .csc-textpic-text {margin-bottom: 15px;}
.csc-frame-frame1 .csc-textpic-text {margin-bottom: 15px;}

.csc-frame-frame2 {background: #eeeae3; width: 100%; box-shadow: 0 10px 15px -10px #777; margin: 0 0 30px 0; min-height: 260px; position: relative;}
.csc-frame-frame2 .bodytext {margin: 0;}
.csc-frame-frame2 div.csc-textpic .csc-textpic-imagewrap {margin: 0; padding: 0; min-height: 260px; float: left; line-height: 260px;}
.csc-frame-frame2 div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image {margin: 0; padding: 0; min-height: 260px; line-height: 260px;}
.csc-frame-frame2 div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image img {vertical-align:middle; display: inline;}
.csc-frame-frame2 .csc-header-date {color: #404040; font-size:14px; margin: 1em 0 0 0;}
.csc-frame-frame2 h1, .csc-frame-frame1 h2, .csc-frame-frame1 h3, .csc-frame-frame1 h4, .csc-frame-frame1 h5 {color: #404040; font-size:21px; margin: 0.15em 0 0.5em 0; text-transform: uppercase;}
.csc-frame-frame2 header {margin: 0;}
.csc-frame-frame2 .csc-textpic-intext-left-nowrap-179 .csc-textpic-text {margin-bottom: 15px;}
.csc-frame-frame2 .csc-textpic-text {margin-bottom: 15px;}


.pid4 .banner {position: absolute; right: -9px; top: -9px; width: 160px; height: 160px;}
.pid4 .banner.verlegt {background: transparent url(../img/banner-verlegt.png) no-repeat 50% 50%;}
.pid4 .banner.verschoben {background: transparent url(../img/banner-verschoben.png) no-repeat 50% 50%;}
.pid4 .banner.ausverkauft {background: transparent url(../img/banner-ausverkauft.png) no-repeat 50% 50%;}
.pid4 .banner.abgesagt {background: transparent url(../img/banner-abgesagt.png) no-repeat 50% 50%;}
.pid4 article .bodytext {line-height: 20px;}

.bodytext {font-size: 13px;}
article div li {font-size: 13px;}
article div ol, article div ul {padding: 0 0 0 1em;}
article h3 {font-size: 1.17em; margin: 0.5em 0 0.25em 0;}
article a {color: #58202a; text-decoration:none;}
article a:hover {color: #360b16; text-decoration:underline;}
.csc-header {margin:0;}

/* Margin */
aside {background: #f0eee8; text-align: left; float: right; width: 230px;}
aside h3 {background: #4a2624 url(../img/background-margin-header.png) repeat-x 0 0; font-size: 11px; color: #FFFFFF; padding: 5px 20px; text-transform: uppercase; font-weight: normal;}
aside .bodytext {font-size: 13px; margin: 0;}
aside .csc-default {margin: 1em 0;}
aside div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow, ul.csc-uploads li {overflow: hidden; padding: 0 1em;}
aside .csc-default .bodytext{margin: 0 1em;} 
aside .csc-textpic-text .bodytext{margin: 0;} 

.asidevents {padding: 15px; height: 380px; background: #f0ede7;}
.asidevents h4 {font-weight: bold; margin: 5px 0; font-size: 20px; text-transform: uppercase; line-height: 20px; background: #f0ede7;}
.asidevents .event-date {font-size: 12px;}
.asidevents-wrap {position: relative; height: 380px;}
.asidevents-wrap .asidevents {position: absolute;}
.defaultpage #asidevents {min-height: 1170px;}

/* Footer */
footer {background: #4e2b28 url(../img/background-footer.png) repeat-x 0 0; min-height: 140px;}
.box160 {text-align:left; width: 100px; float:left; padding: 10px 30px;}
.box160 ul {list-style: none;}
.functions {text-align: right; float: left; width: 96%; padding: 0 2% 2% 2%;}
.functions a {font-size: 0.8em; background: transparent url(../img/icon-print.gif) no-repeat 0 0; padding: 0 0 0 20px;}

.sliderwrap {background: #ffffff; margin-bottom: 10px; padding: 10px;}
.slider {background: #cccccc; position: relative;}

.full {width: 100%;}
.half {width: 50%;}

.doublesliderwrap {background: #ffffff; margin: 10px 0 0 0;}

/* Slider */
.left .slider {background: #cccccc; margin: 10px 5px 10px 10px;}
.right .slider {background: #cccccc; margin: 10px 10px 10px 5px;}

.rslides {position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0;}
.rslides li {-webkit-backface-visibility: hidden;position: absolute; display: none;width: 100%;left: 0; top: 0;}
.rslides li:first-child {position: relative; display: block; float: left;}
.rslides img {display: block;height: auto;float: left;width: 100%;border: 0;}

.rslides-caption {position: absolute; color: #ffffff; text-shadow: 1px 1px #000000; font-size: 40px; margin: 20px; line-height: 100%; font-weight: normal;}
.smallSlider .rslides-caption {font-size: 25px;}

.rslides_nav {position: absolute;top: 40%;z-index: 10;display: block;width: 40px; height: 20%;background: transparent url(../img/quader-arrows-NO.png) no-repeat 0 50%;}
.rslides_nav:hover {background: transparent url(../img/quader-arrows.png) no-repeat 0 50%;}

.rslides_nav.prev {left:0;background-position: 0 50%;}
.rslides_nav.next {right:0;background-position: 100% 50%;}

/* Banner */
.left .banner {background: #cccccc; margin: 10px 5px 10px 10px;}
.right .banner {background: #cccccc; margin: 10px 10px 10px 5px;}


/* FAQ */
.faq-answer {display:none;}
.faq-answer .bodytext {margin: 0;}
.faq-question a {font-size: 0.9em; color: #000000; text-decoration: none; background: transparent url(../img/openfaq.gif) no-repeat 0 50%; display: block; padding: 0 0 0 20px;}
.faq-question a.active {font-size: 0.9em; color: #000000; text-decoration: none; background: transparent url(../img/closefaq.gif) no-repeat 0 50%; display: block; padding: 0 0 0 20px;}

#toTop {z-index: 52; background:#f7f7f7; text-align:center; padding:5px; position:fixed; bottom:20px; right:20px; cursor:pointer; display:none; border-radius: 5px; }

#galleryoverlay .close {background-image: url(../img/close.png);position: absolute;right: -15px;top: -15px; cursor: pointer;height: 35px;width: 35px;}
#galleryoverlay {background-color: rgba(88, 32, 42, 0.7);color: #efefef;height: 570px;width: 640px;padding: 20px;font-size: 11px;border-radius: 5px;box-shadow: 0 0 5px #000000; display: none;}
div.contentWrap { height: 570px;width: 640px;overflow: hidden;}

/* Forular */
label em, legend em {display: inline-block; color: #060; font-size: 85%; font-style: normal; text-transform: uppercase;}
div.csc-mailform fieldset ol {padding: 0; float:left;}
div.csc-mailform legend {margin-left: 0;color: #000000;font-weight: bold; padding: 0 0 1em 0;}
div.csc-mailform fieldset li {padding: 0;margin-bottom: 0.5em;list-style: none;width: 100%;float: left;}
.csc-mailform input[type="text"] {border: 1px solid #202120;width: 40%;padding: 2px; border-radius: 5px; background: #643433; color: #fff;box-shadow:inset 0 0 5px #000000;}
.csc-mailform input[type="submit"] {border: 1px solid #202120;padding: 2px 10px; border-radius: 5px; background: #643433; color: #fff;box-shadow: 0 0 5px #000000;}

div.csc-mailform ol li {overflow: visible;}
div.csc-mailform ol {margin: 0;padding: 0; list-style: none;}
div.csc-mailform fieldset {margin: 0;padding: 0 0 2em 0;position: relative;}
label strong, legend strong {display: block;color: #fff;font-size: 85%; font-weight: normal; text-transform: uppercase;position: absolute; box-shadow: 0 0 5px #000;padding: 5px; z-index: 1000; background:  #c00;}


.sbHolder{background-color:#643433;border:solid 1px #202120;box-shadow:inset 0 0 5px #000000;font-size:12px;font-weight:400;height:20px;position:relative;width: 40%;padding: 2px; border-radius: 5px;float: left;}
.sbSelector{display:block;height:22px;left:0;line-height:22px;outline:none;overflow:hidden;position:absolute;text-indent:10px;top:0;width:80%; padding: 2px;}
.sbSelector:link,.sbSelector:visited,.sbSelector:hover{color:#FFFFFF;outline:none;text-decoration:none;}
.sbToggle{background:url(../img/select-icons.png) 60% -120px no-repeat;display:block;height:22px;outline:none;position:absolute;right:0;top:0;width:20%;}
.sbToggle:hover{background:url(../img/select-icons.png) 60% -170px no-repeat;}
.sbToggleOpen{background:url(../img/select-icons.png) 60% -20px no-repeat;}
.sbToggleOpen:hover{background:url(../img/select-icons.png) 60% -70px no-repeat;}
.sbHolderDisabled{background-color:#3C3C3C;border:solid 1px #515151;}
.sbOptions{background-color:#643433;list-style:none;left:-1px;position:absolute;top:25px;width:100%;z-index:1;overflow-y:auto;margin:0;padding:0;border: 1px solid #643433; box-shadow: 0 0 5px #000000;}
.sbOptions li{padding:0 7px;}
.sbOptions a{display:block;outline:none;padding:7px 0 7px 3px;}
.sbOptions a:link,.sbOptions a:visited{color:#FFFFFF;text-decoration:none;}
.sbOptions a:hover,.sbOptions a:focus,.sbOptions a.sbFocus{color:#FFFFFF;}
.sbOptions li.last a{border-bottom:none;}
.sbOptions .sbDisabled{color:#999;display:block;padding:7px 0 7px 3px;}
.sbOptions .sbGroup{color:#EBB52D;display:block;font-weight:700;padding:7px 0 7px 3px;}
.sbOptions .sbSub{padding-left:17px;}


/* Search */
.tx-indexedsearch-res-item {border-bottom: 1px solid #CCC; padding: 1em 0;}
.tx-indexedsearch-res h3{font-size: 16px;}
.tx-indexedsearch-descr {font-size: 13px;}
.browsebox {padding:0;}




/* GrundrissEG */
#GrundrissEG {background: url(/fileadmin/Inhalte/Downloads/Palladium_EG-Grundplan_mit_Massen_complete.png) no-repeat 0 0; width: 660px; height: 619px; position: relative;}
#grundrissogeg1 {top: 484px; left: 174px; width:427px; height: 145px; position: absolute;}
#grundrissogeg1:hover {background: url(/fileadmin/Inhalte/Downloads/Palladium_EG-Grundplan_mit_Massen_detail001.png) no-repeat 0 0;}
#grundrissogeg2 {top: 252px; left: 34px; width:567px; height: 252px; position: absolute;}
#grundrissogeg2:hover {background: url(/fileadmin/Inhalte/Downloads/Palladium_EG-Grundplan_mit_Massen_detail002.png) no-repeat 0 0;}
#grundrissogeg3 {top: -10px; left: 24px; width:376px; height: 250px; position: absolute;}
#grundrissogeg3:hover {background: url(/fileadmin/Inhalte/Downloads/Palladium_EG-Grundplan_mit_Massen_detail003.png) no-repeat 0 0;}

#GrundrissOG {background: url(/fileadmin/Inhalte/Downloads/Palladium_OG-Grundplan_-mit_Massen_complete.png) no-repeat 0 0; width: 660px; height: 336px; position: relative;}
#grundrissog {top: 22px; left: 200px; width:429px; height: 268px; position: absolute;}
#grundrissog:hover {background: url(/fileadmin/Inhalte/Downloads/Palladium_OG-Grundplan_-mit_Massen_detail001.png) no-repeat 0 0;}

/* ==========================================================================
   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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media screen and (max-width: 480px) {
	body {width: 100%; margin: 0 auto;}
	#page {width: 100%; margin: 0 auto;}
	article {width: 90%; clear: both; float: none; padding: 0 5%;}
	aside {width:100%; clear: both; float: none;}
	#page-header nav li {padding: 10px 0;}
	#navigation-main li a {font-size: 10px; padding: 0 5px 0 0; margin: 0 0 0 5px;}
	.right {float:right;}
	section.homepage article {width: 90%; clear: both; float: none; padding: 0 5%;}
	section.defaultpage article {width: 90%; clear: both; float: none; padding: 0 5%;}
	.rslides-caption {position: absolute; color: #ffffff; text-shadow: 1px 1px #000000; font-size: 16px; margin: 5px;}
	.smallSlider .rslides-caption {font-size: 15px;}

	#navigation-main {display:none; position: absolute; background: #643332 url(../img/background-subnavigation.png) repeat-x 0 0; width:92%;}
	#page-header #navigation-main li {float:none; padding: 10px 0;}
	#navigation-main li a {display: block;font-size: 13px;padding: 10px;}
	#navigation-main ul li ul {display: block;}
	#shownavigation {display:block;}

}


@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;
    }
}
