/*
Theme Name: OCP Theme
Author: MediaOnMars
Author URI: http://mediaonmars.com.au/
Version: 1.0
License: GNU General Public License
*/

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot');
    src: url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.woff') format('woff'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('fonts/opensans_regular_macroman/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_italic_macroman/OpenSans-Italic-webfont.eot');
    src: url('fonts/opensans_italic_macroman/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_italic_macroman/OpenSans-Italic-webfont.woff') format('woff'),
         url('fonts/opensans_italic_macroman/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('fonts/opensans_italic_macroman/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot');
    src: url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.woff') format('woff'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot');
    src: url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.woff') format('woff'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('fonts/opensans_semibold_macroman/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.eot');
    src: url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.ttf') format('truetype'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.svg#open_sanssemibold_italic') format('svg');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.eot');
    src: url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.ttf') format('truetype'),
         url('fonts/opensans_semibolditalic_macroman/OpenSans-SemiboldItalic-webfont.svg#open_sanssemibold_italic') format('svg');
    font-weight: bold;
    font-style: italic;
}

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, ol, ul, li, h1, h2, h3, h4, h5, h6, p, form {
	border: none;
	margin: 0;
	padding: 0;
}
* {outline: 0;}
table {
	border-collapse: separate;
	border-spacing: 0;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
img, iframe {
	vertical-align: middle;
	max-width: 100%;
}
img {height: auto;}
a img {
	border: none;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol li, ul li {
	list-style-position: outside;
}
input, textarea {-webkit-border-radius: 0;}
textarea, input[type="text"], input[type="email"], input[type="button"], input[type="submit"] {-webkit-appearance: none;}

/* =Global
----------------------------------------------- */

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height: 1.333em;
	color: #171717;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	color: #1b3b61;
	line-height: normal;
}

h1 {
	font-size: 2.667em;
	margin-bottom: 15px;
}

h2 {
	font-size: 2.222em;
	margin-bottom: 15px;
}

h3 {
	font-size: 2em;
	margin-bottom: 15px;
}

h4 {
	font-size: 1.667em;
	margin-bottom: 6px;
}

h5 {
	font-size: 1.333em;
	margin-bottom: 6px;
}

h6 {
	font-size: 1em;
	color: #a82532;
	margin-bottom: 6px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
	color: #1b3b61;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: underline;
	color: #8d0210;
}

a {
	color: #8d0210;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
	color: #0094b8;
}

blockquote {
	margin: 0 0 22px 0;
	padding: 30px 30px 8px 30px;
	border-left: 10px solid #0094b8;
	background: #f2f5f6;
}

blockquote h1, blockquote h2, blockquote h3, blockquote h4, blockquote h5, blockquote h6 {margin-bottom: 22px;}

.clear {
	clear: both;
	font-size: 1px;
}

hr {
	clear: both;
	border: none;
	margin: 0 0 20px 0;
	padding: 0;
}

.desktop {display: block !important;}
.mobile {display: none !important;}

.row {
	float: left;
	width: 100%;
}

/* =Structure
----------------------------------------------- */

.wrapper {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 20px;
}

/* Block Alignment */

.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}
.alignright {
	float: right;
	margin: 0 0 10px 20px;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Text Alignment */

.textleft {text-align: left;}
.textright {text-align: right;}
.textcenter {text-align: center;}
.textjustify {text-align: justify;}

.col50 {
	float: left;
	width: 50%;
}

a.readmore span {
	position: absolute;
	left: -9999px;
}

/* =Top
----------------------------------------------- */

#top {
	background: #8d0210;
	border-bottom: 10px solid #d0d0d0;
	color: #fff;
	font-size: 0.778em;
	padding: 10px 0;
}

#top a {
	color: #fff;
	text-decoration: none;
}

#top a:hover {color: #ccc;}

#top a.skip {
	float: left;
	margin-top: 3px;
}

.text_size {
	float: right;
	white-space: nowrap;
	border-right: 1px solid #e82125;
	font-size: 24px;
	font-weight: 600;
}

