/*
Theme Name:     Mills Oakley responsive_
Theme URI:      http://www.chromatix.com.au
Description:    A responsive theme designed for Mills Oakley
Author:         Chromatix
Author URI:     http: //www.chromatix.com.au
Version:        3.0.3 (16/08/2017)
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

/***
 * General
 */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #77787b;
	background-color: #fff;
}
h1, h2, h3, h4 {
	font-family: "proxima-nova", sans-serif;
	font-weight: 300;
}
h2, h3, h4 {
	/*font-weight: 700;*/
}
h1 {
	color: #00aeef;
	font-size: 30px;
	margin-bottom: 10px;
	line-height: 36px;
}
h2 {
	color: #00aeef;
	font-size: 24px;
	margin-bottom: 10px;
	line-height: 30px;
}
h3 {
	color: #00aeef;
	font-size: 18px;
	margin-bottom: 10px;
	line-height: 24x;
}
h4 {
	color: #00aeef;
	font-size: 14px;
	margin-bottom: 10px;
	line-height: 18x;
}

p {
	color: #77787b;
	margin-bottom: 15px;
	font-size: 12px;
	line-height: 16px;
}
em {
	font-style: italic;
}

a {
	color: #2073A5;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/***
 * Header
 */
#header_runner {
	height: 200px;
	width: 100%;
	position: absolute;
	top: 0;
	z-index: -10;

	background: url('images/header_runner.jpg') top center no-repeat;
}
#masthead {
	width: 100%;
	background: white;
	margin-top: 17px;
	height: 88px;
}
#masthead_content {
	width: 962px;
	margin: 0 auto;
}
/* main navigation */
#main_nav {
	float: right;
}
#main_nav > ul {
	margin-top: 55px;
}
#main_nav > ul > li {
	float: left;
	padding-bottom: 15px;
}
#main_nav > ul > li a {
	color: #77787b;
	text-transform: uppercase;
	line-height: 22px;
	font-size: 12px;
	text-decoration: none;
	font-weight: bold;
	padding: 0 15px 5px 15px;
	outline: none;
}
#main_nav > ul > li.current-menu-item > a , #main_nav > ul > li.current-page-ancestor > a {
	border-bottom: 3px solid #00aeef;
}
/* 2nd level navigation */
#main_nav > ul > li > ul.sub-menu {
	display: none;
	position: absolute;
	background: #f0f0f0;
	margin-top: 11px;
	margin-left: -10px;
	box-shadow: inset 0 10px 20px -20px #666;
	z-index: 5; // makes sure it stays on the top most layer, has to be placed last in list to have styling appear
}
#main_nav > ul > li:hover > ul.sub-menu {
	display: block;
	position: absolute;
}
#main_nav > ul > li > ul.sub-menu > li a {
	text-transform: none;
	width: 160px;
	display: block;
	padding: 3px 10px;
	line-height: 22px;
	min-height: 22px;
	font-size: 12px;
}
#main_nav > ul > li > ul > li:hover a {
	background: #fff;
}
/* 3rd level navigation */
/*#main_nav > ul > li > ul > li > ul.sub-menu {
	display: none;
	position: absolute;
	float: right;
	margin-left: 180px;
	margin-top: -28px;
	background: #e5e5e5;
}
#main_nav > ul > li > ul > li > ul.sub-menu > li a {
	line-height: 22px;
	width: 180px;
}
#main_nav ul ul li:hover ul.sub-menu {
	display: block;
}
*/
img#logo {
	width: 283px;
	height: 42px;
	float: left;
	margin-top: 22px;
}

/***
 * Body
 */
#main {
	background: white;
	width: 960px;
	overflow: hidden;
	padding-top: 10px;
	margin: 50px auto 0 auto;
}

#main_content ul li {
	list-style: disc outside;
	margin-left: 25px;
}

/* CHROMATIX TM 06/08/2014 - addition of extra ol + ul styles */
#main_content ul, #main_content ol { margin-bottom: 15px; }
	#main_content ul li ul li { list-style-type: circle; }
	#main_content ol li { list-style-type: decimal; margin-left: 25px; }
	#main_content ol li ol li { list-style-type: lower-alpha; }
/* END CHROMATIX TM */

