/*
Theme Name: raulin24
Theme URI: http://www.raulin24.de
Author: Richard Stickel
Author URI: http://www.richardstickel.de
Version: 1.0
*/



html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-wrap: normal;
    position: relative;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: "franklin-gothic-urw", Arial, Helvetica, sans-serif;
    background-color: #fdfaf6;
    font-size: 21px;
    position: relative;
    font-weight: 400;
    color: #483e39;
}
img{
	width: 100%;
    max-width: 100%;
	display: block;
	margin: 0;
    height: auto;
    -ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
}
.maincontent img {
    width: inherit;
    display: inline-block;
}
img.alignright {
    float: right;
    margin-bottom: 40px;
    margin-left: 40px;
}
img.alignleft {
    float: left;
    margin-bottom: 40px;
    margin-right: 40px;
}


/* Formate */

a{
    color: #820000;
    text-decoration: none;
    border-bottom: 1px solid #820000;
}

p {
    margin: 0 0 15px;
    line-height: 1.5em;
}

.vorspanntext {
    font-size: 1.4em;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 22px;
}

h1 {
    font-family: "eurostile-extended", Arial, Helvetica, sans-serif;
    font-size: 40px;
    margin: 0 0 36px;
    font-weight: normal;
}

h2 {
    font-family: "eurostile-extended",Arial,Helvetica,sans-serif;
    font-size: 28px;
    margin: 40px 0 14px;
}
h3 {
    font-size: 21px;
    margin: 0 0 10px;
}

li {
    padding-bottom: 8px;
}
hr {
    background: #cdcdcd none repeat scroll 0 0;
    border: medium none;
    height: 1px;
    margin: 25px 0;
}

/* Foto */
figure {
    margin: 0 0 30px;
}
figure.rechts {
    float: right;
    margin-left: 40px;
    width: calc(50% - 20px);
}
figure.links {
    float: left;
    margin-right: 40px;
    width: calc(50% - 20px);
}
figcaption {
    font-size: 15px;
    font-weight: 600;
    padding: 7px 0;
}
figure > img {
    border-left-style: solid;
    border-left-width: 5px; 
    width: calc(100% - 5px);
}

.zitat {
    position: absolute;
    top: 30px;
    width: calc(100% - 260px);
    z-index: 100;
}

.zitat_text {
    border-left: 28px solid #5a0000;
    padding-bottom: 12px;
}

.zitat_text > span {
    background: #5a0000 none repeat scroll 0 0;
    color: #fff4b7;
    display: inline-block;
    font-size: 27px;
    font-style: italic;
    margin-bottom: -12px;
    margin-left: -12px;
    padding: 9px 19px 11px 0;
}
.zitat_autor {
    background: #fff4b7 none repeat scroll 0 0;
    color: #5a0000;
    display: inline-block;
    font-size: 15px;
    letter-spacing: 2px;
    padding: 7px 16px 9px;
    text-transform: uppercase;
}


.sem_datum {
    border-top: 1px solid #ddd;
    float: left;
    padding-top: 15px;
    width: 150px;
}
.sem_text {
    overflow: auto;
    margin-bottom: 10px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Formular */
input, textarea {
    background-color: #f8f5f0;
    color: #483e39;
    border: medium none;
    box-shadow: 0 1px 2px #cdcdcd inset;
    font-family: "franklin-gothic-urw",Arial,Helvetica,sans-serif;
    font-size: 21px;
    margin-top: 6px;
    padding: 10px;
    width: calc(100% - 20px);
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
    border-radius: 0;
}
label {
    font-size: 17px;
    font-weight: 700;
}
input[type="submit"] {
    background: #820000 none repeat scroll 0 0;
    box-shadow: none;
    color: #fff;
    display: block;
    font-weight: 700;
    padding: 12px 25px 14px;
    width: auto;
    cursor: pointer;
}
.wpcf7-form > div + p {
    float: left;
    width: 48%;
}
.wpcf7-form > div + p + p {
    float: left;
    margin-left: 4%;
    width: 48%;
}

#wpcf7-f86-p23-o1 .wpcf7-form > p {
    float: left;
    width: 48%;
}
#wpcf7-f86-p23-o1 .wpcf7-form > p:nth-child(2n-1) {
    margin-left: 4%;
}


/* Layout */

.content {
    padding: 0 110px;
    position: relative;
}

.content.maincontent {
    background: #fff none repeat scroll 0 0;
    margin: -40px 7px 7px;
    padding-bottom: 40px;
    padding-top: 20px;
}

article {
    background: #ecba46;
    width: calc(100% - 300px);
    padding-bottom: 3px;
}

aside {
    float: right;
    padding-right: 35px;
    width: 220px;
    margin-bottom: 30px;
}



/* Gridsystem */

.gs{
	width: 96%;
	padding: 0 2%;
	display: inline-block;
	vertical-align: top;
	float: left;
}

.gs-1-3{
	width: 29.333%;
}
.gs-2-3{
	width: 62.666%;
}
.clear{
	clear: both;
}



/* Header */
#headerbild {
    margin-bottom: -40px;
    position: relative;
    top: 0;
}
header {
    background-color: #5a0000;
    height: 100%;
    padding: 30px;
    position: fixed;
    right: 0;
    width: 240px;
}
#headerinner {
    height: calc(100% - 50px);
    position: relative;
}
.signet{
    display: none;
}
#logo {
    display: block;
    padding: 0 0 50px;
    width: 230px;
}
header a {
    border: medium none;
}
.menu-footer-container {
    bottom: 0;
    position: absolute;
}


/* MENÜ */