.text_size a {
	border-left: 1px solid #e82125;
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 0 9px 0 12px;
}

.text_size span {
	position: absolute;
	left: -9999px;
}

/* =Search form
-------------------------------------------------------------- */

.searchform {
	float: right;
	width: 344px;
	font-size: 0.778em;
	padding-left: 60px;
	background: url(images/icon_search.png) no-repeat left top;
}

.searchform label {
	position: absolute;
	left: -999em;
}

.searchform input.field {
	float: left;
	width: 244px;
	height: 26px;
	padding: 10px 18px;
	margin: 0 10px 0 0;
	background: #fff;
	border: 2px solid #d0d0d0;
	color: #171717;
	font-size: 1.286em;
	font-family: 'Open Sans', sans-serif;
}

.searchform input.field::-webkit-input-placeholder {color: #171717; opacity: 1;}
.searchform input.field:-moz-placeholder {color: #171717; opacity: 1;}
.searchform input.field::-moz-placeholder {color: #171717; opacity: 1;}
.searchform input.field:-ms-input-placeholder {color: #171717; opacity: 1;}

.searchform input.submit {
	float: right;
	width: 50px;
	height: 50px;
	background: #1b3b61;
	color: #fff;
	border: none;
	padding: 0;
	margin: 0 0 4px 0;
	text-transform: uppercase;
	font-size: 1.286em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	cursor: pointer;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
}
.searchform input.submit:hover {background: #8d0210;}

.searchform a {
	color: #171717;
	text-decoration: none;
	display: inline-block;
	padding-right: 30px;
	min-height: 20px;
	background: url(images/arrow_blue.png) no-repeat right;
}

.searchform a:hover {
	color: #0094b8;
	text-decoration: underline;
}

/* =Header
----------------------------------------------- */

#branding {
	padding: 42px 0 22px;
}

#site-title {
	float: left;
}

#site-title a:focus, #site-title a:active {background: none;}

.header_right {
	margin-left: 430px;
	padding-top: 8px;
}

/* =Menus
-------------------------------------------------------------- */

#topmenu {
	font-size: 0.778em;
	font-weight: 600;
	padding-top: 5px;
}

#topmenu .menu {display: inline;}

#topmenu li, #topmenu div.home {
	display: inline-block;
	margin-right: 13px;
	vertical-align: middle;
}
#topmenu .home {margin-right: 18px;}

#topmenu a {text-decoration: none;}
#topmenu a:hover {text-decoration: underline;}
#topmenu .home > a {font-size: 2.857em;}

#topmenu .home > a span {
	display: inline-block;
	text-indent: -9999px;
}

#mainmenu {
	margin-bottom: 20px;
	-webkit-border-radius: 23px;
	-moz-border-radius: 23px;
	border-radius: 23px;
	background: #1b3b61;
	border-bottom: 5px solid #122740;
	position: relative;
	z-index: 999;
	behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
}

#mainmenu div.home, #mainmenu .topmenu, .show_nav {display: none;}

#mainmenu a {text-decoration: none;}
#menu-main-menu > li > a:active, #menu-main-menu > li > a:focus, #menu-main-menu-1 > li > a:active, #menu-main-menu-1 > li > a:focus {color: #fff !important;}

.phone_menu {display: none;}

/* =Content
----------------------------------------------- */

.breadcrumbs {
	font-size: 0.833em;
	margin-bottom: 22px;
	vertical-align: middle;
}

.breadcrumbs a {color: #171717;}
.breadcrumbs a:hover {
	color: #8d0210;
	text-decoration: underline;
}

.breadcrumbs span.sep {
	display: inline-block;
	margin: 0 8px;
	width: 10px;
	height: 0;
	padding-top: 10px;
	overflow: hidden;
	background: url(images/sep.png) no-repeat 0 0;
}

a.print_link {
	text-decoration: none;
	font-size: 1em;
	float: right;
	font-weight: 600;
	vertical-align: middle;
}

a.print_link i {
	font-size: 2.5em;
	vertical-align: middle;
	margin-right: 5px;
}

#primary {padding: 10px 0 60px; }
body.home #primary {padding: 26px 0 60px 0;}

#main p, #main ol, #main ul {margin-bottom: 22px;}
#main ol, #main ul {margin-left: 24px;}

body.search-results #main p {margin-bottom: 10px;}

#main #content .entry-content a {
	text-decoration: underline;
	color: #8d0210;
}

