html, body {
	margin:0;
	padding:0;
	background-color:#ffffff;
}

body {
	font-family: "museo",serif;
    font-style: normal;
    font-weight: 300;
    padding-top:70px;
}


.navbar, .ba-slider {
    background-image: url(../../img/navbottom.jpg) !important;
    background-position: left bottom;
    background-repeat: repeat-x;
    padding-bottom:5px;
    background-color: #222222;
}

.navbar .navbar-brand {
    padding:10px;
    margin:0;
} 

.container {

}

.textpanel, .videopanel {
    padding-bottom: 5px;
    background-image: url(../../img/navbottom.jpg) !important;
    background-position: left bottom;
    background-repeat: repeat-x;
}



.no-header-featured-image {
    margin-top:20px;
}







#timelinecontainer {
    width:100%;
    overflow:hidden;
    display:none;
}


.timelinepanel {
    height:100%;
    float:left;
    display: block;
}

.timelineback, .timelineforward {
    cursor: pointer;
}

.timelinepanel:first-child .timelineback, .timelinepanel:last-child .timelineforward {
    display: none;
}



#timelinecontrols {
    position:fixed;
    left:0;
    bottom:0;
    width:100%;
    overflow:auto;
    text-align: center;
    z-index: 99999;
    background-image: url(../../img/panelcontrol.png);
}

#timelinecontrols a {
    width:120px;
    padding:25px 5px 10px 0;
    float:left;
    display: inline;
    color: #ffffff;
    background-image: url(../../img/panelcontrol.png);
    background-position: left top;
    background-repeat: repeat-x;
}


#timelinecontrols a.currentpanelcontrol {
    font-weight: bold;
    color:#ffffff;
    background-image: url(../../img/currentpanelcontrol.png) !important;
    background-position: center top;
    background-repeat: no-repeat;
}

#timelinecta {
  margin-top:50px;
}


h1, h2, h3, h4, h5, h6, #nav ul li, .c, .package p.buy, small {
  text-transform: uppercase;
  font-family: "futura-pt",sans-serif;
  font-style: normal;
  font-weight: 100;
}

h1, h2, h3 {
    background-color: #0073b3;
    color:#ffffff;
    padding:5px 5px;
    font-style:normal;
    font-weight: 500;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.nobackground, .thecontent h1, .thecontent h2, .thecontent h3, .thecontent h4, .thecontent h5, .thecontent h6, #sidebar h3  {
    background-color: transparent !important;
    color:#333333;
    text-shadow:none;
    padding:0;
}



h1.homeheader {
    display:none;
    text-align: center;
    font-size: 3em;
    color:#ffffff;
    text-shadow: 0px 0px 5px #5fc8e9;

}

h1.homeheadersmall {
    display:none;
    text-align: center;
    font-size: 1.6em;
    padding:10px;
    margin-top:0;
}

h1 a {
    text-decoration: none !important;
    color: red;
}





#mainheader {
    width:100%;
    margin:-20px auto 20px auto;
    height:500px;
    background-color: #f6f6f6;
    /*background-image: url(../../img/TynemouthOutdoorPoolVisualisation.jpg) !important;*/
    background-position:center 0px;
    background-attachment: fixed;
    background-size:cover;
}


.homepagepanel {
    height:100%;
    margin-bottom: 25px;
}


.poolometer {
    border:15px solid #0073b3;
    border-top:0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image: url(../../img/poolometer.png);
    background-position: -9999px -9999px;
    background-repeat: repeat-x;
    text-align: center;
    padding:0;
}

.poolometercontent {
    padding-top:50px !important;
}

#sidebar .poolometer {
    margin: 25px 0;
}

.r {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.notopmargin {
    margin-top: 0;
}

.about {
    color: #5fc8e9;
    font-size: 1.2em;
    font-weight: bold;
}

.about strong {
    font-size: 1.1em;
    color:#0073b3;
}

.faq {
    cursor: pointer;
}
.faq .answer {
    color:#67afe6;
    display: none;
}

#footer {
    font-size: 0.9em;
    color:#cccccc;
    padding-bottom: 50px;
}

#footer ul {
    float: right;
    padding-left:0;
    margin-left:0;
}

#footer li {
    vertical-align: middle;
    list-style-type: none;
    float: left;
    padding:0 10px 0 0;
}

