/*
Theme Name: One Law Custom
Theme URI: http://onelaw.com.au
Author: Conexium
Author URI: http://www.conexium.com.au
Description: One Law custom Wordpress theme.
Version: 1.0
License: GNU General Public License

-----------------------------------------------------------------*/
/* @group reset - eric myer reset v2.0 | 20110126
-----------------------------------------------------------------*/
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, strong, 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;
}

/* Include fonts
-----------------------------------------------------------------*/
@font-face {
	font-family: StagSans;
	src: url("fonts/StagSans-Book.otf") format("opentype");
}

/* Set tags and general classes
-----------------------------------------------------------------*/
body {
	font-family: StagSans, arial, helvetica, sans-serif;
	font-size: 16px;
	color: #444;
	line-height: 1.2;
	min-width: 320px;
}

* {
	outline: none;
}

h2 {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	color: #004c97;
	margin-bottom: 50px;
	text-align: center;
}
h2:after {
	content: '';
	display: block;
	background: #004c97;
	height: 3px;
	max-width: 100px;
	margin: 10px auto 0 auto;
}
h3 {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 20px;
}
h3:after {
	content: '';
	display: block;
	background: #004c97;
	height: 3px;
	max-width: 100px;
	margin-top: 10px;
}
h4 {
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	color: #004c97;
	margin-bottom: 10px;
}

a {
	text-decoration: none;
	color: rgba(112, 131, 150, 1);
	transition: color .25s linear;
}
a:hover {
	color: rgba(112, 131, 150, .7);
}

p {
	margin-bottom: 14px;
}

img {
	display: block;
}

.bold, strong {
	font-weight: bold;
}
.italic, em {
	font-style: italic;
}

.hide {
	display: none;
}

.left {
	float: left;
}
.right {
	float: right;
}
.center {
	text-align: center;
}
.clearing {
	clear: both;
}

/* Layout
-----------------------------------------------------------------*/
.content-width {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 20px;
}
.content-wider {
	width: 100%;
	max-width: 1620px;
	margin-left: auto;
	margin-right: auto;
}

