

/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
	font-size: 16px;
	font-family: 'source_sans_prolight', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight:300;
	color: #434040;
}

/* ==========================================================================
   Links etc
   ========================================================================== */

a {
	color: #0b9444;
}
a:hover, a:hover strong, .btn-success:hover, .btn-warning:hover	{
	-webkit-transition: ease-out 0.3s;
	-moz-transition: ease-out 0.3s;
	-ms-transition: ease-out 0.3s;
	-o-transition: ease-out 0.3s;
	transition: ease-out 0.3s;
}
a:hover, a:focus {
	color: #8dc63f;
}

/* ==========================================================================
   Lists
   ========================================================================== */
li.address {   
	list-style-image: url(../img/envolop.png);
}
li {
	line-height: 1.6em;
}
/* ==========================================================================
   Contextual backgrounds
   ========================================================================== */
.bg-danger 	{
	padding: 10px;
	border: 1px solid #eb3838;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	color: #a94442;
	font-size: 18px;
}

/* ==========================================================================
   Structure
   ========================================================================== */

.row {
 	/*margin-bottom: 25px;*/
}
div.row.clustered {
	margin-bottom: 0;
}
.container-fluid .row {
	background-color: #434040;
}
.row .footer {
	color: #c0c0c0;
	font-size: 13px;
	padding-top: 20px;
	margin-bottom: 0;
}
.row.last {
	margin-bottom: 0;	
}
.row.footer.sub-footer {
	margin: 0;
	padding: 0 0 50px 0;
}
p.copyright, p.credits {
	font-size: 12px;
	padding: 0;
	margin: 0;
	text-align: right;
}
p.credits {
	color: #858585;	
}
.container .jumbotron, .container-fluid .jumbotron {
	border-radius: 0;
	margin-bottom: 0;
	padding: 0;
}
.container.grey {
	background-color: rgba(0,0,0,0.1);
}

/* ==========================================================================
   Animating Content Styling
   ========================================================================== */

.hidden-content {
	opacity: 0;
}
.visible-content {
	opacity: 1;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
	font-size: 32px;
	font-family: 'kelson_sansregular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	margin-top: 0;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight:300;
	color: #434040;
}
h1.navbar-brand.logo {
	margin: 16px 0 10px 0;
	height: 50px;
	width: 234px;
	background: url(../img/hembury-fort-logo.png) no-repeat 0 0;
	font: 0/0 a;
    text-shadow: none;
    color: transparent;
	display: block;
}
@media all and (-webkit-min-device-pixel-ratio : 1.5) {
    h1.navbar-brand.logo {
        background-image: url(../img/hembury-fort-logox2.png);
        background-size: 234px 62px;
    }
}
h1.centered, h4.centered {
	text-align: center;
}
h2 {
	font-size: 26px;
	font-family: 'kelson_sansregular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	margin-top: 0;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight:300;
	color: #434040;
}
.row .footer h2 {
	font-size: 20px;
	font-family: 'kelson_sansregular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	text-transform: uppercase;
	color: #fff;
}
p {
	line-height: 1.5em;
	margin:0 0 30px;
}

