/*
Theme Name: Hobart Women's Specialists
Theme URI: 
Author: Tim Askey
Author URI: http://www.timaskey.com
Description: A custom wordpress theme for Hobart Women's Specialists
Version: 0.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: askey
Text Domain: askey
*/

/******************/

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-Light.otf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-ExtraLight.otf);
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(fonts/Montserrat/Montserrat-Regular.otf);
    font-weight: 700;
    font-style: normal;
}

/******************/

html, body {
	height: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font: 400 12pt/1.4 'Montserrat' ,'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #444;
}

button, input, textarea {
	font: 400 12pt/1.4 'Montserrat' ,'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a:link,
a:visited,
a:hover, 
a:focus,
a:active { 
	text-decoration: none; 
	color: inherit; 
	outline: 0;
}

img {
	max-width: 100%;
	/*display: block;*/
	vertical-align: bottom;
}

section {
	display: block;
}

/***************/

header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: 100px;
	z-index: 5;
	background-color: rgba(255,255,255,0.9);
	box-shadow: 0 0 4px rgba(0,0,0,0.075);
	color: #333;
}

.header-content {
	max-width: 1200px;
	margin: auto;
	padding: 0 20px;
}

.header-logo {
	width: 400px;
	padding: 20px 0;
	float: left;
}

.header-logo-alt {
	width: 65px;
	padding: 10px 0;
	float: left;
	display: none;
}

.header-nav {
	display: none;
	margin: 0;
	padding: 0;
	float: right;
	font-size: 12pt;
	font-weight: 700;
	line-height: 100px;
	cursor: pointer;
}

.header-nav::after {
	content: '\25be';
	margin-left: 5px;
}

.header-nav:hover {
	color: #20bec5;
}

/*****/

ul.menu {
	margin: 0;
	padding: 0;
	float: right;
	font-size: 12pt;
	font-weight: 700;
}

ul.menu li {
	display: inline-block;
	padding: 0 10px;
	list-style: none;
	line-height: 98px;
}

ul.menu .current-menu-item a {
	border-bottom: 2px solid;
}

ul.menu a:hover {
	color: #20bec5;
}

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

	.header-nav {
		display: block;
	}

	ul.menu {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: rgba(255,255,255,0.8);

		display: -webkit-flex;
		display: flex;
		-ms-flex-align: center;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		padding: 40px;
		font-size: 14pt;

		-webkit-transform: translate3d(0,-100%,0);
		transform: translate3d(0,-100%,0);
	}

	.menu-active ul.menu {
		-webkit-transition: -webkit-transform 0.5s;
		transition: transform 0.5s;

		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}

	ul.menu li {
		line-height: 50px;
	}

}

@media only screen and (max-width: 740px) {
	header {
		height: 85px;
	}

	.header-logo {
		width: 300px;
	}

	.header-nav {
		line-height: 85px;
	}
}

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

	.header-logo {
		display: none;
	}

	.header-logo-alt {
		display: block;
	}

	.header-nav {
		line-height: 85px;
	}
}


/***************/

h1 {
	font-size: 30pt;
	text-transform: uppercase;
	line-height: 1.1;
}

h2 {
	font-size: 18pt;
}

@media only screen and (max-width: 900px) {
	h1 {
		font-size: 24pt;
	}
}

@media only screen and (max-width: 740px) {
	h1 {
		font-size: 20pt;
	}

	h2 {
		font-size: 14pt;
	}
}

/***************/

.welcome {
	position: relative;
	overflow: hidden;
	margin-top: 100px;
	background-color: #f3f5f4;
}

.flex-inner {
	max-width: 1200px;
	padding: 0 20px;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	justify-content: space-between;
	align-items: center;
}


.meta {
	padding: 20px;
}

.meta a {
	color: #20bec5;
}

.welcome h1 {
	color: #20bec5;
}

#woman {
	width: 45%;
	max-width: 500px;
	flex: none;
}

