.chromeframe { position:absolute; top:0; }

body {
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;
background-color:#ffffff;
color:#004b8d;
}

html, body { height:100%; }

h1,h2,h3,h4,h5{font-weight:300;}

@font-face {

    font-family: 'liberation_serifbold';

    src: url('css/fonts/liberationserif-bold-webfont.eot');

    src: url('css/fonts/liberationserif-bold-webfont.eot?#iefix') format('embedded-opentype'),

         url('css/fonts/liberationserif-bold-webfont.woff') format('woff'),

         url('css/fonts/liberationserif-bold-webfont.ttf') format('truetype'),

         url('css/fonts/liberationserif-bold-webfont.svg#liberation_serifbold') format('svg');

    font-weight: normal;

    font-style: normal;

}



@font-face {

    font-family: 'liberation_serifbold_italic';

    src: url('css/fonts/liberationserif-bolditalic-webfont.eot');

    src: url('css/fonts/liberationserif-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),

         url('css/fonts/liberationserif-bolditalic-webfont.woff') format('woff'),

         url('css/fonts/liberationserif-bolditalic-webfont.ttf') format('truetype'),

         url('css/fonts/liberationserif-bolditalic-webfont.svg#liberation_serifbold_italic') format('svg');

    font-weight: normal;

    font-style: normal;

}



@font-face {

    font-family: 'liberation_serifitalic';

    src: url('css/fonts/liberationserif-italic-webfont.eot');

    src: url('css/fonts/liberationserif-italic-webfont.eot?#iefix') format('embedded-opentype'),

         url('css/fonts/liberationserif-italic-webfont.woff') format('woff'),

         url('css/fonts/liberationserif-italic-webfont.ttf') format('truetype'),

         url('css/fonts/liberationserif-italic-webfont.svg#liberation_serifitalic') format('svg');

    font-weight: normal;

    font-style: normal;

}



@font-face {

    font-family: 'liberation_serifregular';

    src: url('css/fonts/liberationserif-regular-webfont.eot');

    src: url('css/fonts/liberationserif-regular-webfont.eot?#iefix') format('embedded-opentype'),

         url('css/fonts/liberationserif-regular-webfont.woff') format('woff'),

         url('css/fonts/liberationserif-regular-webfont.ttf') format('truetype'),

         url('css/fonts/liberationserif-regular-webfont.svg#liberation_serifregular') format('svg');

    font-weight: normal;

    font-style: normal;

}



a { color:#004b8d; text-decoration:none; }

a:hover { text-decoration:none; }



/* Custom text-selection colors */

::-moz-selection{ background:#004b8d; color:#fff; text-shadow:none; }

::selection { background:#004b8d; color:#fff; text-shadow:none; } 



/*	j.mp/webkit-tap-highlight-color */

a:link  {-webkit-tap-highlight-color: #ceeaea;} 



ins {background-color: #fcd700; color: #000; text-decoration: none;}

mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}



/* Mozilla dosen't style place holders by default */

input:-moz-placeholder { color:#a9a9a9; }

textarea:-moz-placeholder { color:#a9a9a9; }



/* Common */

.inner { width:1098px; /*height:100%;*/ margin:0 auto 0 auto; }

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

	.inner { width:100%; }

}

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

	.inner { width:100%; }

}

h4 {
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;
}

p {
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;}

ul { list-style:disc; }



/* Wrapper */

#wrapper { width:100%; min-height:100%; height:auto!IMPORTANT; height:100%; margin: 0px 0px -163px 0px; }

.rating--widget{
	float: left;
	margin-top: 30px;
	width: 100%;
}

/* Header */

header { position:relative; width:100%; }

header .inner { height:100px; }

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

	header .inner { /*height:152px;*/ }

}

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

	header .inner { /*height:166px;*/ }

}

.logo {
	position: absolute;
    float: left;
    margin: 0;
    padding: 0 0 0 0;
    width: 220px;
    height: auto;
    z-index: 99999;
    top: -50px;
	border-radius:100%;
	padding:10px;
	background-color:#fff;
}

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

	.logo { margin:19px 0 0 5px;  }

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

	.logo { margin:19px 0 0 5px; width: 120px; }

}

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

	.logo { width:104px; height:45px; }



}

.details { position:relative; float:right; width:auto; margin:17px 70px 0 0;display: flex;
	justify-content: flex-end;
	
	box-sizing: border-box;
	flex: 1; }

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

	/* .details { float:left; width:100%; margin:0 0 0 0; border-bottom-width: 5px; border-bottom-style: solid; border-bottom-color: #1B3E6F; } */
/* .details {margin-right: 0px;} */
}

@media only screen and (min-width: 1160px) {

	/* .details { float:left; width:100%; margin:0 0 0 0; border-bottom-width: 5px; border-bottom-style: solid; border-bottom-color: #1B3E6F; } */
.details {margin-right: 0px;}
}


.details p { text-align:right; padding:0 0 7px 0; margin:0 0 0 0; font-size:16px; line-height:18px; }

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

	/* .details p { width:90%; text-align:left; padding:8px 0px 0 30px; float:left; }

	.details p:first-of-type { padding:20px 0px 0 30px; }

	.details p:last-of-type { padding:8px 0px 20px 30px; } */

}

.details p a { color:#ceeaea; }

.details p a:hover { color:#2a7979; }

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

	.details p a {  }

	.details p a:hover {  }

}



.col-full {

	width: 100%;

	clear: both;

}



/* Menu */

.-nav{
	width: 100%;
    position: relative;
    right: 0;
    max-width: 1098px;
    margin: 0 auto;
	top:-10px;
}

nav { float:right; bottom:0;position: relative; margin: 0 auto 0 auto; width: 100%; height: 39px; z-index: 9998; background-color:#fff;}



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



	nav { display:none; }



}




ul.menu {
    position: absolute;
    margin: 0 auto;
    padding: 0 0 0 0;
    width: auto;
    list-style: none;
    height:39px;
    float: right;
    right: 0;
}

.desktop-header {
	display:none;
}
.mobile-header {
	display:block;
}

@media only screen and (min-width: 1160px) {



	/* ul.menu { width:960px; } */

	.desktop-header {
		display:block;
	}
	.mobile-header {
		display:none;
	}



}



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



	ul.menu { width:100%; }



}



.menu li { float:left; position: relative; margin:0 0 0 0; height:39px; padding:0 15px 0 15px;}

.-nav .menu li:last-of-type{padding-right:0px;}

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



	.menu li { padding:0 15px 0 15px; }



}







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



	.menu li { padding:0 5px 0 5px; }



}







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



	.menu li { padding:0 20px 0 20px; }



}



