/* New header img slider thingy */
#homeimgwrapper{
	width:100%;
	height:50vh;
	overflow:hidden;
	position:relative;
	max-width:1400px;
	margin:auto;
}

/* IMG references */
#homeimgwrapper .header1 .peteimg {
	background-image: url("../images/carpark.jpg");
}
#homeimgwrapper .header2 .peteimg {
	background-image: url("../images/brightondoctor.jpg");	
}
#homeimgwrapper .header3 .peteimg {
	background-image: url("../images/doctor.jpg");
}
#homeimgwrapper .header4 .peteimg {
	background-image: url("../images/clinic.jpg");
}  

#homeimgwrapper .keepin .slidertext{
	z-index:5;
	animation: petefadeinup 1s;
	-webkit-animation: petefadeinup 1s;
	display:block;
}

#homeimgwrapper .slidertext{
	position: absolute;
	margin-left:4%;
	margin-top:3%;
	z-index:1500;
	display:none;
}

#homeimgwrapper .slidertext p{
	color:white;
	background-color: rgb(53, 69, 113);
	padding:2% 2vh;
	margin-right:10px;
}

#homeimgwrapper .slidertext p:nth-of-type(1){
	font-size:120%;
	font-weight:bold;
}

#homeimgwrapper .slidertext p:nth-of-type(2){
	background-color: rgb(59, 77, 126);
	text-decoration: underline;
	font-size:80%;
}

.sliderdots{
	position:absolute;
	bottom:60px;
	z-index:6;
	text-align:center;
	left:0;
	right:0;
}

.sliderdots p{
	color:white;
	display:inline-block;
	background-color:rgba(0,0,0,0.5);
	padding:2px;
	height:15px;
	width:15px;
	border-radius:15px;
	margin:10px;
	transition:background-color 1s;
	border:2px solid rgba(255,255,255,0.5);
	cursor:pointer;
}

.sliderdots p.active{
	font-weight:bold;
	background-color:#FFF;
}

.leftright{
	margin: auto auto 23vh;
	position: absolute;
	bottom: 0; left: 0; right: 0;
	width:100%;
	z-index:6;
	opacity:0.3;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
}

.leftright:hover{
	opacity:1;
}

.leftright .leftscroll{
	float:left;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	cursor:pointer;
	border-radius:50px;
	padding:10px;
	background-color:rgba(0,0,0,0.5);
	height:40px;
	width:40px;
	margin-left:1.2%;
}

.leftright .rightscroll{
	float:right;
	cursor:pointer;
	border-radius:50px;
	padding:10px;
	background-color:rgba(0,0,0,0.5);
	height:40px;
	width:40px;
	margin-right:1.2%;
}

#homeimgwrapper .peteimg{
	background-size:cover;
	background-position:center center;
	width:100%;
	height:50vh;
	position:absolute;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#homeimgwrapper .homeimg{
	overflow:hidden;
	position:absolute;
	width:100%;
	height:50vh;
	z-index:2;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#homeimgwrapper .keepin{
	animation: none !important;
	-webkit-animation: none !important;
}

#homeimgwrapper .keepin .peteimg{
	animation: none !important;	
	-webkit-animation: none !important;	
}

#homeimgwrapper .lastactive{
	background-color:#000;
	z-index:4;
}

.wentleft .lastactive .peteimg{
	animation: peteslidefadeleft 2s ease-in-out;
	-webkit-animation: peteslidefadeleft 2s ease-in-out;
	z-index:4;
}

.wentright .lastactive .peteimg{
	animation: peteslidefaderight 2s ease-in-out;
	-webkit-animation: peteslidefaderight 2s ease-in-out;
	z-index:4;
}

#homeimgwrapper .homeimg.active{
	z-index: 5;
	animation: peteslide 1s ease-in-out;
	-webkit-animation: peteslide 1s ease-in-out;
}

#homeimgwrapper .homeimg.active .peteimg{
	animation: peteslideimg 0.9s ease-in-out;
	-webkit-animation: peteslideimg 0.9s ease-in-out;
}

#homeimgwrapper .homeimg.activeback{
	z-index: 5;
	animation: peteslideright 1s ease-in-out;
	-webkit-animation: peteslideright 1s ease-in-out;
}

