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

* {
    margin:0px;
    padding: 0px;
}

body,html {
    background: url(img/background.png) repeat-x scroll 0 0 #009a3d;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    font-size: 12px;
}

h1 {
    color:#009a3d;
    font-size: 24px;
    font-weight: normal;  
}

h1.start_headline {
    font-family: 'Qwigley', cursive;
    color:#009a3d;
    font-size: 45px;
    font-weight: normal;
    margin:0px 0px -15px 0px;  
}

h2 {
    color:#009a3d;
    font-size: 14px;
    font-weight: normal;
    margin-top:35px; 
}

h3 {
    color:#009a3d;
    font-size: 14px;
    font-weight: normal;
    margin-top:25px; 
}

.fett {
	font-weight: bold;
	color: #009a3c;
}

a:link, a:visited, a:active, a:focus  { 
    text-decoration:none;  
    color:#028F35; 
    border-bottom: none;
}

a:hover { 
    text-decoration:none;  
    color:#666;
    border-bottom: none;
    text-decoration: underline;
}

.root {
    width: 940px;
    margin: 0px auto;
    padding:15px 10px 0px;
}

header {
    height: 90px;
    margin-bottom:25px;
}
        
    .logo {
        float:left;
        margin-right:105px;
    } 
        
    .adressbox {
        float:left;
        width:185px;
        padding-left:50px;
        padding-right:10px;
    }

    .adressbox p {
        color: #999;
        font-size: 11px;
        line-height: 16px;
        text-align: right;
    }

.navigation {
    width: 707px;
    margin-bottom:4px;
    padding-left:260px; 
    height: 30px;
}

.nav {
    font-size: 14px;
    text-transform: none;  
    position:relative;
    padding:0px;
    margin:0px;
}

    /* mainlevel navigation */

    .nav li {
        float: left;
        position: relative;
        list-style: none;
        border-right: 1px solid #D4D5D4;
        padding: 2px 10px;
        display: block;
        height: 20px; 
    }

    .nav li:last-child {
        border-right:0;
    }

    .nav li a, .nav li a:hover {
        color: #009a3c;
        text-decoration: none;
    }

    .nav li a:hover {
        color: #999;
    }

    /* sublevel navigation*/

    .nav li:hover > ul {
        display: block;
    }

    .nav li ul {
        display: none;
        width: 140px;
        position: absolute;
        top: 0px;
        padding:33px 0px 0px 0px;
        left: 0;
        margin:0px;
        z-index: 1000;
    }

    .smaller {
        width:105px !important;
    }
    .taller {
        width:140px !important;
    }

    .nav li ul li {
        padding:5px;
        margin:1px;
        background: #D4EEDE;
        float: none;
        font-size:12px;
        text-transform: none;
        border:none;
    }

    .nav li ul li a {
        color:#999;
    }

    .nav li ul li a:hover {
        color: #009a3c!important;
    }

    .startseite .nav-start a,
    .ueberuns .nav-ueberuns a,
    .definition .nav-definition a,
    .ergotherapie .nav-ergotherapie a,
    .paediatrie .nav-leistungen > a,
    .neurologie .nav-leistungen > a,
    .orthopaedie .nav-leistungen > a,
    .geriatrie .nav-leistungen > a,
    .psychiatrie .nav-leistungen > a,
    .interx .nav-therapieangebot > a,
    .elterntraining .nav-therapieangebot > a,
    .tapen .nav-therapieangebot > a,
    .hirnleistungstraining .nav-therapieangebot > a,
    .konzentrationstraining .nav-therapieangebot > a,
    .bobath .nav-therapieangebot > a,
    .handtherapie .nav-therapieangebot > a,
    .castillo-morales .nav-therapieangebot > a,
    .avws .nav-therapieangebot > a,
    .leserechtschreib .nav-therapieangebot > a,
    .rechenstoerung .nav-therapieangebot > a,
    .kaycoombes .nav-therapieangebot > a,
    .sensomotorisch .nav-therapieangebot > a,
    .kontakt .nav-kontakt a,
    .links .nav-links a {
        color:#dd1405 !important;
    }
    
    .active .smaller a {
        color:#999 !important;
    }
  
    .active .taller a {
        color:#999 !important;
    }    

/*Startseiten 2 - Navigation*/
.startsubnav {
position: relative; top:-30px; left:50px; font-size: 16px; text-transform: uppercase;
}

.startsubnav2 {
position: relative; top:-100px; left:-20px; font-size: 16px; text-transform: uppercase;
}

.startsubnav3 {
position: relative; top:-90px; left:0px; font-size: 16px; text-transform: uppercase;
}