#main_sidebar {
	float: left;
	padding-left: 20px;
	padding-right: 10px;
	padding-top: 30px;
	padding-bottom: 20px;
	width: 210px;
}
/* menu styling */
#main_sidebar > li {
	list-style-type: none;
	margin-left: none;
}
#main_sidebar > li + li, #main_sidebar > a + li,  #main_sidebar > li + a, #main_sidebar > a + a {
	margin-top: 30px;
}
#main_sidebar > li h2.widgettitle {
	background: #2073a5;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 14px;
	padding-left: 10px;
	margin: 0;
}
#main_sidebar > a {
	display: block;
}
#main_sidebar ul {
	padding: 0 10px;
	background: #cfdde5;
}
#main_sidebar ul li {
	padding-left: 10px;
	background: url( 'images/sidebar_menu_item.png' ) left no-repeat;
	line-height: 29px;
	border-bottom: 1px solid #fff;
	font-size: 12px;
}
#main_sidebar ul li:last-child {
	border-bottom: none;
}
#main_sidebar ul li a {
	color: #2073a5;
	text-decoration: none;
}
/* twitter feed style */
#main_sidebar .twtr-doc, #main_sidebar .twtr-timeline {
	border-radius: 0 !important;
}
#main_sidebar iframe.twitter-share-button {
	display: none;
}

#main_sidebar > li.widget_text h2.widgettitle {
	display: none;
}

#main_content {
	float: right;
	padding-left: 10px;
	padding-right: 20px;
	width: 690px;
}
#main_content #breadcrumb {
	/*height: 30px;*/
	width: 100%;
	line-height: 30px;
}
#main_content #breadcrumb a {
	color: #77787b;
}

#main_lower {
	clear: both;
	border-top: 1px solid #ccc;
	margin: 30px 20px 0 20px;
	width: 920px;
	overflow: hidden;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
}
#main_lower > a {
	color: #a1a3a9;
	text-decoration: none;
}

/***
 * Footer
 */
#footer {
	width: 100%;
	background: #6A737B;
	overflow: hidden;
	height: 40px;
}

#footer_content {
	width: 962px;
	margin: 0 auto;
	color: white;
	line-height: 38px;
	font-size: 13px;
}

#copyright {
	float: left;
}

#chromatix {
	float: right;
}

/***
 * Front Page
 */
#homepage_slider {
	height: 583px;
	width: 100%;
	position: absolute;
	top: 0;
	z-index: -10;
	margin: 0 auto;

	/*background: url('images/homepage_slider.jpg') top center no-repeat;*/
}
#homepage_slider div {
	width: 100% !important;
	height: 583px;
	background-position: top center;
	background-repeat: no-repeat;
	margin: 0 auto;
	display: none;
}
body.home h1 {
	margin-bottom: 20px;
}
body.home #main {
	margin: 435px auto 0;
}

#main_lower #front_page_lower {
	overflow: hidden;
	padding-bottom: 10px;
}
#main_lower #front_page_lower > li {
	float: left;
	width: 25%;
	width: 18%; /* CHROMATIX TM 7/10/14 */
	margin: 0 1%; /* CHROMATIX TM 7/10/14 */
	list-style: none;
	text-align: left;
}
#main_lower #front_page_lower > li h2.widgettitle {
	font-family: Arial, Helvetica, sans-serif;
	color: #00aeef;
	font-weight: bold;
	font-size: 12px;
}
#main_lower #front_page_lower > li:first-child {
	/* width: 230px; /* REMOVED - CHROMATIX TM 7/10/14 */
	margin-left: 0; /* CHROMATIX TM 7/10/14 */
}
#main_lower #front_page_lower > li:last-child {
	/* width: 210px; /* REMOVED - CHROMATIX TM 7/10/14 */
	margin-right: 0; /* CHROMATIX TM 7/10/14 */
}

#main_lower #front_page_lower > li.widget_nav_menu h2.widgettitle {
	color: #2073a5;
}
#main_lower #front_page_lower ul.menu li {
	margin-left: 10px;
}
#main_lower #front_page_lower ul.menu li:before {
	content: "- ";
}
#main_lower #front_page_lower ul.menu li a {
	color: #77787b;
	text-decoration: none;
}

body.home #front_page_lower {
	width: 100%;
}

/***
 * Page: Our Services
 */
body.page-id-6 #main_content ul {
	width: 50%;
	float: left;
}
body.page-id-6 #main_content ul li {
	padding-left: 10px;
	background: url( 'images/sidebar_menu_item.png' ) left no-repeat;
	list-style: none;
	line-height: 20px;
}

