.blackbox {
	 background: rgba(149,79,85,0.7); 
	 padding: .5em; }

a.back-to-top {
	display: none;
	width: 60px;
	height: 60px;
	text-indent: -9999px;
	position: fixed;
	z-index: 999;
	right: 20px;
	bottom: 20px;
	background: #575757 url("../images/up-arrow.png") no-repeat center 43%;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}
a:hover.back-to-top {
	background-color: #000;
}

/*  ----------------------lightbox code------------------*/
#popup{
    background:#000000;
    height:100%;
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    display: none;
	z-index:1;
}
#center{
    border: 10px solid #121212;
    margin: 6% auto;
    width: 100%;
}
#close{
    float: right;
    position: absolute;
    top: 12%;
	}
	/*  ----------------------end lightbox code------------------*/
	
.features li { display:block; width:100%; padding:1em;}
.features li:nth-child(odd) { background:#8F0014; color:white; border-radius:1em; }
.inventorpic { margin-top:30%;}
.main-container {
  padding: 10px 15px;
}
.centered { text-align:center; }
.video-container {
	position:relative;
	padding-bottom:56.25%;
	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%;
}
.x-btn, .button, [type="submit"] {
    color: #ffffff;
    border-color: #ac1100;
    background-color: #BE1E2D;
    margin-bottom: 0.25em;
    text-shadow: 0 0.075em 0.075em rgba(0,0,0,0.5);
    box-shadow: 0 0.25em 0 0 #a71000,0 4px 9px rgba(0,0,0,0.75);
    border-radius: 0.25em;
	padding:.5em;
}
.skyblue {
	background-color: #22c8ff;
}

.darkerskyblue {
	background-color: #00a6dd;
}
.carousel-indicators {
	bottom: 0;
}
.carousel-control.right,
.carousel-control.left {
	background-image: none;
}
.carousel .item {
	min-height: 350px; 
	height: 100%;
	width:100%; 
}
.carousel-caption {
  text-align:left;
    float: left;
    padding-top: 8%;
	margin-left:30%;
}

.carousel-pic {
 margin:0 auto;
 padding-top:8%;
}

/*.carousel-caption h3,
.carousel .icon-container,
.carousel-caption button {
	background-color: #09c;
}*/
.carousel-caption h3 {
  font-size:300%;
  text-align:left;
	padding: .5em 0;
  display:block;
}
.carousel-caption h4 {
  font-size:24px;
  text-align:left;
	padding: .5em;
  margin:2em 0;
  clear:both;
  display:initial;
  background-color: #fff;
  color:black;
  text-shadow:none;
  
}
.carousel-caption  p {
  font-size:150%;
  display:block; 
  margin-top:1em;
}
.carousel .icon-container {
	display: inline-block;
	font-size: 25px;
	line-height: 25px;
	padding: 1em;
	text-align: center;
	border-radius: 50%;
}
.carousel-caption button {
	border-color: #00bfff;
	margin-top: 1em; 
}

/* Animation delays */
.carousel-caption h3:first-child {
	animation-delay: 0.5s;
}
.carousel-caption h4:nth-child(2) {
	animation-delay: 1s;
}
.carousel-caption p {
	animation-delay: 1.5s;
}
.carousel-pic img {
	animation-delay: 1s;
}
.navbar {
/* top: 0;
   right: 0;
   position: fixed;
   z-index: 3000;
   height:100px; */
   width:100%;
   background:white;
}



.nav ul {
    list-style-type: none;
    margin: 0 0 1em 0;
    padding: 0;
    overflow: hidden;
	float:right;
}

.nav li {
    float: left;
}

.nav li a {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav li a:hover:not(.active) {
    background-color: #B66E78;
	color:white;
}

.active {
    background-color: #940014;
	color:white;
}


h1 {
  text-align: center;  
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
}

.p {
  padding-top: 125px;
  text-align: center;
}

.p a {
  text-decoration: underline;
}


@media screen and (max-width: 767px) {
	.grid {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 20px; /* grid-space to left */
		padding-right: 10px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-10px=10px */
	}


	[class*="col-"] {
		width: auto;
		float: none;
		margin: 10px 0;
		padding-left: 0;
		padding-right: 10px; /* column-space */
	}
	form {
		width:350px;
	}

	.header .first {
		margin:0 auto;
	}

.inventorpic { margin-top:0;}
}


@media screen and (max-width: 480px) {
	/* Mobile Layout */
	form {
		width:100%;
	}
	.fields input, .fields select, .phonewrap {
		float:none;
	}
	.fields label {
		display:block;
	}
	.carousel-caption { margin-left:0; }
	.carousel-caption p { text-align:center; }
	.nav li a { padding: 14px 5px; }
	#skill .bump-down {
margin-top:5em
}

}
