/*
BASE (MOBILE) SIZE
        These are the mobile styles. It's what people see on their phones.
        Remember, keep it light: Speed is Important.
*/

/* typography */
body{
    color:#333;
    /*font-family:'Open Sans', Arial, Helvetica, sans-serif;*/
    font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
    font-size:1em;
    line-height:1.5em; 
    font-weight:normal;
    background-color: #fff;
}
h1, h2, h3, h4, h5, h6{
    font-weight:normal;
    line-height:1.5em;
    /*color: #861507;*/
    color: #cc3333;
    margin:.45em 0;
    padding:0;
} 

/* Rahmen um Grid in TinyMCE */
.mce-content-body  [class*="grid_"],
.cke_editable  [class*="grid_"]
{ 
    border: 1px dotted #ccc;
}

/* links */
a {
    /*color: #861507;*/
    color: #4169e1;
    text-decoration:none;
}
a:visited,
a:active,
a:hover,
a:hover{ text-decoration:none;}

#content {
    font-size: 1.2em;
}

#content h1 {
    font-family: 'Just Another Hand', Arial, Helvetica, sans-serif;
    font-size: 48px;
    line-height: 48px;
}

#content a {
    font-weight:bold;
}

#mobilehero h1{
    font-size: 1.5em;
    line-height: 1em;
    text-align: center;
    font-weight: bold;
    padding: 0 10px 0 10px;
}

/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
   -moz-box-sizing:border-box;}


/* structure */   

#wrap {
    margin: 0;
    padding: 0;
    position: relative;
}
#decor {
    position: relative; 
}

#cntholder {
        position: relative;
        padding:15px;
}
#nbox1 {
    position: relative; 
    width: 100%;
    background-color: #17b8ee;
    color: #000;
    padding: 15px;
}
#nbox2 {
    position: relative; 
    width: 100%;
    background-color: #b7312e;
    color: #fff;
    padding: 15px;
}


#search {
    text-align: center;
    padding: 20px 0;
    float: none;
    margin: 0 auto;
}
#search input.text {
    vertical-align: bottom;
    width: 10em;
    height: 1.8em;
    margin: auto 0;
    border: 1px solid #666;
}
#search input.submit {
    color: #fff;
    background-color: #808080;
    border: 1px solid #666;
    height: 1.4em;
}

p{ margin: 0 0 1.5em;}


/* RESPONSIVE IMAGES */
img {
    max-width: 100%; 
    height: auto;
    vertical-align: middle;
}

img.bild-links {
    clear: left;
    float: left;
    margin: .4em 1em .4em 0;
    text-align: left;
}

img.bild-rechts {
    clear: right;
    float: right;
    margin: .4em 0 .4em 1em;
    text-align: right;
}

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

#nav {
    font-size: 1.5em;
    line-height: 2em;
    background-color: #86d5ef;
    margin: 0px -15px 15px -15px;
}

.menutoggle {
    font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
    display: block;
    background-color: #17b8ee;
    color: #000;
    text-align: center;
    padding: 5px;
    margin-top: -15px;
}

#nav ul {
    list-style: none;
    margin: 0;
}
ul.menulevel1 {
    padding-left: 0px;
}
ul.menulevel2,
ul.menulevel3 {
    padding-left: 0px;
}
.doc, .docs, .sdoc, .sdocs {

}
ul.menulevel1>li {
    border-bottom: 1px solid #fff;
}
#nav span {
    display: block;
}
#nav span.login {
    display: none;
}
ul.menulevel1 a, ul.menulevel1 span {
    padding-left: 10px;
}
ul.menulevel2 a, ul.menulevel2 span {
    padding-left: 30px;
}
ul.menulevel3 a, ul.menulevel3 span {
    padding-left: 50px;
}
.doc a, .docs a, .sdoc a, .sdocs a {
    color: #cc3333;
    display: block;
    /*color: #861507;*/
}
ul.menulevel1 {
    display: none;
}
#nav:hover ul.menulevel1 {
    display: block;
}

#scrollUp {
        background-image: url("images/top.png");
        bottom: 20px;
        right: 20px;
        width: 38px;    /* Width of image */
        height: 38px;   /* Height of image */
    }
    
.tdatabox {
    background-color: #86d5ef;
    padding:15px;
    margin: -15px;
}


/*SECONDARY MENU*/


/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
    /*margin-bottom:40px;*/
    /*positioning and padding*/
    position: relative;
    min-height: 1px;
    /*padding-left: 15px;
    padding-right: 15px;*/
}

/*FOOTER*/


