/*
Theme Name: Bromsgrove Therapy Centre
Author: Ian Jones
Author URI: http://ianjo.uk/
Version: 1.0
*/

/*
 * Index
 *
 * 1.  Base typography
 * 2.  Base grid
 * 3.  Header
 * 4.  Navigation
 * 5.  Hero
 * 6.  Page styles
 * 7.  Sidebar
 * 8.  Footer
 * 9.  Forms
 * 10.  Generic styles
 *
*/

/* ==========================================================================
   * 1.  Base typography
   ========================================================================== */

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 1em;
}

p {
	font-size: 1em;
}

p a {
}

a {	
	color: #EF2688;
}

a:hover {
	color: #222;
}

article p {
	color: #222;
	line-height: 1.7;
}

strong {
}

em {
}

ul {
}

ul li {
}

ol {
}

ol li {
}

h1,
h2,
h3,
h4,
h5 {
}

h1 {
	margin: 1.2em 0;
	float: left;
}

h1 a {
	color: inherit;
	text-decoration: none;
}

h2 {
	font-size: 3em;
	margin: 1em 0 0;
	font-weight: 300;
	line-height: 1.15;
}

h3 {
	font-size: 1.3em;
	margin: 0.5em 0;
	color: #FFF;
	font-weight: 600;
}

h3 a {
	color: inherit;
}

h4 {
	font-size: 1.25em;
	color: #4262AF;
	line-height: 1.25;
	font-weight: 600;
}

h5 {
	font-size: 1em;
	font-weight: 600;
	margin-top: 0.75em;
}

blockquote {
}

.cta {
	font-size: 1.2em;
	font-weight: 500;
	color: #FFF;
	text-decoration: none;
	padding: 5px 10px 3px;
	border: 2px dashed #FFF;
	display: inline-block;
}

.meta {
	font-size: 0.875em;	
	word-spacing: 2px;
	color: #000;
	font-weight: 600;
}

@media only screen and (max-width: 960px) {
	h1 {
		margin: 1em 0;
		float: left;
	}
}

@media only screen and (max-width: 768px) {
	h2 {
		margin: 0.7em 0 0;
	}
}

@media only screen and (max-width: 480px) {
	h2 {
		font-size: 2.4em;
	}
	h3 {
		font-size: 1.1em;
	}
	p {
		font-size: 0.9em;
	}
}

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



/* ==========================================================================
   * 2.  Base grid
   ========================================================================== */

html,
body {
	height:100%;
}
  
body {
	background: #EEE;
}

body * {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box; 
}

#container,
header,
.hero,
.content,
footer {
	width: 100%;
	height: auto;
	overflow: hidden;
}

#container {
	max-width: 1440px;
	margin: 0 auto;
	background: #222;
	min-height:100%;
}

.wrapper {
	width: 100%;
	max-width: 1180px;
	height: auto;
	overflow: hidden;
	display: block;
	margin: 0 auto;
	padding: 0 40px;
}


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

@media only screen and (max-width: 768px) {
	.wrapper {
		padding: 0 30px;
	}
}

@media only screen and (max-width: 480px) {
	.wrapper {
		padding: 0 20px;
	}
}

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


   
/* ==========================================================================
   * 3.  Header
   ========================================================================== */
   
header {
	background: #FFF;
	min-height: 150px;
}

.logo {
	width: 320px;
	max-width: 100%;
	height: auto;
}

#social-media-icons {
	float: right;
	margin: 36px 0 0;
	padding: 0;
}

#social-media-icons ul {
	padding: 0;
}

#social-media-icons ul li {
	display: inline;
	margin-left: 6px;
	padding: 0;
	text-align: left;
}

#social-media-icons ul li a {
	display: inline-block;
	width: 30px;
	height: 30px;
	opacity: 0.8;
}

#social-media-icons ul li a.sm-icon-facebook {
	background: url('images/sm-facebook.png') no-repeat;
	background-size: contain;
}

#social-media-icons ul li a.sm-icon-twitter {
	background: url('images/sm-twitter.png') no-repeat;
	background-size: contain;
}


@media only screen and (max-width: 960px) {
	header {
		min-height: 130px;
	}
	#social-media-icons {
		float: left;
		margin: 0;
	}
	#social-media-icons ul {
		margin: 0.75em 0 0;
	}
	#social-media-icons ul li {
		margin-left: 1px;
		margin-right: 12px;
	}
	#social-media-icons ul li a {
		width: 36px;
		height: 36px;
	}
}

@media only screen and (max-width: 768px) {
	.logo {
		width: 280px;
	}
	header {
		min-height: 120px;
	}
}

@media only screen and (max-width: 480px) {
	.logo {
		width: 212px;
	}
	header {
		min-height: 100px;
	}	
}

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



/* ==========================================================================
   * 4.  Navigation
   ========================================================================== */
   
