/*
Theme Name: Environmental Law
Theme URI:
Description: Customised by Evidently So
Author: Tim Smith
Author URI: http://evidentlyso.com.au
Version: 0.1

*/


/*** 
Contents
  Structure
  Page layout
  Search
  Responsive search
  Menu
  Responsive menu
  Posts and pages
  Sidebar
  Footer
  Fontface
  Media queries
***/




/*** Structure ***/
html {
	margin: 0;
	padding: 0;
}

body {
	background: #f8f8f8;
	margin: 0 !important;
	font-size: 62.5%;
  	color: #413c42;
}

#wrapper, #homewrapper {
	max-width:978px;
	margin: 0 auto;
}

#wrapper, #footwrapper {
	border-left: solid 1px #fff;	
	border-right: solid 1px #fff;	
}

#wrapper {
	background: #fff;
	position: relative;
}
  
.rightpanel {
  	width: 36.3%;
  	float: right;
}

h1, h2, h3, h4, h5, h6, p, .menu-header ul, .menu-header ul li, #courts ul, #courts ul li {
	-webkit-margin-before: 0px;
	-webkit-margin-after: 0px;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
    padding-left:0;
}

#greyStripTop {
  position: absolute;
  top: 0;
  width: 100%;
  height: 46px;
  background-color: #413c42;
  z-index: -1;
}

#greyImageTop {
  position: absolute;
  top: 0;
  width: 100%;
  height: 46px;
  background: url(img/greyHillInletbg.jpg);
  background-repeat:no-repeat;
  background-position:center top;
  z-index: -1;
}

#blueStripTop {
  position: absolute;
  top: 46px;
  width: 100%;
  height: 187px;
  background-color: #499bd0;
  z-index: -1;
}

#blueImageTop {
  position: absolute;
  top: 46px;
  width: 100%;
  height: 187px;
  background: url(img/blueHillInletbg.jpg);
  background-repeat:no-repeat;
  background-position:center -46px;
  z-index: -1;
}

.clear, #blueStripTop:after, #header:after, #nav:after {
	clear: both;
	display:block;
}

#nav, #main, #container, #content, #wrapper {
	z-index:100;
}

#titlebar {
	width: 96.32%;
  	height: 42px;
  	margin: 0 1.84%;
  	padding-top: 4px;
  	font-size: 2.2em;
	font-family: Lato, sans-serif;
	font-weight: 300;
  	color: #fff;
}

#logoCont {
	width: 160px;
}

#logoCont img {
	width: 100%;
	height: auto;
}

#rightContent {
	margin-right: 1.84%;
	float: right;
	width: 16.56%;
}

#sideLogo {
	width: 110px;
	margin: 14px auto;
}

#sideLogo img{
	width: 100%;
}

body, input, textarea {
	font-family: Lato, sans-serif;
	font-weight: 400;
	line-height: 1.2em;
	color: #413c42;
}

h1 {
	font-family: ArcherBookItalic, sans-serif;
	font-weight: normal;
	font-size: 4.6em;
	line-height: 1em;
	color: #fff;
}

h2, h3 {
	font-family: Lato, sans-serif;
	font-weight: 300;
}	

h4, h5, h6 { 
	font-family: Lato, sans-serif;
	font-weight: 900;
}

h2 {
	font-size: 3.2em;
	line-height: 1em;
	margin: 0.2em 0 0 0;
  	text-transform: uppercase;
}

h3 {
	font-size: 2.4em;
	line-height: 1.2em;
	margin-top: 0.8em;
}

h4 {
	font-size: 2em;
	margin: 1.4em 0 0.6em 0;
}

h5 {
	font-family: Lato, sans-serif;
	font-weight: 700;
	padding-top: 0.4em;
  	text-transform: uppercase;
  	border-top: 1px solid #499bd0;
}

h6 {
	font-family: Lato, sans-serif;
	font-weight: 900;
	font-size: 1.6em;
	line-height: 1.2em;
	margin: 1.8em 0 0.2em 0;
}

p {
	margin: 0.4em 0 1.2em 0;
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: 1.4em;
	line-height: 1.8em;
}

a, a:visited {
	color: #499bd0;
	text-decoration: none;
}

a:hover, a:active {
	color: #413c42;
	text-decoration: underline;
}

