/*
Theme Name: SD Jobs
Author: Tim Grillage
Description: Scott Dunn recruitment website
*/

/*==================================================*
  Browser reset
 *==================================================*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, aside, abbr, address, del, em, img, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, audio, canvas, details, footer, header, main, menu, nav, picture, section, summary, time, video {border: 0; padding: 0; margin: 0; outline: 0;}
article, aside, details, footer, header, main, menu, img, nav, picture, section {display: block;}
a img {border: 0;}
strong, th {font-weight: bold;}
small {font-size: 0.84em;}
table {border-collapse: collapse; border-spacing: 0;}
td {vertical-align: top;}
button {width: auto; overflow: visible;}
button, input, select, textarea {margin: 0;}
input, select {vertical-align: middle;}
input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom;}
label, input[type="button"], input[type="submit"], input[type="image"], button {cursor: pointer;}
textarea {overflow: auto;}


/*==================================================*
  Common
 *==================================================*/
html{
	font-family: "Segoe UI",Avenir,HelveticaNeue,sans-serif;
    font-size: 10px;
	overflow-x:hidden;
}

body {
	color: #333;
	font-size: 1.5rem;
    line-height: 140%;
	overflow-x:hidden;
	width:100vw;
}
#header{
	position:relative;
}
#wrapper {
	width: 950px;
	position: relative;
	background-color: #fff;
	padding: 0 10px;
	margin: 0 auto;
}
#main {
	width: 630px;
	min-height: 300px;
	float: left;
	margin: 20px 10px 20px 0;
}

p {padding-bottom: 0.7rem;}

a, a:visited {color: #808080;}
a:hover {color: #333;}
a:hover, a:active {outline: none;}

ul, ol {
	list-style-type: none;
	margin: 0 0 0 2em;
}

hr {
	display: block;
	height: 0;
	border: 0;
	border-bottom: 1px solid #ccc;
	margin: 20px auto;
	padding: 0;
	width: 70%;
}

table {margin-bottom: 10px;}
th {text-align: left;}

button:focus, input:focus, select:focus, textarea:focus { outline:none; }

.rounded {/*border-radius: 6px;*/}
.type {/*font-family: "Segoe UI",Avenir,HelveticaNeue,sans-serif;*/}
.medium {background-color: #eee; color: #444;}
.button, #buttons a {text-decoration: none;}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}


/*==================================================*
  Headings
 *==================================================*/
h1 {
	font-family: Palatino,serif;
	font-size: 2.4rem;
	font-weight: normal;
	line-height: 2.4rem;
	margin: 12px 0 15px;
	text-transform: uppercase;
}
h2 {
	font-family: Palatino,serif;
	font-size: 2rem;
	font-weight: normal;
	margin-bottom: 0.6rem;
	text-transform: uppercase;
}
h3 {
	margin-bottom: 0.1rem;
	font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
}
h2 a, h2 a:visited, h3 a, h3 a:visited {
	text-decoration: none;
}
h4 {
	font-size: 1em;
	margin-bottom: 0;
}


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

#tagline {
	width: calc(33.33% - 70px);
	font-size: 1.7rem;
	color: #000;
	line-height: 2.1rem;
	text-transform: uppercase;
	margin-top: 31px;
	font-weight: 100;
	float:left;
	padding-right:70px;
}
#logo {
	width: 33.33%;
	float: left;
	padding: 29px 0 0;
	max-height:60px;
}
#logo a {
	display: block;
   /* height: 60px;*/
    text-align: center;
    color: #000;
}
#logo svg {
	max-height:60px;
}
#searchbar {
	float: right;
	text-align: right;
	width: 33.33%;
}

form.search {
	padding: 15px 0;
    position: relative;
	clear:both;
}
form.search span {
	display: block;
    height: 29px;
    position: absolute;
    right: 29px;
}
form.search input {
	width: 145px;
	height: 27px;
	border: 1px solid #E6E6E6;
	border-radius: 0;
	line-height: 23px;
	padding: 0 5px;
}
form.search button {
	width: 29px;
	height: 29px;
	border: none;
	background: url('images/icons.png') no-repeat left -116px #E6E6E6;
	text-indent: -9999px;
	color: #444;
	line-height: 19px;
}