#homeimgwrapper .homeimg.activeback .peteimg{
	animation: peteslideimgright 0.9s ease-in-out;
	-webkit-animation: peteslideimgright 0.9s ease-in-out;
}

#homeimgwrapper.wentright .lastactive .slidertext{
	animation: petefadeawayup 0.5s ease-in-out;
	-webkit-animation: petefadeawayup 0.5s ease-in-out;
	opacity: 0;
	display:block;
}

#homeimgwrapper.wentleft .lastactive .slidertext{
	animation: petefadeawaydown 0.5s ease-in-out;
	-webkit-animation: petefadeawaydown 0.5s ease-in-out;
	opacity: 0;
	display:block;
}

#homeimgwrapper.wentright .active .slidertext{
	animation: petefadeinup 1.3s ease-in-out;
	-webkit-animation: petefadeinup 1.3s ease-in-out;
	display:block;
}

#homeimgwrapper.wentleft .activeback .slidertext{
	animation: petefadeindown 1.3s ease-in-out;
	-webkit-animation: petefadeindown 1.3s ease-in-out;
	display:block;
}

@keyframes peteslide { 
	0% { left: 100%; }
	100% { left: 0%; }
}
@keyframes peteslideimg{ 
	0% { left:-50%; }
	100% { left: 0%; }
}
@keyframes peteslideright { 
	0% { right: 100%; }
	100% { right: 0%; }
}
@keyframes peteslideimgright{ 
	0% { right:-50%; }
	100% { right: 0%; }
}
@keyframes peteslidefadeleft{ 
	0% { left: 0%; opacity: 1;}
	50% { left: 50%; opacity: 0.5;}
	100% { left: 0%; opacity: 0;}
}
@keyframes peteslidefaderight{ 
	0% { right: 0%; opacity: 1;}
	50% { right: 50%; opacity: 0.5;}
	100% { right: 0%; opacity: 0;}
}
@keyframes petefadeawayup{
	0% { top: 0%; opacity: 1;}
	100% { top: -30%; opacity: 0;}
}
@keyframes petefadeawaydown{
	0% { top: 0%; opacity: 1;}
	100% { top: 30%; opacity: 0;}
}
@keyframes petefadeinup{
	0% { top: 30%; opacity: 0;}
	70% { top: 30%; opacity: 0;}
	100% { top: 0%; opacity: 1;}
}
@keyframes petefadeindown{
	0% { top: 30%; opacity: 0;}
	70% { top: 30%; opacity: 0;}
	100% { top: 0%; opacity: 1;}
}

/* Gorram webkit keyframes, they be mighty annoying. We ain't even gonna mention opera */
@-webkit-keyframes peteslide { 
	0% { left: 100%; }
	100% { left: 0%; }
}
@-webkit-keyframes peteslideimg{ 
	0% { left:-50%; }
	100% { left: 0%; }
}
@-webkit-keyframes peteslideright { 
	0% { right: 100%; }
	100% { right: 0%; }
}
@-webkit-keyframes peteslideimgright{ 
	0% { right:-50%; }
	100% { right: 0%; }
}
@-webkit-keyframes peteslidefadeleft{ 
	0% { left: 0%; opacity: 1;}
	50% { left: 50%; opacity: 0.5;}
	100% { left: 0%; opacity: 0;}
}
@-webkit-keyframes peteslidefaderight{ 
	0% { right: 0%; opacity: 1;}
	50% { right: 50%; opacity: 0.5;}
	100% { right: 0%; opacity: 0;}
}
@-webkit-keyframes petefadeawayup{
	0% { top: 0%; opacity: 1;}
	100% { top: -30%; opacity: 0;}
}
@-webkit-keyframes petefadeawaydown{
	0% { top: 0%; opacity: 1;}
	100% { top: 30%; opacity: 0;}
}
@-webkit-keyframes petefadeinup{
	0% { top: 30%; opacity: 0;}
	70% { top: 30%; opacity: 0;}
	100% { top: 0%; opacity: 1;}
}
@-webkit-keyframes petefadeindown{
	0% { top: 30%; opacity: 0;}
	70% { top: 30%; opacity: 0;}
	100% { top: 0%; opacity: 1;}
}

