/*
Theme Name: Byford Medical Centre
Author: Web Wizards
Description: Another quality web design by Web Wizards
Author URI: http://www.webwizards.com.au
Version: 1.0
*/

/* @font-face
---------------------------------------------------------------*/

@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/gothic.eot');
    src: url('fonts/gothic.eot') format('embedded-opentype'),
         url('fonts/gothic.woff') format('woff'),
         url('fonts/gothic.ttf') format('truetype'),
         url('fonts/gothic.svg#CenturyGothicRegular') format('svg');
}

/* =Reset
-------------------------------------------------------------- */

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%;
	vertical-align: baseline;
}
body {
	line-height: 1;
	font-family: 'Century Gothic';
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
a {
    color: #a3c8ee;
    text-decoration: none;
}
a:hover {
    color: #6BAAEB;
    text-decoration: underline;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

td {
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {

}
h1, h2 {
	color: #752a44;
	font-size: 26px;
	font-weight: bold;
	line-height: 36px;
	margin-bottom: 31px;
}
h3 {
	font-size: 18px;
	margin-bottom: 23px;
}
h4 {
	
	font-weight: bold;
	font-size: 15px;
}
p {
	line-height: 22px;
	font-size: 14px;
	margin-bottom: 15px;
}

html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
a.book {
  color: #fff !important;
  background-color: #A3C8EE;
  padding: 11px 10px 13px 10px;
font-family: 'Century Gothic';
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}
input, textarea {
    width: 264px;
    padding: 10px 10px 10px 10px;
    color: #000;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 3px solid #a3c8ee;
}
input[type="submit"] {
    width: 100px;
    float: right;
    background: #fff;
    cursor: pointer;
    color: #aaa;
    margin-right: 4px;
}
.home .content li {
    font-size: 14px;
    list-style: none;
    margin-left: 0px;
    line-height: 21px;
    background: none;
    padding-left: 0px;
}
.home .content ul {
    display: inline-block;
    width: 100%;
}
.home .content {
  max-width: 1295px !important;
  width: 100% !important;
  margin: 0 auto !important;
}
#homeWrap {
  max-width: 980px;
margin: 0 auto;
}

.content li {
    font-size: 14px;
    list-style: none;
    margin-left: 22px;
    line-height: 21px;
    background: url(images/dot.png) no-repeat left 7px;
    padding-left: 18px;
}
.content ul {
    display: inline-block;
    width: 500px;
}
/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}
.alignleft { float: left;}
.alignright { float: right;}

/* Header */
header#masthead {
	height: 130px;
	width: 100%;
    position: relative;
}
hgroup {
	max-width: 980px;
	margin: 0 auto;
	min-height: 130px;
    position: relative;
	
}
.cord {
	background-color: #A3C8EE;
	height: 4px;
	width: 50%;
	position: absolute;
	top: 105px;
	left: 50%;
	margin-left: -374px;
	padding-right: 374px;
	z-index: 1;
}
.earbuds {
    background: url(images/earbuds.png) no-repeat center 35px;
    display: inline-block;
    position: absolute;
    height: 210px;
    width: 83px;
    z-index: 21;
    left: 33px;
}
#logo {
	margin: 35px 0px 0px 20px;
	display: inline-block;
	float: left;
    position: relative;
    z-index: 22;
}
#phone {
	color: #a3c8ee;
	font-size: 18px;
	font-style: italic;
	font-weight: bold;
	float: right;
	margin-top: 20px;
}
#phone span {
	color: #752a44;
	font-size: 20px;
	font-weight: bold;
	margin-left: 15px;
}
/* Menu */
#site-navigation {
	float: right;
	margin-top: 30px;
}
#site-navigation li {
    display: inline;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: normal;
    padding: 0px 6px;
    text-decoration: none;
position: relative;
 }
#site-navigation li .sub-menu {
display: none;
  position: absolute;
  width: 179px;
  background-color: #A3C8EE;
  top: 36px;
  left: -8px;
  text-align: left;
  padding: 10px;
  z-index: 990;
  border-radius: 10px;
  line-height: 22px;
}
#site-navigation li:hover .sub-menu a {
color: #fff;
background: none !important;
}
#site-navigation li:hover .sub-menu {
display: inline-block;
}
#site-navigation li a {
	text-decoration: none;
	color: #003267; 
	padding-bottom: 29px;
	position: relative;
	z-index: 2;
}
#site-navigation li:hover a, .current_page_item a {
	background: url(images/pageInd.png) no-repeat center bottom;
}