.menu li a { color:#004b8d; display: block; font-size:20px; line-height:26px; padding:0px 0px 0 0; margin:10px 0px 0px 0px; vertical-align: middle; text-decoration: none; text-align:left; }



.menu li a:hover { color:#2a7979; }







.banner_overlay img{



	width:304px;



	height:200px; 



	position:absolute



}







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



.banner_overlay img{



	width:100px;



	height:90px;



}







}



























/* Dropdown */



.menu ul {
	position: absolute;
    left: -9999px;
    list-style: none;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 999;
    margin: 0 0 0 0;
    padding: 20px 0;
    list-style: none;
    background: #9cdadb;
    border-radius: 5px;
}



.menu ul li { float: none; padding:0 0 10px 0; list-style:none; color:#ffffff; margin:0 0 0 0px; background-image:none; }



.menu ul a { white-space: nowrap; margin:0 0 0 0; font-size:16px; list-style:disc; text-align:left; color:#FFF; }



.menu ul a:hover { color:#000; text-decoration:none!IMPORTANT; }



.menu li:hover ul { left: 4px; opacity: 1; }







/* Persistant Hover State */



.menu li:hover a {  }



.menu li:hover ul a { }



.menu li:hover ul li a:hover { text-decoration:underline; }



.menu li:nth-child(1) { background-image:none; }



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



	.menu li:nth-child(1){ padding:0 24px 0 0; }



}



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



	.menu li:nth-child(1){ padding:0 0 0 0; }



}



.menu ul li:nth-child(1) { background-image:none; }







/* Active */



li.current_page_item a { color:#9cdadb; border-bottom:solid 2px; padding-bottom:5px;}



li.current-menu-parent a { color:#9cdadb; }



li.current-page-ancestor a { color:#9cdadb; }



.sub-menu li.current_page_item a { color:#9cdada;}



.sub-menu li a { color:#004b8d!IMPORTANT; }



.sub-menu li a:hover { color:#ffffff!IMPORTANT; }



.sub-menu li.current-menu-item  a { color:#2a7979!IMPORTANT; }







/* Mobile Menu */



@media screen and (min-width: 768px) {


.learn-more .right {
	display:block !important;
}
nav#mobile { display:none; }		



}



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



#nav#full { display: none }



nav#mobile { background-color: #ceeaea; display: block; }







/* Top black bar that holds the toggle button */



nav#mobile .toggle-bar { line-height:56px; height:56px; }







/* Toggle button #2 ("Navicon")	*/



nav#mobile .navicon { float:right; height:6px; width:34px; margin:15px; border-top:15px double #fff; border-bottom: 5px solid #fff; font-size: 0; }







/* The dropdown menu */



nav#mobile ul li { clear:both; list-style: none; }



nav#mobile ul li a { display:block; }



.nav-menu { background: #fff; /* Old browsers */



/* IE9 SVG, needs conditional override of 'filter' to 'none' */



background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2M1Y2VkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYmRmZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);



background: -moz-linear-gradient(top,  #c5cedb 0%, #dbdfe5 100%); /* FF3.6+ */



background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c5cedb), color-stop(100%,#dbdfe5)); /* Chrome,Safari4+ */



background: -webkit-linear-gradient(top,  #c5cedb 0%,#dbdfe5 100%); /* Chrome10+,Safari5.1+ */



background: -o-linear-gradient(top,  #c5cedb 0%,#dbdfe5 100%); /* Opera 11.10+ */



background: -ms-linear-gradient(top,  #c5cedb 0%,#dbdfe5 100%); /* IE10+ */



background: linear-gradient(to bottom,  #c5cedb 0%,#dbdfe5 100%); /* W3C */



filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5cedb', endColorstr='#dbdfe5',GradientType=0 ); /* IE6-8 */ }



.nav-menu { padding:15px 30px 15px 13px; margin:0 0 0 0; }



nav#mobile ul ul { margin:0 0 0 0; padding:0 0 0 0; }



nav#mobile ul ul li { margint:0 0 0 0;  }



nav#mobile ul ul a { color:#00538a!IMPORTANT; }



nav#mobile ul ul a:before {}



nav#mobile .sub-menu li.current-menu-item a { color: #000; }



.sub-menu  { margin: 0 0 0 17px!IMPORTANT; }



}



/* Content */ 

#content { width:100%; padding:0px 0px 163px 0px; position: relative;z-index: 1;}

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

	#content { min-width:100%; }

}



/* Page */

.content-top { float:left; position:relative; width:100%; border-bottom-width:5px;background: #ceeaea; /*height: 500px;*/overflow:hidden; /* Old browsers */

}

.home .content-bottom{margin-top:30px;}
.content-bottom { float:left; position:relative; width:100%; height:100%; margin-top:50px;}

.content-bottom-inner { height:100%; }



/* Homepage */

.slideshow-main { float:right; width:422px; height:100%; overflow:hidden; }

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

	.slideshow-main { width:653px; }

}

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

	.slideshow-main { width:100%; height:350px; }

}

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

	.slideshow-main { height:175px; }

}

.slideshow-main div { width:722px; height:100%; background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; }

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

	.slideshow-main div { width:653px; }

}

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

	.slideshow-main div { width:100%; height:350px; }

}

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

	.slideshow-main div { height:175px; }

}

.slideshow-small div { position:relative; float:left; width:376px; height:195px;  background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; }

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

	.slideshow-small div { width:307px; }

}

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

	.slideshow-small div { display:none; }

}



/* Blue Pane */

.content-top .blue-pane{width:545px;padding-top:80px;}

.content-top .inner{height: 100%; padding:0;}

.content-top .blue-pane{width: 40%;padding-right: 40px;padding-top: 70px;}

.blue-pane { float:left; width:376px; height:390px; background-color:#ceeaea; }

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

	/* .blue-pane { width:307px !important; } */
	.content-top .blue-pane{width:545px;padding-top:0px;}

}

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

	.blue-pane { width:100%; height:100%; }

}

.blue-pane .inner { width:auto; padding:30px 30px 30px 30px; }

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

	.blue-pane .inner { padding:20px 0px 20px 0px; }

}

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

	.blue-pane ul { float:left; width:50%; margin:0 0 15px 0; }

}

.blue-pane li { color:#004b8d; font-size:16px; line-height:18px; padding:0 0 7px 0; margin:0 0 0 17px; }

.blue-pane li span { display:block; }



/* Boxes */

.block { margin:30px 0 0 0; position:relative; }

.green-box{
	background-color:#ceeaea;
	border-radius:5px;
}

#contact-form,
.box {
	position:relative;
	float:left;
	color:#fff;
	width:100%;
	-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}

.box.no-shadow{
	-webkit-box-shadow: none!important;
-moz-box-shadow:none!important;
box-shadow:none!important;
}

.box .inner { width:auto; padding:30px 25px 30px 30px; height:auto; }





/* Introduction */



.introduction { width:100%; /*height:480px;*/ margin:0; }

.home .introduction{margin-top:40px;margin:0 5%; width:90%; /*height:480px;*/ box-sizing: border-box;}
@media only screen and (min-width: 960px) {
	.home .introduction {
		float:left;
		width:60%;
		margin:0;
	}
	.wpto {
		float:left !important;
		width:35% !important;
		margin-right:0 !important;
	}
}

.introduction .inner { padding:30px 0px; background-color:transparent!important;}

.home .introduction .inner { padding:30px 0px;}

.sub-intro .inner {

	padding-top: 14px ;

}



.button-charity {

	display: block;

	height: 142px;

	background-color: #2a7979;

	color: #FFF;

	text-align: center;

}



.button-charity span {

	width: 100%;

	clear: both;

	display: inline-block;

}



.charity-title {

	padding: 14px 0 10px 0;

    font-size: 25px;

}

.charity-date {

	 font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

}

.charity-more {

	color: #ceeaea;

	padding-top: 14px;

    font-size: 20px;

}

.button-charity:hover {

	background-color: #ceeaea;

}

.button-charity:hover .charity-more {

	color: #2a7979;

}

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



	/* .introduction { width:465px; height:380px; } */

	.button-charity {

		height: 126px;

	}

	.charity-title,

	.charity-more {

		padding-top: 8px;

	}

}



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



	.introduction { width:100%; height:100%; }



}



.introduction h2 { margin:-5px 0 0 0; }



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



	/* .introduction h2 { font-size:25px; line-height:28px; } */



	/* .introduction h4 { font-size:16px; line-height:20px; } */



	/* .introduction p { font-size:11px; line-height:14px; } */



}



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



	/* .introduction h2 { font-size:25px; line-height:28px; }



	.introduction h4 { font-size:16px; line-height:20px; }



	.introduction p { font-size:14px; line-height:18px; } */



}



.introduction .link-button { position:absolute; bottom:30px; left:30px; }







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



	.introduction .link-button { position:absolute; bottom:10px; left:30px; }



}







/* Video Box */



.video-box { width:534px; margin:30px 0 0 30px; }



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



	.video-box { width:465px; }



}



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



	.video-box { width:100%; height:auto; margin:30px 0 0 0; }



}







.mobile { display:none; }







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



	.full { display:none; }



	.mobile { display:block; }



}







@media only screen 



and (min-device-width : 768px) 



and (max-device-width : 1024px) 



and (orientation : landscape) {



	.full { display:none; }



	.mobile { display:block; }



}







 /* Video Previews */



.video-preview { position:absolute; width:100%; height:101%; background-image:url(/wp-content/themes/abbeyfieldweyvalley/../../uploads/2020/07/2014_068.jpg); background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; z-index:999; cursor:pointer; }



.play-button {
	position: absolute;
    width: 100px;
    height: 100px;
    z-index: 9999;
    cursor: pointer;
    opacity: 0.8;
    background-image: url(/wp-content/themes/abbeyfieldweyvalley/../../uploads/2020/07/play.svg);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
	transition:ease opacity 1s;
}

.vid-overlay{width:100%;height:100%;position:absolute;top:0;left:0;background-color:rgba(42,121,121,0.6);z-index:1000;}

.play-button:hover { transition:ease opacity 1s;opacity:1.0; }
.video-play { position: relative; padding-bottom: 60%; padding-top:0px; height: 0; overflow: hidden; margin:0 0 0 0; } 
.video-play iframe, .video-play object, .video-play embed { position:absolute;  width:100%; height:100%; }


