/*custom css for September 2020 IA USWDS Pre Update */

/* Side Nav */
.usa-sidenav {
	border-bottom: none;
}
.usa-sidenav .usa-current {
    color: #005ea2;
}

#page-title{
	margin-bottom: 0;
}

/* Provided By Styles*/	
		
.provided-by {
    color: #777;
	font-size: 1.06rem;
	line-height: 1.75;
}
.provided-by-wrapper{
    font-size: .85rem;
    margin-bottom: 1rem;
}
.provided-by a {
    margin-left: 0.3rem;
}
	
/* Subtitle Styles*/	
.subtitle-wrapper {
	margin: 2rem 0 1rem 0;
}

.iauswds_subtitle p,
.subtitle-wrapper p{
	font-family: Merriweather Web,Georgia,Cambria,Times New Roman,Times,serif;
	font-size: 1.34rem;
	line-height: 1.5;
	font-weight: 400;
	/*max-width: 88ex;*/
}

/* Short Description Styles*/    
.short-description-wrapper {
    margin: 2rem 0 1rem 0;
    font-size: 1.06rem;
    line-height: 1.75;
    font-weight: 400;
}

.short-description-wrapper p{
    font-family:"Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";   

    /*max-width: 88ex;*/
}

.subtitle {
	margin: 0 0 2rem 0;
}

/* Section Info Styles*/	
.ia-uswds-section-info-wrapper,
.sub-title-wrapper{
    font-family:"Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";	
    line-height: 1.5;
    font-weight: 400;
    font-size: 1.06rem;
    line-height: 1.75;
    font-weight: 400;
}

.ia-uswds-section-info h2.toc-headings{
    font-family: Merriweather Web,Georgia,Cambria,Times New Roman,Times,serif!important;
	font-size: 1.5rem!important;
	color: #005885!important;
	margin-top:5rem;
}

.grid-9.region.region-content h1.title,
.grid-12.region.region-content h1.title{
	font-family: Merriweather Web,Georgia,Cambria,Times New Roman,Times,serif!important;
	/*font-size: 1.95rem!important;*/
	color: #005885!important;
	margin-bottom:1em!important;
}

/* Short Description Styles*/
.iauswds_short_description,
.ia-uswds-short-desc-wrapper {
    font-size:1rem;
    line-height: 1.85;
    margin-bottom: 1em;
    font-family:"Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}


/*Video Styles*/
.ia-uswds-video-wrapper {
   margin-bottom:2rem;
}

.grid-col-3 iframe{
	width:100%;
	max-width:280px;
	height:auto;
}

/* Table of Contents Block Styles*/

#block-toc-node-toc-node{
    margin-left: 1em;
    border-left: solid thick #ccc;
    padding-left: 2em;
    margin-top: 1em;
    background: #F8F8F8;
    width: 23.5%;
    position: fixed;

}
#block-toc-node-toc-node ul{
    font-family: "Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size:1.1rem;
    line-height:1.5;
}
#block-toc-node-toc-node h2.block-title,
.grid-col-12 h3, .grid-col-6 h3, .grid-col-8 h3, .grid-col-3 h3, .grid-col-4 h3{
    font-family: "Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
   /* text-transform: uppercase;*/
    font-weight: 600;
    /*letter-spacing: .02rem;*/
    font-size: 1.2rem;
}

.image-float-right-inline-profile h3{
    font-size: inherit;
}

/* New Banner styles for Service Pages, How To , Service Detail, Etc */

.image-banner-wrapper{
    background: #fff;
    color: #333;
}
/*.image-banner-wrapper .grid-col-9{
    padding-left: 7rem;
    padding-right: 2rem;
    padding-top: 1.5rem;
}

.image-banner-wrapper .grid-col-9 h1{
    color:#ffcc33;
    font-weight: 400;
}*/
/*mobile banner stuff*/
.sp-banner-image {
    display:none;
}

.image-banner-wrapper .title h1{
    color:#333;
}
.image-banner-wrapper{
    background:#fff;
}
.image-banner-wrapper p{
    color:#333;
}
@media only screen and (min-width: 640px) {
    .sp-banner-image {
        display:block;
    }
    .image-banner-wrapper .title h1{
        color: #ffcc33;
        /* padding: 1rem; */
        font-weight: 400;
        padding: 1.4rem 1rem 1rem 2rem;
    }
    .image-banner-wrapper{
        background:#005885;
    }
    .image-banner-wrapper p{
        color:#fff;
        padding-left:2rem;
    }
}


@media only screen and (min-width: 640px) {
    .sp-banner-image {
        display:block;
    }
}
.grid-col-12.top-border-subtle {
    border-top: 1px solid #dfe1e2;
    padding-top: 1rem;
    margin-top: 1rem;
}

body.logged-in .node-service-page {
    margin-top: 0;
}

.ia-uswds-first-time-wrapper .grid-col-12,
.ia-uswds-what-would-you-like-to-do-wrapper .grid-col-12,
.ia-uswds-what-you-need-to-know-wrapper .grid-col-12 {
    margin: 1rem 0;
}