.entry-summary a:hover, .entry-summary a:active {
	text-decoration: none;
}

ul li, ol li {
    font-size: 1.4em;
	margin-bottom: 0.6em;
	line-height: 1.6em;
}

ul ul li, ol li p, ol li blockquote p, ol li ul li {
    font-size: 1em;
}

.conjunction {
	font-family: Lato, sans-serif;
	font-weight: 300;
}

.notes {
    font-size: 0.8em;
	margin-bottom: 0.2em;
	line-height: 1.1em;
}

.lc {
	text-transform: lowercase;
}

 
/*** Home page ***/
/* #whitsundays is the background image */
#whitsundays { 
  	position: fixed;
	width: 100%;
	height: 100%;
  	margin:0; 
    background-image: url(img/elaSplash.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color: #499bd0;
}

/* #homecontent has the blurred image and the text */
#homecontent {
  	position: fixed;
    background-image: url(img/elaBlur.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
  	left: 0;
  	width: 50%;
	padding: 10px 25%;
    top: 30%;
  	margin: 0 auto;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
    overflow-y: auto;
    max-height: 80%;
}

#homecontent h1 {
	margin: 0.4em 0 0.6em 0;
	padding-bottom: 0.2em;
	font-family: Lato, sans-serif;
	font-weight: 300;
	font-size: 4.2em;
	border-bottom: solid 1px #7e818c;
}

#homecontent h3 {
	font-family: ArcherBookItalic, sans-serif;
	font-size: 3em;
  	color: #fff;
}

#homecontent p {
  	color: #fff;
}

#homeLogo {
	width: 60%;
}

#homeLogo img {
	width: 100%;
	height: auto;
}

/*** Page layout ***/

#container {
	margin: 0;
}

.page, .post, .contributors {
	width:55.4%;
	padding: 0;
	margin: 0 0 2em 0;
	float:left;
}

.pagehead {
	width:71.88%;
	margin: 0 1.84% 0 1.84%;
	height: 136px;
  	position: relative;
	float:left;
}

.title {
  	position: absolute;
	bottom: 0;
}
  
.cathead {
	width:47.24%;
	margin: 90px 1.84% 2em 26.38%;
	float:left;
}

#content, #cs-content {
	float:left;
}

#content {
	width: 96.32%;
	margin: 3em 1.84%;
}

#cs-content, #content .category-lectures {
	width: 77.91%;
	margin: 3em 1.84%;
}

#cs-content .category-case-studies, #cs-content .category-lectures, .contributors, .contrib {
	width: 100%;
  	margin: 1em 0;
  	border-top: solid 1px #b3c1ca;
  	float: left;
}

.contrib-name {
	float: left;
	margin: 0.4em 0 0 10px;
	font-size: 1.4em;
}

.contrib img {
	float: left;
}

#cs-content .entry-summary {
  	width: 68.5%;
  	margin: 1em 0 0 1.91%;
  	float: left;
}

.casestudy_img {
  	width: 29.13%;
	float: left;
}

.casestudy_img img{
  	width: 100%;
	height: auto;
}

#courts {
  	width: 16.2%;
	margin: 4em 1.84% 3em 0;
  	float: right;
  	border: solid 1px #413c42;
}

#courthead {
	font-family: ArcherBookItalic, sans-serif;
	font-weight: normal;
	font-size: 2em;
  	line-height: 1.1em;
  	width: 92%;
  	padding: 8px 4%;
  	background-color: #413c42;
  	border: solid 1px #413c42;
  	color: #fff;
}

#courts ul li {
	list-style: none;	
  	width: 92%;
	margin: 10px 4%;
  	line-height: 1em;
}

#gallery {
  	width: 36.3%;
  	float: right;
}

.gallery-item img {
  	width: 100%;
	height: auto;
	border: none !important;
}

.gallery-caption {
	margin: 2px 0 0 0;
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: 1.4em;
	line-height: 1.4em;
	text-align: left;
	padding: 1em;
	color: #fff;
	background-color: #254153;
}
		
.attribution {
	padding: 0.4em 0 0 0;
	margin: 1.2em 0 0 0;
	color: #b3c1ca;
	border-top: solid 1px #b3c1ca;
	font-size: 0.8em;
	line-height: 1.2em;
}