@media screen and (-webkit-min-device-pixel-ratio:0) { 



	/* .video-play { padding-top:30px; margin:-30px 0 0 0; }  */



}







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



	.video-preview {height:102%;}



}





/* Tabs - jQuery UI Resets */

.ui-tabs { padding:0 0 0 0; float:left; }

.ui-tabs .ui-tabs-nav { margin:0; padding:0 0 0 0; }

.ui-widget-content { border:none; background:none; }

.ui-widget-header { border:none; background: none; font-weight:normal; }

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; }

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border:0px solid #aaaaaa; background:none; font-weight: 300; color:#004b8d; outline: 0!IMPORTANT; }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border:0px; background:none; font-weight: normal; outline:0!IMPORTANT; }

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { text-decoration:none; outline:0!IMPORTANT; }

.ui-tabs .ui-tabs-panel { margin:0 0 0 0; padding:0 0 0 0; background:none; }

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

.ui-tabs .ui-tabs-panel { display:block!IMPORTANT; }

}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor { float:left; padding:0 0 0 0; text-decoration: none; width:100%; }

.ui-tabs .ui-tabs-nav li { margin: 0; width:20%; text-align:center!IMPORTANT; }

.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 0px; }



/* Tabs */

.ui-widget {
font-size:12px;
font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;
}

.ui-tabs { background-color:#ffffff; /*width:722px;*/ width:100%; min-height:356px; }

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

.ui-tabs .ui-tabs-nav  { display:none; }

}

.ui-state-active { background-color:#ffffff!IMPORTANT; }

.ui-tabs .ui-tabs-nav .ui-tabs-anchor { padding:15px 0 15px 0; font-size:16px; text-align:center!IMPORTANT; color:#1B3E6F; }

.ui-tabs .ui-tabs-nav .ui-tabs-anchor:hover { background-color:#ffffff; }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { background-color:#ffffff; }

.tabbed .inner { width:auto; padding:0 30px 0 30px; }

.tabbed .left h2 { font-size:26px; color:#1B3E6F; margin:0 0 5px 0; padding:0 0 0 0; }

.tabbed h3 { margin:0 0 0 0; padding:0 0 0 0; }

.tabbed p span { display:block; }

.tabbed .right p a { text-decoration:none; }

.tabbed .right p a:hover { text-decoration:none; }

.tabbed .left { position:relative; float:left; width:47%; }

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

	.tabbed .left { width:42%; }

}

.tabbed .left p:last-of-type { padding:0 0 15px 0; }

.tabbed .right { position:relative; float:right; width:47%; }

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

	.tabbed .right { width:52%; }

}

.tabbed .right .image { width:100%; height:177px; background-color:#CCC; background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; }

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

	.tabbed .right .image { height:350px; }

}

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

	.tabbed .right .image { height:177px; }

}

.tabbed strong { color:#1C386A; }



/* Sub Tabs */

.sub_tabbed ul li { background-color:#1C386A!IMPORTANT; color:#fff!IMPORTANT; }

.sub_tabbed ul li a { color:#fff!IMPORTANT; }



.sub_tabbed ul li:hover { background-color:#2a7979!IMPORTANT; color:#1C386A!IMPORTANT; }



.sub_tabbed .ui-tabs-anchor:hover {

    background-color:#2a7979!IMPORTANT; color:#1C386A!IMPORTANT;

}



.sub_tabbed ul li a:hover { color:#1C386A!IMPORTANT; }

 

.sub_tabbed .ui-tabs-active { background-color:#2a7979!IMPORTANT; color:#1C386A!IMPORTANT; }



.sub_tabbed  .ui-widget-header {

    background-color:#ffffff;

}

/* Facebook */

.facebook .inner { padding: 30px 25px 30px 30px; height: auto; margin: 0 auto; width: 156px; }

.facebook { margin:0 0 0 0; }

.facebook-button { width:156px; height:40px; margin:0 0 0 0; }



/* Testimonial Box */



.testimonial-box {
	margin: 80px 0;
    min-height: auto;
    border-radius: 5px;
    width: 100%;
    position: relative;
    height: auto;
    float: left;
    padding: 30px 0;
}

.testimonial-box .inner {
	padding: 30px;
    background: #fff;
    width: 70%;
    float: none;
-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}

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

	#homepage .testimonial-box { min-height:286px; }

}

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

	#homepage .testimonial-box { height:100%; min-height:100%; }

}

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

	.testimonial-box { height:100%; min-height:100%; }

}

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

	#page .testimonial-box, #testimonials .testimonial-box { margin:30px 0 30px 0; }

}

.testimonial-box p { }

.testimonial-excerpt { font-size:18px; line-height:26px; color:#1C386A; padding:0 0 0 0; margin:0 0 0 0; }

.testimonial-source { font-size:15px; line-height:26px; text-align:right;}

.qoute-mark-top { width:65px; position:absolute; top:-25px; left:15px; }

.testimonial-box .link-button { position:absolute; bottom:30px; left:30px; }

.bottom-quote{
	bottom: -25px;
    position: absolute;
    right: 15px;
	transform:rotate(180deg)
}

/* Care Quality Commission */

.cqc-bottom{
	width:100%;
	float:left;
	margin-bottom:60px;
}

#homepage .care-quality-commission { width:100%; margin:0 5% 30px 0;background:#fff; }

#homepage .care-quality-commission .left { max-height:140px;float: left; width: 30%; padding: 0 0 15px 0; margin:0 5% 0 0; }

#homepage .care-quality-commission .right{ float:right; width:65%; padding:0 0 15px 0; margin:0 0 0 0; }

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

#homepage .care-quality-commission .left { float:none;  width:212px; padding: 0 0 15px 0; margin:0 auto 0 auto; }

#homepage .care-quality-commission .right{ float:left; width:100%; padding:0 0 15px 0; margin:0 0 0 0; }

}

#homepage .care-quality-commission p {
	font-size:20px;
	line-height:26px;
	margin:0 0 0 0;
	border-radius:5px;
	padding:0px;
	text-decoration:none;
	color:#004b8d;
	width:auto;
	float:left;
}

.button-border,
#homepage .care-quality-commission p a {
	color:#2a7979;
	border-radius:5px;
	border:solid 2px #2a7979;
	text-decoration:none;
	font-weight:normal;
	transition:ease all 0.2s;
	padding:10px 15px;
	background:transparent;
	font-size:14px;
	

}

.button-border:hover,
#homepage .care-quality-commission p a:hover {
	color:#fff;
	background-color:#2a7979;
	transition:ease all 0.2s;
}


.button-solid{
	color:#fff;
	border-radius:5px;
	border:solid 2px #2a7979;
	text-decoration:none;
	font-weight:normal;
	transition:ease all 0.2s;
	padding:10px 40px;
	background:#2a7979;
	

}

.content-top .button-solid a{
	color:#fff;
}

.content-top .button-solid:hover a{
	color:#2a7979;
}

#our-homes .content-top .button-solid a{
	color:#fff;
}

#our-homes .content-top .button-solid:hover a{
	color:#2a7979;
}

.button-solid:hover {
	color:#2a7979;
	background-color:#fff;
	transition:ease all 0.2s;
}

.button-border,.button-solid{float:left;margin-top:30px;margin-right:0px;padding:10px 40px;}

.box.testimonial-box .button-border,
.box.testimonial-box .button-solid{
	margin-left:30px;
}
/* General Text Styles */


article .content-top h1{font-size:52px!important;margin:20px 0;line-height:60px;}
article h1 { font-size:48px; line-height:52px; color:#004b8d; font-weight:500; margin:0 0 0 0; }

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

	article h1 { font-size:28px; line-height:32px; }
	article .content-top h1{font-size:32px!important;margin:20px 0;line-height:40px;}
	

}
@media only screen and (min-width: 1160px) {

	.button-border,.button-solid{margin-right:30px;}

}

