*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }
 
 body {
	margin:0;
	background:#333333;
	color: #fff;
}

#c1 {
	bottom:0;
	padding: 26px 0;
	text-align:center;
	min-height: 600px;
}

#c2 {
	clear: both;
	margin: 0 auto;
	background-color:#fff;
	color: #525252;
	width:986px;
	-moz-box-shadow: 0px 0px 8px #333;
	-webkit-box-shadow: 0px 0px 8px #333;
	box-shadow: 0px 0px 8px #333;
	text-align:left;
}

#c3 {
	padding:20px;
}


#c4 {
	padding: 20px 0;
}


#topbar {
	position:relative;
	z-index: 1;
	color: #696969;
	font-weight: 200;
}

	#topbar ul#social {
		float: right;
	}
	#topbar #social li {
		display: inline-block;
	}
	#topbar #social li a {
		text-indent: -20000em;
		outline: none;
		margin: 0 0 0 12px;
		height: 27px;
		width: 27px;
		opacity: .9;
		float: left;
		display: inline-block;
		text-align: left;
	}
	#topbar #social li a:hover {
		opacity: 1;
	}
		#topbar #social li#facebook a {
			background: url('/userfiles/design/facebook.gif') top left no-repeat;
		}
		#topbar #social li#twitter a {
			background: url('/userfiles/design/twitter.gif') top left no-repeat;
		}


	#topbar ul#about {
		line-height: 1em;
		z-index: 10;
		float: right;
		clear: right;
		padding: 20px 0 15px 0;
	}
		 #about li {
			font-size: 1.25em;
			clear: left;
			padding: 0 0 10px 0;
		}
		ul#about a {
			text-decoration: none;
			color: #696969;
		}
		ul#about a:hover {
			text-decoration: underline;
		}
		#about li strong {
			margin: 0 5px 0 10px;
			display: inline-block;
			color: #292929;
		}
		 #about li span.icn {
			float: left;
			text-indent: -20000em;
			width: 36px;
			height: 28px;
			margin: 0 7px 0 0;
			display:inline-block;
			text-align: left;
		}
		#about li#tel span.icn {
			background: url('/userfiles/design/tel.gif') 0 0 no-repeat;
			margin-top: -7px;
		 }
		#about li#email span.icn {
			margin: 0;
			width: 1px;
		}
		#about li#email a {
			background: url('/userfiles/design/envelope.gif') 2px 2px no-repeat;
			padding: 6px 0 7px 42px;
			display: inline-block;
		}


	#topbar .vcard {
		padding: 12px 21px;
		text-align: right;
	}

	#topbar #logo {
	    position:relative;
	    float: left;
	    z-index: 4;
	    width: 249px;
	    height: 110px;
	}

	#topbar #topslide {
	    position:relative;
	    height:210px;
	    z-index: 1;
	}

		#topslide img {
			position:absolute;
			top:0;
			left:0;
			z-index:2;
			opacity:0;
			width: 946px;
			height: 210px;
		}

		#topslide img.active {
		    z-index:5;
		    opacity:1.0;
		}

		#topslide img.last-active {
		    z-index:3;
		}

nav {
	clear: both;
}

#menu {
	padding: 0 0 0 11px;
	background: #003263;
	position: relative;
	z-index: 10;
	clear: both;
}

