/*
Theme Name: Direkte Aktion Theme Pro
Description: Direkte Aktion AccessPress-Mag-Pro Childtheme
Author: Ben
Author URI: http://www.fau.org
Template: accesspress-mag-pro
Description:  Oink.
Version:      1.0
License:      GNU General Public License v3 or later
License URI:  http://www.gnu.org/licenses/gpl-3.0.html 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/*---------------------------------------------------
        Reset
-----------------------------------------------------*/
@import url("fonts/fonts.css");

@import url("../accesspress-mag-pro/style.css");

h1, h2, h5, h6, #secondary-left .widget-title, #secondary-right .widget-title, #secondary .widget-title, #colophon .widget-title,
.mag-slider-caption .slide-title,  .mag-small-slider-caption .slide-title,
h3, h4,
#site-navigation ul li a, #top-navigation .menu li a, #top-right-navigation .menu li a, #footer-navigation ul li a, .author-title {
    font-family: Trueno !important;
    word-wrap: break-word;
    font-weight: 600;
}

a:focus {
    outline: 4px dotted rgba(0,0,0, 0.5) !important;
}

.post_content a, .footnote_plugin_text a {
    text-decoration: rgba(200,30,30,0.4) underline;
}


/** improves anchor links */
h1 span[id]:before, h2 span[id]:before, h3 span[id]:before {
    display: block; 
    content: " "; 
    margin-top: -110px; 
    height: 120px; 
    visibility: hidden;
    position: relative;
    z-index: -1;
}

:target, .footnote_selected {
    background-color: #F99;
}
.footnote-reference-container td.footnote_selected, sup.footnote_plugin_tooltip_text.footnote_selected {
    color: black;
}

.home .widget-area {
  margin-top: 0px;
}

.home-post-author a {
  color: #dd0033;
}

.post-desc-wrapper .post-title {
  font-size: 20px;
  font-weight: 600;
}

.mag-slider-caption .slide-title {
  font-weight: 600;
}

body {
    font-family: Trueno, sans-serif !important;
}

h1.site-title {
    font-size: 34px;
    letter-spacing: 3px;
    font-weight: bold;
}

h2.site-description {
    font-size: 22px;
    line-height: 22px;
    text-transform: initial;
}

.big-cat-box span, span.cat-name, .small-slider-wrapper .cat-name {
    font-family: Trueno;
}

.big_slide .slide-image img {
    min-width: 765px;
}
.big_slide .slide-image {
    max-height: 496px;
}

.bottompost-wrapper {
  margin-top: 20px;
}
.second-block-wrapper .rightposts-wrapper .single_post {
  margin-bottom: 30px;
}

    
.sitelogo-wrap {
  width: 100px;
  margin-top: -20px;
  -webkit-transition:all 0.25s ease-out;
  -moz-transition:all 0.25s ease-out;
  -ms-transition:all 0.25s ease-out;
  -o-transition:all 0.25s ease-out;
  transition:all 0.25s ease-out;
}

.sitelogo-wrap:hover {
  -webkit-transform:scale(1.3);
  -moz-transform:scale(1.3);
  -ms-transform:scale(1.3);
  -o-transform:scale(1.3);
  transform:scale(1.3);
}

.logo-ad-wrapper {
  padding: 0px;
}

.logo-ad-wrapper .apmag-container {
    margin-left: -22px;
}

.sitetext-wrap {
    position: absolute;
    margin-left: 110px;
}

.entry-header .entry-excerpt {
    font-size: 150%;
    margin-bottom: 15px;
    font-family: Caladea, Georgia, serif;
}

.page-header .page-title {
    line-height: 36px;
    padding-bottom: 5px;
}
.page-header .page-title span {
    background: none;
    font-weight: 600;
}

article.hentry h1.entry-title, h1.page-title {
    font-weight: 600;
    font-size: 280%;
}

h2.entry-title {
    font-weight: 600;
    font-size: 260%;
    text-transform: uppercase;
    line-height: 40px;
}