#main #content .entry-content a:hover {
	text-decoration: underline;
	color: #0094b8;
}

a:focus, a:active {
	text-decoration: none !important;
	color: #171717 !important;
	background: #ffc12c;
}

body.search-results #main #content h5 a {
	text-decoration: none;
	color: #0094b8;
}

body.search-results #main #content h5 a:hover {
	text-decoration: underline;
	color: #8d0210;
}

body.search-results #main #content h5 a:focus, body.search-results #main #content h5 a:active {
	text-decoration: none;
	color: #171717;
}

#main #content li {
	padding: 0 0 12px 5px;
}

/* =Homepage
----------------------------------------------- */

.home_content {
	float: left;
	width: 32%;
}

.home_content h2 {
	background: url(images/pattern_red.png) repeat;
	color: #fff;
	padding: 27px 30px 32px 30px;
	font-size: 1.667em;
	font-weight: 600;
	line-height: 1.233em;
	margin-bottom: 0;
	position: relative;
	z-index: 99;
}

.home_content article {
	background: #f2f5f6;
	padding: 20px 30px 18px 30px;
	position: relative;
	-webkit-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
}

.home_content article b {
	position: absolute;
	right: 37px;
	bottom: -22px;
	width: 43px;
	height: 22px;
	display: block;
	background: url(images/arrow_down2.png) no-repeat 0 0;
}

.news_feed_home {
	float: right;
	width: 66%;
}

.news_feed_home header {
	background: #c6e3f1;
	color: #1b3b61;
	font-weight: 600;
	padding: 22px 220px 24px 22px;
	overflow: hidden;
	margin-bottom: -50px;
	z-index: 99;
	position: relative;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-topright: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	overflow: hidden;
	behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
}

.news_feed_home header h3 {
	margin-bottom: 0;
	line-height: 0.667em;
}

.news_feed_home header a {
	color: #1b3b61;
	text-decoration: none;
}

.news_feed_home header a:hover {
	color: #8d0210;
	text-decoration: underline;
}

.news_feed_home a.side_link {
	position: absolute;
	right: 20px;
	top: 25px;
	color: #1b3b61;
	text-decoration: none;
	width: 180px;
	text-align: right;
	padding-right: 30px;
	background: url(images/arrow_navy.png) no-repeat right 50%;
}

.news_feed_home a.side_link:hover {
	color: #8d0210;
	text-decoration: underline;
}

.news_feed_home .news_feed_inner, body.blog article, body.single-post article {
	padding: 75px 20px 25px 20px;
	-webkit-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
}

body.blog article, body.blog article {
	padding-top: 25px;
	margin-bottom: 20px;
}
body.single-post article {
	padding: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
body.single-post article .inner {
	padding: 25px 20px 1px 20px;
	-webkit-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
}

body.single-post .feat img {
	width: 100%;
	height: auto;
}

.featured_article {
	padding-bottom: 25px;
	border-bottom: 5px solid #0094b8;
	margin-bottom: 27px;
}

.date {
	background: url(images/dotted.png) repeat-x left bottom;
	font-weight: 600;
	margin: 10px 0 18px 0;
	vertical-align: bottom;
	line-height: 0.833em;
}

.date span {
	display: inline-block;
	background: #fff;
	padding-right: 10px;
}

.news_feed_home .col50 .inner, body.blog article .with_image .inner {padding-left: 10px;}
.news_feed_home .featured_article .col50:first-child .inner, .news_feed_home .articles .col50:first-child .inner, body.blog article .col50:first-child .inner {padding: 0 10px 0 0;}

/* =Internal page
----------------------------------------------- */

#content {
	margin-right: 400px;
}

