/* Original styles from Simon, now copied below: @import 'http://clever-click.co.uk/ig/castle/styles/styles.css'; */


/*Simon Styles*/

.CodeMirror-wrap .CodeMirror-scroll{
	height: 800px;
  overflow: scroll;
}

body{ font-family: 'texgyreherosregular';color: #545454;font-size: 14px;line-height: 25px;}
body.body-class-members {
    background: url(/images/resources/castletown/members-background.jpg) 50% 100%;
    background-attachment: fixed;
    background-size: cover;
}
a { color:  #4289d7;text-decoration: none; }
a:hover, a:focus {color:  #d2100e;text-decoration: none;}
ul{padding-left: 0;margin: 0;	}
h1, h2, h3, h4, h5, h6{font-weight:normal;color: #4289d7;line-height:30px;margin: 5px 0 15px;font-family: 'Bitter', serif; }
h1{ line-height: 25px;margin: 0 0 25px;font-size: 28px;font-weight: 100;}
h2{ font-size:23px;}
h3{ font-size:18px;}
h4{ font-size:16px; font-family: 'texgyreherosregular';}
h5{ font-size:14px; font-family: 'texgyreherosregular';}
p{	line-height: 24px;margin-bottom: 20px;}
ul{margin: 0;padding: 0;}
ul li{list-style: none;}
blockquote{padding: 10px 0 10px 18px;  border-left: 4px solid #4289d7;}
blockquote p{font-style: italic;font-size: 16px;font-weight: normal;}

/*Header*/
#header{padding: 10px 0;}
.header-wrapper{width: 100%;position: fixed;z-index: 10;}

/*Logo*/
#header .main-logo {padding: 5px 0;float: left;}
#header .main-logo img{float: left;padding-right:20px;}
#header .main-logo h1{color: #442723;font-size: 48px; color: #e20300; line-height: 40px;padding-top:10px;margin-bottom:15px;}
.main-slogan a:hover{text-decoration: none;}
.main-logo-mobile{display: none;}

/*Social links*/
.links{float: right;text-align: right;}
.links ul{margin-bottom: 0;}
.links ul li{display: inline-block;padding-left: 5px;}
.links ul li.social-link a:hover img{opacity: 0.5;}
.links .login{}
.links .login i{padding: 0 6px 0 0;color: #fff;}
.links .login a{color: #fff;}
.links .login a:hover{}

.book{display: block; color: #fff;border-radius: 3px;padding: 4px 10px;height: 23px;font-family: 'Bitter', serif;font-size: 14px; font-weight: normal;}
.book:hover{ color: #fff;text-decoration: none;}

@media (max-width:979px){
.social{display: none;}
#header .main-logo img{float: left;padding: 0 0 10px 0;}
#header .main-logo .main-slogan{float: left;padding-top: 10px;}
#header .main-logo h1{font-size: 20px;padding: 15px 0 0 10px;margin: 0;}
.links .login a span, .links ul li.social-follow{display: none;}
#header .top-nav{margin-top: 10px;}
.header-wrapper #header .main-logo{text-align: left;padding:0px }
#header .main-logo h1{font-size: 18px;padding-top:0;}
body .header-wrapper{background-image: none;background-color: #ffffff;min-height: 100px;}

.links .login:hover{
background-color: #767676;
border-bottom: 3px solid #545353;}

.links .login a{
	background: #969696;
	border: none;
	border-radius: 2px;
	border-bottom: 3px solid #767676;
	text-transform: uppercase;
	width: 81px;
	display: block;
	color: #fff;
	padding: 7px 9px 7px 0px;
	margin: 0;
	margin-top: 8px;
}
}
@media (max-width:767px){
	.links{padding: 7px 0;}
	#header .main-logo>img {display: none;}
	#header .main-logo-mobile{display: block;margin: 10px 0;}
	#header .main-logo-mobile>img{}
	#header .main-logo p {width: 65px; float: left;font-size: 16px;padding-top: 6px;line-height:23px;color: #fff;margin-left: 10px;}

.links .login a{
	margin-top: 0px;
}
}

/*Main Navigation*/

.header-wrapper .main-navigation{background-color: #4289d7;border-bottom:4px solid #3876bb;}
.header-wrapper  .navbar .navbar-inner {background: none;border: none;border-radius: 0;box-shadow: none;padding: 0;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4289d7', endColorstr='#4289d7', GradientType=0);}
.header-wrapper .navbar.navbar-inverse {width: 100%;margin: 0;}
.navbar .nav{width:100%;}
.header-wrapper   .navbar-inverse .nav > li{margin:0;display: inline-block;text-align: center;float: none;} 
.header-wrapper .navbar-inverse .nav > li.moredown{position: relative;}
.header-wrapper .navbar-inverse .nav > li.moredown > a:after{position: absolute;
content: "\f107";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    top: 16px;
    right: 3px;
    color: #fff;
    font-size: 18px;}
.header-wrapper   .navbar-inverse .nav > li:first-child a{}
.header-wrapper   .navbar-inverse .nav > li > a{color: #ffffff;text-transform: uppercase;font-weight: 300;padding: 15px 20px 15px 20px;letter-spacing: 1px;position: relative;font-size: 14px;}
.header-wrapper  .navbar-inverse .nav > li > a:focus, .header-wrapper  .navbar-inverse .nav > li > a:hover, .header-wrapper  .navbar-inverse .nav > li.current > a,
.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle{color: #fff;background: #3f79bb;}


.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu{background-color: #fff;margin: 0;}

.header-wrapper  .navbar-inverse .navbar-inner .dropdown-menu li{margin: 0px;}
.header-wrapper  .navbar-inverse .navbar-inner .dropdown-menu li a{padding: 5px 10px;}
.header-wrapper  .navbar-inverse .navbar-inner .dropdown-menu li:last-child{border-bottom: none;}
.header-wrapper  .navbar-inverse .navbar-inner .dropdown-menu{border: none;text-align: left;z-index: 100;border-radius: 0;}
.dropdown-menu > li.current > a:hover, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a{
	background-image:none;
	background-color: #00ADEF;
	color: white;
}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus{
	box-shadow: none;
}


/*Main Navigation Resposive*/ 

@media (max-width:1200px){
.header-wrapper .navbar-inverse .nav > li > a{font-size: 12px;padding:15px 14px;}
}

@media (max-width:979px){
	.header-wrapper{
		position: static;
		min-height: 0;
	}
	.header-wrapper .navbar.navbar-inverse {
		position: relative;
		margin-bottom: 0;
}
.main-navigation .login{position: absolute;top: -95px;right: 0;}
.navbar .nav{margin: 0;}

.navbar .nav{display: block;}
.header-wrapper .navbar-inverse .btn-navbar {
    background: #969696;
    border: none;
    border-radius: 2px;
    border-bottom: 3px solid #767676;
    text-transform: uppercase;
    width: 90px;
    display: block;
    color: #fff;
    padding: 7px 10px 7px 10px;
    margin: 0;
    right: 0;
    position: absolute;
    top: -55px;
}
	.nav-collapse .dropdown-menu{background-image:none; }
	.nav li.nav-level-2, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a{background-image: none !important;}
	.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu{text-align: left;background-color: #3f79bb;padding: 0 0 0 30px;}
	.header-wrapper .navbar-inverse .navbar-inner{
		margin-top: 0;
		margin-right: 0;
	}
	.header-wrapper .navbar-inverse .nav > li > a:before:focus, .header-wrapper .navbar-inverse .nav > li > a:hover:before, .header-wrapper .navbar-inverse .nav > li.current > a:before, .navbar-inverse .nav li.dropdown.open > .dropdown-toggle:before, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle:before, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle:before{display: none;}

	.header-wrapper .navbar-inverse .btn-navbar .club-menu-button{
		color: #ffffff; 
		text-transform: uppercase;
		font-size: 16px;

	}
	.navbar-inverse .btn-navbar:hover, .navbar-inverse .btn-navbar:focus, .navbar-inverse .btn-navbar:active, .navbar-inverse .btn-navbar.active, .navbar-inverse .btn-navbar.disabled, .navbar-inverse .btn-navbar[disabled]{
		  background: #767676;
  border-bottom: 3px solid #545353;
	}
	.header-wrapper .navbar-inverse .btn-navbar .club-menu-button:hover, .header-wrapper .navbar-inverse .btn-navbar .club-menu-button:focus#header .main-logo img {
		color: #fff;
	}
	.header-wrapper .navbar-inverse .btn-navbar .club-menu-button-lines{
		float: left;
		margin: 3px 5px 0 0;
	}
	.header-wrapper .navbar-inverse .btn-navbar .club-menu-button-lines .icon-bar{
		background: #ffffff;
		box-shadow: none;
		width: 14px;
	}
	.header-wrapper .navbar-inner{
		text-align: left;
		margin-top:70px; 
	}

	.header-wrapper .nav-collapse .nav > li{
		border-bottom: 1px solid rgb(222, 217, 203);
		border-right: none;
		text-align: left;
		margin: 0;
    	display:block;
	}
	.header-wrapper .nav-collapse .nav > li a{
		color: #fff;
		border: none;
		font-size:16px;
	}
	.header-wrapper .nav-collapse .nav > li:first-child a, .header-wrapper .nav-collapse .nav > li a{
		padding: 15px 0 15px 15px;
	}
  .header-wrapper .navbar-inverse .nav > li.moredown a:after {font-size: 20px;right: 10px;}
	.header-wrapper .navbar-inverse .nav > li.open a:after{-moz-transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}
	.header-wrapper .nav-collapse .nav > li:last-child{
		border:none;
	}
	.header-wrapper .navbar-inverse .nav-collapse .nav > li > a:hover, 
	.header-wrapper .navbar-inverse .nav-collapse .nav > li > a:focus, 
	#header .navbar-inverse .nav-collapse .dropdown-menu a:hover, 
	#header .navbar-inverse .nav-collapse .dropdown-menu a:focus{
		background-color: #3f79bb;
	}

	.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu li{
		border: none;
		border-bottom: 1px dashed #dbd3bf;
	}
	.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu li:last-child{border:none;}
	.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu li a{
		padding: 15px 0;
	}

	.header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu li  a{
		color: #fff;
		font-weight:500;

	}
	.header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu > li > a:hover, 
	.header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu > li > a:focus, 
	.header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu a:hover, 
	.header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu a:focus{
		background-color: #3f79bb;
		color: #fff;
	}

}


@media (max-width:767px){
	.header-wrapper .main-navigation .login, body .header-wrapper .navbar-inverse .btn-navbar{right: 15px;}
	body{
		padding: 0;
	}
	#header{
		min-height: 100px;
	}
	.club-maincontent .home-main-content .home-title h1{
		line-height: 27px;
	}
	.header-wrapper .navbar-inverse .btn-navbar{
		right: 0;
		top: -48px;;
	}
}






/*Main Wrapper Content*/
.main-wrapper{padding-top:  177px;}
.main-wrapper > .container{width: 100%;}
.main-wrapper #globalwrap{padding-top:0;}

/*Sldier*/
.page-slider .galleryInner {overflow: visible !important;width: 100% !important;height: auto !important;}
.page-slider .galleryWrapperNivo{position:relative;}
.page-slider .galleryInner img{width: 100% !important;height: auto !important }
.page-slider .nivo-controlNav a{	width: 20px;	height: 20px;}
.page-slider .galleryInner .nivo-directionNav a{	width: 60px;	height: 60px;	display: block;}
.page-slider .nivo-controlNav-Wrapper {	width: 300px;	bottom: 0;	left: 0;	right: 0;margin:0 auto;z-index: 8;}
.page-slider .nivo-caption { z-index: 8; background: none;opacity: 10;bottom: 50px;-moz-opacity: 1; width: auto;left: 50px;filter: alpha(opacity=100);padding: 0;}
.page-slider .nivo-caption h4 {font-family: 'Bitter', serif; font-style:italic; ;color: #fff;font-size: 37px;text-shadow: 1px 1px 0 #333;text-transform: capitalize; line-height: 37px;}
.nivo-caption > p{margin: 0; padding: 0;  font-size: 30px;}
.nivo-controlNav-Wrapper .nivo-controlNav a[rel="0"] {display: none;}

}

/*Home Page*/
@media (max-width:1200px){

}

@media (max-width:979px){
.main-wrapper{padding: 0;}
.page-slider .nivo-caption h4{font-size: 20px;}
}

@media (max-width:767px){
	.page-slider .nivo-caption{display: none !important;}
}

/*Home Page*/
.home-maincontent{padding: 30px 0; }
.home-page-title{text-align: center;padding: 20px 0;}
.home-page-title >div>div{float: none !important;}
.home-page-title >div>div h1{position: relative;display: block;margin: 0 auto 10px auto;width: 100%;}
.home-page-title h1:after{ content: ""; position: absolute; background: #3f79bb;height: 1px;width: 400px;top: 10px;right: 0;;}
.home-page-title h1:before{ content: ""; position: absolute; background: #3f79bb;height: 1px;width: 400px;top: 15px;left: 0;}



.home-page-boxes{margin:0 0 30px 0;}
.home-maincontent .home-page-boxes .box{position: relative;}
.home-maincontent .home-page-boxes .box img,
.inner-page .inner-content .page-slider img,
.inner-page .inner-content img,
.inner-page .inner-content .hole-gallery img {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.home-maincontent .home-page-boxes .box img:hover{background-color: #d2100e;}


.home-box-title{margin:15px;position: relative;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
.home-box-title ul{bottom: 30px; background-color: rgba(255,255,255,0.7);display: block; width: 100%;; padding: 15px 0px 15px 30px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;margin: -120px 0 0 0;}
.home-box-title ul li a{color: #444444;position: relative;}

.home-box-title ul li a:before{ 
	content: "\f105";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  display:block;
  position: absolute;
  bottom: 0;
  color: #444444;
  font-size: 16px;
  z-index: 1;
  border:none;
  left: -12px;
  right: 0;
}

.home-box-title ul li a:hover, .home-box-title ul li a:hover:before{text-decoration: none; color: #4289d7;}

/*jcarousel box*/
.news-control{position: relative;width: 100%;z-index: 10;}
.news-controls{margin-top: 0;}
.news-controls a i{color: #4289d7;padding-right: 5px;}
.news-controls.left{float: left;position: absolute;left: 0px;top: 120px;}
.news-controls.right{float: right; position: absolute;right: 0px;top: 120px;}

.home-page-boxes{width: 100%;}
.jcarousel {overflow: hidden;position: relative;width: 1120px; margin: 0 auto;}
.jcarousel .boxes{position: relative;width: 3000px;}
.jcarousel .box {float: left; width: 257px; margin-left: 23px;}


@media (max-width:1200px){
.news-controls.left{float: left;position: absolute;left: 0px;top: 80px;}
.news-controls.right{float: right; position: absolute;right: 0px;top: 80px;}

.jcarousel {overflow: hidden;position: relative;width: 900px; margin: 0 auto;}
.jcarousel .boxes{position: relative;width: 3000px;}
.jcarousel .box {float: left; width: 202px; margin-left: 23px;}
}

@media (max-width:979px){
.news-controls.left{float: left;position: absolute;left: 0px;top: 70px;}
.news-controls.right{float: right; position: absolute;right: 0px;top: 70px;}

.jcarousel {overflow: hidden;position: relative;width: 660px; margin: 0 auto;}
.jcarousel .boxes{position: relative;width: 3000px;}
.jcarousel .box {float: left; width: 197px; margin-left: 23px;}
}



.home-page-main-content{margin: 40px 0 0;}
.home-page-main-content .galleryInner{background: none;margin: 0 auto;width: 100% !important;}
.home-page-main-content .galleryInner img{display: none !important;}
.home-page-main-content .galleryWrapper{position: relative;}
.home-page-main-content .galleryInner .nivo-directionNav{width: 200px;display: block !important;position: absolute;margin: 0 auto;left: 0;right: 0;bottom: 34px;}
.home-page-main-content .galleryInner .nivo-directionNav a{}

.home-page-main-content  .nivo-controlNav-Wrapper{bottom: 5px;opacity: 100;}

/*Caption*/
.home-page-main-content .galleryInner .nivo-caption{background: rgba(0,0,0,0); width: 100%; height: 150px;-moz-opacity: 1;
    filter: alpha(opacity=100);opacity: 1; text-align: center; position: relative; }
.home-page-main-content .galleryInner .nivo-caption h1{color: #333333;font-size: 22px;font-family: 'Bitter', serif; font-style: italic;padding: 10px 0 0 ;margin: 0;}
.home-page-main-content .galleryInner .nivo-caption p{ color: #333333;font-family: 'Bitter', serif; font-style: italic;font-size: 20px; line-height: 30px;}
.home-page-main-content .galleryInner .nivo-controlNav a.active{background-position: 0 -23px;}

.home-page-main-content .nivo-controlNav a{position:relative;width: 35px; height: 24px;}
.home-page-main-content .nivo-controlNav a:after{
  	content:"";
  	position: absolute;
  	top: 15px;
  	right: 0;
  	width: 14px;
  	height: 3px;
}
.home-page-main-content .nivo-controlNav a:last-child:after{background-image: none;}


.main-content{}
.main-content h2{color: #d2100e;margin-bottom: 30px;font-style: italic;}
.main-sidebar h4{color: #d2100e;}
.main-sidebar .status{border-bottom: 1px solid #969696;border-top: 1px solid #969696;padding: 3px 0; }
.main-sidebar .status > div{border-bottom: 1px solid #969696;border-top: 1px solid #969696;}
.main-sidebar .status h3{display: none;}
.main-sidebar .status p{margin: 20px 0;}
.main-sidebar .status p span{font-size: 16px !important;}

.weather .weathers{text-align: left;margin: 20px 0 0;}
.weather .weathers h2{font-size:17px; margin:0px;}
.weather .weathers .weatherSingle{position: relative; display: inline-block;}
.weather .weathers .weatherImage{position: absolute;top: 0;background-color: #f7eae6; border-radius: 50%;}
.weather .weathers .weatherImage img{}
.weather .weathers .weatherDate{margin:18px 0 0 130px;color: #969696;font-size: 30px;font-weight: bold;}
.weather .weathers .weatherTemp{margin-left: 130px;margin-top: 15px; color:#d2100e;font-weight: bold;font-size: 30px;line-height: 23px}





/*Home page resposive*/
@media (max-width:1200px){
.home-page-title h1:before, .home-page-title h1:after{width: 250px;}
.home-box-title{margin: 5px;}
.home-box-title ul{padding: 10px 0 10px 20px;bottom: 10px;}
.home-page-main-content .nivo-controlNav-Wrapper{bottom: -10px}
.home-page-main-content .galleryInner .nivo-directionNav{bottom: 18px;}
}

@media (max-width:979px){
.home-page-title{padding: 0;}
.home-page-title h1:before, .home-page-title h1:after {width: 150px;}
.home-box-title ul{padding:3px 0 3px 18px;}
.home-box-title ul li a{font-size: 14px;display: block;padding: 2px 0;}
.home-box-title ul li a:before{font-size: 16px;left: -11px;top: 1px;}

#globalwrap .home-page-main-content  .nivo-caption{background-color: rgba(255,255,255,0.6);height: 130px;}
#globalwrap .home-page-main-content .nivo-caption > p, .home-page-main-content .galleryInner .nivo-caption h1{font-size: 14px;line-height: 20px;}
}

@media (max-width:767px){
.home-maincontent{padding: 20px;}
.home-page-title >div>div h1{line-height: 35px;}
.home-page-title h1:before, .home-page-title h1:after {display: none;}
.club-maincontent .home-page-boxes .box {margin: 0px auto 20px auto !important;max-width: 270px;width: 100%;min-height: 280px;}
.club-maincontent .home-page-boxes .box img{}

.news-controls {display: none;}
.jcarousel {overflow: hidden;position: relative;width: 100%;}
.jcarousel .boxes{position: relative;width: auto;}
.jcarousel .box {float: none; width: 270px; margin:0 auto;}

.galleryWrapper .nivo-controlNav, .galleryWrapper .nivo-directionNav{display: none !important;}
div#header {padding: 0px 15px;text-align: center;}
.home-box-title ul{padding: 10px 0 10px 20px;}
.home-box-title ul li a{font-size: 20px;display: block;padding: 5px 0;}
.home-box-title ul li a:before{font-size: 18px;top: 5px;left: -12px;}

#globalwrap .home-page-main-content .galleryInner{height: 200px !important;}
#globalwrap .home-page-main-content .galleryInner .nivo-caption{height: 170px;}
.home-page-main-content .galleryInner .nivo-caption p, .home-page-main-content .galleryInner .nivo-caption h1{font-size: 16px;line-height: 22px;}
.home-page-main-content .galleryInner .nivo-directionNav, .home-page-main-content  .nivo-controlNav-Wrapper{display: none !important}
}

@media (max-width:500px){
.home-page-main-content{margin:0px;}
.home-page-boxes{margin: 20px 0;}
#globalwrap .home-page-main-content .galleryInner{height: 240px !important;}
.home-page-title h1:before, .home-page-title h1:after {display: none;}
#globalwrap .home-page-main-content .galleryInner .nivo-caption{height: 240px;overflow: visible;max-width: 100%;padding: 30px 0;}
.home-page-main-content .galleryInner .nivo-caption p, .home-page-main-content .galleryInner .nivo-caption h1{font-size: 16px;line-height: 25px;}
}

@media (max-width:350px){
#globalwrap .home-page-main-content .galleryInner{height: 300px !important;}
#globalwrap .home-page-main-content .galleryInner .nivo-caption{height: 300px;}
.home-page-main-content .galleryInner .nivo-caption p, .home-page-main-content .galleryInner .nivo-caption h1{}
}

/*Inner page*/
.club-maincontent{background-color: #fff;padding: 20px 0 0;}

.inner-navigation{width: 100%;background-color: #545454;min-height: 50px;z-index: 8;position: relative;}
.inner-navigation h2{display: none;}
/*.inner-navigation ul{  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}*/
.inner-navigation ul{text-align:center;}
.inner-navigation ul li{ text-align: center;flex-grow: 1; display: inline-block;}
.inner-navigation ul li a{line-height: 50px;position: relative;color:#cacaca;padding:15px 40px;}
.inner-navigation ul li.current a, .inner-navigation ul li a:hover{color: #fff;text-decoration: none;}
.inner-navigation ul li a:hover:before, .inner-navigation ul li.current a:before{
    content: "\f0d8";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    display: block;
    position: absolute;
    bottom: -22px;
    color: #ffffff;
    font-size: 28px;
    z-index: 1;
    margin: 0 auto;
    border: none;
    left: 0;
    right: 0;
}
.body-class-members .inner-navigation .container div{color: #fff;}
.inner-page .main-sidebar.first h3:after{display: none;}
.main-sidebar h1, .main-sidebar h2, .main-sidebar h3, .main-sidebar h4, .main-sidebar h5, .main-sidebar p{color: #c91515;position: relative;font-family: 'texgyreherosregular';display: block;width: 90%;}
.main-sidebar h1:after, .main-sidebar h2:after,.main-sidebar h3:after,.main-sidebar h4:after,.main-sidebar h5:after{border-bottom:2px solid #c91515;position: absolute;content: "";width: 100%; height: 2px;left: 0;bottom: -25px;}
.main-sidebar h1{font-size: 51px;}
.main-sidebar h2{font-size: 36px;}
.main-sidebar h3{font-size: 26px;}
.main-sidebar h4{font-size: 20px;}
.main-sidebar h5{font-size: 16px;}


.inner-page{padding: 30px 0;}
.inner-page .inner-content ul li{padding-left: 13px;padding-bottom: 10px; font-size: 16px;line-height: 23px;}
.inner-page .page-slider .nivo-controlNav-Wrapper{display: none;}

.inner-content ul li{position: relative;padding-left: 12px;}
.inner-content ul li:before{content: "\f054";font-family: FontAwesome;font-style: normal;font-weight: normal;text-decoration: inherit;color: #4289d7;font-size: 10px; display: inline-block; padding: 0;    margin: 0px 5px 0px 0;position: absolute;top: 0px;left: 0;}

#map_container {width: 100% !important;}

/*Table style*/
.table thead th{ color: #4289d7;padding: 15px;font-weight:normal; text-transform: capitalize;background-color: rgba(0,0,0,0);}
.table tbody td{border:none; border-top: 1px solid #e4e4e4;text-align: left;padding: 15px;font-size: 16px;}
.body-class-members .table tbody td { padding: 6px; }
.table tbody tr:nth-child(2n+1) td {background-color: #f2f2f2;}
.table tbody tr:last-child td {border-bottom:none;}

@media (max-width:1200px){
  .header-wrapper .navbar-inverse .nav > li.moredown a:after{font-size:14px;right:2px;}
.inner-navigation ul li a{font-size: 13px;}
}

@media (max-width:979px){
.inner-navigation{display: none;}
.inner-navigation ul{display: block;width: 100%;}
.inner-navigation ul li{display: block;text-align: left;margin: 0 10px;}
.inner-navigation ul li a{padding: 0 0 0 20px; display: block;border-bottom: 1px dashed #cacaca;}
.inner-navigation ul li a:hover:before, .inner-navigation ul li.current a:before{display: none;}
.inner-navigation ul li a:hover:before, .inner-navigation ul li.current a:before{
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    display: block;
    position: absolute;
    bottom: 0px;
    color: #cacaca;;
    font-size: 20px;
    z-index: 1;
    margin: 0 auto;
    border: none;
    left: 5px;
    right: 0;
}
.inner-navigation ul li a:hover:before{color: #ffffff;}
.inner-navigation ul li:last-child a{border:none;}
.table thead th, .table tbody td{font-size: 9px;padding: 0px;}
  .header-wrapper .navbar-inverse .nav > li.moredown a:after{right:4px;font-size:18px;} 
}
@media (max-width:767px){
.main-wrapper .inner-content.pull-right, .main-sidebar.inner-sidebar{float: none;}
}


/*Hole navigation*/
.hole-page .inner-navigation{height: 50px;background-color: #13140b;display: block;}
.hole-page .inner-slider + .hole-nav{margin: 30px 0;}
.hole-page .hole-nav > div{padding: 2px 0;float: left;}
.hole-page .hole-nav .menu-section ul {display: block;}
.hole-page .hole-nav .menu-section ul li{display: inline-block;}
.hole-page .hole-nav{padding: 6px 0 0;}

.hole-page .hole-nav .menu-section ul li a{color: #cacaca;padding: 0px;position: relative;font-size: 15px;font-weight: 500;display: block;width: 30px; line-height:35px;transition: all 0.2s ease;-moz-transition: all 0.2s ease;-webkit-transition: all 0.2s ease;}
.hole-page .hole-nav .menu-section ul li a:hover, .hole-page .hole-nav .menu-section ul li.current a{text-decoration: none;color: #fff;background-color: #13140b;}
.hole-page .inner-navigation .hole-nav{width: 60%;margin: 0 auto;}
.hole-page .inner-navigation ul{width: 100%;}
.hole-page .inner-navigation ul li a:before{bottom: -23px;}
.hole-page .hole { float: left; width: 15px; height: 22px; padding: 6px 0; text-align: center; color: rgb(255, 255, 255); display: inline-block; font-weight: 400; margin: 0 10px 0 0;}
.hole-page .hole-nav a i{transition: all 0.2s ease;-moz-transition: all 0.2s ease;-webkit-transition: all 0.2s ease;}
.hole-page .prev.hole{}
.hole-page .next.hole{margin:0 0 0 10px;}   
.hole-page .hole i{color: #ffffff;font-size: 22px;}
.hole-page .hole a:hover i{color: #fff;}
.hole-page .hole:hover span{color: #fff;}
.menu-section h2 {display: none;} 

.hole-page  .club-maincontent  .inner-page .container{width: 825px;padding-left: 100px;}

.main-content-hole.left{text-align: center;border-right: 1px solid #d6d6d6;}
.main-content-hole.center{text-align: center;;}
.main-content-hole>div{padding: 2px 40px 0 0;}
.main-content-hole.center>div{text-align: center;padding-right: 70px;}
.main-content-hole.left>div{text-align: right;}
.main-content-hole.left>div h2{font-size: 20px;}
.main-content-hole.center>div h4{font-size: 15px;}
.main-hole{text-align: left;border-left: 1px solid #d6d6d6;}
.main-sidebar-hole{position: relative;}
.main-sidebar-hole>div{padding-left: 50px;}
.main-sidebar-hole:before {
    content: "\f073";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 30px;
    color: #4289d7;
}
.hole-page .club-maincontent.page  .inner-page .container{width: 1170px;}

@media (max-width:1200px){
.hole-page .inner-navigation .hole-nav{margin: 0 auto;}
.hole-page .hole-nav .menu-section ul li a{padding: 0;}
.main-content-hole h2{font-size: 19px;}
.main-content-hole h4, .main-sidebar-hole h4{font-size: 16px;}
.main-content-hole.center{background-position: 0px 10px !important;}
.main-content-hole>div {padding: 0 20px;}
.hole-page .club-maincontent .inner-page .container{padding-left: 50px;}
.main-content-hole.center>div{padding-right: 70px;}
.hole-page .club-maincontent.page  .inner-page .container{width: 960px;}
}

@media (max-width:979px){

.hole-page .inner-navigation{display: block;}
.hole-page .inner-navigation{height: auto;}
.inner-navigation ul li a{border:none;}
.hole-page .inner-navigation .hole-nav{padding: 0;}
.hole-page .hole-nav .menu-section ul { text-align: center; }
.hole-page .hole-nav .menu-section ul li{text-align: center;margin: 1px;}
.hole-page .hole-nav .menu-section ul li a {padding: 0; background-color: transparent; color: #fff; font-size: 12px; width: 35px;}
.hole-page .hole-nav .menu-section ul li a:hover, .hole-page .hole-nav .menu-section ul li.current a{  background-color: #767676;color: #fff;}
.hole-page .hole-nav .menu-section ul li a:before {display: none;}
.hole-nav > a{display: none;}
.hole-nav .clear{display: none;}
.main-content-hole h2{text-align: center;}
.main-content-hole, .main-content-hole.center{background-position: 0 10px !important;}
.main-content-hole h4, .main-sidebar-hole h4{margin-top: 5px;text-align: center;}
.main-sidebar-hole:before{left: 0;right: 0;margin: 0 auto;display: block;width: 30px;}
.hole-page .club-maincontent.page  .inner-page .container{width: 724px;}
.main-content-hole.center>div{padding-right: 70px;}
.main-sidebar-hole>div{padding-left:0; }
}

@media (max-width:767px){
.inner-page, .club-maincontent {padding:20px 10px 0;}
.main-sidebar h1:after, .main-sidebar h2:after, .main-sidebar h3:after, .main-sidebar h4:after, .main-sidebar h5:after{display: none;}
.main-content-hole.center, .main-sidebar-hole{padding: 20px 0 0;}
.hole-page .hole-nav > div{width: 410px;margin: 0 auto;padding: 3px 0; float: none;}
.hole-page .inner-navigation .hole-nav{width: 100%;}
.hole-page .hole-nav > div{ width: 360px;}
.main-content-hole h4, .main-sidebar-hole h4{margin-top: 14px;}
.main-content-hole.left{border:none;}
.hole-page .club-maincontent .inner-page .container{width: 100%;padding-left: 0;}
.main-content-hole.center{background-position: center 0 !important; }
.main-content-hole.center>div{padding: 0;}
.hole-page .club-maincontent.page  .inner-page .container{width: 100%;}
}

@media (max-width:415px){
.hole-page .hole-nav > div{width: 320px;}
}



/*Main Footer*/
.footer .club-footer {display:block;}
.body-class-home .footer .club-footer {display:none;}
/*Top Footer*/
.club-footer{background:rgba(84, 84, 84, 0.7);padding: 20px 0;}
.club-footer h4{color: #fff; text-transform: uppercase; font-size: 15px;}

.club-footer .course h3{display: none;}
.club-footer .course p, .club-footer .course p i{color: #fff; font-size: 16px;}


.club-footer.main-footer h4{text-transform: uppercase;font-family: 'ProximaNova-Light';padding:0;}
.club-footer.main-footer img{float:left;padding-right:20px;}
.club-footer.main-footer p {font-size: 15px;line-height: 20px;font-weight: 200;}
.club-footer .footer-info .span3 {margin-top: 10px;}

/*News*/
.news .news-item {position: relative;margin: 0;}
.news .news-item  h4.media-heading{margin: 25px 0 0 12px;font-size: 14px; line-height: 20px; font-family: 'texgyreheroscnregular'; font-weight: normal;}
.news .news-item  h4.media-heading:before{
	content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    display: block;
    position: absolute;
    bottom: 0;
    color: #fff;
    font-size: 16px;
    z-index: 1;
    border: none;
    left: 0px;
    top: 23px;
}
.news .news-summary br{display: none;}
.news .news-summary{margin: 0;}
.news .news-summary a{float: right;color:#C7BDBD;}
.news .news-summary a:hover{color: #d2100e;}
.news .news-item .news-date{ position: absolute;top:0;left: 0;}
.news .news-item .news-date .news-date-year, .news-item .news-date .news-date-nth{display: none;}
.news .news-item .news-date .news-date-day{ width:100%; color: #cbcbcb;}
.news .news-item .news-date .news-date-month{color: #cbcbcb;font-weight:500;font-size: 14px;padding: 2px 0 0 0;}

.open i, .open p{color: #fff;}
.details p{color: #ffffff}
.details a{color: #C7BDBD;}
.contact p{font-size: 17px}
.club-footer.main-footer p span{vertical-align: text-bottom;font-size: 16px;}
.club-footer.main-footer i{font-size:20px;padding: 3px 5px 0 0px;} 
.club-footer.main-footer .fa-twitter{color: #00a2ff;}
.club-footer.main-footer .fa-facebook-official{color: #3c64be;padding: 0 5px 0 30px;}
.club-footer.top-footer{background:#fff;padding:10px 0;}
.club-footer.top-footer .inside {width:100%;height:0;text-align:center;}
.club-footer.top-footer .inside img{position:relative;top:6px;} 	
.club-footer.top-footer h4 {display: inline-block;font-size: 17px;text-transform: uppercase;}

/*Weater Wrapper*/
.club-footer .weathers .weatherSingle {width: 23%;margin: 0px 0 0 10px;display: inline-block;text-align: center;position: relative;}
.club-footer .weathers h4{margin-bottom: 20px;}
.club-footer .weathers .weatherSingle .weatherDate { padding:0px; font-size: 15px;   margin: 65px 0 0px;   text-transform: uppercase;  color: #ffffff;}
.club-footer .weathers .weatherSingle .weatherTemp { padding:0;   color: #ffffff;   font-size: 22px;}
.club-footer .weathers .weatherSingle .weatherImage{	position: absolute;	top: 0;}
.club-footer .weathers .weatherSingle .weatherImage {width:55px;}

/*Middle Footer*/
.club-footer.main-footer input#submit, .club-footer.main-footer input#name{
	font-family:'Trykker',serif;
	color:#6a6a6a;
	font-size: 16px;
	display:block;
	box-shadow: 3px 3px 11px rgb(219, 214, 214) inset, 0 0 2px rgb(153, 153, 153);}
	
.club-footer.main-footer input#name{padding: 7px 15px;}
.club-footer.main-footer input#submit{padding: 7px 25px;text-transform:uppercase;border:none;border-radius:7px;}

/*first footer*/
.main-footer{padding: 10px 0;background-color: #474747;}
.main-footer .footer-address{float: left;margin: 6px 0 0; color: #fff;}
.main-footer .autor img{width: 110px !important;float:right;}


@media (max-width:1200px){
	.club-footer .weathers .weatherSingle .weatherDate{font-size: 13px;}
}
@media (max-width:979px){
.details a{font-size: 12px;}
.club-footer h4{line-height: 20px;}
.main-footer .footer-address{font-size: 14px;}
.club-footer .weathers .weatherSingle{width: 24%;}
.club-footer .weathers .weatherSingle .weatherDate{font-size: 11px;margin-top: 50px;}
.club-footer .weathers .weatherSingle .weatherTemp{font-size: 20px;}
.club-footer .weathers .weatherSingle .weatherImage{width: 45px;}
}
@media (max-width:767px){
.club-footer .weathers .weatherSingle .weatherImage{margin: 0 auto; left: 0; right: 0;}
.footer .club-footer .footer-info > div >div>div{border-bottom: 1px dashed #cbcbcb;padding: 10px 0;max-width: 70%;margin: 0 auto;}
.footer .club-footer .footer-info > div >div>div:last-child{border:none;}
.news .news-item .news-date{margin: 0 auto; left: 0;right: 0;}
.news .news-item h4.media-heading:before{display: none;}
.main-footer, .club-footer{text-align: center;padding: 10px 15px;}
.main-footer .footer-address, .main-footer .span4 .autor, .main-footer .span4 p{float: none;text-align: center;}
.main-footer .footer-address{margin-top: 10px; max-width: 100%;text-align: center;width: 100%;}
.footer-links{text-align: center;float: none;}
.main-footer .autor img{text-align: center;float: none;}

}


/*Mambers Styles*/
#statistics, #chartcontainer{
	border:2px solid rgb(250, 198, 35);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
}
.body-loginpage .club-footer, .body-class-members .club-footer, .body-class-members .login, 
 .php-competition  .club-footer, .body-class-opens  .club-footer{
	display: none;
}

.body-class-members .main-wrapper > .container,
.body-loginpage .main-wrapper > .container,
.php-competition .main-wrapper > .container,
.body-class-visitorbooking\/ .main-wrapper > .container,
.php-news  .main-wrapper > .container,
.body-class-opens .main-wrapper > .container{
	width: 1170px;
	padding: 0px;
}

.body-loginpage .main-wrapper{padding: 200px 0px 50px;}
.body-loginpage .main-wrapper #login, .body-class-members .main-wrapper #leftcontent > div, .body-class-members .main-wrapper #rightcontent > div{
	border:4px solid #3876bb;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #ffffff;
	padding: 10px 20px 5px 20px;
}
.body-class-members .header-wrapper .login a{
	display: none;
}
.body-class-members #header .top-nav{
background:none;}
.body-class-members #header .top-nav .loggedIn{color:rgb(250, 198, 35);}
.body-class-members #header .top-nav li{
	padding: 7px 3px;
}
.body-class-members #header .top-nav li:hover{
background:none;}
.body-class-members #header .top-nav li a{
	padding: 0px 5px 0 25px;
}
.body-class-members .header-wrapper, .body-loginpage .header-wrapper, .php-competition .header-wrapper{
    position: relative;
}
.body-class-members .main-wrapper, .php-competition .main-wrapper, .body-loginpage .main-wrapper{padding: 20px 0 60px;}

@media (max-width:1200px){
.body-class-members .main-wrapper > .container,
.body-loginpage .main-wrapper > .container,
.php-competition .main-wrapper > .container,
.body-class-visitorbooking\/ .main-wrapper > .container,
.php-news  .main-wrapper > .container,
.body-class-opens .main-wrapper > .container{
	width: 940px;
}
}


@media (max-width:979px){
.body-class-members .main-wrapper > .container,
.body-loginpage .main-wrapper > .container,
.php-competition .main-wrapper > .container,
.body-class-visitorbooking\/ .main-wrapper > .container,
.php-news  .main-wrapper > .container,
.body-class-opens .main-wrapper > .container{
	width: 724px;
}
.body-class-members .main-wrapper, .body-loginpage .main-wrapper{
	padding-top: 20px;
}
}


@media (max-width:767px){
.body-class-members .main-wrapper > .container,
.body-loginpage .main-wrapper > .container,
.php-competition .main-wrapper > .container,
.body-class-visitorbooking\/ .main-wrapper > .container,
.php-news  .main-wrapper > .container,
.body-class-opens .main-wrapper > .container {
	width: 100%;
}
.body-class-members .main-wrapper, .body-loginpage .main-wrapper{
	padding: 30px 15px;
}
.php-news .main-wrapper{padding:0 10px;}
#statistics, #chartcontainer, .table-striped{
	margin-bottom: 10px;
}
}
table {
         overflow-x: auto;
         }

/* No More Menu */ 
#topmenu ul#nav li.nav-menu-information ul li.nav-menu-information a[href='/information'] {
 display: none;
}

/*Sticky Footer*/
html {position: relative;min-height: 100%;}
body{margin:0;width: 100%; height: 100%}
.body-loginpage .footer, .php-competition .footer, .body-class-opens .footer{bottom: 0;width: 100%; position: absolute;}

/*Sticky Footer Removed from members*/
@media (max-width:767px){
body.body-inner .footer, .body-class-home .footer, .body-loginpage .footer{position: relative;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
}

/*.body-class-home .footer, .body-inner .footer{position: relative;}*/

/* End of Simon styles */

/*Home page for memebrsr only - remove the boxes carousel*/
.body-class-members .jcarousel{ overflow: hidden;}
.body-class-members .jcarousel .boxes { left: 0 !important; width:1200px !important;}
.body-class-members .jcarousel .box { display: inline-block; float: left; height: 326px;}
.body-class-members .home-maincontent{background-image:none;}
.body-class-members .news-control{display:none;}





@font-face {
    font-family: 'texgyreherosregular';
    src: url('/images/resources/castletown/texgyreheros-regular-webfont.eot');
    src: url('/images/resources/castletown/texgyreheros-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/images/resources/castletown/texgyreheros-regular-webfont.woff') format('woff'),
         url('/images/resources/castletown/texgyreheros-regular-webfont.ttf') format('truetype'),
         url('/images/resources/castletown/texgyreheros-regular-webfont.svg#texgyreherosregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


#header{background:url('/images/resources/castletown/home1_02.jpg') repeat-x;}
.book{background:url('/images/resources/castletown/h_03.jpg') repeat-x;}
.home-maincontent{background-image:url('/images/resources/castletown/BG_02.jpg');background-size:cover; background-repeat: no-repeat;}
.page-slider .galleryInner .nivo-directionNav a.nivo-prevNav {
  background: url('/images/resources/castletown/arrow_left.png') no-repeat;
}
.page-slider .galleryInner .nivo-directionNav a.nivo-nextNav {
  background: url('/images/resources/castletown/arrow_right.png')no-repeat;
}
.main-wrapper .page-slider .nivo-controlNav a{
  background-image:url('/images/resources/worsley/bulltets.png');
    background-repeat:no-repeat;
  background-position:0px 0px;
}
.main-wrapper .page-slider .nivo-controlNav a.active{
  background-position:0 -21px;
}
.home-page-main-content .galleryInner .nivo-directionNav a.nivo-prevNav {
  background: url('/images/resources/castletown/arrows_35.png') no-repeat;
}
.home-page-main-content .galleryInner .nivo-directionNav a.nivo-nextNav {
  background: url('/images/resources/castletown/arrows_38.png')no-repeat;
}
.home-page-main-content .nivo-controlNav a{
  background-image:url('/images/resources/castletown/arrows_32.png');
    background-repeat:no-repeat;
  background-position:0px 10px;
}
.nivo-controlNav a:after{
    background-image:url('/images/resources/castletown/arrows_41.png');
    background-repeat:no-repeat;
  background-position:0 0;
}
.main-content-hole.center{
    background-image:url('/images/resources/castletown/video.png');
    background-repeat:no-repeat;
  background-position:0 10px;
}

.videoContainer { width: 90%; }

/*Suzanne Styles 

.body-contentpage.body-public .main-sidebar #ytplayer{
  width:100%; height:auto;
  }
@media (min-width:0px) and (max-width:767px) {
  .body-contentpage.body-public .main-sidebar #ytplayer{
  width:280px !important; height:190px !important;
  }
}

@media (min-width:768px) and (max-width:979px) {
  .body-contentpage.body-public .main-sidebar #ytplayer{
  width:300px !important; height:200px !important;
  }
}

@media (min-width:980px) and (max-width:1199px){
  .body-contentpage.body-public .main-sidebar #ytplayer{
  width:300px !important; height:200px !important;
  }
}
*/

/* Suzanne Styles for location page */

.location-sidebar h3{font-size: 26px;}
.location-sidebar h3, .location-sidebar p{color: #c91515;position: relative;font-family: 'texgyreherosregular';display: block;width: 90%;}
.location-sidebar h3:after {
border-bottom: 2px solid #c91515;
    bottom: -25px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 100%;
}

/* anton styles */
.body-class-gallery .galleryInner{
  width: 100% !important;
  height: auto !important;
}

.page-slider {
  line-height: 0px;
}

.body-class-members:not(.php-index) #globalwrap {
  background-color: #FFFFFF;
  padding: 30px 20px;
  margin-bottom: 30px;
}

/*@media (min-width: 768px) {
  .body-class-members:not(.php-index) #globalwrap{
    padding: 30px 20px;
  }
}*/

.body-class-gallery .nivo-controlNav-Wrapper {
  display: none;
}

.body-contentpage .inner-content .galleryWrapper .nivo-controlNav-Wrapper{
  display: none;
}

.header-wrapper .navbar-inverse .navbar-inner .nav ul.dropdown-menu {
  background-color: rgba(63,121,187,0.75);
}

.dropdown-menu > li > a {
  color: white;
}

.header-wrapper .navbar-inverse .navbar-inner .dropdown-menu li {
    border-bottom: 1px solid white;
}

.nav ul.dropdown-menu > li.current a {
  background-color: #00ADEF;
}

.body-class-members.php-ckeditor #globalwrap{
  padding: 30px 0px;
}

@media (min-width: 0px) and (max-width: 767px) {
  .body-loginpage .footer, .php-competition .footer, .body-class-opens .footer, .php-news .footer{
    position: relative;
  }
}

/*@media (min-width: 768px) {
 body.php-news.body-public {
  margin-bottom: 380px;
 }
}*/

.php-ckeditor .page-slider{
  margin-bottom: 30px;
}

.inner-content-no-sidebar {
  margin-top: 30px;
}

#globalwrap .club-footer .image-night{
  background: transparent;
}

@media (min-width: 768px) {
  html {
    position: relative;
    min-height: 100%;
  }
  body.body-class-members {
    /* Margin bottom by footer height */
    margin-bottom: 56px;
  }
  .body-class-members .main-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 36px;
  }
}

.body-class-langness-bird-sanctuary .page-content .galleryInner {
  width: 100% !important;
  height: auto !important;
}

@media (min-width: 1200px) {
  .php-teelogin .main-wrapper{
    width: 1170px;
    margin: 0px auto;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .php-teelogin .main-wrapper{
    width: 940px;
    margin: 0px auto;
  }
  .hole-page .inner-navigation .hole-nav {
    width: 75%;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .php-teelogin .main-wrapper {
    width: 724px;
    margin: 0px auto;
  }
  .hole-nav ul {
    width: 410px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .php-teelogin .main-wrapper > .container{
    padding: 0px 15px;
  }
  .hole-nav .menu-section ul {
    width: 300px;
  }
}

.php-competition #globalwrap > #global div.contentbox:nth-child(2) {
  display: inline-block;
}

.invoicetable td {
  padding: 0px 8px;
}

.header-wrapper .navbar-inverse .nav > li > a {
  text-transform: initial;
}

@media (min-width: 0px) {
  .body-public .nav-level-2.nav-haslevel-3 .dropdown-menu {
    display: block;
  }
}

.home-footer .news .news-summary {
  color: white;
}

.home-footer .open {
  color: white;
}

.home-footer .open a {
  color: #C7BDBD;
}

@media (min-width: 980px) and (max-width: 1199px) {
  .home-footer .media > .pull-left {
    margin-right: 0px;
  }
  .home-footer .news .pull-left {
    float: none;
  }
  .news .news-item .news-date {
    position: relative;
    margin-bottom: 10px;
  }
  .news .news-item h4.media-heading {
    margin: 10px 0px 0px;
  }
  .news .news-summary {
    margin-bottom: 10px;
  }
  .news .news-summary br {
    display: block;
  }
  .news .news-summary a {
    float: none;
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .home-footer .media > .pull-left {
    margin-right: 0px;
  }
  .home-footer .news .pull-left {
    float: none;
  }
  .news .news-item .news-date {
    position: relative;
    margin-bottom: 10px;
  }
  .news .news-item h4.media-heading {
    margin: 10px 0px 0px;
  }
  .news .news-summary {
    margin-bottom: 10px;
  }
  .news .news-summary br {
    display: block;
  }
  .news .news-summary a {
    float: none;
    margin-bottom: 10px;
  }
}

@media (min-width: 0px) and (max-width: 767px) {
  .club-maincontent .home-page-boxes .box {
    min-height: auto;
  }
  .home-box-title ul {
    margin-top: 0px;
  }
  .news .news-item {
    margin-bottom: 20px;
  }
  .news .news-item .news-date {
    position: relative;
  }
  .home-footer .img-polaroid{
    width: 120px;
	margin: 0px auto;
  }
  .news .news-item h4.media-heading {
    margin: 10px 0px 0px;
  }
  .news .news-summary {
    margin-bottom: 10px;
  }
  .news .news-summary br {
    display: block;
  }
  .news .news-summary a {
    float: none;
    margin-bottom: 10px;
  }
  .home-maincontent {
    background-size:initial;
    background-repeat: repeat-y;
  }
}

.header-wrapper .logo {
  float: left;
}

.header-wrapper {
  background: #000000;
}

#header {
  background: none;
}

.header-wrapper .main-navigation {
  border: none;
  background: #000;
}

.header-wrapper .navbar-inverse .nav > li > a:focus, .header-wrapper .navbar-inverse .nav > li > a:hover, .header-wrapper .navbar-inverse .nav > li.current > a, .navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
  background: transparent;
  color: #bbb;
}

.main-wrapper {
  padding-top: 150px;
}

.main-footer {
  background: black;
}

.header-wrapper .social-link a {
  margin-right: 10px;
}

.header-wrapper .social-link a i {
  font-size: 22px;
  color: white;
}

.header-wrapper .navbar-inverse .navbar-inner .nav ul.dropdown-menu {
  background: rgba(0,0,0,0.75);
}

.dropdown-menu > li.current > a:hover, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
  background: transparent;
  color: #bbb;
}

.nav ul.dropdown-menu > li.current a {
  background: transparent;
  color: #bbb;
}

@media (min-width: 0px) and (max-width: 979px) {
  body .header-wrapper {
    background: #000;
  }
  .header-wrapper .navbar-inverse .btn-navbar {
    top: -48px;
  }
  .links .login a {
    margin-top: 0px;
    padding: 5px 9px 5px 0px;
  }
  .main-wrapper {
    padding-top: 0px;
  }
  .header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu li.current a {
    color: #bbb;
  }
  .header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu > li > a:hover, .header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu > li > a:focus, .header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu a:hover, .header-wrapper .navbar-inverse .nav-collapse .nav .dropdown-menu a:focus {
    background: transparent;
    color: #bbb;
  }
  .header-wrapper .navbar-inverse .nav-collapse .nav > li > a:hover, .header-wrapper .navbar-inverse .nav-collapse .nav > li > a:focus, #header .navbar-inverse .nav-collapse .dropdown-menu a:hover, #header .navbar-inverse .nav-collapse .dropdown-menu a:focus {
    background: transparent;
  }
}

.content {
  font-size: 16px;
  line-height: 28px;
}

.content form label {
  font-size: 16px;
  line-height: 28px;
  margin-top: 15px;
}

.content form textarea, .content form input, .content form select {
  width: 70%;
  height: 30px;
}

.content form textarea {
  height: 90px;
}

.content form input[type*="submit"] {
  width: auto;
  height: auto;
}

.content form input[type*="radio"] {
  width: auto;
  margin: 0px;
}

.content form input[type*="checkbox"] {
  width: auto;
  margin: 0px;
}

/* temp home fix */

.php-index.body-class-members {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  left: 0px !important;
  top: 0px !important;
  overflow: visible !important;
}

.body-class-members.body-contentpage .main-wrapper form label {
  margin-bottom: 15px;
  font-weight: 600;
}

/* end anton styles */