/**
* LAYOUT-DEFINITIONEN
*
* Strukturierung der Website und Ausrichtung der Elemente
* sowie Definition von Website-spezifischen Contentelementen
*
* @copyright       Copyright 20012-2013, .hausformat
* @link            http://www.hausformat.com
*/

@media screen, projection {

    .hf-margin-bottom-0 {
        margin-bottom: 0 !important;
    }

    .hf-margin-top-0 {
        margin-top: 0 !important;
    }

    /*-------------------------------------------------------------------------*/
    /* Layout-Ausrichtung */

    body {
        overflow-y: scroll;
        background: #F7F7F7;
    }

    .ym-wrapper {
        max-width: 960px;
        margin: 0 auto;
        /* background: transparent url(../../_temp_/12er-grid.png) repeat-y 0 0; */
    }

    /* maincontent */
    .ym-col1 {
        width: 66.6666%;
        float: left;
    }

    /* subnavigation */
    .ym-col3 {
        margin: 0 0 0 66.6666%;
    }

    /*-------------------------------------------------------------------------*/
    /* Spaltenabstand */

    .csc-default,
    .csc-frame,
    .frame-default {
        margin-left: 10px;
        margin-right: 10px;
    }

    .ym-grid,
    .ce-wrapper,
    .csc-shortcut > .csc-default > .csc-default,
    .csc-shortcut > .csc-frame > .csc-default,
    .csc-shortcut > .csc-default > .csc-frame,
    .csc-shortcut > .csc-frame > .csc-frame {
        margin-left: 0;
        margin-right: 0;
    }

    hr,
    .ym-grid.ce-frame-rulerAfter > hr,
    .ym-grid.ce-frame-rulerBefore > hr,
    .frame-default.ce-frame-rulerAfter + hr,
    .frame-default.ce-frame-rulerBefore + hr {
        margin-left: 10px;
        margin-right: 10px;
    }


    /*-------------------------------------------------------------------------*/
    /* Definitionen der Basis Blocks */

    /* Siteheader */
    #siteheader {
        width: 100%;
        position: fixed;
        z-index: 100;
        background: #FFF;
        -webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.1);
    }

    #siteheader > .ym-wrapper {
        position: relative;
    }

    /* Logo */
    #logo {
        max-width: 202px;
        margin: 50px 10px 10px;
        display: inline-block;
        float: left;
    }

    #logo a {
        border-bottom: none;
    }

    #logo img {
        display: inline-block;
        margin-bottom: 0;
    }

    /* Mainnav */
    #mainnav {
        margin: 51px 0 0 10px;
        display: inline-block;
        float: right;
    }

    #sitecontent {
        padding-top: 93px;
    }

    /* Main */
    #main {
        min-height: 400px;
        margin: 50px 0 60px;
    }

    .headercontent-item {
        background-color: #b8c200; /*BRANDCOLOR*/
    }

    /* Slider-Wrapper */
    #slider-wrapper,
    #headerimage-wrapper {
        max-width: 1200px;
        margin: 0 auto;
    }

    #headerimage {
        background-repeat: no-repeat;
        background-position: center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }




    /*-------------------------------------------------------------------------*/
    /* Sitefooter */

    #sitefooter {
        background: #FFF;
        border-top: 10px solid #DDD;
    }

    #sitefooter #footercontent {
        padding: 30px 0;
        border-top: 1px #E3E3E3 solid;
    }

    #sitefooter #legals {
        padding: 10px 0;
        background: #EEE;
        overflow: hidden;
    }

    #sitefooter #legals #copyright {
        margin-left: 10px;
        float: left;
    }

    #sitefooter #legals #metanav {
        margin-right: 10px;
        float: right;
    }

    /* Absicherung korrekte Positionierung */
    #main,
    #siteheader,
    #sitefooter {
        clear: both;
    }


    /*-------------------------------------------------------------------------*/
    /* Spezialtemplates (hometemplate, etc.) */


    /*-------------------------------------------------------------------------*/
    /* Diverse Anpassungen */

    /* desktop & mobile Klassen */
    .desktop-only,
    .csc-layout-2 {
        display: block;
    }

    .mobile-only,
    .csc-layout-1 {
        display: none;
    }


    /* Überblendung zwischen den Stati (:hover) */
    a,
    #mainnav ul li {
        -webkit-transition: all 100ms ease-in-out;
        -moz-transition: all 100ms ease-in-out;
        -o-transition: all 100ms ease-in-out;
        transition: all 100ms ease-in-out;
    }


    /*-------------------------------------------------------------------------*/
    /* Devnote */

    #devnote {
        border-radius: 0;
        font-size: 12px;
        margin: 30px 10px 0;
    }


    /*-------------------------------------------------------------------------*/
    /* Agencie links */

    #agencies a {
        margin: 0;
        width: 5px;
        right: 5px;
        z-index: 10;
        position: fixed;
        text-indent: -999em;
    }

    #agencies a.hausformat {
        height: 53px;
        bottom: 5px;
        background: transparent url(/fileadmin/config_default/010-templates/gui/hausformat-black.png) no-repeat 0 0;
    }

}

/* reset fallback values in modern browsers (YAML Einstellung in scree-PAGE-layout.css) */
@media screen and (min-width: 0px) {
  .ym-wrapper {
    min-width: 0px;
  }
}
