/*
 Theme Name:   Surfarama  Child
 Theme URI:    http://example.com/surfarama-child/
 Description:  Surfarama Child Theme
 Author:       Timo Elliott
 Author URI:   http://timoelliott.com
 Template:     surfarama
 Version:      1.0.0
 Tags:         custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats
 Text Domain:  surfarama-child
*/

@import url("../surfarama/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

.textwidget {
	line-height: 20px;
	line-height: 1.25rem;
	}

.textwidget img{
	margin-bottom: 8px;
	margin-right: 8px;
	margin-top: 0px;
	}

#sidebar-home { 
		margin-right: 0; 
	} /* fixes alignment (defaulted at col300) */
	
#sidebar-home {
	float: right;
	margin-top: 5px; /* for IE8 */
	margin-top: 0.3125rem;
}

#sidebar-home {
	overflow: hidden;
	width: 24%;
	margin-left: -1.2%;
	padding: 20px 0;
}

#sidebar-home .widget {
			display: block;
			padding: 0 20px 20px 20px;
			float: left;
			width: 100%;
			/*width: 100%;*/
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			margin-left: 0;
			margin-right: 0;
			margin-top: 0;
			margin-bottom: 20px;
		}
		
#grid-wrap {
	position: relative;
	width: 720px;
	width: 45rem;
	/*width: 980px; /* for IE8 */ 
	/*width: 61.25rem; */
}

.commentlist li.comment article[id*=comment-] img, 
			.post_content img {
				margin: 0 0 8px 0; /* for IE8 */ 
				margin: 0 0 0.5rem 0; 
				width: inherit;
				max-width: 100%; 
				height: auto; 
			}

.commentlist li.comment article[id*=comment-] p,
			.post_content p { 
				margin: 0 0 16px 0; /* for IE8 */
				margin: 0 0 1rem 0; 
			}
		
@media only screen and (max-width: 824px) {

	#sidebar-home .widget {
		width: 100%;
		margin-left: 0;
		marging-right; 0;
	}
	
}

@media only screen and (max-width: 768px) {

	#sidebar-home.col300 {
		float: none;
		display: block;
		width: 100%;
		clear: both;
		margin: 0;
	}
	
	#grid-wrap {
		width: 768px;
	}
	
	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 720px) {
	
	#grid-wrap {
		width: 720px
	}

	#main.col700 {
		width: 100%;
		display: block;
	}
	
}

@media only screen and (max-width: 640px) {
	
	#grid-wrap {
		width: 640px;
	}

	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 600px) {
	
	#grid-wrap {
		width: 600px;
	}

	#main.col700 {
		width: 100%;
		display: block;
	}
}
@media only screen and (max-width: 576px) {
	
	#grid-wrap {
		width: 576px;
	}

	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 480px) {
	
	#grid-wrap {
		width: 480px;
	}
	
	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 360px) {
	
	#grid-wrap {
		width: 360px;
	}
	
	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 320px) {

	#grid-wrap {
		width: 320px;
	}

	#main.col700 {
		width: 100%;
		display: block;
	}
}

@media only screen and (max-width: 240px) {
	
	#grid-wrap {
		width: 240px;
	}
	
	#main.col700 {
		width: 100%;
		display: block;
	}
}

/* if want three below:
#sidebar-home .widget {
			display: inline-block;
			float: left;
			width: 30.5%;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			margin: 1%;
		}
		
@media only screen and (max-width: 824px) {

	#sidebar-home .widget {
		width: 96%;
		margin: 1.2%;
	}

}
*/

.wp-socializer-buttons iframe { 
		min-height: 0px;
	}
	
.post_content ul#related_posts_thumbnails li:before {
					content:none;
	}

.post_content ul#related_posts_thumbnails {
					list-style-type: none;
					list-style-position: inside;
					padding: 0;
					margin: 0;
	}

.post_content ul#related_posts_thumbnails li{
					float: left;
					margin: 0px;
					padding: 2px;
					width: 32.5%;
					min-width: 150px;
					display: block;
					border-right-width: 0px;
					border-right-style: none;
					border-right-color: rgb(221, 221, 221); background-color: rgb(255, 255, 255);
	}
	
.post_content ul#related_posts_thumbnails li a img{
					padding: 0px;
					margin: 0px;
					border: 0pt none;
	}
	
.post_content ul#related_posts_thumbnails li a{
					display: block; 
					width: 150px; 
					overflow: hidden;
					min-height: 30px; 
					font-family: Arial; 
					font-style: normal;
					font-variant: normal;
					font-weight: normal;
					font-size: 12px;
					line-height: normal;
					font-size-adjust: none;
					font-stretch: normal;
					-x-system-font: none;
					color: #333333;
					text-decoration: none;
	}

img.wpp-thumbnail.wpp_cached_thumb.wpp_featured {
border: 1px solid #000;
}

.wp-socializer-buttons iframe{
	margin: 0;
	}