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

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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;
}

/*
 * 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
   ========================================================================== */

body{
    font-family: Helvetica, Arial;
    font-size: 16px;
    background-color: #000066;
    background-image: url("../img/bg_new4.png");
    background-repeat: repeat-x;
}

#wrapper{
    position: relative;
    width:1250px;
    min-width:1250px;
    padding: 0;
    margin:0 auto;
}

#header{
    min-height: 220px;
}

#island{
    position: absolute;
    top:24px;
    right:50px;
    width:418px;
    height:211px;
    background-image: url("../img/island_small.png");
    background-repeat: no-repeat;
}

#container {
    margin-top: 60px;
}

#content_container{
    position: relative;
    margin: 0;
    margin-right: 10px;
    float: left;
    width:620px;
    max-width:620px;
    color:#02237f;
    background-color: #ffffde;
    box-shadow: 0px 3px 10px #111;
}

#content_container #content h2{
    padding-top:15px;
    margin-bottom: -5px;
    padding-bottom: 0px;
    border-bottom: 1px dashed #AAA;
}

#ringbinder{
    position: absolute;
    width:620px;
    height: 45px;
    background-image: url("../img/ringbinder.png");
    top:-44px;
}

#nav {
    margin-top: -15px;
    float: left;
    list-style: none;
    position: relative;
    overflow: visible;
    width: 250px;
}

#nav li a{
    position: absolute;
    top:3px;
    left:0px;
    width:230px;
    display: block;
    text-decoration: none;
    color:white;
    font-size: 22px;
    text-align: right;
    padding: 15px 10px;
}

.arrow{
    display: block;
    width: 20px;
    height: 40px;
    background-image: url("../img/arrowsComb.png");
    background-repeat: no-repeat;
    position: absolute;
    left:252px;
    top:12px;
}

#nav li a:hover {
    display: pointer;
}

.nojs #nav li:hover {
    margin-left:-30px;
}


#nav li {
    width:250x;
    background-repeat: no-repeat;
    background-image: url("../img/schnipsel.png");
    position: relative;
}

#nav .active{
    margin-left: -30px;
    color: white !important;
}


#snpt1{
    background-position: 0% -10px;
    height: 69px;
}

#snpt2{
    background-position: -40px -471px;
    height:80px;
}

#snpt3{
    background-position: -40px -198px;
    height:75px;
}

#snpt4{
    background-position: 50px -282px;
    height:75px;
}

#snpt5{
    background-position: 0px -100px;
    height:79px;
}

#snpt6{
    background-position: -50px -374px;
    height:85px;
}

#sidebar{
    float:right;
    color:white;
    width:280px;
    margin-right: 40px;
    margin-top: -45px;
}

#sidebar h2{
    font-weight: normal;
    text-align: center;
    font-size: 22px;
    margin-top: 0;
}

#sidebar h3{
    font-weight: normal;
    font-size: 18px;
    padding-bottom: 0;
    margin-bottom: -12px;
    border-bottom: 1px dashed #AAA;
}

#sidebar .button{
    color: #01a9d7;
}

#sidebar a{
    color:white;
}

#sidebar #opening_times{
    position: relative;
    background-image: url("../img/box_green_mid.png");
    background-repeat: repeat-y; 
    padding: 2px 22px 8px 20px;
}

#opening_times_top, #opening_times_bottom, #contact_top, #contact_bottom{
    position: absolute;
    width: 100%;
    height: 26px;
    left:0;
    background-repeat: no-repeat;
}

#opening_times_top{
    top:-26px;
    background-image: url("../img/box_green_top.png");
}

#opening_times_bottom{
    background-image: url("../img/box_green_bot.png");
    height: 54px;
    bottom:-54px;
}

#contact_top{
    background-image: url("../img/box_blue_top.png");
    height: 49px;
    top:-49px;
}

#contact_bottom{
    background-image: url("../img/box_blue_bot.png");
    bottom:-26px;
}

#sidebar #contact{
    position: relative;
    background-image: url("../img/box_blue_mid.png");
    background-repeat: repeat-y; 
    
    padding: 2px 22px 8px 20px;
    margin-top: 110px;
}

#opening_times table th {
    background-color: #54793f;
    padding:2px 5px;
    width:25px;
}

#opening_times table td {
    width:100px;
    padding: 2px 5px;
    text-align: center;
}

#opening_times table tr {
    border-bottom: 3px solid #2ba91d;
    background-color: #6bb353;
}

#contact #telefonlist{
    margin: 20px 0;
}

#telefonlist tr{
    border-bottom: 2px solid #01a9d7;
    background-color: rgba(255, 255,255, 0.2);
    
}

#telefonlist th{
    font-weight: normal;
    padding: 2px 5px;
}

#telefonlist td{
    text-align: left;
    padding-left:10px;
    width:100%;
}

#logo{
    margin-top: 50px;
    margin-left: 90px;
    width:512px;
    height:127px;
    text-indent: -9999px;
    background-image: url("../img/logo.png");
}

#impressumTable tr{
    border-bottom: 1px solid #CCC;
    padding: 8px;
    margin-bottom: 20px;
}