#content.wide {
	float: none;
	width: auto;
	margin-right: 0;
}

body.search-results #content article {
	padding-bottom: 26px;
	margin-bottom: 24px;
	background: url(images/dotted.png) repeat-x 0 100%;
}

.sidebar {
	float: left;
	width: 380px;
	margin-left: -380px;
}

#main .wp-pagenavi a, #main .wp-pagenavi span {
    border: none;
	display: inline-block;
	text-decoration: none !important;
    margin: 0 10px 0 0;
    padding: 0;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
    text-decoration: none;
	font-weight: 600;
	background: #d0d0d0;
	color: #1b3b61 !important;
}

#main .wp-pagenavi a:hover {background: #0094b8;}
#main .wp-pagenavi a:focus, #main .wp-pagenavi a:active {background: #ffc12c;}

#main .wp-pagenavi span {background: #c6e3f1;}

/* =Sidebar accordion
----------------------------------------------- */

.minimalist-accordion li.hide {display: none !important;}

.minimalist-accordion {
	font-size: 0.889em;
	font-weight: 600;
	margin-bottom: 20px;
}

.minimalist-accordion__panel[aria-hidden=true] {
	display: none;
}

.minimalist-accordion__header, .minimalist-accordion__title {
	display: block;
	color: #1b3b61;
	background: #c6e3f1;
	font-size: 1em;
	font-weight: 600;
	border: none;
	padding: 6px 10px;
	margin: 0 0 2px 0;
	text-align: left;
	font-family: 'Open Sans', sans-serif;
}

.minimalist-accordion__header:hover, .minimalist-accordion__title:hover {
	background: #d0d0d0;
}

.minimalist-accordion__header {
	width: 100%;
	cursor: pointer;
}

.minimalist-accordion__title {
	padding: 0;
}
.minimalist-accordion__title a {
	display: block;
	padding: 12px 10px 11px 56px;
}
.minimalist-accordion__title a:hover {
	text-decoration: none;
	color: #1b3b61;
}

/* title opened */
.minimalist-accordion__header[aria-expanded="true"]:before {
	content: "\f056 ";
	font-family:'FontAwesome';
	font-size: 2.063em;
	font-weight: normal;
	vertical-align: middle;
	margin-right: 15px;
}
/* title closed */
.minimalist-accordion__header[aria-expanded="false"]:before {
	content: "\f055 ";
	font-family:'FontAwesome';
	font-size: 2.063em;
	font-weight: normal;
	vertical-align: middle;
	margin-right: 15px;
}

/* title selected */
.minimalist-accordion__header[aria-selected="true"]:after {
	
}
/* title non selected */
.minimalist-accordion__header[aria-selected="false"]:after {
	
}
.minimalist-accordion__panel[aria-hidden=true] {
	display: none;
}

.minimalist-accordion__panel h5 {display: none;}

#main .js-accordion__panel ul {margin: 0;}

.js-accordion__panel ul li {
	list-style-type: none;
	margin-bottom: 2px;
}

.js-accordion__panel a {
	display: block;
	padding: 7px 10px;
	border-left: 10px solid #fff;
	text-decoration: none;
	color: #1b3b61;
}

.js-accordion__panel a:hover {
	border-left: 10px solid #8d0210 !important;
	background: #f2f5f6 !important;
}

.js-accordion__panel a:focus, .js-accordion__panel a:active {
	border-left: 10px solid #8d0210 !important;
	background: #ffc12c !important;
}

.js-accordion__panel li.current-menu-item a, .js-accordion__panel li.current_page_parent a {
	background: #f2f5f6;
	border-left: 10px solid #0094b8;
}

/* =AMHP Directory
----------------------------------------------- */

.amhp article {
	-webkit-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	background: #fff;
	border: 1px solid #d0d0d0;
	padding: 25px 30px;
	margin-bottom: 20px;
}

