header {
	text-align: center;
	padding: 10px;
}

header a {
    color: #0B3E75;
}

#warrant {
	font-size: 70%;
}

#logo img {
  max-width: 100%;
  max-height: 120px;
}

#contact {
	line-height: 2;
}

.navbar {
  border-radius: 0;
}

.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}

.navbar-inverse {
    background-color: #0B3E75;
    border-color: #0B3E75;
}

.navbar-inverse button {
    color: #9d9d9d;
}

footer {
  clear: both;
	text-align: center;
	font-size: 80%;
  color: #666;
  padding: 50px;
}

h1, h2 {
  font-family: "Times New Roman", Times, serif;
}

.container-fluid {
	max-width: 1030px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.vmargin {
    margin-top: 20px;
    margin-bottom: 20px;
}

.shadow {
    box-shadow: 1px 2px 2px 1px grey;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 510px;
  max-width: 810px;
  margin-top: 30px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 510px;
  Xbackground-color: #777;
}
.carousel-inner > .item > img {
  Xposition: absolute;
  Xtop: 0;
  Xleft: 0;
  Xmax-width: none;
  height: 500px;

  margin-left: auto;
  margin-right: auto;
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

.carousel-control.left, .carousel-control.right {
  background-image: none;
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

.boxes .item img{
  margin-left: auto;
  margin-right: auto;
}

.boxes .item {
  max-width: 300px;
  padding-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.award-logo {
  max-width: 160px;
  margin-top: 20px;
  margin-bottom: 20px;
}


.tweet-info .avatar,
.tweet-info .p-nickname,
.TweetAuthor-avatar,
.TweetAuthor-screenName {
  display: none;
}


.tweet-info {
  display: inline-block;
  width: 100%;
}

.tweet-info, .tweet-info a {
  color: #666;
}

.tweet-info img {
  float:left;
  height: 40px;
  width: 40px;
  margin-right: 5px;
}

.TweetAuthor-verifiedBadge {
  display: none;
}

.tweet-img img {
  max-width: 100%;
}

.tweet {
    Xfloat: left;
    Xmax-height: 600px;
    Xwidth: 320px;
    padding: 10px;
    Xvertical-align: middle;
    background-color: #eee;
    border-radius: 4px;
    margin: 10px 0;
}

.tweet-img {
    vertical-align: top;
    max-height: 440px;
    margin-bottom: 5px;
    overflow: hidden;
}

#content .tweet .caption p {
    font-style: italic;    
    text-align: center;
    font-size: 90%;
}

#content .tweet .caption h4 {
    margin-top: 25px;
}