.content-wrapper {
    background: #fff;
    box-shadow: 0 0 5px #a2a5a3;
}

    .article-wrapper {
        width:880px;
        padding:30px;
    }

    .article-image-subpage {
        background: #fff url(img/background-subpage.png) bottom center repeat-x;
        padding-bottom:100px;
    }

    .up {
        margin-top:40px;
    }

    article.start {
        background: url(img/background-start.jpg) no-repeat;
        height: 399px;
        position: relative; 
    }

        article.start .left, article.start .right {
            /*background: url(img/background-kreis.png) no-repeat;*/
            float:left;
            height: 300px;
            width: 300px;
            margin:30px 20px;
            position: relative; 
        }

        article.start .left {
            margin-right:200px;
        }

        article.start .left p, article.start .right p {
            position: absolute;
            top:100px;
            left:50px;
            font-size: 22px;
            text-transform: uppercase;
            text-align: center;
        }

        article.start .left p a, article.start .right p a {
             text-shadow: 1px 1px 2px #999;
        }

        article.start .left p a:hover, article.start .right p a:hover {
             text-decoration: none;
        }

    aside {
        padding-left:33px;
        padding-right:63px;
        width:200px;
        float:left;
    }
        aside img{
            margin-top:23px;
        }

        aside ul {
            text-align: right;
            list-style-image: none;
            list-style-type: none;
            padding: 0px;
            margin-top:35px;
         }

            aside ul li {
                border-bottom:1px solid #D4D5D4;
                padding:4px 0px;
                width:145px;
                margin-right:55px;

        }  

            aside ul li a {
                color: #999 !important;

            } 

            aside ul li a:hover {
                color: #009a3d !important;
                text-decoration: none;
            } 

            .active_subpage a {
                color:  #009a3d !important;
         }          

    article.content {
        width:500px;
        float:left;
        padding-right:80px;
    }

        article.content ul {
            list-style-image: none;
            list-style-type: square;
            padding-left: 15px;
            color:#009a3d;
         }

        article.content ul li {
            padding:2px 0px;
        }

        article.content ul li span {
            color:#333;
        }  
  

    .content-box {
        width:880px;
        background: #D4EEDE;
        height:105px;
        padding:35px 30px 25px;
        color: #666;
        font-size:11px; 
    }

        .content-box p {
            margin-top:0px;
        }

        .content-box h2 {
            margin: -28px 0px 0px -10px;
            color: #009A3C;
            font-weight: normal;
            text-transform: uppercase;
        }

        .content-box h3 {
            margin: 10px 0px 0px 0px;
            font-weight: bold;
            font-size:11px;
        }

        .content-box ul {
            margin-top: 10px;
            padding:0px;
            list-style: none;
            list-style-image: none;
        }

            .content-box ul li {
                display: block;
                margin-top:5px;
            }

            .content-box ul li span {
                font-weight: bold;
            }

            .content-box .newsbox, .content-box .entertainmentbox {
                width:390px;
                color:#666666; 
                float:left;
                height:85px;
                padding: 10px;
            }

            .content-box .entertainmentbox {
                margin-left:60px;
            }

.contact-form .url {
    display: none !important;
}

/* NEWS und Veranstaltungen */

article.content .news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #333;
}
article.content .news-list li {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.news-title {
    margin-top: 5px;
    margin-bottom: 8px;
}
.news-content {
    margin-bottom: 20px;
}

footer {
    width: 940px;
    margin: 0px auto;
    font-size: 12px;
    color:#fff;
    height:30px;
    text-align: right;
}

    footer a {
        color: #fff !important;
    }

    footer a:hover {
        text-decoration: underline;
    }


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


/* Formular */
form{width:500px; margin:5px 5px 5px 0; padding:0;}

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

legend{display:none;}

label{display:block; color:#aaa;}

input, textarea{font-family:"Mako", Helvetica, sans-serif; font-size:0.9em; color:#9b9b9b; font-style: italic;}

input.text{width:380px; border:1px solid #a1a1a1; border-color:#a1a1a1 #ededed #ededed #a1a1a1; margin:2px 0 5px 0; padding:2px 2px 2px 5px; height:25px;}

textarea.message{width:380px; border:1px solid #a1a1a1; border-color:#a1a1a1 #ededed #ededed #a1a1a1; margin:2px 0 5px 0; padding:2px 2px 2px 5px; height:100px;}

input.submit{cursor:pointer; width:106px; font-size:0.9em; font-style: normal; border:1px solid #ededed; border-color:#ededed #a1a1a1 #a1a1a1 #ededed; height:21px;background:#f7f7f7; margin-top: 15px;}


/* Tabelle */
.adresse {
	padding:0;
	width:100%;
	margin:0;
}	

.adresse td {
	padding-top:20px;
	vertical-align: bottom;
}

/* Praxisbilder */
.rundgang{
	float:left;
	margin-right:10px;
	margin-bottom:10px;
}