/*** ESSENTIAL STYLES ***/

	.sf-menu, .sf-menu * {
		margin:			0;
		padding:		0;
		list-style:		none;
		position: relative;
	}
	.sf-menu {
		line-height:	1.0;
	}
	.sf-menu ul {
		position:		absolute;
		top:			30px;
		width:			17em; /* left offset of submenus need to match (see below) */
		z-index:		1;
		opacity: 0;
		visibility: hidden;
	}
	.sf-menu ul li {
		width:			100%;
		z-index: 1;
	}
	.sf-menu li:hover {
		visibility:		inherit; /* fixes IE7 'sticky bug' */
		z-index: 2;
	}
	.sf-menu li {
		float:			left;
		position:		relative;
	}

	.sf-menu a {
		display:		block;
		position:		relative;
		transition: .4s;
	}
	.sf-menu li ul {
		transition: .6s;
		z-index: 2;
	}	
	.sf-menu li:hover ul,
	.sf-menu li.sfHover ul {
		left:			0;
		top:			43px; /* match top ul list item height */
		opacity: 1;
		visibility: visible;
		z-index: 3;
	}
	.sf-menu li.lastchildren.sfHover ul {
		left: 			auto;
		right:			0;
	}
	ul.sf-menu li:hover li ul,
	ul.sf-menu li.sfHover li ul {
		top:			-999em;
	}
	ul.sf-menu li li:hover ul,
	ul.sf-menu li li.sfHover ul {
		left:			16em; /* match ul width */
		top:			0;
	}
	ul.sf-menu li li:hover li ul,
	ul.sf-menu li li.sfHover li ul {
		top:			-999em;
	}
	ul.sf-menu li li li:hover ul,
	ul.sf-menu li li li.sfHover ul {
		left:			16em; /* match ul width */
		top:			0;
	}
	ul.sf-menu li.lastchildren li:hover ul, ul.sf-menu li.lastchildren li.sfHover ul {
		left: 			auto;
		right:			16em; /* match ul width */
	}

/*** INDIVIDUAL SKIN ***/
.sf-menu {
	float:			left;
}
	.sf-menu a {
		padding: 		17px 14px 17px 14px;
		text-decoration:	none;
		font-weight:		600;
		font-size: 		15px;
	}
	.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
		color:			#fff;
	}
	.sf-menu a:hover {
		text-decoration: underline;
	}
	.sf-menu a.toplevel {

	}
	.sf-menu li {
		margin-left: 3px;
	}

	.sf-menu li ul {
		border-top:6px solid #003263;
		border-bottom: 9px solid #003263;
		background: #003263;
		-webkit-box-shadow:0 3px 3px rgba(10, 0, 0, 0.5);
		-moz-box-shadow:0 3px 3px rgba(10, 0, 0, 0.5);
		box-shadow:0 3px 3px rgba(10, 0, 0, 0.5);
	}

	.sf-menu li ul ul {
		border-top: none;
	}

	.sf-menu li li {
		margin-left:0;
	}

	.sf-menu li li a, .sf-menu li li a:visited {
		font-weight:		normal;
		padding: 		8px 14px 8px 14px;
		color: 			#ffffff;
	}

	.sf-menu li li li a{
		padding: 		6px 14px 5px 14px;
	}


	.sf-menu li li:hover, .sf-menu li li.sfHover,
	.sf-menu a:focus, .sf-menu li li a:hover, .sf-menu a:active, .sf-menu li li a.on {
		outline:		0;
		background: #002141;
		text-decoration: underline;
	}
	.sf-menu a:focus {
		background: #0156a9;
		color: #fff;
	}
	.sf-menu a.active {
		cursor: default;
		text-decoration: underline;
	}

	.sf-menu a.notactive {
		cursor: default;
		text-decoration: none;
	}

	.sf-menu li:hover a.toplevel, .sf-menu li:hover a.toplevel:hover, .sf-menu li.sfHover a.toplevel, .sf-menu li a.on {
		color: #D6EBFF;
		text-shadow: none;
	}

	.sf-menu li li:hover, .sf-menu li li.sfHover {

	}

#content {
	float:left;
	color:#6B6768;
	width:603px;
	margin-left: 20px;
}

	.layout0 #content, .layout3 #content {
	}

	.layout1 #content {
		width: auto;
		margin-left: 30px;
	}

	#content img.img_float_left, #content img[align=right] {
		margin:0 10px 5px 0;
	}

	#content img.img_float_right, #content img[align=right] {
		margin:0 0 5px 10px;
	}




#breadcrumb {
	color: #6B6768;
	padding: 0 0 10px 0;
	font-size: .95em;
}

	#breadcrumb a, #breadcrumb a:visited {
		color: #6B6768;
	}

	#breadcrumb a.last {
		cursor: text;
		text-decoration: none;
	}

#skipNav {
	position: absolute;
}


#themap {
	width: 100%;
	height: 400px;
}

.fancybox {
	cursor:url(/userfiles/icons/magnifier.png),pointer;
}

ul.gallery, ul.gallery li {
	margin: 0;
	padding: 0;
	list-style: none;
}

	.gallery li {
		float: left;
	}

	.gallery li.clear {
		clear: left;
	}

	.gallery li img {
		max-width: 190px;
		width: auto !important;
		width: 190px;
		height: auto;
		margin: 15px 0 0 15px;
	}

	.gallery li.first img {
		margin: 15px 0 0 0;
	}

