/*******************************************/
/* NAVIGATION                              */
/*******************************************/

/*@media (max-width: 1250px) {*/
@media (max-width: 1499px) {
   .nav>li>a {
      color:#fff;
   }
   .navbar-toggle {
      border:2px solid #fff;
      margin-top:22px;
      transition:.3s;
   }
   .icon-bar {
      background-color:#fff;
      transition:.3s;
   }
   .navbar-toggle:hover {
      background-color:#fff;
      border:2px solid #fff;
   }
   .navbar-toggle:hover > .icon-bar {
      background-color:rgba(94,94,94.5);
   }
   .nav>li>a:focus, .nav>li>a:hover, .nav>li>a:active {
      background-color:#ffde59;
      color:#01213b;
   }
   .navbar-header {
      background-color:rgba(94,94,94,.9);
      height:80px;
   }
   .navbar-nav {
      background-color:rgba(94,94,94,.9);
   }
   .navbar-collapse {
      margin-top:-8px;
      border:none;
   }
   .navbar-brand img {
      height:50px;
      width:auto;
   }
   .navbar-header {
       float: none;
   }
   .navbar-right {
      margin-right:-15px;
   }
   .navbar-left,.navbar-right {
       float: none !important;
   }
   .navbar-toggle {
       display: block;
   }
   .navbar-collapse {
       border:none;
       border-top:none;
       box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
   }
   .navbar-fixed-top {
       top: 0;
       border-width: 0 0 1px;
   }
   .navbar-collapse.collapse {
       display: none!important;
   }
   .navbar-nav {
       float: none!important;
       margin-top: 7.5px;
   }
   .navbar-nav>li {
       float: none;
   }
   .navbar-nav>li>a {
       padding-top: 10px;
       padding-bottom: 10px;
   }
   .collapse.in{
       display:block !important;
   }
   #hero {margin-top:80px;}
}

/*******************************************/
/* CUSTOM MEDIA QUERIES                    */
/*******************************************/

@media (min-width:1200px) and (max-width: 1550px) {
   #our_mission, #primary {
      margin-top:-350px;
   }
   #hero .hero-message h1 {
      font-size:4rem;
   }
   #hero .hero-message h2 {
      font-size:3rem;
   }
   #hero .hero-message h3 {
      font-size:2rem;
   }
   #hero .hero-message h4 {
      font-size:1.5rem;
   }
   #hero .hero-message {
      padding:40px;
   }
}

/*******************************************/
/* CAROUSEL MEDIA QUERIES                  */
/*******************************************/

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
   .carousel {
       height: 300px;
       height:250px;
   }
   .carousel .item {
       height: 300px;
       height:250px;
   }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
   /*
   .carousel {
       height: 400px;
   }
   .carousel .item {
       height: 400px;
   }*/
   .carousel .item .carousel-caption .mediumText {
       line-height: 1;
       font-size: 22px !important;
       padding-top: 5%;
   }
   .carousel .item .carousel-caption .bigText {
       line-height: 1;
       font-size: 60px !important;
       position: relative;
       padding-top: 0;
       padding-bottom: 20px;
       margin-bottom: 25px;
   }
   .carousel .item .carousel-caption .bigText.bigger {
       font-size: 100px !important;
       margin-bottom: -5%;
   }
   .carousel .item .carousel-caption .bigText a.btn {
       float: none;
       position: absolute;
       bottom: -40px;
       right: -25px;
       font-size: 30px;
   }
   .carousel .item .carousel-caption .row > .bigText.tripleBorder {
       border-right: 5px solid #f00;
   }
   .carousel .item .carousel-caption .row > .bigText.tripleBorder:before {
       border-right: 5px solid #fff;
       position: absolute;
       content: "";
       top: 0;
       right: 17px;
       bottom: 0;
       left: 0;
   }
   .carousel .item .carousel-caption .row > .bigText.tripleBorder:after {
       border-right: 5px solid #aeaeae;
       position: absolute;
       content: "";
       top: 0;
       right: 6px;
       bottom: 0;
       left: 0;
   }
   .carousel .item .carousel-caption blockquote {
       font-size: 60px;
   }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
   .carousel .item .carousel-caption .mediumText {
       font-size: 25px !important;
       padding-top: 2%;
   }
   .carousel .item .carousel-caption .bigText.bigger {
       font-size: 100px !important;
       margin-bottom: 35px;
   }
   .carousel .item .carousel-caption .bigText a.btn {
       bottom: 30px;
       right: 10px;
       font-size: 30px;
   }
   .carousel .item .carousel-caption blockquote {
       font-size: 60px;
   }
}

/*******************************************/
/* 5 COLUMN MEDIA QUERIES                  */
/*******************************************/

@media (min-width: 768px) {
   .col-sm-5ths {
       width: 20%;
       float: left;
   }
}

@media (min-width: 992px) {
   .col-md-5ths {
       width: 20%;
       float: left;
   }
}

@media (min-width: 1200px) {
   .col-lg-5ths {
       width: 20%;
       float: left;
   }
}

/*******************************************/
/* STANDARD MEDIA QUERIES                  */
/*******************************************/

/* Large Devices: Large Desktops */
@media (max-width: 1200px) {
}

/* Medium Devices: Desktops */
@media (max-width: 1199px) {
   #our_mission, #primary {
      margin-top:-200px;
   }
   #hero {
      padding-top:15%;
   }
   #blog-index {
      margin-top:100px;
   }
}

/* Small Devices: Tablets */
@media (max-width: 992px) {
   #hero .hero-message {
      padding:25px;
   }
   #our_mission .row:last-child p {
      text-align:center;
   }
   #benefits img {
      margin-bottom:25px;
   }
   #benefits h3 {
      text-align:center;
   }
   #benefits p {
      text-align:center;
   }
   #newsletter p {
      color:#fff;
      text-align:center;
   }
   footer img {
      display:block;
      text-align:center;
      margin:0 auto;
      margin-bottom:50px;
   }
   footer h6, footer ul li {
      text-align:center;
   }
   #blog-newsletter p {
      text-align:center;
   }
   #blog-newsletter input[type="email"] {
      text-align:center;
      margin:0 auto;
      margin-top:20px;
      width:75%;
   }
   #blog-index .button-group {
      width:100%;
   }
   #blog-index {
      margin-top:75px;
   }
}

/* Tiny Devices: Phones */
@media (max-width: 767px) {
   #hero {
      padding-top:25%;
   }
   #hero .hero-message {
      padding:25px;
   }
   #hero .hero-message h1 {
      font-size:3rem;
   }
   #hero .hero-message h2 {
      font-size:2.5rem;
   }
   #hero .hero-message h3 {
      font-size:2rem;
   }
   #hero .hero-message h4 {
      font-size:1.5rem;
   }
   #our_mission, #primary {
      margin-top:-50px;
   }
   #blog-index {
      margin-top:30px;
   }
   #primary h2 {
      width:100%;
   }
   #testimonials .testimonial-bottom {
      margin-top:200px;
   }
   .test-btn {
      margin-top:150px;
   }
   .home-blog .media img {
     width:100%;
     height:auto;
   }
   .home-blog .media .text {
     text-align:center;
   }
   #wpsl-widget-form button {
      margin-top:15px;
      width:100%;
    }
}