/*
Theme Name: National Plan
Description: Reponsive CSS for the National Plan to Reduce Violence Against Women and Children website
Version: 1
Author: Vicky Miller
*/
*/
/***********************************/
/************ Defaults *************/
/***********************************/
#_navigation {
	background-color: #FFF;
	border: none;
	cursor: pointer;
	display: none;	
	padding: 15px;
	position: absolute;
	left: 10px;
	top: 10px;
	margin: 10px;
	text-transform: uppercase;
	transition: all 1s;
}
#_navigation .lines {
	background-color: #290088;
	display: block;
	height: 4px;
	width: 40px;
}
.lines:before,
.lines:after {
	background-color: #290088;
    content: '';
    display: block;
	height: 4px;
	position: relative;
	transition: all .3s ease;
	transform-origin: 50%;
	width: 40px;
}
.lines:before {
	top: -8px;
}
.lines:after {
	top: 4px;
}
#_navigation .words {
	display: block;
	padding-top: 20px;
	text-transform:uppercase;
}
#_navigation:hover,
#_navigation:focus {
	background-color: #fff;
	transition: all 1s;
}
#_navigation.active .lines {
	width: 0;
}
#_navigation.active .lines:before {
	transform: rotate3d(0,0,1,45deg);
	top: 0px;
}
#_navigation.active .lines:after {
	transform: rotate3d(0,0,1,-45deg);
	top: -4px;	
}

    /* "TABLET" */
