/*
Theme Name: rafroese.de
Description: Das Theme für www.rafroese.de
Author: Marcus Kober
Version: 1.0
*/

/*

TABLE OF CONTENTS

01 - Clearfix
02 - Reset
03 - Global und Allgemein
04 - WordPress
05 - Layout
06 - Navi
07 - Slider, Akkordeon, etc.
08 - Content allgemein
09 - Content seitenabhängig
10 - Sidebar
11 - Kontakt
12 - Kommentare
13 - Pagination
14 - Sonstiges
15 - Media Queries

*/

/* sofia-regular - latin */
@font-face {
    font-family: 'Sofia';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/sofia-v8-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Sofia'), local('Sofia-Regular'),
         url('fonts/sofia-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/sofia-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/sofia-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/sofia-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/sofia-v8-latin-regular.svg#Sofia') format('svg'); /* Legacy iOS */
  }
  

/* /////////////////////////////////////////////////////////////////////////////
// 01 - Clearfix
//////////////////////////////////////////////////////////////////////////////*/

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.ie .clearfix {
	zoom: 1;     		/* triggers hasLayout */
	display: block;		/* resets display for IE/Win */
}  


/* /////////////////////////////////////////////////////////////////////////////
// 02 - Reset
//////////////////////////////////////////////////////////////////////////////*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a { text-decoration:none; }

/* HTML 5 EINSTELLUNGEN */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* Box Model */

/*
article, aside, div, footer, header, li, nav, section, td {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;     
}
*/

.box-sizing {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;     
}

/* MARKIERUNGEN FÄRBEN */

::-moz-selection { background: #000; color: #fff; text-shadow: none; }
::selection { background: #000; color: #fff; text-shadow: none; }


/* /////////////////////////////////////////////////////////////////////////////
// 03 - Global und Allgemein
//////////////////////////////////////////////////////////////////////////////*/

body {
	font-family:Arial,sans-serif;
	font-size:100%;
	line-height:1.5em;
}

h1 {
	font-size:20px;
	margin-bottom:20px;
}

h2 {
	font-size:18px;
}

h3 {
	font-size:16px;
}

h4, h5, h6 {
	font-size:14px;
}

h2, h3, h4, h5, h6 {
	margin:25px 0 15px;
}

blockquote {
	font-style:italic;
}

.content p {
	margin:15px 0;
}

.content ul {
	list-style-type:disc;
	padding-left:30px;
}

.content ol {
	list-style-type:decimal;
	padding-left:35px;
}

.content li {
	margin:5px 0;
}


/* /////////////////////////////////////////////////////////////////////////////
// 04 - WordPress 
//////////////////////////////////////////////////////////////////////////////*/

.alignleft {
    float:left;
    margin:0 15px 15px 0;
}

.alignright {
    float:right;
    margin:0 0 15px 15px;
}

.aligncenter {
    clear:both;
    display:block;
    margin-left:auto;
    margin-right:auto;    
}

.wp-caption-text {
    font-style:italic;
    text-align:center;
}


/* /////////////////////////////////////////////////////////////////////////////
// 05 - Layout
//////////////////////////////////////////////////////////////////////////////*/

body {
    background:url(images/bg-body.png);
    font-size:14px;
}

.header {
    background:#032741 url(images/bg-header.jpg) no-repeat center top;
}

.header .logowrapper {
    margin:0 auto;
    height:24px;
    max-width:920px;
    padding:30px 4%;
    overflow:hidden;
    width:92%;
}

.header .logo,
.header .slogan {
    color:#fff;
    float:left;
}

.header .logo {
    font-size:24px;
    max-width:600px;
    width:66%;
}

.header .logo span {
    text-transform:uppercase;
}

.header .logo a {
    color:#fff;
}

.header .logo a:hover {
    border-bottom:1px dotted #fff;
}

.header .slogan {
    font-family:Sofia,Georgia,serif;
    font-size:22px;
    font-weight:bold;
    max-width:320px;
    text-align:right;
    width:34%;
}

.headerimg {
    border-bottom:1px solid #fff;
    border-top:1px solid #fff;
    overflow:hidden;
    text-align:center;
}

.headerimg img {
    display:block;
    height:auto;
    width:100%;
}

.contentwrapper {
    margin:0 auto;
    position:relative;
    max-width:960px;
    width:96%;
}

.content {
    background:#fff;
    -webkit-box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.5);
    box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.5);
    min-height:480px;
    padding:15px;
    padding-right:345px;
    position:relative;
    top:-20px;
    width:600px;
    z-index:5;
}

