/* =Media queries
-------------------------------------------------------------- */

/* Minimum width of 600 pixels. */
@media screen and (max-width: 600px) {
	.author-avatar {
		float: left;
		margin-top: 8px;
		margin-top: 0.571428571rem;
	}
	.author-description {
		float: right;
		width: 80%;
	}
	.site {
		margin: 0 auto;
		max-width: 960px;
		max-width: 68.571428571rem;
		overflow: hidden;
	}

	body.template-front-page .site-content,
	body.single-attachment .site-content,
	body.full-width .site-content {
		width: 100%;
	}

	.site-header h1,
	.site-header h2 {
		text-align: left;
	}
	.site-header h1 {
		font-size: 26px;
		font-size: 1.857142857rem;
		line-height: 1.846153846;
		margin-bottom: 0;
	}
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		border-bottom: 1px solid #ededed;
		border-top: 1px solid #ededed;
		display: inline-block !important;
		text-align: left;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		color: #6a6a6a;
		line-height: 3.692307692;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.main-navigation li a:hover {
		color: #000;
	}
	.main-navigation li {
		margin: 0 40px 0 0;
		margin: 0 2.857142857rem 0 0;
		position: relative;
	}
	.main-navigation li ul {
		display: none;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 1;
	}
	.main-navigation li ul ul {
		top: 0;
		left: 100%;
	}
	.main-navigation ul li:hover > ul {
		border-left: 0;
		display: block;
	}
	.main-navigation li ul li a {
		background: #efefef;
		border-bottom: 1px solid #ededed;
		display: block;
		font-size: 11px;
		font-size: 0.785714286rem;
		line-height: 2.181818182;
		padding: 8px 10px;
		padding: 0.571428571rem 0.714285714rem;
		width: 180px;
		width: 12.85714286rem;
		white-space: normal;
	}
	.main-navigation li ul li a:hover {
		background: #e3e3e3;
		color: #444;
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #636363;
		font-weight: bold;
	}
	.menu-toggle {
		display: none;
	}
	.entry-header .entry-title {
		font-size: 22px;
		font-size: 1.571428571rem;
	}
	#respond form input[type="text"] {
		width: 46.333333333%;
	}
	#respond form textarea.blog-textarea {
		width: 79.666666667%;
	}
	.template-front-page .site-content,
	.template-front-page article {
		overflow: hidden;
	}
	.template-front-page.has-post-thumbnail article {
		float: left;
		width: 47.916666667%;
	}
	.entry-page-image {
		float: right;
		margin-bottom: 0;
		width: 47.916666667%;
	}
	.template-front-page .widget-area .widget,
	.template-front-page.two-sidebars .widget-area .front-widgets {
		float: left;
		width: 51.875%;
		margin-bottom: 24px;
		margin-bottom: 1.714285714rem;
	}
	.template-front-page .widget-area .widget:nth-child(odd) {
		clear: right;
	}
	.template-front-page .widget-area .widget:nth-child(even),
	.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
		float: right;
		width: 39.0625%;
		margin: 0 0 24px;
		margin: 0 0 1.714285714rem;
	}
	.template-front-page.two-sidebars .widget,
	.template-front-page.two-sidebars .widget:nth-child(even) {
		float: none;
		width: auto;
	}
	.commentlist .children {
		margin-left: 48px;
		margin-left: 3.428571429rem;
	}
}

