/*

Abbey Manor Business Centre - Global Stylesheet
Handwritten by Richard Wilmot (AztecMedia.eu)
http://www.yeovilbusinesscentre.co.uk

*/


																					/* ------------ Toolbox ------------ */

.float-left { float: left; }
.float-right { float: right; }
.align-right { text-align: right; }
.cleared { clear: both; }
.hide { display: none; }
.smaller { font-size: 90%; }
.larger { font-size: 110%; }
.normal { font-weight: normal; }

hr { display: none; }
strong { font-weight: bold; }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
	}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

*, *::before, *::after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}


																					/* ------------ Defaults ------------ */

body, html {
	font-size:16px;
	color:#5d5d5d;
	font-weight:300;
	line-height:24px;
	font-family: 'Lato', sans-serif;
	/*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);*/
	height: 100%;
	text-align:center;
	position:relative
	}
	
	
a {
	text-decoration:none;
	color:#597bbd
}

a:hover {
	text-decoration: underline;
}


#office-space a  {
	color: #c24b6a;
}

#conference-centre a  {
	color: #b7bd59;
}

#cafe a  {
	color: #3eaba2;
}

#links a  {
	color: #d6863e;
}

#about a  {
	color: #59bd6e;
}

#contact a {
	color: #8d54b9;
}


h1,
h2,
h3,
h4,
h5 {
	font-weight:300;
	font-family: 'Lato', sans-serif;
	font-size:40px;
	text-transform:uppercase;
	margin-bottom:20px;
	line-height:36px;
}

h2 {
	font-size:30px;
	margin-bottom:15px;
	line-height:30px;
}

h3 {
	font-size:22px;
	line-height:22px;
	margin-bottom:15px;
}

h4 {
	font-size:18px;
	line-height:18px;
	margin-bottom:10px;
}

h5 {
	font-size:16px;
	line-height:16px;
	margin-bottom:5px;
}

p {
	margin-bottom:20px;
}

#content ul {
	margin-bottom:20px;
}

#content ul li::before,
#content ul li::after {
	content: "•";
	margin-right:10px;
}

#content ul li::after {
	margin-left:10px;
}

#office-space #content ul li::before,
#office-space #content ul li::after {
	color:#c24b6a
}

#conference-centre #content ul li::before,
#conference-centre #content ul li::after {
	color:#b7bd59
}

#cafe #content ul li::before,
#cafe #content ul li::after {
	color:#3eaba2
}

#links #content ul li::before,
#links #content ul li::after {
	color:#d6863e
}

#about #content ul li::before,
#about #content ul li::after {
	color:#59bd6e
}

#contact #content ul li::before,
#contact #content ul li::after {
	color:#8d54b9
}


.btn {
	font-size:16px;
	padding:0 20px;
	height:40px;
	line-height:40px;
	text-align:center;
	display:inline-block;
	background:#597bbd;
	color:#fff;
	text-decoration:none;
	margin:auto;
	text-transform:uppercase;
	-webkit-box-shadow: 4px 4px 0 0 rgba(0,0,0,0.25);
	box-shadow: 4px 4px 0 0 rgba(0,0,0,0.25);
	-webkit-transition: all .5s ease;
       -moz-transition: all .5s ease;
            transition: all .5s ease;
}

#office-space .btn {
	background:#c24b6a;
	color:#FFF;
	margin:0 20px
}

.btn:hover,
#office-space .btn:hover {
	background-color:#5d5d5d;
	color:#FFF;
	-webkit-box-shadow: 1px 1px 0 0 rgba(0,0,0,0.25);
	box-shadow: 1px 1px 0 0 rgba(0,0,0,0.25);
	text-decoration:none
}




																					/* ------------ Header ------------ */

#header-info-container {
	width:100%;
	height:41px;
	border-bottom: 1px #5d5d5d solid
}

#header-info {
	width:100%;
	max-width:1170px;
	margin:auto;
	padding:5px 0
}

#contact-info li {
	float:left
}

#contact-info li a {
	color:#5d5d5d;
	line-height:30px;
	padding-left:30px;
	display:block;
	height:30px;
	font-size:13px;
	font-weight:400
}

#contact-info li.tel a {
	background:url(../images/contact-info-tel.gif) no-repeat top left;
	margin-right:30px
}

#contact-info li.email a {
	background:url(../images/contact-info-email.gif) no-repeat top left
}


#social-media li {
	float:right
}

#social-media li a {
	display:block;
	width:20px;
	height:30px;
	text-indent:-25000px
}

#social-media li.twitter a {
	background:url(../images/social-media-twitter.gif) no-repeat top left
}