@media screen and (min-width:1000px) {
    .content {
        min-height:1200px;
    }
}

.news {
    position:absolute;
    right:-20px;
    top:30px;
    width:320px;
    z-index:50;
}

.news .inside {
    background:#fff;
    -webkit-box-shadow:0 0 2px 0 rgba(0, 0, 0, 0.5);
    box-shadow:0 0 2px 0 rgba(0, 0, 0, 0.5);
    padding:15px;
}

.news .post {
    border-top:1px dashed rgba(0, 0, 0, 0.2);
    margin-bottom:10px;
    padding-top:10px;
}

.news .post.first {
    border:0;
}

.news .kante {
    border-color:#919191 transparent transparent #919191;
    border-style:solid;
    border-width:10px;
    height:0px;
    position:absolute;
    right:0px;
    width:0px;
}

.footer {
    background:#032741 url(images/bg-footer.jpg) no-repeat center top;
}

.footer .inside {
    margin:0 auto;
    max-width:960px;
    width:96%;
}

.footer .spalte {
    color:#fff;
    float:left;
    font-size:13px;
    padding:20px 0;
    width:25%;
}

.footer .spalte p {
    line-height:1.6;
    padding:0 5px;
}

.footer a {
    border-bottom:1px dotted rgba(255, 255, 255, 0.4);
    color:#fff;
}

.footer a:focus,
.footer a:hover {
    border:0;
}

.clear {
    clear:both;
}

.abstand {
    display:inline-block;
    width:50px;
}

/* /////////////////////////////////////////////////////////////////////////////
// 06 - Navi
//////////////////////////////////////////////////////////////////////////////*/

.main {
    background:url(images/bg-navi.jpg) no-repeat center top;
    padding:25px 0 15px;
    z-index:10;
}

.main .inside {
    text-align:center;
}

.main li {
    display:inline;
}

.main a {
    color:#fff;
    display:inline-block;
    font-size:18px;
    padding:0 10px 20px;
    text-transform:uppercase;
}

.main a:focus,
.main a:hover {
    color:#f5d000;
}

.main .current-menu-item a {
    background:url(images/navi.png) no-repeat 50% 30px;
    color:#f5d000;
}

/* /////////////////////////////////////////////////////////////////////////////
// 07 - Slider, Akkordeon, etc.
//////////////////////////////////////////////////////////////////////////////*/

.content h2.kd-trigger {
    background:url(images/plusminus.png) no-repeat 0 1px;
    font-size:16px;
    font-weight:normal;
    padding-left:25px;
}

.content h2.kd-trigger.active {
    background-position:0 -31px;
}

.content .mehr-abstand h2.kd-trigger {
    margin-top: 10px;
}

.mehr-abstand {
    margin: 20px 0;
}

/* /////////////////////////////////////////////////////////////////////////////
// 08 - Content allgemein
//////////////////////////////////////////////////////////////////////////////*/

.content {
    font-size:14px;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    color:#0062a8;
}

.content a {
    border-bottom:1px solid #0062a8;
    color:#0062a8;
}

.content a:focus,
.content a:hover {
    border:0;
}

.content img {
    background:#fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow:0 0 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow:0 0 3px 0 rgba(0, 0, 0, 0.5);
    padding:4px;
}

.content p {
    text-align:justify;
}

.news {
    font-size:14px;
}

.news .head {
    color:#0062a8;
    font-size:16px;
    font-weight:bold;
}

.news .head.posthead {
    font-size:14px;
}

.news .post .weiterlesen {
    text-align:right;
}

.news a {
    color:#0062a8;
}

.news a:focus,
.news a:hover {
    border-bottom:1px dotted #0062a8;
}

/* /////////////////////////////////////////////////////////////////////////////
// 09 - Content seitenabhängig
//////////////////////////////////////////////////////////////////////////////*/

/* AKTUELLES STARTSEITE */

.content .entry-title {
    margin-bottom:0;
}

