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

body {
	background-color: #eee;
  	color: #333333;
  	font-size: 13px;
}

#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: #ddd;
     padding: 20px;
     clear: both;
     border-radius: 8px;
}

.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: 7px;
     width: 112px;
}

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

#header{
	clear: both;
	background: #a5d5f3 url('img/banner-bottom.png') bottom right no-repeat;
	background-size: 100%;
	height: 240px;
	border-radius: 6px;
	margin-top: 8px;
}

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

#banner-rvyc {
	margin-left: 109px;
	margin-top: 5px;
}

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


#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;
}

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

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

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

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

@media (max-width: 1199px) {
	#header{
		height: 180px;
		border-radius: 4px;
		margin-top: 2px;
	}

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

	#banner-2 {
		padding-left: 40px;
		margin-top: -4px;

	}

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

	#banner-date {
		height: 74px;
		width: auto;
	}
	#tracker{
		padding: 10px 0 0 120px;
	}
	#tracker>a>img{
		width: 160px;
	}

}

@media (max-width: 979px) {
	#register-button{
		margin-left: 15px;
	}
	#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 45px;
	}
	#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; }
#footer{
     font-size: 10px;
     padding: 10px;
     color: #888;
     clear: both;
     text-align: center;
}


.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;
}

#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; }