article h2 { font-size:32px; color:#004b8d; font-weight:500; margin:0 0 0 0; }

article h3 { font-size:24px; line-height:26px; color:#004b8d; font-weight:500; margin:18px 0 18px 0; }

article h4 { font-size:18px; line-height:22px; color:#004b8d; font-weight:normal; margin:10px 0 10px 0; }

article p { font-weight:300;font-size:18px; line-height:28px; color:#004b8d; margin:12px 0 12px 0; }

article p a { color:#004b8d; }

article p a:hover { color:#004b8d; }



/* Page */

#page { }

.left p { margin:15px 0 15px 0; }

.left p:last-of-type { margin:15px 0 0 0; }

.inner { position:relative; }

.left { margin:30px 0 30px 0; position:relative; float:left; width:692px; }

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

	.left { width:100%; }
	.content-bottom { padding: 0 5px;    box-sizing: border-box; }
	.content-top {padding-bottom:50px; padding-top:30px;height:100%;}
	/* .slideshow-main {display:none;} */
	.slideshow-main {
		height:300px !important; width:100% !important;float:none !important;
		right:0 !important;
		border-top-left-radius: 0 0 !important;
		margin-bottom:30px;
	}
	.slideshow-main div{
		border-top-left-radius: 0 0 !important;
		border-bottom-left-radius: 100% 25% !important;
		border-bottom-right-radius: 100% 25% !important;
		width:100%;
	}
	.content-top .blue-pane {height:auto; width:100% !important;padding-left:30px;padding-right:30px;text-align:center;box-sizing: border-box;}
	.content-top .blue-pane a {margin:0 auto;display: inline-block;}
	.content-top .blue-pane h2 {width:100% !important;text-align:center;;}
	.center-on-mobile {margin:0 auto;text-align:center;display:block;width:100%;box-sizing: border-box;}
	.center-on-mobile a {margin:0 auto;text-align:center;display:inline-block; width:auto;}

}
@media only screen and (min-width: 1160px) {
	.content-top {height:500px;}
}

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

	.left { width:100%; }

}

.left h2 { font-size:20px; line-height:22px; color:#2a7979; margin:0 0 5px 0; }

.right { margin:5%; width:90%; position:relative; float:left; box-sizing: border-box; }

@media only screen and (min-width: 1160px) {

	.page-template-testimonials .right, .page-template-our-homes .right, .page-template-default .right, .page-template-template-price-list  .right { width:33%;margin:25px 0 0 30px; }

	.page-template-testimonials .right {
		margin-top:60px;
	}

}

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

	.right { width:100%; margin:0 0 0 0; }

}

.left p a { color:#2a7979; text-decoration:none; }

.left p a:hover { color:#2a7979; }



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

	#homepage .left { margin: 0 0 30px 0; width: 100%;  }

	.ui-tabs .ui-tabs-panel { padding:30px 0 0 0; border-top-width: 30px; border-top-style: solid; border-top-color: #FFF; }

}

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

	#homepage .right { margin:0 0 30px 0; width:100%; }

}



.header { position:absolute; /*top:260px;*/ bottom:30px; left:0px; height:auto; background-image:url(images/backgrounds/header-bg.png); background-repeat:repeat; }

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

	.header { }

}

.header h1 { font-size:40px; line-height:42px; font-weight:normal; padding:15px 30px 15px 30px; }

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

	.header h1 { font-size:30px; line-height:34px; padding:10px 30px 10px 30px; }

}

.header span { display:block; }



#page .pullout {
	margin:60px 0 0 0;
	box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
	background:#fff;
}

#page .pullout p:first-of-type { margin:10px 0 15px 0; }

#page .pullout .inner { padding:0 0 15px 0; }

#page .pullout .left {
	width:100%;
	height:300px;
	margin:0 0 0 0;
	background-repeat:no-repeat;
	background-position:center center;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	background-color:#fff;
	border-bottom-right-radius: 250% 120%;
    border-bottom-left-radius: 250% 120%;
	width:120%;
	position:relative;
	left:-10%;
}

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

	#page .pullout .left { width:100%; height:250px; }

}

#page .pullout .right { width:95%; margin:0; padding:20px; }

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

	#page .pullout .right { width:350px; margin:0 0 0 20px; }

}

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

	#page .pullout .right { margin:20px 0 0 0; width:100%; }

}

#page .pullout h3 { padding:0 0 0 0; margin:0 0 0 0; }



/* Our Homes */

#our-homes .tabbed { margin:0 0 0 0; }

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

	#our-homes .tabbed { margin:0 0 0 0; }

}

#our-homes .tabbed .left .image { width:100%; height:400px; background-color:#CCC; background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; }

#our-homes .ui-tabs .ui-tabs-nav li { margin: 0; width:20%; text-align:center!IMPORTANT; }

#our-homes .tabbed .right { margin:0 0 0 0; padding:0 0 0 0; }

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

	#our-homes .tabbed .right { width:100%; }

}

#our-homes .tabbed .left { margin:0 0 0 0; padding:0 0 0 0; }

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

	#our-homes .tabbed .left { width:100%; }

}

#our-homes .tabbed .right p { margin:0 0 0 0; padding:0 0 0 0; font-size:18px; line-height:20px; }

#our-homes .tabbed h2 { margin:0 0 25px 0; font-size:24px; line-height:26px; color:#1B3E6F; }

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

	#our-homes .tabbed h2 { margin:0 0 10px 0; }

}

#our-homes .tabbed p { width:100%; clear:both; float:left; padding:0 0 12px 0; margin:0 0 0 0; }

#our-homes .tabbed p:last-of-type { }

#our-homes .tabbed .inner { padding:30px 30px 30px 30px; }

.ui-widget-header { background-color:#ffffff; }

#our-homes .tabbed .right .image { height:200px; }

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

	#our-homes .tabbed .right .image { height:350px; }

}

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

	#our-homes .tabbed .right .image{ height:175px; }

}

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

	#our-homes .ui-tabs .ui-tabs-panel { padding:0 0 0 0; }

}



/* Location */

#our-homes .location { margin:30px 0 0 0; }

#our-homes .location h2 { font-size:24px; color:#1B3E6F; }

#our-homes .location p { margin:15px 0 15px 0; line-height:20px; }

#our-homes .location p:first-of-type{font-weight:bold;}

#our-homes .location iframe {height:300px}

#our-homes .testimonial-box .inner{width:auto;margin:0 30px;}

#our-homes .testimonial-box{padding:30px 0;}

#our-homes .content-bottom{margin-top:0;}
#our-homes .slider{margin-bottom:0;}

#our-homes #carousel{margin-bottom:0;}

#our-homes .testimonial-box .button-border{margin-left:30px;}

#our-homes .slideshow-main{width:50%;}




/* Contact Details */

.contact-details { margin:0 0 0 0; }

.contact-details h2 { font-size: 21px; color: #2a7979; margin: 0 0 15px 0; padding: 0 0 15px 0; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #c6c6c6; }

.contact-details p { color:#1B3E6F; }

.contact-details p span { display:block; }

.contact-details p a { color:#1B3E6F; }

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

	.contact-details p a { font-size:11px; }

}

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

	.contact-details p a { font-size:14px; }

}

.contact-details p a:hover { color:#f37032; }

.contact-details p:last-of-type { padding:0 0 0 0; margin:0 0 0 0; }



/* Care Quality Commission */

.care-quality-commission { margin:30px 0 0 0; }

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

	.care-quality-commission { margin:30px 0 30px 0; }

}

.care-quality-commission img { margin:0 0 10px 0; padding:0 0 0 0; }

.care-quality-commission p:last-of-type { padding:0 0 0 0; margin:0 0 0 0; }

.care-quality-commission p a { color:#2a7979; }



/* Galleries */

/* Overview*/

#galleries { }

#galleries .left { margin:30px 30px 30px 0; position: relative; float: left; width: 376px; }

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

	#galleries .left { width:307px; }

}

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

	#galleries .left { width:100%; }

}

#galleries .content-top .left {
    margin: 130px 30px 30px 0;
    position: relative;
    float: left;
    width: 50%;
}
#galleries .content-top .left h1{border:none;}
#galleries .left h1 { font-size: 45px; line-height: 48px; color: #004b8d; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #1B3E6F; margin:0 0 16px 0; padding:0 0 12px 0; }

#galleries .left h2 { font-size:20px; line-height:24px; color:#004b8d; }

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

	#galleries .left h2 { font-size:18px; line-height:22px; }

}

#galleries .left .cta { font-size: 18px; line-height: 22px; font-weight:bold; color:#ceeaea; position:relative; padding:0 0 0 0; }

#galleries .left .cta span { display:block; }

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

	#galleries .left .cta span { display:inline; }

}

#galleries .left .cta img { float:right; width:18px; height:35px; position:absolute; top:4px; right:75px; }

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

	#galleries .left .cta img { width:19px; height:36px; top:4px; right:0px; }

}

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

	#galleries .left .cta img { display:none;  }

}

