/*
THEME NAME: Exact Radiology
THEME URI: http://www.exactradiology.com.au
AUTHOR: Flip Creative
*/

html, body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000;
	background: #000;
}

/* Misc */

.clear {clear:both;}
.left {float:left;}
.right {float:right;}
img {border: 0; max-width: 100%;}
.alignleft {float:left; margin-right: 30px; margin-bottom: 20px;}
.aligncenter {display:block; margin: 0 auto;}
.alignright {float:right; margin-left: 30px; margin-bottom: 20px;}

a {
	color: #ea2b91;
}

.button {
	display: inline-block;
	margin-top: 20px;
	padding: 13px;
	background: #ea2b91;
	color: #fff;
	border-radius: 4px;
	border: none;
	font-size: 16px;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: "interstate plus";
	position: relative;
}
.button.arrow {
	padding-right: 40px;
}
.button.arrow:after {
	background: url(images/arrow-right-white.png);
	width: 6px;
	height: 9px;
	content: " ";
	display: block;
	position: absolute;
	top: 18px;
	right: 16px;
}


/* Main elements */

#wrapper {
	position: relative;
	z-index: 10;
}

#background {
	position: absolute;
	z-index: 0;
	width: 100%;
	top: 0;
	left: 0;
}
#background img {
	display: block;
	width: 100%;
	/*min-width: 600px;*/
	margin: 0 auto;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
}
#background img.active {
	z-index: 100;
}

#nav_overlay {
	position: fixed;
	display: none;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: #000;
	z-index: 50;
	opacity: 0;
	filter:alpha(opacity=0);
}

.inner {
	max-width: 990px;
	margin: 0 auto;
}


/* Header and main menu */

#header {
	height: 322px;
}
#header .inner {
	padding-top: 45px;
	text-align: center;
}

.logo a {
	text-decoration: none;
}
.logo .svg-container {
	display: block;
	margin: 0 auto 21px auto;
}
.logo svg {
	margin: 0 auto;
	max-width: 100%;
	width: 180px;
	height: 180px;
}

#menu-header {
	padding: 0;
	margin: 76px 0 0 0;
	list-style: none;
}
#menu-header li {
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	display: inline-block;
}
#menu-header li a {
	font-family: interstate;
	color: #fff;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	margin: 0 auto 25px auto;
	letter-spacing: 1px;
	max-width: 130px;
}
#menu-header li a:before {
	content: " ";
	display: block;
	background-image: url(images/nav.png);
	background-repeat: no-repeat;
	width: 32px;
	height: 32px;
	margin: 0 auto 14px auto;
}
#menu-header li.home a:before {background-position: 0 0;}
#menu-header li.services a:before {background-position: -32px 0;}
#menu-header li.patient a:before {background-position: -32px 0;}
#menu-header li.referrer a:before {background-position: -64px 0;}
#menu-header li.clinic a:before {background-position: -96px 0;}
#menu-header li.booking a:before {
	background-position: -128px 0;
	width: 37px;
}
#menu-header li.employment a:before {
	background-position: -165px 0;
	width: 37px;
}

#menu-header li.referrer a:before {background-position: -203px 0;}
#menu-header li.patient a:before {
	background-position: -236px 0;
	width: 42px;
}

@media(min-width: 1240px) {
	#menu-header li.current-menu-item a:after,
	#menu-header li.current-menu-ancestor a:after,
	#menu-header li.current_page_ancestor a:after {
		content: " ";
		display: block;
		margin-left: -21px;
		width: 42px;
		height: 22px;
		background: url(images/nav-arrow.png) 0 0 no-repeat;
		position: absolute;
		left: 50%;
		top: 194px;
	}
}

#menu-header ul {
	display: none;
}


/* Sub nav menu */

#subnav {
	min-height: 5px;
	background: rgba(0,0,0,0.3);
	padding-bottom: 15px;
}
#subnav h2 {
	color: #f278bb;
	font-family: interstate;
	font-size: 18px;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	font-weight: normal;
	border-bottom: 1px solid #5b3451;
	padding: 30px 0 20px 0;
}
#subnav h2 a {
	text-decoration: none;
	color: inherit;
}