.news .entry-postmeta,
.content .entry-postmeta {
    font-size:12px;
    font-style:italic;
    margin-top:5px;
}

.news .entry-postmeta {
    margin:2px 0 5px;
}

.content .entry-postmeta2 {
    font-size:12px;
}

.news hr,
.content hr {
    border:0;
    border-top:1px solid #ddd;
    clear:both;
    height:0;
    margin:30px 0;
}

.news hr.newstrenner {
    border-top:1px dashed rgba(0, 0, 0, 0.2);
    margin:15px 0;
}

/* SINGLE */

.authorinfo {
    width:35%;
}

.authorimage {
    height:auto;
    width:100%;
}

.socialshare {
    padding-bottom:50px;
}

.fb-like, .twittern, .xingbutton {
    display:inline-block;
    vertical-align:top;
}

.fb-like {
    min-width:200px;
}

/* KONTAKT */

.nebeneinander {
    float:left;
    width:50%;
}

.page-id-16 iframe {
    width:100%;
}

/* ÜBERSICHTEN */

.content .uebersicht {
    list-style-type:none;
    padding:0;
}

.content .uebersicht li {
    float:left;
    width:200px;
}

.content .uebersicht .bildlink {
    border:0;
}

.content .uebersicht .bildlink {
    opacity:0.8;
}

.content .uebersicht .bildlink:hover,
.content .uebersicht .bildlink:active {
    opacity:1;
}

.content .uebersicht .bildlink span {
    border-bottom:1px solid #0062a8;
}

.content .uebersicht .bildlink:hover span {
    border:0;
}

.content .uebersicht .bildlink small {
    font-size:12px;
}

.uebersicht.anwaelte li {
    box-sizing:border-box;
    margin-bottom:20px;
    min-height:280px;
    padding-right:10px;
}

.content .uebersicht.anwaelte li {
    width:195px;
}

/* RA Social */

.rasocial {
    padding-left:40px;
    position:relative;
    text-align:right;
}

.content .rasocial a {
    border:0;
    left:0;
    position:absolute;
}

.rasocial a.fb {
    top:20px;
}

.rasocial a.xi {
    top:60px;
}

.rasocial a.li {
    top:100px;
}

.content .rasocial img {
    border:0;
    -webkit-border-radius:0;
    -moz-border-radius:0;
    border-radius:0;
    -webkit-box-shadow:none;
    box-shadow:none;
    padding:0;
}

/* /////////////////////////////////////////////////////////////////////////////
// 10 - Sidebar
//////////////////////////////////////////////////////////////////////////////*/

#searchform input[type="text"] {
    background:transparent;
    border:0;
    border-bottom:2px solid #fff;
    color:#fff;
}

#searchsubmit {
    background:url(images/lupe.png) no-repeat 2px 1px transparent;
    border:0 none;
    height:15px;
    padding:0;
    width:20px;
}


/* /////////////////////////////////////////////////////////////////////////////
// 11 - Kontakt
//////////////////////////////////////////////////////////////////////////////*/

.content .wpcf7 ol {
    list-style-type:none;
    padding-left:20px;
}

.content .wpcf7 li {
    margin:10px 0;
}

.wpcf7 label {
    display:inline-block;
    vertical-align:top;
    width:100px;
}

.wpcf7 .submit {
    padding-left:99px;
}

/* /////////////////////////////////////////////////////////////////////////////
// 12 - Kommentare
//////////////////////////////////////////////////////////////////////////////*/



/* /////////////////////////////////////////////////////////////////////////////
// 13 - Pagination
//////////////////////////////////////////////////////////////////////////////*/

#pagination {
	margin:50px 0 0;
	text-align:center;
}

#pagination span,
#pagination a {
	border:1px solid #000;
	display:inline-block;
	margin:0 3px;
	padding:0px 5px;
	text-decoration:none;
}

#pagination a:focus,
#pagination a:hover,
#pagination a:active {
	background:#fff;
	color:#000;
}

#pagination a.current {
	background:#000;
	color:#fff;
	font-weight:bold;
}

#pagination a.klein {
	text-align:center;
	width:20px;
}


/* /////////////////////////////////////////////////////////////////////////////
// 14 - Sonstiges
//////////////////////////////////////////////////////////////////////////////*/