#buttons {
	float: right;
	padding: 0;
	margin: 10px 0 0 15px;
	overflow: hidden;
}
#buttons li {
	float: left;
}
#buttons li a {
	display: block;
	width: 29px;
	height: 29px;
	margin-left: 5px;
}
#buttons a.social {
  font-size: 0;
	text-decoration: none;
}
#buttons a.facebook {
  background: url('images/icons.png') no-repeat left top #46a;
	margin-left: 0;
}
#buttons a.twitter {
  background: url('images/icons.png') no-repeat left -29px #3ad;
}
#buttons a.instagram {
  background: url(images/icons.png) no-repeat left -572px, linear-gradient( #400080, transparent), linear-gradient(200deg,#d047d1,#ff0000,#ffff00);
}
#buttons a.scottdunn {
  background: url('images/icons.png') no-repeat left -58px #000;
}
#buttons a.contact {
	display: block;
	width: auto;
	height: auto;
	float: left;
	/*background: url('images/icons.png') no-repeat left -87px #e99633;*/
	color: #fff;
	/*line-height: 21px;*/
	padding: 3px 10px;
	margin-left: 15px;
	border: 1px solid transparent;
    border-color: #D0BF95 #82714A #82714A #D0BF95;
    background-color: #bfa76e;
    background: -webkit-linear-gradient(top,#bfa76e,#86754d);
    background: -moz-linear-gradient(top,#bfa76e,#86754d);
    background: linear-gradient(to bottom,#bfa76e,#86754d);
	font-size: 1.2rem;
	text-transform: uppercase;
}


/*==================================================*
  Navigation
 *==================================================*/
#nav {
  clear: both;
}
#nav ul {
	height: 30px;
	position: relative;
	font-family: "Segoe UI",Avenir,HelveticaNeue,sans-serif;
	margin: 0;
	background: #000;
}
#nav #main-nav:before {
    content: "";
    width: 1000px;
    position: absolute;
    left: -1000px;
    top: 0;
    height: 100%;
    background: inherit;
}
#nav #main-nav:after {
    content: "";
    width: 1000px;
    position: absolute;
    right: -1000px;
    top: 0;
    height: 100%;
    background: inherit;
}
#nav ul li {
	width: 150px;
	float: left;
	padding-left: 10px;
	overflow: hidden; /* IE9 fix */
}
#nav ul li:first-child {
  padding-left: 0;
}
#nav ul li a {
	display: block;
	color: #fff;
	text-decoration: none;
	line-height: 2.8rem;
	padding: 0 0 0 10px;
	border-style: solid;
	border-color: rgba(0,0,0,.2);
	border-width: 1px 1px 0 1px;
	text-transform: uppercase;
	font-size: 1.25rem;
}
#nav ul li a:hover, #nav ul li.active a {
	/*background-color: #000;*/
	color: #D0BF95;
}
/*
#nav ul li.active a:hover {
	border-bottom: none;
}
*/
#nav ul li span {
	display: none;
	font-size: 0.9em;
	color: #d3d0c7;
	line-height: 14px;
	white-space: nowrap;
	padding-left: 10px;
	margin-top: 8px;
}
#nav ul ul, #nav ul li.active ul ul {
	display: none;
}

/* Sub menus */
ul#main-nav li.active ul {
	display: block;
	width: 950px;
	height: 30px;
	position: absolute;
	left: 0;
	top: 400px;
	background-color: rgba(0, 0, 0, 0.7);
	z-index:10;
}
#nav ul li ul li {
	width: auto;
	padding: 0;
	margin: 0;
}
ul#main-nav li.active ul li a {
	width: auto;
	border-radius: 0;
	border-left: 1px solid #fff;
	background: none;
	color: #fff;
	line-height: 1.3rem;
	margin-top: 8px;
	text-transform: none;
	padding: 0 10px;
}
#nav ul li.active ul li:first-child a {
	border: none;
}
#nav ul li.active ul li.active a,
#nav ul li.active ul li a:hover {
	color: #D0BF95;
	/*height:13px;*/
}

/* Smartphone navigation */
ul#phone-nav {
  display: none;
  background-color: #fff;
}
#nav ul#phone-nav li {
	background-color: #444;
	background: -webkit-linear-gradient(top,#444,#000);
	background: linear-gradient(top,#444,#000);
	border-color: #555 #000 #000 #444;
	padding:0;
	/*text-align: center;*/
}
#nav ul#phone-nav li a {
  background-image: url('images/icons.png');
  background-repeat: no-repeat;
  padding-left: 35px;
}
#nav ul#phone-nav li.active:not(.contact){
  background: rgba(0,0,0,0.8);
}
#phone-nav li.menu a {
  /*background-position: 10px -437px;*/
  background-position: 10px -491px;
}
#phone-nav li.search a {
  /*background-position: 4px -117px;*/
  background-position: 10px -518px;
}
#phone-nav li.contact a {
  /*background-position: 9px -464px;*/
  background-position: 9px -545px;
}
/*#phone-nav li.menu.active a {
  background-position: 10px -491px;
}
#phone-nav li.search.active a {
  background-position: 10px -518px;
}
#phone-nav li.contact.active a {
  background-position: 9px -545px;
}*/
#phone-search, #phone-subnav, #subnav {
  display: none;
}
#phone-subnav a.sub {
  display: block;
  color: #fff;
  line-height: 30px;
  text-decoration: none;
  padding: 0 10px;
}
#phone-subnav a.sub span {
  display: inline-block;
  width: 15px;
  height: 7px;
  background: url('images/icons.png') -30px -318px no-repeat;
  margin-left: 8px;
}
#phone-subnav a.sub.active span {
  background-position: right -755px;
}
#subnav ul {
  visibility: hidden;
  height: auto;
}
#subnav ul ul {
  display: block;
  padding-bottom: 5px;
  overflow: hidden;
}
#nav #phone-subnav ul li, #nav #phone-subnav ul li a {
	border-radius: 0;
	background: none;
}
#subnav ul li a {
  display: none;
}
#subnav ul li ul li {
  float: none;
}
#subnav ul li ul li a {
  display: block;
  background: none;
  color: #fff;
  padding: 0 10px 0 20px;
}
#subnav ul li.active ul li a:hover {
  height: 27px;
  border: none;
}