/*Blog/News Page Fix*/
.blog-img{
	width: 100%; 
	max-width: 1400px; 
	margin:auto;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: bottom;
}

.blog-img img{
	max-width: 100%;
}

.blog article, .single article{
	max-width: 1400px;
	margin: auto;
	padding-bottom:2vh;
}

.blog .entry-title, .single .entry-title{
	margin: 1vh;
	padding: 0 4%;
}

.blog .entry-header, .single .entry-header{
	margin:0;
	padding:0;
}

.blog .posted-on, .single .posted-on{
	margin-left:5vw;
}

.blog .entry-footer, .single .entry-footer{
	display:none;
}

.blog .entry-header .byline, .single .entry-header .byline{
	display:none;
}

.search article {
  margin-bottom: 50px;
}

#colophon{
	margin-top:4vh;
}

/*Fix for homepage h1 running too low*/

.page-id-4 .e-wrapper{
	margin-top:-1em;
}

.page-id-686 .e-wrapper{
	margin-top:-1em;
}

/*Footer Styling*/

#footerblocks .fblock p {
/*line-height: 1.5px !important;*/
padding: 0px 50px 0px 50px;
text-align: justify;

}

#footerblocks .fblock h3 {
padding: 5px 0px 25px 0px;
font-size: 18px;
}

#footerblocks .fblock a:hover {
   color: rgb(79, 108, 145);
   text-decoration: none !important; 
}

.footer-attribute a:hover {
	color: rgb(0, 115, 207);
}

.footer-attribute a {
	color: black;
}

.closetel{
	float: right;
	position:absolute;
	right:0;
	background-color: transparent;
	padding: 0;
	font-size: 32px;
	margin-right: 11px;
}

/*Content*/

.page .entry-title{
	/*display:none;*/
}

/* New Class To Override Thumbnail - */
.page-thumbnail {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 250px;
}
.page .page-thumbnail .entry-title {
	display: block; 
}
.page-thumbnail .page-new-entry-title {
	background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
	bottom: 0;
	font-weight: normal; 
	font-size: 1.8em;
	line-height: 1.2em;
	position: absolute;
	text-align: center;
	width: 100%;
	margin: 0;
	color: #eee;
}


.entry-content h1, h2 {
	text-align: center !important;
}

h2.entry-content {
	text-align: center !important;
}


.d-wrapper {
text-align: center;
width: 100%;
}

/* Doctors Page */

.doc-wrapper {
width: 100%;
}

.doc-wrapper h1 {
text-align: center;
color: rgb(53, 69, 113);
}

.doc-block {
	width: 45%;
	display: inline-block;
	margin: 2.3%;
	vertical-align: top;	
}
.doc-wrapper .doc-block {
	text-align: center;
}
.doc-wrapper .doc-block .doc-head {
	
}
.doc-wrapper .doc-block .doc-head img { 
	float: none;
	margin: 0 auto; 
	padding: 0; 
}
.doc-wrapper .doc-block .doc-head h2 {
	margin: 0; 
	padding: 0;
	color: rgb(53, 69, 113);
	font-size: 25px; 
}
.doc-wrapper .doc-block .doc-head p.h2sub {
	margin: 0;
	padding: 0 !important;
	text-align: center; 
	font-size: 17px;
	margin-top: 5px; 
}
.doc-wrapper .doc-block .doc-text {
	text-align: justify;    
    line-height: 1.2em;
	margin-top: 10px; 
    font-size: 17px;
}

.staff-text {
	margin-top: 10px;
	text-align: justify; 
}	

 .contact-floater {
 	float: left;
 	width: 30%;
}

/*fancybox wrapper*/
.gallery-icon {
	width: 100%;
	text-align: center;
}

.gallery-icon .gblock {
	float: left;
	width: 28%;
	padding: 2.5%;
	height: auto;
}

.gallery-icon .gblock img {
	width: 100%;
	}



/*Fees page table styling*/

.table-container {
	display: table;
	width: 100%;
}

.column {
	display: table-cell;
	width: auto;
	padding-right: 2%;
}
.row {
	display: table-row;
	width: auto;
}
.column h3 {
	font-weight: 700;
	color: #354571;	
}

