﻿/*
 Theme Name:   GeneratePress Child
 Theme URI:    http://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Thomas Usborne
 Author URI:   http://edge22.com
 Template:     generatepress
 Version:      0.1
*/


/* JS doet de ads eerst randomizen en daarna tonen (zie widget). */
#sl24_random_ads {
	display: none;
}
#masthead .inside-header{
	padding: 10px 10px 20px 10px;
}


/* BEGIN: Margin tussen advertenties */
.dfad {
  margin-bottom: 15px;
}

/* EINDE: Margin tussen advertenties */

/* BEGIN: Streep onder Post titel */
.entry-title {
  border-bottom-style: solid !important;
  border-bottom-color: #3e3e3e;
  border-bottom-width: 1px;
}

/* Limit post image width */
.post-image-below-header.post-image-aligned-left .inside-article .post-image{
	max-width: 300px;
	height: auto;
}


/* BEGIN advertenties net onder het menu boven, de content inclusief media queries*/
#BeforeContentAdds{
	width:100%;
	margin-bottom:10px;
}
#BeforeContentAdds .add{
	display: inline-block;
	width: 50%;
	text-align: left;
}

@media (max-width: 910px){
	#BeforeContentAdds .add img{
		width: 300px;
	}
}
@media (max-width: 902px){
	#BeforeContentAdds .add img{
		width: 232px;
	}
}
@media (max-width: 894px){
	#BeforeContentAdds .add img{
		width: 230px;
	}
}
@media (max-width: 885px){
	#BeforeContentAdds .add img{
		width: 228px;
	}
}
@media (max-width: 877px){
	#BeforeContentAdds .add img{
		width: 225px;
	}
}
@media (max-width: 868px){
	#BeforeContentAdds .add img{
		width: 223px;
	}
}
@media (max-width: 859px){
	#BeforeContentAdds .add img{
		width: 221px;
	}
}
@media (max-width: 851px){
	#BeforeContentAdds .add img{
		width: 218px;
	}
}
@media (max-width: 842px){
	#BeforeContentAdds .add img{
		width: 216px;
	}
}
@media (max-width: 834px){
	#BeforeContentAdds .add img{
		width: 214px;
	}
}
@media (max-width: 825px){
	#BeforeContentAdds .add img{
		width: 211px;
	}
}
@media (max-width: 817px){
	#BeforeContentAdds .add img{
		width: 209px;
	}
}
@media (max-width: 808px){
	#BeforeContentAdds .add img{
		width: 207px;
	}
}
@media (max-width: 799px){
	#BeforeContentAdds .add img{
		width: 204px;
	}
}
@media (max-width: 791px){
	#BeforeContentAdds .add img{
		width: 202px;
	}
}
@media (max-width: 782px){
	#BeforeContentAdds .add img{
		width: 200px;
	}
}
@media (max-width: 774px){
	#BeforeContentAdds .add img{
		width: 197px;
	}
}
@media (max-width: 768px){
	#BeforeContentAdds .add img{
		width: 200px;
	}
}
@media (max-width: 759px){
	#BeforeContentAdds .add img{
		width: 197px;
	}
}
@media (max-width: 750px){
	#BeforeContentAdds .add img{
		width: 195px;
	}
}
@media (max-width: 742px){
	#BeforeContentAdds .add{
		padding:0;
	}
	#BeforeContentAdds .add img{
		width: 193px;
	}
}
@media (max-width: 733px){
	#BeforeContentAdds .add img{
		width: 190px;
	}
}
@media (max-width: 724px){
	#BeforeContentAdds .add img{
		width: 188px;
	}
}
@media (max-width: 716px){
	#BeforeContentAdds .add img{
		width: 186px;
	}
}
@media (max-width: 707px){
	#BeforeContentAdds .add img{
		width: 183px;
	}
}
@media (max-width: 699px){
	#BeforeContentAdds .add img{
		width: 181px;
	}
}
@media (max-width: 690px){
	#BeforeContentAdds .add img{
		width: 179px;
	}
}
@media (max-width: 682px){
	#BeforeContentAdds .add img{
		width: 176px;
	}
}
@media (max-width: 673px){
	#BeforeContentAdds .add img{
		width: 174px;
	}
}
@media (max-width: 664px){
	#BeforeContentAdds .add img{
		width: 172px;
	}
}
@media (max-width: 656px){
	#BeforeContentAdds .add img{
		width: 169px;
	}
}
@media (max-width: 647px){
	#BeforeContentAdds .add img{
		width: 167px;
	}
}
@media (max-width: 639px){
	#BeforeContentAdds .add img{
		width: 165px;
	}
}
@media (max-width: 630px){
	#BeforeContentAdds .add img{
		width: 162px;
	}
}
@media (max-width: 622px){
	#BeforeContentAdds .add img{
		width: 160px;
	}
}
@media (max-width: 613px){
	#BeforeContentAdds .add img{
		width: 158px;
	}
}
@media (max-width: 604px){
	#BeforeContentAdds .add img{
		width: 155px;
	}
}
@media (max-width: 596px){
	#BeforeContentAdds .add img{
		width: 153px;
	}
}
@media (max-width: 587px){
	#BeforeContentAdds .add img{
		width: 151px;
	}
}
@media (max-width: 579px){
	#BeforeContentAdds .add img{
		width: 148px;
	}
}
@media (max-width: 570px){
	#BeforeContentAdds .add img{
		width: 146px;
	}
}
@media (max-width: 562px){
	#BeforeContentAdds .add img{
		width: 144px;
	}
}
@media (max-width: 553px){
	#BeforeContentAdds .add img{
		width: 141px;
	}
}
@media (max-width: 544px){
	#BeforeContentAdds .add img{
		width: 139px;
	}
}
@media (max-width: 536px){
	#BeforeContentAdds .add img{
		width: 137px;
	}
}
@media (max-width: 527px){
	#BeforeContentAdds .add img{
		width: 134px;
	}
}
@media (max-width: 519px){
	#BeforeContentAdds .add img{
		width: 132px;
	}
}
@media (max-width: 510px){
	#BeforeContentAdds .add img{
		width: 129px;
	}
}
@media (max-width: 502px){
	#BeforeContentAdds .add img{
		width: 127px;
	}
}
@media (max-width: 493px){
	#BeforeContentAdds .add img{
		width: 125px;
	}
}
@media (max-width: 484px){
	#BeforeContentAdds .add img{
		width: 122px;
	}
}
@media (max-width: 476px){
	#BeforeContentAdds .add img{
		width: 120px;
	}
}
@media (max-width: 467px){
	#BeforeContentAdds .add img{
		width: 118px;
	}
}
@media (max-width: 459px){
	#BeforeContentAdds .add img{
		width: 115px;
	}
}
@media (max-width: 450px){
	#BeforeContentAdds .add img{
		width: 113px;
	}
}
@media (max-width: 442px){
	#BeforeContentAdds .add img{
		width: 111px;
	}
}
@media (max-width: 433px){
	#BeforeContentAdds .add img{
		width: 108px;
	}
}
@media (max-width: 424px){
	#BeforeContentAdds .add img{
		width: 106px;
	}
}
@media (max-width: 416px){
	#BeforeContentAdds .add img{
		width: 104px;
	}
}
@media (max-width: 407px){
	#BeforeContentAdds .add img{
		width: 101px;
	}
}
@media (max-width: 399px){
	#BeforeContentAdds .add img{
		width: 99px;
	}
}
@media (max-width: 390px){
	#BeforeContentAdds .add img{
		width: 97px;
	}
}
@media (max-width: 382px){
	#BeforeContentAdds .add img{
		width: 94px;
	}
}
@media (max-width: 373px){
	#BeforeContentAdds .add img{
		width: 92px;
	}
}
@media (max-width: 364px){
	#BeforeContentAdds .add img{
		width: 90px;
	}
}