/*==================================================*
  Header image & slideshow
 *==================================================*/
#banner {
 /* height: 200px;*/
  background-color: #ddd;
}
#banner img.phone {
  display: none;
}


/*==================================================*
  Ticker
 *==================================================*/
#ticker {
  /*height: 30px;
  background-color: #000;*/
  color: #fff;
  line-height: 30px;
  padding: 0 10px;
  overflow: hidden;
}


/*==================================================*
  Sidebar
 *==================================================*/
#sidebar {
	width: 310px;
	float: right;
	padding-bottom: 10px;
	margin-top: 20px;
}

#sidebar aside {
	background-color: #F4F4F4;
	padding: 15px 20px;
	margin-bottom: 10px;
	overflow: hidden;
	font-size: 1.4rem;
}
#sidebar aside ul {
	margin: 0;
}
#sidebar aside ul li {
  margin-top: 2px;
}
#sidebar aside ul li a {
	text-decoration: none;
	padding:0 0 0 15px;
}
#sidebar aside h3 {
	/*font-size: 1.4rem;
	font-weight: 500;
	text-transform: uppercase;*/
}
#sidebar aside a.action {
	float: right;
	margin-top: 10px;
}

/*#sidebar*/ a.apply {
  display: block;
  background-color: #bfa76e;
  background: -webkit-linear-gradient(top,#bfa76e,#86754d);
  background: -moz-linear-gradient(top,#bfa76e,#86754d);
  background: linear-gradient(to bottom,#bfa76e,#86754d);
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  /*margin-bottom: 10px;*/
  text-transform: uppercase;
  margin: 0 auto 10px;
}
/*#sidebar*/ a.apply:hover {
  background-color: #f6a343;
}
#main a.apply {
	width: fit-content;
}

#sidebar aside.share ul {
  margin-left: -10px;
}
#sidebar aside.share li {
  float: left;
  margin-left: 10px;
}
#sidebar aside.share a {
  display: block;
  width: 40px;
  height: 40px;
  background: url('images/icons.png') left top no-repeat;
  font-size: 0;
}
#sidebar aside.share a.facebook {
  background-position: left -145px;
  background-color: #359;
}
#sidebar aside.share a.facebook:hover {
  background-color: #47b;
}
#sidebar aside.share a.twitter {
  background-position: left -185px;
  background-color: #29c;
}
#sidebar aside.share a.twitter:hover {
  background-color: #4be;
}
#sidebar aside.share a.google {
  background-position: left -225px;
  background-color: #d43;
}
#sidebar aside.share a.google:hover {
  background-color: #f65;
}
#sidebar aside.share a.pinterest {
  background-position: left -265px;
  background-color: #c22;
}
#sidebar aside.share a.pinterest:hover {
  background-color: #e44;
}

#sidebar aside.jobs {
  /*background-color: #17a;
  color: #fff;*/
}
#sidebar aside.jobs h2 {
  /*color: #fff;*/
}
#sidebar aside.jobs li {
	/*background: url('images/icons.png') -30px -318px no-repeat;*/
	position:relative;
}
#sidebar aside.jobs a {
  color: #333;
}
#sidebar aside.jobs a:before{
	content:"\25BA";
	position:absolute;
	left:-5px;
	font-size: 1rem;
	font-family:arial;
}
#sidebar aside.jobs a:hover {
  text-decoration: underline;
}

#sidebar aside.featured li {
  background: none;
}
#sidebar aside.featured h3 {
  /*margin-bottom: 0.1rem;*/
}
#sidebar aside.featured a {
  color: #86754d;
}
#slidebar aside.featured li a{
	padding:0 0 0 15px;
}
#sidebar aside.featured p {
  padding: 0;
}

#sidebar aside.gallery h3 {
	margin-bottom: 2px;
}
#sidebar aside.gallery ul {
	visibility: hidden;
	min-height: 140px;
}
#sidebar aside.gallery li {
  padding-bottom: 15px;
}
#sidebar aside.nuggets li {
  font-style: italic;
}
#sidebar aside.gallery div.gallery_nav {
	width: 270px;
	font-size: 0;
	line-height: 0;
	text-align: center;
}
#sidebar aside.gallery div.gallery_nav a {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: url('images/icons.png') right -10px no-repeat;
	font-size: 0;
	margin: 0 4px;
}
#sidebar aside.gallery div.gallery_nav a.activeSlide {
	background: url('images/icons.png') right top no-repeat;
}

#sidebar aside.picture {
	width: 310px;
	height: 180px;
	position: relative;
	padding: 0;
}
#sidebar aside.picture img {
	background-color: #e2e2e2;
}
#sidebar aside.picture h2 {
	width: 270px;
	position: absolute;
	left: 0;
	bottom: 0;
	font-family: "Segoe UI",Avenir,HelveticaNeue,sans-serif;
	background-color: rgba(0,0,0,0.5);
	font-size: 15px;
	line-height: 1.13em;
	color: #fff;
	padding: 8px 20px;
	margin: 0;
}
#sidebar aside.picture h2.sub {
  padding: 5px 20px 4px;
}
#sidebar aside.picture span {
  font-size: 13px;
  font-weight: normal;
}
#sidebar aside.picture a.action {
	position: absolute;
	right: 20px;
	top: 15px;
	background-color: #000;
	margin: 0;
}