@font-face {
    font-family: 'source_sans_prolight';
    src: url(../fonts/sourcesanspro-light-webfont.eot);
    src: url(../fonts/sourcesanspro-light-webfont.eot?#iefix) format('embedded-opentype'),
         url(../fonts/sourcesanspro-light-webfont.woff2) format('woff2'),
         url(../fonts/sourcesanspro-light-webfont.woff) format('woff'),
         url(../fonts/sourcesanspro-light-webfont.ttf) format('truetype'),
         url(../fonts/sourcesanspro-light-webfont.svg#source_sans_prolight) format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'kelson_sansregular';
    src: url(../fonts/kelson_sans_regular-webfont.eot);
    src: url(../fonts/kelson_sans_regular-webfont.eot?#iefix) format('embedded-opentype'),
         url(../fonts/kelson_sans_regular-webfont.woff2) format('woff2'),
         url(../fonts/kelson_sans_regular-webfont.woff) format('woff'),
         url(../fonts/kelson_sans_regular-webfont.ttf) format('truetype'),
         url(../fonts/kelson_sans_regular-webfont.svg#kelson_sansregular) format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'nerisblack';
    src: url('neris-black-webfont.eot');
    src: url('neris-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('neris-black-webfont.woff2') format('woff2'),
         url('neris-black-webfont.woff') format('woff'),
         url('neris-black-webfont.ttf') format('truetype'),
         url('neris-black-webfont.svg#nerisblack') format('svg');
    font-weight: normal;
    font-style: normal;

}

p.text-columns {
	-webkit-column-column-gap: 20px;
    -moz-column-column-gap: 20px;
    column-gap: 20px;
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-width: 200px; /* Chrome, Safari, Opera */
    -moz-column-width: 50%; /* Firefox */
    column-width: 50%;
}
   
/* ==========================================================================
   Navigation
   ========================================================================== */

/*.navbar-inverse {
	background-image: none!important;
	background-color: white!important;
	border-color: #fff!important;
}*/
.navbar-default {
	border: 0;
	border-color: #fff;
	background-image: none!important;
}

.navbar, .navbar-default, .navbar-fixed-top {
	background-color: #ffffff!important;
}
.navbar {
	background-color: #ffffff!important;
	border: 0;
	box-shadow: none;
	-webkit-box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
}
.navbar-nav {
	float: right;
	background-color: #ffffff!important;
}
.navbar-brand {
	height: 50px;
}
.navbar-default .navbar-nav>li>a	{
	font-family: 'kelson_sansregular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	text-transform: uppercase;
	font-weight:400;
	color: #434040;
	font-size: 14px;
	text-shadow: none;
	text-decoration: none!important;
	border-bottom-style: none;
	padding: 30px 30px;
	letter-spacing: 0.02em;
}
.navbar-default .navbar-nav>li>a:hover {
	color: #0b9444;
	text-decoration: none;
	background: none;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
	background: none;
	color: #0b9444;
}
.navbar-default .navbar-nav>.active>a {
	background: none;
	background-image: none;
	box-shadow: none;
	color: #0b9444;
}
.navbar>.container .navbar-brand {
	margin-left: 0;
}

nav.navbar.shrink {
  	min-height: 35px;
  	-webkit-box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 8px 6px rgba(0,0,0,0.2);
}
nav.shrink a {
	margin-top: 6px!important;
	padding-top: 12px !important;
	padding-bottom: 10px !important;
	font-size: 13px!important;
}
nav.shrink h1.navbar-brand.logo {
	height: 35px!important;
	width: 200px;
	background: url(../img/hembury-fort-logo-small.png) no-repeat 0 0;
	margin-top: 10px;
}

nav.shrink .navbar-toggle {
  	padding: 4px 5px;
  	margin: 8px 15px 8px 0;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
background-color: #cccccc!important;
color: #333333;
text-transform: uppercase;
font-size: 16px;
background-image:none;
font-weight: 400;
}

/*h1.navbar-brand.logo {
	margin: 10px 0 10px 0;
	height: 62px;
	width: 234px;
	background: url(../img/hembury-fort-logo-small.png) no-repeat 0 0;
	font: 0/0 a;
    text-shadow: none;
    color: transparent;
	display: block;
}*/

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}


/* ==========================================================================
   Back to top Button
   ========================================================================== */
.go-top {
	position: fixed;
	bottom: 1em;
	right: 2em;
	text-decoration: none;
	color: white;
	background-color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	padding: 1em;
	display: none;
}
.go-top:hover {
	background-color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
	color: #fff;
}

/* ==========================================================================
   Carousel
   ========================================================================== */
   
.carousel-caption {
	position: absolute;
	top: 26px;
	left: 0;
	line-height: 1.4; 
  	padding: 7px 0 6px 0; 
  	border-left: 20px solid #fff;
	width: 30%;
  	/*margin: 20px auto;*/
	text-align: left;
	text-shadow:none;
	color: black;
}
.carousel-inner>.item {
	-webkit-transition: -webkit-transform 1s ease-in-out;
	-o-transition: -o-transform 1s ease-in-out;
	transition: transform 1s ease-in-out;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-perspective: 1000;
	perspective: 1000;
}
.carousel-caption h1 { 
  	background-color: #fff;
  	padding: 4px 0;
  	color: #fff; 
  	display: inline;
  	margin: 0; 
	color: #434040;
	font-size: 28px;
}
.carousel-caption h1 strong { 
  	position: relative;
  	left: -10px;
	font-weight: 300;
}

/* ==========================================================================
* 	Owl Carousel Owl
*	v1.3.3
   ========================================================================== */

.owl-theme .owl-controls{
	margin-top: 10px;
	text-align: center;
}

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div{
	color: #FFF;
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
	margin: 5px;
	padding: 3px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	background: #777777;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
	text-decoration: none;
}

/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
	display: inline-block;
	zoom: 1;
	*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
	display: block;
	width: 12px;
	height: 12px;
	margin: 5px 7px;
	filter: Alpha(Opacity=50);/*IE7 fix*/
	opacity: 0.5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #777777;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
	filter: Alpha(Opacity=100);/*IE7 fix*/
	opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
	height: auto;
	width: auto;
	color: #FFF;
	padding: 2px 10px;
	font-size: 12px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
	min-height: 150px;
	background: url(../img/AjaxLoader.gif) no-repeat center center
}
#owl .item{
        margin: 3px;
    }
    #owl .item img{
        display: block;
        width: 100%;
        height: auto;
    }

/* ==========================================================================
   Google maps
   ========================================================================== */
   
#map-canvas {
	width: 100%;
	height: 500px;
}
.gm-style-cc {
	display: none;
}
   
/* ==========================================================================
   Images
   ========================================================================== */

.img-responsive {
	margin-bottom: 20px;
}
/*.jumbotron.hls {
	background-image: url(../img/hls-page-header-image.jpg);
	background-repeat: no-repeat;	
}*/
.jumbotron.hls .img-responsive {
	margin-top: 0;
}
.img-responsive.centered {
	text-align: center;	
	margin: auto 0;
}
/* ==========================================================================
   Buttons
   ========================================================================== */

