/* --------------- Safe + Sound Week Styles -------------- */

/* --------------- Banner --------------- */
.sasbanner {
	width:75%;
	margin:0 auto;
}
/* --------------- 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:5px 10px;
	text-align:center;
	border-right:1px solid #ccc;
	max-width: 140px;
}
.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;
	text-transform:uppercase;
}
.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:1200px) and (min-width:980px) {
	.shp-nav > li {
		padding:5px 8px;
		max-width: 145px;
	}
	.shp-nav > li a {
		font-size: 82%;
	}
	.affix {
		max-width: 940px;
	}
}
@media (max-width:767px){
	.phone-menu {
		float: none;
		width: auto;
		margin-top: 10px;
		text-align: center;
		padding: 0 5%;
	}
}

/* --------------- Map --------------- */
svg {
	z-index: 0 !important;
}
.inst {
	position: relative;
	margin-top:50px;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
	z-index: 10;
}

#reg1 {
	fill: #ebf1f8;
	}
#reg2 {
	fill:#f2e6f1;
}
#reg3 {
	fill: #f0f5e2;
}
#reg4 {
	fill: #e6e6f2;
}
#reg5 {
	fill: #faf4ce;
}
#reg6 {
	fill: #f8ead9;
}
#reg7 {
	fill: #f9d8d5;
}
#reg8 {
	fill: #e0efea
}
#reg9 {
	fill:#ebe7e5;
}
#reg10 {
	fill:#f6ddba;
}
#map .state:hover, #intl .state:hover {
	fill:#ff9a00;
}

#intl a {
	text-decoration:none;
}

.popover {
	max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.popover-content {
	max-width:600px;
	min-width:300px;
	max-height:400px;
	height:auto;
	overflow-y:auto;
	overflow-x:hidden;
}

#safeSound > .accordion-inner {
	overflow:auto;
	background-color:#fff;
}

.events, .parts, .intparts, .intevents, .training {
	display:none;
}
.event {
	background-color:#eee;
	border-radius:5px;
	/* max-width:550px; */
	padding:10px;
	margin-top:0.5em;
}
.event .desc a {
	word-wrap: break-word;
}
.evname {
	font-weight:bold;
}

.participant {
	border-bottom:1px solid #000;
}
.public-inset {
	display:none;
}

.eventdot {
	visibility: hidden;
}
.eventdot .bands {
	visibility: hidden;
	 stroke: #007345;
	 stroke-width: 4;
	 stroke-miterlimit: 10;
}
.eventdot .disc {
	 fill: #007345;
	 opacity: 0.75;
}
.bluedot .bands {
	stroke: #3232ff;
	stroke-width: 4;
	stroke-miterlimit: 10;
}
.bluedot .disc {
	fill: #3232ff;
}
.reddot .bands {
	stroke: #007345;
	stroke-width: 4;
	stroke-miterlimit: 10;
}
.reddot .disc {
	fill: #007345;
}
text {
	font-family: sans-serif;
	fill: #000000;
}
#map text,
.eventdot text {
	font-weight: bold;
}
text.numb {
	font-size: 16px;
	text-anchor: middle;
	fill:#ffffff;
}
.bluedot text.numb,
.reddot text.numb {
	fill: #ffffff;
}

text.totalnumb {
	font-size: 24px;
	font-weight: bold;
	text-anchor: middle;
	fill:#007345;
}

#nationwideEvents a {
	text-decoration: none;
}
#nationwideEvents .disc {
	 fill: #007345;
	 opacity: 1.0;
	 stroke: #cccccc;
	 stroke-width: 1;
}
#nationwideEvents .bluedot .disc {
	fill: #0000ff;
}
#nationwideEvents .reddot .disc {
	fill: #ff0000;
}

/* --------------- Carousel -------------- */

