/* --------------- Banner 07/20/2019 --------------- */
.banner {
	background:
		linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,.75) 16%,rgba(0,166,100,1) 27%) no-repeat left top/100%,
		#00a664
	;
	width:auto;
	height:auto;
	display:block;
	padding:10px 0;
}
.saslogo {
	background:transparent url('/safeandsoundweek/includes/SandS_Logo_gray.svg') no-repeat left center/100% auto;
	min-height: 160px;
	display: block;
	margin:-10px 0;
	padding: 10px;
}
.saslogo a {
	display: block;
	width: 100%;
	min-height: 160px;
}

.banner .row-fluid {
	margin-bottom:0;
}

.banner h3 {
	font-size:3rem;
	margin:7% 0 0 0;
	line-height:1em;
	color:#fff;
}

.banner h3 .smaller {
	color:#fff;
	font-size:85%;
	font-weight:100;
}

@media (max-width:767px) {
	.banner {
		background: #00a664;
	}
	.saslogo {
		background:
			url('/safeandsoundweek/includes/SandS_Logo_gray.svg') no-repeat center center/auto 80%,
			linear-gradient(to bottom, rgba(255,255,255,1) 92%,rgba(255,255,255,0) 100%) no-repeat left top/100% 100%;
		;
		margin:-10px -10px -10px 0;
	}
	.banner h3 {
		font-size:1.5rem;
		margin:20px 10px 0 20px;
		line-height:1em;
		color:#fff;
	}
}

.pics {
	float:right;
	background-color:#fff;
	padding:5px;
}
.pics img {
	margin:0 2px 0 0;
	width:32.5%;
}
.pics img:last-child {
	margin:0 0;
}

@media (max-width:500px) {
	.banner h2 {
		font-size:182%;
		margin:10px 0 5px 0.25em;
	}
}
@media (max-width:979px) and (min-width:500px) {
	.banner h2 {
		font-size:230%;
		margin:15px 0 5px 0.25em;
	}
}
/* --------------- Nav Bar --------------- */

ul.shp-nav {
	width:100%;
	margin:0 auto;
	padding:8px 0;
	list-style:none;
	text-align:center;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	display: table;
	background-color: #fff;
}
.shp-nav > li {
	display:table-cell;
	vertical-align: middle;
	padding:0.5em 1em;
	text-align:center;
	border-right:1px solid #ccc;
}
.shp-nav > li:last-child {
	border-right:none;
}
.shp-nav li.active {
	font-weight: bold;
}

.shp-nav > li a {
	display:block;
	color:#000;
	text-decoration:none;
}
.shp-nav > li a:hover {
	background-color:transparent;
	color:#039;
}
.shp-nav > li a:active,
.shp-nav > li a:focus {
	background-color:transparent !important;
}
.nav-wrapper {
	height: 70px;
}
.affix {
		top:0;
		padding-bottom: 2em;
		width: 100%;
		max-width: 1170px;
		/* box-shadow: 0 1px 10px #ccc; */
		z-index: 500 !important;
}
.affix + .container {
	padding-top:70px;
}
.jump {
	padding-top:75px;
	margin-top:-75px;
}
@media (max-width:1100px) and (min-width:767px) {
	.shp-nav > li {
		padding:0.5em;
	}
	.shp-nav > li a {
		font-size: 12px;
	}
	.affix {
		max-width: 940px;
	}
}
@media (max-width:767px){
	.phone-menu {
		float: none;
		width: auto;
		margin-top: 10px;
		text-align: center;
		padding: 0 5%;
	}
}
/* --------------- Carousel -------------- */

#shpCarousel {
	margin:0 auto 2em;
}
#shpCarousel .carousel-inner {
	box-shadow: 0 1px 4px rgba(0,0,0,.2);
	overflow:hidden;
}
#shpCarousel .carousel-indicators {
	position:absolute;
	width:100%;
	bottom:-30px;
	top:auto;
	right:auto;
	text-align:center;
	cursor:pointer;
}
#shpCarousel .carousel-indicators > li {
	float:none;
	width:11px;
	height:11px;
	background:rgba(0,0,0,0.5);
	margin:0 6px;
	display:inline-block;
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}
#shpCarousel .carousel-indicators > li:hover {
	background:rgba(0,0,0,0.7);
}
#shpCarousel .carousel-indicators > li.active {
	background:rgba(156,0,0,1);
}
#shpCarousel .row-fluid {
	margin-bottom:0;
}
#shpCarousel .carousel-control {
	position: absolute;
	top: 40%;
	left: 10px;
	width: 40px;
	height: 40px;
	font-size: 60px;
	font-weight: 100;
	line-height: 30px;
	color: #666;
	text-align: center;
	background: none;
	border: none;
	border-radius: 0;
	opacity: 0;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
	z-index: 10;
}
#shpCarousel:hover .carousel-control {
	opacity:0.7;
}
#shpCarousel .carousel-control.right {
	left:auto;
	right:10px;
}

.carousel-fade .carousel-inner > .item {
	-webkit-transition: opacity linear 1s !important;
	-moz-transition: opacity linear 1s !important;
	-ms-transition: opacity linear 1s !important;
	-o-transition: opacity linear 1s !important;
	transition: opacity linear 1s !important;
}
.carousel-fade .active.left,
.carousel-fade .active.right {
	left: 0;
	z-index: 2;
	opacity: 0;
	filter: alpha(opacity=0);
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	width: 100%;
}
.carousel-control {
	z-index:10;
}