#social-media li.facebook a {
	background:url(../images/social-media-facebook.gif) no-repeat top left
}

#social-media li.linkedin a {
	background:url(../images/social-media-linkedin.gif) no-repeat top left
}

#social-media li a:hover {
	background-position: 0 -30px;
}


#header-container {
	width:100%;
	position:relative;
}

#header {
	width:100%;
	max-width:1170px;
	margin:auto
}

#header-container #logo {
	width:100%;
	margin:auto;
	height:59px;
	margin-top:12px;
	height:85px;
}


#header-container #logo a {
	display:block;
	height:59px;
	width:510px;
	text-indent:-25000px;
	background: url(../images/yeovil-business-centre-logo.png) no-repeat top center;
	margin:auto;
}

#office-space #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-office-space.png) no-repeat top center;
}

#conference-centre #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-conference-centre.png) no-repeat top center;
}

#cafe #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-cafe.png) no-repeat top center;
}

#links #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-links.png) no-repeat top center;
}

#about #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-about.png) no-repeat top center;
}

#contact #header-container #logo a {
	background: url(../images/yeovil-business-centre-logo-contact.png) no-repeat top center;
}


@media screen and (max-width: 1170px) {
	#header-info {
		padding:5px 10px
	}
	#contact-info li.tel a {
		margin-right: 10px;
	}
}

@media screen and (max-width: 510px) {
	#header-container #logo {
		height:auto;
		margin: 12px auto;
	}
	#header-container #logo a {
		height:35px !important;
		width:300px !important;
		background-size: 100% auto !important
	}
}




		

																					/* ------------ Nav ------------ */

#nav-container {
	width:100%;
	height:35px;
	background:#e7e7e7
}



#nav {
	width:100%;
	max-width:1170px;
	margin:auto;
	height:35px;
}


#nav .menu,
#nav .mobile-menu {
    display: none;
}

#nav .standard-menu {
	height:35px;
	overflow:hidden;
}

#nav .standard-menu ul {
	text-align:center;
	font-size:0
}
	
	
#nav .standard-menu li {
	display: inline-block;
	vertical-align:top;
	text-transform:uppercase
}

#nav .standard-menu li a {
	color:#5d5d5d;
	display:block;
	width:auto;
	height:35px;
	line-height:35px;
	padding: 0 20px;
	text-decoration:none;
	text-align:center;
	font-size:13px;
	font-weight:400
}

#nav .standard-menu li.home a:hover,
#nav .standard-menu li.menuactive.home a {
	border-bottom:#597bbd solid 2px
}

#nav .standard-menu li.office-space a:hover,
#nav .standard-menu li.menuactive.office-space a {
	border-bottom:#c24b6a solid 2px
}

#nav .standard-menu li.conference-centre a:hover,
#nav .standard-menu li.menuactive.conference-centre a {
	border-bottom:#b7bd59 solid 2px
}

#nav .standard-menu li.cafe a:hover,
#nav .standard-menu li.menuactive.cafe a {
	border-bottom:#3eaba2 solid 2px
}

#nav .standard-menu li.links a:hover,
#nav .standard-menu li.menuactive.links a {
	border-bottom:#d6863e solid 2px
}

#nav .standard-menu li.about a:hover,
#nav .standard-menu li.menuactive.about a {
	border-bottom:#59bd6e solid 2px
}

#nav .standard-menu li.contact a:hover,
#nav .standard-menu li.menuactive.contact a {
	border-bottom:#8d54b9 solid 2px
}

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

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


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

}


@media screen and (max-width: 800px) {	
	#nav #nav-logo {
		float:left;
		margin: 10px 0 0 10px;
		padding-top:0;
	}
	#nav .standard-menu,
	#nav-container-bg {
		display: none;
	}
	
	#nav .menu {
		bottom: 0;
		cursor: pointer;
		display: block;
		height: 35px;
		line-height:35px;
		font-weight:400;
		text-transform:uppercase
	}
	
	.mobile-menu {
		position:absolute;
		z-index:1000;
		width:100%;
		top:163px;
	}
	
	.mobile-menu ul {
		background:#597bbd;
		overflow:hidden;
		padding:5px 10px;
	}
	
	#office-space .mobile-menu ul {
		background: #c24b6a;
	}
	
	#conference-centre .mobile-menu ul {
		background: #b7bd59;
	}
	
	#cafe .mobile-menu ul {
		background: #3eaba2;
	}
	
	#links .mobile-menu ul {
		background: #d6863e;
	}
	
	#about .mobile-menu ul {
		background: #59bd6e;
	}
	
	#contact .mobile-menu ul {
		background: #8d54b9;
	}

	.mobile-menu li a {
		text-decoration:none;
		color:#fff !important;
		display:block;
		width:100%;
		padding: 3px 0;
	}
	
	.mobile-menu li li a {
		font-size:14px;
	}

}

