/**
  Theme Name: Inproma Blank
  Theme URI: http://inproma.de
  Version: 1.0
  Author: Matthias Wehrlein, Inproma GmbH
  Author URI: http://inproma.de
  Tags: blank-slate, blank, valid XHTML, valid CSS, one column, 1 column, sidebar

  Description: A theme created with developers in mind which should enable rapid WP reskinning. The CSS is minimal but consistent cross-browser, there are a couple of SEO tweaks and the page navigation works sensibly but can modified easily.

  The CSS that follows is what I feel is the bare minimum of styling for a two column, fixed width and centred layout that should be
  consistent in 'modern browsers'
*/

/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/open-sans/open-sans-v18-latin-300.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Light'), local('OpenSans-Light'),
            url('fonts/open-sans/open-sans-v18-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-300.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Regular'), local('OpenSans-Regular'),
            url('fonts/open-sans/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-300italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/open-sans/open-sans-v18-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
            url('fonts/open-sans/open-sans-v18-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-300italic.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/open-sans/open-sans-v18-latin-italic.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Italic'), local('OpenSans-Italic'),
            url('fonts/open-sans/open-sans-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans/open-sans-v18-latin-600.eot'); /* IE9 Compat Modes */
    src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
            url('fonts/open-sans/open-sans-v18-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-600.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/open-sans/open-sans-v18-latin-600italic.eot'); /* IE9 Compat Modes */
    src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
            url('fonts/open-sans/open-sans-v18-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-600italic.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/open-sans/open-sans-v18-latin-700.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Bold'), local('OpenSans-Bold'),
            url('fonts/open-sans/open-sans-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-700.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/open-sans/open-sans-v18-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
            url('fonts/open-sans/open-sans-v18-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-700italic.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/open-sans/open-sans-v18-latin-800.eot'); /* IE9 Compat Modes */
    src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
            url('fonts/open-sans/open-sans-v18-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-800.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/open-sans/open-sans-v18-latin-800italic.eot'); /* IE9 Compat Modes */
    src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'),
            url('fonts/open-sans/open-sans-v18-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('fonts/open-sans/open-sans-v18-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-800italic.woff') format('woff'), /* Modern Browsers */
            url('fonts/open-sans/open-sans-v18-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('fonts/open-sans/open-sans-v18-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

* { border: none; margin: 0; padding: 0; }

*, *:before, *:after { box-sizing: border-box; }

@-ms-viewport {
    width: device-width;
}

html
{

}

.clearfix:after
{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


body
{
    background: #faf6ee;
    font: 400 16px/1.5 'Open Sans', Helvetica, Arial, sans-serif;
}

#page
{
    background: #fff;
    margin: 0 auto;
    max-width: 1100px;
    position: relative;
}

#header
{
    background: #faf6ee;
    padding: 15px;
    position: relative;
}

#home-link
{
    display: block;
    /*margin: 0 auto 30px auto;*/
    margin: 0;
    max-width: 230px;
    /*width: 50%;*/
}

#home-link img
{
    height: auto;
    width: 100%;
}

#nav-toggle
{
    border-top: 4px solid #814155;
    display: block;
    height: 20px;
    position: absolute;
    right: 15px;
    text-indent: -999em;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
}

#nav-toggle::before,
#nav-toggle::after
{
    border-top: 4px solid #814155;
    content: '';
    left: 0;
    position: absolute;
    width: 100%;
}

#nav-toggle::before
{
    top: 4px;
}

#nav-toggle::after
{
    bottom: 0;
}

.sub-nav-toggle
{
    cursor: pointer;
    display: block;
    height: 48px;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
}

.sub-nav-toggle::after
{
    border-color: #814155 transparent transparent transparent;
    border-style: solid;
    border-width: 12px 8px 0 8px;
    content: '';
    height: 0;
    left: 50%;
    margin: -6px 0 0 -8px;
    position: absolute;
    top: 50%;
    width: 0;
}

.open > .sub-nav-toggle::after
{
    border-color: transparent transparent #814155 transparent;
    border-width: 0 8px 12px 8px;
}

#navigation
{
    background: #a09693;
    font-weight: normal;
    display: none;
    left: 0;
    list-style: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
}

#navigation li.level-1
{
    position: relative;
    text-transform: lowercase;
}

#navigation li.level-1 > a
{
    border-bottom: 1px solid #eee;
    color: #fff;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}

#navigation li.level-1.has-subs > a
{
    padding-right: 50px;
}

#navigation li.level-1:last-child > a
{
    border-bottom: none;
}

#navigation li.level-1.current > a,
#navigation li.level-1 > a:hover
{
    color: #814155;
}

#navigation li.level-1 ul.level-2
{
    background: #edeceb;
    color: #887c77;
    display: none;
    padding: 10px 0;
}

#navigation li.level-2
{
    font-size: 14px;
    text-transform: none;
}

#navigation li.level-2 a
{
    color: #887c77;
    display: block;
    padding: 10px 40px;
    text-decoration: none;
}

#navigation li.level-2.current a,
#navigation li.level-2 a:hover
{
    color: #814155;
}

#navigation li.level-1 ul.level-3
{
	margin-left: 17px;
}


#mobile-image
{
    border-top: 1px solid #fff;
    display: block;
    height: auto;
    width: 100%;
}


#sidebar
{
    display: none;
    
    border: 4px solid #faf6ee;
    border-top: none;
    max-width: 320px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 110;
}

#page-home #sidebar {
    border: 4px solid #fff;
}

.sidebar-image
{
    height: auto;
    width: 100%;
}

#sidebar-content
{
    height: 355px;
    left: 20px;
    position: absolute;
    top: 15px;
    width: 215px;
    z-index: 200;
}

#sidebar-appointment-list
{
    font-size: 12px;
    list-style: none;
}

#sidebar-appointment-list li
{
    border-bottom: 1px solid #DDD;
    margin: 0 0 10px 0;
    padding: 0 15px 8px 0;
}

#sidebar-appointment-list li.closed
{
    background: url(img/disc-arrow-left.png) no-repeat right top;
}

#sidebar-appointment-list li.open
{
    background: url(img/disc-arrow-down.png) no-repeat right top;
}

#sidebar-appointment-list li h2
{
    color: #814155;
    display: block;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
    padding: 3px 15px 0 0;
    text-decoration: none;
}

#sidebar-appointment-list li a.title:hover
{
    color: #000;
}

#sidebar-appointment-list li a.more-link
{
    color: #814155;
    text-decoration: none;
}

#sidebar-appointment-list li a.title span.post-meta
{
    color: #AAA;
    display: block;
    font-size: 11px;
    font-weight: normal;
}

#sidebar-appointment-list li a.title:hover span.post-meta
{
    color: #000;
}

#sidebar-appointment-list li .excerpt
{
    line-height: 1.3;
    padding: 5px 0 0 0;
}

#scroll-up-arrow,
#scroll-down-arrow
{
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    height: 20px;
    position: absolute;
    width: 21px;
}

#scroll-up-arrow
{
    background-image: url(img/scroll-up-arrow.png);
}

#scroll-down-arrow
{
    background-image: url(img/scroll-down-arrow.png);
}

#content
{
    background: #fff;
    color: #707173;
    overflow: auto;
    padding: 20px;
}

#footer
{
    background: #f1ece9;
    clear: both;
    color: #887c77;
    font-size: 15px;
    padding: 30px 20px 25px 20px;
    text-align: center;
}

#footer p
{
    margin: 0 0 5px 0;
    line-height: 1.3;
}

#footer a
{
    color: #887c77;
}

#content > :last-child {
    margin-bottom: 0;
}

#content h1
{
    color: #814155;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 30px;
    text-transform: uppercase;
}

#content h2
{
    color: #814155;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

#content :not(h1) + h2:not([style]) {
    margin-top: 60px;
}

#content h3
{
    color: #814155;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    text-transform: uppercase;
}

#content h1#post-title
{
    margin-bottom: 0;
}

#content #post-meta
{
    color: #AAA;
    font-size: 10px;
    margin-bottom: 20px;
}

#content p
{
    margin: 0 0 30px 0;
}

#content hr
{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #DDD;
    margin: 40px 0;
    padding: 0;
}

#content strong
{
    color: #814155;
    font-weight: normal;
}

#content a
{
    color: #814155;
}

#content table
{
    margin: 0 0 20px 0;
}

#content ul
{
    margin: 0 0 20px 15px;
}

#content ol
{
    margin: 0 0 20px 20px;
}


/** normally hidden but will appear when css disabled */
.skip,
.noCss
{
  position: absolute;
  left: -9999px;
}

/**
  Minimum theme requirements as per http://codex.wordpress.org/CSS
*/
.aligncenter,
div.aligncenter
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft
{
    float: left;
}

.alignright
{
    float: right;
}

.wp-caption
{
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    /* optional rounded corners for browsers that support it */
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.wp-caption img
{
    margin: 0;
    padding: 0;
    border: 0 none;
}

.wp-caption p.wp-caption-text
{
    font-size: 11px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
}



label[for^="pwbox-"] br,
label[for^="pwbox-"] + br
{
	display: none;
}

label[for^="pwbox-"] input[type="password"]
{
    background: #f8f8f7;
	border: none;
    display: inline-block;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin-left: 10px;
	outline: none;
	padding: 10px 15px;
}

label[for^="pwbox-"] + input[type="submit"]
{
	border: none;
	background: #fff;
    color: #814155;
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
	outline: none;
	padding: 10px 15px;
}



@media (min-width: 800px) {
    #mobile-image
    {
        display: none;
    }
    
    #sidebar
    {
        display: block;
        float: right;
    }
    
    /*
    #page-home #sidebar
    {
        border: none;
        border-bottom: 1px solid #fff;
        border-left: 1px solid #fff;
        position: absolute;
        right: 0;
    }
    */
    
    #content
    {
        border-top: none;
    }
    
    #page-home #content
    {
        min-height: 501px;
        /* margin-right: 260px; */
    }
}

@media (min-width: 960px) {
    #header
    {
        padding: 50px 0 0 0;
    }
    
    #home-link
    {
        margin: 0 0 50px 15px;
        max-width: 380px;
    }
    
    #nav-toggle
    {
        display: none;
    }
    
    #navigation
    {
        display: block !important;
        font-size: 16px;
        position: relative;
    }
    
    #navigation li.level-1
    {
        display: inline-block;
    }
    
    #navigation li.level-1 > a
    {
        border-bottom: none;
        height: 55px;
        line-height: 55px;
        padding-bottom: 0;
        padding-top: 0;
    }
    
    #navigation li.level-1.has-subs > a
    {
        padding-right: 20px;
    }
    
    .sub-nav-toggle
    {
        display: none;
    }
    
    #navigation li.level-1.has-subs ul.level-2
    {
        _display: block;
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
        left: 0;
        list-style: none;
        position: absolute;
        z-index: 100;
    }
    
    #navigation li.level-1.has-subs:hover ul.level-2
    {
        display: block !important;
    }
    
    #navigation li.level-2 a
    {
        line-height: 1.2;
        padding: 10px 20px;
        min-width: 250px;
    }
    
    #sidebar
    {
        margin-top: -55px;
    }

    /*     
    #page-home #sidebar
    {
        margin-top: 0;
    }
    */

    #content
    {
        border-left: 1px solid #fff;
        min-height: 338px;
        padding: 35px 80px 35px 80px;
    }
    
    #page-home #content
    {
        min-height: 501px;
    }
}

@media (min-width: 1100px) {
    #page
    {
        margin-top: 30px;
    }
}

@media (min-width: 1115px) {
    #home-link
    {
        margin: 0 0 50px 0;
    }
}

@media (min-width: 1315px) {
    #page
    {
        left: -160px;
        max-width: 880px;
        position: relative;
    }

    #sidebar
    {
        left: 100%;
        position: absolute;
        top: 215px;
    }

    #page-home #sidebar
    {
        top: 100px;
    }

    .sidebar-image
    {
        width: 320px;
    }
}

.wp-block-image img {
    height: auto;
}