#subnav ul {
	padding: 0;
	margin: 0 auto;
	list-style: none;
	overflow: hidden;
	max-width: 780px;
}
#subnav ul li {
	padding: 0 20px 0 20px;
	margin: 12px 0 0 0;
	list-style: none;
	width: 25%;
	float:left;
	box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	font-size: 13px;
	font-family: "interstate plus";
	line-height: 16px;
	letter-spacing: 1px;
}
#subnav ul li:nth-child(4n+1) {
	clear:left;
}
#subnav ul li a {
	color: #f278bb;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: normal !important;
	display: block;
}
#subnav ul li .last-word {
	white-space: nowrap;
}
#subnav ul li .arrow {
	background: url(images/subnav-arrow.png) 100% 0 no-repeat;
	width: 6px;
	height: 9px;
	padding-left: 10px;
	display: inline-block;
}

	
#subnav ul li.current-menu-item a,
#subnav ul li.current-menu-parent > a,
#subnav ul li:hover a {
	color: #fff;
}
#subnav ul li.current-menu-item .arrow,
#subnav ul li:hover .arrow {
	background-position: 100% -9px;
}

#subnav .phone {
	display: block;
	color: #fff;
	font-family: "interstate";
	margin-top: 3px;
	margin-bottom: 3px;
	font-size: 12px;
}
#subnav .phone span {
	background: url(images/icons/phone.png) 0 2px no-repeat;
	padding-left: 18px;
}

#subnav ul ul {
	display: none;
}


/* Content area */

#container {
	background: #fdf9f8;
	clear:both;
}
#content {
	max-width: 930px;
	margin: 0 auto;
	background: #fff;
	padding: 20px 30px 30px 30px;
}

#content p {
	line-height: 18px;
	margin: 18px 0;
}

#content hr {
	height: 0;
	color: transparent;
	background: transparent;
	border-bottom: 1px solid #e5e5e5;
	margin: 28px 0;
}

#content h1,
#content h2 {
	font-size: 22px;
	line-height: 24px;
	font-family: "interstate plus";
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 28px 0;
}
#content h2 + h3,
#content h1 + h3 {
	margin: -18px 0 0 0;
}
#content h3 {
	font-size: 16px;
	line-height: 18px;
	font-family: "interstate plus";
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ea2b91;
}
#content h4 {
	font-size: 13px;
	line-height: 15px;
	font-family: "interstate plus";
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#content .fancybox {
	margin: 0 10px;
}

#content ul li,
#content ol li {
	margin: 4px 0;
	line-height: 18px;
}


/* Footer */

#footer {
	background: #26001d;
	padding: 33px 0 42px 0;
}

.footer-left {
	text-align: center;
	padding: 0 !important;
}

@media screen and (min-width: 768px) {
	.footer-left,
	.footer-right {
		padding: 0 !important;
	}
}

#footer p {
	font-size: 11px;
	line-height: 16px;
	color: #996183;
}
#footer p a {
	color: inherit;
	text-decoration: none;
}
#footer .flip img {
	vertical-align: middle;
}

.footer-nav {
	border-top: 1px solid #654a58;
	border-bottom: 1px solid #654a58;
	margin: 5px 0 25px 0;
	overflow: hidden;
}
.footer-nav ul {
	padding: 18px 0 0 0;
	margin: 0 auto;
	list-style: none;
	overflow: hidden;
}
.footer-nav ul li {
	padding: 0;
	margin: 0 auto;
	list-style: none;
	width: 20%;
	float:left;
	box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	font-family: "interstate";
	font-weight: 100;
	font-size: 10px;
	line-height: 14px;
	margin: 0 0 18px 0;
	color: #d0bdcc;
}
.footer-nav ul li a {
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
	padding-right: 10px;
}
.footer-nav ul li:nth-child(5n+1) {
	clear:left;
}


/* Home page specific */

body.home #header {
	height: 715px;
}

.logo-home .svg-container {
	margin: 0 auto 46px auto;
}
.logo-home svg {
	max-height: 372px;
}