/* Custom
-----------------------------------------------------------------*/
#social-bar {
	background-color: #004c97;
	color: #fff;
	text-align: right;
	padding: 8px 0;
}
#social-bar img, #mobile-social img {
	display: inline-block;
	padding-left: 5px;
	margin-left: 5px;
}
#social-bar img {
	width: 17px;
	border-left: 1px solid #bed0e4;
}
#mobile-social img {
	width: 24px;
	margin-bottom: 10px;
}
#social-bar a:first-of-type img {
	border-left: 0;
	margin-left: 45px;
}
#mobile-social a:first-of-type img {
	border-left: 0;
	margin-left: 0;
}
#mobile-social {
	text-align: center;
	text-transform: uppercase;
	font-size: 20px;
}
#mobile-social p {
	margin: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #5187b3;
}
#menu-bar {
	padding-top: 20px;
	padding-bottom: 20px;
}
#logo {
	float: left;
	width: 190px;
}
#nav {
	display: block;
	float: right;
	margin-top: 10px;
}
#nav li {
	display: inline-block;
	margin-left: 45px;
	vertical-align: middle;
	text-transform: uppercase;
}
#nav li:last-of-type {
	line-height: 1;
	text-align: right;
	font-size: 18px;
	color: #004c97;
}
#nav a {
	color: #63666a;
}
#nav a.active, #nav a:hover {
	color: #004c97;
}
#mobile-header {
	display: none;
	float: right;
	margin: -20px -20px -20px 0;
}
#mobile-header div {
	float: left;
	text-align: center;
	text-transform: uppercase;
	padding: 10px;
}
#mobile-header div img {
	margin-bottom: 10px;
	height: 40px;
}
#mobile-header a {
	display: block;
	color: #004e99;
}
#mobile-header div#open-mobile {
	background-color: #004e99;
	color: #fff;
	cursor: pointer;
}
#mobile-nav {
	display: none;
	position: absolute;
	top: 89px;
	left: 0;
	width: 100%;
	z-index: 9999;
	background-color: #004e99;
	color: #fff;
	border-bottom: 1px solid #004e99;
}
#mobile-nav li {
	background-color: #ebebeb;
}
#mobile-nav li li {
	background-color: #004e99;
}
#mobile-nav li a {
	display: block;
	padding: 12px 0;
	margin: 0 20px;
	color: #004e99;
	text-transform: uppercase;
	border-bottom: 1px solid #004e99;
}
#mobile-nav > ul > li > a {
	font-weight: bold;
}
#mobile-nav > ul > li:nth-of-type(3) > a, #mobile-nav li:last-of-type a {
	border-bottom: 0;
}
#mobile-nav li li a {
	color: #fff;
	text-transform: none;
	border-bottom: 1px solid #5187b3;
}
#mobile-nav li li a::before {
    content: "+ ";
}
#banner-nav {
	background: #004e99 url('images/down-arrow-white-on-blue.png') top center no-repeat;
	background-size: 24px 12px;
	font-size: 0;
	padding: 25px 0 15px 0;
}
#banner-nav a {
	display: inline-block;
	color: #fff;
	text-transform: uppercase;
	box-sizing: border-box;
	width: 12.5%;
	padding: 5px 10px;
	border-right: 1px solid #588fbf;
	vertical-align: top;
}
#banner-nav a:last-of-type {
	border-right: 0;
	width: auto;
}
#banner-nav img {
	display: inline-block;
	height: 45px;
	vertical-align: middle;
	padding-right: 10px;
}
#banner-nav span {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	font-size: 14px;
}
#banner {
	position: relative;
	margin-bottom: 50px;
	overflow: hidden;
}
.home #banner {
	margin-bottom: 100px;
}
.home #banner .slides li {
	position: relative;
}
#banner img {
	width: 100%;
}
#banner #banner-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, .3);
	z-index: 9;
}
#banner #banner-text, #banner .slider-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
    transform: translateY(-50%);
	color: #fff;
	font-size: 28px;
	padding: 0 20px;
	width: calc(100% - 40px);
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
	text-shadow: 2px 2px #333;
	z-index: 999;
}
#banner #banner-text h1, #banner .slider-overlay h5 {
	text-transform: uppercase;
	margin-bottom: 20px;
}
#banner #banner-text h1:after, #banner .slider-overlay h5:after {
	content: '';
	display: block;
	background: #fff;
	height: 3px;
	max-width: 100px;
	margin: 10px auto 0 auto;
}
#banner .slider-overlay a {
	display: inline-block;
	padding: 10px 20px;
	background-color: #004c97;
	color: #fff;
	font-size: 20px;
	box-shadow: 2px 2px #333;
}
#banner .flex-control-nav {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
}
#banner .flex-control-nav li a {
	position: absolute;
	width: 300px;
	height: 120px;
	border-radius: 0;
	background-size: contain !important;
	visibility: visible;
}
#banner .flex-control-nav li:nth-of-type(1) a {
	top: 30px;
	left: 0;
	background: transparent url('images/home-banner-input-01.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(1) a.flex-active {
	background-image: url('images/home-banner-input-01-on.png');
}
#banner .flex-control-nav li:nth-of-type(2) a {
	top: 153px;
	left: 0;
	background: transparent url('images/home-banner-input-02.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(2) a.flex-active {
	background-image: url('images/home-banner-input-02-on.png');
}
#banner .flex-control-nav li:nth-of-type(3) a {
	top: 276px;
	left: 0;
	background: transparent url('images/home-banner-input-03.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(3) a.flex-active {
	background-image: url('images/home-banner-input-03-on.png');
}
#banner .flex-control-nav li:nth-of-type(4) a {
	top: 399px;
	left: 0;
	background: transparent url('images/home-banner-input-04.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(4) a.flex-active {
	background-image: url('images/home-banner-input-04-on.png');
}
#banner .flex-control-nav li:nth-of-type(5) a {
	top: 30px;
	right: 0;
	background: transparent url('images/home-banner-input-05.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(5) a.flex-active {
	background-image: url('images/home-banner-input-05-on.png');
}
#banner .flex-control-nav li:nth-of-type(6) a {
	top: 153px;
	right: 0;
	background: transparent url('images/home-banner-input-06.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(6) a.flex-active {
	background-image: url('images/home-banner-input-06-on.png');
}
#banner .flex-control-nav li:nth-of-type(7) a {
	top: 276px;
	right: 0;
	background: transparent url('images/home-banner-input-07.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(7) a.flex-active {
	background-image: url('images/home-banner-input-07-on.png');
}
#banner .flex-control-nav li:nth-of-type(8) a {
	top: 399px;
	right: 0;
	background: transparent url('images/home-banner-input-08.png') top left no-repeat;
}
#banner .flex-control-nav li:nth-of-type(8) a.flex-active {
	background-image: url('images/home-banner-input-08-on.png');
}