#galleries .right { margin:30px 0 30px 0; position:relative; float:right; width:692px; }

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

	#galleries .right { width:623px; }

}

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

	#galleries .right{ width:100%; margin:0 0 0 0; }

}

#galleries .right .inner { padding:30px 0 17px 30px; width:100%;max-width:1060px;}

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

	#galleries .right .inner { padding:30px 0 30px 0; }

}

#galleries .right ul { list-style:none; margin:0 0 0 0; padding:0 0 0 0; }

#galleries .right li { float:left; width:250px; margin:0 13px 13px 0; padding:0 0 0 0; background-color:#fff; min-height:180px; }

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

#galleries .right li { float:left; width:179px; margin:0 13px 13px 0; padding:0 0 0 0; background-color:#1B3E6F; }

}

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

#galleries .right li { width:100%; margin:0 13px 13px 0; padding:0 0 0 0; }

}

#galleries .right li .thumbnail-image { width:100%; height:150px; background-repeat:no-repeat; background-position:center center; -webkit-background-size:cover;  -moz-background-size:cover;  -o-background-size:cover; background-size:cover; float:left; }

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

	#galleries .right li .thumbnail-image { height:275px; }

}

#galleries .right li h3 { background-color:white; float:left; margin:0 0 0 0; padding:10px 30px 10px 10px; font-size:16px; line-height:20px; color:#1B3E6F;height:60px;overflow:hidden; }

#galleries .right li:hover h3{color:#fff;background-color:#1B3E6F;transition:ease all 0.4s;}

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

#galleries .right li h3 { padding:10px 30px 10px 10px; }

}

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

#galleries .right li h3 { padding:10px 10px 10px 10px; font-size:25px; line-height:28px; }

}

#galleries .right li a { display:block; }

#galleries .right li { transition:ease all 0.4s; border-radius:5px;}

#galleries .right li:hover { background-color:#1B3E6F; transition:ease all 0.4s;}

#galleries .link-button { margin:20px 0 30px 0; }



/* Indivdual Gallery */

#slider { min-height:400px; background-image:url(images/gallery-loading.gif); background-repeat:no-repeat; background-position:center center; }

#carousel { min-height:130px; /*background-image:url(images/gallery-loading.gif); background-repeat:no-repeat; background-position:center center;*/ cursor:pointer; }

#carousel li {margin-right: 5px;}

#carousel img {display: block; opacity: .5; cursor: pointer;}

#carousel img:hover {opacity: 1;}

#carousel .flex-active-slide img {opacity: 1; cursor: default;}

.slider { margin:30px 0 30px 0; position:relative; float:right; width:692px; }

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

	.slider { width:623px; }

}

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

	.slider { width:100%; margin:0 0 30px 0; }

	#slider { min-height:100px; }

}

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

	/*.flex-direction-nav a { display:none; }*/

}

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

	#carousel { display:none;}

}

#slider-mobile { display:none; }

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

	#slider-mobile { display:block;}

	.slider-standard { display:none; }

}

.gallery-title { margin:0 0 30px 30px!IMPORTANT; }

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

	.gallery-title { margin:30px 0 30px 30px!IMPORTANT; }

}



/* Testimonials */

#testimonials .tabbed { margin:30px 0 0 0; }

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

	#testimonials .tabbed { margin:0 0 0 0; }

}

#testimonials .ui-tabs .ui-tabs-nav li { margin: 0; width:33.333333%; text-align:center!IMPORTANT; }

#testimonials .tabbed .inner { padding: 0px 0px 30px 0px; }

#testimonials .tabbed .inner h2 { font-size:26px; color:#1B3E6F; margin:0 0 30px 0; padding:0 0 0 0; display:none; }

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

	#testimonials .tabbed .inner h2 { display:block; }

}

#testimonials .tabbed .testimonial-excerpt {
	background-color: #fff;
    padding: 20px;
	max-width:100%;
    left: 0;
    margin: 50px 0;
	-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
		box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
		position:relative;
		text-align:center;
}



/* Contact Form */

#contact-form {
	width: 100%;
    margin: 15px 0 15px 0;
    position: relative;
    float: left;
    border-radius: 5px;
    padding: 40px 0;
}

#contact-form label {
	font-weight: 300;
    font-style: normal;
    float: left;
    font-size: 16px;
    line-height: 20px;
    padding: 20px;
    color: #004b8d;
	width:15%;
}

.query {
	float: left;
    width: 68%;
    background-color: #ceeaea;
    border: none;
    padding: 20px;
    margin: 5px 0 10px 0;
    border-radius: 5px;
}

#contact-form input {
    float: left;
    width: 68%;
    background-color: #ceeaea;
    border: none;
    padding: 20px;
    margin: 5px 0 10px 0;
    border-radius: 5px;
}

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

#contact-form input { float:left!IMPORTANT;  }

}

.contact-form-half { float:left; width:50%; }

.contact-form-full { float:left; width:100%; }

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

.query { float:left!IMPORTANT; }

}

.wpcf7-submit {
	background-color: #2a7979!IMPORTANT;
    width: 50%!important;
    border: none!important;
    text-align: center;
    float: none!important;
    margin: 0 auto!important;
    color: #fff!IMPORTANT;
    left: 25%!important;
    position: relative;
	transition:ease all 0.5s;
}

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

	.query {
			width: 60%;
	}
	
	#contact-form input {
			width: 60%;
	}	
.wpcf7-submit { width:60%; float:left!IMPORTANT; margin:0 0px 0 0px!IMPORTANT; }

}

