@charset "utf-8";

/* CSS Design
* Monatsaufgabe 08
* Responsive One-Pager
*Psychotherapie Maria Mann
 */

/* Reset * * * */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* Browserstandard 16px */
    position: relative;
    min-height: 100%;
}

img {
    max-width: 100%;
    margin-top: 10px;
}

/* Layout * * * * */

body {
    font-family: Lato, sans-serif;
    line-height: 1.5;
    background: #f9f9f9;
    margin-bottom: 200px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

header {
    text-align: center;
}



#frame {
    background: #87a904;
}

#navigation {
    background: #e0ff66;
}


footer {
    background: #87a904;
    color: #f9f9f9;
    margin-top: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
}


footer a {
    color: #e0ff66;
    text-decoration: none;
}

footer a:hover {
    color: #f9f9f9;
}

a{
    text-decoration: none;
    color: #87a904;
}

a:hover{
    color:#4f4f4f;
}

.two-third p{
    max-width: 700px;
}

/* Position  ****/
.centered {
    display: block;
    margin: 0 auto;
    padding: 20px 0;
}

.teaser-img {
    padding: 0 2% 30px;
}

.no-top-margin {
    margin-top: 0 !important;
}

.no-top-padding{
    padding-top: 0 !important;
}

.align-left{
    float: left;
    padding-right: 40px;
}

.align-right{
    float: right;
    padding-left: 20px;
}


/* Navigation * * * * * */


#mobile-navi {
    display: none;
    background: #e0ff66;
}

#main-navi {
    background: #e0ff66;
    padding: 5px 0;
}

#main-navi ul li {
    display: inline;
    border-left: 1px solid black;
}

#main-navi a {
    text-decoration: none;
    font-family: Georgia, serif;
    color: black;
    text-transform: uppercase;
    padding: 0 1.8%;
    font-size: 110%;
}

#main-navi a:hover, #main-navi li a.active{
    color: #87a904;

}

#main-navi li:last-child {
    border-right: 1px solid black;
}


/* Teaser * * */
.teaser {
    background: #e0ff66;
}

/* Sidebar * * */

.sidebar {
    background: #87a904;
    width: 25%;
    max-width: 240px;
    float: right;
    padding: 20px;
    margin-top: 40px;
    margin-right: 2%;
}

.sidebar li {
    list-style: none;
    padding: 5px 0;
}

.sidebar.blog{
    width: 30%;
    max-width: 260px;
}

.sidebar.blog li{
    list-style: disc;
    margin-left: 15px;
}



/* Headlines * * */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    font-weight: 400;
    text-transform: uppercase;
    margin: 5px 0;
    color: black;
}

h1, h2 {
    text-shadow: 1px 1px #87a904;
    margin: 10px 0;
}

h1 {
    font-size: 1.7em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
}

.text-center{
    text-align: center;
}

.highlighted {
    color: #e0ff66;
}

.highlighted a {
    text-decoration: none;
    color: #f9f9f9;
}

.highlighted a:hover {
    color: #e0ff66;
}


/* Button * * */

.button {
    background: #87a904;
    display: inline-block;
    margin-top: 20px;
    padding: 6px 0;
}

.button a {
    padding: 6px 20px;
    text-decoration: none;
    color: #f9f9f9;
    font-size: 110%;
    font-style: italic;
}

.button a:hover {
    color: #e0ff66;
}

/* Separator * * */

hr {
    margin: 20px 0 0;
    border: none;
    background-color: #bebebe;
    width: 100%;
    height: 1px;
}

/* Lists * * */

ol li{
    color: #87a904;
    font: 400 18px/28px Georgia, serif;
    padding-top: 5px;
}

ol li p{
    font: 400 16px/24px Lato, sans-serif;
    color: black;
}


/* Tables * * */

table{
    border-collapse: collapse;
    margin: 0 auto;
}

td{
    padding: 10px 20px;
}

td:nth-child(odd){
    color: #87a904;
    text-align: right;
    border-right: 2px solid #87a904;
}

/* Slider Schwerpunkte * * */
.owl-item a{
    font-family: Georgia, serif;
    padding: 10px;
    color: #87a904;
    text-decoration: none;
    text-transform: uppercase;
}

.owl-item a:hover{
    color: #4e4e4e;
}

.owl-prev, .owl-next{
    font-size: 40px !important;
}

.owl-prev {
    float: left;
}