header.entry-header, header.page-header {
    text-align: center;
}

.big-cat-box {
    width: 200px;
}

div.post_content, div.entry-content {
    font-size: 1.1em;
}

.post_content p, .post_content li, .entry-content p, .entry-content li {
    font-size: 1em;
    line-height: 1.8;
    font-family: Caladea, Georgia, serif;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.post-content p, .footnote_plugin_text, .author-description, h3.post-title {
   -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

blockquote {
    font-size: 15px;
}

.ap_tagline_box {
    margin-bottom: 30px;
}

.post_content p img {
  max-width: 100%;
}
.wp-caption {
  border: 0px;
}

.post_content > p:first-child:first-letter, .ap-dropcaps.ap-normal {
    color: #fff;
    background: #dd0033;
    background-image: url(img/blackcorner_15px.gif);
    background-repeat: no-repeat;
    background-position: right bottom;
    float: left;
    font-size: 350%;
    line-height: 140%;
    padding-top: 2px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    margin-right: 5px;
    width: inherit;
}

.apss-social-share.apss-theme-4 {
    margin-left: auto;
    margin-right: auto;
    width: 240px;
}

.is-sticky #site-navigation {
    background-image: url(img/da_48px.png);
    background-repeat: no-repeat;
    box-shadow: 0 0 15px #efefef;
}
.is-sticky #site-navigation .apmag-container {
    padding-left: 80px;
}
.is-sticky .nav-wrapper {
    padding-left: 0px;
}
.nav-wrapper {
    padding-left: 55px;
}



.seriesbox, .author-metabox {
    float: right;
    min-width: 260px;
    border: none !important;
    margin: 0px 10px 10px 10px;
    padding: 6px;
    background: /*url(/wp-content/themes/accesspress-mag-pro/images/slight-border.jpg) repeat-x scroll left bottom */ #ffffff;
}

.author-metabox .author-title {
    text-transform: none !important;
}

.author-metabox .author-desc-wrapper {
    margin-top: 15px;
}

.seriesbox .ap_toggle {
    border: 0px;
}
.seriesbox .ap_toggle_title {
    padding: 0px;
    padding-left: 20px;
}

.seriesbox .current-item {
    color: #dd0033;
}

.seriesbox img {
    margin: 0px;
}

html>body .serieslist-box {
    width: 30%;
    height: 250px !important;
    float: left;
    -webkit-box-shadow: 0 0 10px #c7c7c7;
    -moz-box-shadow: 0 0 10px #c7c7c7;
    box-shadow: 0 0 10px #c7c7c7;
    margin: 4px;
    border: 0px;
    overflow: hidden;
}

.footnote-section {
  visibility: hidden;
  float: left;
}
  
.serieslist-box img {
    max-height: 100px !important;
    width: auto !important;
}

.stocpagination a:visited, .stocpagination a {
    color: #222 !important;
}
.page-numbers.current:hover, .page-numbers.current {
  background: #333 !important;
}
  
.author-metabox .author-avatar {
    display: inherit;
    width: inherit;
}

.widget li > ul {
    margin-top: 5px;
    margin-left: 0px;
}

.widget ul li:hover a {
    color: #222 !important;
}
.widget ul li:hover > a {
    color: #dd0033 !important;
}

.widget_rss > ul > li {
    padding-left: 0px;
}
.widget_rss > ul {
    margin-left: 0px;
}

.postbox {
    float: left;
    width: 700px;
    margin-left: 100px;
}

.post_image {
    text-align: center;
}

.single-post-no-sidebar .similar-posts .single_post {
    margin: 0;
    padding: 5px;
    margin-bottom: 39px;
}

.event-meta-datetime {
    width: 50%;
    text-align: right;
    font-size: 19px;
    border-right: 1px solid black;
    padding-right: 10px;
    float: left;
}

.event-meta-location {
    font-size: 19px;
    padding-left: 10px;
    float: left;
    max-width: 45%;
}

.event-meta {
    margin-bottom: 20px;
}