.wpcf7-submit:hover { background-color:#ceeaea!IMPORTANT; cursor:pointer; color: #2a7979!IMPORTANT; border: 0px solid #2a7979!IMPORTANT; }

.wpcf7-mail-sent-ok { float:left; clear:both; background-color:#398f14; color:#333; width:555px; margin:0 0 0 0; }

.wpcf7-validation-errors, .wpcf7-response-output { float:left; position:absolute; margin:-999999px 0 0 0!IMPORTANT; clear:both; background-color:#F00; color:#fff; border: 1px solid #F00; width:100%; margin:0 0 0 0; }

.wpcf7-not-valid-tip { float:right; clear:both; }



div.wpcf7 img.ajax-loader { position:absolute; margin:0 0 0 -99999px; }



#contact-form .screen-reader-response { position:relative; float:left; color: #333!IMPORTANT; text-align:left!IMPORTANT; padding:15px 0 15px 0!IMPORTANT; z-index:90!IMPORTANT; width:100%!IMPORTANT; }

#contact-form .screen-reader-response ul { display:none; }

#contact-form { z-index:95!IMPORTANT; }



div.wpcf7 .screen-reader-response { position:relative!IMPORTANT;  overflow:hidden!IMPORTANT;  clip:rect(auto, auto, auto, auto)!IMPORTANT;  height:100%; width:100%!IMPORTANT; margin:0!IMPORTANT;

 padding:15px 0 15px 0!IMPORTANT; border: 0!IMPORTANT; }

 

.wpcf7-form-control-wrap { display:block!IMPORTANT; }



/* News */

.line { border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #9c9a9b; width:100%; margin:20px 0 20px 0; }

.meta { color:#999!IMPORTANT; margin:0px 0 0 0!IMPORTANT; padding:0 0 0 0; }

.news { border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #eb1c23; width:100%; padding:0 0 30px 0; margin:0 0 30px 0; }

.news h2 { margin:0 0 10px 0; padding:0 0 0 0; color:#eb1c23!IMPORTANT; font-size:30px; line-height:30px; }

.news h2 a { color:#eb1c23!IMPORTANT; text-decoration:none!IMPORTANT; }

.news h2 a:hover { color:#eb1c23!IMPORTANT; text-decoration:underline; }

.news h3 { margin:10px 0 10px 0!IMPORTANT; }



/* Link Button */

a div.link-button { text-align:center; color:#ffffff; text-decoration:none!IMPORTANT; font-size:16px; line-height:18px; background-color:#2a7979; padding:8px 10px 8px 10px; cursor:pointer; margin:4px 0 0 0; min-width:115px; float:left; z-index: 9999; }

a:hover div.link-button { background-color:#ceeaea!IMPORTANT; color:#2a7979; }



/* Footer */

#footer { color:#042e71; width:100%; height:auto; border-top-width:5px; border-top-style:solid; border-top-color:#2a7979; z-index:999; background-color: #ceeaea;float:left;padding-top:20px;}  

#footer p, #footer a {color:#042e71;}

/* Footer - Content */

.footer { position:relative; padding:15px 0 0 0; margin:0 auto 0 auto; /*width:1098px;*/color:#545454;font-family: futura-pt, sans-serif;font-weight: 500;font-style: normal;float:left;width:100%;}

.footer .col { width:33.333333%; float:left; }

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

	.footer .col { width:100%; }

}

.footer .col p { font-size:14px; line-height:26px; font-weight:300; padding:0 0 3px 0; margin:0 0 0 0; clear:both; }

.footer .col p a { color:#545454; text-decoration:underline; }

.footer .col p a:hover { text-decoration:none; }

.footer .col .left { float:left; width:50%; margin:0 0 10px; }

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

	.footer .col .left { width:55%; }

}

.footer .col .right { float:left; width:50%; margin:0 0 10px; }

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

	.footer .col .right { width:45%; }

}

.footer .col .right p { padding:5px 10px 0 10px; line-height:16px; }

.footer .col .inner { width:auto; padding:0 30px 0 0; }

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

	.footer .col .inner { width:auto; padding:0 30px 0 30px; }

}

.footer .col .padding { padding:0 30px 0 30px; }

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

	.footer .col .inner, .footer .col .padding { padding:0 30px 15px 30px; }

}

.footer .col .small-print p { font-size:14px; line-height:26px; padding:0 0 3px 0; color:#545454; }

.footer .col .inner p span { display:block; }

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

	.footer .col .inner p span { display:inline; }

}

.footer .col .inner .investor-in-people-gold { width:232px; height:53px; margin:13px auto 0 auto; }



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

	.footer .col .inner .investor-in-people-gold {  }

}

.border-right { background-image:url(images/backgrounds/1px-grey.gif); background-repeat:repeat-y; background-position:right top; }

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

	.footer .border-right { background-image:none; }

}



.footer .bottom { position:relative; padding:15px 0 15px 0; margin:15px auto 0 auto; width:1098px; float:left;}

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

	.footer .bottom { width:960px; }

}

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

	.footer .bottom { width:100%; }

}

.footer .bottom p { color:#7f7f7f; font-size:10px; }

.footer .bottom p a { color:#7f7f7f; }

.footer .bottom p a:hover { text-decoration:underline; }

.footer .bottom .left { float:left; width:50%; margin:0 0 0 0; }

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

	.footer .bottom .left { float:left; width:90%; margin:0 0 0 30px; }

}

.footer .bottom .right { float:right; width:50%; text-align:right; margin:0 0 0 0; }

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

	.footer .bottom .right { float:right; width:30%; text-align:right; margin:0 30px 0 0; }

}

#our-homes .ui-tabs .ui-tabs-nav {

	width:99.99% !important;

}

#our-homes .ui-tabs .ui-tabs-nav li{

	width:20% !important;

}

#our-homes .ui-tabs .ui-tabs-nav li:last-child{

	width:20% !important;	

}

.tab-list ul li {

  color: #2a7979;
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 0 17px;
  padding: 0 0 7px;
  font-weight: 300;
  font-style: normal;
  float: left;
  width: 100%;
  list-style:circle;

}

.blue-panel-inner h1{

	font-size:25px;

}

.blue-panel-inner h3{

	margin:10px 0px;}

.blue-panel-inner ul li{

	font-size:15px  !important;

}

@media (min-width: 320px) and (max-width: 767px){

.sample-menu01{

	width:100% !important;

	padding:0px !important;	

	border-right:none !important;	

}

.sample-menu02{

	width:100% !important;

	padding-left:0px !important;

	margin-top:10px !important;	

}

.sm-menu{

	margin:20px 0px !important;

}

}



.sample-menu01{

	width:100%;

	text-align:center;

	margin-bottom:25px;

	margin-top:35px;

}

.sample-menu02{

	width:100%;

	text-align:center;	

}

.sample-menu01 ul , .sample-menu02 ul {

    background: #fff none repeat scroll 0 0;

    box-shadow: 3px 2px 3px 2px #ccc;

    display: inline-block;

    list-style: outside none none;

    width: 300px;

	padding:25px 50px 30px 50px;

}



.sample-menu01 ul li h3, .sample-menu02 ul li h3{

	color: #1b3e6f;	

    font-size: 17px;

	line-height:18px;

	display:block;

	font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

	margin:10px 0px;

	background:url('images/arrow-border.png') no-repeat center 6px;

	padding-top:30px;

}

.sample-menu01 ul li, .sample-menu02 ul li{	

	color:#58595b;

	font-size: 14px;

	line-height:18px;	

	padding:5px 0px;

font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

	clear:both;

	color:#2a2a2a;

}

.sample-menu01 ul li h2, .sample-menu02 ul li h2{

	font-size: 24px !important;

    margin-bottom: 0px !important;

	line-height:normal !important;

	font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

	font-weight:bold;

		

	

}

.sample-menu01 ul li P, .sample-menu02 ul li P{

	padding:0px !important;

	color:#2a2a2a;

	

}

.sample-menu01 ul li P:first-child, .sample-menu02 ul li P:first-child{

	padding-bottom:15px !important;

	

}

.sample-menu01 ul li:last-child, .sample-menu02 ul li:last-child{

	border-bottom:none;

}

@media (min-width: 320px) and (max-width: 479px){

.sample-menu01 ul , .sample-menu02 ul {

    width: auto;

}



}

.tab-list table tr td{

	border-bottom:1px solid #58595b;

	color:#58595b;

	font-size: 14px;

	line-height:18px;	

	padding:5px 0px;

	font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

}

.tab-list table tr td > h2{

	margin:10px 0px !important;

	

	

}

.introduction-c{

	height:auto !important;

}



.sample-menu tr td{

	color:#58595b;

	font-size: 14px;

	line-height:18px;	

	padding:5px 0px;

	font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;

}



.introduction-c .inner h2 { font-size:25px !important; line-height:28px; color:#1C386A !important; margin:0 0 5px 0; padding:0 0 0 0 ; }

.introduction-c .inner { padding: 30px 25px 30px 30px !important; }

.topnoone { margin-top:0 !important;}

.bottommargin { margin-bottom:30px !important;}

.margin-bottom{

	margin-bottom:10px;

}



/* Add Another Level to the Menu */

.menu ul ul { 

	opacity:0!IMPORTANT; 

	left: -99999px!IMPORTANT;

	top: 0px!IMPORTANT;

	background-image:none!IMPORTANT;

	background-color:#ceeaea!IMPORTANT;

	margin: 0px 0 0 0px!IMPORTANT;

	padding: 0!IMPORTANT;

}



.menu ul li:hover ul {

	left: 100%!IMPORTANT;

	opacity: 1!IMPORTANT;

}



.menu ul li {

	height:auto!IMPORTANT;

	padding: 0!IMPORTANT;

}



.menu ul li a {
	height:auto!IMPORTANT;
	padding: 5px 40px 5px 40px!IMPORTANT;
	font-size:20px;
}



.menu ul li.menu-item-has-children a {

	height:auto!IMPORTANT;
	font-size:20px;
	line-height:28px;
	padding: 5px 40px 5px 30px!IMPORTANT;

}



.menu ul li a:hover {

	background-color:#2a7979;

}



.menu ul ul li a:hover {

	background-color:#2a7979;
	color:#fff!important;

}



.menu ul li.menu-item-has-children a:after {

	content:'';
	position:absolute;
	right:14px;
	top:11px;
	width:10px;
	height:13px;
	background-image:url(images/white-arrow-v2.png);
	background-repeat:no-repeat;

}



.menu ul ul li a:after {

	content:'';

	position:absolute;

	right:20px;

	top:8px;

	width:10px;

	height:13px;

	background-image:url(images/white-arrow-v2.png);	

	display:none;

}



/* Social Feed */



.social-feed {
	height: 589px;
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
}



.social-feed h2 { padding: 15px 20px 15px 20px; font-size: 16px; color: #1B3E6F; background-color:#2a7979; }



.social-feed .inner { padding:20px 20px 20px 20px; }







#cff.cff-thumb-layout .cff-photo, #cff.cff-thumb-layout .cff-iframe-wrap, #cff.cff-thumb-layout .cff-html5-video, #cff.cff-thumb-layout .cff-vidLink {



    width: 30%!IMPORTANT;



}







#cff.cff-thumb-layout .cff-text-wrapper {



    float: right;



    width: 67%!IMPORTANT;



}







.cff-text { font-size:12px; line-height:16px; padding:0 0 0 0; margin:0 0 0 0; }







.cff-story {



    padding: 0 0 0 0;



    margin: 10px 0 -10px 0;



    float: left;



    width: 100%;



}







.cff-post-desc { float:left!IMPORTANT; width:100%!IMPORTANT; margin:0 0 20px 0!IMPORTANT; }







#cff .cff-photo {



    max-width: 50%!IMPORTANT;



    float:none!IMPORTANT;



    display: block;



    position: relative;



    margin: 0 auto 20px auto!IMPORTANT;



}







