/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Default GeneratePress child theme
Author: Tom Usborne
Author URI: https://tomusborne.com
Template: generatepress
Version: 0.1
*/

/* GenerateBlocks Affiliate Styles */
.top-picks-container, .top-picks-container-last {
    border-bottom: 1px solid #0366d6;
}
.top-picks-container-last {
    margin-bottom: 30px;
}

.top-picks-container {
    margin-bottom: 30px;
}

.gb-container.box-shadow {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* Make all content links bold */
.single-post #content a {
    font-weight: bold !important;
}

.wp-block-image {
    margin-bottom: 30px;
}

.post-panel-fazit {
    background: #f7f7f7;
    padding: 24px 25px 24px 25px;
    border-left: 5px solid #f0533a;
    margin-bottom: 20px;
}
.post-panel-fazit h4 {
    color: #f0533a;
}

.auf-einen-blick {
    background: #fff7e1;
    padding: 35px 25px 20px 30px !important;
    border-radius: 5px;
    margin-bottom: 30px;
	border: 2px solid #FEEFB3;
}

/* YouTube Embed Video */

.iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  margin-bottom: 30px !important;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* General Styles */
body {
    background: #fff !important;
}

h1, h2, h3, h4, h5 {
    color: #1a373e !important;
	font-weight: bold !important;
}

h4 {
    font-size: 18px !important;
    font-weight: 500 !important;
}

h5 {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Layout Adjustments */
@media only screen and (max-width: 600px) {
    img.attachment-full.size-full.wp-post-image {
        width: 100% !important;
    }
}

/* YouTube Embed Video */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 30px !important;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MetaSlider Image Carousel */
.caption-wrap {
    font-size: 10px !important;
}

.margin-bottom-40 {
    margin-bottom: 40px !important;
}

/* WP Show Posts */
.home h2 {font-size: 24px !important;}
.home .wp-show-posts-entry-title {
    font-size: 18px;
    margin-bottom: 7px;
}

.home .wp-show-posts-entry-title a {
    color: #8b20bb!important;
}

.home .wp-show-posts-entry-title a:hover {
    color: #253644 !important;
}

/* Homepage - Mission Box */

#mission-wrapper {border: 3px solid #985ab3;}

/* Full-width featured image on mobile */
@media only screen and (max-width: 600px) {
    img.attachment-full.size-full.wp-post-image {
        width: 100% !important;
    }
    .incontent-featured-image {
        display: none;
    }
    .mks_button {
        text-align: center !important;
    }
}

@media (min-width: 1024px) {
    
    .content-area .type-page,
    .home .content-area .type-page,
    .content-area .type-page .type-post {
        margin: 0 !important;
    }
    .inside-header {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .site-logo {
        margin-top: 6px !important;
    }
	.incontent-featured-image {
        width: 100%;
        padding: 0 0 10px 0;
        margin-top: 6px;
    }
}

.alignleft {
    margin-bottom: 20px;
}

.search .type-post,
.blog .post,
.archive .post {
    padding: 20px 0;
}

.blog .post,
.search .type-post,
.archive .post {
    display: block !important;
    clear: both !important;
}

/* Related Posts Plugin */
.relpost-thumb-container .relpost-block-single-text {
    font-weight: 600;
    margin-top: 15px;
}

/* Hide Featured Image */
.featured-image {
    display: none !important;
}

/* Header Affiliate Disclaimer */
@media (min-width: 1024px) {
    .header-container {
        width: 100%;
        background: #f2f2f2;
        padding: 10px 20px;
    }
    .header-affiliate-disclaimer {
        text-align: left;
        font-size: 10px;
        color: #333;
        font-style: italic;
		padding-bottom: 15px;
		border-bottom: 1px solid #f2f2f2;
		margin-top:20px;
		margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .header-affiliate-disclaimer {
        text-align: left;
        font-size: 10px;
        color: #333;
        font-style: italic;
		padding-bottom: 15px;
		border-bottom: 1px solid #f2f2f2;
		margin-bottom: 20px;
    }
	.home .wp-show-posts-entry-title {font-size: 26px !important; margin-bottom: 7px;}
}

/* Hide Posted on */
.entry-header .entry-meta {
    display: none !important;
}

/* MISC */
.box {
    position: relative;
    overflow: hidden;
    margin: 0 0 1.5em;
    padding: 1em 1em 0;
    border: 1px solid #e9e9e9;
    border-left: none;
    border-right: none;
}

.box * {
    margin-bottom: 1em;
    color: #666;
}

.box0 {
    background: #f5f5f5;
    border-color: #e5e5e5;
}

.box1 {
    background: #fff7e1;
    border-color: #f2e5c5;
    color: #aa7f2b;
}

.box2 {
    background: #e1f0d9;
    border-color: #c6e2b9;
    color: #360;
}

.box3 {
    background: #f7d9d9;
    border-color: #f2c3c3;
    color: #ac2b2b;
}

.box4 {
    background: #d9edf7;
    border-color: #c1e0f1;
    color: #369;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.post-image {
    width: 300px !important;
    height: 200px !important;
    float: left !important;
    margin-top: 0px !important;
    margin-right: 20px !important;
}

.entry-summary {
    margin-top: 0px !important;
}

.entry-header h2 {
    margin-bottom: 20px !important;
    color: #1a373e;
}

#post-modified-info {
    font-size: 12px;
	margin-top: 20px;
	color: #8c8c8c;
}

.wp-show-posts-entry-meta {
    margin-top: 7px !important;
}

#content {
    margin-top: 0px !important;
	padding-top: 0px !important;
}

.inside-article .entry-content {
    margin-top: 10px !important;
}

.fa-star {
    color: #ec9535 !important;
}

.adsense-box {
    margin: 30px 0 0 0;
}

/* AAWP Plugin */
.aawp-product--horizontal {
    border: 3px solid #61ac61 !important;
}
.amz-box p, .aawp-product__description {
    color:#999999;
    font-size:12px;
}
.aawp-product__description p {
    margin-bottom:20px !important;
}
.aawp-button--icon {
    padding: 20px 20px 20px 35px !important;
    font-weight: bold !important;
}

/* BUTTONS */
.button {
    width: 85%;
    text-align: center;
}

.button-testbericht {
    text-transform: uppercase;
    color: #fff !important;
    width: 100% !important;
    margin: 0 0 30px 0;
    padding: 20px 0;
}

/* SIDEBAR */
.sidebar h2 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700 !important;
    color: #999999 !important;
    margin-bottom: 15px !important;
}