.fees p:nth-of-type(2) {
font-weight: 700
}

.fees h3 {
	font-weight: 700;
}

.backtotop{
	text-align:center;
	cursor:pointer;
	position:absolute;
	margin:auto;
	width:5%;
	left:0;
	right:0;
}
.backtotop img{
	transform:rotate(-90deg);
	-webkit-transform:rotate(-90deg);
	width:20px;
}

.patient {
	float: left;
	width: 25%;
}

/*styling for new patient page*/

.patient-container {
	display: table;
	width: 100%;
}

.patient-column {
	display: table-cell;
	width: 33.3%;
	padding-right: 1%;
	vertical-align: middle;
}
.patient-row {
	display: table-row;
	width: 33.3%;
}
.patient-column h3 {
	font-weight: 700;
	margin:2%;
	color: rgb(53, 69, 113);
}

.patient-column img {
	text-align: center;
}

img.no-resize {
  min-height: 70px;
  min-width: 70px;
}

.patient-column:nth-of-type(2) {
	width: 5%;
}

/* Appointments page*/

#a-overblocks{
	width:auto;
	text-align:center;
	z-index:10;
	position:relative;
	margin-top: 10%;
	max-width:1400px;
}

#a-overblocks a{
	display: block;
	width:20%;
	height: 55%;
	margin-left: 65px;
	margin: 0;
	vertical-align:top;
	position:relative;
	top:0;
}

#a-overblocks .a-block{
	padding:10px 5px;
}

#a-overblocks .a-block img{
	display:inline-block;
	vertical-align:middle;
}

#a-overblocks .a-block h3{
	color:white;
	font-size:2.4rem;
	font-weight:bold;
	white-space: normal;
	display:inline-block;
	vertical-align:middle;
}

#a-overblocks .a-block p{
	font-size:1.5rem;
	text-align:center;
	margin-top:10px;
	margin-bottom:2px;
	color:white;
}

#a-overblocks a:hover{
	text-shadow:1px 1px 0 rgba(0, 0, 0, 1), -1px -1px 0 rgba(0, 0, 0, 1), 1px -1px 0 rgba(0, 0, 0, 1), -1px 1px 0 rgba(0, 0, 0, 1);
	transition: text-shadow 0.5s;
}

#a-overblocks a:nth-child(1){
	background-color:#43578e;
}

#a-overblocks a:nth-child(2){
	background-color:#3b4d7e;
}

#a-overblocks a:nth-child(3){
	background-color:#354571;
}

#a-overblocks a:nth-child(4){
	background-color:#2d3a5f;
}

.app-content {
	display: inline-block;
    text-align: justify;
    width: 55%;
    border: 2px solid rgb(53, 69, 113);
    border-radius: 5px;
    padding: 2.3%;
}


#a-overblocks {
	display: table;
	width: 100%;
}

.a-block-column {
	display: table-cell;
	width: 33.3%;
	padding-right: 1%;
	vertical-align: middle;
}
.a-block-row {
	display: table-row;
	width: 33.3%;
	height: 15%;
}


.patient-column h3 {
	font-weight: 700;
	margin:2%;
	color: rgb(53, 69, 113);
}

.patient-column img {
	text-align: center;
}

.patient-column:nth-of-type(2) {
	width: 5%;
}

/*appointment page */

.app-container {
	display: table;
	width: 100%;
}

.app-patient-column {
	display: table-cell;
	/*width: 33.3%;*/
	padding-right: 1%;
	vertical-align: middle;
	width: auto;
	padding-top: 2%;
	
}

.app-patient-row {
	display: table-row;
	width: auto;
	/*background-color: rgb(53, 69, 113);*/
}

.app-patient-column h3 {
	font-weight: 700;
	margin:2%;
	background-color: rgb(53, 69, 113);
	color: white;
	display: inline-block;
	font-size: 16px;
}

.app-patient-column .appblock {
	background-color: rgb(53, 69, 113);
	display:block;
	padding:5px;
	min-width:175px;
	text-align:center;
}

.app-patient-column img {
	display: inline-block;
}

