/**
 * @file
 * Frontpage specific styles for the Silver theme.
 *
 * This stylesheet provides styles for:
 * - Top banner with search
 * - Carousel
 * - Featured Links
 * - Featured Links with Sub-Links
 * - Featured News Articles
 */

/* ============================================= */
/* TOP BANNER WITH SEARCH BOX                   */
/* ============================================= */
.search-banner {
  height: 400px;
  background-image: url("/images/fpo_16x9.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 150px;
  margin-bottom: -20px;
  position: relative;
}

.search-banner-contents {
  margin-left: 35%;
  margin-right: 35%;
  text-align: center;
}

.banner-quote {
  margin-top: 65px;
  color: #00204e;
  font-size: 1.5em;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-shadow: 2px 2px #163963;
}

/* Search box styles */
.btn-search {
  width: 50px;
  display: inline-block;
  margin-top: -5px;
  margin-left: -55px !important;
  margin-bottom: 1px;
  font-size: 1.3em;
  height: 42px !important;
  text-align: center;
  vertical-align: middle;
  font-family: "FontAwesome" !important;
  color: #0072bb;
  border-left: none;
  background-color: transparent;
  z-index: 10 !important;
  padding-top: 10px;
  padding-right: 12px;
  border-radius: 4px !important;
}

.btn-search:hover,
.btn-search:focus {
  background-color: white !important;
  color: #ff901a;
  border: none;
  outline: none;
}

input.txtCriteria {
 font-family: "Montserrat", Tahoma, Verdana, Segoe, sans-serif;
    font-size: 14px !important;
    display: inline-block !important;
    border-radius: 4px !important;
    min-width: unset;
    width: 96%;
    background-color: rgba(255, 255, 255, 0.9);
    height: 44px;
    padding-top: 8px;
    padding-right: 45px;
}

input.txtCriteria::-webkit-input-placeholder {
  font-size: 1.3em !important;
  color: #4c5055 !important;
}

input.txtCriteria:-moz-placeholder {
  color: #4c5055 !important;
  opacity: 1;
  font-size: 1.3em !important;
}

input.txtCriteria::-moz-placeholder {
  color: #4c5055 !important;
  opacity: 1;
  font-size: 1.3em !important;
}

input.txtCriteria:-ms-input-placeholder {
  color: #4c5055 !important;
  font-size: 1.3em !important;
}

@media screen and (min-width: 768px) {
    .search-banner {
        height: 250px;
        padding-top: 150px;
    }
}
@media screen and (min-width: 992px) {
    .search-banner {
        height: 300px;
        padding-top: 100px;
    }
}
@media screen and (min-width: 1200px) {
    .search-banner {
        height: 400px;
        padding-top: 150px;
    }
}

@media all and (max-width: 768px) {
  .search-banner {
    height: 100px;
    padding-top: 180px;
    margin-bottom: -31px;
  }

  .search-banner-contents {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media screen and (min-width: 2100px) {
  .search-banner {
    background-image: url("/images/fpo_16x9_wTiffany_xw.jpg");
    background-size: contain;
    background-position: center;
  }
}

/* ============================================= */
/* FEATURED LINKS                               */
/* ============================================= */
.block-links {
  overflow: hidden;
  clear: both;
}

.block-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-links ul li {
  padding-top: 10px;
  list-style: none;
}

.home-link {
  display: block;
  /* padding: 15px 20px; */
  padding: 10px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 1px 1px 1px #ccc;
}

.home-link:hover {
  background-color: #f5f5f5;
  color: #0072bb;
  text-decoration: none;
}

.home-link img {
  max-height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.home-link i {
  margin-right: 10px;
  color: #163963;
  font-size: 1.2em;
  width: 25px;
  text-align: center;
}

.home-link span {
  vertical-align: middle;
}

.home-link img + span {
    padding-left: 4px;
    margin-bottom: -10px;
}

/* Right arrow indicator on featured links */
/* .home-link:after {
  font-family: 'FontAwesome';
  content: '\f054';
  float: right;
  font-size: 14px;
  color: #163963;
  margin-top: 3px;
  border: 1px solid #163963;
  border-radius: 50%;
  padding: 3px 5px;
}

.home-link:hover:after {
  color: #0072bb;
  border-color: #0072bb;
} */

/* ============================================= */
/* FEATURED LINKS ICON IMAGES                   */
/* ============================================= */
.featured-link-icon {
  max-height: 24px;
  max-width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

/* ============================================= */
/* BLOCK PANELS (Featured Link Blocks)          */
/* ============================================= */
.block-inset {
  margin-bottom: 0.5em;
  position: relative;
}

.block-panel {
  margin-bottom: 15px;
}

.block-panel .block-panel-header {
  border-bottom: 1px solid #eee;
  box-shadow: 1px 1px 1px #ccc;
  background-color: #163963;
}

.block-panel .block-panel-header .home-link {
  box-shadow: none;
  /* color: #fff; */
  /* font-weight: 600;
  font-size: 1.15em;
  text-transform: uppercase; */
}

/* .block-panel .block-panel-header .home-link:after {
  color: #fff;
  border-color: #fff;
} */

/* .block-panel .block-panel-header .home-link:hover {
  background-color: #0072bb;
} */

.block-panel .block-panel-header .home-link span {
  padding: 0;
}

.block-panel .block-panel-body {
  padding: 10px;
  background-color: #fff;
  min-height: 200px;
  box-shadow: 1px 1px 1px #ccc;
}

.block-panel .home-panel {
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-panel .home-panel li {
  list-style: none;
}

.block-panel .home-panel li .home-link {
  box-shadow: none;
  font-size: 1.05em;
  font-weight: 300;
  color: #163963;
  border-bottom: 1px solid #eee;
}

.block-panel .home-panel li .home-link i {
  color: #163963;
}

.block-panel .home-panel li .home-link:after {
  content: '\f054';
  font-size: 14px;
  margin-top: 0;
  /* border: 1px solid #163963; */
  border-radius: 50%;
  padding: 3px 5px;
}

.block-panel .home-panel li:last-child a {
  border: 0;
}

/* ============================================= */
/* FEATURED LINKS WITH SUB-LINKS                */
/* ============================================= */
.block-with-sublinks .home-panel.with-sublinks {
  list-style: none;
  padding: 0;
}

.block-with-sublinks .parent-link {
  margin-bottom: 5px;
}

.block-with-sublinks .main-link {
  font-weight: 500;
}

/* Main link arrow - encircled */
.block-with-sublinks .main-link:after {
  font-family: 'FontAwesome';
  content: '\f054';
  float: right;
  font-size: 14px;
  color: #163963;
  margin-top: 0;
  border: 1px solid #163963;
  border-radius: 50%;
  padding: 3px 5px;
}

.block-with-sublinks .main-link:hover:after {
  color: #0072bb;
  border-color: #0072bb;
}

/* Sub-links container */
.block-with-sublinks .sub-links {
  list-style: none;
  padding: 0 0 0 30px;
  margin: 0;
  background-color: #f9f9f9;
}

.block-with-sublinks .sub-links li {
  list-style: none;
}

/* Sub-link styling */
.block-with-sublinks .sub-link {
  padding: 10px 15px;
  font-size: 0.95em;
  font-weight: 300;
  color: #163963;
  border-bottom: 1px solid #eee;
  background-color: #f9f9f9;
}

.block-with-sublinks .sub-link:hover {
  background-color: #f0f0f0;
  color: #0072bb;
}

/* Sub-link arrow - NOT encircled */
.block-with-sublinks .sub-link:after {
  font-family: 'FontAwesome';
  content: '\f054';
  float: right;
  font-size: 12px;
  color: #163963;
  margin-top: 2px;
  border: none;
  border-radius: 0;
  padding: 0;
}

.block-with-sublinks .sub-link:hover:after {
  color: #0072bb;
}

/* Sub-link icons */
.block-with-sublinks .sublink-icon {
  max-height: 18px;
  max-width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.block-with-sublinks .sub-link i {
  font-size: 0.9em;
  width: 20px;
}

/* ============================================= */
/* FEATURED NEWS ARTICLES                       */
/* ============================================= */
.news-panel {
  padding: 10px;
  margin-top: 15px;
  background-color: #fff;
  min-height: 430px;
}

.news-panel h4 {
  min-height: 50px;
  margin: 10px;
  border-bottom: solid 1px #edeef2;
  font-size: 1.2em;
  font-weight: 500;
  color: #0f2345;
}

.news-body {
  min-height: 300px;
  padding: 0 10px;
}

.newspanel-image-wrapper {
  margin-top: 4px;
  margin-right: 10px;
}

.news-panel-row {
  margin-top: 20px;
}

/* Compact news list style */
.news-panel-compact {
  padding: 15px;
  margin-top: 15px;
  background-color: #fff;
  min-height: 430px;
  box-shadow: 1px 1px 1px #ccc;
}

.news-panel-compact h4 {
  font-size: 1.15em;
  font-weight: 600;
  color: #163963;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #0072bb;
}

.news-panel-compact .news-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.news-panel-compact .news-item:last-child {
  border-bottom: none;
}

.news-panel-compact .news-item a {
  color: #163963;
  display: block;
  text-decoration: none;
}

.news-panel-compact .news-item a:hover {
  color: #0072bb;
}

.news-panel-compact .news-item a:after {
  font-family: 'FontAwesome';
  content: '\f054';
  float: right;
  font-size: 12px;
  color: #163963;
  margin-top: 3px;
}

.news-panel-compact .news-item a:hover:after {
  color: #0072bb;
}

.news-panel-compact .news-item .news-title {
  font-weight: 500;
  font-size: 0.95em;
  display: block;
  padding-right: 20px;
}

.news-panel-compact .news-item .news-date {
  font-size: 0.8em;
  color: #888;
  margin-top: 5px;
  display: block;
}

/* ============================================= */
/* THREE COLUMN LAYOUT                          */
/* ============================================= */
.front-three-columns {
  margin-top: 20px;
  margin-left: 0;
  margin-right: 0;
}

.front-three-columns > div {
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .front-three-columns > div {
    margin-bottom: 30px;
  }
}

/* ============================================= */
/* CAROUSEL STYLES                              */
/* ============================================= */
.carousel-caption > p {
  color: #337ab7 !important;
  font-size: 17px;
}

div.carousel-caption {
  color: #337ab7 !important;
  text-shadow: none;
  left: 10%;
  right: 10%;
}

div.carousel-caption .text-shadow {
  color: #337ab7 !important;
  text-shadow: 1px 1px 2px black;
}

div.carousel-caption h1:hover,
div.carousel-caption .text-shadow:hover {
  color: #ff901a !important;
}

.carouselimage {
  max-height: 800px;
}

.carousel.fade {
  opacity: 1;
}

.carousel.fade .item {
  -moz-transition: opacity ease-in-out 0.7s;
  -o-transition: opacity ease-in-out 0.7s;
  -webkit-transition: opacity ease-in-out 0.7s;
  transition: opacity ease-in-out 0.7s;
  left: 0 !important;
  opacity: 0;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  z-index: 1;
}

.carousel.fade .item:first-child {
  top: auto;
  position: relative;
}

.carousel.fade .item.active {
  opacity: 1;
  -moz-transition: opacity ease-in-out 0.7s;
  -o-transition: opacity ease-in-out 0.7s;
  -webkit-transition: opacity ease-in-out 0.7s;
  transition: opacity ease-in-out 0.7s;
  z-index: 2;
}

.img-carousel {
  width: auto;
  display: block;
  margin-right: auto;
  margin-left: auto;
  height: 300px;
}

.carousel .item {
  width: 100%;
  height: 300px;
  background: white;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.carousel-inner {
  background-color: black;
}

.carousel-text {
  color: black;
  text-shadow: none;
  font-size: 18px;
}

#carouselButtons {
  margin-left: 10px;
  position: absolute;
  bottom: 4px;
}

#carouselButtons button:focus {
  background-color: #0072bb;
}

.btn.btn-panel {
  border: solid 1px gray;
  border-radius: 4px;
  padding: 4px;
  padding-bottom: 6px;
  background-color: gray;
}

.carousel-caption {
  color: white;
  bottom: 5px;
  padding-bottom: 4px;
}

.carousel-caption h2 {
  font-size: 1.3em;
  color: #0d73bb !important;
}

.carousel-gradient {
  height: 100%;
  width: 100%;
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 77%,
    rgba(255, 255, 255, 1) 86%,
    rgba(255, 255, 255, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 77%,
    rgba(255, 255, 255, 1) 86%,
    rgba(255, 255, 255, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 77%,
    rgba(255, 255, 255, 1) 86%,
    rgba(255, 255, 255, 1) 100%
  );
}

.carousel-control {
  width: 8%;
}

#my-carousel {
  margin-top: 24px;
}

/* ============================================= */
/* BOTTOM NAVIGATION BAR                        */
/* ============================================= */
.nav-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
  bottom: 0;
  margin-bottom: 0;
  border-width: 1px 0 0;
  background-color: #ee6b1b;
}

.nav-bottom a.btn {
  background-color: #1a3d66;
  font-weight: bold;
  font-size: 1.02em;
  padding: 10px;
}

.nav-bottom a:hover {
  background-color: #0072bb;
}

.nav-bottom-mobile a.btn {
  padding: 10px;
  font-size: 1em;
  border: solid 1px #ee6b1b;
}