.grid-col-12.top-border{
   /* border-top:solid thin #005885;
    margin-top: 2.3rem;
    margin-bottom: 2.3rem;*/
}


.top-task-item {
    width:30%;
    float:left;
    height:200px;
    background:#999;
}

.grid-col-4.thirds-cards,
.grid-col-4.blue-rounded-cards,
.tablet\:grid-col-4.blue-rounded-cards{
    margin: 0.5rem 0;
    min-height: 92.8px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.grid-col-4.thirds-cards a,
.grid-col-4.blue-rounded-cards a,
.tablet\:grid-col-4.blue-rounded-cards a{
    font-size: 1.13rem;
    font-weight: normal !important;
    justify-content: normal;
    background: transparent;
    border: 2px solid;
    border-color: #73b3e7;
    border-radius: .5rem;
    box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    height: 95%;
}

.sub-title-wrapper{
    font-family:"Public Sans Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
    font-weight: 400;
    font-size: 1.06rem;
    line-height: 1.75;
    font-weight: 400;
}

ul.usa-card-group.slider {
    padding-left: 0 !important;
    margin-top:1.5rem;
}

.slick-slider {
    width: 90%;
    margin: 0 auto;
}

.success-story-visuals {
    margin: 0 0 1rem 0;
}

.success-story-visuals img {
    width: 100%;
}

h2.call-out{
    font-size:165%!important;
    border-bottom:solid thin #333333;
}

#zone-content-wrapper-eligibility{
    width: 99.225vw;
    position: relative;
    margin-left: -49.59vw;
    left: 50%;
    background: #eee;
    padding: 2rem 0;
    margin-bottom: 1rem;
}
.ia-uswds-elig-wrapper{
    width: 100%;
    max-width: 1182px;
    margin: 0 auto;
    padding: 1rem;
}

