/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/

.format_text.entry-content > #myplusone, .format_text.entry-content > #fblike {
	display:none;
}

#header {
	background-size:100%;
}

.slicknav_arrow {
	color:black;
}


.entry-content .post_image {
    
    
	max-width:100%!important;
}

#text-4 > div > p:nth-child(3), #text-4 > div > p:nth-child(4) {
	margin-left:0!important;
}

.entry-content img {
    padding: 0.667em;
    border-width: 0.067em;
	background: #eee;
    border-style: solid;
    border-color: #ddd;
}



.format_teaser img {
	
            float: left!important;
    margin: 0 17px 10px 0!important;
	
	height:auto;
}


@media screen and (min-width:996px) {
	.menu-primary-menu-container {
		display:none;
	}

	
}

@media screen and (max-width:996px) {
	.menu {
		display:none;
	}
	.menu-primary-menu-container {
		display:block;
	}

	/*getting rid of extra Slicknav menu*/
	.slicknav_menu:nth-child(2) {
		display:none!important;
	}

	#content_box {
		background:none!important;
	}

	.custom #container, #content {
		width:100%;
	}

	#header {
		background-image: url('/wp-content/uploads/2016/02/dd_mobile_header.jpg');
		   	width: 80%;
   			margin: auto;
			    min-height: 32em!important;
			    border:none;
	}

	#sidebars {
		display:none;
	}

	.post_box {
		    border: 2px solid #666!important;
    	padding: 20px 30px!important;
    	margin-top: 10px!important;

	}

	.post-box img {
		border-width:.67em!important;		
	}

	.entry-content img {
		max-width:95%!important;
		height: auto!important;
	}
	
	.teasers_box {
		width:100%;
	}

	.teaser {
		    width: 48%;
    		padding: 0 1%;
		font-size:2.3em;

	}

	.teaser img {
		padding:4px!important;
	}

	.format_teaser {
		margin-top:0!important;
		margin-bottom:0!important;
	}

	.teaser h2, .teaser_date {
		font-size:16px!important;
	}
	
	.teaser p, .teaser_link {
		font-size:12px!important;
		line-height:1.2;
	}


	.teaser img {
		width:30%;
	}

#oas_Bottom_close, 
#oas_Bottom img, #oas_Bottom iframe  {
	float:left!important;
}


	

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

	#content_box {
		margin-top:-138px;
	}

}