.sub-heading {
	text-align: center;
	font-weight: bold;
	font-size: 22px;
	color: #222;
	margin-bottom: 70px;
}
#services-wrapper {
	font-size: 0;
}
#services-wrapper div {
	vertical-align: top;
	display: inline-block;
	width: 25%;
	text-align: center;
	text-transform: uppercase;
	box-sizing: border-box;
	padding: 0 20px;
	line-height: 1;
}
#services-wrapper div img {
	width: 96%;
	max-width: 140px;
	margin: 0 auto 20px auto;
}
#services-wrapper p {
	margin-bottom: 0;
	height: 150px;
	display: inline-block;
	font-size: 24px;
}
#home-about {
	background-color: #004c97;
	color: #fff;
	margin-bottom: 100px;
}
#home-about > div {
	font-size: 0;
}
#home-about div div {
	display: inline-block;
	width: calc(50% - 200px);
	font-size: 22px;
	box-sizing: border-box;
	padding: 40px 20px;
	vertical-align: middle;
}
#home-about div div:nth-of-type(2) {
	width: 400px;
	line-height: 505px;
	padding: 0;
}
#home-about div img {
	margin: 0 auto;
}
#home-about li {
	padding-bottom: 20px;
	border-bottom: 1px solid #fff;
	margin-bottom: 20px;
}
#home-about li:last-of-type {
	padding-bottom: 0;
	border-bottom: 0;
	margin-bottom: 0;
}
#lets-get-started {
	color: #004c97;
	font-size: 0;
	margin-bottom: 50px;
}
#lets-get-started > div {
	display: inline-block;
	font-size: 22px;
	text-align: center;
	box-sizing: border-box;
	padding: 0 20px 50px 20px;
	vertical-align: top;
	width: calc(33% - 71px);
}
#lets-get-started > img {
	display: inline-block;
	width: 107px;
}
#lets-get-started div img {
	width: 203px;
	margin: 0 auto;
	vertical-align: top;
}
#lets-get-started div span {
	text-transform: uppercase;
	display: inline-block;
	margin: 15px 0 7px 0;
}
#book-now {
	background: #004c97 url('images/down-arrow-white-on-blue.png') top center no-repeat;
	color: #fff;
	margin-bottom: 100px;
	padding: 100px 0 50px 0;
}
#book-now > div > div {
	width: 45%;
	max-width: 500px;
	float: right;
}
#book-now > div > div:first-of-type {
	float: left;
	font-size: 24px;
}
#book-now > div > div:first-of-type p:nth-of-type(odd) {
	font-size: 34px;
	margin-bottom: 30px;
}
#book-now form {
	font-size: 0;
}
#book-now form p {
	font-size: 16px;
	margin: 15px 3px;
}
#book-now form div {
	font-size: 16px;
}
#book-now form br {
	display: none;
}
#book-now input[type="text"], #book-now input[type="email"], #book-now textarea, #book-now button {
	box-sizing: border-box;
	border: 0;
	padding: 10px;
	color: #333;
	background-color: #fff;
	margin: 3px;
	font-family: arial, helvetica, sans-serif;
	font-size: 16px;
}
#book-now input[type="text"] {
	width: calc(50% - 6px);
	display: inline-block;
}
#book-now input[type="email"], #book-now textarea {
	width: calc(100% - 6px);
	display: block;
}
#book-now textarea {
	margin-top: 6px;
	height: 80px;
}
#book-now button {
	display: block;
	margin: 0 auto;
	width: 180px;
	color: #004c97;
	font-weight: bold;
	cursor: pointer;
}
#book-now ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #004c97;
	font-weight: bold;
}
#book-now ::-moz-placeholder { /* Firefox 19+ */
	color: #004c97;
	font-weight: bold;
}
#book-now :-ms-input-placeholder { /* IE 10+ */
	color: #004c97;
	font-weight: bold;
}
#book-now :-moz-placeholder { /* Firefox 18- */
	color: #004c97;
	font-weight: bold;
}
#locations {
	margin-bottom: 100px;
}
#locations #map-wrapper {
	position: relative;
	height: 450px;
	background-color: #ccc;
}
#locations #map-wrapper #map {
	height: 450px;
}
#locations #map-wrapper .content-wider {
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	font-size: 0;
}
#locations #map-wrapper .content-wider > div {
	display: inline-block;
	vertical-align: bottom;
	color: #fff;
	margin: 0 30px 2px 30px;
	min-width: 205px;
}
#locations #map-wrapper .map-tools {
	display: none;
	background-color: rgba(0, 76, 151, .7);
	padding: 5px 5px 5px 0;
	margin-bottom: 1px;
	font-size: 13px;
}
#locations #map-wrapper .map-tools a {
	color: #fff;
}
#locations #map-wrapper .map-tools img {
	display: inline-block;
	padding-right: 4px;
	margin-left: 5px;
	height: 20px;
	vertical-align: middle;
}
#locations #map-wrapper .details {
	display: none;
	background-color: rgba(0, 76, 151, .7);
	padding: 10px 15px;
	font-size: 14px;
}
#locations #map-wrapper .location {
	background: rgba(0, 76, 151, 1) url('images/map-arrow-up.png') right 15px center no-repeat;
	background-size: 20px 12px;
	padding: 10px 50px 10px 15px;
	font-size: 16px;
	cursor: pointer;
}
#locations #map-wrapper > div > div.active .map-tools, #locations #map-wrapper > div > div.active .details {
	display: block;
}
#locations #map-wrapper > div > div.active .location {
	background-image: url('images/map-arrow-down.png');
}
#latest-news {
	margin-bottom: 100px;
	font-size: 0;
}
#latest-news div {
	overflow: hidden;
	display: inline-block;
	width: calc(33.3% - 20px);
	text-align: center;
	color: #fff;
	background-color: #004c97;
	margin: 0 10px;
	padding-bottom: 20px;
}
#latest-news div img {
	width: 100%;
	margin-bottom: 25px;
	border-bottom: 1px solid #fff;
}
#latest-news div p:first-of-type {
	font-size: 26px;
	max-width: 90%;
	margin: 0 auto 15px auto;
}
#latest-news div span {
	display: inline-block;
	min-height: 160px;
	max-width: 90%;
	font-size: 14px;
}
#testimonials {
	margin-bottom: 100px;
	color: #fff;
	background-color: #004c97;
	padding-top: 50px;
	padding-bottom: 50px;
}
#testimonials h2 {
	color: #fff;
}
#testimonials h2:after {
	background: #fff;
}
.home #testimonials {
	color: inherit;
	background-color: inherit;
	padding-top: 0;
	padding-bottom: 0;
}
.home #testimonials h2 {
	color: #004c97;
}
.home #testimonials h2:after {
	background: #004c97;
}
#testimonials div {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	text-align: center;
}
.flexslider {
	border: 0;
	background-color: transparent;
}
.home .flex-direction-nav a::before, .flex-direction-nav a {
	color: rgba(0, 0, 0, 0.8);
}
.home .flex-control-paging li a.flex-active {
	background-color: rgba(0, 0, 0, 0.9);
}
.home .flex-control-paging li a {
	background-color: rgba(0, 0, 0, 0.5);
}
.flex-direction-nav a::before, .flex-direction-nav a {
	color: rgba(255, 255, 255, 0.8);
}
.flex-control-paging li a.flex-active {
	background-color: rgba(255, 255, 255, 0.9);
}
.flex-control-paging li a {
	background-color: rgba(255, 255, 255, 0.5);
}
#accreditations {
	text-align: center;
	margin-bottom: 30px;
}
#accreditations img {
	display: inline-block;
	height: 150px;
	margin: 0 50px 30px 50px;
}
#contact-wrapper {
	margin-bottom: 30px;
}
#contact-wrapper > div:first-of-type {
	float: left;
	box-sizing: border-box;
	width: 66.6%;
	border-right: 1px solid #ccc;
	padding-right: 20px;
}
#contact-wrapper > div:last-of-type {
	float: right;
	box-sizing: border-box;
	width: 33.3%;
	max-width: 400px;
	padding-left: 20px;
}
#contact-wrapper > div:last-of-type input[type="text"], #contact-wrapper > div:last-of-type input[type="email"], #contact-wrapper > div:last-of-type textarea, #contact-wrapper > div:last-of-type select {
	width: 100%;
	border: 1px solid #cfcfd0;
	background-color: #f1f1f1;
	box-sizing: border-box;
	padding: 8px 10px;
	margin-bottom: 5px;
	font-family: StagSans, arial, helvetica, sans-serif;
	font-size: 14px;
}
#contact-wrapper > div:last-of-type input[type="submit"] {
	float: right;
	color: #fff;
	border: 0;
	background-color: #004c97;
	padding: 8px 30px;
	font-weight: bold;
	font-size: 15px;
}
#services-intro-wrapper {
	margin-bottom: 50px;
}
#services-intro-wrapper #si-content {
	float: right;
	width: calc(100% - 300px);
}
#services-intro-wrapper #si-nav-mobile, #services-intro-wrapper #si-nav-mobile ul {
	display: none;
}
#services-intro-wrapper #si-nav-mobile {
	margin-bottom: 30px;
}
#services-intro-wrapper #si-nav-mobile div a {
	display: block;
	text-transform: uppercase;
	color: #004c97;
	background: #ebebeb url('images/more-arrow-down.png') center right 20px no-repeat;
	padding: 20px;
	box-sizing: border-box;
	margin-bottom: 15px;
	margin-left: -20px;
	font-size: 20px;
	width: calc(100% + 40px);
}
#services-intro-wrapper #si-nav-mobile div a.active {
	background-image: url('images/more-arrow-up.png');
}
#services-intro-wrapper #si-nav {
	float: left;
	width: 250px;
	margin-right: 50px;
}
#services-intro-wrapper #si-nav > div {
	width: 100%;
	max-width: 300px;
	text-align: center;
	color: #004c97;
	width: 100%;
	box-sizing: border-box;
	padding: 15px;
	font-size: 18px;
	background-color: #ebebeb;
	margin: 40px 0;
}
#services-intro-wrapper #si-nav > div a {
	color: #fff;
	background-color: #004c97;
	width: 100%;
	padding: 8px 0;
	text-transform: uppercase;
	display: inline-block;
}
#services-intro-wrapper #si-nav ul:first-of-type a, #services-intro-wrapper #si-nav-mobile ul a {
	display: block;
	color: #666;
	font-size: 18px;
	padding-bottom: 15px;
	border-bottom: 1px solid #888;
	margin-bottom: 15px;
}
#services-intro-wrapper #si-nav ul:first-of-type a:hover, #services-intro-wrapper #si-nav ul:first-of-type a.active, #services-intro-wrapper #si-nav ul li.current-cat > a, #services-intro-wrapper #si-nav-mobile ul a:hover, #services-intro-wrapper #si-nav-mobile ul a.active, #services-intro-wrapper #si-nav-mobile ul li.current-cat > a {
	color: #004c97;
}
#services-intro-wrapper #si-nav ul.little-l, #services-intro-wrapper #si-nav ul.tick {
	margin-bottom: 25px;
}
ul.little-l li {
	background: url('images/li-small-l.png') no-repeat center left;
	padding-left: 50px;
	min-height: 70px;
	margin-bottom: 15px;
	color: #004c97;
	font-size: 20px;
}
ul.little-l li span {
	display: table-cell;
	vertical-align: middle;
	height: 70px;
}
ul.tick li {
	background: url('images/li-tick.png') no-repeat center left;
	padding-left: 50px;
	min-height: 41px;
	vertical-align: middle;
	color: #777;
	margin-bottom: 15px;
	line-height: 1.1;
}
.services-subnav-links {
	margin: 25px 0;
	padding-left: 20px;
	border-left: 2px solid #ccc;
}
.services-subnav-links:hover {
	border-left: 2px solid #777;
}	
.services-subnav-links a {
	display: block;
	color: #444;
}
.services-subnav-links img {
	float: left;
	margin-right: 20px;
	width: 100px;
}
.services-subnav-links .ssnl-title {
	text-transform: uppercase;
	font-size: 18px;
	margin-bottom: 0;
}
#services-wheel {
	position: relative;
	width: 1100px;
	min-height: 1027px;
	background: #ebebeb url('images/services-wheel-0.jpg') top left no-repeat;
	margin: 30px 0;
}
#services-wheel img {
	position: absolute;
	height: 140px;
	width: 140px;
}
#services-wheel div {
	position: absolute;
	max-width: 500px;
}
#services-wheel div span, #services-table span {
	text-transform: uppercase;
	color: #004c97;
}
#services-wheel img:nth-of-type(1) {
	top: 25px;
	left: 250px;
}
#services-wheel div:nth-of-type(1) {
	top: 40px;
	left: 450px;
}
#services-wheel img:nth-of-type(2) {
	top: 250px;
	left: 345px;
}
#services-wheel div:nth-of-type(2) {
	top: 265px;
	left: 545px;
}
#services-wheel img:nth-of-type(3) {
	top: 455px;
	left: 370px;
}
#services-wheel div:nth-of-type(3) {
	top: 470px;
	left: 570px;
}
#services-wheel img:nth-of-type(4) {
	top: 660px;
	left: 345px;
}
#services-wheel div:nth-of-type(4) {
	top: 675px;
	left: 545px;
}
#services-wheel img:nth-of-type(5) {
	top: 870px;
	left: 250px;
}
#services-wheel div:nth-of-type(5) {
	top: 885px;
	left: 450px;
}
#services-table {
	display: none;
	width: 100%;
	margin: 30px 0;
}
#services-table td {
	vertical-align: top;
}
#services-table tr:first-of-type td:nth-of-type(1) {
	background: #004c97;
}
#services-table tr:first-of-type td:nth-of-type(3), #services-table tr:first-of-type td:nth-of-type(4) {
	background: #ebebeb;
}
#services-table tr td:nth-of-type(1) {
	background: #004c97 url('images/table-bg-1.png') top left repeat-x;
}
#services-table tr td:nth-of-type(1) img {
	width: 60px;
	margin: 65px 20px 20px 20px;
}
#services-table tr td:nth-of-type(2) {
	width: 5px;
	font-size: 0px;
}
#services-table tr td:nth-of-type(3) {
	background: #ebebeb url('images/table-bg-2.png') top left repeat-x;
	padding: 50px 5px 20px 5px;
}
#services-table tr td:nth-of-type(3) img {
	width: 120px;
}
#services-table tr td:nth-of-type(4) {
	background: #ebebeb url('images/table-bg-2.png') top left repeat-x;
	padding: 70px 20px 35px 20px;
}
#client-login {
	background-color: #004c97;
	color: #fff;
	padding: 50px 0;
	margin: 50px auto;
	text-align: center;
}
#new-categories ul {
	margin-left: 30px;
}
.news-item {
	padding-bottom: 25px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 25px;
}
.news-item img {
	float: left;
	width: 180px;
	margin-right: 20px;
}
.news-item div {
	float: left;
	width: calc(100% - 200px);
	padding-top: 5px;
}
.post-date {
	font-size: 14px;
	color: #888;
	margin-top: -7px;
}
.news-item a {
	text-transform: uppercase;
	color: #004c97;
}
#client-login input, #client-login button {
	box-sizing: border-box;
	border: 0;
	padding: 10px;
	color: #333;
	background-color: #fff;
	margin: 3px;
	font-family: arial, helvetica, sans-serif;
	font-size: 16px;
	width: 250px;
}
#client-login button {
	width: 150px;
	color: #004c97;
	font-weight: bold;
	cursor: pointer;
}
footer {
	background-color: #ebebeb;
	padding-top: 50px;
}
footer > div:first-of-type {
	font-size: 0;
	max-width: 1150px;
}
footer ul {
	display: inline-block;
	width: calc(33% - 50px);
	box-sizing: border-box;
	font-size: 18px;
	vertical-align: top;
	margin-bottom: 50px;
}
footer ul:last-of-type {
	width: 150px;
}
footer ul li:first-of-type {
	text-transform: uppercase;
	margin-bottom: 10px;
	font-size: 22px;
	color: #004c97;
}
footer a {
	color: #333;
}
.footer-social img {
	display: inline-block;
	width: 24px;
	margin-right: 10px;	
}
footer #copyright {
	background-color: #63666a;
	color: #fff;
	text-align: center;
	padding: 8px 0;
}