.ia-uswds-elig-wrapper h2{
    color:#000!important;
    font-weight: normal;
    padding: 4px 0 16px;
    font-family: Public Sans Web,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol!important;
    font-style: normal;
    font-size: 165%!important;
}
/* 0-479 */
.usa-hero {
    background-image: url(/sites/bia.gov/files/bg-hero-wide.jpg);
    font-family: Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;
    line-height: 1.5;
    padding-bottom: 2rem;
    padding-top: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 480 - 639 - Smallet*/
@media (max-width: 640px) {
    .usa-hero {
        height: 30%;
        background-size: cover;
    }
}

/* 640-1023 - Mobile large*/
@media (max-width: 640px) {
    .usa-hero {
        height: 30%;
        background-size: cover;
    }
}
/* 640-1023 - Tablet*/
@media (min-width: 640px) and (max-width: 1023px) {
    .usa-hero {
        background-position: top;
        background-size: cover;
        height: 50%;
    }
}
/* 1024 ≥ Desktop */
@media (min-width: 1024px) {
   .usa-hero {
       background-image: url(/sites/bia.gov/files/heroBG.jpg);
       background-position: center;
       background-size: cover;
       height: 60%;
   }
}
/* four highlights under Hero */

.front-page-highlight-cards{
    color:#fff;
    line-height: 1.75rem;
    position:relative;
}
.front-page-highlight-cards h1{
    color:#000;
    font-family: Public Sans Web,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol!important;
    font-weight:600;
}
h2.white-front-highlight{
    color:#fff;
    font-family: Public Sans Web,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol!important;
}

.border-white, .hover\:border-white:hover {
    border-color: #fff;
}
.front-page-mini-heroes a, front-page-mini-heroes a:hover, front-page-mini-heroes a:visited {
    color:#000;
}

/* Three News Items under Mini Hero */
.front-page-news-highlight {
    height: 14rem;
}

.front-page-news-highlight img{
    height: 200px;
    max-height: 200px;
    /*width: auto;*/
    object-fit: cover;
}

.front-page-news-items-three-by-one .grid-container{
    width:80rem;
    max-width:100%;
}

.view-front-page-news-2020.usa-card.usa-card__img,
.view-front-page-news-2020 .usa-card .usa-card__img,
.front-page-news-items-three-by-one .usa-card__img {
    max-height: 250px;
    object-fit: cover;
}

.front-page-news-items-three-by-one .usa-card__footer a,
.front-page-news-items-three-by-one .usa-card__footer a:hover,
.front-page-news-items-three-by-one .usa-card__footer a:visited{
    color:#000;
}
/* PERSONS styles */

.bio-image img {
    width:100%;
    height:auto;
}

/* Mini hero Horizontal Cards */
@media (min-width: 40em) {
    .usa-card--flag .usa-card__media {
        width: 50%;
    }
}

@media (min-width: 40em) {
    .usa-card--flag .usa-card__body,
    .usa-card--flag .usa-card__footer,
    .usa-card--flag .usa-card__header {
        margin-left: 50%;
    }
}

@media (min-width: 40em) {
    .usa-card--flag.usa-card--media-right .usa-card__body,
    .usa-card--flag.usa-card--media-right .usa-card__footer,
    .usa-card--flag.usa-card--media-right .usa-card__header {
        margin-left: 0;
        margin-right: 50%;
    }
}

.minihero .usa-card:last-child {
    margin-bottom: 0;
}

/* END Mini Hero Horizontal Cards */
.bgPotteryArtwork {
    background-image: url(/sites/bia.gov/files/bgPotteryArtwork.png);
    background-repeat: repeat-x;
    background-position: left top;
}

/* News Article Image Sytles - For Press Release Images*/
.node-newsarticle img,
.node-online-press-releases img{
    width: 100%;
    height: auto;
}

.bg-primary-darker, .hover\:bg-primary-darker:hover {
    background-color: #162e51;
}
.serviceblock:hover {
    background-color: #1a4480;
    opacity: 1;
}

/* Vertical Service Cards */

.services_item_link {
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

 .serviceblock:hover {
    background-color: #1a4480;
     opacity: 1;
 }
/* END Vertical Service Cards */

/* Google Search Modifications */
.usa-hero td.gsc-search-button {
    float: none;
    padding: 0;
}
.usa-hero .gsc-search-box-tools .gsc-search-box .gsc-input {
    padding: 0.5rem 0 !important;
    height: 2.5rem !important;
}
.usa-hero .gsc-search-button {
    margin-left: 0 !important;
}
.usa-hero .gsc-search-button-v2 {
    padding: 18px 27px !important;
}

@media (min-width: 40em) {
    .minihero .usa-card--flag .usa-card__img {
        border-radius: 0;
    }
}

.usa-pagination{
    margin-bottom:1rem;
    margin-top:1rem;
    font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;
    font-size:1.06rem;
    line-height:1.5;
    display:flex;
    justify-content:center;
}

.usa-pagination .usa-icon{
    height:1.13rem;
    width:1.13rem;
}

.usa-pagination__list{
    margin-bottom:0;
    margin-top:0;
    list-style-type:none;
    padding-left:0;
    align-items:center;
    display:flex;
    flex-flow:row nowrap;
    justify-content:center;
    width:auto;
}

.usa-pagination__item{
    display:inline-flex;
    height:2.5rem;
    justify-content:center;
    line-height:1;
    margin-left:0.25rem;
    margin-right:0.25rem;
    min-width:2.5rem;
}
@media all and (min-width: 40em){
    .usa-pagination__item{
        flex:1 0 auto;
    }
}

.usa-pagination__arrow{
    display:none;
}
@media all and (min-width: 40em){
    .usa-pagination__arrow{
        display:inherit;
    }
}

@media all and (min-width: 40em){
    .usa-pagination__previous-page{
        margin-right:1.25rem;
    }
}

@media all and (min-width: 40em){
    .usa-pagination__next-page{
        margin-left:1.25rem;
    }
}

.usa-pagination__link{
    align-items:center;
    color:#005ea2;
    display:inline-flex;
    text-decoration:none;
}
.usa-pagination__link[disabled]{
    opacity:0.4 !important;
    pointer-events:none;
}
.usa-pagination__link:hover, .usa-pagination__link:focus, .usa-pagination__link:active{
    color:#1a4480;
    text-decoration:underline;
}
.usa-pagination__link:visited{
    color:#005ea2;
}

.usa-pagination__button{
    align-items:center;
    border-color:rgba(27, 27, 27, 0.2);
    border-radius:0.25rem;
    border-style:solid;
    border-width:1px;
    color:#005ea2;
    display:inline-flex;
    justify-content:center;
    padding:0.5rem;
    text-decoration:none;
    width:100%;
}
.usa-pagination__button:hover, .usa-pagination__button:focus, .usa-pagination__button:active{
    color:#1a4480;
    border-color:#1a4480;
}

.usa-pagination .usa-current{
    background-color:#1b1b1b;
    border-color:transparent;
    color:white;
}
.usa-pagination .usa-current:hover, .usa-pagination .usa-current:focus, .usa-pagination .usa-current:active{
    background-color:#1b1b1b;
    color:white;
    text-decoration:none;
}

.usa-pagination__overflow{
    align-items:center;
    align-self:stretch;
    display:inherit;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    padding:0.5rem;
    opacity:0.5;
}

.pagination-current-page {
    align-items:center;
    border-color:rgba(27, 27, 27, 0.2);
    border-radius:0.25rem;
    border-style:solid;
    border-width:1px;
    display:inline-flex;
    justify-content:center;
    padding:0.5rem;
    text-decoration:none;
    background-color:#1b1b1b;
    color:white;
}

/* Tribal Consultations */
a.usa-button.eventregister, a.usa-button.eventregister:hover {
    color: #fff;
}

.node-tribal-consultation ul.usa-button-group, .node-tribal-consultation ul.usa-icon-list {
    padding-left: 0 !important;
}

@media (max-width: 640px) {
    .view-tribal-consultation ul.usa-collection {
        padding-left: 1rem !important;
    }
}

.view-tribal-consultation ul.usa-collection__meta {
    padding-left: 0 !important;
}

.view-tribal-consultation ul.usa-collection li.usa-collection__item:last-of-type {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom: 1rem;
}