@media screen and (min-width: 1240px) {
	.logo-home {
		padding: 115px 20px 40px 20px;
	}
	.logo-home svg {
		width: 372px;
		height: 372px;
	}
	
	body.home #header .inner {
		position: relative;
	}
	body.home #menu-header {
		margin: 0;
	}
	body.home #menu-header > li {
		position: absolute;
		left: auto;
	}
	body.home #menu-header > li:nth-child(1) {
		left: 140px;
		top: 160px;
	}
	body.home #menu-header > li:nth-child(2) {
		left: 140px;
		top: 295px;
	}
	body.home #menu-header > li:nth-child(3) {
		left: 140px;
		top: 430px;
	}
	body.home #menu-header > li:nth-child(4) {
		right: 140px;
		top: 160px;
	}
	body.home #menu-header > li:nth-child(5) {
		right: 140px;
		top: 295px;
	}

	body.home #menu-header > li:nth-child(6) {
		right: 140px;
		top: 430px;
	}
}

body.home #subnav {
	background: none;
	border-bottom: 1px solid #5b3451;
	min-height: 0;
}
body.home #subnav h2 {
	/*border-bottom: 1px solid #353335;*/
	padding-top: 0;
	margin-bottom: 14px;
}
body.home #subnav h2 a {
	font-weight: normal;
}

body.home #container {
	background: rgba(0,0,0,0.3);
}
body.home #content {
	background: transparent;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 43px;
	max-width: 990px;
}
body.home #content p {
	font-size: 12px;
	line-height: 20px;
	color: #fff;
}
body.home #content h2,
body.home #content h3 {
	font-size: 18px;
	line-height: 22px;
	color: #f278bb;
	font-weight: normal;
}
body.home #content a {
	color: #f278bb;
	font-weight: bold;
}

.home-content {
	padding: 15px 0 0 0;
}

@media screen and (min-width: 1240px) {
	.home-content {
		padding: 0 !important;
	}
}

body.home #menu-header li.current-menu-item a:after,
body.home #menu-header li.current-menu-ancestor a:after,
body.home #menu-header li.current_page_ancestor a:after {
	display: none;
}

p.tagline {
	font-family: interstate;
	letter-spacing: 1px;
	margin: 0 auto;
	padding: 40px 20px 0 20px;
	height: 145px;
	max-width: 990px;
	text-align: center;
	font-size: 26px;
	color: #fff;
	border-top: 1px solid #844e76;
	font-weight: 100;
}
p.tagline strong {
	font-weight: 100;
	color: #ff4da2;
}


/* Clinics */

.clinic-map-container {
	height: 400px;
	background: #fff;
}
#clinic_map {
	height: 400px;
}

.single-clinic {
	position: relative;
	z-index: 100;
}
.single-clinic #content {
	padding: 1px 0 0 0;
	max-width: 990px;
}
.single-clinic .clinic-content {
	padding: 19px 20px 30px 20px;
}
@media screen and (min-width: 1240px) {
	.single-clinic .clinic-content {
		background: rgba(255,255,255,0.8);
		margin-top: -71px;
	}
	.single-clinic .contact {
		padding-left: 0 !important;
	}
}
	
.single-clinic .highlight {
	color: #f278bb;
}

.single-clinic p.description {
	color: #3e3e40;
	font-size: 15px;
	line-height: 20px;
	font-weight: bold;
	margin-bottom: 25px !important;
}

.single-clinic .clinic-info {
	line-height: 25px;
	font-size: 14px;
	padding-left: 30px;
	padding-right: 0;
}
.single-clinic .clinic-info p {
	line-height: 25px !important;
	margin: 0 !important;
}

.single-clinic .address {
	background: url(images/icons/address.png) 2px 3px no-repeat;
}
.single-clinic .opening-hours {
	margin-top: 25px;
	margin-bottom: 25px;
	background: url(images/icons/time.png) 0 2px no-repeat;
}

.clinic-left h2.entry-title {
	margin-top: 10px !important;
	margin-bottom: 42px !important;
}
.clinic-right > h3:first-child {
	margin-top: 13px;
	margin-bottom: 42px !important;
}

.clinic-left,
.clinic-right {
	padding-bottom: 35px;
}

@media screen and (min-width: 768px) {
	.clinic-left {
		padding-right: 25px !important;
		border-right: 1px solid #e5e5e5;
		margin-right: -1px;
	}
	.clinic-right {
		padding-left: 25px !important;
		border-left: 1px solid #e5e5e5;
	}
}