.amhp article h3, .amhp article h3 a {color: #8d0210;}
.amhp article h3 a:hover {color: #1b3b61;}

.amhp .field {
	padding-top: 17px;
	background: url(images/dotted.png) repeat-x left top;
	margin-top: 15px;
}
.amhp .field.first {margin-top: 0;}
body.page-id-292 .amhp .field.first {
	background: none;
	padding-top: 0;
}

.amhp_search {
	margin-bottom: 30px;
}

.amhp_search h4 {
	background: url(images/pattern_ltblue.png) repeat;
	color: #fff;
	padding: 20px 30px;
	font-weight: 600;
	line-height: 1.233em;
	margin-bottom: 0;
}

.amhp_search h4 span {
	display: block;
	padding-left: 100px;
	min-height: 60px;
	padding-top: 20px;
	background: url(images/icon_newsletter.png) no-repeat left top;
}

.amhp_search .inner {
	padding: 25px 30px;
	-webkit-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 3px 6px 3px rgba(0,0,0,0.1);
	position: relative;
	border: 1px solid #d0d0d0;
	font-weight: 600;
	color: #666;
}

.amhp_search p {margin-bottom: 0 !important;}

.amhp_search .inner b {
	background: url(images/arrow_down3.png) no-repeat left top;
	width: 42px;
	height: 21px;
	bottom: -21px;
}

.amhp_search label {
	display: block;
	color: #8d0210;
	margin-bottom: 5px;
}

.amhp_search .form_col {
	float: left;
	width: 38%;
	padding-right: 2%;
	margin-bottom: 20px;
}

.amhp_search .form_col .input_wrap {
	border: 2px solid #d0d0d0;
	padding: 10px 12px;
	background: #fff;
}

.amhp_search .form_col input[type="text"] {
	border: none;
	background: none;
	width: 100%;
	padding: 0;
	margin: 0;
	color: #171717;
	font-size: 1em;
	font-family: 'Open Sans', sans-serif;
}

.amhp_search input.amhp_submit {
	background: #1b3b61;
	color: #fff;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	width: 18%;
	height: 50px;
	padding: 0;
	margin: 32px 0 0 0;
	-webkit-border-radius: 23px;
	-moz-border-radius: 23px;
	border-radius: 23px;
	border: none;
	float: right;
	cursor: pointer;
	behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
}
.amhp_search input.amhp_submit:hover {background: #8d0210;}

/* =Bottom
----------------------------------------------- */

#bottom {
	padding: 60px 0;
	background: #c6e3f1;
}

#bottom a, .sidebar .widget a {
	color: #1b3b61;
	text-decoration: none;
}

#bottom a:hover, .sidebar .widget a:hover {
	color: #8d0210;
	text-decoration: underline;
}

#bottom .wrapper .widget {
	padding-left: 10px;
	position: relative;
}

#bottom .wrapper .col50:first-child  .widget {
	padding-right: 10px;
	padding-left: 0;
}

#bottom .widget .textwidget, .sidebar .widget .textwidget {
	background: #fff;
	-webkit-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.1);
	padding: 24px 30px;
	min-height: 216px;
}
.sidebar .widget .textwidget {min-height: 1px;}

body.blog .sidebar .widget .textwidget, body.single-post .sidebar .widget .textwidget {
	background: #f2f5f6;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	font-size: 0.889em;
	font-weight: 600;
	color: #0094b8;
}

body.blog #main .sidebar .widget .textwidget p, body.single-post #main .sidebar .widget .textwidget p {margin-bottom: 12px;}
body.blog .sidebar .widget a, body.single-post .sidebar .widget a {
	color: #1b3b61;
	text-decoration: underline;
}

body.blog .sidebar .widget a:hover, body.single-post .sidebar .widget a:hover {
	color: #8d0210;
	text-decoration: underline;
}

#bottom .widget h4.widget-title, .sidebar .widget h4.widget-title {
	background: url(images/pattern_red.png) repeat;
	color: #fff;
	padding: 20px 30px;
	font-weight: 600;
	line-height: 1.233em;
	margin-bottom: 0;
}

