/*  -----------------------------------------------------
                            SCREEN
  -----------------------------------------------------*/


/********* Global *********/

body {
    background: #f8f8ea url(../img/header-bg.png) no-repeat 50% 0;
    font-family: Helvetica, Arial, sans-serif;
    color: #222;
}

a,
a:hover,
a:visited,
a:focus,
a:active {
    color: #28965a;
    outline: none !important;
}

a.like-text,
a.like-text:hover,
a.like-text:visited,
a.like-text:focus,
a.like-text:active {
    color: #222;
}

a.readmore {
  display: inline-block;
  padding: 7px 0;
  font-family: cambria, georgia, serif;
}

hr {
    height: 1px;
    border: none;
    background: url(../img/divider-left.png) no-repeat bottom left,
                url(../img/divider-right.png) no-repeat bottom right,
                url(../img/divider-mid.png) repeat-x bottom left;
}


/********* Header ********/

.printlogo {
  display: none;
}

nav.navbar {
  border: none;
  margin-bottom: 0;
  min-height: 40px;
  font-family: cambria, georgia, serif;
}

nav.navbar > .container {
    padding: 0 10px 20px 10px;
}

nav.navbar li a {
    color: #222;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
nav.navbar li a:hover {
    color: #28965a;
    background: none;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

nav.navbar li.active a {
    color: #28965a;
    text-decoration: underline;
}

h1 {
    margin: 0 0 0 -25px;
    width: 530px;
    height: 178px;
    font-family: cambria, georgia, serif;
    background: url(../img/logo.png) no-repeat 0 14px;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
h1 a {
    display: block;
    height: 90%;
    color: #28965a;
    padding: 88px 0 0 129px;
    letter-spacing: 0.25px;
}
h1 a,
h1 a:hover,
h1 a:active,
h1 a:focus {
    color: #28965a;
    text-decoration: none;
}

h1 a span {
    display: block;
}
h1 a .title {
    font-size: 22px;
    font-weight: bold;
}
h1 a .subtitle {
    font-size: 21px;
    color: #6c6c6c;
    letter-spacing: 0;
}

.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}
.nav>li>a {
    padding: 10px 20px;
}
.nav>li:first-child>a {
    padding-left: 0;
}

/*** Header > Mobile ****/

.navbar-toggle {
    margin: 5px -6px 0 0;
}

.navbar-toggle .icon-bar {
    background: #222;
}

@media (max-width: 991px) {
    .nav>li>a {
        padding: 10px 15px;
    }

}

@media (max-width: 810px) {
    h1 {
        margin: 0 0 0 0;
    }
}

@media (max-width: 767px) {
    body {
        background-position: -387px 0;
    }
    h1 {
        position: absolute;
    }

    .navbar-header {
        height: 165px;

    }
    .container>.navbar-header {
        margin-right: 0;
    }
    .navbar-nav {
        margin-top: 0;
    }

    .nav>li:first-child>a {
        padding-left: 15px;
    }
    .navbar-collapse {
        padding-top: 0;
        padding: 0 15px;
    }
    .navbar-collapse a {
        text-align: center;
    }

}

@media (max-width: 555px) {
    body {
        background-size: 316%;
        background-position: 35.5% 0;
    }
    .navbar-header {
        height: 29.79vw;
    }
    h1 {
        background-size: 29vw;
        width: 93vw;
        height: 30vw;
    }
    h1 a {
        padding: 15.86vw 0 0 23.24vw;
        white-space: nowrap;
    }

    h1 a .title {
        font-size: 3.8vw;
        margin-bottom. 5px
    }
    h1 a .subtitle {
        font-size: 3.3vw;
    }
}



/********* Homepage *********/

/*** Homepage > Greeting ***/

.greeting {
  padding: 20px 0 20px 0;
  background: #fff;
  max-width: 1600px;
  margin: 0 auto;
  background: url(../img/greeting-bg.jpg) no-repeat right center;
  background-size: auto 100%;
  background-color: white;
}

.greeting-inner {
  font-family: cambria, georgia, serif;
  color: #28965a;
  font-size: 36px;
  font-style: italic;
  line-height: 1.3;
  padding: 10px 0 10px 0;
}


@media (max-width: 767px) {
  .greeting {
    background-image: none;
    padding-left: 15px;
    padding-right: 15px;
  }
}


/*********** Main **********/

.main {
    margin-bottom: 50px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.main.home {
    background: -moz-linear-gradient(top,  #dfdfb8 0%, #f8f8ea 100px);
    background: -webkit-linear-gradient(top,  #dfdfb8 0%,#f8f8ea 100px);
    background: linear-gradient(to bottom,  #dfdfb8 0%,#f8f8ea 100px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dfdfb8', endColorstr='#f8f8ea',GradientType=0 );
  padding-top: 30px
}

.main .content {
    padding-top: 12px;
    padding-right: 60px;
}
.main.home .content {
    padding-top: 25px;
}

.main h2 {
    font-family: cambria, georgia, serif;
    color: #28965a;
    font-size: 2.2em;
    line-height: 1.2em;

    margin: 0 0 12px 0;
}
.main h3 {
    font-family: cambria, georgia, serif;
    color: #28965a;
    font-size: 18px;
    padding-bottom: 4px;
    margin-bottom: 20px;
    margin-top: 20px;
    background: url(../img/divider-left.png) no-repeat bottom left,
                url(../img/divider-right.png) no-repeat bottom right,
                url(../img/divider-mid.png) repeat-x bottom left;
}

.main h3.below {
    padding-top: 5px;
    font-style: italic;
    background: url(../img/divider-left.png) no-repeat top left,
                url(../img/divider-right.png) no-repeat top right,
                url(../img/divider-mid.png) repeat-x top left;
}

.main h4 {
    font-family: cambria, georgia, serif;
    color: #222;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;

    margin: 0;
    text-transform: uppercase;
}

.main h5 {
    font-family: cambria, georgia, serif;
    font-weight: bold;
    color: #222;
    font-size: 1.2em;
    line-height: 1.6em;

    margin: 0;
}

.main p {
    margin: 0 0 1.2em 0;
}


@media (max-width: 767px) {
    .main .content {
        padding-top: 0;
        padding-right: 15px;
    }
}

/*** Main > Home ****/
@media (max-width: 767px) {
    .main.home .content {
        padding-top: 25px;
    }
}




/**** Main > About *****/

.about-header {
    min-height: 121px;
    padding: 30px 40px 0 140px;
    margin-bottom: 18px;

    background-position: 0 100%;
    background-repeat: no-repeat;

    border-bottom: 1px solid #28965a;
}


.about-header h2 {
    margin-bottom: 0.1em;
}

.about-header p {
    font-family: cambria, georgia, serif;
    font-size: 1.4em;
    line-height: 1.6em;
}

@media (max-width: 991px) {
    .about-header {
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .main.about .sidebar {
        padding-top: 45px;
    }
    .about-header-text {
        width: 220px;
    }
}

@media (max-width: 410px) {
    .about-header {
        background-position: 100% 100%;
        padding: 30px 110px 0 0;
    }
}

@media (max-width: 340px) {
    .about-header {
        background-size: 85px;
    }
}


/*** Main > About > Links Box ****/

.linksbox {
    border-top: 1px solid #28965a;
    margin-top: 40px;
}
.linksbox .link {
    padding: 15px 0 15px 120px;
    background-repeat: no-repeat;
    background-position: 0 15px;
    font-size: 1.2em;
    line-height: 1.6em;
}



/**** Main > Osteo Med ****/

.main.osteo-med .sidebar .sidebarbox {
    padding-bottom: 20px;
}

.main.osteo-med .sidebar h3 {
    padding-bottom: 5px;
    text-align: center;
}
.main.osteo-med .sidebar h3:first-child {
    margin-top: 0;
}
.main.osteo-med .sidebar p {
    padding-left: 10px;
    padding-right: 10px;
}


/**** Main > Wann Osteo ****/

.main.when-osteo .sidebar .sidebarbox {
    padding-bottom: 20px;
}

.main.when-osteo .sidebar h3:first-child {
    margin-top: 0;
}

.main.when-osteo .sidebar h3 {
    padding-bottom: 5px;
    background: none;
}

.main .sidebar ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  list-style-position: outside;
  line-height: 1.6em;
}

.main .sidebar ul li {
  margin-bottom: 0.6em;
  padding-left: 14px;
  text-indent: 0;
  position: relative;
}

.main .sidebar ul li:before {
  content: '›';
  color: #28965a;
  position: absolute;
  left: 0;
}

/****** Main > Kontakt ***/

.main.contact h2 {
    padding-bottom: 3px;
    background: url(../img/divider-left.png) no-repeat bottom left,
                url(../img/divider-right.png) no-repeat bottom right,
                url(../img/divider-mid.png) repeat-x bottom left;
}

.main.contact h3 {
    background: none;
    margin: 15px 0 0 0;
}

.main.contact .sidebar .sidebarbox {
    padding-bottom: 20px;
}
.main.contact .sidebar .sidebarbox p {
    margin-bottom: 0;
}

.main.contact .sidebar .sidebarbox.map {
    margin-bottom: 20px;
}

.main.contact .sidebar .map iframe {
    width: 100%;
    min-height: 330px;
}

.main.contact .pdf-link {
    display: inline-block;
    padding-left: 20px;
    background: url(../img/pdf-icon.gif) no-repeat 0 1px;
}

@media (max-width: 670px) {
    .main.contact .content,
    .main.contact .sidebar {
        width: 100%;
    }
}


/**** Main > Impressum ***/

.main.imprint hr {
    padding-top: 50px;
}

@media (max-width: 670px) {
    .main.imprint .content {
        width: 100%;
    }
}



/***** Main > Sidebar ****/

.sidebar {
    padding-top: 12px;
}
.main.home .sidebar {
    padding-top: 0;
}
.sidebar .contact {
    padding: 20px;
    font-size: 1.2em;
    line-height: 1.6em;

    background: #afaf70;
    background: -moz-linear-gradient(top,  #afaf70 0%, #e6e6c2 88%);
    background: -webkit-linear-gradient(top,  #afaf70 0%,#e6e6c2 88%);
    background: linear-gradient(to bottom,  #afaf70 0%,#e6e6c2 88%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#afaf70', endColorstr='#e6e6c2',GradientType=0 );
}

.sidebar .sidebarbox {
    background: #fff;
    padding: 20px 20px 0 20px;
}

.sidebar .imagebox img {
    width: 100%;
}

.sidebar .imagebox .caption {
    padding-top: 6px;
    padding-bottom: 8px;
}

@media (max-width: 610px) {
    .sidebar .imagebox {
        width: 50%;
    }
}

@media (max-width: 460px) {
    .sidebar .imagebox {
        width: 100%;
    }
}


/******** Footer ********/

footer {
    margin-top: 50px;
}

footer ul {
    list-style-type: none;
    padding: 7px 0 50px 0;
    border-top: 1px solid #aaa;
}

footer ul li {
    display: inline-block;
    margin: 0 20px 20px 0;
}
footer ul li a,
footer ul li a:visited {
    font-family: cambria, georgia, serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.2em;
    color: #555;

    text-transform: uppercase;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

footer ul li a:hover {
    color: #28965a;
    text-decoration: none;

    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

footer ul li.active a {
    color: #28965a;
}


/*  -----------------------------------------------------
                            PRINT
  -----------------------------------------------------*/

@media print {
    .printlogo {
        display: block;
    }

    .sidebar .contact,
    .sidebar .sidebarbox {
        padding: 0;
    }
    .linksbox .link {
        padding-left: 0;
    }
}