nav {
	float: right;
}

nav ul {
	float: right;
	clear: both;
	padding: 0;
	margin: 0.25em 0;
}

nav ul li {
	display: inline;
	margin-left: 2em;
	font-weight: 400;
}

nav ul li a {
	color: #000;
	text-decoration: none;
}

.device-nav {
	display: none;
	width: 40px;
	height: 30px;
	position: relative;
	float: right;
	margin: 54px 0 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

.device-nav span {
	display: block;
	position: absolute;
	height: 6px;
	width: 100%;
	background: #222;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
	top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
	top: 13px;
}

#nav-icon span:nth-child(4) {
	top: 26px;
}

#nav-icon.open span:nth-child(1) {
	top: 13px;
	width: 0%;
	left: 50%;
}

#nav-icon.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
	top: 13px;
	width: 0%;
	left: 50%;
}

     
@media only screen and (max-width: 960px) {
	.device-nav {
		display: block;
		color: #222;
	}
	nav {
		margin: 0;
		max-height: 0;
		overflow: hidden;
		clear: both;
		display: block;
		-webkit-transition: max-height 0.8s;
		-moz-transition: max-height 0.8s;
		transition: max-height 0.8s;
	}
	nav,
	nav ul,
	nav ul li,
	nav ul li a {
		display: block;
		width: 100%;
	}
	nav ul {
		margin: 0;
		font-size: 1.1em;
		padding: 4px 0 20px;
	}
	nav ul li {
		margin-left: 0;
		font-weight: 400;
	}
	nav ul li a {
		color: #000;
		text-decoration: none;
		padding: 0.4em 0;
	}
	nav ul.header-menu li {
		margin: 0;
		text-align: right;
		border-top: 1px solid #BBB;
	}
	nav ul.header-menu li:first-child {
		border-top: none;
	}
	nav ul.header-menu li a {
		padding: 0.5em 0;
	}
	nav.reveal {
		max-height: 320px;
	}	
	.header-search {
		display: block;	
	}	
}

@media only screen and (max-width: 768px) {
	.device-nav {
		margin: 50px 0 0;
	}
}

@media only screen and (max-width: 480px) {
	.device-nav {
		width: 40px;
		height: 40px;
		margin: 50px 0 0;
	}
	.device-nav span {
		height: 5px;
		border-radius: 9px;
	}
	#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
		top: 11px;
	}
	#nav-icon span:nth-child(4) {
		top: 22px;
	}
	#nav-icon.open span:nth-child(1) {
		top: 11px;
		width: 0%;
		left: 50%;
	}
}

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


/* ==========================================================================
   * 5.  Hero
   ========================================================================== */
   
.hero {
	background-color:#4262AF;
	position: relative;
}

.hero-bg {
	position: absolute;
	width: 50%;
	height: 100%;
	right: 0;
	top: 0;
}

