/*
Theme Name: Swiftsure Always a Challenge
Theme URI: http://swiftsure.org/
Description: A custom template for the Swiftsure International Yacht Race.
Author: Alec Matthews
Version: 3.3 (based on 2014)
*/

body {
	background-color: #a6d7f5;
  	color: #333333;
  	font-size: 1.3em;
}

#bg-tint{
     width: 100%;
     height: 100%;
     left: 0;
     top: 0;
     position: absolute;
     z-index: -9999;
}

#bg-tint img{
     width:100%;
     height: 560px;
}

#frame{
     width: 80%;
     margin: 10px auto;
}

#content{
     background-color: #f9f9fd;
     padding: 20px;
     clear: both;
}

.entry-content img{
	margin: 5px;
	border: 1px solid #999;
}
.entry-content img.alignright{
	margin-right: 0;
}
.entry-content img.alignleft{
	margin-left: 0;
}

.has-image{
     padding-top: 100px;
     background-size: cover;
     background-position: center center;
}

.has-image h1{
     color: #eee;
     text-shadow: 3px 3px 4px #000000;
     filter: dropshadow(color=#000000, offx=3, offy=3);
}

.has-image span{
     color: #ddd;
     text-shadow: 2px 2px 3px #000000;
     filter: dropshadow(color=#000000, offx=2, offy=2);
}

.page-header.smaller {
  min-height: 20px;
  padding: 12px;
}

.page-header.smaller h1{
  font-size: 36px;
  letter-spacing: -1;
  }

article{
     margin-bottom: 40px;
}

.article-header div.entry-meta{
     margin: -12px 0 10px 0;
     }

ul.thumbnails li{
    /* margin-left: 0 !important;
    margin-right: 2px; */
}

.wp-caption {
  border: 1px solid #999;
  background-color: #eee;
  padding-top: 4px;
  margin: 10px 0;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
-webkit-user-drag: none;
}

.wp-caption-text{
  text-align: center;
  font-size: 10px;
  line-height: 15px;
  padding: 0 4px 5px;
  margin: 0;
}

.widget_search{
  padding: 6px;
  margin-bottom: 10px;
}

.widget {
  min-height: 20px;
  padding: 8px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.widget h4{
     margin-top: 0;
}

#social-media{
	margin-top: 8px;
	margin-right: 6px;
}

#social-media img{
     padding: 0px;
     }

#header{
	clear: both;
	background: url('img/banner-bottom.png') bottom right no-repeat;
	background-size: 100%;
	height: 270px;
}

#banner-login {
	float: right;
	padding: 12px;
}

#banner-admin {
	position: relative;
	float: right;
	padding: 8px 12px 8px 5px;
	margin: 0px;
	background-color: rgba(23, 57, 91, 0.7);
	border-radius: 0 6px;
}

#banner-admin a, #header-admin a{
	color: white;
	position: relative;
}

#banner-logo {
	height: 96px;
	width: auto;
}

#banner-rvyc {
	margin-left: 109px;
	margin-top: 10px;
	height: 50px;
	width: auto;
}

#banner-2 {
	padding-left: 75px;
	margin-top: 55px;
}


#presents{
	padding: 12px 0 0 30px;
	width: 27%;
	display: inline-block;
	vertical-align: top
}

#register-button{
	margin-left: 80px;
}

#tracker{
	padding: 10px 0 0 75px;
	text-align: center;
}

.btn-header {
	padding:
}

.navbar-header{
	background-color: #009cd7;
}

.navbar-toggle{
	height: 40px;
	background-color: #ddd;
}

.navbar-toggle span{
	background-color: silver;
}

#header-admin {
	position: relative;
	float: right;
	padding: 8px 12px 8px 5px;
	top: -19px;
	right: -19px;
	background-color: rgba(23, 57, 91, 0.7);
	border-radius: 0 5px;
}

.page-header.has-image #header-admin {
	top: -100px;
}

.page-header.smaller #header-admin {
	top: -12px;
	right: -12px;
}

#post-admin {
	position: relative;
	float: right;
	padding: 4px 8px;
	right: -10px;
	border: 1px solid rgba(23, 57, 91, 0.7);
	border-radius: 0 5px;
}

#side-bar{
     padding: 0 0 10px 15px;
}

#footer-mountains{
	clear: both;
	background: #f9f9fd url('img/footer-mountains.png') bottom right no-repeat;
	background-size: 100%;
	height: 42px;
}

#footer, #footer address{
	padding: 20px;
	clear: both;
	color: #f9f9fd;
	background-color: #15385c;
}

#footer h4{
	color: #a6d7f5;
}

#footer small{
	color: #ccc;
	text-align: center;
	display: block;
	margin-top: 20px;
}




@media (max-width: 1199px) {
	#header{
		height: 215px;
		margin-top: 2px;
	}

	#banner-rvyc {
		margin-left: 145px;
		height: 30px;
		margin-bottom: 5px;
		width: auto;
	}

	#banner-2 {
		padding-left: 67px;
		margin-top: 45px;

	}

	#banner-logo {
		height: 74px;
		width: auto;
	}

	#banner-date {
		height: 74px;
		width: auto;
	}
	#register-button{
    		margin-left: 80px;
	}

	#tracker{
		padding: 10px 0 0 50px;
	}
	#tracker>a>img{
		width: 160px;
	}

}