.squarecarousel {
	position:relative;
	width:100%;
	height: 0;
	padding-bottom: 100%;
	overflow:hidden;
	background:rgba(0,0,0,.1);
}
.squarecarousel .carousel-inner {
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.squarecarousel .carousel-indicators {
	position:absolute;
	width:100%;
	bottom:2px;
	top:auto;
	right:auto;
	/* left:35%; */
	text-align:center;
	cursor:pointer;
	z-index: 10;
}
.squarecarousel .carousel-indicators > li {
	float:none;
	display:inline-block;
	background:rgba(255,255,255,1);
	box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}
.squarecarousel .carousel-indicators > li:hover {
	background:rgba(156,0,0,1);
}
.squarecarousel .carousel-indicators > li.active {
	background:rgba(156,0,0,1);
}
.squarecarousel .carousel-control {
	position: absolute;
	top: 40%;
	left: 0;
	width: 40px;
	height: 40px;
	font-size: 60px;
	font-weight: 100;
	line-height: 30px;
	color: #333;
	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;
}
.squarecarousel:hover .carousel-control {
	opacity:0.9;
}
.squarecarousel .carousel-control.right {
	left:auto;
	right:0;
}
.squarecarousel a.carousel-control:hover {
	color:#666;
}
.squarecarousel .carousel-inner > .item {
	width: 100%;
	height: 100%;
	overflow:hidden;
}
.squarecarousel .carousel-inner > .item > img,
.squarecarousel .carousel-inner > .item > a > img {
	width: 100%;
}
.squarecarousel .carousel-control {
	z-index:10;
}

.squarecarousel .carousel-inner .carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
	}

	.squarecarousel .carousel-inner .carousel-caption p,
	.squarecarousel .carousel-inner .carousel-caption h5 {
		color:#000;
	}
	.squarecarousel .carousel-inner .carousel-caption h5 {
		font-weight: bold;
	}
	.squarecarousel .carousel-inner .carousel-caption p {
		margin-bottom: 1em;
	}

/* .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);
}

.squarecarousel .active.left {
	left:0;
	opacity:0;
	z-index:2;
	padding:0 !important;
	margin:0 !important;
}
.squarecarousel .next {
	left:0;
	opacity:1;
	z-index:1;
	padding:0 !important;
	margin:0 !important;
}

.squarecarousel .active.right {
	left:0;
	opacity:0;
	z-index:2;
	padding:0 !important;
	margin:0 !important;
}

.squarecarousel .prev.right {
	left:0;
	opacity:1;
	z-index:1;
	padding:0 !important;
	margin:0 !important;
} */

/* --------------- Slick Slider --------------- */

.pub img {
    min-height: 0;
}

.caption-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
		border:1px solid #eee;
	}
.caption-overlay  h5 {
	font-weight: bold;
	font-size: 1em;
	text-align: center;
	border-bottom:none;
	padding-bottom:0;
}
.caption-overlay p {
	text-align: left !important;
}
.enlarge {
	cursor: pointer;
}
#enlargeImageModal {
	top:0;
	right:0;
	bottom:0;
	left:0;
	margin:30px auto;
	overflow: hidden;
}
#enlargeImageModal .modal-body {
	max-height:none;
	height: 90%
}
/* --------------- 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;
}

/* --------------- Accordions ---------------- */

#steps .accordion-heading {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
}
#steps .accordion-heading a {
	text-decoration:none;
	text-align:center;
	color:#000;
	font-size:1.2em;
}

#steps ul li > ul {
	margin-bottom:1em;
}

/* --------------- 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 > .span3 {
	height:120px;
	line-height:120px;
	display:block;
	margin:0 6px 20px !important;
}
#partners > img {
	max-height:100px;
}

@media (max-width:768px) {
	#partners > .span1,
	#partners > .span3 {
		margin:0 0 0;
	}
}

/* --------------- Sticky Note --------------- */

.sticky-note {
	position:relative;
	background:transparent url(/safeandsoundweek/images/sticky_note.png) top left/100% no-repeat;
	width:100%;
	max-width:300px;
	min-height:300px;
	display:block;
}
.sticky-note .inner {
	position:relative;
	transform:rotate(-15deg);
	max-width:230px;
	max-height:230px;
	padding:2.5em 3em;
	color:#fff;
	font-size:1.1em;
}
.sticky-note h4 {
	border-bottom:none;
	font-size:200%;
	margin-bottom:.5em;
	margin-top:.25em;
}
.sticky-note ul {
	list-style-type:none;
	margin-left:0;
}
.sticky-note ul > li,
.sticky-note ul > li > a,
.sticky-note ul > li > a:hover {
	color:#fff;
	line-height:normal;
}
.sticky-note ul > li{
	margin-bottom:0.75em;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none), (-ms-fullscreen, :root .ie11up) {
	.sticky-note .inner {
		font-size:1.2em;
	}
}