/* slideshow */
#slideshow {	
	width: 100%;
    
	background: url(images/sliderBG.jpg) repeat-x center top;
	padding-top: 5px;
  padding-bottom: 5px;
}
.tp-bullets {
right: 0px !important;
  bottom: 12px !important;
  margin-left: 0 !important;
  left: 90% !important;
}
.tp-bullets.simplebullets.round .bullet {
	background: url("images/inactive-bullet.png") center center no-repeat;
}
.tp-bullets.simplebullets.round .bullet.selected {	
	background: url("images/active-bullet.png") center center no-repeat;
}
.tp-rightarrow.round, .tp-leftarrow.round {
	background: none;
}
.tp-bullets.simplebullets.round .bullet:hover, .tp-bullets.simplebullets.round .bullet.selected {
	background-position: center center;
}


/* Content */
#primary {
	width: 100%;
    
	background: url(images/siteBG.png) repeat-x center -94px;
	min-height: 760px;
}
#main {
    padding-top: 30px;
}
#inner_page {
	width: 100%;
	background: white;
	min-height: 300px;
}
.clear {
	clear: both;
}
.content {
	max-width: 980px;
width: 100%;
	margin: 0 auto;
}
#services {
height: 412px;
  max-width: 1295px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#services li {
  display: inline-block;
  width: 13.8%;
  margin: 0 1%;
  vertical-align: top;
  position: relative;
  height: 385px;
}
#services li img {
  width: 100%;
  height: auto;
}
h4 {
	color: #6f1d3a;
	margin: 0px 0 18px;
	text-align: center;
	background: url(images/underlines.png) no-repeat center bottom;
	padding-bottom: 9px;
}
#services p {
	font-size: 12px;
	line-height: 19px;
	margin: 31px 0 26px;
}
#services a {
  background: url(images/earbuds-icon.png) no-repeat left center;
  padding: 10px 0px 10px 40px;
  color: #2b6bad;
  font-size: 12px;
  font-style: italic;
  text-decoration: none;
  bottom: 0px;
  position: absolute;
  width: 55%;
  right: 0;
  left: 0;
}
#homeContent {
	width: 56%;
	float: left;
	padding: 36px 0px 0px 0px;
	margin: 0px 36px 0px 0px; 
}
aside {
	width: 39.3%;
	float: right;
	padding-top: 36px;
}
.textwidget {
	color: #752a44;
	font-weight: bold;
}
.textwidget p {
	font-size: 18px;
	line-height: 29px;
}
.textwidget span {
	width: 135px;
	display: inline-block;
	color: #000;
	font-weight: normal;
}
h4 a.bookan {
	background: url(images/earbuds-icon.png) no-repeat 10px center;
    font-style: italic;
    height: 32px;
    line-height: 60px;
    font-weight: normal;
    background-color: #A3C8EE;
    color: #fff !important;
    text-align: center;
    padding: 15px 50px !important;
    margin-left: 0;
}
.textwidget a {
  color: #fff;
  font-size: 18px;
  line-height: 37px;
  padding: 0;
text-decoration: none;
}


/* Blogs */

#blogside {
	float: right;
	width: 18%;
}
#blogside aside {
	display: block;
	width: 100%;
	margin-bottom: 14px;
}
#blogContent {
    width: 74%;
	float: left;
	background: #f8f8f8;
	padding: 30px;
	min-height: 555px;
}
#blogContent a, #blogside a {
	background: url(images/earbuds-icon.png) no-repeat left center;
	padding: 10px 0px 10px 40px;
	color: #2b6bad;
	font-size: 12px;
	font-style: italic;
	text-decoration: none;
}
.entry-page-image img, .attachment-post-thumbnail {
	display: block;
	float: left;
	margin-right: 14px;
	padding: 5px;
}
.comments-link {
	display: none;
}