.gallery-caption a:hover, .gallery-caption a:active {
  	color: #fff;
}

#keydocs {
  	color: #fff;
  	background-color: #413c42;
  	width: 94%;
  	padding: 0.2em 3% 1em 3%;
}

#keydocs h3, #mediareports h3 {
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: 1.8em;
  	text-transform: uppercase;
  	padding-top: 0.6em;
  	margin-bottom: 0.6em;
  	border-top: solid 2px #fff;
}

#keydocs h4, #mediareports h4 {
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: 1.4em;
  	text-transform: uppercase;
  	margin-top: 1em;
  	padding-top: 0.6em;
}

#keydocs h4 {
  	border-top: solid 1px #a19ba2;
}

#keydocs a, #keydocs a:visited {
  	color: #96d0f6;
  	text-decoration: none !important;
}

#keydocs a:hover, #keydocs a:active, #mediareports a:hover, #mediareports a:active {
  	color: #fff;
  	text-decoration: underline;
}

#mediareports {
  	width: 33.3%;
  	float: right;
  	color: #fff;
  	background-color: #499bd0;
  	padding: 0.2em 1.5% 1em 1.5%;
}

#mediareports h4 {
  	border-top: solid 1px #7fd1f2;
}

#mediareports p {
  	margin-bottom: 0.8em;
  	line-height: 1.1em;
}

#mediareports a, #mediareports a:visited {
  	color: #a9e3fa;
  	text-decoration: none !important;
}

#nav-below {
	float: left;
	width: 96.32%;
	margin: 3em 1.84% 1.2em 1.84%;
  	padding: 0.4em 0;
	color: #499bd0;
  	border-top: solid 1px #499bd0;
	font-size: 1.4em;
	line-height: 1.2em;
}

.searchresult .post {
  	border-top: solid 1px #499bd0;
}  
  
#navleft {
  	float: left;
}
	
#navright {
  	float: right;
}
	
/* Search */
	
#search {
	width: 100%;
	padding: 0px 0px ;
	margin: 6px 0 0 0;
	height: 35px;
	display: inline;
  	text-align: right;
}
#search form {
	margin: 0px 0px 0px 0px;
	padding: 0;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#s {
	width:78%;
	margin:0;
	padding: 1px 2% 3px 20%;
	color:#fff;
	border:1px solid #fff;
	background: url(img/magglass.png);
	background-repeat:no-repeat;
	background-position:left top;
	display:inline;
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: 1.6em;
	opacity: 0.7;
     -moz-transition: opacity 0.7s;
     -ms-transition: opacity 0.7s;
     -o-transition: opacity 0.7s;
  	 -webkit-transition: opacity 0.7s;
     transition: opacity 0.7s;
}

#s:focus {
  opacity: 1.0
}

/*** Menu ***/

#nav {
  	border-bottom: solid 1px #fff;
	float: left;
	width: 96.32%;
  	padding: 6px 0 8px 0;
  	margin: 0 1.84%;
}

#homenav {
  	border-bottom: solid 1px #fff;
	float: left;
	width: 96.32%;
  	padding: 6px 1.84% 8px 1.84%;
  	margin: 0;
	background-color: #499bd0;
}
	
#nav ul, #homenav ul {
	list-style: none;
	margin: 0;
}

#nav ul ul, #homenav ul ul {
	position: absolute;
	top: 0px;
	left:0px;
	padding-left: 0;
}

#nav ul li, #homenav ul li {
	font-family: Lato, sans-serif;
	font-weight: 700;
	text-transform:uppercase;
	display: inline-block;
	float: left;
	padding: 0 2em 0 0 !important;
	background-color: none;
	font-size: 1.6em;
	position:relative;
	margin-bottom: 0;
	line-height: 1em;
}

#nav ul ul, #homenav ul ul {
	display: none;
}

#nav ul ul li, #homenav ul ul li {
	background-color: #393939;
	position: relative;
	top: 40px;
	left:0;
	min-width: 160%;
	border-top: solid 1px #fff;
	border-left: none;
}

.menu-header ul li:hover > ul {
	cursor: pointer;
	display: block;
}


.menu-item a {
	text-decoration: none;
	color: #fff;
}
.menu-item a:hover {
	color: #c9e1f1;
}