#footer a {
    font-weight: bold;
    text-decoration: none;
}

#footer a:link {color:#cccccc;}
#footer a:visited {color:#cccccc;}
#footer a:hover {color:#999999;}
#footer a:active {color:#999999;}



#sidebar {
    padding:10px;
    margin-top:20px;
    background-color: #f6f6f6;
}


#homepagecontent {
    margin-top:-25px;
}

#homepagecontentinner {
    position:relative;
    padding:20px;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #f6f6f6 0%, #ffffff 100%, #7db9e8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#ffffff), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f6f6f6 0%,#ffffff 100%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f6f6f6 0%,#ffffff 100%,#7db9e8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f6f6f6 0%,#ffffff 100%,#7db9e8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f6f6f6 0%,#ffffff 100%,#7db9e8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
    z-index:998;
}

.homepagepanel h3 {
    margin-top: 0;
}


#newsheadlines ul {
    margin-left:0;
    padding-left: 0;
}

#newsheadlines ul li {
    list-style-type: none;
    padding:3px 0;
    border-bottom:1px dotted #eeeeee;
}

img.tinythumb {
    width:50px;
    height:50px;
    vertical-align: middle;
    margin-right:10px;
    background-position: center center;

}

.thecontent p:first-child {
    font-size: 1.1em;
    font-weight: bold;
    color:#67afe6;
}

#faqs .faq:last-child hr {
    display:none;
}

ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

#sidebar ul {
	margin:0 0 10px 0;
	padding:0;
}


#sidebar ul li {
	list-style-type: none;
	margin:0;
	padding:3px 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#sidebar ul li:hover {
	background-color: #eeeeee;
}

a {
	text-decoration: none !important;
}

img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}



.panel {
    padding:10px;
    background-color: #eeeeee;
    color: #0073b3 !important;
}


.actionlozenge {
    text-align: right;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding:10px 10px 10px 110px;
    margin:0 0 5px 0;
    background-color: #69b549;
    color:#ffffff;
    background-position:-100px center;
    background-repeat: no-repeat;
    font-weight: bold;
}




.actionlozenge.red, .panel.red {
    background-color: #ea5273;
    color: #ffffff !important;
}
.actionlozenge.red a {
    color: #f7ea97 !important;
}


.actionlozenge.blue1, .panel.blue1 {
    background-color: #0073b3;
    color: #f7ea97 !important;
}
.actionlozenge.blue1 a {
    color: #ffffff !important;
}

.actionlozenge.blue2, .panel.blue2 {
    background-color: #5fc8e9;
}
.actionlozenge.blue2 a {
    color: #0073b3 !important;
}

.actionlozenge.yellow, .panel.yellow {
    background-color: #f7ea97;
    color: #0073b3 !important;
}
.actionlozenge.yellow a {
    color: #0073b3 !important;
}



.actionlozenge.cso {
    background-image: url(../../img/actionlozengecso.png);
}

.actionlozenge.fb {
    background-image: url(../../img/actionlozengefb.png);
}

.actionlozenge.mail {
    background-image: url(../../img/actionlozengemail.png);
}

.actionlozenge.jg {
    background-image: url(../../img/actionlozengejg.png);
}



.actionlozenge h4 {
    margin-top: 0;
}



.newsletterpanel {
    margin-top:25px;
    padding:10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #dddddd;
}

.newsletterpanel img {
    height:100px;
    float:left;
    margin-right:15px;
    margin-bottom:10px;
    box-shadow: 0px 0px 5px #cccccc;
    -ms-transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg); 
}

.newsletterthumb {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center !important;
}

.newsletterthumb img {
    box-shadow: 0px 0px 10px #dddddd;
    margin:0 auto;
}




/*Videos*/

#videoModal .modal-content {

}

body #videoModal .modal-content {
  background-color: #0073b3;
}

.video-container {
    position:relative;
    padding-bottom:51%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}


/*Galleries*/

.gallery .gallery-caption {
  width:150px;
  margin:0px auto 10px auto !important;
  padding:5px;
  background-color:#eeeeee;
  font-size:0.9em;
  font-weight:bold;
  color:#67afe6;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

#TB_caption {
  height:auto !important;
  font-weight:bold !important;
  color:#67afe6 !important;
}

#TB_secondLine {
  font-weight:normal !important;
  color:#333333 !important;
}