.user-wysiwyg {
	margin-bottom: 50px;
}
.user-wysiwyg img {
	max-width: 100%;
	height: auto;
	margin: 35px 0;
}
.user-wysiwyg h4 {
	margin-top: 35px;
}

#print-wrapper {
	width: 842px;
	max-width: 100%;
	margin: 0 auto;
}
#print-wrapper #map {
	height: 450px;
}

.zoom-gallery {
	margin: 40px 0;
	font-size: 0;
}
.zoom-gallery div {
	position: relative;
	margin: 0;
	display: inline-block;
	width: 25%;
	overflow: hidden;
}
.zoom-gallery div * {
	transition: all .6s;
}
.zoom-gallery div img {
	width: 100%;
	margin: 0;
}
.zoom-gallery div:hover img {
	transform: scale(1.2);
}
.zoom-gallery div a {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	z-index: 999;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 76, 151, 0);
}
.zoom-gallery div:hover a {
	background-color: rgba(0, 76, 151, .8);
}
	

/* Media Queries
-----------------------------------------------------------------*/
@media print{
	@page {
		size: landscape;
	}
	#print-wrapper button {
		display: none;
	}
}

@media screen and (max-width: 1600px) {
	#banner-nav a {
		width: auto;
	}
}

@media screen and (max-width: 1580px) {
	#banner .flex-control-nav li a {
		width: 300px;
		height: 120px;
	}
	#banner .flex-control-nav li:nth-of-type(1) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(2) a {
		top: 133px;
	}
	#banner .flex-control-nav li:nth-of-type(3) a {
		top: 256px;
	}
	#banner .flex-control-nav li:nth-of-type(4) a {
		top: 379px;
	}
	#banner .flex-control-nav li:nth-of-type(5) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(6) a {
		top: 133px;
	}
	#banner .flex-control-nav li:nth-of-type(7) a {
		top: 256px;
	}
	#banner .flex-control-nav li:nth-of-type(8) a {
		top: 379px;
	}
}