/***
 * Page: Contact
 */
body.page-id-12 table {
	margin-bottom: 20px;
	width: 100%;
}

body.page-id-12 table tr td {
	width: 220px;
	padding-bottom: 5px;
}

/***
 * Page: Our People & Our People search results
 */
/* search bar */
#staff_search {
	width: 670px;
	padding: 10px;
	background: #CFDDE5;
	color: #77787B;
	overflow: hidden;
	line-height: 21px;
}
#staff_search a {
	color: #2073A5;
	text-decoration: none;
}
#staff_search #staff_search_location, #staff_search #staff_search_team {
	float: left;
	overflow: hidden;
}
#staff_search #staff_search_location {
	padding-right: 20px;
}
/* team drop down menu */
#staff_search #staff_search_team #search_term_menu {
	float: right;
}
#staff_search #staff_search_team ul#search_team {
	float: right;
	position: absolute;
	z-index: 1; // so that it doesn't appear above main nav dropdown
	width: 150px;
	margin-left: 3px;
}
#staff_search #staff_search_team ul#search_team li {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0 5px;
	background: #f5f5f5;
	/*height: 20px;*/
}
#staff_search #staff_search_team ul#search_team li + li {
	padding-top: 5px;
}
#staff_search #staff_search_team ul#search_team li.all {
	display: block;
	background: url('images/search_staff_teams_arrow.png') top right no-repeat #F0F0F0;
}
#staff_search #staff_search_team ul#search_team li.all:hover {
	background: url('images/search_staff_teams_arrow.png') top right no-repeat #fff;
}
#staff_search #staff_search_team ul#search_team:hover li {
	display: block;
}
#staff_search #staff_search_team ul#search_team li a {
	display: block;
	width: 150px;
	/*height: 20px;*/
	line-height: 20px;
}
#staff_search #staff_search_team ul#search_team li:hover {
	background: #fff;
}

#staff_search form#search {
	float: right;
	margin-top: -2px;
}
#staff_search form#search input, #staff_search form#search button{
	font-size: 12px;
}

#staff_list {
	clear: both;
	overflow: hidden;
}
#staff_list a {
	color: #2073A5;
	text-decoration: none;
}
#staff_list .staff {
	width: 670px;
	overflow: hidden;
	padding: 10px 10px;
}
#staff_list .staff:nth-child(even) {
	background: #eee;
}
#staff_list .staff > div {
	float: left;
	min-height: 55px;
}
#staff_list .staff_photo {
    width: 80px;
}
#staff_list .staff_name {
	width: 185px;
	padding-right: 40px;
}
#staff_list .staff_name h4 {
	margin-bottom: 0;
}
#staff_list .staff_name h4 a {
	color: #00AEEF;
	text-decoration: none;
}
#staff_list .staff_name .staff_team {
	padding-top: 5px;
	clear: both;
}
#staff_list .staff_details {
	width: 240px;
}
#staff_list .staff_details p {
	margin-bottom: 0;
}
#staff_list .staff_location {
	width: 100px;
}

/***
 * Pages: Our People - Single Staff Pages
 */
body.single-staff .staff_details {
	width: 220px;
	float: left;
}
body.single-staff .staff_details img.staff_thumb {
	margin-bottom: 20px;
}
body.single-staff .staff_details p {
	margin-bottom: 0;
}
body.single-staff .staff_details p.staff_role {
	font-weight: bold;
}
body.single-staff .staff_details p.staff_email a {
	color: #2073A5;#CFDDE5
	text-decoration: none;
}

body.single-staff .staff_description {
	width: 470px;
	float: right;
}

/***
 * Pages: Charity & Not-For-Profit Tabs pages
 */
div#jquery_tabs > ul li {
	list-style: none;
	margin-left: 0;
}
div#jquery_tabs > ul li a {
	outline: none;
}
div#jquery_tabs > div li {
	color: #77787B;
}
div#jquery_tabs > div ul {
	margin-bottom: 15px;
}

/***
 * Pages: Charity & Not-For-Profit: Previous Seminars
 */
body.page-id-596 table#previous_seminars tr td {
	vertical-align: middle;
	text-align: center;
	height: 200px;
}

/***
 * Publication Pages
 */
div.publication {
	padding-bottom: 10px;
}
div.publication h3 > a {
	color: #00AEEF;
}

div.publication a.readmore {
	clear: both;
	float: right;
}