/*colors and backgrounds*/
body{
    background:#fff;
}
h1, h2, h3, h4, h5, h6{
    /*color: #861507;*/
}


/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
    content: " ";
    display: table;
}
.clearfix:after,
.container:after,
.row:after{
    clear: both;
}

/* core.css fix */
#xh_adminmenu,
#xh_adminmenu ul,
#xh_adminmenu li,
#xh_adminmenu a {
    box-sizing: content-box;
}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {

    .menu-toggle{/*make menu left/right, instead of sitting under the logo*/
        margin-top:10px; /*this depends on the height of the logo*/
        display:inline-block;
        /*float:right;*/
    }

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:) == 920
*/
@media only screen and (min-width: 768px) {
    
    body {
        background-image: url("images/clouds.jpg");
    }
    
    #wrap {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 875px;
    }
    #decor {
        position: absolute; 
        bottom: 0; 
        left: 0; 
        width: 100%;
        height: 129px;
        background-image: url("images/strasse.jpg");
    }
    
    #mobilehero {display: none;}
    
    #cntholder {
        position: absolute;
        padding:0;
        bottom: 0;
        width: 1107px;
        height: 875px;
        background-image: url("images/wagen.jpg");
        left:0;
        right:0;
        margin-left:auto;
        margin-right:auto;
    }
    #nav {
        font-family: 'Just Another Hand', Arial, Helvetica, sans-serif;
        font-size: 2em;
        line-height: 1.1em;
        position: absolute;
        bottom: 150px;
        left: 22px;
        width: 120px;
        height: 480px;
        overflow: hidden;
        background-color: transparent;
        margin: 0;
    }
    #nav ul {
        list-style: none;
        margin: 0;
    }
    ul.menulevel1 a, ul.menulevel1 span {
    padding-left: 0px;
    display: inline-block;
    }
    ul.menulevel2 a, ul.menulevel2 span {
    padding-left: 0px;
    display: inline-block;
    }
    ul.menulevel3 a, ul.menulevel3 span {
    padding-left: 0px;
    display: inline-block;
    }
    ul.menulevel1>li {
    border-bottom: 0 none;
    }
    #nav span.login {
        display: block;
        font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
        font-size: 0.4em;
        margin-top: 20px;
    }
    #content {
        position: absolute;
        bottom: 220px;
        left: 180px;
        width: 747px;
        height: 465px;
        background-color: #fff;
        overflow-y: auto;
        padding-right: 10px;
    }
    #nbox1, #nbox2 { display: none; }
    
    .tdatabox {
        margin: 0;
    }

    /*** MAIN MENU - ESSENTIAL STYLES ***/
    
    div.menutoggle{
        display: none;
    }
    ul.menulevel1 {
        display: block;
    }
    ul.menulevel1 {
        padding-left: 0px;
    }
    ul.menulevel2,
    ul.menulevel3 {
        padding-left: 10px;
    }
    .doc, .docs, .sdoc, .sdocs  {
        text-shadow: 3px 3px 10px #ccc;
    }
    .doc a, .docs a, .sdoc a, .sdocs a {
        color: #cc3333;
        /*color: #861507;*/
        text-shadow: 3px 3px 10px #ccc;
    }
   
    /*** DEMO1 SKIN ***/


    /*GRID*/
    /*
     & Columns : 12 
    
    */
    .row{
        margin-left: -15px;
        /*margin-right: -15px;*/
    }

    .grid_1 { width: 8.33333333%; }
    .grid_2 { width: 16.66666667%; }
    .grid_3 { width: 25%; }
    .grid_4 { width: 33.33333333%; }
    .grid_5 { width: 41.66666667%; }
    .grid_6 { width: 50%; }
    .grid_7 { width: 58.33333333%; }
    .grid_8 { width: 66.66666667%; }
    .grid_9 { width: 75%; }
    .grid_10 { width: 83.33333333%; }
    .grid_11 { width: 91.66666667%; }
    .grid_12 { width: 100%; }

    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11,
    .grid_12 {
        float: left;
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }

    .rightfloat{float:right;}
    /* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
    */

    #hero [class*="grid_"] { margin-bottom:-20px;}

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 


@media only screen and (min-width: 1200px) {

} 


/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 


}

/*
PRINT STYLESHEET
*/
@media print {
    * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
    a, a:visited { text-decoration: underline; }
    a[href]:after { content: " (" attr(href) ")"; }
    abbr[title]:after { content: " (" attr(title) ")"; }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
    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; }
}
.jobs {
    background-image: url("../../userfiles/images/jobs_ihrarbeitsplatz.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15px;
}

.blackrand { border: solid 1px black; border-collapse: collapse }