#sidebar aside.hover {
	cursor: pointer;
}
#sidebar aside.hover img {
	opacity: 0.75;
}
#sidebar aside.hover h2 {
  background-color: rgba(0,0,0,0.4);
}
#sidebar aside.hover a.action {
	background-color: #333;
}

/*==================================================*
  Footer
 *==================================================*/
#footer {
	clear: both;
	position: relative;
	background-color: #808080;
	color: #e0e0e0;
	padding: 20px 10px 15px;
	font-size: 1.3rem;
}
#footer:before {
    content: "";
    width: 1000px;
    position: absolute;
    left: -1000px;
    top: 0;
    height: 100%;
    background: #808080;
}
#footer:after {
    content: "";
    width: 1000px;
    position: absolute;
    right: -1000px;
    top: 0;
    height: 100%;
    background: #808080;
}
#footer div {
  width: 220px;
  float: left;
  margin-left: 60px;
}
#footer div:first-child {
  width: 340px;
  padding: 0 30px 10px 0;
  margin: 0;
}
#footer h3 {
  margin-bottom: 10px;
}
#footer ul {
  margin: 0;
}
#footer li {
  padding-left: 30px;
  margin-bottom: 10px;
}
#footer a, #footer a:visited {
	color: #d0bf95;
	/*font-weight: bold;*/
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer #tweets p {
  position: relative;
  color: #fff !important;
  padding: 0 0 15px 28px;
}
#footer #tweets p small {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  background: url('images/icons.png') -5px -33px no-repeat;
  font-size: 0;
}
#footer #tweets p:first-child {
  padding-top: 1px;
}

#footer li.address {
  position: relative;
  line-height: 20px;
  padding-top: 1px;
}
#footer li.address span {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 0;
  background: url('images/icons.png') left -367px no-repeat;
}
#footer li.tel {
  line-height: 20px;
  background: url('images/icons.png') left -391px no-repeat;
}
#footer li.map {
  line-height: 20px;
  background: url('images/icons.png') left -415px no-repeat;
}

#social {
  display: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
	padding: 0;
	margin: 0;
	overflow: hidden;
}
#social li {
	float: left;
	padding: 0;
	margin: 0;
}
#social li a {
	display: block;
	width: 31px;
	height: 31px;
	border-radius: 4px;
	background: url('images/icons.png') 1px 1px no-repeat #000;
	font-size: 0;
	margin-left: 6px;
}
#social li a.twitter {
  background-position: 1px -28px;
}
#social li a.instagram {
  background-position: 1px -572px;
}

#copyright {
  clear: both;
	padding: 0;
}


/*==================================================*
  Common content elements
 *==================================================*/
.copy {
	padding: 0 10px;
}
.copy h2, .copy h3 {
	padding-top: 10px;
}
.copy h1 + h2, .copy h1 + h3 {
  padding-top: 5px;
}
.copy h3.sub-title {
  padding-top: 0;
  margin: -6px 0 15px;
}
.copy h3.sub-title a {
  text-decoration: underline;
}
.copy ul {
	list-style-type: disc;
	padding-bottom: 1em;
}
.copy ul + h2 {
  padding-top: 5px;
}
.copy ol {
  list-style-type: decimal;
  padding-bottom: 1em;
}
.copy p:last-child {
  padding: 0;
}

.no-image {
	background: url('images/no-image.png') center no-repeat #ccc;
}

.action {
	display: inline-block;
}
a.action, .action a, .wp-pagenavi a, .wp-pagenavi .current {
	display: inline-block;
	border-radius: 2px;
	background-color: #000;
	background-image: url('images/icons.png');
	background-repeat: no-repeat;
	color: #fff !important;
	font-size: 10px;
	font-weight: bold;
	line-height: 15px;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0 6px;
}
a.action:hover, .hover a.action, .wp-pagenavi a:hover {
	background-color: #333;
}
a.up {
	background-position: left -335px;
	padding: 0 18px 0 8px;
}
a.down {
	background-position: left -350px;
	padding: 0 18px 0 8px;
}
a.fwd, .action.fwd a, .wp-pagenavi .nextpostslink {
	background-position: right -320px !important;
	padding: 0 18px 0 8px;
}
a.back, .action.back a, .wp-pagenavi .previouspostslink {
	background-position: left -305px !important;
	padding: 0 8px 0 18px;
}

.listing {
  padding: 10px;
  margin-bottom: 10px;
}
.listing:hover {
	background-color: #ddd;
	cursor: pointer;
}
.listing h2 a {
  color: #333;
  font-size: 1.8rem;
}
.listing h2 a:hover {
  color: #86754d;
}

.copy .teams {
  margin-bottom: 5px;
}
.copy .teams h3 {
  padding-top: 5px;
  margin-bottom: 0.14em;
}

iframe {
  border: none;
}
iframe.map, .video-wrapper {
  margin-top: 5px;
}


/*==================================================*
  Pagination
 *==================================================*/