.button {
	display: inline-block;
	color: #444;
	border: 2px solid #444;
	padding: 0 20px;
	margin: 0 14px 18px 0;
	line-height: 38px;
	height: 40px;
	font-weight: 700;
	outline: none;
	cursor: pointer;
	border-radius: 20px;
}

.button:hover {
	background-color: #444;
	color: #fff;
}

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

	.welcome {
		margin-top: 85px;
	}

	.welcome .meta {
		text-align: center;
		padding-bottom: 30px;
		width: 100%;
		z-index: 1;
		background-color: #fff;
	}

	.flex-inner {
		flex-wrap: wrap-reverse;
		justify-content: center;
		padding: 0;
	}

	#woman {
		/*margin-top: -10%;*/
		width: 80%;
	}

	.button {
		display: block;
		max-width: 300px;
		margin: auto;
		margin-bottom: 20px;
		text-align: center;
	}
}

/***************/

.section-inner {
	max-width: 1200px;
	padding: 0 20px;
	margin: auto;
}

.what {
	background-color: #20b0c5;
	color: #fff;
}

.what .section-inner {
	background-image: url('img/family.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	text-align: center;
}

.what .meta {
	display: inline-block;
	max-width: 600px;
	margin-bottom: 40px;
}

@media only screen and (max-width: 740px) {
	.what .meta {
		padding: 20px 0;
		margin: 0;
	}
}

/***************/

.staff-container {
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
	justify-content: space-around;
}

.staff-container .staff {
	text-align: center;
	padding: 20px;
}

.staff-container .staff h2 {
	color: #20bec5;
	font-size: 12pt;
	margin-bottom: 0;
}

.staff-container .staff p {
	margin: 0;
}

.staff-portrait {
	width: 200px;
	height: 200px;
	border-radius: 100%;
}

/***************/

.services {
	background-color: #2c77c2;
	color: #fff;
}

.services .section-inner {
	background-image: url('img/DoctorBlue.png');
	background-repeat: no-repeat;
	background-size: 500px;
	background-position: 0% 100%;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}

.services .meta {
	max-width: 400px;
	margin-bottom: 40px;
}

.services .button {
	margin-top: 18px;
	color: #fff;
	border-color: #fff;
}

.services .button:hover {
	background-color: #fff;
	color: #2c77c2;
}

.services .list {
	padding: 20px;
	text-align: right;
}

@media only screen and (max-width: 740px) {
	.services .section-inner {
		display: block;
	}

	.services .meta {
		text-align: center;
		margin: auto;
		padding: 20px 0 0 0;
	}

	.services .list {
		text-align: center;
		padding: 0 0 20px 0;
	}
}

/***************/
/* single-staff */
/***************/

.staff-banner {
	position: relative;
	margin-top: 100px;
	margin-bottom: 170px;
	background-color: #444;
	height: 500px;
	text-align: center;
	color: #fff;
	background-image: url('img/scope.jpg');
	background-size: cover;
	background-position: 50% 50%;
}

.staff-banner-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: #222a33;
	opacity: 0.9;
}

.staff-banner .flex-inner {
	position: relative;
	justify-content: center;
	height: 100%;
}

.staff-banner h1 {
	margin: 0;
	font-weight: 300;
}

.staff-banner h2 {
	margin: 0;
	font-weight: 300;
	line-height: 2;
}

.staff-portrait-single {
	position: absolute;
	left: calc(50% - 125px);
	bottom: -125px;
	width: 250px;
	height: 250px;
	border-radius: 100%;
}

.staff-about .section-inner {
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.staff-about h1 {
	font-weight: 300;
	margin: 0;
}

.staff-about .meta {
	width: 50%;
	padding: 20px 60px;
	line-height: 1.8;
}

@media only screen and (max-width: 900px) {
	.staff-about .meta {
		width: 100%;
	}
}

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

	.staff-banner {
		margin-top: 85px;
		height: 400px;
	}

	.staff-banner .meta {
		margin-top: -40px;
	}

}

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

	.staff-banner {
		margin-top: 85px;
		height: 200px;
	}

	.staff-banner .meta {
		margin-top: -10px;
	}

	.staff-portrait-single {
		position: absolute;
		left: calc(50% - 100px);
		bottom: -150px;
		width: 200px;
		height: 200px;
		border-radius: 100%;
	}

	.staff-about .meta {
		padding: 20px 0;
	}
}