ul.counterlinks, ul.counterlinks li {
	list-style: none;
	margin: 0;
	padding: 0;
}
	ul.counterlinks {
		margin: 15px 0;
	}

	ul.counterlinks li {
		float: left;
		padding: 5px;
		border: 1px solid #000;
		margin: 0 5px 0 0;
		background: #fff;
	}

	ul.counterlinks li.active {
		background: none;
	}

	ul.counterlinks li.active a {
		color: inherit;
		text-decoration: none;
	}

#slots {
	float:right;
	width:302px;
}
	.layout1 #slots {
		float: none;
		width: auto;
		clear: both;
	}

	.slot {
		margin-bottom:20px;
		border: 1px solid #cccccc;
		margin: 0 0 15px 0;
		background: #C6CCD1;
		background-repeat: no-repeat;
		background-position: 50% 100%;
		background-size: contain;
		line-height: 1em;
	}
	.slot:last-child {
		margin-bottom: 0;
	}
	.layout1 .slot {
		float: left;
		width: 302px;
		margin: 15px 0 0 20px ;
	}
	.layout1 .slot:first-child {
		margin-left: 0;
	}
	.slot_title {
		font-size: 1.7em;
		color:#fff;
		background: #003263;
		margin: 0;
		padding: 19px 20px;
	}
	a.slot_title, .slot_title a, .slot_title a:hover {
		color: #fff;
		text-decoration: none;
	}

	.slot ul li.on {
		font-weight: bold;
	}
	.slot .inner {
		padding: 20px;
		background: url('/userfiles/design/slotlong-trans.png') bottom left repeat-x;
		min-height: 100%;
	}
	.hasimg .inner {
		padding-bottom: 60px;
	}
	.slot .inner p:first-child {
		margin-top: 0;
		padding-top: 0;
	}
	.inner *:last-child {
		padding-bottom: 0;
		margin-bottom: 0;
	}

	.slot_content {
		font-size: 1em;
		margin: 5px 0;
		line-height: 1.4em;
		text-shadow: rgba(234, 234, 222,.9) 0 0 1px, rgba(234, 234, 222,.5) 0 1px 5px;
	}

	.news {
		margin-top: 10px;
	}
	.news .slot_content {
		font-size: .9em;
	}
	.slot_content p:first-child, .slot_content .news:first-child {
		margin-top: 0;
	}
	.slot_content p:last-child {
		margin-bottom: 0;
	}


	q.slot_content {
		font-style: italic;
	}

	.slot .thumb {
		float: right;
		width: 90px;
		margin: 0 0 4px 5px;
	}

	.slot_link {
		font-weight: bold;
	}

	.more_link {
		display: block;
	}

	.slot_link:hover {
		text-decoration:underline;
	}

	.slot_author {
		text-align:right;
		font-size: .9em;
		font-weight: bold;
	}

	.slot ul.newslist {
		list-style: none;
		margin: 0;
		padding: 0;
		font-size: .9em;
	}

	.slot .newslist a {
		text-decoration: none;
		margin: 9px 0;
		display: block;
	}

	.slot .newslist .active a {
		font-weight: bold;
	}

	.slot .newslist b {
		float: right;
		margin: 0 0 0 5px;
		font-size: .9em;
	}

	#slot_10 fieldset {
		padding: 0;
		margin: 0;
		border: 0;
	}
	#slot_10 fieldset label {
		display: inline-block;
		width: 20%;
		font-weight: bold;
		font-size: .95em;
		float: left;
		text-align: left;
	}
	#slot_10 form li {
		margin: 10px 0;
		clear: both;
		text-align: right;
	}
	#slot_10 form input {
		display: inline-block;
		width: 75%;
	}
	#slot_10 form input.submit_but {
		background: #003263;
		color: #fff;
		font-weight: bold;
		padding: 5px;
		cursor: pointer;
		width: auto;
	}