.app-patient-column h4 {
	font-size: 1.3rem;
	color: white;
	margin-top: 18px;
}

#floatingimage img{
    float: left;
	margin-right: 10px;
}

@media screen and (max-width: 59.7em) {
	.app-container .app-patient-row{
		text-align:center;
		display:block;
	}
	.app-container .app-patient-column{
		text-align:center;
		display:block;
	}
}

/*Start BrightonFC original stylesheet*/

#overblocks{
	width:auto;
	text-align:center;
	z-index:10;
	position:relative;
	margin:auto;
	max-width:1400px;
}

#overblocks a{
	display: inline-block;
	width:20%;
	height: 150px;
	margin-top: -4.5vh;
	vertical-align:top;
	position:relative;
	top:0;
}

#overblocks .block{
	padding:10px 5px;
}

#overblocks .block img{
	display:inline-block;
	vertical-align:middle;
}

#overblocks .block h3{
	color:white;
	font-size:2.4rem;
	font-weight:bold;
	white-space: normal;
	display:inline-block;
	vertical-align:middle;
}

#overblocks .block p{
	font-size:1.5rem;
	text-align:center;
	margin-top:10px;
	margin-bottom:2px;
	color:white;
}

#overblocks a:nth-of-type(3) .block p{
	line-height: 18px;
}

#overblocks a:hover{
	text-shadow:1px 1px 0 rgba(0, 0, 0, 1), -1px -1px 0 rgba(0, 0, 0, 1), 1px -1px 0 rgba(0, 0, 0, 1), -1px 1px 0 rgba(0, 0, 0, 1);
	transition: text-shadow 0.5s;
}

#overblocks a:nth-child(1){
	background-color:#43578e;
}

#overblocks a:nth-child(2){
	background-color:#3b4d7e;
}

#overblocks a:nth-child(3){
	background-color:#354571;
}

#overblocks a:nth-child(4){
	background-color:#2d3a5f;
}

#hrtop .phonetop{
	margin:0;
	font-size:2rem;
	color:rgb(53, 69, 113);
	font-weight: 700;
}

#hrtop .addtop{
	margin:0;
	font-size:1.3rem;
	color:#7D7D7D;
}

.main-navigation a {
	color:white;
	position:relative;
	z-index:50;
}

.menu-item button{
	z-index:500;
}

.main-navigation ul {
	text-align:center;
	clear:both;
	font-family: 'Source Sans Pro', sans-serif;
	margin: 0;
	background-image: linear-gradient(to top, rgba(53, 69, 113, 1) 0% , rgba(53, 69, 113,0.5) 100%);
}

.main-navigation ul li.no-touch{
	background-image: linear-gradient(to bottom, rgba(53, 69, 113, 1) 0% , rgba(53, 69, 113,0.7) 49%, rgba(53, 69, 113,0) 50%, rgba(53, 69, 113,0) 100%);
	background-size: auto 200%;
	background-position: 0 100%;
	transition: background-position 0.2s;
	background-repeat: repeat;
}

.main-navigation ul li:hover {
    background-position: 0 0;
}

#menu-primary li.no-touch:hover > ul.sub-menu{
	display:block;
}

#menu-primary .menu-item-has-children .sub-menu{
	position: absolute;
	z-index: 100;
	left:0;
	margin-left:0;
	background-image:none;
}
#menu-primary .menu-item-has-children .sub-menu li{
	display:block;
	white-space: nowrap;
	/*background-image: linear-gradient(to top, rgba(62, 153, 202, 0.7) 0% , rgba(62, 153, 202,1) 50%, rgba(62, 153, 202, 0.7) 100%);*/
	background-size: auto 100%;
	background-position: 0 0;
	/*background-image: linear-gradient(to top, rgba(53, 69, 113, 1) 0%, rgba(53, 69, 113, 0.3) 100%);*/
	background-color: rgba(53, 69, 113, 1);
}
#menu-primary .menu-item-has-children .sub-menu li:hover{
	background-color: rgba(100, 120, 163, 1);
	background-size: 200% 200%;
}