#bottom .widget h4.widget-title span, .sidebar .widget h4.widget-title span {
	display: block;
	padding-left: 100px;
	min-height: 60px;
	padding-top: 20px;
	background: url(images/icon_mobile.png) no-repeat left top;
}

#bottom .wrapper .col50:first-child h4.widget-title, .sidebar .widget h4.widget-title, #bottom.mobile h4.widget-title {background: url(images/pattern_blue.png) repeat;}
#bottom .wrapper .col50:first-child h4.widget-title span, .sidebar .widget h4.widget-title span, #bottom.mobile h4.widget-title span {background: url(images/icon_links.png) no-repeat left top;}
body.blog .sidebar .widget h4.widget-title, body.single-post .sidebar .widget h4.widget-title {background: url(images/pattern_ltblue.png) repeat;}
body.blog .sidebar .widget h4.widget-title span, body.single-post .sidebar .widget h4.widget-title span {
	background: url(images/icon_newsletter.png) no-repeat left top;
	padding-top: 0;
	min-height: 80px;
}

#bottom .widget ul, #main .sidebar .widget ul {
	font-weight: 600;
	margin: 0;
}

#bottom .widget ul li, .sidebar .widget ul li {
	list-style-type: none;
	padding-left: 30px;
	background: url(images/arrow_blue_sm.png) no-repeat 0 5px;
	margin-bottom: 6px;
	color: #1b3b61;
}

#bottom .widget table {background: url(images/dotted.png) repeat-x 0 100%;}

#bottom .widget table td, #bottom .widget table th {
	vertical-align: top;
	padding: 20px 0;
	background: url(images/dotted.png) repeat-x 0 0;
}

#bottom .widget table th {
	width: 50%;
	color: #a82532;
}

#bottom .widget table td {padding-left: 10px;}

#bottom .widget b.arr, .amhp_search b {
	position: absolute;
	right: 37px;
	bottom: -22px;
	width: 43px;
	height: 22px;
	display: block;
	background: url(images/arrow_down.png) no-repeat 0 0;
}
#bottom.mobile b.arr, .sidebar .widget b.arr {display: none;}

/* =Footer
----------------------------------------------- */

#footer {
	clear: both;
	background: url(images/footer_bg.png) repeat-x center bottom #1b3b61;
	border-top: 10px solid #0094b8;
	padding: 90px 0 100px 0;
	font-size: 0.889em;
	color: #fff;
	position: relative;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
	color: #ccc;
	text-decoration: underline;
}

#footer .gov, #footer #site-generator {
	position: relative;
	z-index: 9;
}

#footer .gov a {
	float: left;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
	background: #8d0210;
	color: #fff;
	text-decoration: none;
	width: 170px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 0.875em;
	font-weight: 600;
	behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
}

#footer .gov a:hover {background: #0094b8;}

#footer #site-generator {
	float: right;
	white-space: nowrap;
	padding-top: 5px;
}

#footer_menu {
	font-weight: 600;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	line-height: 1em;
	padding-top: 7px;
}

#footer_menu li {
	border-left: 2px solid #0094b8;
	display: inline-block;
	padding-left: 15px;
	margin-left: 15px;
}

#footer_menu li:first-child {
	border-left: none;
	padding-left: 0;
	margin-left: 0;
}

.copyrights {
	color: #1b3b61;
	font-size: 0.875em;
	text-align: center;
	padding: 28px 0;
}