@media (max-width:1200px) and (min-width:767px) {
	.sticky-note .inner {
		font-size:1vw;
	}
}

@media (max-width:767px) {
	.sticky-note .inner {
		font-size:1em;
	}
}

/* --------------- Action Boxes --------------- */

.action {
	padding:0;
	border: 1px solid #000;
	margin: 0 auto 2rem;
}
.action .btn {
	border-radius: 0;
	color:#fff;
}
.action a {
	color:#000;
}
.action a:hover {
	text-decoration: none;
}
.action-number {
	color:#00892f;
	background-color: #fff;
	padding: 1px 6px;
	border-radius: 12px;
}
.action-text {
	margin:1em;
}
/* --------------- Main Content --------------- */

.embiggen {
	font-size:125%;
	font-weight:bold;
}

h3 {
	margin-top:1em;
	font-size:2em;
	font-weight:normal;
}

h4 {
/*	margin-top:1em;*/
/*	border-bottom:1px solid #222222;*/
	font-weight:bold;
}
h4.lined {
	margin-top:1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: .5em;
	font-weight:bold;
}

#redbanner h4 {
	border-bottom:none;
}

.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;
}

.center-block {
	text-align:center;
	width:50%;
	margin:2em auto 1em;
}

.green-border {
	border:2px solid #00a664;
}

.center-block svg {
	width:80%;
	margin:1em auto 2em;
}
@media (max-width:767px) {
	.center-block {
		width:100%;
	}
}

.green-bar {
	margin:0;
	background-color:#00a664;
}

.solid {
	font-family:"Arial Black", "Arial Bold", Arial, sans-serif;
	font-weight:bold;
	font-size:2.5em;
	color:#59595b;
	line-height:normal;
}

.green-bar .solid {
	color:#fff;
	font-size:3em;
}
.embiggen2 {
	font-size:2.5em;
	line-height:normal;
}
.partners p {
	border-bottom:1px solid #ccc;
}

.modal .partners {
	max-height:340px;
	overflow-y:auto;
}

/* ----- Participation Form ----- */

#pre,
#post,
#reDownload,
#mainForm {
	margin-bottom: 5em;
}
#reDownload {
	display:none;
}
fieldset {
	margin-bottom:1em;
}
.help-block {
	color:#000;
}
form .likert {
  list-style:none;
  width:100%;
  margin:0;
  padding:0 0 10px;
  display:block;
  border-bottom:2px solid #efefef;
}
form .likert:last-of-type {border-bottom:0;}
/* - OLD - */
form .likert:before {
  content: '';
  position:relative;
  top:11px;
  left:7.7%;
  display:block;
  background-color:#efefef;
  height:4px;
  width:66%;
}
form .likert li {
  display:inline-block;
  width:16%;
  text-align:center;
  vertical-align: top;
}
/* - NEW -

form .likert:before {
  content: '';
  position:relative;
  top:14px;
  left:5%;
  display:block;
  background-color:#efefef;
  height:8px;
  width:62%;
}
form .likert li {
  display:inline-block;
  width:10%;
  text-align:center;
  vertical-align: top;
}
*/
form .likert li input[type=radio] {
  display:block;
  position:relative;
  top:0;
  left:50%;
  margin-left:-6px;

}
form .likert li label {
	width:100%;
	font-size:75%;
}

label.error   {
	color: red;
}
input.error, textarea.error, select.error {
	border: 1px solid red;
}
@media (min-width:1199px) {
	#eventForm {
		top:0;
		right:0;
		bottom:0;
		left:0;
		width:800px;
		margin:30px auto;
		overflow: hidden;
	}
	#eventForm .modal-body {
		max-height:none;
		height: 90%
	}
}
/* @media (min-width:768px) and (max-width:991px) {
	#eventForm {
		width:600px;
	}
} */