.branding-symbol, .branding-text {
	display: inline-block; 
}
.branding-text {
	position: relative; 
	top: -8px; 
}
.branding-symbol img {
	max-height: 80px;
}
.site-title a{
	color: #354571 !important;
	font-weight: bold;
}

.site-title {
	font-size: 30px;
	line-height: 1.1852;
	text-transform: uppercase;
	font-family: 'Source Sans Pro', sans-serif;
}

.site-description {
	font-size: 22px;
	color: #4f67aa;
	font-family: 'Source Sans Pro', sans-serif;
	text-align: left;
	adding-bottom: 12px;
}

.entry-content{
	max-width:1400px;
	margin:auto;
}

.entry-content ul li {
	padding-left: 3%;
}

.entry-content ul li {
	padding-left: 0%;
	margin-left: 3%;
}
}
/*Footer Styling*/

#footerblocks {
text-align: center;
}

#footerblocks .fblock {
	float: left;
	width: 25%;
	background-color: #3b4d7e;
	color: white;
}

#footerblocks .fblock2 {
	float: left;
	width: 25%;
	text-align: left;
	font-size: 12px;
	background-color: #3b4d7e;
	color: white;
}

#footerblocks .fblock p {
	padding: 0px 20px 0px 20px;
	text-align: center;
}

#footerblocks .fblock h3 {
	padding: 5px 0px 25px 0px;
	font-size: 18px;
}

#footerblocks .fblock a{
	color: white;
}

#footerblocks .fblock a:hover {
	color: rgb(79, 108, 145);
	text-decoration: none !important; 
}

#footerblocks .fblock h4 {
	padding: 0px 0px 0px 0px;
	font-size: 20px;
	text-align:center;
	font-weight: 300;
	color: rgb(51,​ 51,​ 51);
}

#footerblocks .fblock iframe {
	width:75%;
}

.footer-attribute {
	background-color: #2d3a5f;
	font-size: 17px;
	width: auto;
	color: white;
	padding:1% 12%;
}

.footer-attribute a:hover {
	color: rgb(0, 115, 207);
}

.footer-attribute .footright{
	color: white;
	float: right;
	display:block;
	width:50%;
	text-align:right;
}

.footer-attribute .footright  a {
	color: white;
}

.footer-attribute .footright  a:hover {
	color: rgb(0, 115, 207);
}

.footer-attribute .footright img{
	padding-right:5px;
}

.footer-attribute .footleft{
	float: left;
	display:block;
	width:50%;
}

div.clear {
	clear: both;
}

.hentry p {
	margin-bottom: 20px;
}

.top-banner img{
	width:100%;
}

.top-banner h1 {
	text-align: center !important;
}

.entry-content h2 {
	text-align: center;
	color: rgb(53, 69, 113);
}

div.e-wrapper {
	padding-left: 14.5%;
	width: 71%;
	text-align: justify;
}

.dropdown-toggle{
	display:none;
}

.main-navigation .menu-item-has-children > a {
    padding-right: 0px;
}

.secondary {
	background-color: #fff;
	display: block;
}

.secondary.toggled-on {
	display: block;
}

.footercall{
	display:none;
	text-align:center;
}

#overblocks .block p.phonep{
	font-size:150%;
	margin-top:3px;
	margin-bottom:-4px;
	font-weight:bold;
}

.top-banner{
	margin-left:-10vw;
	margin-right:-10vw;
}

.thumb-wrapper img{
	max-width:100%;
}

@media screen and (min-width: 1400px) {
	.top-banner{
		margin:0;
	}
}

@media screen and (max-width: 1400px) {
	#overblocks a {
		width: 24%
	}
	#masthead {
		padding: 0 1%;	
	}
	.site-info, .footer-attribute {
		padding: 1%;
	}
	div.e-wrapper {
		padding-left: 2.5%;
		width: 95%;
	}
}