/* EINDE content adds */

/* BEGIN: Regelafstand tussen posts verkleinen */
.post-image-aligned-left .inside-article {
  padding-bottom: 0px;
}
/* EINDE: Regelafstand tussen posts verkleinen */





/* BEGIN: Rechter kolom handhaven op mobiel */
@media (max-width: 768px) {
  .content-area, .sidebar {
    float: left;
    width: auto;
    left: auto;
    right: auto;
  }
  .content-area.grid-65 {
    width: 65%; /* Adjust to 100 - your sidebar percentage */
  }
  .sidebar.grid-35 {
    width: 35%; /* Adjust to your sidebar percentage */
  }
  .right-sidebar.separate-containers .site-main {
    margin: 30px 30px 30px 0px; /* Adjust to separating space value */
  }
  .both-sidebars.separate-containers .site-main {
    margin: 30px;
  }
  .left-sidebar.separate-containers .site-main {
    margin: 30px 0 30px 30px;
  }
  .both-left.separate-containers .site-main {
    margin: 30px 0px 30px 30px;
  }
  .both-right.separate-containers .site-main {
    margin: 30px 30px 30px 0;
  }
}
/* EINDE: Rechter kolom handhaven op mobiel */


/* BEGIN Sidebar Centreren */
.sidebar .widget :last-child {
  text-align: center;
}
/* EINDE Sidebar Centreren */