#menu-navigation {
	margin: 0;
	padding: 0;
}

/*** Responsive menu elements ***/

#resstrip {
	top: 0;
	left: 0;
	width: 50%;
	height: 46px;
	display: none;
	border:none;
}	  
  
  
#menuicon {
	position: absolute;
	top: 10px;
	left: 1.84%;
	width: 26px;
	height: 26px;
	z-index: 1000;
	border:none;
}

.menuclose {
	background: url(img/menuclose.png);
	background-repeat:no-repeat;
	background-position:center top;
}

.menuopen {
	background: url(img/menuopen.png);
	background-repeat:no-repeat;
	background-position:center top;
}

#resmenu {
	position: absolute;
	top: 84px;
	left: -230px;
	width: 220px;
	height: auto;
	display: none;
	z-index: 1200;
}

#menu-responsive {
  	margin-left: 0;
}

#menu-responsive .sub-menu {
  	margin-left: -0.8em;
  	margin-right: -0.8em;
  	padding-left: 0.8em;
}

#resmenu .menu-item {
  	padding: 1em 0.8em;
  	margin: 0;
	list-style-type: none;
  	border-bottom: 1px solid #fff;
	background-color: #499bd0;
}

#menu-responsive a:link, #menu-responsive a:visited{
	color:#fff;
}

#menu-responsive a:hover, #menu-responsive a:active {
	color: #b61a32;
}

/* SAELS menu */

#saelsNavRes {
	margin-bottom: 1.4em;
	border-bottom: solid 2px #499bd0;
}


#saelsNavRes, #menu-saels {
	display: none;
}

#saelsNav {
  	border-left: solid 4px #499bd0;;
  	padding-left: 3%;
  	margin: 2em 0;
}

#menu-saels, #menu-saels li, #menu-saels-1, #menu-saels-1 li, .sub-menu {
	list-style: none;
	-webkit-padding-start: 0;
}

#menu-saels li a, #menu-saels-1 li a {
	color: #499bd0;
}

#menu-saels li a:hover, #menu-saels-1 li a:hover, .sub-menu a:hover {
	text-decoration: underline;
}

#menu-saels li, #menu-saels-1 li {
	margin-left: 12px;
}

#saelsNav h3, #saelsNavRes h3 {
	text-transform: uppercase;
	margin-top: 0;
}

#menu-saels li, #menu-saels li ul li, #menu-saels-1 li, #menu-saels-1 li ul li {
	margin-bottom: 0;
	padding-left: 4px;
}

#menu-saels li a, #menu-saels li ul li a, #menu-saels-1 li a, #menu-saels-1 li ul li a {
	padding: 4px 0;
}

.current-menu-item a, .current-menu-ancestor > a {
	font-weight: 900;
}

#menu-saels .current-menu-item .sub-menu li a, #menu-saels-1 .current-menu-item .sub-menu li a {
	font-weight: 400;
}

#menu-saels .sub-menu, #menu-saels-1 .sub-menu {
	display: none;
}

#menu-saels .current-menu-item > .sub-menu, #menu-saels .current-menu-ancestor > .sub-menu, #menu-saels-1 .current-menu-item > .sub-menu, #menu-saels-1 .current-menu-ancestor > .sub-menu {
	display: block;
}

.breadcrumb {
	font-size: 1.1em;
	margin-bottom: 2em;
}

.delimiter:first-child { 
    display: none;
}

/*** Content: posts and pages ***/

/* Entry and Page Titles */
h1.entry-title {
	
}

h2.entry-title {
	
}
h2.entry-title a {
	
}

h1.page-title {
	
}

div.post > p:first-child, div.page > p:first-child {
	font-family: ArcherBookItalic, sans-serif;
	font-size: 2.4em;
	line-height: 1.4em;
  	margin-bottom: 1em;
}
	
.entry-content {
  z-index: 1000;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* Media Alignment */
.alignright
{
	/* Style for right-aligned images in posts */
	padding: 8px 0 8px 8px;
	float: right;
}
.alignleft
{
	/* Style for left-aligned images in posts */
	padding: 8px 8px 8px 0;
	float: left;
}



/*** Flowcart ***/

/* Post 766 is the flowcart */

#post-766 {
  width: 100%;
  margin-top: 2em;
}