#cff .cff-photo-hover { display:none!IMPORTANT; }







#cff .cff-photo:after { display:none!IMPORTANT; }







#cff p { margin:10px 0 10px 0!IMPORTANT; }







#cff .cff-album-icon { display:none!IMPORTANT; }







#cff .cff-author .cff-author-text * {



    float: left;



    clear: both;



    width: auto;



    margin: 0 0 0 50px !important;



    font-weight:normal!IMPORTANT;



    line-height: 1.2;



	font-size:16px!IMPORTANT;



	color: #1B3E6F;



	font-family: futura-pt, sans-serif;
font-weight: 500;
font-style: normal;



}







#cff .cff-author .cff-date {



    color: #2a7979!IMPORTANT;



    font-weight: normal;



    font-size: 12px;



    margin-top: 5px !important;



    margin-bottom: 0px !important;



}







img.alignright { float: right; margin: 0 0 20px 20px }



img.alignleft { float: left; margin: 0 20px 20px 0; }



img.aligncenter { display: block; margin-left: auto; margin-right: auto; }



.alignright { float: right; }



.alignleft { float: left; }



.aligncenter { display: block; margin-left: auto; margin-right: auto; }







.clear { float:left; width:100%; }



table.default {

  border: 1px solid #58595B;

  width: 100%;

  text-align: left;

  border-collapse: collapse;

}

table.default td, table.default th {

  border: 1px solid #AAAAAA;

  padding: 4px 3px;

}

table.default tbody td {

  font-size: 14px;

  color: #58595B;

}

table.default tr:nth-child(even) {

  background: #EBEBEB;

}

table.default thead {

  background: #2a7979;

  border-bottom: 0px solid #58595B;

}

table.default thead th {

  font-size: 15px;

  font-weight: bold;

  color: #FFFFFF;

  border-left: 1px solid #FFFFFF;

}

table.default thead th:first-child {

  border-left: none;

}



table.default tfoot td {

  font-size: 14px;

}

table.default tfoot .links {

  text-align: right;

}

table.default tfoot .links a{

  display: inline-block;

  background: #1C6EA4;

  color: #FFFFFF;

  padding: 2px 8px;

  border-radius: 5px;

}



#page .content-bottom ul { 

 margin:0 20px;

}

.not-robot{

margin: 5px 0 10px 0;

    float: right;

    width: 77%;

}

/* Homepage - Strapline */        
.strapline {
    background-color: #224f77;
    margin: 0 0 30px 0;

}

.strapline .inner {

}

.strapline h3 {
    font-size: 28px;
    line-height: 32px;
    color: #ffffff;
    padding: 0 0 0 0;
    margin: 0 0 0 0;               
}

.strapline .smaller {
    font-size: 12px;                
}

/* Raffle prizes page */
.page-id-9269 .slideshow-small div {
    height: 390px;
}
.page-id-9269 .alignnone {
    height: auto !important;
}
.page-id-9269 .left p {
    clear: both;
}
.page-id-9269 img.alignright {
    margin-bottom: 10px;
}
.page-id-9269 h2 strong {
    padding: 35px 0 10px;
    display: inline-block;
	font-weight: normal;
}
.recaptcha-block{
	margin-bottom: 20px;
	margin-top: 15px;
}

@media all and (min-width: 769px) and (max-width: 1159px){
	.recaptcha-block{
		padding-left: 71px;
	}
}

@media only screen and (min-width: 1160px) {
	.recaptcha-block{
		padding-left: 90px;
	}
}

.slideshow-main{
	float: right;
    width: 510px;
    height: 500px;
    overflow: visible;
	right:-75px;
}

.page-id-9647 .slideshow-main {
    /* float: left;
    width: 722px;
    height: 150px; */
}

.investor-bottom{text-align:center;padding:20px 0;}
.footer .col.foot-text{width:65%;text-align:center!important;}
.footer .col.foot-stream{width:15%!important;position:absolute;right:0;bottom:50px;}
.footer .col.foot-logo{width:20%!important;overflow:hidden;}
.col.foot-logo .inner{
	max-width: 200px;
    position: relative;
    bottom: -30px;
}
.foot-stream{text-align:right;position:relative;}
.stream-inner{position:absolute;right:0;bottom:0px;width:100%;text-align:right;}
.stream-inner p{position: absolute;bottom: auto;right: 0;}
.top-social{float:left;margin-left:10px!important;cursor:pointer;}
.hide{display:none;}

#cff .cff-item{
	box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
	background:#fff;
}


#mobmenuright li a, #mobmenuright li a:visited, #mobmenuright .mobmenu-content h2, #mobmenuright .mobmenu-content h3, .mobmenu-left-panel .mobmenu-display-name{
	color:#ffffff!important;
		font-family: futura-pt, sans-serif!important;
font-weight: 500!important;
font-style: normal!important;
}
#mobmenuright {
	padding-left: 30px !important;
}

.mob-icon-up-open:before,
.mob-icon-down-open:before,
.mob-icon-cancel-1:before{
	color:#ffffff;
}



.mobmenu-content li > .sub-menu li {
    padding-left: 0!important;
}

.mobmenu-content li {
    padding-left: 50px!important;
}

#mobmenuright li a, #mobmenuright li a:visited, .show-nav-right .mob-menu-copyright, .show-nav-right .mob-expand-submenu i {
    color: #fff!important;
}

.mobmenu-content #mobmenuright>li>a:hover {
    background-color: #9cdada!important;
}

[class^="mob-icon-"]:before, [class*=" mob-icon-"]:before{
	margin-right:14px!important;
}

.mobmenu-right-panel li, .rightmbottom, .rightmtop{padding-right:0!important;}

.swnza_banner {
    padding: 10px 0!important;
    z-index: 10000!important;
}

.swnza_banner p#swnza_banner_text a{
	color:#ceeaea!important;
	transition: ease all .2s;
}

.swnza_banner p#swnza_banner_text a:hover{
	color:#fff!important;
}

.swnza_close_button {
    width: 30px!important;
    height: 20px!important;
	border: none!important;
}

.box.white{
	background:#fff;
	padding:40px;
	color: #004b8d;
}

.wpto{
	margin-bottom:80px;
	padding: 40px 0px 40px 30px!important;
}

.wpto ul{
	padding:20px;
}

.wpto ul li{
	margin-bottom:16px;
	font-size:18px;
	line-height:26px;
	font-weight:300;
}

#galleries .content-bottom{margin-top:0px;}
#galleries .content-bottom .right{float:left;width:100%;margin-top:0px;}
#galleries .content-bottom .right .box{background-color:#fff;box-shadow:none!important;}

#galleries .right li{
		-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}

#galleries .box.introduction {width:100%;background:transparent;float:left;}

#galleries .box.introduction .inner{width:100%;max-width:1060px;background:transparent;margin:0 auto;float:none;}

.home .sub-intro{display:none;}

.page-template-default article .content-top h1{
	float:left;
	margin-top:130px;
	width:45%;
}

/* .page-template-default .slideshow-main{width:55%;} */
.flush-left .inner{padding-left:0;}
#our-homes .box.white{padding:0;margin-bottom:30px;}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor,
#our-homes .tabbed .inner{
	-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}
#our-homes .tabbed p{color:#004b8d!important;font-weight:300;}
#our-homes .cqc-widget .cqc-container{background:none!important;}
#our-homes .cqc-widget{
	border-radius:5px!important;
	border:none!important;
	background:none!important;
	-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}

.single-galleries .content-bottom{
	margin-top:40px;
}

.slideshow-main{
	border-top-left-radius: 50% 250%;
    border-bottom-left-radius: 50% 250%;
	top:-10%!important;
	height:120%;
	width:55%;
}

#galleries .right li{overflow:hidden;}

#galleries .right li .thumbnail-image{
border-bottom-left-radius: 200% 90%;
    border-bottom-right-radius: 200% 90%;
    width: 120%;
    left: -10%;
    position: relative;
	background-position: 0 40%;
    background-repeat: no-repeat;
}