@media screen and (max-width: 510px) {
	.mobile-menu {
		top:125px;
	}
}



	

																			/* ------------ Slideshow ------------ */

#slideshow {
	position: relative;
	margin-bottom: 50px;
	}
	
.rslides {
	position: relative;
	list-style: none;
	width: 100%;
	padding: 0;
	margin: 0;
	}
	
.rslides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	width: 100%;
	left: 0;
	top: 0;
	}
	
.rslides li:first-child {
	position: relative;
	display: block;
	float: left;
	}
	
.rslides img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: 0;
	}
	
.rslides div.caption {
	position:absolute;
	margin: auto;
	left: 0; bottom: 70px; right: 0;
	width:100%;
	max-width:1170px;
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
	width:870px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	position:absolute;
	bottom:-40px;
	color:#FFF;
	padding:20px;
	}
	
.rslides div.caption h2 {
	border-bottom:#FFF solid 1px;
	display:inline-block;
	padding-bottom:5px;
	font-size:22px
}

#office-space .rslides div.caption {
	background:#c24b6a
	}
	
#conference-centre .rslides div.caption {
	background:#b7bd59
	}
	
#cafe .rslides div.caption {
	background:#3eaba2
	}
	
#links .rslides div.caption {
	background:#d6863e
	}
	
#about .rslides div.caption {
	background:#59bd6e
	}
	
#contact .rslides div.caption {
	background:#8d54b9
	}
	
.rslides div h2 {
	font-size:30px;
	line-height:30px;
	border-bottom: 1px solid #fff;
    display: inline-block;
    font-size: 22px;
    padding-bottom: 5px;
	}
	
.rslides div p {
	margin-bottom:0
	}
		

.rslides div.caption div .btn {
	display:none
}	
	
#home .rslides div.caption div .btn {
	position:absolute;
	bottom:-40px;
	right:0;
	display:block
	}
	
.rslides div.caption.red div .btn {
	background-image:url(../images/btn-red.png)
	}
	
.rslides div.caption.orange div .btn {
	background-image:url(../images/btn-orange.png)
	}
	
.rslides div.caption.green div .btn {
	background-image:url(../images/btn-green.png)
	}
	
.rslides div.caption.yellow div .btn {
	background-image:url(../images/btn-yellow.png)
	}
	
.rslides div.caption.blue div .btn {
	background-image:url(../images/btn-blue.png)
	}


@media screen and (max-width: 870px) {	
	#slideshow {
		margin-bottom: 0;
	}
	.rslides img {
		float:none
	}
	.rslides div.caption  {
		position: static;
		width:100%
	}
}
	
@media screen and (max-width: 1170px) {
	/*.rslides div.caption {
		bottom: 50px;
	}
	.rslides div.caption div {
		padding: 10px;
	}
	.rslides div h1 {
		font-size:30px;
		line-height:30px;
		padding-bottom:5px
		}
		
	.rslides div h2 {
		font-size:20px;
		line-height:20px;
		padding-bottom:0
		}*/
}

@media screen and (max-width: 840px) {
	/*.rslides div.caption {
		bottom: 10px;
	}
	.rslides div h1 {
		padding-bottom:0
		}
		
	.rslides div h2 {
		display:none
		}
	.rslides div.caption div .btn {
		display: none !important;
	}*/
}		
	

																					/* ------------ Content ------------*/


#content-container {
	width:100%;
	margin:auto;
}

#content {
	width:100%;
	max-width:1170px;
	margin:auto;
	padding:50px 0;
}