.wp-pagenavi {
	width: 100%;
	text-align: center;
	padding-top: 10px;
}
.wp-pagenavi a, .wp-pagenavi .current {
	margin-right: 4px;
}
.wp-pagenavi .nextpostslink {
	margin: 0;
}
.wp-pagenavi .page, .wp-pagenavi .current {
	width: 10px;
	background-image: none;
}
.wp-pagenavi .current {
	background-color: #ccc;
}

.pagination {
	text-align: center;
}
.pagination a {
	margin-right: 4px;
}
.pagination .fwd a {
	margin: 0;
}


/*==================================================*
  Navigation boxes
 *==================================================*/
.boxes {
	margin-top: 15px;
}
.boxes hr {
	clear: both;
	padding-top: 20px;
	margin: 0 auto;
}

.childbox {
	width: 315px;
	min-height: 260px;
	float: left;
	box-sizing: border-box;
	padding: 10px;
	margin-top: 10px;
}
.childbox.hover {
	background-color: #f4f4f4;
	cursor: pointer;
}
.childbox h2 {
	margin: 10px 0;
}
.childbox h2 a {
	color: #333;
}
.childbox img, .childbox .no-image {
	width: 295px;
	height: 119px;
}
.childbox p {
	padding: 0;
	margin-top: 10px;
}

.boxes.small {
  width: 620px;
	margin: 0 0 10px -5px;
}
.boxes.small .childbox {
	width: 155px;
	min-height: 126px;
}
.boxes.small .childbox .img, .boxes.small .childbox .no-image {
  width: 145px;
	height: 57px;
	background: -2px -30px no-repeat #ccc;
	margin-bottom: 10px;
	overflow: hidden;
}
.boxes.small .childbox .no-image {
	background-size: 39px 39px;
}
.boxes.small .childbox h2 {
  padding-top: 0;
}
.boxes.small .childbox h2 a {
	font-size: 0.9em;
}


/*==================================================*
  Pages with header
 *==================================================*/
#content header {
	padding: 15px 10px;
	margin-bottom: 10px;
}
#content header img, #content header .no-image {
	width: 270px;
	height: 180px;
	float: right;
	border-radius: 6px;
	margin-left: 10px;
}

#content header h1 {
	margin-bottom: 0.4em;
}
#content header h2 {
  font-size: 1.1em;
  margin-bottom: 1em;
}


/*==================================================*
  Contact / Enquiry / Application forms
 *==================================================*/
#respond {
  padding: 0 10px;
  margin-top: 30px;
}

/* AD MODIFIED 2015-04-23 */
#respond>p>strong{display:none}

#respond h2 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 1em;
}

p.hidden, #apply #ni, #apply #bank, #apply #form, #apply #role {
  display: none;
}
.wpcf7-form p {
  overflow: hidden;
}
.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
}
.wpcf7-form fieldset {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.wpcf7-form legend {
  font-weight: bold;
  margin-bottom: 0.38em;
}
.wpcf7-form label {
  display: inline-block;
}
.wpcf7-form input[type='text'], .wpcf7-form input[type='email'], .wpcf7-form input[type='tel'] {
  width: 300px;
  border: 1px solid #999;
  border-radius: 0;
  -webkit-appearance: none;
	padding: 5px 4px;
}
.wpcf7-form textarea {
	width: 300px;
	height: 120px;
	float: left;
	border: 1px solid #999;
	border-radius: 0;
	line-height: 1.53em;
	padding: 5px 4px;
	-webkit-appearance: none;
}
.wpcf7-form input[type='file'] {
  padding: 5px 0;
}
.wpcf7-form #submit {
	width: 110px;
	height: 31px;
	position: absolute;
	bottom: 0;
	right: 0;
    border: 1px solid transparent;
	border-color: #D0BF95 #82714A #82714A #D0BF95;
    background-color: #bfa76e;
    background: -webkit-linear-gradient(top,#bfa76e,#86754d);
    background: -moz-linear-gradient(top,#bfa76e,#86754d);
    background: linear-gradient(to bottom,#bfa76e,#86754d);
	font-size: 1.4rem;
	font-style: normal;
	line-height: 31px;
	color: #fff;
	padding: 0;
	margin: 10px 0 0;
	text-transform: uppercase;
	-webkit-appearance: none;
}
.wpcf7-form #submit:hover {
	background-color: #999;
	color: #fff;
}

.wpcf7-radio, .wpcf7-checkbox {
  display: block;
  margin-top: 5px;
}
.wpcf7-list-item {
  margin: 0 20px 0 0 !important;
}
.wpcf7-list-item input {
  vertical-align: baseline;
  margin-right: 2px;
}
.wpcf7-list-item-label {
  font-weight: normal;
  margin-top: 5px;
}

#apply #passport, #apply #ni {
  margin-bottom: 15px;
}
#apply #passport p, #apply #ni p, #apply #bank p {
  font-weight: bold;
}
#apply #form, #output {
  border-top: 1px solid #d9d6ce;
  padding-top: 15px;
  margin-top: 15px;
}
#output {
  font-weight: bold;
}

#apply .question {
  border-top: 1px solid #d9d6ce;
  font-weight: bold;
  padding-top: 10px;
}
#apply .question .wpcf7-radio, #apply .question .wpcf7-checkbox {
  margin-bottom: 10px;
}
#apply .question input[type="text"] {
  margin: 5px 0;
}

