/*
 Theme Name:     Branfordmagazine Child Theme
 Theme URI:      http://www.idontknow.de/
 Description:    Branfordmagazine Child Theme
 Author:         Gerd Weyhing
 Author URI:     http://www.woyng.com
 Template:       branfordmagazine
 Version:        1.0.0
*/
 
@import url("../branfordmagazine/style.css");
 
/* =Theme customization starts here */

#logo, #logo img { 
width:100%;
}

.searchcontainer { 
float: right; 

margin-top: -125px; 
position:relative; 
z-index:999; 
}

@media only screen and (max-width: 809px) {
  .searchcontainer {
    margin-top: 0px;
    height: 34px;
    background: white;
    width: 100% !important;
  }

  .searchform {
  	top: 6px;
	right: 6px;
  }

  .searchfield {
	width: 98% !important;
  }

  #datum {
  	margin-top: -57px !important;
  }
}

/* Form Elements */
select { background:#f2f2f2; border:1px solid #9c9c9c; width:100% }
#searchform { 
padding:16px 5px 0 0; 
/* padding:0px 5px 0 0; GW: bei Wahl aktivieren */ 
position: relative;
top: -10px;
}

.searchfield { 
width:150px; 
padding: 1px 1px 1px 20px; 
background: url(images/icons/search-16.png) no-repeat #fff; 
color:#666; 
border:1px solid #ddd; 
}

.searchfield:hover, .searchfield:focus { 
background: url(images/icons/search-16.png) no-repeat #eee;
border:1px solid #999; 
text-decoration:none; 
}

#datum {
color: #840000; 
font-size: 13px; 
text-align: right; 
font-weight: bold; 
margin-top: 65px; 
margin-right: 1px;
/*
GW: Bei Wahl aktivieren;
color: #840000; 
font-size: 13px; 
text-align: right; 
font-weight: bold; 
margin-top: 75px; 
margin-right: 1px;
*/
}

/*****************************************************
*   GW's Extra Styles                    
****************************************************/

body {
    color: #000000;
}

@media only screen and (max-width: 809px) {
		body {
	    font-size: 14px;
	}
}



div.entry p,
#rightcol p, 
#fragment-1 p, 
.feature p, 
div#accordion span.acc_head h5, 
div#accordion div div a,
a.title {
-moz-hyphens: auto;
-o-hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto; 
}

/* Ticker */

div#navwrap {
    width:100%;
}

div#wp_nav_menu_ticker {
   /* display: none !important; */
}

.news-wrapper, .news-wrapper #scroll-h {
height: 27px !important;
}

.news-wrapper #scroll-h div {
padding-top: 0.65em;
}

#scroll-h_inner {
left: -2265px;
position: absolute;
top: 9px;
white-space: nowrap;
width: 10021px;
}

/* /Ticker */

.prinz-menu-secondary {
margin-top: 0;
}

div#banner_ueber_ticker {
margin: 3px 0px 3px 0px;
}

div#banner_unter_ticker {
margin: 1px 0px 1px 0px;
}

div#banner_unter_menu2 {
margin: 4px 0px 1px 0px;
}

/* Content */

/* Single / Beitrag */

.post h1 {
font-size: 1.8em;
padding: 20px 0 8px 0;    
line-height: 1.05em;
font-weight: normal;
}

.post h2 {
font-size: 1.4em;    
border-bottom: none;
margin: 0 0 20px 0;
}

/* */

h2 {
line-height: 1.05em;
border-bottom: none;
margin: 20px 0 0 0;
}

h3 {
border-bottom: none;
margin: 0 0 20px 0;
}

p.h2 {
font-family: Georgia, 'Times New Roman', Times, serif;
color: #840000;
text-decoration: none;
font-size: 1.6em;
font-weight: bold;
}

p.h3 {
font-family: Arial, Helvetica, sans-serif;	
font-size: 1.3em;
font-weight: bold;
color: #840000;
margin-top: 13px;
}

p.h4 {
font-family: Arial, Helvetica, sans-serif;	
font-size: 1.1em;
font-weight: normal;
color: #840000;
}

p.acc_h5 {
background: #840000 none repeat scroll 0 0;
color: #ffffff;
font-weight: normal;
line-height: 1.385em;
min-height: 51px;
padding: 2px 2px 2px 2px;
padding: 1px;
hyphens: auto;
}

p.acc_h5 a {
text-decoration: none;
color: white;
font-weight: bold;
line-height: 1.2em;
}

a.comments_count {
text-decoration: none;    
color: #840000;
}

.wp-caption { max-width: 100%; }
.wp-caption img { max-width: 100%; height: auto; }

.wp-caption p.wp-caption-text {
	text-align: left;
}

#leftcol h3, #leftcol h3 a, #rightcol h3, #rightcol h3 a {
font-size: 1.1em;
font-weight: bold!important;
margin: 0;
}

#commentform textarea {
background-color: #dddddd;
border: 1px solid #840000;
margin-top: 5px;
width: 100%;
}

.excerpt_more a {
text-decoration: none;
}

.excerpt_more a:hover {
text-decoration: underline;
}

/* /Content */

/* Branchenbuch alt */