.carousel .active.left {
	left:0;
	opacity:0;
	z-index:2;
	padding:0 !important;
	margin:0 !important;
}
.carousel .next {
	left:0;
	opacity:1;
	z-index:1;
	padding:0 !important;
	margin:0 !important;
}

.carousel .active.right {
	left:0;
	opacity:0;
	z-index:2;
	padding:0 !important;
	margin:0 !important;
}

.carousel .prev.right {
	left:0;
	opacity:1;
	z-index:1;
	padding:0 !important;
	margin:0 !important;
}

.featured_img img {
	width:100%;
	height: 285px;
}
.featured_img .credit {
	position:absolute;
	bottom:0;
	left:5px;
	color: #fff;
	font-size: 90%;
	text-shadow: 0 0 5px #000;
}
.featured_text {
	padding:3% 1% 1%;
	color:#000;
}
.featured_text h3 {
	color:#990000;
	text-align:center;
	font-size: 1.75em;
}
.featured_text h3 a {
	color:#990000;
	text-decoration:none;
}
.featured_text h3 a:hover {
	color:#990000;
	text-decoration:underline;
}
.featured_text p {
	font-size:1.4em;
	line-height:1.45em;
	text-align: center;
}

@media (max-width: 767px) {
	#shpCarousel .carousel-inner {
		box-shadow: 0 1px 4px rgba(0,0,0,.2);
		max-height:none;
		overflow:auto;
	}
	.featured_img img {
		width:100%;
		height:auto;
		min-height:inherit;
	}
	.featured_text h3 {
		font-size:1.5em;
	}

	.featured_text p {
		font-size:1em;
		line-height:1.1em;
	}
}

@media (min-width: 768px) and (max-width: 979px) {
	.featured_img img {
		/* margin: 12% 0 12% 0; */
		height: inherit;
		min-height: 0;
	}
	.featured_text p {
		font-size: 1.25em;
		line-height: 1.3em;
	}
}

@media (min-width: 980px) and (max-width: 1199px) {
	.featured_img img {
		/* margin: 7% 0 7% 0; */
		height: inherit;
		min-height: 0;
	}
}

/* --------------- Sidebar --------------- */

.graybox {
	background-color:#6d6e71;
	padding:10px;
}
.graybox:hover {
	background-color:#8F9093;
}
.graybox a {
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}
.graybox p {
	margin-top:10px;
	margin-bottom:0;
	line-height:normal;
}

/* --------------- Main Content --------------- */

.embiggen {
	font-size:125%;
	font-weight:bold;
}

h3 {
	/* margin-top:1em; */
	font-size:2em;
	font-weight:normal;
}

.shp-blue {
	color:#006a9a;
	font-weight:bold;
}

.dropcap {
	float:left;
	color:#006a9a;
	font-size:3em;
	padding:8px 2px 0 2px;
	font-weight:bold;
}

.span9 ul {
	list-style-type:disc;
}

.span9 ul > li, .span9 ol > li {
	margin-bottom:0.5em;
}

.strike {
	position:relative;
	visibility:hidden;
}
.strike:before {
	content:'\0024';
	position:absolute;
	visibility:visible;
}

hr {
	border-top: 1px solid #ccc;
}

.shp {
	overflow:visible;
	padding:0;
	margin: 1.5em auto;
	width: 40%;
	color:#00a664;
	background-color: #00a664;
	height: 5px;
}
.shp::before,
.shp::after {
	content: '◆';
	display:inline-block;
	position:relative;
	top: -6px;
	left:-48%;
	font-size:2em;
	color:#00a664;
}
.shp::after {
	left:48%;
}
@media all and (-ms-high-contrast:none) {
	.shp::before,
	.shp::after {
		font-size:14px;
	}
}
/* --------------- Partner Logos --------------- */

.organizers {
	padding:0 auto;
}

#cosponsors > .span1,
#cosponsors > .span2 {
	height: 60px;
	line-height: 60px;
	display: block;
	margin: 0 5px 10px !important;
}
#cosponsors > .span1 > a > img,
#cosponsors > .span2 > a > img {
	max-height: 60px;
}

@media (min-width:1200px){
	#cosponsors > .span2 {
		width: 13.3%;
	}
}
@media (max-width:1199px) and (min-width:767px) {
	#cosponsors > .span2 {
		width:12.5%;
	}
}
#partners > .row-fluid > .span2,
#partners > .row-fluid > .span3,
#partners > .row-fluid > .span4,
#partners > .row-fluid > .span6 {
	height:120px;
	line-height:120px;
	display:block;
	margin:0 6px 20px !important;
}
#partners > .row-fluid > .span2 > img,
#partners > .row-fluid > .span3 > img,
#partners > .row-fluid > .span4 > img,
#partners > .row-fluid > .span6 > img {
	max-height:100px;
}

@media (max-width:768px) {
	#partners > .span2,
	#partners > .span3,
	#partners > .span4,
	#partners > .span6 {
		margin:0 0 0;
	}
}
/* --------------- Calendar --------------- */

.calendar {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
}

.calendar h5 {
	font-weight: bold;
}

.calendar ul {
	margin-bottom: 2em;
}

@media (max-width:768px) {
	.calendar {
	  display: block;
	}
}