.content .breadcrumb {
    list-style-type:none;
    font-size:12px;
    padding:0;
    margin-bottom:20px;
}

.content .breadcrumb li {
    display:inline-block;
}

/* /////////////////////////////////////////////////////////////////////////////
// 15 - Media Queries
//////////////////////////////////////////////////////////////////////////////*/

@media screen and (max-width: 1024px) {
    .header .logowrapper {
        height:44px;
        padding-top:20px;
        padding-bottom:20px;
    }
    
    .header .logo {
        font-size:24px;
    }
    
    .main a {
        font-size:15px;
        padding:0 6px 20px;
    }
    
    .content {
        padding:2%;
        position:relative;
        top:-20px;
        width:96%;    
    }
    
    .news {
        margin:0 auto 20px;
        position:relative;
        right:0;
        top:0;
        width:97%;
        z-index:50;
    }
    
    .news .kante {
        display:none;
    }
}

@media screen and (max-width: 800px) {
    .main a {
        font-size:14px;
        padding:0 4px 20px;
    }

    .footer {
        background-image:none;
    }
    
    .footer .spalte {
        width:50%;
    }
}

@media screen and (max-width: 700px) {
    .main a {
        font-size:13px;
        padding:0 4px 20px;
    }
}

@media screen and (max-width: 650px) {
    html {
        -webkit-text-size-adjust: none;
    }
    
    .header .logo,
    .header .slogan {
        float:none;
        max-width:100%;
        text-align:center;
        width:100%;
    }
    
    .header .logo {
        font-size:16px;
        font-weight:bold;
    }

    .header .slogan {
        font-size:14px;
    }

    .main a {
        font-size:12px;
        font-weight:bold;
        padding:0 3px 20px;
    }
}

/* Nexus 7 Portrait  */
@media screen and (max-width: 610px) {
    .main a {
        font-size:11px;
        font-weight:bold;
        padding:0 3px 20px;
    }
}

@media screen and (max-width: 540px) {
        .main {
        padding-top:15px;
    }
    
    .main .inside {
        margin:0 auto;
        min-height:40px;
        overflow:visible;
        position:relative;
        text-align:left;
        width:180px;
    }
    
    .main ul {
        background:#032741;
        border:1px solid #aaa;
        border-radius:5px;
        left:0;
        position:absolute;
        top:0;
        width:180px;
        z-index:100;
    }
    
    .main li {
        display:none;
        right:0;
    }    

    .main li.current-menu-item {
        display:block;
    }

    .main ul:hover li {
        display:block;
        margin:0 0 5px;
    }
    
    .main .current-menu-item a {
        background:transparent url(images/mobile-navi.png) no-repeat 10px 4px;
    }
    
    .main a {
        background:transparent url(images/mobile-navi.png) no-repeat 10px 4px;
        display:block;
        padding:0 10px 0 32px;
        text-align:left;
    }
    
    .main ul:hover a {
        background:transparent;
    }
    
    .main ul:hover .current-menu-item a {
        background:transparent url(images/mobile-navi.png) no-repeat 10px -46px;
    }
}

@media screen and (max-width: 480px) {
    .header {
        background:#032741 url(images/bg-header-mobile.jpg) no-repeat center top;
    }

    .header .logowrapper {
        height:39px;
        padding-top:10px;
        padding-bottom:15px;
    }

    .header .logo {
        font-size:12px;
        line-height:normal;
    }
    
    .header .slogan {
        font-size:11px;
        line-height:normal;
        margin-top:10px;
    }
    
    .content .breadcrumb {
        display:none;
    }

    .alignleft,
    .alignright {
        height:auto;
        width:25%;
    }
    
    .alignright.rasocial {
        height:auto;
        min-height:135px;
        width:30%;
    }
    
    .alignright.rasocial img {
        height:auto;
        width:85%;
    }
    
    .alignright.rasocial img.solink {
        width:auto;
    }
    
    .content {
        font-size:12px;
        line-height:normal;
        min-height:10px;
    }
    
    .content h1 {
        font-size:16px;
        margin-bottom:5px;
    }
 
    .nebeneinander {
        float:none;
        width:100%;
    }
    
    .footer .spalte {
        width:100%;
    }
}

@media screen and (max-width: 400px) {
}