@media screen and (max-width: 1500px) {
	#banner .flex-control-nav li a {
		width: 250px;
		height: 100px;
	}
	#banner .flex-control-nav li:nth-of-type(1) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(2) a {
		top: 113px;
	}
	#banner .flex-control-nav li:nth-of-type(3) a {
		top: 216px;
	}
	#banner .flex-control-nav li:nth-of-type(4) a {
		top: 319px;
	}
	#banner .flex-control-nav li:nth-of-type(5) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(6) a {
		top: 113px;
	}
	#banner .flex-control-nav li:nth-of-type(7) a {
		top: 216px;
	}
	#banner .flex-control-nav li:nth-of-type(8) a {
		top: 319px;
	}
}

@media screen and (max-width: 1450px) {
	#banner-nav img {
		height: 40px;
		padding-right: 5px;
	}
}

@media screen and (max-width: 1419px) {
	#services-wheel {
		display: none;
	}
	#services-table {
		display: block;
	}
}

@media screen and (max-width: 1350px) {
	#banner-nav {
		display: none;
	}
}

@media screen and (max-width: 1270px) {
	#banner .flex-control-nav li a {
		width: 225px;
		height: 90px;
	}
	#banner .flex-control-nav li:nth-of-type(1) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(2) a {
		top: 103px;
	}
	#banner .flex-control-nav li:nth-of-type(3) a {
		top: 196px;
	}
	#banner .flex-control-nav li:nth-of-type(4) a {
		top: 289px;
	}
	#banner .flex-control-nav li:nth-of-type(5) a {
		top: 10px;
	}
	#banner .flex-control-nav li:nth-of-type(6) a {
		top: 103px;
	}
	#banner .flex-control-nav li:nth-of-type(7) a {
		top: 196px;
	}
	#banner .flex-control-nav li:nth-of-type(8) a {
		top: 289px;
	}
}