/* Clinics services list*/

.single-clinic .services {
	font-size: 13px;
}
.single-clinic .services a {
	display:block;
	position: relative;
	border-bottom: 1px solid #e5e5e5;
	line-height: 23px;
	color: #3e3e40;
	padding: 5px 30px 6px 30px;
	text-decoration: none;
}
.single-clinic .services a .icon {
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -10px;
}
.single-clinic .services a .arrow {
	position: absolute;
	right: 7px;
	bottom: 12px;
	margin-top: -10px;
}
@media screen and (min-width: 768px) {
	.single-clinic .services-left {
		padding-left: 0 !important;
	}
	.single-clinic .services-right {
		padding-right: 0 !important;
	}
}

/* Clinics subnav */

#subnav.clinic-locations ul {
	max-width: 920px;
}
#subnav.clinic-locations ul li {
	width: 20%;
}
#subnav.clinic-locations ul li:nth-child(5n+1) {
	clear:left;
}
#subnav.clinic-locations ul li:nth-child(4n+1) {
	clear:none;
}


/* Our services */

.services-table {
	margin: 30px 0 25px 0;
	width: 100%;
	border-collapse: collapse;
}
.services-table th:first-child {
	color: #000;
}
.services-table th {
	color: #3e3e40;
}
.services-table th a {
	text-decoration: none;
	color: inherit;
}

.services-table th,
.services-table td {
	border-bottom: 1px solid #e5e5e5;
	border-top: 1px solid #e5e5e5;
	text-align: center;
	font-size: 12px;
	padding: 8px 10px;
	background: #fff;
}
.services-table th:first-child,
.services-table td:first-child {
	text-align: left;
}
.services-table th:nth-child(even),
.services-table td:nth-child(even) {
	background: #fdf9f8;
}
.services-table td {
	color: #ea2b91;
}
.services-table td a {
	color: #ea2b91;
	font-weight: bold;
	text-decoration: underline;
}
.services-table tr.heading td {
	color: #000;
	font-weight: bold;
	background: #fdf9f8;
}
.services-table .bullet {
	background: #e8e4e3;
	width: 13px;
	height: 13px;
	display: block;
	margin: 0 auto;
	text-decoration: none;
	border-radius: 13px;
		-moz-border-radius: 13px;
		-webkit-border-radius: 13px;
}
.services-table .active .bullet {
	background: #f278bb;
}


/* Clinic popup menu */

#clinic_popup {
	position: absolute;
	left: 0;
	top: 442px;
	width: 100%;
	z-index: 300;
	display: none;
}
#clinic_popup .indent {
	width: 940px;
	margin: 0 auto;
	background: #4d253e;
	padding: 36px 0 42px 0;
	position: relative;
}

#clinic_popup .box-arrow {
	position: absolute;
	top: -18px;
	width: 35px;
	height: 18px;
	left: 148px;
}

.clinic-popup-left {
	padding: 0 0 0 44px;
	width: 210px;
	float:left;
}
.clinic-popup-right {
	float:right;
	width: 646px;
	padding: 0 20px 0 0;
	font-size: 13px;
	font-family: "interstate plus";
	line-height: 16px;
	letter-spacing: 1px;
}
.clinic-popup-right .col {
	width: 33.3%;
	padding: 0 3px;
	float:left;
	box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
}
.clinic-popup-right .heading {
	color: #fff;
	border-bottom: 1px solid #603c53;
	padding: 0 0 10px 10px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

#clinic_popup ul {
	padding: 0;
	margin: 0 auto;
	list-style: none;
}
#clinic_popup ul li {
	padding: 0 10px 0 10px;
	margin: 12px 0 0 0;
	list-style: none;
}
#clinic_popup ul li a {
	color: #f278bb;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: normal !important;
	display: block;
}
#clinic_popup ul li .last-word {
	white-space: nowrap;
}
#clinic_popup ul li .arrow {
	background: url(images/subnav-arrow.png) 100% 0 no-repeat;
	width: 6px;
	height: 9px;
	padding-left: 10px;
	display: inline-block;
}

	
#clinic_popup ul li.current-menu-item a,
#clinic_popup ul li:hover a {
	color: #fff;
}
#clinic_popup ul li.current-menu-item .arrow,
#clinic_popup ul li:hover .arrow {
	background-position: 100% -9px;
}

