/*
 * Globals
 */

/* Links */
a  {
  color: #06F;
}
a:focus {
  color: #fff;
}
a:link {
  color: #06F;
}
a:visited {
  color: #551A8B;
}
a:hover {
  color: #f33;
}
a:active {
  color: #b2f511;
}


/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */


/* use master_cad.css
html,
body {
  height: 100%;
  background-color: #333;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
*/

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
	display: table;
	width: 100%;
	height: auto; /* For at least Firefox */
	min-height: 100%;
	/* -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
	box-shadow: inset 0 0 100px rgba(0,0,0,.5); */
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  width: 95%;
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
}


/*
 * Header
 */
 .masthead {
	width: 100%;
	max-width: 1040px;
	min-width: 380px;
	height: auto;
	border: solid;
	border-color: #6F6F6F;
	border-width: 1px;
	background-color: rgba(234, 234, 234, .80); /* was rgba(212, 212, 212, .80);/* equivalent hex=#DCDCDC; */
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);  /* for IE6, IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /* for IE8 only */
	filter: alpha(opacity=80);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	behavior: url(/PIE.htc);
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 23px;
	padding-bottom: 5px;
	padding-left: 23px;
	}
	
.masthead-brand {
  margin-top: 5px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #666; /* IE8 proofing */
  color: rgba(102,102,102,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  color: #39F;
  border-bottom-color: #39F;
  border-bottom-color: rgba(51,153,255,.75);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #03F;
  border-bottom-color: #03F;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    /*position: fixed;*/
    top: 0;
  }
  /*.mastfoot {
    position: fixed;
    bottom: 0;
  }*/
  
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  /*.masthead,
  .mastfoot,*/
  .cover-container {
    width: 90%; /* Must be percentage or pixels for horizontal alignment */
  }
}

/*@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 1040px;
  }
}*/