@media screen and (max-width: 1200px) {
	#nav li {
		margin-left: 30px;
	}
	#accreditations img {
		height: 120px;
		margin-left: 40px;
		margin-right: 40px;
	}
	#latest-news div img {
		width: 125%;
		margin-left: -25%;
	}
}

@media screen and (max-width: 1150px) {
	#banner.non-home img {
		width: 140%;
		margin-left: -20%;
	}
	#banner .flex-control-nav {
		display: none;
	}
}

@media screen and (max-width: 1090px) {
	#nav li {
		margin-left: 20px;
	}
	#lets-get-started > div {
		width: calc(33% - 50px);
	}
	#lets-get-started div img {
		width: 150px;
	}
	#lets-get-started > img {
		width: 75px;
	}
	#latest-news div img {
		width: 150%;
		margin-left: -45%;
	}
}

@media screen and (max-width: 1000px) {
	#nav li:last-of-type {
		display: none;
	}
	#home-about div div {
		width: calc(50% - 150px);
	}
	#home-about div div:nth-of-type(2) {
		width: 300px;
	}
	#services-intro-wrapper #si-content, #services-intro-wrapper #si-nav {
		float: none;
		width: 100%;
	}
	#services-intro-wrapper #si-nav h3, #services-intro-wrapper #si-nav ul:first-of-type {
		display: none;
	}
	#services-intro-wrapper #si-nav-mobile {
		display: block;
	}
	.zoom-gallery div {
		width: 50%;
	}
}

