/*

	Theme Name: Custom
	Author: Thrive Web Design
	Author URI: http://thriveweb.com.au/

*/

/* ----------------------------  NORMALISE ---------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #f9ff51; color: black; text-shadow: none; }
::selection { background: #f9ff51; color: black; text-shadow: none; }

a { color: #00e; }
a:visited {  }
a:hover { color: #06e; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* ---------------------------- TYPORGRAPHY ---------------------------- */

:root{
	--col1: #4d5664;
	--col2: #697381;
}

body, textarea, input{
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: 1rem;
	line-height: 18px;
	color: #000;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6{
	margin: 0;
	padding: 0;
	font-family: 'Quattrocento Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
}

h1{
	font-size: 3.6rem;
	line-height: 4rem;
	color: #4d5664 !important;
}

h2{
	font-size: 2.8rem;
	line-height: 3rem;
	color: #697381;
}

h3{
	font-size: 1.4rem;
	font-weight: 100;
	line-height: 38px;
	color: #4d5664;
}

h4{
	font-size: 1.3rem;
	line-height: 3rem;
	text-transform: uppercase;
	color: #959595;
}

h5{
	font-size: 1rem;
	color: #fff;
}

p{
	font-size: 0.85rem;
	color: #585858;
	line-height: 1.3rem;
	font-size: 0.85rem;
}

a{
	color: #585858;
	text-decoration: none;
  -webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

a:hover{
	color: #585858;
	text-decoration: none;
}

/* ---------------------------- WP EDIT ---------------------------- */

.edit_link{
	position: fixed;
  z-index: 222;
  top: 7rem;
	background-color: #fff;
  border: 1px solid #ddd;
	color: #000;
	padding: 0.6rem 1rem;
	display: inline-block;
	font-size: 0.7rem;
  text-transform: uppercase;
}

.edit_link a{
	font-weight: 300;
	text-decoration: none;
}

.edit_link span{
	padding-left: 5px;
	margin-right: 5px;
	border-right: solid 1px #ddd;
}

/* ---------------------------- VARIABLES ---------------------------- */

.left{
  float: left;
}

.right{
  float: right;
}

.flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.full{
	width: 100%;
	padding: 4rem 0;
}

.minimum{
  max-width: 85rem !important;
  height: auto;
  overflow: auto;
	margin: auto;
}

.cover{
  object-fit: cover;
  position: bottom;
}

.list_wrap img[class]{
  width: 100%;
}

.content_style img{
	width:auto;
}

/* ---------------------------- NAVIGATION ---------------------------- */

.mobile-nav{
	display: none;
}

nav{
	background: #697381;
	border-bottom: 1px solid #fff;
	width: 100%;
	height: auto;
	overflow: visible;
}

nav	ul{
	max-width: 70rem;
	height: auto;
	margin: auto;
	list-style: none;
	display: flex;
	align-items: center;
}

nav	ul li{
	padding: 1rem 2rem;
	margin: auto;
	position: relative;
}

nav	ul a{
	color: #fff;
	text-transform: uppercase;
	font-size: 0.95rem;
	letter-spacing: 0.03rem;
	text-decoration: none;
	overflow: hidden;
}

nav	ul li:hover a{
	color: #ebf2f5;
}

.blog nav ul li.menu-item-21,
.category nav ul li.menu-item-21,
.single-post nav ul li.menu-item-21,
nav ul li.current_page_item,
nav ul li.current_page_parent {
	background: #4d5664;
}

nav ul li ul{
	display: none;
}

nav ul li:hover ul{
	display: block;
	z-index: 19999;
	top: 52px;
}

nav ul li:hover ul li a{
	color: #fff;
	text-transform: uppercase;
	font-size: 0.9rem;
}

nav ul li ul li{
	padding: 1rem 0.5rem;
}

nav ul li ul li:hover a{
	color: #d0e3ed;
}

nav ul ul li.current_page_item{
	background: #4d5664;
}

nav ul ul li.current_page_item a{
	color: #fff !important;
}

nav ul li.menu-item-has-children > a:after {
  content: "";
	background: url(/wp-content/themes/tweedphysio/images/arrow.png) right center no-repeat;
  background-size: contain;
  position: absolute;
  display: block;
  width: 0.6rem;
  height: 0.7rem;
  right: 0.6rem;
  top: 1.2rem;
}

nav ul ul{
	width: 220px;
	margin: 0
	display: block;
	position: absolute;
	z-index: 19999;
	background: #697381;
	transition: all 0.3s linear !important;
	overflow: visible;
}

nav ul ul li{
	/*border-bottom: 1px solid #fff;*/
	text-transform: uppercase;
	display: block;
	float: none;
}

nav ul ul a{
	display: block;
	color: #697381;
	text-transform: none;
}

nav ul ul li:last-child a{
	border-bottom: none;
}

/* ---------------------------- HEADER ---------------------------- */

.head{
	height: 15rem;
	width: 100%;
	background: #4d5664;
}

.head img.cover{
	height: 15rem;
}

.head .minimum{
	height: 10rem;
	margin-top: 2.5rem;
	position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.head .minimum img{
	width: 24rem;
	height: auto;
	margin-top: 3.5rem;
}

.info{
	width: 30rem;
	margin-top: 4rem;
	text-align: center;
	opacity: 1 !important;
	display: flex;
	align-items: center;
	align-content: flex-end;
	justify-content: flex-end;
}

.head .info p, .info h5{
	color: #fff;
}

.head .info h5{
	margin: 5px 10px 0 0;
	font-size: 21px;
	margin-left: 1rem;
}

.head .info button{
	margin: 0 0 0 10px;
}

.info.right.res{
	display: none;
}

@media screen and (max-width: 1175px) {
	.info.right.res{
		position: absolute;
		left: 0;
		top: 4.1rem;
		z-index: 10;
		margin: 0;
		width: 100%;
		align-items: center;
		justify-content: flex-start;
		display: flex;
	}

	.info h5{
		margin: 5px 10px 0 0;
		font-size: 21px;
		margin-left: 1rem;
	}

}

@media screen and (max-width: 600px) {
	.info h5{
		display:none;
	}
}

/* ---------------------------- BUTTONS ---------------------------- */

button{
	background: #697381;
	border: none;
	padding: 0.5rem 3.2rem;
	border-radius: 15px;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.03rem;
	text-transform: uppercase;
	transition: 0.6s ease;
}

button:hover{
	background: #4d5664;
}

button:focus{
	outline: none;
}

/* ---------------------------- PAGE ---------------------------- */

#page{
	height: auto;
	overflow: auto;
}

#page .minimum{
	margin: 5rem auto;
}