.media {
    padding:10px 0 0 0;
    border-top:1px dotted #dddddd;
}


#splash {
    position:absolute;
    top:103px !important;
    left:50%;
    margin-left:-135px;
    width:269px;
    height:362px;
    z-index: 997;
}

.peepingcrab {
    position:absolute;
    width:225px;
    height:110px;
    left:50%;
    margin-left:-115px;
    top:-111px;
    background-image: url(../../img/peepingcrab.png);
    z-index:999999;
}

#newssplash {
    margin-top:-50px;
    -webkit-box-shadow: 0px -1px 10px 0px #666666;
	-moz-box-shadow: 0px -1px 10px 0px #666666;
	box-shadow: 0px -1px 10px 0px #666666;
}






/*splashsomecash*/
.cashlinkcontainer {
    text-align: center;
}

.cashlinkcontainer img {
    margin:0 auto;
}

.cashlinkcontainer hr {
    display:none;
}

a.cashlink {
    color: #333333;
    font-weight: bold;
}

.cashname {
    
    font-size: 2em;
}

.cashname.justgiving {
    color:#78256d;
}

.cashname.easy {
    color:#263286;
}

.cashname.ebay {
    color:#ff3300;
}

.cashname.store {
    color:#5fc8e9;
}





/*Committee*/
.committeemember {
    padding: 1em 0 !important;
    margin-bottom: 1em !important;
    text-align: center;
}

.committeemember .mugshot { 
    width:50%;
    margin:0 auto;
    background-color: #eeeeee;
}


/*Partners*/

.partner {
    padding: 1em 0 !important;
    margin-bottom: 1em !important;
    text-align: center;
}

.partner .partnerlogo {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.5;
    margin:0 auto;
}

.partner .partnerlogo:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
}




/* Slider */
.ba-slider {
    position: relative;
    overflow: hidden;
}
 
.ba-slider img {
    width: 100%;
    display:block;
}
 
.ba-slider .resize {
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}


.ba-slider .handle { /* Thin line seperator */
  position:absolute; 
  left:50%;
  top:0;
  bottom:0;
  width:4px;
  margin-left:-2px;
  background: rgba(0,0,0,.5);
  cursor: ew-resize;
}
 
.ba-slider .handle:after {  /* Big orange knob  */
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    content:'\27f7';
    color:#ffffff;
    font-weight:bold;
    font-size:16px;
    text-align:center;
    line-height:42px;
    background: #EA5273; /* @orange */
    border:1px solid #EA5273; /* darken(@orange, 5%) */
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}


.ba-slider h1 {
    width:100%;
    text-align:center;
    position:absolute;
    top:50px;
    z-index:999;
}


.ba-slider #homecontentlink {
    background: #EA5273;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    padding-top:6px;
    text-align:center;
    position:absolute;
    left:50%;
    bottom:75px;
    z-index:999;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
}

.ba-slider #homecontentlink {
    color:#ffffff !important;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
    40% {-webkit-transform: translateY(-15px);}
    60% {-webkit-transform: translateY(-7px);}
}
 
@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-315px);}
    60% {-moz-transform: translateY(-7px);}
}
 
@-o-keyframes bounce {
 0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
 40% {-o-transform: translateY(-15x);}
 60% {-o-transform: translateY(-7px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}







/*Utilities*/

.redbg {
    background-color: #ea5273 !important;
    color:#ffffff !important;
}

.centertext {
    text-align: center;
}






@media only screen and (max-width : 980px) {
    
    .ba-slider h1, .ba-slider #homecontentlink {
        display: none !important;
    }
    
    .ba-slider .handle:after {
        content: '< >';
    }
    
    h1.homeheadersmall {
        display:block;
    }
    
    #introtext {
    	text-align: center;
    }

    #mainheader {
        width:100%;
        margin:-20px auto 20px auto;
    }

    #newssplash {
        margin-top:25px !important;
    }

	#splash {
	    top:133px !important;
	}
	
	.peepingcrab {
        top:-81px;
    }

    .gallery .gallery-item {
        width:100% !important;
    }
    
    .cashlinkcontainer {
        margin-top:25px;
        margin-bottom:25px;
    }
    
    .cashlinkcontainer hr {
        display:block;
    }

    #menu-footer-navigation {
        float: left !important;
    }
    
    

}