@media screen and (max-width: 950px) {
	footer ul {
		width: auto;
		margin-right: 80px;
	}
	footer ul:last-of-type {
		margin-right: 0;
	}
	#banner .slider-overlay {
		font-size: 22px;
	}
}

@media screen and (max-width: 900px) {
	#accreditations img {
		height: 90px;
		margin-left: 30px;
		margin-right: 30px;
	}
	#services-wrapper div {
		width: 50%;
	}
}

@media screen and (max-width: 860px) {
	.flex-direction-nav {
		display: none;
	}
}

@media screen and (max-width: 850px) {
	#social-bar, #nav {
		display: none;
	}
	#mobile-header {
		display: block;
	}
	#home-about div div {
		width: 100%;
	}
	#home-about div div:nth-of-type(2) {
		display: none;
	}
	#latest-news div {
		display: block;
		width: 100%;
		margin: 0 0 20px 0;
	}
	#latest-news div img {
		margin-left: 0;
		width: 100%;
	}
	#latest-news div span {
		min-height: 0;
		margin-bottom: 20px;
	}
	#banner.non-home img {
		width: 180%;
		margin-left: -40%;
	}
	#contact-wrapper > div {
		float: none !important;
		width: 100% !important;
		border-right: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}
}

@media screen and (max-width: 780px) {
	#lets-get-started > div {
		display: block;
		width: 100%;
		padding-bottom: 0;
	}
	#lets-get-started > div:last-of-type {
		padding-bottom: 50px;
	}
	#lets-get-started > img {
		display: block;
		margin: 0 auto;
	}
	#book-now > div > div {
		float: none !important;
		width: 100%;
		margin: 0 auto;
	}
}