.events-image {
    width: 110px;
    position: absolute;
}

.events-info {
    margin-left: 110px;
    overflow: hidden;
}
.events-table > li {
    min-height: 110px;
    margin-bottom: 15px;
}
ul.events-table {
  list-style: none;
}
.events-table ul.event-categories {
  list-style: none;
  display: inline-block;
  margin: 0px;
}
.events-table ul.event-categories li {
    display: inline-block;
    list-style: outside none none;
    margin-right: 5px;
    font-size: 1em;
}
ul.events-table h2 {
    margin-bottom: 0px;
}

.widget ul li h3.post-title a {
    font-size: inherit;
}

.widget_em_widget ul, .widget_em_widget ul li, .widget_nav_menu ul, .widget_nav_menu ul li {
    margin-left: 0px;
    padding-left: 0px;
}

.ratings-wrapper {
    display: none;
}

@media screen and (min-width: 768px) {
    #primary.series-toc, .single-post-no-sidebar #primary, .page-no-sidebar #primary, .archive-no-sidebar #primary {
        width: 70%;
        margin-left: 10%;
    }
}

@media screen and (max-width: 979px) {
    .block-post-wrapper h3.post-title, .bottompost-wrapper h4.post-title, .second-block-wrapper .rightposts-wrapper h4.post-title, .random-posts-wrapper h4.post-title, .sidebar-posts-wrapper h4.post-title, .review-posts-wrapper h4.post-title {
        margin-bottom: 3px;
    }
}

@media screen and (max-width: 767px) {
    .post_content p, .post_content li, .entry-content p, .entry-content li {
      font-size: 0.9em;
    }

    .is-sticky #site-navigation.main-navigation {
        position: fixed !important;
    }
    .sitetext-wrap {
        text-align: left;
    }
    .search-icon {
        right: 60px;
        left: unset !important;
    }    

    div#footnote_references_container, .footnote-reference-container {
      display: none;
    }
}

@media screen and (max-width: 579px) {
  section.slider-wrapper {
      display: none;
  }

  h1.site-title {
      font-size: 24px;
  }

  h2.site-description {
      font-size: 18px;
  }
    
  article.hentry h1.entry-title {
      font-weight: 600;
      font-size: 180%;
  }
  .entry-header .entry-excerpt {
      font-size: 110%;
  }

  .big_slide .slide-image img {
      min-width: inherit;
  }    
  .big_slide .slide-image {
      max-height: inherit;
  }
  
  .bottompost-wrapper div.post-image, .second-block-wrapper .rightposts-wrapper div.post-image {
    margin-bottom: 0px;
  }

  div#footnote_references_container, .footnote-reference-container {
      display: none;
  }
}

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

h1.site-title {
    font-size: 39px;
}

h2.site-description {
    font-size: 16px;
}
  
}


@media print {
  .similar-posts-main-title, .similar-posts, #respond, .site-footer, #site-navigation, .apss-social-share, .footnote_tooltip, #back-top {
    display: none !important; 
  }
  
  #primary {
    width: 100% !important;
  }
  
  #secondary-right-sidebar, #secondary-left-sidebar {
    float: none !important;
    clear: both;
  }
  
  .author-metabox {
    opacity: 1.0;
    page-break-inside: avoid;
  }
  
  .footnote-section {
    display: block !important;
    visibility: visible !important;
    float: none;
    clear: both;
    opacity: 1.0 !important;
  }
  
  .footnote-section td {
    border: none;
  }
  
  .site-branding {
    margin: auto !important;
    width: 400px !important;
    float: none !important;
￼    text-align: center !important;
  }
  
  .sitelogo-wrap {
    margin: auto !important;
  }
  
  .sitetext-wrap {
    position: static !important;
    margin: auto !important;
  }
  
  .logo-ad-wrapper .apmag-container {
    margin-left: 10px !important;
  }

  .post_content a:after{
    content:" (" attr(href) ") ";
    font-size:80%;
    font-weight:normal;
  }
  
  @page {
    margin: 2cm;
  }
}