/*
div.bb_submit_header {
width:916px;
border: 1px solid grey; 
float: left;
padding: 0px 10px 10px 10px;
line-height: 1.3em;
text-align: left;
background: #eeeeee;
font-size: 11px;
}

div.bb_submit_box {
width: 296px; 
height: 130px;
border: 1px solid grey; 
margin-right: 7px; 
float: left;
padding-right: 5px;
padding-left: 5px;
line-height: 1.3em;
text-align: center;
}

div#bb_submit_box_1,
div#bb_submit_box_confirmer_1 {
background: #F9E4B8;
}

div#bb_submit_box_2,
div#bb_submit_box_confirmer_2 {
background: #E2B75F;
}

div#bb_submit_box_3,
div#bb_submit_box_confirmer_3 {
background: #A07724;
margin-right: 0px;
}

div#bb_submit_box_3 {
margin-right: 0px;
}

div.bb_submit_box h2 {
font-weight: bold;
}

div.bb_submit_box p {
}

div.bb_submit_box a {
width:60px;
padding: 3px 5px;
border: 1px solid grey; 
background: #ffffff;
opacity: 0.5;
margin-bottom: 5px;
font-weight: bold;
text-decoration: none;
}

div.bb_submit_box a:hover {
background: #840000;
opacity: 1;
color: #ffffff;
}

div.bb_submit_box ul {
margin-left: -15px;
}

div.bb_submit_box_confirmer {
margin: 20px 0px 20px 0px;
border: 1px solid gray;
padding: 0px 15px 5px 15px;
}

div.bb_submit_box_confirmer > ul {
margin: 0px;
padding: 0px;
margin-left: -27px;
}
*/

.wpbdp-listing .listing-title a {
    font-size: 22px !important;
    padding-bottom: 8px !important;
}

.wpbdp-listing .wpbdp-field {
  margin: 0px !important;
}

/* /Branchenbuch */


/* Sidebar */ 

#sidebar h3, #sidebar h2 {
    border-bottom: 1px solid #999;
    border-top: 3px double #999;
    color: #840000;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    margin: 20px 0 15px;
    padding: 5px 0 5px 2px;
    text-transform: none;
    font-family: 'Open Sans', Arial, Verdana, sans-serif;
}

/* /Sidebar */

/* Accordion */

div#accordion {
	visibility: visible; 
	display: block;
}

div#accordion span.acc_head {
	height: 49px;
}

div#accordion h5 {
    background: #840000 none repeat scroll 0 0;
    color: #ffffff;
    font-weight: normal;
    line-height: 1.385em;
    min-height: 51px;
    /* padding: 2px 2px 2px 2px; */
    padding: 1px;
    width: 100%;
}

div#accordion h5 a,
div#accordion h5 a:hover
 {
	
    color: #ffffff;
    font-weight: bold;
    line-height: 1.2em;
    text-decoration: none;
    font-family: 'Open Sans', Arial, Verdana, sans-serif;
}


div#accordion div.acc_outer {
    border-left: 1px solid #840000;
    border-right: 1px solid #840000;
    font-size: 11px;
    line-height: 1.3em;
    padding: 2px 5px 3px;
}

div#accordion div.acc_outer div.acc_inner a { 
	text-decoration: none;
}

div#accordion > div.acc_outer > div.acc_inner > p {
    margin: 0 !important; 
}

div#accordion div.acc_hr {
	height: 1px; 
	background-color: #874848; 
	clear:both;
	}

/* Events rechts: Pfail dazu */

div.em-calendar-wrapper {
    background: url(images/pfeil.gif) no-repeat scroll 90% 55%;
}    

/* plugins */

#ultimate-tinymce .plugin-version-author-uri {
    background-color: none;
    font-weight: normal;
    box-shadow: none;
}

.wpbdmac {
	display: none;
}

.social_share_privacy .twoclick-facebook { width: 30% !important; }
.social_share_privacy .twoclick-twitter { width: 25% !important; }
.social_share_privacy .twoclick-gplus,
.social_share_privacy .twoclick-xing {
    width: 22% !important;
    }

ul.wp-submenu img#2-click-icon {
    display:block;
}

/* Alle Kommentare */

div.comments_inner_container_1 {
    background: #ffffff;
    border-top: 1px solid #840000;
}

div.comments_inner_container_2 {
    background: #eeeeee;
    border-top: 1px solid #840000;
}

div.comments_left {
    padding: 3px 3px 3px 6px; 
    -moz-hyphens: auto;
    float:left; 
    width: 25%;
}

div.comments_middle {
    padding: 3px 3px; 
    -moz-hyphens: auto;
    float:left; 
    width: 50%;
}

div.comments_right {
    padding: 3px 6px 3px 3px; 
    -moz-hyphens: auto;
    float:left; 
    width: 25%;
}

div.comments_middle a,
div.comments_right a {
    text-decoration:none;
}

div.comments_right a {
    color: #840000;
    font-weight: bold;
}

div.comments_middle a:hover,
div.comments_right a:hover {
    text-decoration:underline;
}

div.comments_clear {
    clear:both;
}

div#more_comments_container {
    width:100%;
    text-align: center;
    margin: 10px auto;
}

div#more_comments_container a#more_comments {
     background: #840000; 
     padding: 5px; 
     color: #ffffff; 
     text-decoration:none; 
}

/* Jobs-Button */

div#jobs-banner {
    background: #ff9d00;
    color: #111111;
    padding: 10px 10px 10px 10px;
    font-size: 17px;
    border: 2px solid black;
    font-weight: bold;
    text-align: center;
    font-style: italic;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    -webkit-box-shadow: 5px 5px 7px #666666;
  -moz-box-shadow: 5px 5px 7px #666666;
  box-shadow: 5px 5px 7px #666666;
}

div#jobs-banner:hover {
    border: 2px solid black;
}

.google-auto-placed {
    display: none !important;
}

/* Meistkommentiert verstecken */

li.ui-state-default:nth-child(3) {
    display: none;
}

/* Ratgeber-Einträge mit 2 Zeilen schmaler zusammenrücken */

.sf-menu ul li {
  margin: 5px 0 6px 0 !important;
}

.sf-menu ul li a {
  line-height: 1.3 !important;
  padding: 0 10px;
}