/* Iphone5 and below */
@media only screen and (max-width: 640px) {

	.page-top { display: none; }
	.site { padding: 0 10px; width: auto; background-size: 100% auto; }

	.site-header { margin: 10px 0 0; padding: 5px 0 0; }
	.site-header .logo,
	.site-header #logo { position: static; display: block; line-height: 100%; z-index: 0; }
	.site-header #logo img { width: 100%; }
	.site-header .search-form { position: static; text-align: center; }
	.site-header .search-form input#s {
	    background-size: cover;
	    font-size: 14px;
	    height: 29px;
	    padding: 2px 40px 2px 6px;
		width: 160px;
	}

	.main-navigation { width: auto; height: auto; padding: 10px; margin: 0; }

	.slider-container { height: auto; margin-bottom: 40px; }
	.cycloneslider-slides { height: 250px !important; background: rgba(0, 0, 0, 0.5); }
	.cycloneslider-template-black .slider-text {
    	height: 150px !important;
	}
	.cycloneslider-template-black .vignette img,
	.cycloneslider-template-black .cycloneslider-slide { width: 100%; }
	.cycloneslider-template-black .cycloneslider-caption {
		height: auto !important;
	    position: static !important;
	    width: auto !important;
	    background: none transparent !important;
	}
	.cycloneslider-template-black .cycloneslider-caption-title {
	    font-size: 25px !important;
	    line-height: 35px !important;
	}
	.cycloneslider-template-black .controls { width: 100% !important; bottom: -8px !important; }
	.cycloneslider-template-black .cycloneslider-prev { width: 45% !important; float: left; }
	.cycloneslider-template-black .cycloneslider-next { width: 45% !important; float: right !important; }

	.actions-container { display: none; margin: 12px 0 16px; }
	.actions-container .home-action { float: none; padding: 10px; }

	.articles-container .two-columns-set .column.f-right,
	.articles-container .two-columns-set .column.f-left { float: none; width: auto; margin: 0; }
	.articles-container .home-post { padding: 15px 0; }
	.articles-container .home-post .thumbnail { width: auto; height: 200px; float: none; text-align: center; }
	.articles-container .home-post .post-content { float: none; width: auto; }
	.articles-container .home-post .post-content h3 { font-size: 20px; text-align: center; margin-top: 5px; }
	.articles-container .home-post .post-content .view-more { float: none; }


	.articles-container .action-alerts .home-post .thumbnail,
	.articles-container .action-alerts .home-post .post-content { width: auto; }

	.issues-container .issue { float: none; width: auto; margin: 10px 0; }
	.issues-container .issue .title { height: auto; margin: 5px 0 0; }
	.issues-container .issue .thumbnail { height: 150px; width: auto; }

	.footer .protecting-banner { background-size: auto 100%; }
	.footer .footer-nav { border-bottom: 1px solid gray; }
	.footer .footer-nav li {
	    border: 0 none;
	    display: inline-block;
	    margin: 3px;
	    padding: 3px;
	}

	/* Layout */
	.col3-layout .col-main { float: none; width: auto; }
	.col3-layout .col-right { float: none; background: none transparent; min-height: 0; }
	.col3-layout .col-left { float: none; }

	.col3-layout .widget-area { width: auto !important; padding: 10px 0 !important; }
	.widget-area .widget_sswidget #ss_searchbox { padding: 5px 0 5px 5px; width: 98%; }

	.widget-area .widget_subpages { padding: 5px 10px; }
	.widget-area .widget_subpages { display: block; }
	
	.mobile-header {
		display: block;
	    background: none repeat scroll 0 0 #000000;
	    width: 100%;
	    overflow: hidden;
	    height: 48px;
	    position: relative;
	    z-index: 1000;
	}
	.mobile-header a {
		cursor: pointer;
	    display: block;
	    width: 48px;
	    text-indent: -9999em;
	    float: left;
	    background: url('../images/menubg.png') no-repeat center transparent;
	    height: 100%;
	}
	.mm-list > li > a, .mm-list > li > span {
		font-size: 18px;
		text-transform: uppercase;
		color: #fff;
		white-space: normal;
	}
	.mm-menu .mm-list > li > a.mm-subopen:after, .mm-menu .mm-list > li > a.mm-subclose:before {
		border-color: #007BDB;
		width: 10px;
		height: 10px;
	}

	ul#primary-nav,
	ul#secondary-nav,
	ul.advanced-recent-posts,
	.widget-area .donate-widget,
	.widget-area .side-effects-widget { display: none; }
	.widget-area .rss-widget p { width: auto; padding: 0; border: 0 none; }
	.widget-area .rss-widget a { background-size: auto 100%; }

	.widget-area .video-box iframe { height: 200px !important; }
	.widget-area .video-box a { font-size: 15px; }

	.parent-page .page-header, .archive-header { height: auto; margin: 0; border-bottom: 1px solid #efefef; }
	
	.archive-header .archive-title { float: none; }

	.page-header .header-image,
	.archive-header .header-image { height: 44px; }
	.archive-header .header-image img { width: 100%; height: 100%; }

	.subscribe-form #cc_email_address { display: block; width: 200px; }

	.connect-footer { margin: 42px 0 0; }
	.fb_iframe_widget_loader { display: block !important; }

	/* Category page */
	.search .main .posts-container,
	.category .main .posts-container,
	.archive .main .posts-container { padding: 0; }

	.search article .entry-header, .category article .entry-header, .archive article .entry-header { margin: 5px 0; }

	.search article .thumbnail, .category article .thumbnail, .archive article .thumbnail,
	.search article .post-data, .category article .post-data, .archive article .post-data,
	.search .site-content .pagination, .category .site-content .pagination,
	.archive .site-content .pagination { float: none; width: auto; }

	.fb_iframe_widget span,
	.fb_iframe_widget iframe { width: 100% !important; }

	/* Article page */
	.site-content article,
	.entry-content { padding: 0; }
	.entry-content .side-content { margin: 0 auto 20px; float: none; }

	.sharing .actions .bookmark,
	.sharing .actions .print { display: none; }

	.entry-content img, .entry-content embed, .entry-content iframe, .entry-content object, .entry-content video { width: auto; margin: 5px 0; }
	.entry-content img.alignleft { margin-right: 5px; }
	.entry-content img.alignright { margin-left: 5px; }

	.entry-content table, .entry-content tbody, .entry-content tr, .entry-content td, .comment-content td { display: block; }
	.entry-content td div, .comment-content td div { float: none !important; height: auto !important; }
	.entry-content p strong span { padding: 0 !important; }

	.wpcf7 textarea { width: 90%; }

	/* Videos page */
	.category-videos .entry-summary .view-all { background-size: auto 98%; height: 50px; }
	ul.ytchagallery div.ytcthumb-cont { width: 100% !important; }
	.ytcplayer-wrapper.stuck { height: 184px !important; width: 94.5% !important; }
	iframe.ytcplayer { margin: 0 !important; }

}