/* Footer */
footer#colophon {
    width: 100%;
    
    min-height: 240px;
	background: url(images/aboutBG.png) #f1f1f1 no-repeat center top;
    margin-top: 20px;
}
.site-info {
	max-width: 980px;
width: 100%;
    margin: 0 auto;
	font-size: 18px;
}
.site-info img.map {
	width: 355px;
	height: 160px;
	margin-top: 15px;
    margin-right: 139px;
}
#contact {
    margin: 40px 0px 0px 4px;
    width: 49%;
    float: left;
    color: white;
}
#contact h3, #contact h4 {
	font-weight: normal;
}
#contact h4 {
	margin-left: 84px;
	margin-bottom: 17px;
	color: #a3c8ee;
    background: none;
}
#contact span {
	width: 110px;
	display: inline-block;
	color: #fff;
}
#rights {
	font-size: 12px;
	margin-top: 39px;
}
#webwizards-logo {
	float: right;
	margin: 34px 0px 0px 0px !important;
	width: 50px !important;
}
.slide-wrapper
{
max-width: 980px;
margin: 0 auto;
}
/* Media Queries */
@media (max-width: 1200px)
{
.entry-page-image img{width: auto; height: auto}
.cord{width:}
}

@media (max-width: 1100px) {
	#services li {
		width: 175px;
		margin: 0px 5%;
		margin-bottom: 30px;
   	}
	#services li img {
  		width: auto;
	}
	#services {
		height: auto;
	}
	#primary {
  		width: 100%;
  		background: url(images/siteBG.png) repeat-x center 332px #fff;
  		min-height: 1200px;
	}
}

@media (max-width: 1000px)
{
.wp-post-image
{
width: 100%;
}
hgroup, .content, .site-info
{

padding-left: 15px;
padding-right: 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
}
@media (max-width: 992px)
{
#logo img{width: 250px;}
.cord{width: 89%; right:0; margin-left: 0 ; padding-right: 0;left: auto;}
#site-navigation li{font-size: 11px; padding: 0 1px;}

#slideshow{background: transparent;}
.slide-wrapper{border-top: 5px solid #a2c8ed;border-bottom: 5px solid #a2c8ed;}
#homeContent{width: 54%}
.site-info img.map{margin-right: 0px;}
.content ul{display: block;}
}
@media(max-width: 800px)
{
.cord{width:86%}
}
@media (max-width: 768px)
{
.content div{ float: none !important; width:100% !important; }
#logo img{width: auto;max-width: 100%;}
#site-navigation a:hover, .current_page_item a
{
background: transparent;
}
#phone {
font-size: 15px;
font-weight: bold;
}
#services p {
font-size: 14px;
}
#homeContent, aside, #contact
{
width: 100%;
float: none;

}
.cord, .earbuds, #site-navigation
{
display: none
}
#services{height: auto;}
#services li 
{
  display: inline-block;
  width: 100%;
  margin-right: 1.5%;
  float: none;
  clear: both;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #ccc;
  position: relative;
  height: auto;
  margin-top: 0;
  margin-left: 0;
}
#services li a {
position: inherit;
}
.wp-post-image {
width: auto !important;
float: left;
margin-right: 10px;
}
#primary {
  
  background: transparent;
  
}
#rights{ text-align: center; float: none;color: #fff;}
#webwizards-logo{margin: 0 auto !important;float: none;  display: -webkit-box !important;}
footer#colophon{ background-size: cover; margin-top: 0;padding-top: 15px}
.site-info img.map{ margin: 0;}
#logo {
  margin: 35px 0 0px;
 display: block;
  float: none;
  position: relative;
  z-index: 22;
  text-align: center;
}
#phone{ float: none; text-align: center;}
#phone span{display: block; margin-top: 20px;}
#gallery-1 .gallery-item{width: 50% !important; }
br {  clear: none !important;}
#gallery-1 .gallery-item img{width: 100%;  height: auto; }
.content ul{width:100%}
}

@media (max-width: 450px){
#contact h3, #contact h4 {text-align:center; margin: 0 0 10px}
#contact img{float: none !important;display: block; margin: 0 auto;}
.site-info img.map{width: 100%;}
.content img{width: 100% !important; padding-bottom: 20px; height: auto;}
}
@media(max-width:350px)
{
#logo img{width: 100%}
.wp-post-image{ float: none; display: block; margin: 0 auto}

#gallery-1 .gallery-item{width: 100% !important; }
}