@media screen and (max-width: 1170px) {
	#content {
		padding:50px 20px;
	}
}





																					/* ------------ Featured Links ------------

#featured-links {
	text-align:center;
	font-size:0;
}

#featured-links li {
	width:25%;
	overflow:hidden;
	background-color: #fff;
	padding:5px;
	vertical-align:top;
	display:inline-block;
	color:#656258;
	border:#656258 solid 5px;
}

#featured-links li img {
	width:100%;
	margin-bottom:10px;
	
}

#featured-links li .desc {
	width:100%;
	height:100%;
	text-shadow: none;
}


#featured-links li .desc p {
	font-size:14px;
	line-height:20px;
}

#featured-links li a {
	width: 100%;
}


#featured-links li a:hover {
}





@media screen and (max-width: 970px) {
	#featured-links li {
		width:50%;
	}
}


@media screen and (max-width: 570px) {
	#featured-links li {
		width:100%;
	}

}

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



																					/* ------------Gallery ------------

#gallery-images {
	text-align:center
}


#gallery-images li {
	position:relative;
	width:150px;
	height:150px;
	overflow:hidden;
	margin:10px;
	display:inline-block
}

#gallery-images li img,
#gallery-images li a {
	position:absolute;
	top: 0;
	left:0
}

#gallery-images li a {
	display:block;
	width:100%;
	height:100%
}


#gallery-images li span.title {
	width: 100%;
	height:40px;
	line-height:40px;
	background-image:url(../images/view.png);
	background-color: rgba(255, 255, 255, 0.5);
	display:block;
	position: absolute;
	bottom:0;
	left:0;
	-webkit-transition: all .5s ease;
       -moz-transition: all .5s ease;
            transition: all .5s ease;
}
#gallery-images li span.view {
	width: 60px;
	height:60px;
	display:block;
	position: absolute;
	bottom:-35px;
	right:-35px;
	background: #656258 url(../images/gallery-view.png) no-repeat top left;
	-webkit-transition: all .5s ease;
       -moz-transition: all .5s ease;
            transition: all .5s ease;
}

#gallery-images li:hover .view {
	bottom:0;
	right:0;
	background-color:#b2b0ab
}

#gallery-images li:hover .title {
	height:150px;
	background-color: rgba(73, 71, 64, 1);
}


																					/* ------------ Footer ------------ */
#footer-container {
	width:100%;
	background:#e7e7e7;
	padding:40px 0;
	position:relative
}

#furniture-container {
	width:100%;
	float:left;
	padding:10px 0;
	background:#597bbd
}

#furniture {
	width:100%;
	max-width:1170px;
	margin:auto;
	text-align:center;
	font-size:12px;
	color:#fff;
	background:#FC6
}


#office-space #furniture-container  {
	background: #c24b6a;
}

#conference-centre #furniture-container  {
	background: #b7bd59;
}

#cafe #furniture-container  {
	background: #3eaba2;
}

#links #furniture-container  {
	background: #d6863e;
}

#about #furniture-container  {
	background: #59bd6e;
}

#contact #furniture-container {
	background: #8d54b9;
}

#furniture a {
	color:#fff;
}

#footer {
	width:100%;
	max-width:1170px;
	margin:auto;
	text-align:left
}

#footer h4 {
    border-bottom: 1px solid #5d5d5d;
    display: inline-block;
    padding-bottom: 5px;
	float:left;
}


#footer ul {
	float:left;
	width:22%
}

#footer ul li {
	font-size:12px;
	line-height:16px;
	margin-bottom:5px;
}

#footer ul li:nth-child(3) {
	padding-left:20px;
	background:url(../images/footer-phone.gif) no-repeat top left
}

#footer ul li:nth-child(4) {
	padding-left:20px;
	background:url(../images/footer-email.gif) no-repeat top left
}

#footer h5 {
	margin-bottom:10px;
}

#footer .map {
	float:left;
	width:34%;
	position:relative
}

#footer .map img {
	width:100%;
	height:auto
}

#footer .map .pin {
  width: 30px;
  height: 30px;
  -webkit-border-radius: 50% 50% 50% 0;
  border-radius: 50% 50% 50% 0;
  background: #597bbd;
  position: absolute;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  text-indent:-25000px;
  overflow:hidden;
  -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
}

#office-space #footer .map .pin  {
	background: #c24b6a;
}

#conference-centre #footer .map .pin  {
	background: #b7bd59;
}

#cafe #footer .map .pin  {
	background: #3eaba2;
}

#links #footer .map .pin  {
	background: #d6863e;
}

#about #footer .map .pin  {
	background: #59bd6e;
}

#contact #footer .map .pin {
	background: #8d54b9;
}


#furniture p {
    margin-bottom: 0;
    width: 50%;
}
#furniture p.copyright {
    float: left;
    text-align: left;
}
#furniture p.aztecmedia {
    float: right;
    text-align: right;
}

@media screen and (max-width: 1170px) {
	#footer {
		padding:0 20px
	}
	#footer ul {
		float: left;
		width: 33.33%;
		padding:0 0 20px 0
	}
	#footer .map {
		float: none;
		margin:auto;
		clear:both;
		width: 100%;
		max-width:360px
	}
	#furniture-container {
		padding:10px 20px
	}
}
@media screen and (max-width: 780px) {
	#furniture p {
		width: 100%;
		text-align:center !important
	}
}
@media screen and (max-width: 600px) {
	#footer ul {
		width:100%;
	}
	#footer .map {
		float: left;
	}
}