#apply .wpcf7-form-control-wrap.cv {
  display: inline;
}
#apply input.wpcf7-file {
  border: none;
}
#apply #submit {
  position: relative;
  float: left;
  margin-right: 20px;
}

#contact {
  padding-top: 10px;
}
#contact div {
  position: relative;
  overflow: hidden;
}
#contact textarea {
  width: 475px;
  height: 170px;
}

.wpcf7-form ::-webkit-input-placeholder, .wpcf7-form ::-moz-placeholder {
	color: #aaa;
	font-style: italic;
}
.wpcf7-form :-moz-placeholder {
	color: #aaa;
	font-style: italic;
}
.wpcf7-form :-ms-input-placeholder {
	color: #aaa;
	font-style: italic;
}
.wpcf7-form .ajax-loader {
  margin-top: 17px;
}
.wpcf7-form#contact .ajax-loader {
  position: absolute;
  right: 47px;
  bottom: 41px;
}
.wpcf7-not-valid {
  border-color: #f00 !important;
}
.wpcf7-not-valid-tip {
  width: 300px;
}
.wpcf7-response-output, div.wpcf7-validation-errors {
	border: 1px solid #f00 !important;
	font-weight: bold;
	padding: 10px !important;
	margin: 10px 0 0 !important;
}
.wpcf7-mail-sent-ok {
  display: none !important;
}


/*==================================================*
  Responsive design
 *==================================================*/
@media screen and (max-width: 970px) {
  #wrapper, #nav ul, #banner, #banner img,
  .slideshow_container, .slideshow_content, .slideshow_slide, .slideshow_content img,
  #sidebar aside.gallery li, #sidebar aside.gallery div.gallery_nav, #sidebar aside.picture h2 {
    width: 100% !important;
  }
  .slideshow_slide.slideshow_slide_image img{
	  height:100% !important;
  }
  #wrapper {
    box-sizing: border-box;
  	box-shadow: none;
  	margin: 0;
	overflow-x: hidden;
  }
  ul#main-nav {
    margin-right: 0;
  }
  ul#main-nav li {
  	width: 16.6%;
  	padding-left: 0;
  }
  ul#main-nav li:first-child {
    padding: 0;
  }
  ul#main-nav li.active ul{
	 top:calc(100vw/2.375);
	 width: 100vw !important;
	 left:-10px;
	 padding-left:10px;
  }
  ul#main-nav li.active ul li {
    width: auto;
  }
   ul#main-nav li.active ul li a{
    font-size: 1.2rem;
    padding: 0 5px;
  }
  #banner {
    height: auto;
	width: 100vw !important;
    position: relative;
    left: -10px;
  }
  #main {
    width: 67%;
    margin-right: -10px;
  }
  #sidebar {
    width: 33%;
  }
  #sidebar aside {
    padding: 15px;
  }
  #sidebar aside.picture, #sidebar aside.picture img {
    width: 100%;
    height: auto;
  }
  #sidebar aside.picture h2, #sidebar aside.picture h2.sub {
    padding-left: 15px;
  }
  #footer div {
    width: 25%;
    margin-left: 4%;
  }
  #footer div:first-child {
    width: 40%;
    padding-right: 2%;
  }
  #content, .listing {
    margin-right: 10px;
  }
  #content header img, #content header .no-image {
  	width: 44%;
  	height: auto;
  }
  .boxes.large {
    padding-right: 10px;
  }
  .childbox {
    width: 50%;
    box-sizing: border-box;
  }
  .childbox img, .childbox .no-image {
    width: 100%;
    height: auto;
  }
  .boxes.small {
    width: 103%;
  }
  #contact textarea {
    width: 100%;
    float: none;
    box-sizing: border-box;
  }
  .wpcf7-form #submit {
    position: relative;
    left: 0;
    float: left;
    margin-right: 20px;
  }
  .wpcf7-form#contact .ajax-loader {
    position: relative;
    right: 0;
    bottom: 0;
  }
  iframe.map {
    width: 100%;
    height: 310px;
  }
  .video-wrapper {
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
  	margin-bottom: 15px;
  }
  iframe.video {
    position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  }
}
@media screen and (max-width: 790px) {
  #tagline {
    width: 33.33%;
    padding-right:0;
  }
}
@media screen and (max-width: 780px) {
  #nav ul li a{
	padding:0 5px;
  }
}

@media screen and (max-width: 768px) {
  form.search input {
    width: 120px;
  }
  #buttons, #buttons a.contact {
    margin-left: 5px;
  }
  #sidebar h2 {
    font-size: 1.23em;
  }
  #sidebar aside {
    padding: 15px;
  }
  #sidebar aside.picture a.action {
  	right: 15px;
  	top: 10px;
  }
  #footer div {
    width: 27%;
    margin-left: 3%;
  }
  #footer div:first-child {
    width: 38%;
    padding-right: 2%;
  }
  .copy, #respond {
    padding: 0 5px;
  }
}