.copyrights a {
	color: #1b3b61;
	text-decoration: none;
}
.copyrights a:hover {color: #8d0210;}

@media screen and (max-width: 1219px) {
	
	#topmenu, #mobilemenu {display: none;}
	#mainmenu div.home, #mainmenu .topmenu, #mainmenu .show_nav {display: block;}
	
	.phone_menu {display: block;}
	.desktop_menu {display: none;}
	
	#mobilemenu {
		position: absolute;
		background: #1b3b61;
		padding: 0 20px;
		z-index: 9998;
		left: 0;
		right: 0;
		top: 20px;
		padding: 30px 20px 20px 20px;
		-webkit-border-bottom-right-radius: 23px;
		-webkit-border-bottom-left-radius: 23px;
		-moz-border-radius-bottomright: 23px;
		-moz-border-radius-bottomleft: 23px;
		border-bottom-right-radius: 23px;
		border-bottom-left-radius: 23px;
		behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
	}
	
	#mainmenu a.show_nav {
		color: #fff;
		padding: 12px 20px;
		position: relative;
		z-index: 9999;
	}
	
	#mainmenu a.show_nav:focus, #mainmenu a.show_nav:active {
		background: none;
		color: #fff !important;
	}
	
	/* 1st level of items */
	
	#mobilemenu a:hover {
		text-decoration: underline;
		color: #fff;
	}
	
	#mobilemenu div.home, #mobilemenu #menu-main-menu > li, #mobilemenu #menu-main-menu-1 > li, #mobilemenu #menu-top-menu-1 > li {
		padding-top: 2px;
		background: url(images/dotted.png) repeat-x left top;
	}
	
	#mobilemenu #menu-main-menu > li.menu-item-has-children > a, #mobilemenu #menu-main-menu-1 > li.menu-item-has-children > a {
		background: url(images/has_children.png) no-repeat right 50%;
	}
	
	#mobilemenu div.home > a, #mobilemenu #menu-main-menu > li > a, #mobilemenu #menu-main-menu-1 > li > a, #mobilemenu #menu-top-menu-1 > li > a {
		padding: 14px 0;
		color: #fff;
		display: block;
	}
	
	/* 2nd level of items */
	
	#mobilemenu #menu-main-menu > li.open ul, #mobilemenu #menu-main-menu-1 > li.open ul {
		display: block !important;
		line-height: 18px;
		font-size: 15px;
	}
	
	#mobilemenu ul ul {display: none;}
	
	#mobilemenu #menu-main-menu > li.menu-item-has-children > div.sub-nav > ul > li, #mobilemenu #menu-main-menu-1 > li.menu-item-has-children > div.sub-nav > ul > li {margin-bottom: 15px;}
	
	#mobilemenu ul ul a {
		color: #fff;
		padding: 5px 0;
		display: block;
		color: #c7e3f0;
	}
	
	.header_right {
		float: none;
		margin-left: 0;
	}
	
	#mobilemenu ul {list-style-type: none;}
	
	#mobilemenu h5 {
		color: #1695b6;
		font-size: 1em;
	}
	
}

@media screen and (max-width: 1170px) {
	
	#bottom .widget h4.widget-title span {
		padding-top: 0;
		min-height: 80px;
	}
	#bottom .desktop .widget h4.widget-title span {
		padding-top: 20px;
		min-height: 60px;
	}
	
	#footer {padding: 20px 0 100px 0;}
		
	#footer_menu {
		padding-top: 7px;
		position: static;
		text-align: center;
	}
	
}

@media screen and (max-width: 1000px) {
	
	#footer_menu {
		clear: both;
		padding-top: 10px;
		text-align: right;
	}
	
}

@media screen and (max-width: 900px) {
	
	.home_content {margin-bottom: 40px;}
	
	.home_content, .news_feed_home {
		float: none;
		width: auto;
	}
	
	.breadcrumbs, a.print_link {
		clear: both;
		float: none;
		display: block;
	}
	a.print_link {margin-bottom: 20px;}
		
	#content, .sidebar {
		float: none;
		margin: 0;
		width: auto;
		clear: both;
	}
	.sidebar {padding-top: 20px;}
	
}

@media screen and (max-width: 850px) {
	
	#top {display: none;}
	
	#branding {padding: 10px 0 20px 0;}
	#branding .wrapper {padding: 0;}
	
	#site-title {
		padding: 0 20px;
		float: none;
	}
	#site-title img {max-width: 100%;}
	
	.header_right {clear: both;}
	
	.searchform {
		float: none;
		width: auto;
		position: relative;
		padding: 0 76px 0 20px;
		background: #f2f5f6;
		border-top: 5px solid #d0d0d0;
		border-bottom: 5px solid #d0d0d0;
	}
	
	.searchform input.field {
		background: none;
		border: none;
		float: none;
		display: block;
		width: 100%;
		padding: 12px 0;
	}
	
	.searchform input.submit {
		position: absolute;
		right: 0;
		top: 0;
		width: 64px;
		height: 50px;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
	}
	
	.searchform a {display: none;}
	
}