#clinic_popup .phone {
	display: block;
	color: #fff;
	font-family: "interstate";
	margin-top: 3px;
	margin-bottom: 3px;
	font-size: 12px;
}
#clinic_popup .phone span {
	background: url(images/icons/phone.png) 0 2px no-repeat;
	padding-left: 18px;
}


/* Referrer login */

.referrer-login-popup {
	text-align: center;
	padding: 0 15px;
	text-align: center;
	max-width: 420px;
	font-size: 16px;
	line-height: 20px;
}

#fancybox-content.black-border {
	border-color: #000;
}
/* Form fields */

form{
	font-family: "interstate";
}

input{
	border: 1px solid #603c53;
	padding: 0.8em;
	outline: none;
}

input[type="file"] {
	border: none;
}

input[type=submit], input[type=button]{
	border:none;
	margin-top: 20px;
	padding: 13px;
	background: #ea2b91;
	color: #fff;
	font-size: 16px;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: "interstate plus";
	position: relative;
	cursor: pointer;
}
input::-webkit-outer-spin-button,
	input::-webkit-inner-spin-button {
	    /* display: none; <- Crashes Chrome on hover */
	    -webkit-appearance: none;
	    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

textarea{
	border: 1px solid #603c53;
	padding: 0.8em;
	outline: none;
}


button{
	-webkit-appearance: none;
}

.patient-images {
    cursor: pointer;
}

.loginBoxWrap {
    position: fixed;
    z-index: 10000000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    top:0;
    left:0;
}

.loginBox {
  width: 450px;
  height: 300px;
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

.loginBox .inner {
	width: 450px;
	height: 300px;
	display: table;
	table-layout: fixed;
	background: #fff;
	border-radius:5px;
}

.loginBox .icon {
	width: 100%;
	max-width: 60px;
	height: auto;
}

.loginBox .head {
	margin: 1rem 0;
	font-size: 1.5rem;
	text-transform: uppercase;
	color: #ea2b91;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.loginBox .btn {
	display: inline-block;
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
	padding: 0.6rem;
	margin-top: 0.5rem;
	background: #ea2b91;
	border-radius: 3px;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.referrerLogin, .patientLogin {
    position: relative;
	display: table-cell;
	padding: 40px;
	vertical-align: middle;
	text-align: center;
}

.referrerTop, .patientTop {
    width: 100%;
    text-align: center;
    display: block;
    height: 50%;
    top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}
.referrerTop:before, .patientTop:before {
    content: " ";
    display: block;
    background-image: url(images/nav.png);
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    margin: 0 auto 14px auto;
    background-position: -32px 0;
}
.referrerBottom, .patientBottom {
    width: 100%;
    text-align: center;
    display: block;
    height: 50%;
    bottom: 0;
    position: absolute;
    float: left;
}

.referrerBottom p, .patientBottom p {
    bottom: 0;
    position: absolute;
    color: #aaa;
    padding: 5px;
    font-size: 10px;
}

.referrerTop p, .patientTop p {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.closeLogin {
    position: absolute;
    right: -10px;
	top: -10px;
    z-index: 100000;
    background: #ea2b91;
    width: 20px;
    height: 20px;
    text-align: center;
	line-height: 20px;
	font-size: 1.1rem;
    border-radius: 20px;
    font-weight: bold;
    cursor:pointer;
    -webkit-transform: translate3d(0,0,1px);
}

.hidden {display:none;}

@media screen and (max-width: 1239px) {
	.loginBox {
		max-width: 100%;
	}
}

.label-above label {
	display: block;
	font-weight: bold;
	padding: 2rem 0 0.8rem;
}

.label-above input,
.label-above textarea {
	display: block;
	width: calc(100% - 20px);
    padding: 10px;
}

.label-above select {
	display: block;
	width: 100%;
	font-size: 1.2rem;
}

.label-above .error {
	color: #ff0000;
}

.req-symbol {
    color: #ff0000;
}

#subnav {
	clear: both;
}