.owl-next {
    float: right;
}

.owl-dots {
    margin-top: 40px;
}

/* Blog * * */

.blogpost h1{
    margin-bottom: 0;
}

.blogpost img{
    margin-bottom: 20px;
}
.blogdate{
    font-size: 14px;
    color: #888888;
    margin-top: 3px;
    margin-bottom: 20px;
}

.column.blogpost{
    margin-bottom: 0;
}

/* Back-to-top * * */

.back-to-top {
    background: #87a904;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    border: 1px solid #f9f9f9;
    z-index: 100;
}

/* Formular * * */

label{
    display: block;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 7px;
}
input[type=text], input[type=tel], textarea {
    margin-bottom: 20px;
    width: 90%;
    border: 1px solid #4d4d4d;
    padding: 3px;
    font: 400 16px/24px Lato, sans-serif;
}

textarea{
    height: 100px;
}

input:hover textarea:hover {
    border: 1px solid #87a904;
}

input:focus, textarea:focus {
    border: 1px solid #87a904;
    background: #eee;
}

input[type='submit']{
    border: 0;
    cursor: pointer;
    background: #87a904;
    padding: 4px 10px;
    color: #F9F9F9;
    font-size: 16px;
    border-radius: 4px;
    text-shadow: 0 1px #4f4f4f;
    float: right;
    margin-right: 10%;
}

input[type='submit']:hover {
    background: #e0ff66;
    color: #4f4f4f;
    text-shadow: none;
}


/* Accordion * * */

p{
    margin-bottom: 10px;
}

.accordionsetting{
    background: #e0ff66;
    border: 1px solid #87a904;
    color: black;
    text-shadow: 0 1px #87a904;
    text-transform: uppercase;
    font: 400 16px/24px Lato, serif;
    display: block;
    width: 100%;
    padding: 7px 15px;
    cursor: pointer;
    transition: 0.4s;
    outline: none;
    text-align: left;
}

.accordionsetting.active, .accordionsetting:hover {
    background: #87a904;
    color: #F9F9F9;
}

.panelsetting{
    padding: 15px;
    background: #F9F9F9;
    border: 1px solid #87a904;
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}

.panelsetting p{
    max-width: 650px;
}

.accordionsetting:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #87a904;
    float: right;
    margin-left: 5px;
}

.accordionsetting.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Columns * * */

.row {
    float: left;
    width: 100%;
    margin-top: 20px;
}

.column {
    float: left;
    padding: 20px;
    margin: 10px 0 25px 2%;
}

.column:first-child {
    margin-left: 0;
}

.headline{
    width: 100%;
    margin-top: 20px;
}

.full {
    width: 100%;
}

.half {
    width: 49%;
}

.third {
    width: 32%;
}

.two-third {
    width: 66%;
}

.quarter {
    width: 23.5%;
}

.three-quarter {
    width: 74.5%;
}



/* Media Queries * * * * * * * * */

@media only screen and (min-width: 760px) and (max-width: 979px) {


    .wrapper {
        width: 760px;
    }

    #main {
        width: 100%;
    }

    .sidebar {
        width: 32%;
    }

}


@media only screen and (max-width: 759px) {

    body{
        margin-bottom: 120px;
    }

    footer{
        height: 120px;
        margin-bottom: 0;
    }

    .wrapper {
        width: 100%
    }

    #logo {
        width: 60%;
    }

    .sidebar {
        display: none;
    }

    .responsive-hide {
        display: none;
    }


    .full, .two-third, .half, .third, .fourth, .three-fourth, #main, .sidebar, .headline {
        width: 96%;
        margin: 0 2% 25px 2% !important;
    }

    input[type=text], input[type=tel], textarea {
        width: 100%;
    }

    input[type='submit']{
        margin-right: 0;
    }

    .teaser-img {
        width: 96%;
    }

    .align-right, .align-left{
        float: none;
    }

    img {
        display: block;
        margin: 0 auto;
    }


    #main-navi {
        display: none;
        overflow: hidden;
        width: 100%;
        margin-bottom: 10px;
    }

    a#mobile-navi {
        display: block;
        padding: 3px 0;
        float: right;
        margin-right: 20px;
    }

    #main-navi ul {
        /*margin-top: 40px;*/
    }

    #main-navi ul li {
        display: block;
        border: none !important;
    }

    footer {
        text-align: center;
    }

}