@media screen and (max-width: 720px) {
	
	.desktop {display: none !important;}
	.mobile {display: block !important;}
	
	#branding {
		position: relative;
		padding: 0;
	}
	#site-title {padding: 10px 70px 10px 20px;}
	body.home #primary {padding-bottom: 25px;}
	.home_content {margin-bottom: 10px;}
		
	.amhp_search .form_col {
		float: none;
		margin-bottom: 10px;
		padding-right: 0;
		width: auto;
	}
	
	.amhp_search input.amhp_submit {
		width: 150px;
		float: none;
		margin: 10px 0 20px 0;
	}
	
	.col50 {
		float: none;
		width: auto;
	}
	.news_feed_home .col50 .inner, body.blog article .with_image .inner {padding: 20px 0 0 0;}
	
	#bottom {padding: 30px 0;}
	#bottom.mobile {background: none;}
	
	#bottom .widget h4.widget-title span {
		padding-top: 0;
		min-height: 80px;
	}
	#bottom.mobile .widget h4.widget-title span {
		padding-top: 20px;
		min-height: 60px;
	}
	
	#bottom .wrapper .col50 .widget {padding: 0 !important;}
	#bottom .widget {margin-bottom: 10px;}
	#bottom .widget .textwidget, .sidebar .widget .textwidget {min-height: 1px;}
	
	#footer_menu {
		text-align: center;
		padding-bottom: 20px;
	}
		
	#footer_menu li {
		border-left: none;
		display: block;
		margin: 16px 0;
		padding: 0;
	}
	
	#footer .gov, #footer .gov a {
		margin: 0 auto;
		float: none;
		display: block;
	}
		
	#footer #site-generator {
		float: none;
		padding-top: 5px;
		white-space: normal;
		text-align: center;
		font-size: 12px;
	}
	
	/* =Menu
	-------------------------------------------------------------- */
	
	#branding  a.show_nav {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		text-indent: -9999px;
		z-index: 999999;
		height: 58px;
		width: 60px;
		background: url(images/menu_mobile.jpg) no-repeat right top #1b3b61;
	}
	
	#branding a.show_nav.active {
		padding-left: 20px;
	}
	
	#mainmenu a.show_nav {display: none;}
		
	#mainmenu {
		background: none;
		border-bottom: none;
		border-radius: 0;
		margin-bottom: 0;
		position: static;
		behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
	}
	
	#mobilemenu div.home {background: none;}
	
	#mobilemenu {
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		padding-top: 5px;
		top: 0;
		padding-right: 20px;
		behavior: url(http://www.chiefpsychiatrist.wa.gov.au/wp-content/themes/ocp/pie/PIE.htc);
	}
	
}

@media screen and (max-width: 640px) {
	.amhp_search h4 span,
	#bottom .widget h4.widget-title span, .sidebar .widget h4.widget-title span,
	#bottom .wrapper .col50:first-child h4.widget-title span,
	.sidebar .widget h4.widget-title span,
	#bottom.mobile h4.widget-title span,
	body.blog .sidebar .widget h4.widget-title span,
	body.single-post .sidebar .widget h4.widget-title span,
	#bottom.mobile .widget h4.widget-title span {
		background: none;
		padding: 0;
		min-height: 1px;
	}
}

@media screen and (max-width: 590px) {
	
	.news_feed_home header {padding-right: 20px;}
	.news_feed_home a.side_link {
		position: static;
		width: auto;
		text-align: left;
		display: inline-block;
		clear: both;
		margin-top: 20px;
	}
	
}

@media screen and (max-width: 500px) {
	
	body {
		font-size: 15px;
		line-height: 1.3em;
	}
	
	a.print_link, .breadcrumbs {display: none;}
	
}