@media screen and (max-width: 768px) and (min-width: 641px) {
  #sidebar aside.picture h2 {
    font-size: 14px;
    line-height: 1.14em;
    padding: 6px 15px 7px;
  }
  #sidebar aside.picture h2.sub {
    padding: 3px 15px 4px;
  }
}
/*
@media screen and (max-width: 767px) and (min-width: 641px) {
  ul#main-nav li.active ul {
    display: none;
  }
}
*/
@media screen and (max-width: 720px) {
  #logo{
	padding: 40px 0 0;
  }
  #buttons a.facebook, #buttons a.twitter, #buttons a.scottdunn {
    display: none;
  }
  #social {
    display: block;
  }
  #buttons a.contact {
    margin-left: 0;
  }
  ul#main-nav li {
  	width: 18%;
  	margin-right: 0;
  }
  ul#main-nav li:first-child {
    width: 10%;
    padding: 0;
  }
  #main {
    width: 64%;
    margin-right: -10px;
  }
  #sidebar {
    width: 36%;
  }
  #footer div {
    width: 50%;
    padding-bottom: 6px;
    margin: 0 0 2px;
  }
  #footer div:first-child {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
  }
  #copyright {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0 1px;
  }
}
@media screen and (max-width: 670px) {
	#nav ul li a {
		padding: 0 3px;
	}
	#sidebar a.apply{
		font-size:1.8rem;
	}
}

@media screen and (max-width: 640px) {
  #searchbar, #menu, ul#phone-nav li:first-child,
  #sidebar aside.gallery, #sidebar a.apply:not(.dayforce), #sidebar aside.share, #sidebar aside.picture, #main a.apply {
    display: none;
  }

  #tagline{
	 display:none;
	/*width: auto;
    position: absolute;
    text-align: center;
    top: 55px;
    font-weight: 400;
    margin-top: 0;
    font-size: 1.5rem;
    left: 0;
    right: 0;*/
  }

  #logo {
	margin: 0 auto;
    padding: 15px 0 5px;
    width: 250px;
	float: none;
  }

  ul#phone-nav, #phone-subnav {
    display: block;
  }
  ul#phone-nav{
	  max-width: 350px!important;
	  margin: 0 auto;
  }
  #nav {
    min-height: 31px;
    border-bottom: none;
  }

  ul#main-nav li:first-child {
    width: auto;
  }
  ul#phone-nav li {
    width: 32%;
	height: 30px;
    max-width: 110px;
    margin-left: 5px;
  }
  ul#phone-nav li:nth-child(2) {
    margin: 0;
  }
  ul#main.nav, form.search {
    visibility: hidden;
  }
  #phone-search {
    background-color: #333;
    text-align: center;
    padding: 20px 15px;
	width: calc(100% - 10px);
    left: -10px;
    position: relative;
  }
  ul#main-nav {
    background-color: rgba(0,0,0,0.8);
  	height: auto;
  	margin: 0;
  }
  ul#main-nav li {
  	float: none;
  	width: auto;
  	border-radius: 0;
  	padding-left: 0;
  	margin-right: 0;
  }
  ul#main-nav li a {
  	display: block;
  	width: auto;
  	background-color: inherit;
  	color: #fff;
  	line-height: 31px;
	border-color: #3B3B3B;
    border-width: 0 0 1px 0;
	padding: 0 10px;
  }
  ul#main-nav li.active a{
	background: #525252;
  }
  ul#main-nav li:first-child a {
    width: auto;
  }
  body.home ul#main-nav li.active a {
    background: inherit;
  }
  ul#main-nav li a:hover, ul#main-nav li.active a:hover, body.home ul#main-nav li.active a:hover {
    background: #000;
  }

  /* Sub menus */
  ul#main-nav li.active ul {
  	width: 50% !important;
  	height: 100%;
  	top: 0;
  	left: auto;
	right:-10px;
  	background-color: #525252;
	padding-left:0;
  }
  ul#main-nav li.active ul li {
    width: auto;
    border: none;
  }
  ul#main-nav li.active ul li a {
  	width: auto;
  	line-height: 31px;
  	margin-top: 0;
	border: 0;
	border-top: 1px solid transparent;
	text-transform: uppercase;
    padding: 0 0 0 15px;
  }

  form.search span, form.search button {
  	border: none;
  	border-radius: 0;
  	background: none;
  	box-shadow: none;
  }
  form.search span {
	display: block;
    float: left;
    height: auto;
    padding: 0;
    width: 73%;
    position: static;
    margin-right: 3%;
  }
  form.search input {
    width: 100%;
  	height: 15px;
  	border: none;
  	padding: 6px 3px;
  	margin: 0;
  }
  form.search button {
    width: 24%;
  	height: auto;
  	color: #fff;
  	text-indent: 0;
  	line-height: 27px;
  	padding: 0;
  	margin-left: 0;
	background-color: #bfa76e;
    background: -webkit-linear-gradient(top,#bfa76e,#86754d);
    background: -moz-linear-gradient(top,#bfa76e,#86754d);
    background: linear-gradient(to bottom,#bfa76e,#86754d);
	text-transform: uppercase;
    font-size: 1.4rem;
  }

  #main {
    width: 100%;
    float: none;
    margin-right: 0;
  }
  #sidebar {
    width: 100%;
    float: none;
    clear: both;
    margin: 0;
  }
  #sidebar aside {
    padding: 15px 20px;
  }
  #content, .listing {
    margin-right: 0;
  }
  .boxes.large {
    padding-right: 0;
  }
  .childbox:hover {
    background-color: inherit;
  }

}