@media screen and (max-width: 750px) {
	footer ul {
		display: block;
		margin-right: 0;
	}
	footer ul:nth-of-type(2) {
		margin-bottom: 0;
	}
	footer ul:nth-of-type(3) li:first-of-type {
		display: none;
	}
	footer > div:first-of-type {
		padding: 0 50px;
	}
}

@media screen and (max-width: 670px) {
	#banner .slider-overlay {
		font-size: 18px;
	}
	#banner .slider-overlay h5:after {
		display: none;
	}
	#banner .slider-overlay a {
		display: inline-block;
		padding: 5px 10px;
		font-size: 16px;
	}
}

@media screen and (max-width: 650px) {
	#accreditations img {
		height: 80px;
		margin-left: 20px;
		margin-right: 20px;
	}
	#services-table tr td:nth-of-type(1) img {
		width: 45px;
		margin-left: 10px;
		margin-right: 10px;
	}
	#services-table tr td:nth-of-type(3) {
		padding-right: 0;
	}
	#services-table tr td:nth-of-type(3) img {
		width: 90px;
	}
	#services-table tr td:nth-of-type(4) {
		padding: 50px 15px 20px 15px;
	}
	.news-item img {
		float: none;
		width: 100%;
		margin: 0 auto;
	}
	.news-item div {
		float: none;
		width: 100%;
		padding-top: 20px;
	}
}

@media screen and (max-width: 600px) {
	#banner.non-home img {
		width: 200%;
		margin-left: -50%;
	}
	#services-table tr td:nth-of-type(3) img {
		width: 75px;
	}
}

@media screen and (max-width: 550px) {
	#services-wrapper {
		margin-left: -20px;
		width: calc(100% + 40px);
	}
	#services-wrapper div {
		width: 100%;
		background-color: #ebebeb;
		border-bottom: 4px solid #fff;
		padding-left: 0;
	}
	#services-wrapper div img {
		display: inline-block;
		width: 140px;
		margin: 15px 20px 15px 0;
		vertical-align: middle;
	}
	#services-wrapper p {
		width: calc(100% - 200px);
		height: auto;
		margin: 0;
		vertical-align: middle;
	}
	#services-wrapper a {
		color: #004c97;
	}
}

@media screen and (max-width: 450px) {
	#services-wrapper p {
		font-size: 20px;
	}
	#banner #banner-text {
		font-size: 22px;
	}
	#services-table tr td:nth-of-type(3) {
		display: none;
	}
}

@media screen and (max-width: 380px) {
	#menu-bar {
		padding-left: 10px;
	}
	#logo {
		width: 160px;
	}
	#services-wrapper div img {
		width: 110px;
	}
	#services-wrapper p {
		font-size: 18px;
	}
}

/* Fixes
-----------------------------------------------------------------*/
/* Stop zooming on inputs in iPhone */
@media screen and (-webkit-min-device-pixel-ratio:2) and (max-device-width: 1024px) { 
	select:focus, select:hover,
	textarea:focus, textarea:hover,
	input:focus, input:hover {
		font-size: 1rem !important;
	}
}