#page .content_style{
	width: 70%;
	margin: auto;
}

/* ---------------------------- HOMEPAGE ---------------------------- */

#page.home .minimum{
	margin: 2rem auto !important;
}

.hero{
  width: 100%;
  height: 50rem;
  position: relative;
}

.logos{
  width: 100%;
  position: absolute !important;
  bottom: 0;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.logos ul{
  list-style-type: none;
  margin: 0;
	padding-left: 0 !important;
  text-align: center;
}

.logos li{
  display: inline-block;
  margin: 0 5rem;
}

.logos img{
  width: 10rem;
  height: auto;
  opacity: 1 !important;

	user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.full h4, .location h5{
	color: #000 !important;
}

.full h4{
	position: absolute;
	/*left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
	width: 20rem;
	text-align: center;*/
	background: white;
	padding: 0 3rem;
}

.border{
	width: 100%;
	height: 1px;
	background: #000;
}

ul.flex_wrap{
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.location{
	margin-top: 0;
}

.location .center p{
	text-align: center;
	font-size: 1.5em;
	margin-top: 0;
}

.location ul{
	margin: 0;
	padding: 0 0 3rem;
  overflow: auto;
  list-style: none;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}

.location li{
	width: 10rem;
	height: auto;
	margin: auto;
	padding: 1rem 1.5rem;
	display: inline-block;
}

.location p{
	padding: 0;
}

/* ---------------------------- FLICKITY ---------------------------- */

.carousel-cell{
  width: 100%;
  height: 50rem;
  background: #fff;
  counter-increment: carousel-cell;
}

.carousel-cell img{
	object-fit: cover;
	width: 100%;
	height: 50rem;
	opacity: 0.9;
}

.flickity-prev-next-button{
  display: none;
}

ol.flickity-page-dots{
	min-height: 5rem;
	width: 10px;
	position: absolute;
	bottom: 50%;
	right: 3rem;
}

ol.flickity-page-dots li{
	margin: 0.5rem 0 !important;
	background: #fff !important;
}

/* ---------------------------- LIST ---------------------------- */

.list ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.list ul li{
	height: auto;
	overflow: auto;
	padding: 2rem 0;
	border-bottom: 1px solid #4d5664;
	display: flex;
}

.list ul .left{
	width: 12rem;
	margin-right: 2rem;
}

.list ul .left img{
	height: 100%;
}

.list ul .right{
	width: calc(100% - 12rem - 2rem);
}

.list ul .full.right{
	width: 100% !important;
	padding: 0;
}

.list ul .full .left{
	display: none;
}

/* ---------------------------- INJURY ---------------------------- */

.injury .content_style{
	display: flex;
}

.injury .left{
	width: 24rem;
	margin-right: 2rem;
	max-height: 20rem;
}

.injury .left img{
	width: 24rem;
	height: 100%;
}

.injury .right{
	width: calc(100% - 24rem - 2rem);
}

.injury button{
	margin-top: 1.5rem;
}

/* ---------------------------- CLINICS ---------------------------- */

.clinic{
	margin-bottom: 2rem;
	border: 1px solid #4d5664;
	/*border-radius: 0.5em;*/
	padding-bottom: 1.5rem;
}

h4.title{
	width: 100%;
	background: #4d5664;
	color: #fff;
	text-align: center;
	/*border-top-left-radius: 0.3rem;
	border-top-right-radius: 0.3rem;*/
}

.clinic .image{
	margin: 1.5rem 0;
	overflow: hidden;
}

.large .clinic, .small{
	width: 100%;
	display: inline-block;
}

.small .clinic{
	width: 48%;
	display: inline-block;
}

.small .clinic:nth-child(even){
	float: right;
}

.small .clinic .image{
	height: 10rem;
}

.clinic.odd{
	float: left;
}

.clinic.even{
	float: right;
}

.clinic .info{
	width: calc(100% - 3em);
	margin: auto;
	color: #585858 !important;
}

.clinic .info button{
	margin: auto !important;
	text-align: center !important;
}

.large .clinic .image{
	height: 20rem;
}

.clinic .image img{
	height: 100%;
}

/* ---------------------------- CONTACT ---------------------------- */

.contact{
	text-align: center;
}

.contact ul{
	width: 25rem;
	height: auto;
	overflow: auto;
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
}

.contact ul li{
	width: auto;
	padding: 0.4rem;
}

.contact ul li.right{
	text-align: right;
}

.contact ul li.right a{
	text-decoration: none;
	color: #4d5664;
	font-weight: 600;
}

.contact button{
	margin: 2rem 0;
}

/* ---------------------------- FORM ---------------------------- */

.wpcf7 p{
	padding: 0;
	margin: 0;
}

.wpcf7 input,
.wpcf7 textarea{
	width: calc(100% - 2rem);
	padding: 1rem;
	margin: 0 0 0.5rem;
	border: none;
	background: #ebf2f5;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus{
	outline: none;
}

.wpcf7-submit{
	width: 100% !important;
	margin: 0;
	text-transform: uppercase;
	font-weight: 600;
	color: #697381;
}

.wpcf7 .ajax-loader{
	display: none !important;
}

.wpcf7 .wpcf7-validation-errors{
	padding: 1rem 0;
	border: 1px solid #d74c15 !important;
	text-align: center;
}

.wpcf7 span.wpcf7-not-valid-tip{
	display: inherit;
	text-align: left;
	float: left;
}

/* ---------------------------- FOOTER ---------------------------- */

.footer{
	height: auto;
	width: 100%;
	position: absolute;
	font-size: 0.85rem;
	color: #4d5664;
	text-align: center;
	background: #ebf2f5;
}

.footer .top{
	background: #bdd6e2;
	padding: 0.3rem 0;
	height: auto;
	overflow: auto;
}

.footer ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.footer li{
	display: inline-block;
	margin: 0 3rem;
	display: auto;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 2rem;
}

.footer .ac{
	color: #fff;
}

.footer .bottom{
	padding: 2rem 0;
	font-size: 0.8rem;
	line-height: 1.8rem;
}

.footer a{
	color: #4d5664;
}