@media screen and (max-width: 568px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
  #searchbar {
    margin-top: 16px;
  }
  #buttons {
    float: none;
    margin: 0;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  #footer {
    padding-top: 15px;
  }
  #footer div#ldn {
    width: 55%;
  }
  #footer div#chi {
    width: 45%;
  }
  #content header {
  	padding: 10px;
  }
}

@media screen and (max-width: 375px) {
	#tagline{
		font-size:1.2rem;
	}
  #copyright span, .boxes hr {
    display: none;
  }
  #nav ul#phone-nav li a{
	  padding:0 15px 0 30px;
	  background-position-x: 7px;
  }
  #footer div, #footer div#ldn, #footer div#chi {
    width: 100%;
  }
  #footer div {
    border-bottom: 1px solid #9A9A9A;
    margin-bottom: 12px;
  }
  #footer div:first-child {
    margin-bottom: 12px;
  }
  #footer #tweets {
    padding-bottom: 0;
  }
  #copyright {
    border: none;
    padding: 3px 0 2px;
  }
  #content.copy, .copy, #respond {
    padding: 0 10px;
  }
  .boxes {
    margin: 15px 10px 0;
  }
  .childbox {
    width: 100%;
  }
  .boxes.large .childbox.rounded {
    border-radius: 0;
    /*border-top: 1px solid #ccc;*/
  }
  #content header {
    margin: 0 10px 10px;
  }
  #content header {
    position: relative;
    padding-top: 62px;
    padding-bottom: 10px;
  }
  #content header h1, #content header h2 {
    position: absolute;
    top: 10px;
    left: 10px;
  }
  #content header h2 {
    top: 34px;
  }
  #content header img {
    width: 100%;
  	float: none;
  	margin: 0;
  	overflow: hidden;
  }
  .wpcf7-form input[type='text'], .wpcf7-form input[type='email'], .wpcf7-form input[type='tel'] {
    width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 375px) and (min-width: 321px) {
  .childbox {
    padding: 10px 0;
    margin-top: 5px;
  }
  .boxes.small {
    width: 103%;
    margin: -5px 0 0 -5px;
  }
  .boxes.small .childbox {
    width: 160px;
    padding: 5px;
    margin-bottom: 5px;
  }
  .boxes.small .childbox .img, .boxes.small .childbox .no-image {
    width: 150px;
  	height: 59px;
  	background-position: 0 -30px;
  }
}

@media screen and (max-width: 374px) and (min-width: 360px) {
  form.search input {
    width: 244px;
  }
}

@media screen and (max-width: 359px) and (min-width: 320px) {
  form.search input {
    width: 204px;
  }
}

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

  ul#phone-nav li {
    max-width: auto;
	width:auto;
    margin-left: 4px;
  }
  #sidebar {
    display: block;
  }
  #logo {
   // margin-left: 0;
  }
  #main {
    margin: 15px 0;
  }
  #sidebar aside {
    padding: 15px;
  }
  #sidebar aside.picture h2 {
    font-size: 14px;
    line-height: 1.14em;
    padding: 6px 15px 7px;
  }
  #sidebar aside.picture h2.sub {
    padding: 3px 15px 4px;
  }
  #sidebar aside.picture a.action {
  	right: 15px;
  }
  #social {
    position: relative;
    clear: both;
    left: 0;
    top: 0;
    border-bottom: 1px solid #9A9A9A;
    padding-bottom: 12px;
  }
  #social li a {
    margin: 0 6px 0 0;
  }
  #copyright {
    padding-top: 15px;
  }
  .boxes {
    margin: 0;
  }
  .boxes.large .childbox {
    min-height: 235px;
    padding: 5px 0;
  }
  .boxes.small {
    width: 103%;
    margin: 0 0 0 -5px;
  }
  .boxes.small .childbox {
    margin: 0;
  }
  #content header {
    margin: 0 0 10px;
  }
  #content.copy, .copy, #respond {
    padding: 0;
  }
  .wpcf7-form input[type='text'], .wpcf7-form input[type='email'], .wpcf7-form input[type='tel'], #contact textarea {
    width: 100%;
    box-sizing: border-box;
  }
}

/*==================================================*
  IE fixes
 *==================================================*/
html#ie7 .clearfix {zoom: 1;}
html#ie7 form.search span {padding-top: 1px;}
html#ie7 form.search input {height: 21px; border: 1px solid #fff; line-height: 20px; margin-top: 1px;}
html#ie7 #sidebar aside.picture h2 {background-color: #000; filter: alpha(opacity=50);}
html#ie7 .wp-pagenavi a, html#ie7 .wp-pagenavi .current,
html#ie7 a.action {min-height: 15px; line-height: 13px;}

html#ie7 .childbox, html#ie8 .childbox {width: 305px;}
html#ie7 #sidebar aside.hover img, html#ie8 #sidebar aside.hover img {filter: alpha(opacity=75);}

html#ie8 #sidebar aside.picture h2 {
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000);
}