nav ul, #menu-footer{
    font-size: 19px;
    margin: 0 0 0 3px;
    padding: 0;
}
#menu-footer{
    font-size: 16px;
}
nav li {
    list-style: outside none none;
    padding-bottom: 15px;
}
nav a {
    border-bottom: medium none;
    color: #fff;
    margin: 12px 0 0;
    padding: 0 0 2px;
}
nav a:hover {
    border-bottom: 1px solid #fff;
}

.sub-menu {
    font-size: 16px;
    list-style: outside none none;
    margin: 0;
    padding: 15px 0 0 27px;
    display: none;
}
.sub-menu li {
    color: #fff;
    list-style: outside none disc;
    padding-bottom: 12px;
}
.sub-menu a {
    padding: 0;
}
.sub-menu a:hover {
    border-bottom: 1px solid #fff;
}

.current-page-ancestor .sub-menu, .current_page_item .sub-menu{
    display: block;
}


/* TEASER */
.teaserkreis {
    float: left;
    margin-bottom: 50px;
    margin-top: -80px;
    text-align: center;
    width: 33.333%;
}
.teaserkreis > a {
    border: medium none;
    color: #483e39;
    font-weight: bolder;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-block;
}
.kreis {
    background: #5a0000 none repeat scroll 0 0;
    border-radius: 50%;
    display: block;
    height: 120px;
    margin: 0 auto 10px;
    width: 120px;
    background-image: url(images/icon-management.png);
    background-size: cover;
}
.teaserkreis:nth-child(2) .kreis {
    background-image: url(images/icon-training.png);
}
.teaserkreis:nth-child(3) .kreis {
    background-image: url(images/icon-beratung.png);
}


/* Mobile Menu */

.burgerbutton {
    cursor: pointer;
    display: none;
    float: right;
    height: 30px;
    padding: 14px 20px 19px;
    position: absolute;
    right: 0;
    width: 30px;
}
.burgerbutton-linie {
    background: #ecba46 none repeat scroll 0 0;
    height: 2px;
    margin-bottom: 7px;
    transition: all 0.4s ease 0s;
    width: 100%;
}


.burgerbutton.active .burgerbutton-linie:nth-child(1) {
    -webkit-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
}
.burgerbutton.active .burgerbutton-linie:nth-child(2) {
    width: 0;
    margin-left: 50%;
}
.burgerbutton.active .burgerbutton-linie:nth-child(3) {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}


.bild-50 {
    width: 50%;
}

.bild-50 img {
    width: 100%;
}





@media (max-width: 1200px) {
    .content {
        padding: 0 40px;
    }
    .zitat_text > span {
        font-size: 22px;
        padding: 9px 19px 12px 0;
    }
}

@media (max-width: 1020px) {
    body{
        padding: 50px 0 0 0;
    }
    header {
        height: 50px;
        padding: 0;
        width: 100%;
        z-index: 1000;
        top: 0;
        position: fixed;
    }
    .signet {
        display: block;
        float: left;
        height: 27px;
        margin: 12px 0 0 12px;
        overflow: hidden;
        position: relative;
        width: 85px;
    }
    .signet > img {
        position: absolute;
        top: -21px;
        width: 127px;
        max-width: inherit;
    }
    .logo {
        display: inline-block;
        float: left;
        height: 26px;
        margin: 14px 0 0;
        overflow: hidden;
        width: 210px;
    }
    #logo {
        padding: 0;
        width: 159px;
    }
    .burgerbutton {
        display: block;
    }
    nav {
        clear: both;
        display: none;
        position: absolute;
        top: 50px;
        width: 100%;
        background: #5a0000 none repeat scroll 0 0;
    }
    nav ul, #menu-footer {
        margin: 13px 0 0 13px;
    }
    .menu-footer-container {
        bottom: auto;
        position: relative;
    }
    #menu-footer {
        font-size: 19px;
        margin: 0 0 10px 13px;
    }
    article {
        width: 100%;
    }
    .zitat {
        width: calc(100% - 90px);
    }
}


@media (max-width: 650px) {
    body {
        font-size: 18px;
    }
    article > .content:first-child {
        background: #3a0000 none repeat scroll 0 0;
        padding: 0 10px;
    }
    #headerbild {
        top: 0!important;
    }
    .zitat {
        padding: 10px 0;
        position: relative;
        top: auto;
        width: 100%;
    }
    .zitat_text {
        border-left: 24px solid #5a0000;
        padding-bottom: 4px;
    }
    .zitat_text > span {
        font-size: 17px;
        padding: 4px 17px 4px 0;
    }
    .zitat_autor {
        font-size: 10px;
        padding: 4px 10px 6px;
        position: relative;
        top: -4px;
    }
    .teaserkreis {
        margin-top: -52px;
        font-size: 0.8em;
    }
    .kreis {
        height: 60px;
        width: 60px;
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 21px;
    }
    p {
        line-height: 1.4em;
        margin: 0 0 15px;
    }
    .sem_datum {
        margin-bottom: -10px;
        width: 100%;
    }
    .sem_text {
        border: medium none;
        padding-top: 0;
        width: 100%;
    }
    .wpcf7-form > div + p, .wpcf7-form > div + p + p {
        margin-left: 0;
        width: 100%;
    }
    #wpcf7-f86-p23-o1 .wpcf7-form > p, #wpcf7-f86-p23-o1 .wpcf7-form > p:nth-child(2n-1) {
        margin-left: 0;
        width: 100%;
    }
}


@media (max-width: 500px) {
    .content {
        padding: 0 15px;
    }
    .bild-50 {
        width: auto;
    }
    img.alignright, img.alignleft {
        float: none;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }
}