@media screen and (max-width: 1100px) {
	.site-title {
		ont-size: 25px;
	} 
	.site-description {
		ont-size: 15px;
	}
	
	.page-thumbnail {
	height: 200px;	
	}
	
	.main-navigation li {
	padding: 5px 8px;
		font-size: 1.5rem;
	}	
	#overblocks .block h3 {
		font-size: 2rem;
	}
	#footerblocks .fblock {
		width: 50%;
	}
	#footerblocks .fblock:nth-of-type(2) {
		display: none;
	}
	#footerblocks .fblock:nth-of-type(3) {
		display: none;
	}
	#secondary #site-navigation #menu-primary .menu-item-has-children > a{
		margin-right: 30px;
	}
	.dropdown-toggle{
		display:block;
	}
	.dropdown-toggle::after {
		margin-top:3px;
	}
	.e-wrapper h1 {
		color: rgb(53, 69, 113);
		text-align: center;
		font-size: 25px;
	}
}


@media screen and (min-width: 59.7em) {
	#hrtop{
		float:right;
		width:30%;
		text-align:right;
	}
}

/*This must remain the same as style.css line 3888*/
@media screen and (max-width: 59.7em) {
	#hrtop {
		display: none;
	}
	.entry-header {
		display: block;
	}
	.site-title, .site-description {
		text-align: left;
	}
	.site-title {
		margin: 0px 0px 0px;
	}
	.dropdown-toggle {
		display: inline-block !important;
	}
	#overblocks .block img {
		width: 20px;
	}
	#overblocks .block h3 {
		font-size: 1.8rem;
	}
	#overblocks a {
		height: auto;
	}
	div.e-wrapper {
		padding-left: 1%;
		width: 98%;
	}
	.footer-attribute {
		font-size: 12px;
	}
	#footerblocks .fblock h3 {
		padding: 5px 0;
	}
	.secondary{
		display:none;
	}
	.secondary-toggle{
		z-index:9002;
	}
	.secondary.toggled-on {
		display: block;
		position:absolute;
		animation: menuslide 1s ease-in-out;
		-webkit-animation: menuslide 1s ease-in-out;
		top:0;
		z-index:9001;
		width:100%;
		background-color:transparent;
	}
	.main-navigation ul {
		width:30%;
		margin:auto;
		background-color:rgba(53, 69, 113, 1);
		border-radius:0 0 5px 5px;
		min-width:245px;
		border:2px solid #fff;
	}
	#secondary #site-navigation #menu-primary .menu-item-has-children > a {
		margin-right:0;
	}
	.main-navigation ul.nav-menu li {
		width:100%;
		display:block;
		padding:0;
		font-size:16px;
		border-top:1px solid rgba(255,255,255,0.3);
	}
	.dropdown-toggle {
		width:40px;
		height:100%;
		padding-left:0px;
		line-height: 38px;
	}
	.main-navigation a {
		padding: 0.3em 0;
	}
	#menu-primary li:hover > ul.sub-menu{
		display:none;
	}
	.main-navigation #menu-primary ul.toggled-on {
		display: block !important;
	}
	#menu-primary .menu-item-has-children .sub-menu {
		width:100%;
		z-index:9003;
	}
	.main-navigation ul li.toggle-li-sub{
		transform:rotateX(0);
		background-color:red;
		transition:background-color 1s;
		animation:none !important;
		max-height:40px;
		visibility:visible;
	}
	.main-navigation ul li.toggle-li-sub .toggled-on{
		transform:rotateX(0);
	}
	.toggle-sub-toggle li{
		transform:rotateX(90deg);
		transition:all 1s;
		-webkit-transition: none;
		animation: asubmenu 1s ease-in-out;
		-webkit-animation: none;
		-webkit-transform: none;
		max-height:0;
		visibility:hidden;
	}
	.toggle-sub-toggle li:hover{
		background-color:none;
	}
	.toggle-sub-toggle ul li.toggle-li-sub .toggled-on li{
		background-color:rgba(53, 69, 113, 1);
		transform:rotateX(0);
		animation:none !important;
		max-height:50px;
		visibility:visible;
		border-top:1px solid rgba(255,255,255,0.3);
	}
	.toggle-sub-toggle ul.nav-menu li {
		border:none;
	}
	#overblocks .block p.phonep{
		margin-top:16px;
		margin-bottom:15px;
	}
	.table-responsive .row{
		text-align:left;
		display:block;
	}
	.table-responsive .column{
		text-align:left;
		display:block;
	}
}

@keyframes menuslide { 
	0% { top: -30%; opacity:0;}
	100% { top: 0%; opacity:1;}
}