/* WIDGETS */
.widget p {
    font-size: 14px !important;
}

/* DROPDOWN MENU WIDTH */
.main-navigation ul ul {
    width: 300px;
}

/* MENU STYLES */
.main-navigation {
    background-color: #fff;
}

.main-navigation .navigation-search input[type="search"],
.main-navigation .navigation-search input[type="search"]:active {
    color: #8f5ead;
    background-color: #fff !important;
}

.main-navigation .navigation-search input[type="search"]:focus {
    color: #1a373e;
    background-color: #fff !important;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle {
    color: #1a373e !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.main-navigation .menu-toggle {
    background-color: #8f5ead !important;
    color: #fff !important;
}

/* SUB-NAVIGATION STYLES */
.main-navigation .main-nav ul ul li a {
    background: #fff !important;
    color: #1a363e;
}

/* MENU AND SUB-NAVIGATION HOVER STYLES */
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li.sfHover > a,
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus > a,
.main-navigation .main-nav ul ul li.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li[class*="current-menu-"]:hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"]:focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"]:hover > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"]:focus > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a {
    color: #8f5ead !important;
    background-color: #fff !important;
}

/* Default Table Style */
table {
  color: #333;
  background: white;
  border: 1px solid grey;
  font-size: 12pt;
  border-collapse: collapse;
}
table thead th,
table tfoot th {
  color: #777;
  background: rgba(0,0,0,.1);
}
table caption {
  padding:.5em;
}
table th,
table td {
  padding: .5em;
  border: 1px solid lightgrey;
}