.home .hero,
.hero-profile {
	background-color:#4262AF;
	filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr=#4262AF, endColorstr=#E76594);
	background-image:-moz-linear-gradient(left top, #4262AF 31%, #E76594 58%,#FEB95B 100%);
	background-image:linear-gradient(left top, #4262AF 31%, #E76594 58%,#FEB95B 100%);
	background-image:-webkit-linear-gradient(left top, #4262AF 31%, #E76594 58%,#FEB95B 100%);
	background-image:-o-linear-gradient(left top, #4262AF 31%, #E76594 58%,#FEB95B 100%);
	background-image:-ms-linear-gradient(left top, #4262AF 31%, #E76594 58%,#FEB95B 100%);
	background-image:-webkit-gradient(linear, left top, right bottom, color-stop(31%,#4262AF), color-stop(58%,#E76594),color-stop(100%,#FEB95B));
}

.home .hero {
	padding-bottom: 3em;
}

.hero-cat {
	display: inline-block;
	background: #333;
	color: #FFF;
	padding: 5px 9px 3px;
}

.hero-content {
	height: 250px;
}

.hero-single {
	height: 150px;
}

.hero-text {
	max-width: 50%;
	padding-right: 2em;
}

.hero-content .wrapper {
	height: inherit;
}

.hero-content h2 {
	max-width: 50%;
	padding-right: 2em;
	font-size: 2.6em;
	margin: 0;
	line-height: 1.3;
	position: relative;
	top: 48%;
	transform: translateY(-50%);
}

.hero h2,
.hero h3,
.hero p {
	color: #FFF;
}

.hero p {
	margin: 1.4em 0;
	max-width: 660px;
}

.hero p a {
	color: #FFF;
}

.hero .hero-number {
	margin: 1em 0 1.8em;
}

.hero-article {
	height: auto;
}

.hero-article h2 {
	font-size: 2.6em;
}

.hero-article .meta {
	font-size: 1em;
	padding-bottom: 0.5em;
}



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

@media only screen and (max-width: 768px) {
	.hero-bg {
		position: relative;
		width: 100%;
		height: 200px;
	}
	.hero-content {
		height: auto;
	}
	.hero-content h2,
	.hero-article h2 {
		max-width: 100%;
		padding-right: 0;
		font-size: 2em;
		margin: 1em 0;
		line-height: 1.3;
		position: relative;
		top: 0;
		transform: none;
	}
	.home .hero {
		padding-bottom: 1.8em;
	}
	.hero-article .meta {
		padding-bottom: 0;
	}
}

@media only screen and (max-width: 480px) {
	.home .hero {
		padding-bottom: 0.3em;
	}
	.hero .btn {
		float: none;
		width: 100%;
		display: block;
		text-align: center;
	}
}

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


   
/* ==========================================================================
   * 6.  Page styles
   ========================================================================== */   

.content {
	background: #FFF;
}

.services-grid {
	float: left;
	width: 100%;
	height: auto;
	padding-bottom: 32px;
}

.service-card {
	float: left;
	width: 30%;
	height: auto;
	margin: 32px 5% 0 0;
	text-align: center;
	padding: 14px;
	position: relative;
}

.service-card:nth-child(3n) {
	margin-right: 0;
}

.service-card a,
.news-item > a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 200;
	background: url('../images/blank.png');
}

.service-thumb {
	width: 80%;
	height: auto;
	margin: 0 auto 8px;
	position: relative;
	z-index:1;
	overflow: hidden;
	border-radius: 50%;
}

.service-thumb img {
	max-width: 100%;
	height: auto;
    -moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	overflow: hidden;
}

.service-card:hover .service-thumb img {
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.service-card h4 {
	margin: 0.4em 0 0.1em;
}

.service-card p {
	font-size: 0.9em;
	margin: 0.9em 0;
}

.service-card span {
	text-decoration: underline;
	color: #EF2688;
}

.service-card:hover span {
	color: #222;
}

.services-content article {
	float: left;
	width: 50%;
	padding: 1em 1em 1em 0;
}

.services-content aside {
	float: right;
	width: 50%;
	padding: 0.5em 0 1em 2em;
}

.widget-box {
	background: #F9F9F9;
	border-top: 1px solid #EAEAEA;
	text-align: center;
	padding: 3em 0;
}

.widget-box h4 {
	margin: 0.25em 0;
}

.widget-box .btn {
	display: inline-block;
	margin-top: 1em;
}

.page-content article {
	float: left;
	width: 70%;
	padding: 1em 1em 1em 0;
}

.profiles-grid {
	width: 100%;
	height: auto;
	float: left;
	padding-bottom: 1em;
}

.profile-text {
	float: left;
	width: 70%;
	line-height: 1.7;
	padding: 0 1em 1.5em 0;
}

.profile-text h4 {
	font-size: 1.4em;
	margin: 0.5em 0 0;
}

.profile-text h5 {
	font-size: 1em;
	margin: 0.5em 0 0;
}

.profile-img {
	float: right;
	width: 30%;
	padding: 90px 0 0 1em;
	clear: both;
}

.profile-img img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

.news-container {
	overflow: hidden;
	float: left;
	width: 70%;
}

.news-item {
	border-bottom: 1px solid #BBB;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item {
	float: left;
	width: 100%;
	height: auto;
	padding: 20px 0;
	position: relative;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	transition: 0.2s;
}

.news-item:hover {
}

.news-item h4 {
	margin: 0.5em 0 0.75em;
}

.news-thumb {
	float: left;
	height: auto;
	position: relative;	
	display: block;
	width: 28%;
	padding-right: 20px;
}

.news-thumb > div {
	float: left;
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	overflow: hidden;
	border-bottom: none;
	position: relative;
	display: block;
}

.news-thumb img {
	object-fit: cover;
	min-width: 100%;
	max-width: 100%;
	min-height: 100%;
	margin: 0;
	height: auto;
	position: absolute;
}

.fvp-dynamic {
	position: initial !important;
}

.news-summary {
	overflow: hidden;
	height: auto;
}

.news-link {	
	color: #EF2688;
	text-decoration: underline;
	margin: 0.5em 0;
}

.news-item:hover .news-link {
	color: #000;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	transition: 0.2s;
}

.article article {
	width: 70%;
	height: auto;
	float: left;
	padding: 1em 0 1.2em;
}




@media only screen and (max-width: 960px) {
	.service-card {
		padding: 10px;
	}

}

@media only screen and (max-width: 768px) {
	.page-content article,
	.services-content article,
	.services-content aside,
	.article article,
	article,
	aside,
	.news-container {
		width: 100%;
	}
	.page-content article,
	.services-content article,
	article {
		padding: 1em 0 0;
	}
	.services-content aside,
	aside {
		padding: 0 0 1em;
	}
	.service-card,
	.service-card:nth-child(3n) {
		width: 47.5%;
		margin: 32px 5% 0 0;
	}
	.service-card:nth-child(2n) {
		margin-right: 0;
	}
	.service-card:hover .service-thumb img {
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
	}
	.profile-text {
		clear: both;
		width: 100%;
		line-height: 1.7;
		padding: 0 0 0.5em;
	}
	.profile-img {
		float: left;
		width: 200px;
		padding: 1em 0 0;
		clear: both;
	}
	.news-thumb {
		display: none;
	}
}

@media only screen and (max-width: 480px) {
	.service-card,
	.service-card:nth-child(2n),
	.service-card:nth-child(3n) {
		width: 100%;
		margin: 18px 0 0 0;
		padding: 14px;
	}
	.service-thumb {
		width: 200px;
	}
}

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


/* ==========================================================================
   * 7.  Sidebar
   ========================================================================== */ 

aside {
}

aside h2 {
	font-size: 1.3em;
	margin: 1.5em 0 0.5em;
}

.widget {
	list-style-type: none;
}

.widget ul {
	margin: 0;
	padding: 0 0 0 1em;
}

.widget_archive label {
	display: none;
}

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

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

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

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

/* ==========================================================================
   * 8.  Footer
   ========================================================================== */
   
footer {
	background: #222;
	color: #FFF;
	padding: 2em 0 4em;
}

footer p a {
	color: #FFF;
}

footer p a:hover {
	color: #DDD;
}

.footer-box {
	float: left;
	padding-right: 16px;
}

.footer-left {
	width: 40%;
}

.footer-centre {
	width: 30%;
}

.footer-right {
	text-align: right;
	width: 30%;
}

.footer-right ul {
	list-style-type: none;
	margin: 1em 0;
	padding: 0;
}

.footer-right ul li a {
	color: #FFF;
}

.footer-sub {
	width: 100%;
	clear: both;
	margin-top: 0.5em;
	color: #EEE;
	font-size: 0.9em;
}

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

@media only screen and (max-width: 768px) {
	.footer-box {
		width: 100%;
		padding: 0;
		text-align: left;
	}
	footer {
		padding: 1em 0 2em;
	}
}

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

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



/* ==========================================================================
   * 9.  Forms
   ========================================================================== */

input,
textarea {
	font-family: "Open Sans", sans-serif;
	padding: 0.5em;
	background: #F9F9F9;
	border: 1px solid #D2D2D2;
	margin-top: 4px;
}

.search-box input[type=text] {
	font-size: 0.875em;	
}

.btn,
form input[type=submit] {
	-webkit-border-radius: 23;
	-moz-border-radius: 23;
	border-radius: 23px;
	outline: none;
	border: none;
	color: #FFF;
	font-size: 16px;
	background: #ef2687;
	padding: 8px 20px 8px 20px;
	text-decoration: none;
	font-weight: 700;
}

.hero .btn {
	background: #FFF;
	color: #ef2687;
	float: left;
	margin-right: 1em;
}

.btn:hover,
.hero .btn:hover,
form input[type=submit]:hover {
  background: #222;
  text-decoration: none;
  color: #FFF
}

.upper {
	text-transform: uppercase;
}

.form-title {
	margin-bottom: 0;
}

.form-l,
.form-r {
	float: left;
	width: 50%;
	padding-bottom: 1em;
}

.form-l {
	padding-right: 0.5em;
}
	
.form-r {
	padding-left: 0.5em;
}

input {
	max-width: 100%;
}

textarea {
	width: 100%;
	resize: none;
	height: 180px;
}

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

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

@media only screen and (max-width: 480px) {
	.form-l,
	.form-r {
		width: 100%;
		padding: 0 0 1em;
	}
	.btn,
	form input[type=submit] {
		width: 100%;
	}
	label {
		font-size: 0.9em;
	}
	.home .btn {
		float: none;
		margin-right: 0;
	}
}

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


/* ==========================================================================
   * 10.  Generic styles
   ========================================================================== */


.wp-pagenavi {
	float: left;
	clear: both;
	margin: 30px 0 0;
}

.wp-pagenavi .pages {
	display: inline-block;
	margin-right: 4px;
}

.wp-pagenavi .current,
.wp-pagenavi .page,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
	display: inline-block;
	background: #BBB;
	border-radius: 17px;
	margin: 0 4px;
	color: #000;
	padding: 0 12px;
	line-height: 34px;
	height: 34px;
	text-align: center;
	min-width: 34px;
	padding-top: 1px;
	font-size: 0.875em;
	text-decoration: none;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	background: #A0A0A0;
}

.wp-pagenavi .current {
	background: #222;
	color: #FFF;
}
   
   
@media only screen and (max-width: 960px) {
}

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

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

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