.flowchart_outer, .flowchart_base {
	position: relative;
	background: #499bd0;
	border: 4px solid #413c42;
  	margin-bottom: 36px;
  	padding: 1%;
  	text-align: center;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: 1.8em;
  	line-height: 1.2em;
  	text-transform: uppercase;
  	color: #fff;
}

.flowchart_outer p, .flowchart_base p {
	margin-bottom: 6px;
}
	
.flowchart_outer:after, .flowchart_outer:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.flowchart_outer:after {
	border-color: rgba(73, 155, 208, 0);
	border-top-color: #499bd0;
	border-width: 30px;
	margin-left: -30px;
}

.flowchart_outer:before {
	border-color: rgba(65, 60, 66, 0);
	border-top-color: #413c42;
	border-width: 36px;
	margin-left: -36px;
}

.flowchart_inner, .flowchart_inner_full {
  	margin: 0.45%;
	padding: 1.25%;
	float: left;
	background-color: #fff;
	border: solid 2px #413c42;
	font-family: Lato, sans-serif;
	font-weight: 300;
	font-size: 0.7em;
  	line-height: 1.1em;
  	text-transform: none;
  	color: #413c42;
}

.flowchart_inner {
	width: 16%;
}

.flowchart_inner_full {
	width: 95.7%;
}

/* SAELS book */

.footnoteCont {
	padding-top: 0.5em;
	border-top: solid 2px #413c42;
}

.footnoteCont h6{
	margin-top: 0;
}

.footNo, .footnote {
	font-size: 0.8rem;
	float: left;
	margin-bottom: 0.8em;
}

.footNo {
	width: 3%;
	text-align: right;
	margin-right: 1%;
	font-weight: 900;
}

.footnote {
	width: 94%;
	line-height: 1.2em;
}

#rhs_images img {
	width: 100%;
	height: auto;
}

.act p {
	margin-bottom: 0.2em;
}

button {
    cursor: pointer;
    color: #c9ddea;
    background-color: #499bd0;
    padding: 6px;
    border-width: 0;
    border-style: none;
    border-image: none;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    margin-bottom: 0.6em;
}

button:hover {
	color: #fff;
}

button:focus {
	outline: 0;
}

.active {
	color: #fff;
}

i {
    border: solid #c9ddea;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 6px;
}

.active i {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.asc .up, .desc .down {
	display: none;
}

/* Quiz alterations */

.category-quizzes {
	width: 100%;
	border-top: solid 1px #499bd0;
}


/*** Footer ***/
#footer
{
	width: 100%;
	height: 135px;
	position: relative;
}

#footwrapper {
	max-width:978px;
	margin: 0 auto;
	height: 135px;
}

#blueFooter {
	bottom: 49px;
	height: 86px;
	width: 100%;
	position: absolute;
	background: url(img/blueHillInletbg.jpg);
	background-repeat:no-repeat;
	background-position:center -396px;
	background-color: #499bd0;
	z-index:-1;
}

#greyFooter {
	bottom: 0;
	height: 49px;
	width: 100%;
  	position: absolute;
	background: url(img/greyHillInletbg.jpg);
	background-repeat:no-repeat;
	background-position:center bottom;
	background-color: #413c42;
	z-index:-1;
}

#colophon {
	width: 29%;
  	margin: 0 0 0 1.84%;
	text-align: left;
	height: 62px;
  	color: #fff;
	padding: 12px 0;
  	float: left;
}

#colophon a {
	color: #fff;
}

#colophon p {
	font-size: 1.6em;
  	line-height: 1em;
	margin-top: 4px;
  	border-top: 1px solid #9bc0e2;
}

#evidentlyso {
  	color: #a4cde8;
  	width: 20%;
  	margin: 62px 1.84% 0 1.84%;
  	float: right;
  	text-align: right;
}

#evidentlyso a, #evidentlyso a:visited, #evidentlyso a:hover, #evidentlyso a:active {
  	color: #a4cde8;
}

#base {
	margin: 0 1.84% 0 1.84%;
	text-align: left;
	height: 49px;
	color: #bcbcbc;
}

#cc {
  	float: left;
	width: 96.32%;
	margin: 12px 1.84% 0 0;
}