.page-template-template-price-list .box.white{width:auto;}

#galleries .flexslider{border:none!important;}

.location{border-radius:5px;}

element.style {
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
    cursor: text;
    color: #fff;
    background: #2a7979;
}

.testvid{
	width:100%;
	background:#ceeaea;
	float:left;
	position:relative;
	overflow:hidden;
	height:400px;
	margin-bottom:40px;
}

.testvid .box{
	-webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
	margin:0px;
}

.testvid .video-box {
    width: 61%;
    margin: 0;
    float: right;
	height:400px;
}
.testimonials-home{
	width:100%;
}

.full-width-row{
	width:100%;
	float:left;
}

.home .full-width-row{
	margin-bottom:10px;
}

.slideshow-main div{
		border-bottom-left-radius: 120% 250%;
	    border-top-left-radius: 120% 250%;
	height:100%!important;
}

h2.home-test-title{
	padding: 0 0 40px 0;
	text-align:center;
    width: 100%;
    font-size: 32px;
}

.learn-more{padding:20px!important;margin-bottom:30px;height:354px;}

.learn-more .left{width:40%;padding:20px;box-sizing: border-box;}

.learn-more h2{font-size: 32px; line-height:38px;color:#004b8d;}
.learn-more p{font-size: 20px; line-height:26px;color:#004b8d;}

.home-thirds {
		margin:0 0 40px 0;
    background: #fff;
    min-height: 300px;
	-webkit-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
	overflow:hidden;
	position:relative;
}

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

	.learn-more{padding:0px!important;}

	.home-thirds {
		width: 32%;
		float: left;
	
	}
	.testimonials-home {
		width:39%;
		float:left;
		height:400px;
	
	}
	h2.home-test-title{
		padding: 0 40px 30px;
			width: 60%;
			font-size: 32px;
			text-align:left;
	}
		.home-thirds:nth-of-type(3),
	.home-thirds:first-of-type{
		margin:40px 0;
	}
	
	.home-thirds:nth-of-type(2){
		margin:40px 2%;
	}
	.home-thirds:nth-of-type(3){float:right;}
	}

.home-thirds:nth-of-type(3),
.home-thirds:first-of-type{
	/* margin:40px 0; */
}

.home-thirds:nth-of-type(2){
	/* margin:40px 2%; */
}
.home-thirds:nth-of-type(3){float:right;}

.ht-image{
	width:130%;
	float:left;
	border-bottom-left-radius: 115% 78%;
	border-bottom-right-radius: 115% 78%;
	overflow:hidden;
	position:relative;
	left:-15%;
}

.ht-image-image{
	background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 200px;
}

.ht-text{
	width:85%;
	padding:20px;
	float:left;
	min-height:370px;
	position:relative;
}

.ht-text .button-border{
	bottom:20px;
	position:absolute;
}

.learn-more .right{
	width: 50%;
    height: 100%;
		float: right;
		display:none;
}

.learn-more .inner{padding:0;}

.learn-more .right{
	width: 50%;
    height: 100%;
    float: right;
    position: relative;
    margin: 0;
    padding: 0;
}

.learn-more{
	overflow:hidden;
	box-sizing: border-box;
}
.learn-more .home-cta-image{
    width: 360px;
    height: 400px;
    background-position: top;
    background-size: cover;
    position: absolute;
    background-repeat: no-repeat;
    top: -20px;
    right: 0;
	border-bottom-left-radius: 55% 280%;
	border-top-left-radius: 55% 280%;
}

.learn-more .left{
	/* padding: 0 0 0 40px; */
}

#cff.cff-fixed-height,
.cff-wrapper,
div#cff-load,
.social-feed .inner{height:100%!important;}

.content,
.set_item{border-bottom: 1px solid #ceeaea!important;}
.content-top .blue-pane .inner{padding-left:0!important;}

.introduction h2{font-size:36px;}
.content-top .blue-pane h2{font-size:25px;width:80%;}

#cff .cff-event-meta,
#cff .cff-post-links{
	float: left!important;
    clear: none!important;
    margin: 12px 0!important;
    font-size: 12px!important;
}

#cff .cff-meta-wrap {
    float: left!important;
    width: 50%!important;
    margin: 0!important;
    padding: 0!important;
    text-align: left!important;
    padding: 20px 0!important;
}

#cff h3, #cff h4, #cff h5, #cff h6, #cff p {
    text-align: left!important;
    color: #545454!important;
}

#cff .cff-author .cff-author-text * {
	color: #545454!important;
	margin: 0 0 0 0px !important;
}

#cff .cff-item{
	padding: 20px!important;
    width: 90%!important;
}

#cff .cff-view-comments, #cff-lightbox-wrapper .cff-view-comments{width:100%!important;}

#homecaretypes .flexslider .slides li p.testimonial-home-texts,
#hometests .flexslider .slides li p.testimonial-home-texts{color:#004b8d!important;font-weight:300!important;}

#homecaretypes .flexslider,
#hometests .flexslider {
    margin: 0!important;
    background: transparent!important;
    border: none!important;
    position: relative!important;
    -webkit-border-radius: 0px!important;
    -moz-border-radius: 0px!important;
    -o-border-radius: 0px!important;
    border-radius: 0px!important;
    -webkit-box-shadow: 0!important;
    -moz-box-shadow: 0!important;
    box-shadow: 0!important;
    zoom: 1!important;
}

#homecaretypes .flex-control-nav{
    bottom: 30px!important;
    right: 30px;
    width: auto;
	background:#fff;
}

#hometests .flex-control-nav{
	bottom:0!important;
	left:0;
}

#homecaretypes .flex-control-paging li a.flex-active,
#hometests .flex-control-paging li a.flex-active {
    background: rgb(206 234 234);
    cursor: default;
}

#homecaretypes .flex-control-paging li a,
#hometests .flex-control-paging li a {
    width: 15px;
    height: 15px;
    display: block;
    background: #2a7979;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

a.top-phone-button span.top-phone{;opacity:0;width:0;visibility:hidden;transition:ease all 0.4s;display:none;}

span.top-phone {
   padding: 5px 60px 4px 10px;
    background: #2a7979;
    color: #fff;
    border-radius: 20px;
    right: -30px;
    position: relative;
    z-index: 0;
    top: 2px;
}

a.home-side-email:hover img,
a.side-phone-button:hover img,
.top-social a:hover img{
	background: #2a7979;
    border-radius: 100px;
	cursor:pointer;
}


span.side-phone-number{
	padding: 5px 20px 5px 40px;
    background: #2a7979;
    color: #fff;
    border-radius: 20px;
    right: auto;
    position: relative;
    z-index: 0;
    left: -30px;
    top: 2px;
	width:auto;
	opacity:1;
	visibility:visible;
	transition:ease all 0.4s;
}

a.side-phone-button:hover span.side-phone-number{
	width:auto;
	opacity:1;
	visibility:visible;
	transition:ease all 0.4s;
}

.html5-endscreen.ytp-player-content.videowall-endscreen.ytp-endscreen-paginate.ytp-show-tiles,
.ytp-embed:not(.ad-showing) .ytp-player-content:not(.ytp-upnext),
.home .html5-endscreen.ytp-endscreen-paginate,
.home .ytp-show-tiles .ytp-videowall-still,
.home .ytp-videowall-still-image{display:none!important;opacity:0!important;}

.social-media-widget {
	width:100%;
	margin: 0;
}
.left-banner-info{
	padding: 20px 20px 0 20px;
}
@media only screen and (min-width: 1160px) {
	.social-media-widget {
		width: 31%;
    float: left;
    margin-left: 57px;
		margin-top: 31px;
	}	
	a.top-phone-button:active span.top-phone,
	a.top-phone-button:hover span.top-phone{width:auto;opacity:1;visibility:visible;transition:ease all 0.4s;display:inline;}
	#homepage .care-quality-commission p a {
		font-size:20px;
	}
	.left-banner-info{
		position: absolute;
			width: 40%;
			top: 100px;
	}
	
}
.blue-text {
	color: #004b8d;
}
.blue-text p, .blue-text li {
	color: #004b8d;
}
.blue-text li {
	font-weight: 300;;
	margin:10px 0;
	font-size:18px;
}

.mobile-phone-banner {
	width:100%;
	text-align:center;
	padding: 5px;
	background: #2a7979;
	color: #fff;
	display: none;
	margin-top:15px;
}
.mobile-phone-banner a {
	color:white;
}	