@media all and (max-width: 1190px) {
	body.home,
	#wrapper {
		background-size: 80% auto;
		width: auto;
	}
	header {
		padding: 0;
	}	
	p.topnav {
		width: 100%; 
		min-width: 620px;
	}
	.emergency {
		padding: 50px 3px 50px 40px
	}
	.respect {
		padding: 50px 3px 50px 40px
	}
	.quick a {
		padding: 17px 10px 13px 10px
	}
	.gov-logo {
		padding-left: 100px;
	}
	.np-logo {
		margin-right: 10px;
	}
	#_navigation {
		display: block;
		border: none;	
		padding-bottom: 25px;
		background: #fff;
		padding: 15px;
		position: absolute;
		top: 100px;
		z-index: 1;
	}	
	#mob-nav {
		background-color: #FFF;
		display: none;
		margin: 3px 0 0 0;
		padding-bottom: 50px;
		position: absolute;
		width: 45%;
		z-index: 9;
	}	
	#mainnav {
		border: none;
		bottom: 0;		
		height: auto;
		position: static;
		background-color: #290088;
	}
	#mainnav > ul {
		font-size: 0.9em;
		line-height: 1.8em;
	}
	#mainnav > ul > li {
		float: none;
		border-right: none;
	}	
	#mainnav > ul > li a {
		border-bottom: 1px solid #1e0063;
		color: #FFF;		
		height: auto;
		padding: 12px 20px;		
		text-align: left;	
	}
	#mainnav ul > li:last-child {
		border-right: none;
	}
	#mainnav ul > li:last-child:active,
	#mainnav ul > li:last-child:hover,
	#mainnav ul > li:last-child:focus {
		border-right: none;
	}
	#mainnav ul > li:last-child.current-menu-item,
	#mainnav ul > li:last-child.current-page-ancestor {
		border-right: none;
	}
	#mainnav > ul > li a:active,
	#mainnav > ul > li a:hover,
	#mainnav > ul > li a:focus {
		color: #000;
		background-color: #F6F5F2;
		padding: 12px 20px;
		border-top: none;
		height: auto;
	}	

	/* Sub Menus */
	#mainnav .mob-sub-menu {
		background-color: #1e0063;
		display: none;
	}
	#mainnav .mob-sub-menu li {
		line-height: 1.2em;
		font-size: .9em;
		display: inline;
		float: none;
		border: none;
	}
	#mainnav .mob-sub-menu li a {
		padding: 12px 20px;
	}	
	#mainnav ul.sub-menu > li:last-child {	
		border-right: none;
	}
	/* Expanders */
	#mainnav .show-hide {
		background: #290088 url(images/child-show.png) center center no-repeat;	
		border: none;		
		float: right;	
		height: 46px;
		width: 16px;		
		display: block;
		position: relative;
		z-index: 1;
	}
	#mainnav .show-hide.expanded {
		background: #290088 url(images/child-hide.png) center center no-repeat;		
	}
	#mainnav .show-hide:hover,
	#mainnav .show-hide:focus {
		background: #290088 url(images/child-show-active.png) center center no-repeat;
		height: 46px;
	}
	#mainnav .show-hide.expanded:active,
	#mainnav .show-hide.expanded:hover,
	#mainnav .show-hide.expanded:focus {
		background: #290088 url(images/child-hide-active.png) center center no-repeat;
	}	
	#mainnav .current-menu-item .show-hide,
	#mainnav .current-page-ancestor .show-hide {
		background: #f0f0f0 url(images/child-show-active.png) center center no-repeat;
	}
	#mainnav .current-menu-item .show-hide.expanded:active,
	#mainnav .current-menu-item .show-hide.expanded:hover,
	#mainnav .current-menu-item .show-hide.expanded:focus,
	#mainnav .current-page-ancestor .show-hide.expanded:active,
	#mainnav .current-page-ancestor .show-hide.expanded:hover,
	#mainnav .current-page-ancestor .show-hide.expanded:focus {
		background: #f0f0f0 url(images/child-hide-active.png) center center no-repeat;
	}
	#mainnav .current-menu-item .show-hide.expanded,
	#mainnav .current-page-ancestor .show-hide.expanded {
		background: #f0f0f0 url(images/child-hide-active.png) center center no-repeat;		
	}
	/*media screen*/
	#mainnav ul > li.current-menu-item > a:active,
	#mainnav ul > li.current-menu-item > a:hover,
	#mainnav ul > li.current-menu-item > a:focus,
	#mainnav ul > li.current-page-ancestor > a:active,
	#mainnav ul > li.current-page-ancestor > a:hover,
	#mainnav ul > li.current-page-ancestor > a:focus {
	    background-color: #f0f0f0;
	}

	/* Search Form */
	.search-form {
		background-color: #FFF;		
		bottom: 0;		
		left: 0;
		padding: 4px;		
		right: auto;
		top: auto;
		width: 100%;
	}
	input.search-field {
		width: 50%;
		border-radius: 0;
	}
	.search-form .search-field:focus {
		width: 70%;
	}
	/* Layout tweaks */	
	#contentwrap {
		padding: 0;	
	}	
	#leftnav {
		width: 15px;
	}
	
	#leftnav ul{
		display: none;	
	}
	#post-sidebar > div{
		margin-left: 40px;
		width: 290px;
	}
	#post-sidebar .attachments ul{
		display: block;
	}
	#content #articlewrap.hasresources {
		margin-left: 300px;	
	}
	#articlewrap.hasleftnav {
		margin-left: 0;
	}
	#post-sidebar.hasresources {
		margin-top: 0;
	}
	
	/* Homepage stuff */	
	#hero-tabs {
		background-size: 95%;
		font-size: 1.3em;
		height: auto;
		min-height: 389px;
		background-color: #fff;
	}
	#hero-tabs ul {
		background-color: #290088;
		margin-left: 50%;
		position: static;
		width: auto;
	}
	#content #hero-tabs li a {
		background-size: auto 45px;
		padding: 25px 20px 25px 100px;
	}
	#hero-tabs p a {
		padding: 10px 15px 15px 10px
	}
	#intro {
		background-position: 65px center;
	}
	#intro p {
		margin: 0 50px 0 400px;
	}
	#intro p:last-child {
		padding-bottom: 20px;
	}
	#women .content {
		margin-left: 450px;
	}
	#women .content p:last-child {
		padding-bottom: 20px;
	}
	#latest_news .content p:last-child{
		padding-bottom: 20px;
	}
	#articlewrap {
		padding: 10px 15px;
	}
	.breakouts {
		margin: 0 -15px;
		padding: 10px 40px;
	}
	/*Footer */
	#footer .textwidget {
		max-width: none;
		min-height: 200px;
		height:auto;
		margin-bottom: 30px;
	}
	#footer .textwidget .foot-respect {
		width: auto;
	}
	footer img {
		width: 99%;
	}
	#footer .foot-1800,
	#footer .foot-subscribe  {
		padding: 0 25px;
	}
	#footer input.button {
			border-radius: 0;
	}
}
    /* "MOBILE"  */