#baseimg {
  	float: left;
}

#basetext {
  	float: left;
  	margin: 10px 0 0 8px;
}

#basetext a, #basetext a:visited {
  	color: #fff;
}

#basetext a:hover, #basetext a:active {
  	color: #f8f8f8;
}

/*** Fontface ***/

@font-face {
    font-family: 'ArcherBookItalic';
    src: url('fonts/Archer-BookItalic.eot');
    src: url('fonts/Archer-BookItalic.eot?#iefix') format('embedded-opentype'),
         url('fonts/Archer-BookItalic.woff') format('woff'), /* format was 'woff' but chrome was having issues with the mime type - font/opentype */
         url('fonts/Archer-BookItalic.ttf') format('truetype');
    font-weight: regular;
    font-style: normal;
}




/*** Media queries ***/



@media only screen and (max-width: 940px) {


}
	
	
/**  Retina iPad portrait **/

	@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait)and (-webkit-min-device-pixel-ratio: 2) { 

	#post-5 {
		width: 80%;
	}
	  
	h1 {
		font-size: 4.3em;
	}


}


@media only screen and (max-width: 990px) {
	#homeLogo {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) {

	#whitsundays {
	    background-image: url(img/elaSplashMobile.jpg);
	}
	  
	#homecontent {
	    background-image: url(img/elaBlurMobile.jpg);
	}
	  
	#post-5 {
		width: 100%;
	}
	  
	.pagehead {
		height: auto;
		padding: 50px 0 20px 1.84%;
		margin: 0;
		width: 100%;
		float: none;
		background: url(img/blueHillInletbg.jpg);
		background-repeat:no-repeat;
		background-position:center -46px;
		z-index: -1;
	}

	.pagehead:after {
		clear: both;
	}
		  
	.title {
		position: static;
	}

	#logoCont {
		margin-left: 40px;
	}  

	#resstrip {
		display: inline;
	}

	#menuicon, #resmenu {
		display: block;
	}

	#nav, #blueStripTop, #blueImageTop {
		display: none;
	}
	  
	#rightContent, #courts {
		width: 22.4%;
	}

	#rightContent {
		margin-top: 6px;
	}

	#sideLogo {
		display: none;
	}  

	#cs-content {
		width: 71.7%;
	}
	  
	#cs-content .entry-summary {
		width: 62.3%;
	}
	  
	.casestudy_img {  
		width: 35.3%;
	}
	  
	#content {
	  	padding: 0;
	}

	#single_content {
		width: 92%;
	  	margin-left: 4%;
	  	margin-right: 4%;
	  	padding: 0;
	}

	h1 {
		font-size: 4em;
	}

	.flowchart_inner {
		width: 29%;
	}
		
	#basetext {
		width: 60%;
	  	margin-top: 4px;
	}
	
}

@media only screen and (max-width: 569px) {
  
	.wp-caption img, .gallery img{
		max-width: none;
	}

	#homecontent {
	  	width: 80%;
		padding: 10px 10%;
	}
		  
	#courts {
		display: none;
	 }	  

	#cs-content {
		width: 96.32%;
	}
	  
	#cs-content .entry-summary {
		width: 62.6%;
		margin-top: 0;
	}
	  
	.saels, .rightpanel {
		width: 100%;
	}

	#saelsNav {
		display: none;
	}

	#saelsNavRes {
		display: block;
	}
}
	
@media only screen and (max-width: 479px) {
  
	#content, #gallery {
		width: 96.32%;
	  	margin-left: 1.84%;
	  	margin-right: 1.84%;
	}

	.page, .post {
		width: 100%;
	}
		  
	#search, #courts {
		width: 46%;
	}
	  
	#homecontent {
	  	width: 92%;
		padding: 6px 4%;
		margin-bottom: 2em;
		top: 20%;
	}

	#homecontent h1 {
		margin: 0.4em 0 0.2em 0;
		padding-bottom: 0.2em;
		font-size: 3.2em;
	}

	#homecontent h3 {
		font-size: 2.2em;
	}

}


@media print {
	#leftcol {
		display: none;
	}
	
	#content {
		width: 92%;
		margin: 0 4%;
		padding: 0;
	}
	
	h1, h2, h3, h4, h5, p {
		color: #000;
	}
}




