body {
  /*font-family: 'Roboto Condensed', sans-serif;*/
  font-family: 'Open Sans', sans-serif;
}

h1 {
  margin-bottom: 40px;
}

.panel-thumbnail {
    max-height: 120px;
    overflow: hidden;
}

.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img {
    width: 100%;
}

.lead {
  font-size: 20px;
}

.panel {
    min-height: 326px;
}

@media(min-width:768px) and (max-width:991px) {
  .panel {
      min-height: 326px;
  }
}

 .projects-container {
   padding-bottom: 70px;
 }

 @media(max-width:767px) {
   .projects-container .lead + p {
     display: none;
   }

   .panel-thumbnail {
        max-height: 120px;
        overflow: hidden;
        max-width: 120px;
        float: left;
    }

    .panel {
      height: 120px;
      min-height: 0px;
      max-height: 120px;
      overflow: hidden;
    }

    .lead {
        padding-left: 122px;
        font-size: 18px;
        line-height: 22px;
    }

    img.pr-item-img {
      width: 100%;
    }
 }

 .navbar-brand>img {
    height: 34px;
}

.navbar-brand {
    padding: 8px 15px;
}

h1 {
    color: #0d0b21;
}

.navbar-default .navbar-nav>li>a {
    color: #0d0b21;
    font-size: 16px;
}

.navbar-default .navbar-nav>li>a:hover {
    color: #36bef0;
}

.modal-trigger {
  display: block;
}

.panel-default {
  cursor: pointer;
}


.banner-lead {
    color: white;
    text-transform: uppercase;
    font-size: 30px;
    display: block;
    float: none;
    line-height: 30px;
    margin-bottom: 10px;
}

.banner-lead.large-text {
    font-size: 54px;
    line-height: 54px;
}

.homepage-grid h5 {
    font-size: 24px;
    color: #0d0b21;
}

.carousel-fade .item {
    position: relative;
}

.overlay {
    top: 0px;
}


/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 300px;
    margin-bottom: 50px;
}
.fade-carousel .carousel-inner .item {
    height: 300px;
}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #f39c12;
    border-color: #f39c12;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #004ab9;
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-size: 6em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

/*.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s;
        -ms-transition: 2s all ease-in-out .1s;
         -o-transition: 2s all ease-in-out .1s;
            transition: 2s all ease-in-out .1s;
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s;
        -ms-transition: 2s all ease-in-out .1s;
         -o-transition: 2s all ease-in-out .1s;
            transition: 2s all ease-in-out .1s;
}*/

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #1abc9c;
    border-color: #1abc9c;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  height: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url('../images/sl1.png');
}
.fade-carousel .slides .slide-2 {
  background-image: url('../images/sl2.png');
}
.fade-carousel .slides .slide-3 {
  background-image: url('../images/sl3.png');
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
    .hero { width: 980px; }
}
@media screen and (max-width: 640px){
    .hero h1 { font-size: 4em; }
}

.hero h1 {
    color: #36bef0;
}





.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 4s;
  transition-timing-function:linear;
}

.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;
}

/*
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);
    }
}

.text-muted {
    color: #777;
    font-size: 18px;
}

@media screen and (max-width: 640px){
    .hero h1 { font-size: 2.8em; }
}