.property-item {
	margin-bottom:15px;
}

	.property-item .property-title {
		font-weight:bold;
		color:#fff;
		background:#003263;
		padding:5px 10px;
		margin-bottom:5px;
		max-width:448px;
	}

		.property-item .property-title a {
			color:#fff;
			text-decoration:none;
		}

			.property-item .property-title a:hover {
				text-decoration:underline;
			}

	.property-item img {
		float:right;
		margin:0 0 15px 15px;
	}

	.property-item .property-summary {
		max-width:438px;
		padding-left:10px;
	}

	.property-item .property-price {
		max-width:438px;
		padding-left:10px;
		font-weight:bold;
		margin-top:3px;
	}

		.property-item .property-price span.status_sold {
			color:#f00;
		}

		.property-item .property-price span.status_under_offer,
		.property-item .property-price span.status_under_application {
			color:#E8AA00;
		}

		.property-item .property-price a {
			float:right;
			padding-right:5px;
		}


.document_library {
	border-bottom:1px solid #cbceee;
}


.document_library .library_header {
	background:#8b8b8b;
	color:#fff;
	font-weight:bold;
	padding:12px 14px;
	clear: both;
	margin: 0 0 10px 0;
}

.document_library .library_single_folder, .document_library .library_multiple_folders {
	margin:15px 0 0 0;
}

.document_library ul {
	margin: 0 0 5px 0;
	padding: 0 0 5px 20px;
	list-style: none;
}

.document_library li.library_item {
	padding:4px 5px 4px 20px;
	background:url(/userfiles/icons/page.png) no-repeat left center;
	color:#000;
	list-style: none;
	margin: 0;
}

.document_library .folder_opener {
	font-weight:bold;
	color:#000;
	padding: 10px 0;
}

.document_library .folder_opener i {
	font-weight: normal;
}

.document_library .folder {
	border-top:1px solid #cbceee;
	padding: 0 0 0 24px;
}

.document_library .folder .folder {
	border-top: none;
}

.document_library a {
	color:#000;
}




#site_info {
	padding: 20px 15px;
	text-align:center;
	color:#5a6265;
	font-size:1em;
	background:#cdd7e1;
	border-top: 6px solid #003263;
}
	.vcard {
		padding: 7px;
	}
	.vcard p {
		margin: 4px 0;
	}
	.vcard a {
		color: #5a6265;
	}
	.vcard a:hover {
		color: #000;
	}
	.vcard .adr {
		font-weight: 600;
	}
	.vcard .fn {
		color: #073360;
	}
	.vcard b, .vcard strong {
		font-weight: 600;
	}
	.vcard b {
		margin: 0 0 0 15px;
	}
	.vcard .adr, .vcard .nos, .vcard .the_email {
		display: inline-block;
	}

#credits {
	text-align:center;
	font-size:.9em;
	color:#fff;
	padding:10px;
}
	#credits ul li {
		display: inline-block;
		margin: 0 10px;
	}
	#credits a {
		color:#fff;
		text-decoration: none;
	}

	#credits a.plexus:hover {
		color:#ff0099;
	}

.standard img, .standard iframe, .standard embed, .standard table {
	max-width: 100%;
}

.slicknav_menu {
	display:none;
}
	
	
@media screen and (max-width: 986px) {
	.standard img, .standard iframe, .standard embed, .standard table {
		height: auto;
	}
	.standard #c1 {
		padding: 0;
	}
	.standard #c2 {
		width: auto;
		max-width:986px;
	}
	.standard .not-on-mobile {
		display:none !important;
	}
	.slicknav_menu {
		display:block;
	}
	.standard .inverness {
		clear: right;
	}
	.standard #content {
		margin-left: 0;
		width: 65%;
	}

	.standard #slots {
		width: 31.8%;
	}
	.standard .layout1 #slots {
		width: 100%;
	}

	.standard .layout1 .slot {
		width: 32%;
		margin-left: 1%;
	}
}
@media screen and (max-width: 745px) {
	.standard #c3 {
		padding: 10px;
	}

	.standard #topbar .vcard {
		padding:  0;
	}
	.standard #about li#tel span.icn {
		display: none;
	}
	.standard .inverness {
		display: block;
		clear: both;
	}
	.standard #topbar #topslide, .standard #topbar #topslide img {
		height: 130px;
	}
	.standard #content, .standard #slots {
		width: 100%;
	}
	.standard .layout1 .slot, .standard .slot {
		width: 100%;
		margin-left: 0;
		background-size: 100%;
	}
	.standard .hasimg .inner {
		margin-bottom: 0;
		padding-bottom: 20px;
		background: #CAD8E1;
	}
}
@media screen and (max-width: 520px) {
	#topbar ul#about {
		float: left;
		clear: left;
		padding: 10px 0 10px 0;
	}
	.standard #topbar ul#about {
		text-align: center;
	}
	.standard #topbar ul#about li{
		float: none;
		display: inline-block;
	}
	#theteam td {
		display: block;
	}
	
	#site_info {
		font-size: .9em;
		text-align: left;
	}
	.vcard b {
		margin-left: 0;
	}
	#about li#email a {
		margin-right: -42px;
	}
	#topbar #logo {
		background: url(/userfiles/design/bowlts_420px.gif) 0 0 no-repeat;
		background-size: contain;
		width: 100%;
		height: 0;
		float: none;
		padding: 43.81% 0 0 0;
		display: block;
	}
	#logo img {
		display: none;
	}
}