@media (max-width: 991px) {

	#header{
		height: 165px;
		margin-top: 0px;
	}

	#banner-rvyc {
		margin-left: 82px;
		height: 30px;
		margin-top: 2px;
		margin-bottom: 5px;
		width: auto;
	}

	#banner-2 {
		padding-left: 55px;
		margin-top: 30px;
	}

	#banner-logo {
		height: 60px;
		width: auto;
	}

	#register-button{
		margin-left: 15px;
	}

	#tracker{
		padding: 10px 0 0 0;
	}

	#social-media{
		display: none;
	}

	h3{
		margin-top: 0px;
	}
	.page-header{
		padding: 0 19px;
	}
	#side-bar{
		padding: 0 15px 10px 15px;
	}
	#tracker{
		padding: 10px 0 0 0;
	}
	#tracker img{
		width: 160px;

	}
}

@media (max-width: 767px){
	.container {
		padding-left: 0px;
		padding-right: 0px;
	}
	#content{
		padding-left: 12px;
		padding-right: 12px;
		border-radius: 0px;
	}

	body {
		background-color: #eee;
		color: #111111;
		font-size: 12px;
	}

}

@media (max-width: 389px) {
	#mobile-banner {
		width: 240px;
		height: 48px;
		margin-top: 3px;
		margin-left: 3px;

	}
}


.dashboard{
	margin: 0px;
	padding: 4px 5px;
}

.status-block{
     border: 1px solid #999;
     background: #f5f5f5;
     padding: 10px;
     border-radius: 10px;
     -webkit-box-shadow: 4px 4px 10px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    4px 4px 10px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         4px 4px 10px 0px rgba(50, 50, 50, 0.75);

     -webkit-box-shadow: 0px 0px 30px 0px rgb(250, 250, 250);
	-moz-box-shadow:    0px 0px 30px 0px rgb(250, 250, 250);
	box-shadow:         0px 0px 30px 0px rgb(250, 250, 250);

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.status-block.tracker-block{
     cursor: pointer;
}

.status-block h6{
     font-size: 11px;
     color: #4183fc;
     text-align: center;
     text-transform: uppercase;
     margin: 0; padding: 0;
     font-weight: bold;
  	line-height: 16px;
}

.status-block p, .status-block td, .status-block td a:link, .status-block td a:visited{
     font-size: 12px;
     color: #4183fc;
     margin: 0; padding: 0;
}

.status-block td{
     padding: 0 3px;
     background: none;
     border: none;
}

.status-block td.hasCountdown{
     background: none !important;
}

.status-block td.hasCountdown .countdown_amount{
     font-size:100% !important;
     color: inherit !important;
}


.status-block td.dash-label{
     text-align: right;
     color: #889;
}

.green{
	color: #02B902;
}

#tracker-link{
     background: url('images/tracker-bg.png') no-repeat top center;
}

.race-day-menu {
	font-weight:bold;
}

#twitter-widget-0 { width: 100% !important }

#date{
     width: 400px;
     color: #797979;
     margin: 50px 0 0 0;
     font-size: 20px;
}

.light-well{
	moz-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.7) 0 1px 5px 0px inset;
	-webkit-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.7) 0 1px 5px 0px inset;
	-o-box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.7) 0 1px 5px 0px inset;
	box-shadow: rgba(255, 255, 255, 0.1) 0 1px 0, rgba(0, 0, 0, 0.7) 0 1px 5px 0px inset;
	background: white;
	border-radius: 4px;
	padding: 15px;
}
ul.sponsor_logos{ padding: 0; }


.form-search{
     margin: 0;
}

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 10px; height: 0; overflow: hidden;
}

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

.navbar .nav {
	margin-right: 0px;
}

.navbar .btn {
	float: left;
}

.ngg-albumoverview{
     clear: none !important;
}

.slideshowlink{
	display: none !important;
}

.clear{
	clear: both;
}

.hidden{
     display: none;
}

.alignright {
     float: right;
     }

.alignleft {
     float: left;
     }

.center{
     margin-left: auto;
     margin-right: auto;
     text-align: center;
}

.white{
	color: white;
}

#counter {
     margin: 5px auto 40px auto;
     width: 228px;
}

#counter div { float: left; width: 17px; height: 25px;
	background-color:transparent;
    background: url(img/countdown2.png) no-repeat 0px 0px; }
#counter div.image0 { background-color:transparent; background-position: -0px 0px; }
#counter div.image1 { background-color:transparent; background-position: -17px 0px; }
#counter div.image2 { background-color:transparent; background-position: -34px 0px; }
#counter div.image3 { background-color:transparent; background-position: -51px 0px; }
#counter div.image4 { background-color:transparent; background-position: -68px 0px; }
#counter div.image5 { background-color:transparent; background-position: -85px 0px; }
#counter div.image6 { background-color:transparent; background-position: -102px 0px; }
#counter div.image7 { background-color:transparent; background-position: -119px 0px; }
#counter div.image8 { background-color:transparent; background-position: -136px 0px; }
#counter div.image9 { background-color:transparent; background-position: -153px 0px; }
#counter div.imageDay { background-color:transparent; background-position: -170px 0px; }
#counter div.imageSep { background-color:transparent; background-position: -187px 0px; }
#counter div.imageSpace { background-color:transparent; background-position: -204px 0px; }