/*************/

.title-section {
	margin-top: 150px;
	margin-bottom: 50px;
}

.title-section .flex-inner {
	justify-content: center;
}

.title-section h1 {
	/*text-transform: initial;*/
	font-weight: 300;
	padding: 10px 5px;
	border-bottom: 2px solid;
}

/*************/

.services-banner {
	position: relative;
	margin-top: 100px;
	margin-bottom: 100px;
	text-align: center;
	background-size: cover;
	background-position: 50% 50%;
}

.service-tile {
	position: relative;
	margin-bottom: 100px;
	background-color: #eee;
	background-size: cover;
	background-position: 50% 50%;
}

.service-tile-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(to right, rgba(250,250,250,1), rgba(250,250,250,0.5));
}

.service-tile h1 {
	font-weight: 300;
	margin: 0;
}

.service-tile .meta {
	position: relative;
	max-width: 600px;
	padding: 140px 100px;
	line-height: 1.8;
}

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

	.title-section {
		margin-top: 115px;
		margin-bottom: 25px;
	}

	.service-tile-overlay {
		background: linear-gradient(to right, rgba(250,250,250,1), rgba(250,250,250,0.7));
	}

	.service-tile .meta {
		padding: 50px;
	}

}

@media only screen and (max-width: 480px) {
	.service-tile {
		margin-bottom: 50px;
	}

	.service-tile .meta {
		padding: 20px;
	}
}


/*************/

.mc4wp-form {
	display: inline-block;
	vertical-align: middle;
	padding: 10px;
}

.mc4wp-form input[type="text"], .mc4wp-form input[type="email"] {
	padding: 0 15px;
	line-height: 48px;
	height: 50px;
	border: 1px solid #aaa;
	border-right: none;
	width: 250px;
	outline: none;
}

input[type="submit"] {
	text-transform: uppercase;
	background-color: #f38326;
	color: #fff;
	border: none;
	outline: none;
	padding: 0 15px;
	line-height: 50px;
	height: 50px;
}

.social {
	vertical-align: middle;
}

/*************/

.wpcf7 {
	max-width: 600px;
	margin: auto !important;
	display: block;
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"] {
	width: 100%;
	padding: 0 15px;
	line-height: 48px;
	height: 50px;
	border: 1px solid #aaa;
	outline: none;
}

.wpcf7 input[type="submit"] {
	width: 100%;
}

textarea {
	resize: none;
	outline: none;
	width: 100%;
	padding: 15px;
	border: 1px solid #aaa;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
	border-color: #f38326;
}

/****************/

.footer-a {
	background: #333;
	color: #fff;
}

#map {
	width: 100%;
	height: 300px;
}

.footer-content {
	max-width: 1200px;
	padding: 40px 20px;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	-ms-flex-align: center;
	flex-wrap: wrap;
}

.footer-logo {
	width: 400px;
	flex: none;
}

.footer-content .meta {
	padding: 0;
	margin: 0;
	text-align: right;
}

.footer-content h2 {
	margin: 0;
}

.footer-content h2 span {
	font-weight: 300;
}

.footer-content p {
	margin: 10px 0 0 0;
	font-weight: 300;
}

.footer-b {
	background-color: #f1f2f2;
}

@media only screen and (max-width: 900px) {
	.footer-content {
		display: block;
	}

	.footer-logo {
		margin: auto;
		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom: 1px solid;
		display: block;
	}

	.footer-content .meta {
		margin: auto;
		max-width: 400px;
		text-align: right;
	}

	.footer-content p {
		font-size: 10pt;
	}
}