a,
a:visited {
        text-decoration: none !important;
}

.button {
    font-weight: bold;
    display: block;
    background-color: white;
    color: black;
    border-radius: 10px;
    border:2px solid white;
    padding: 4px 8px;
    text-align:center;
    margin:5px;
    opacity: 1;
}

.button:hover {
    opacity: 0.7;
    display: pointer;
}

.button:active {

}

#content {
    padding:20px;
    padding-top: 0;
    width:580px;
    max-width:580px;
    min-height: 500px;
}

#content li ul{
    margin-top: 0;
    padding-left: 14px;
}

#content p{
    line-height: 1.4em;
    text-align: justify;
}

#content a{
    color:blue;
}

#content a:hover {
    text-decoration: underline;
    color: #333;
}

.callToAction {
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    border: 1px solid #333;
    background: #E2C966;
    color: black !important;
    width:180px;
    text-align: center;
}

#map{
    margin: 0 auto;
    margin-top: 20px;
    padding:5px;
    border:1px solid #02237f;
}

#impressum {
    position: absolute;
    right:45px;
    bottom:10px;
    display: block;
    text-align: center;
    width:100px;
    background: #AD7E24;
    border-radius: 5px;
    padding: 5px 10px;
    border: 1px solid #5D4839;
}

#impressum:hover{
    background: #5D4839;
    color: #D69C32;
}

#newsliste{
    list-style: none;
    margin: 0;
    padding: 0;
}

#newsliste p {
    margin: 6px;
    color: #232323 !important;
}

#newsliste h3{
    background: #3255B4;
    color: white;
    position: absolute;
    top: -40px;
    font-size: 18px;
    left:-1px;
    width: 560px;
    padding: 5px;
    padding-left:15px;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #02237F;
}

#newsliste li {
    padding: 15px 10px;
    background-color: white;
    margin-bottom: 50px;
    margin-top: 50px;
    position: relative;
    border:1px solid #999;
}

#newsliste .datum{
    position: absolute;
    background-color: white;
    top: -28px;
    right: -10px;
    padding: 2px 4px;
    border: 1px solid #666;
    border-radius: 4px;
}

#rezeptbestellung {
    padding-top: 20px;
    width: 400px;
    display: block;
    margin: auto;
}

#rezeptbestellung p label {
    display: block;
    width: 380px;
    border-bottom: 1px solid #CCC;
    line-height: 30px;
}

#rezeptbestellung input, #rezeptbestellung textarea {
    float: right;
    font-size: 14px;
    border: 1px solid #AAA;
    box-shadow: none;
    font-size: 16px;
    color:#02237f;
    padding: 2px 4px;
}

#rezeptbestellung textarea{
    width: 370px;
    min-width: 372px;
    max-width: 372x;
    margin: 8px 0;

    height: 60px;
}

#rezeptbestellung #submit{
    margin-bottom: 20px;
    margin-right: 20px;
    color:#02237f;
    color:white;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #999;
    background: #333;
    font-size: 15px;
    font-style: Helvetica, Arial;
}

#rezeptbestellung #submit:hover{
    border: 1px solid #999;
    background: #02237f;
}

#wrapper-footer{
    width:100%;
    min-width: 1250px;
    clear:both;
    height: 270px;
    margin-top: 70px;
    margin-bottom: 0px;
    background-image: url("../img/sandboden.png"); 
    background-repeat: x-repeat;
    background-position:center; 
}

#footer{
    position: relative;
    text-align: center;
    color: white;
    width:1200px;  
    margin: 0 auto;
    margin-top: 217px;
}

#footer a{
    color:#5D4839;
}

#team ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#team ul li{
    margin: 0;
    padding: 10px 0;
    position: relative;
}

#team ul li img{
    width: 121px;
    border: 1px solid #999;
    z-index: -1;
}

#team ul li dl{
    position: absolute;
    top:30px;
    left:122px;
    margin: 0;
    padding: 0;
}

#team ul li dt{
    background: #3255B4;
    color: white;
    font-size: 18px;
    padding: 5px 10px;
    margin: 0;
}

#team ul li dd{
    background: white;
    color:#232323;
    margin:0;
    padding: 4px 10px;
    border:1px solid #999;
}

.picture {
    width: 121px;
    height: 180px;
    position: relative;
}

.picture img{
     border-radius: 5px;
}

.pictureframe{
    position: absolute;
    top:0;
    left:0;
    width: 121px;
    height: 180px;
    background-image: url("../img/frame.png"); 
    z-index:2;
}

#praxisbilder img {
    width:178px;
    margin:5px;
    border: 1px solid #999;
    border-radius: 5px;
}

#praxisbilder img:hover{
    opacity: 0.7;
    border: 1px solid #AAA;
} 

#informer h2{
    color: white;
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-align: center;
}

#informer{
    margin-top: 30px;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 20px 0;
}

.success{
    background: #7CDB3D;
    border: 1px solid #60AD2D;
}

.error{
    background: #FF614E;
    border: 1px solid #B24132;
}

.first_time{
    display: none;
}

/* ==========================================================================
   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: 100%;
}

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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: none !important;
    }

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