/* place custom css here */

.color1 {
  color: #FFFFFF;
}

header a.logo img {
	max-height: 55px;
}

.button-custom-1 {
    background-color: #035198;
    border:0;
    color: white;
}

.footer-logo {
    margin-right: 10px;
    max-height: 35px;
}

.home-icon-1 {
    margin-bottom: 25px;
}

.feature-box {
    cursor: auto;
}

/* used in the webform (career form) */
.hide-fieldset-legend legend {
    display: none;
}

.custom-label-1 {
    background-color:#EEEEEE;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    height: 40px;
    padding-top: 8px;
}

.carousel-caption {
  text-align: left;
  top:40% !important;
  right: auto;
  left: 20%;
}



#slider-content-mobile {    
  display: none;
}

#slider-content-mobile {
  text-align: center;
}

#slider-content-mobile .mobile-title {
  margin-top: 50px;
  font-size:30px;
}

#slider-content-mobile .mobile-subtitle {
  font-size:20px;
  margin-top: 15px;
}

#slider-content-mobile .mobile-button {    
  font-size: 20px;
  padding: 10px;
  margin: 0 auto;
  margin-top:20px;
  margin-bottom: 20px;
  width:60%;
  display: block;
}

  /* small screens  */
  @media only screen and (max-width : 991px) {
    /* (special case for the home page slider) */
    #slider-content-mobile {
      display: block;
    }

    .desktop-only {
      display: none !important;
    }
 
   } /* media */







/* slider css (original code from: https://bootsnipp.com/snippets/VE18Z) */

/*
inspired from http://codepen.io/Rowno/pen/Afykb
& https://jsfiddle.net/q0rgL8ws/
*/

.carousel-caption {
  bottom: auto;
  top: 30%;
}

.carousel-caption h2 {
  margin-bottom: 0px;
}

.carousel-fade .carousel-inner .carousel-item {
  opacity: 0.5;
  transition-property: opacity;
    overflow:hidden;
}
.carousel-item.active img {
    transition: transform 5000ms linear 0s;
    /* This should be based on your carousel setting. For bs, it should be 5second*/
    transform: scale(1.05, 1.05);
}
.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 > .carousel-item.next,
    .carousel-fade .carousel-inner > .carousel-item.active.right {
      opacity: 0.5;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .carousel-item.prev,
    .carousel-fade .carousel-inner > .carousel-item.active.left {
      opacity: 0.5;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .carousel-item.next.left,
    .carousel-fade .carousel-inner > .carousel-item.prev.right,
    .carousel-fade .carousel-inner > .carousel-item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}