@media screen and (max-width: 420px) {

	.standard #topbar ul#about {
		text-align: left;
	}
	.standard #topbar ul#about li{
		display: block;
	}
	#about li#email a {
		margin-right: 0;
	}
}

/*
    Mobile Menu Core Style
*/

.slicknav_btn { position: relative; display: block; vertical-align: middle; float: right; padding: 0.438em 0.625em 0.438em 0.625em; line-height: 1.125em; cursor: pointer; }
.slicknav_menu  .slicknav_menutxt { display: block; line-height: 1.188em; float: left; }
.slicknav_menu .slicknav_icon { float: left; margin: 0.188em 0 0 0.438em; }
.slicknav_menu .slicknav_no-text { margin: 0 }
.slicknav_menu .slicknav_icon-bar { display: block; width: 1.125em; height: 0.125em; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 0.188em }
.slicknav_nav { clear: both }
.slicknav_nav ul,
.slicknav_nav li { display: block }
.slicknav_nav .slicknav_arrow { font-size: 0.8em; margin: 0 0 0 0.4em; }
.slicknav_nav .slicknav_item { cursor: pointer; }
.slicknav_nav .slicknav_row { display: block; }
.slicknav_nav a { display: block }
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a { display: inline }
.slicknav_menu:before,
.slicknav_menu:after { content: " "; display: table; }
.slicknav_menu:after { clear: both }
/* IE6/7 support */
.slicknav_menu { *zoom: 1 }

/* 
    User Default Style
    Change the following styles to modify the appearance of the menu.
*/

.slicknav_menu {
    font-size:18px;
}
/* Button */
.slicknav_btn {
    text-decoration:none;
    text-shadow: 0 1px 1px rgba(1, 96, 74, 0.8);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;  
    float: left;
}
/* Button Text */
.slicknav_menu  .slicknav_menutxt {
    color: #FFF;
    font-weight: bold;
    text-shadow: 0 1px 3px #000;
}
/* Button Lines */
.slicknav_menu .slicknav_icon-bar {
  background-color: #ffffff;
}
.slicknav_menu {
    background:#003263;
    padding: 5px 25px 5px 15px;
}
.slicknav_nav {
    color:#fff;
    margin:0;
    padding:0;
    font-size:0.875em;
}
.slicknav_nav, .slicknav_nav ul {
    list-style: none;
    overflow:hidden;
}
.slicknav_nav ul {
    padding:0;
    margin:0 0 0 20px;
}
.slicknav_nav .slicknav_row {
    padding:5px 10px;
    margin:2px 5px;
}
.slicknav_nav a{
    padding:5px 10px;
    margin:2px 5px;
    text-decoration:none;
    color:#fff;
}
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a {
    padding:0;
    margin:0;
}
.slicknav_nav .slicknav_row:hover {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background:#CDCDC3;
    color:#fff;
}
.slicknav_nav a:hover{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background:#CDCDC3;
    color:#fff;
}
.slicknav_nav .slicknav_txtnode {
     margin-left:15px;   
}

 #topbar.slicknav_menu #social, #topbar .slicknav_menu #social li {
	padding-bottom: 0;
}
#topbar .slicknav_menu #social li a {
	margin: 3px 0 0 0;
	border: 2px solid #fff;
	border-radius: 2px;
}







/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
