
/*Nav Section..*/
nav.navbar .affix .ubermenu-skin-black-white-2 .ubermenu-item-level-0:hover > .ubermenu-target,
nav.navbar .affix .ubermenu-skin-black-white-2 .ubermenu-item-level-0.ubermenu-active > .ubermenu-target,
nav.navbar .affix .ubermenu-item-level-0.ubermenu-current-menu-ancestor > a,
nav.navbar .affix .ubermenu-item-level-0.ubermenu-current-menu-item > a,
nav.navbar.navbar-inverse.main-color-2-bg {
    background-color: #ffffff;
}

span.ubermenu-target-title.ubermenu-target-text {
  color: #005591;
  text-transform: uppercase;
}

nav.navbar .ubermenu-item-level-0.ubermenu-current-menu-item > a,
nav.navbar .ubermenu-item-level-0.ubermenu-current-menu-item > a > span,
nav.navbar .ubermenu-item-level-0.ubermenu-current-menu-ancestor > a,
nav.navbar .ubermenu-item-level-0.ubermenu-current-menu-ancestor > a > span {
  color: #005591 !important;
}


.home .alliant-slider {
  max-height: 450px;
}


/* Slider */

/* reset animation styles */
.home .alliant-slide.active-slide,
.home .active-slide .alliant-slide-text {
  animation: none;
  -webkit-animation: none;
}

.home .alliant-slider {
  height: -webkit-calc(100vh - 140px);
  height: -moz-calc(100vh - 140px);
  height: calc(100vh - 140px);
  max-width: 100%;
  margin: 0px auto;
  position: relative;
}
.home .alliant-slide {
  position: absolute;
  z-index:1;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  opacity:0;
}

.home .alliant-slide.active-slide{
  z-index:3;
}
.home .alliant-slide.previous-slide{
  opacity:1;
  z-index:2;
}
/*
.alliant-slide-text{
//  opacity:0;
}*/
.ie9 .alliant-slide-text{
  opacity:1;
}
/*
.active-slide .alliant-slide-text{
  opacity:0;
}*/


/* desktop slider home */
.home .alliant-slide {
  background-color: #002856;
  display: block;
  background-image: none !important;
}

.home .alliant-slide-wrapper {
  display: flex;
  height: 100%;
  margin: auto;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

.home .alliant-slide-content {
  display: block;
  height: 100%;
  width: 50%;
  position: relative;
}

.home .alliant-slide-image {
  display: block;
  background-color: #002856;
  height: 100%;
  width: 50%;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: 0;
  margin-right: calc((80.625em - 100vw) / 2);
  flex-grow: 1;
  max-width: none;
}

.home .alliant-slide-image::after {
  content: '';
  background-image: url(../images/hero-curve-blue.svg);
  background-position: left;
  background-repeat: no-repeat;
  background-size: auto 100%;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 2;
  left: -45px;
  width: 100%;
}

.home .alliant-slide:nth-child(2n+2) .alliant-slide-image::after {
  background-image: url(../images/hero-curve-purple.svg);
}

.home .alliant-slide:nth-child(3n+3) .alliant-slide-image::after {
  background-image: url(../images/hero-curve-orange.svg);
}

.home .alliant-slide-text {
  background-color: transparent;
  opacity: 1;
}

.home .alliant-slide-text h2{
  color: #ffffff;
  font-family: FFQuadraatWebPro;
  font-weight: normal;
  font-style: normal;
  font-size: 38px;
}

.home .alliant-slide-desc  {
  font-family: TradeGothicLT;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 25px;
}

.home .alliant-slide-btn {
  border-color: #002856;
  border-radius: 12px;
  border-width: 1px;
  color: #002856;
  display: initial;
  font-family: TradeGothicLT-Bold;
  font-size: 16px;
  font-weight: normal;
  line-height: 0;
  letter-spacing: 0.03125em;
  text-transform: uppercase;
  background: #ffffff;
  padding: 15px 40px;
  margin: 0;
  transition: all .25s;
}

.home .alliant-slide-btn:hover {
  color: #ffffff;
  background: #002856;
  border-color: #ffffff;
  border-width: 2px;
  border-style: solid;
}

.home .alliant-slide-btn i {
  display: none;
}

.home p.alliant-slide-desc {
    padding-bottom: 20px;
}

@media(max-width:768px) {

  .home .alliant-slide-wrapper {
    display: flex;
    height: 100%;
    max-width: 1200px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-flow: row wrap;
    flex-flow: column;
  }

  .home .alliant-slide-content {
    display: block;
    height: 100%;
    width: 100%;
    order: 2;
    position: relative;
    background: #002856;
    text-align: center;
    padding-bottom: 15px;
  }

  .home .alliant-slide-text {
    width: 100%;
    font-size: 90%;
    left: auto;
    bottom: auto;
    margin: auto;
    position: relative;
    order: 2;
    bottom: 0 !important;
  }

  .home .alliant-slide-image {
    background-color: #002856;
    height: 100%;
    width: 100%;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    order: 1;
    margin: auto;
  }

  .home .alliant-slide-image::after {
    display: none;
    left: -2px;
  }

  .home .alliant-slider{height: 500px;}
  .home .alliant-slide-text{font-size: 80%;}

  .home #side-menu-trigger, .home #slider-side-menu{
    display:none;
  }
}

@media (min-width:770px) and (max-width:1050px) {

  .home .alliant-slide-image {
    margin-right: 0;
  }
}

@media(min-width:769px) {
/*@media(min-width:1025px) {*/
	.home .alliant-slide-text{
    bottom: 15%;
    left: 5%;
  }
	.home .alliant-slide{
    min-height: 400px;
  }
	.home .active-slide .alliant-slide-text{
    bottom:112px;
  }

	.home .alliant-slide.active-slide {
    -webkit-animation: fadeIn .6s 0s ease-out forwards;
    animation: fadeIn.6s 0s ease-out forwards;

  	.active-slide .alliant-slide-text{
      -webkit-animation: fadeInSlide .6s .4s;
      animation: fadeInSlide  .6s .4s;
    }
  }
}

.home .alliant-slide-text{
  z-index: 5;
}
.home .alliant-slide{
  min-height: 400px;
}
.home .active-slide .alliant-slide-text{
  bottom:112px;
}

.home .alliant-slide.active-slide {
  -webkit-animation: fadeIn .6s 0s ease-out forwards;
  animation: fadeIn.6s 0s ease-out forwards;

  .active-slide .alliant-slide-text{
    -webkit-animation: fadeInSlide .6s .4s;
    animation: fadeInSlide  .6s .4s;
  }
}

@media(max-width:480px){
	.home .slide-holder{font-size:65%;}
	.home .alliant-slider{height: 270px;}
	.home .alliant-slide-text {padding:20px;}
	.home .alliant-slide-btn .fa {top: -2px;}
}