body.single-post #main_content h1 {
	margin-bottom: 0;
}
body.single-post #main_content div.date {
	margin-bottom: 10px;
	color: #bbb;
}


/***
 * Event
 */
#event {
	background: white;
	width: 960px;
	overflow: hidden;
	padding-top: 10px;
	margin: 20px auto 0 auto;
}

#event_content ul li {
	list-style: disc outside;
	margin-left: 25px;
}

#event_sidebar {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 30px;
	padding-bottom: 20px;
	width: 210px;
}
#event_content {
	float: none;
	padding-left: 5px;
	padding-right: 5px;
	width: 960px;
}
#event_content #breadcrumb {
	/*height: 30px;*/
	width: 100%;
	line-height: 30px;
}
#event_content #breadcrumb a {
	color: #77787b;
}


/***
 * Estate Agency Form - Added by CHROMATIX DJ - 14/11/2016
 */
.lightbox-form-page .enquiry-form-button{
	float: right;
	width: 200px;
	background: #2073a5;
	height: 40px;
	line-height: 40px;
	color: #fff;
	font-size: 15px;
	text-align: center;
	cursor: pointer;
	position: relative;
}


.lightbox-form-page .lightbox{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #000;
	opacity: 0.7;
	z-index: 10;
}

.chr-form-wrap{
	display: none;
	box-sizing: border-box;
	position: fixed !important;
	top: 0; left: 0; bottom: 0; right: 0;
	width: 60%;
    height: 520px;
	min-width: 300px;
	max-width: 540px;
	padding: 40px;
	overflow: auto;
	margin: auto;
    z-index: 9999;
	background-color: #fff;
	cursor: initial;
}

.chr-form-wrap .inner-form{
	position: relative;
}

.chr-form-wrap .inner-form .form-close{
	display: block;
	position: absolute;
	top: -5px;
	right: -5px;
	width: 16px;
	height: 16px;
	background-image: url('images/close.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	transition: opacity 0.3s;
	opacity: 0.6;
	curosr: pointer;
	z-index: 10;
}

.chr-form-wrap .inner-form .form-close:hover{
	transition: opacity 0.3s;
	opacity: 1;
}

.chr-form-wrap p:after{
	display: table;
	content: '';
}

.chr-form-wrap p:nth-of-type(1){
	margin: 0; height: 0;
}

.chr-form-wrap p:nth-of-type(2){
	margin-top: 0;
	margin-bottom: 0;
}

.chr-form-wrap br{
	display: none;
}
.chr-form-wrap label span:first-child{
	display: none;
}

.chr-form-wrap .wpcf7-not-valid-tip { display: none !important; }

.chr-form-wrap .wpcf7-form-control-wrap { height: auto !important; overflow: visible !important; }

.chr-form-wrap .wpcf7-form-control-wrap { display: block !important; margin-bottom: 10px;}

.chr-form-wrap .wpcf7-response-output{
	box-sizing: border-box;
	margin: 0;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,.9);
	position: absolute;
	bottom: 40%;
	left: 5%;
	width: 90%;
	padding: 1.2em 1.5em;
	font-size: 16px;
	line-height: 1.6em;
	text-align: center;
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.3);
}

.chr-form-wrap .wpcf7-not-valid { border-color: #da0030; }
.chr-form-wrap .wpcf7-response-output .wpcf7-validation-errors { border-color: #FABB00; }
.chr-form-wrap .wpcf7-response-output .wpcf7-mail-sent-ok { border-color: #6FCB12;  }

.chr-form-wrap input,
.chr-form-wrap textarea,
.chr-form-wrap select{
	box-sizing: border-box;
	display: block;
	width: 100%;
	float: left;
	margin: 0;
	margin-bottom: 8px;
	padding: 4px;
}

.chr-form-wrap .wpcf7-submit{
	display: block;
	width: 200px;
	background: #2073a5;
	height: 40px;
	line-height: 40px;
	color: #fff;
	font-size: 15px;
	text-align: center;
	cursor: pointer;
	position: relative;
	border: none;
	outline: none;
	padding: 0;
	margin: 0;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
}


/***
 * Table Layout Template - Added by CHROMATIX DJ - 19/1/2017
 */
.page-template-template-table-page .table_wrap{
	display: block;
	width: 100%;
}

.page-template-template-table-page .table_item{
	display: block;
	float: left;
	width: 142px;
	height: 144px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	margin-bottom: 15px;
	margin-right: 15px;
}