@-webkit-keyframes menuslide {
	0% { top: -30%; opacity:0;}
	100% { top: 0%; opacity:1;}
}

@keyframes asubmenu { 
	0% { transform:rotateX(0deg); max-height: 40px;}
	100% { transform:rotateX(90deg); max-height: 0px;}
}
	

@media screen and (max-width: 700px) {
	.site-title, .site-description {
		text-align: center;
	}
	.branding-symbol, .branding-text {
		display: block; 
		text-align: center; 
	}
	.site-title {
		margin: 10px 0px 0px;
	}
	
	.lactation, img.alignleft{
    margin-right: 100px;
	}
	
	.site-title {
		font-size: 25px;
	} 
	.site-description {
		font-size: 15px;
	}
}

@media screen and (min-width: 600px) and (max-width: 660px) {
	.doc-wrapper .doc-block .doc-head h2 {
		font-size: 20px; 
	}
}

@media screen and (max-width: 600px) {
	.gallery-icon .gblock {
		float: none;
		height: auto;
		padding: 2.5%;
		width: auto;
	}
	
	.page-thumbnail {
	height: 120px;	
	}
	
	.doc-wrapper .doc-block {
		width:auto;
	}
	#overblocks a:nth-of-type(3) .block p{
		font-size: 1.4rem;
	}
	.footer-attribute .footleft, .footer-attribute .footright, .backtotop{
		float:none;
		width:auto;
		text-align:center;
		position:relative;
	}
	#overblocks a {
		margin-bottom: 44px;
		width: 48%;
	}
	.footercall{
		position:fixed;
		bottom:0;
		width:100%;
		background-color:rgba(53, 69, 113, 1);
		border-radius:10px 10px 0 0;
		display:block;
		color:white;
		z-index:9010;
		font-size:20px;
		border-top:2px solid white;
		border-bottom:2px solid white;
		padding-top:7px;
		padding-bottom:7px;
	
	}
	.footercall img{
	
	}
	.e-wrapper img{
		display:none;
	}
	.e-wrapper img{
		width:100%;
	}
	.footercall a{
		color:white;
		font-weight:bold;
	}
	.footercall img{
		margin-right:5px;
	}
	.site-footer{
		margin-bottom:50px;
	}
	.leftright .rightscroll, .leftright .leftscroll {
		height:20px;
		width:20px;
	}
	.sliderdots p {
		width:10px;
		height:10px;
	}
	.contact-floater {
		float:none;
		width:100%;
	}
	div.wpcf7 {
		float:none;
		width:100%;
	}
	.patient-column h3 {
		font-size: 14px;
	}
	
	.column h3 {
	font-size:15px;
	font-weight: 800;
	color: #354571;
	}	
	#homeimgwrapper .slidertext p:nth-of-type(1){
	font-size:89%;
	font-weight:bold;
	}
	
}


@media screen and (max-width : 583px) {
	.doc-block {
		text-align: center;	
	}
	.column h3 {
	font-size:14px;		
	}		
}

@media screen and (max-width : 440px) {
	.site-title {
		margin: 5px 0px 0;
		font-size: 20px;		
	}
	.branding-symbol img {
		max-height: 60px; 
	}
	.column h3 {
	font-size:13px;
	}
	.page .page-thumbnail .entry-title {
		font-size: 22px;
	}
	.blog .entry-title, .single .entry-title{
			font-size: 22px;
	}
}

@media screen and (max-width : 350px) {
	.site-title {
		font-size: 18px;		
	}
	.fee-table {
		column-width:130px;
		font-size:13px;
	}
	.page .page-thumbnail .entry-title {
		font-size: 20px;
	}
	.blog .entry-title, .single .entry-title{
			font-size: 20px;
	}	
}

@media screen and (max-width : 320px) {
	.site-title {
		font-size: 15px;		
	}
	.column h3 {
	font-size:12px;
	}
	.page .page-thumbnail .entry-title {
		font-size: 18px;
	}		
}

@media screen and (max-width : 270px) {
	.site-title {
		font-size: 13px;		
	}
	.page .page-thumbnail .entry-title {
		font-size: 15px;
	}		
}