@media screen and (max-width: 620px) {

	header img {
		padding-left: 70px;
		max-width: 100%;
	}
	#_navigation {
		margin: 0;
		left: 0;
		padding: 20px 10px 10px 10px;
		top: 150px;
	}
	p.topnav {
		font-size: 1em;
		height: auto;
		width: 100%;
		min-width: 320px;
	}
	.emergency {
		padding: 20px 3px 20px 37px;
	}
	.respect {
		padding: 20px 3px 20px 37px;
	}
	.quick a{
		width: 105%;
		margin-top: 14px;
		text-align: center;
	}
	.quick a:active,
	.quick a:hover,
	.quick a:focus {
		width: 105%;
		height: auto;
	}

	body.search #contentwrap, body.error404 #contentwrap, body.single #contentwrap {
		padding-top: 0px;
	}

	#articlewrap.hasleftnav {
		clear: both;	
		margin: 0;
		padding-left: 7px;
		padding-right: 7px;
	}
	#articlewrap {padding: 0;}
	#content #articlewrap.hasresources {
		margin: 0;
	}
	#leftnav {
		width: 100%;
		margin: 0;
	}
	#logo {
		padding-top: 160px;
		width: 48%;
	}
	.gov-logo {
		padding-left: 70px;
		padding-right: 5px;
	}
	.np-logo {
		padding-left: 5px;
	}
	#mob-nav {	
		width: 100%;
		margin: 0;
	}
	#contentwrap {
		padding: 0px;	
	}
	#hero-tabs {

		min-height: 200px;
	}	
	#hero-tabs ul {
		margin: 0;
		width: auto;
		background:	#fff;
	}
	#hero-tabs .tab1 a,
	#hero-tabs .tab2 a, 
	#hero-tabs .tab3 a, 
	#hero-tabs .tab4 a {
		background-size: 20%;
	}
	#intro {
		background-position: center top;
		background-size: auto 300px;
		padding-bottom: 15px;
	}
	#intro p:first-child {
		padding: 310px 0 0 0;
		margin: 0 10px;
	}
	#intro p {
		margin: 0 10px;
		padding: 35px 0 0 0;
	}
	#intro p:last-child {
		padding-bottom: 10px;
	}
	#women {
		background-position: center 20px;
	}
	#women .content {
		margin: 200px 10px 0 10px;
		padding-bottom: 15px;
	}
	#women .content p:last-child {
		padding-bottom: 10px;
	}
	#latest_news {
		background-image: none;
		padding-top: 20px;
	}
	#latest_news .intro h2 {
		margin: 0 10px;
	}
	#latest_news .content {
		margin: 0 10px;
	}
	#latest_news .content p:first-child {
		padding-top: 20px;
	}
	#latest_news .content p:last-child {
		padding-bottom: 10px;
	}
	
	/* Content */
	h1 {
		margin: 0 0 0.6em 0;
	}
	.whitebg {
		width: 100%;
	}
	.right img {
		float: left; 
		padding: 0; 
		width: 80%; 
		height: 80%;
	}
	/*Attachments */
	#post-sidebar {
    	width: 100%;
	}
	#post-sidebar > div{
		margin-left: 0px;
		width: 100%;
	}
	/*Footer */
	#footer .textwidget {
		margin: 0 0 0 10px;
		max-width: 80%;
	}
	footer img {
		width: 80%;
	}
	#footer .textwidget .foot-1800 {
		padding: 28px 0 20px 0;
		width: 100%;
	}
	#footer .foot-subscribe {
		padding: 10px 0 40px 0;
		width: 100%;
	}
	#footer .textwidget .mc-field-group {
		
	}
	#footer .textwidget input.button {
		
	}
	#footer .menu-footer-nav-container {
		clear: both;
	}
}
/*@media screen and (max-width: 320px) {
		.quick a{color: red; background-color: red;}
	
	}*/