/* Baseline styles (from /themes/custom/ngpsb2/css/hero-style2.scss) */

.paragraph--type--hero-style-3 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  margin-bottom: 30px;
  &.hero-green {
    &:before {
      background: linear-gradient(194.94deg, rgba(0,98,119,0) 0%, rgba(0,42,54,0.73) 100%);
      height: 100%;
      top: auto;
      bottom: 0;
      animation: fadeIn 1s ease;
    }
    & .hero-content-left {
      @media (min-width: 1024px) {
        max-width: 579px;
      }
    }
    & .hero-links {
      @media (min-width: 1024px) {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
      }
    }
    & .field--name-field-secondary-text-link {
      margin-top: 10px;
      color: #fff;
      @media (min-width: 1024px) {
        margin-top: 0;
      }
      & a {
        color: #fff;
        text-decoration: underline;
      }
    }
    & .field--type-link {
      & a {
        background: #1e7a44;
        color: #fff;
        &:hover {
          background: darken(#1e7a44, 5%);
        }
      }
    }
    & .link-list {
      & a {
        background: rgba(#042833, 0.8) ;
        transition: all 0.3s ease;
        &:after {
          background: url('/themes/custom/ngpsb2/images/white-arrow.svg') no-repeat center;
          background-size: cover;
        }
        &:hover {
          background: #042833;
          color: #fff;
        }
      }
    }
  }
  &:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 33vh;
    background: linear-gradient(0deg, rgba(58,58,58,0) 0%, rgba(27,27,27,0.65) 100%);
  }
  & .wrap {
    position: relative;
    z-index: 10;
    padding: 120px 0 60px;
    @media (min-width: 768px) {

    }
    @media (min-width: 1024px) {
      display: flex;
      padding: 50px 0 0;
      align-items: flex-end;
      justify-content: space-between;
      min-height: 750px;
    }
  }
  & .hero-content-left {
    padding: 0 30px 30px;
    margin-bottom: 36px;
    @media (min-width: 1024px) {
      max-width: 464px;
      width: 100%;
      margin-left: 30px;
    }
    @media (min-width: 1120px) {
      margin-left: 100px;
    }
  }
  & .hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
		line-height: 1.2;
		letter-spacing: -0.514px;
    @media (min-width: 1024px) {
      font-size: 3.75rem;
    }
  }
  & .hero-copy {
    color: #FFFFFF;
  }
  & .field--type-link {
    a {
      display: inline-block;
      border-radius: 2px;
      background-color: #EAC642;
      box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
      color: $dark-gray;
      font-weight: 700;
      padding: 16px 28px;
      transition: all 0.3s ease;
      &:hover {
        text-decoration: none;
        background-color: #FFCD00;
      }
    }
  }
  & .hero-sub-headline {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.4;
    text-transform: uppercase;
  }
  & .hero-content-right {
  	@media (min-width: 768px) {
  		padding: 0 18px 18px;
  	}
    @media (min-width: 1024px) {
      max-width: 378px;
      width: 100%;
      padding-bottom: 30px;
      margin-right: 30px;
    }
    @media (min-width: 1120px) {
      margin-right: 80px;
    }
  }
  & .field--type-image {
    float: none;
    margin: 0;
  }
  & .link-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    li {
      margin-bottom: 10px;
    }
    & a {
      border-radius: 2px;
      background-color: rgba(10,30,64,0.3);
      color: #fff;
      padding: 22px 12px;
      line-height: 19px;
      display: flex;
      align-items: center;
      &:after {
        content: '';
        background: url('/themes/custom/ngpsb2/images/light-yellow-arrow.svg') no-repeat center;
        background-size: cover;
        width: 12px;
        height: 9px;
        margin-left: 10px;
      }
      &:hover {
        color: #EFC414;
      }
    }
  }
}

.header-style-2 .sub-page .featured-top-hero-content{
  min-height: auto !important;
  margin: auto !important;
}

@media (max-width: 575px){
  .header-style-2 .sub-page .featured-top-hero-content,
  .header-style-2 .sub-page .featured-top__inner .featured-top-no-image .featured-top-hero-content{
    min-height: auto !important;
    margin: auto !important;
    justify-content: center;
  } 
}
/* -----End base styles------ */


/* Hero Overrides */

.paragraph--type--hero-style-3 {
	&::before {
		content: '';
		top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
		background: linear-gradient(180deg, #0A1F40 0%, rgba(10, 31, 64, 0.58) 100%);
	}
	& .link-list {
		padding: 15px;
		background-color: #11467D;
		& > li > a {
			background-color: #0F4C8C;
			text-decoration: none;
			font-weight: 600;
		}
	}
	& .hero-search {
		& p.search {
			display: flex;
			flex-wrap: wrap;
      justify-content: center;
			& #search-bar {
				flex: 1 1 auto;
				display: block;
				padding: 20px;
				background-color: #FFFFFF;
				color: #000000;
				border: 0;
			}
			& #hero-search-submit {
				background-color: #F4BA4E;
				color: #000000;
				padding: 21px 22px;
				font-weight: 700;
				border: none;
			}
		}
	}
	& .hero-dropdown-container {
		& label {
			display: block;
			color: #FFFFFF;
			font-weight: 700;
		}
		& select.hero-dropdown {
			padding: 20px;
			border: none;
			width: 100%;
			max-width: 375px;
		}
	}
  @media only screen and (min-width: 64rem) {
  	& .wrap {
  		min-height: auto;
    }
    &::before {
    	background: linear-gradient(90deg, #0A1F40 0%, rgba(10, 31, 64, 0.00) 66%);
  	}
  	& .hero-headline {
  		margin-bottom: 20px;
  	}
  	& .hero-content {
  		max-width: 490px;
  	}
  	& .link-list {
  		display: block;
  	}
  	&  .hero-content-left {
  		max-width: 640px;
  	}
	}
	@media only screen and (max-width: 768px) {
		& .hero-sub-headline {
			font-size: 0.8375rem;
			text-align: center;
		}
		& .hero-headline {
			font-size: 2rem;
			text-align: center;
		}
		& .hero-search p.search {
			& #search-bar {
				text-align: center;
				padding: 8px 12px;
				margin-bottom: 18px;
				flex: 0 1 100%;
			}
			& #hero-search-submit {
				padding: 8px 12px;
				border-radius: 2px;
			}
		}
		& .hero-dropdown-container {
			& label {
				text-align: center;
			}
      & select.hero-dropdown {
      	padding: 8px 12px;
      }
		}
	}
}
.paragraph--type--hero-style-3 {
	width: 100vw;
  left: 50%;
	margin-left: -50vw;
  position: relative;
  margin-top: -3.25rem;
  overflow: hidden;
  transition: opacity 0.5s ease;
  margin-bottom: 1.5625rem !important;
}
/* End Hero Overrides */