.buttons {
	text-align: center;
}
.btn.btn-center {
	float: none!important;	
}
.btn {
	border-radius: 0;
	font-size: 18px;
	float: right;
	margin: 10px 0 10px 10px;
}
button.btn.btn-warning {
	float: none;
	margin-left: 0;
}
.btn-default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
	text-shadow: none;
	box-shadow: none;
	background-image: none;
	border: none;
	text-transform:uppercase;
}
.btn-success {
	background-color: #8dc63f;
}
.btn-success:hover {
	background-color: #0b9444;
}
/* ==========================================================================
   Contact Form
   ========================================================================== */
#contact-form {
    width:100%;
    padding:20px;
    margin: 0 auto;
    position:relative;
}
#contact-form input, 
#contact-form select, 
#contact-form textarea, 
#contact-form label {
    font-size:16px;
    margin-bottom:2px;
}
 
#contact-form input, 
#contact-form select, 
#contact-form textarea {
    width:100%;
    border: 1px solid #cdc8c8;
    margin-bottom:20px;
    padding:4px;
}
 
#contact-form input:focus, 
#contact-form select:focus, 
#contact-form textarea:focus {
    border: 1px solid #AFCDD8;
    background-color: #f7f7f7;
}
 
#contact-form textarea {
    height:150px;
    resize: none;
}
 
#contact-form label {
    display:block;
}
 
#contact-form .required {
    font-weight:bold;
    color:#F00;    
}
 
#contact-form #submit-button {
    width: 100px;
    color:#FFF;
    border:none;
    display:block;
    float:right;
    margin-bottom:0px;
    background-color:#8dc63f;
}
 
#contact-form #submit-button:hover {
    background-color: #0b9444;
}
 
#contact-form #submit-button:active {
    position:relative;
    top:1px;
}
 
#contact-form #loading {
    width:32px;
    height:32px;
    background-image:url(../img/loading.gif);
    display:block;
    position:absolute;
    right:130px;
    bottom:16px;
    display:none;
}
 
#errors {
    border:solid 1px #E58E8E;
    padding:10px;
    margin:25px 0px;
    display:block;
    width:437px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#FFE6E6 url(../img/cancel_48.png) no-repeat 405px center;
    display:none;
}
 
#errors li {
    padding:2px;
    list-style:none;    
}
 
#errors li:before {
    content: ' - ';    
}
 
#errors #info {
    font-weight:bold;
}
 
#errors #info:before {
    content: '';    
}
 
#success {
    border:solid 1px #83D186;
    padding:25px 10px;
    margin:25px 0px;
    display:block;
    width:437px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#D3EDD3 url(../img/accepted_48.png) no-repeat 405px center;
    font-weight:bold;
    display:none;
}
 
#errors.visible, #success.visible {
    display:block;    
}
 
#req-field-desc {
    font-style:italic;
}
 
/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, textarea:required {
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    -o-box-shadow:none;
    box-shadow:none;
}
 
/* Normalize placeholder styles */
 
/* chrome, safari */
::-webkit-input-placeholder {
    color:#CCC;
    font-style:italic;
}
 
/* mozilla */
input:-moz-placeholder, textarea:-moz-placeholder {
    color:#CCC;
    font-style:italic;
}
 
/* ie (faux placeholder) */
input.placeholder-text, textarea.placeholder-text  { 
    color:#CCC;
    font-style:italic;
}
/* ==========================================================================
   Footer
   ========================================================================== */

.footer-logo {
	max-width: 180px;	
}

@media (max-width:767px){
	
.navbar-nav {
	float: left;
}
.navbar-default .navbar-nav>li>a {
	padding: 10px 10px;
}
.navbar-toggle {
	background-color: #ccc;
}
.navbar-inverse .navbar-toggle	{
	border: none;	
}
h1.navbar-brand.logo {
	margin-left: 15px;
}
#map-canvas {
 	display: none;	
}
.carousel-caption {
padding: 6px 0 3px 0;
border-left: 12px solid #fff;
}
.carousel-caption h1 { 
	font-size: 18px;
}
}

@media (min-width:1200px){
.row {
		margin-bottom: 10px;
		margin-top: 20px;
}
}

@media (min-width:768px){
.img-responsive {
	margin-top: 20px;
}
.navbar-default .navbar-nav>li>a	{
	padding: 28px 25px;
}
}


.popup__overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  text-align: center;
  z-index: 100;
}

.popup__overlay:after {
  display: inline-block;
  height: 100%;
  width: 0;
  vertical-align: middle;
  content: "";
}

.popup {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 840px;
  max-height: 620px;
  background: black;
  color: white;
  vertical-align: middle;
}

.popup-form__row {
  margin: 1em 0;
}

.popup__close {
  display: block;
  position: absolute;
  top: 4px;
  right: 10px;
  width: 12px;
  height: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  line-height: 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: bold;
}

.popup__close:hover {
  color: #ffffff;
}

iframe {
  width: 100%;
  height: 100%;
}




