/* Phil Varady - ASI Subcontractor - phil@philstack.com */
/* theme enhancements to implement new design approved 11/21/2024 */

/* colors */
:root {
    --asial-orange: #d9471f;
    --asial-orange2: #f37320;
    --asial-teal: #00bace;
    --asial-yellow: #fdb813;
    --asial-blue: #06275c;
    --asial-blue2: #16469d;
    --asial-blue3: #1b75bb;
}

/* top blue bar margins */
.topNav .WTZone {
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 12px;
    padding-bottom: 15px;
}

.topNav {
    height: 60px;
}

.topNav .nav-auxiliary .UtilitySection {
    float: left;
}

@media (min-width:991px) {
    .header-top-container .header-logo-container.pull-left {
        width: 20%;
    }

    .header-bottom-container .header-container .WTZone {
        width: 80%;
        float: right;
        margin-bottom: 20px;
    }
}

#ste_container_ciSocialIcons {
    border-right: none;
}

.topNav .col-sm-12 {
    padding-right: 0px;
}



.topNav .WTZone .ContentItemContainer {
    vertical-align: middle;
}

.UtilitySection.UtilitySTEToggle.ste-section {
    padding-top: .5px;
    margin-left: 18px;
}

.UtilitySection.OnBehalfOf {
    padding-top: 7.5px;
}

.UtilitySection.UtilityAuthenticationLink {
    background: var(--asial-orange);
    font-weight: 600;
    padding: 0px 20px;
    border: solid 2px var(--asial-orange);
}

.UtilitySection.UtilityAuthenticationLink:hover {
    background: #fff;
    border: solid 2px var(--asial-orange);
    color: var(--asial-orange);
    text-decoration: none;
}

.asial-member-sign-in .NavigationLink {
    background: var(--asial-teal);
    font-weight: 600;
    padding: 4.5px 20px;
    border: solid 2px var(--asial-teal);
}

.asial-member-sign-in .NavigationLink:hover {
    background: #fff;
    border: solid 2px var(--asial-teal);
    color: var(--asial-teal);
    text-decoration: none;
}

.asial-profile-link .NavigationLink {
    background: var(--asial-yellow);
    font-weight: 600;
    padding: 4.5px 20px;
    border: solid 2px var(--asial-yellow);
    color: var(--asial-blue);
}

.asial-profile-link .NavigationLink:hover {
    background: transparent;
    font-weight: 600;
    padding: 4.5px 20px;
    border: solid 2px var(--asial-yellow);
    color: var(--asial-yellow);
}

.NavigationUnorderedList {
    padding-top: 0;
}

label[for="searchTerms"] {
    font-weight: normal;
    margin-left: 13px;
    margin-right: 23px;
}

#searchTerms {
    width: 90%;
    background: #d9d9d9;
}

#searchTerms::placeholder {
    color: #b3b6bb;
}

.ASIAL-search-container {
    padding-top: 30px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 8px;
}

.ASIAL-search-container input[type=button] {
    background: var(--asial-orange);
    padding: 5px 0px;
    border: solid 1px var(--asial-orange);
    color: #fff;
    width: 8%;
}

/* expand width for homepage */
.asial-homepage #masterContentArea {
    max-width: unset;
}

.header-logo-container {
    margin-top: 30px;
}

/* ASIAL homepage rows with margins (not full-width) */
.asial-home-row1 .col-sm-12,
.asial-home-row2,
.asial-home-row3,
.asial-home-row4 .col-sm-12,
.asial-home-row9 {
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.asial-home-row1 {
    background: url('asial-img/homepage_banner2.jpg');
    padding-bottom: 150px;
    padding-top: 40px;
    background-repeat: no-repeat;
    background-size: cover;
}

.asial-home-row2 {
    margin-top: -125px;
    margin-bottom: 100px;
}

.asial-home-row4 {
    background: url('asial-img/newsletter-signup-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#masterContentArea {
    margin-top: 0px;
}

.asial-homepage-tile-image img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    max-height: 170px;
}

.asial-homepage-tile-text {
    background: var(--asial-teal);
    padding: 20px 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.25em;
    font-weight: 600;
}

.asial-homepage-tile-link:hover {
    text-decoration: none;
}

.asial-homepage-tile-link {
    text-decoration: none;
}

.asial-home-row2 .asial-homepage-tile-link:nth-child(2) .asial-homepage-tile-text {
    background: var(--asial-yellow);
}

.topNav .ContentItemContainer {
    display: block;
    float: left;
}

.nav-aux-cart {
    margin-top: 3px;
    margin-left: 1px;
}

/* homepage carousel revisions */
.carousel-inner.bg-img,
.carousel-inner.bg-img>.item {
    background: #ffffff99;
}

.carousel-caption {
    text-align: left;
}

.carousel-caption h1 {
    color: var(--asial-blue2)
}

.carousel-caption p {
    color: #000;
    font-size: 1.2em;
    text-shadow: none;
}

.carousel-control {
    width: 5%;
}

@media (min-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
        padding-bottom: 30px;
    }
}

.asial-slideshow-right,
.asial-slideshow-left {
    width: 50%;
    float: left;
}

.asial-slideshow-right img {
    width: 450px;
    float: right;
}

.asial-slideshow-left {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.asial-homepage-slideshow .carousel-link {
    text-decoration: none;
}

.asial-homepage-slideshow .carousel-indicators li {
    border-color: var(--asial-blue);
    background-color: var(--asial-blue);
    margin: 0px 3px;
    width: 15px;
    height: 15px;
}

.asial-homepage-slideshow .carousel-indicators li.active {
    border-color: var(--asial-teal);
    background-color: var(--asial-teal);
}

@media (min-width: 768px) {
    .carousel-indicators {
        bottom: 0px;
    }
}

.asial-homepage-slideshow .TextButton {
    background: var(--asial-blue2);
    border-radius: 2px;
    font-size: 1.5em;
    border: solid 2px var(--asial-blue2);
}

.asial-homepage-slideshow .TextButton:hover {
    background: transparent;
    color: var(--asial-blue2);
}

.row.asial-home-row2 .col-sm-4 {
    padding-right: 25px;
    padding-left: 25px;
}

@media (min-width:992px) {
    .row.asial-home-row2 .col-sm-4:nth-child(1) {
        padding-left: 10px;
    }

    .row.asial-home-row2 .col-sm-4:nth-child(3) {
        padding-right: 10px;
    }
}

.row.asial-home-row2 .col-sm-4:nth-child(2) .asial-homepage-tile-text {
    background: var(--asial-yellow);
}

.row.asial-home-row2 .col-sm-4:nth-child(3) .asial-homepage-tile-text {
    background: var(--asial-orange);
}

.asial-home-row2 .ContentItemContainer {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.asial-home-row2 .ContentItemContainer:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* newsletter html */
.asial-home-row4 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.asial-home-row4 .ContentItemContainer,
.asial-newsletter-html {
    background: #ffffff90;
    border-radius: 30px;
}

.asial-newsletter-html>div {
    display: flex;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 30px;
}

.asial-newsletter-left {
    padding: 50px 50px;
}

.asial-newsletter-left h2,
.asial-newsletter-left p {
    color: var(--asial-blue2)
}

.asial-newsletter-left .TextButton {
    background: var(--asial-blue2);
    border-radius: 2px;
    font-size: 1.5em;
    border: solid 2px var(--asial-blue2);
}

.asial-newsletter-left .TextButton:hover {
    background: transparent;
    color: var(--asial-blue2);
}

.asial-newsletter-right {
    width: 50%;
    background: var(--asial-blue2);
    border-radius: 20px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px
}

.asial-newsletter-right img {
    margin-left: 15px;
}

/* news section */
.asial-home-row5 {
    background: var(--asial-blue3);
    color: #fff;
}

.asial-home-row5 a {
    color: #fff;
    text-decoration: none;
}

.asial-home-row5 .panel-body {
    padding: 0;
}

.asial-home-row5 .panel-heading {
    padding: 0;
}

.asial-home-row5 .panel-heading h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 25px;
}

.asial-news-story {
    display: flex;
    align-items: end
}

.asial-news-story-right {
    margin-top: 25px;
}

@media (min-width:992px) {
    .asial-news-story-right {
        min-width: 125px;
        margin: 15px;
    }
}

.asial-all-news-link .TextButton,
.asial-news-story-right a {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border-radius: 2px;
    border: solid 2px #fff;
    padding: 10px 15px;
}

.asial-all-news-link .TextButton:hover,
.asial-news-story-right a:hover {
    background: #fff;
    color: var(--asial-blue3)
}

.asial-all-news-link .TextButton {
    margin-right: 24px;
    margin-top: 30px;
    float: right;

}

/* events section */
.asial-home-row6 {
    background: var(--asial-orange2);
    color: #fff;
}

.asial-home-row6 .panel-heading h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 25px;
}

.asial-home-row6 .TextButton,
.asial-homepage-event-listing a {
    background: transparent;
    color: #fff;
    font-weight: 700;
    border-radius: 2px;
    border: solid 2px #fff;
    padding: 10px 15px;
}

.asial-home-row6 .TextButton:hover,
.asial-homepage-event-listing a:hover {
    background: #fff;
    color: #000;
}

.asial-homepage-event-listing h2 {
    color: #fff;
    margin-top: 10px;
}

.asial-all-events-link {
    margin-left: 10.5px;
}

/* elmo section */
.asial-home-row7 {
    background: var(--asial-yellow);
    color: #000;
}

.asial-featured-section-yellow h3 {
    color: var(--asial-blue);
}

.asial-featured-section-yellow a {
    background: transparent;
    color: var(--asial-blue);
    font-weight: 700;
    border-radius: 2px;
    border: solid 2px var(--asial-blue);
    padding: 10px 15px;
}

.asial-featured-section-yellow a:hover {
    background: var(--asial-blue);
    color: #fff;
}

.asial-featured-section-yellow .TextButton {
    float: right;
    color: var(--asial-blue);
}

/* last feature section */
.asial-home-row8 {
    background: var(--asial-teal);
    color: #000;
}

.asial-home-row8 h2 {
    color: #000;
}

.asial-home-row8 .TextButton {
    background: transparent;
    color: #000;
    font-weight: 700;
    border-radius: 2px;
    border: solid 2px #000;
    padding: 10px 15px;
}

.asial-home-row8 .TextButton:hover {
    background: #fff;
    color: #000;
}

/* sections layout */
.asial-home-row5 .col-sm-6,
.asial-home-row6 .col-sm-6,
.asial-home-row7 .col-sm-6,
.asial-home-row8 .col-sm-6 {
    padding: 50px;
    display: flex;
    align-items: center;
}

@media (min-width:992px) {

    .asial-home-row5 .col-sm-6,
    .asial-home-row6 .col-sm-6,
    .asial-home-row7 .col-sm-6,
    .asial-home-row8 .col-sm-6 {
        min-height: 550px;
    }
}

.asial-home-row5 .col-sm-6 .ContentItemContainer,
.asial-home-row6 .col-sm-6 .ContentItemContainer,
.asial-home-row7 .col-sm-6 .ContentItemContainer,
.asial-home-row8 .col-sm-6 .ContentItemContainer {
    margin-bottom: 0px;
}


/* prevent embedded video from blowing out the responsiveness */
iframe {
    max-width: 100% !important
}

/* align video to center of site */
.asial-home-row8 .ContentItemContainer {
    width: 100%;
}

.asial-homepage-video {
    float: right;
}

/*ticker*/
/*marquee*/

.marqueeWrapper {
    display: block;
    width: 100%;
    margin: 50px 0px;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: absolute;
}

.marquee a img,
.marquee a:focus img {
    opacity: 0.7;
    height: 100px !important;
    display: inline-block;
    vertical-align: middle;
    margin: 0px 20px;
}


.marquee a:hover img,
.marquee a:focus img {
    filter: none;
    opacity: 1;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
}

.asial-home-row9 {
    max-width: unset;
    padding: 0;
}

.asial-homepage-partner-logos {
    width: 100%;
}

.asial-homepage-partner-logos h2 {
    text-align: center;
    font-size: 2.25em;
    color: var(--asial-blue)
}

.asial-homepage-partner-logos img {
    padding: 0 40px;
}

/* responsive iframe for video embeds */
.asial-homepage-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.asial-homepage-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width:992px) {
    .carousel-inner .carousel-caption {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-top: 0px;
        top: 50px;
    }
}

.asial-slideshow-right img {
    width: 400px;
    margin: auto;
}

.js-marquee a {
    width: 25%;
}

.js-marquee a img {
    min-width: 300px;
    object-fit: cover
}



@media (max-width:991px) {

    .asial-home-row5 .col-sm-6 .ContentItemContainer,
    .asial-home-row6 .col-sm-6 .ContentItemContainer,
    .asial-home-row7 .col-sm-6 .ContentItemContainer,
    .asial-home-row8 .col-sm-6 .ContentItemContainer {
        min-height: 50px;
    }

    #ste_container_ciLogout,
    .asial-slideshow-left,
    .asial-slideshow-right,
    .asial-news-story-left,
    .asial-news-story-right,
    .asial-newsletter-left,
    .asial-newsletter-right {
        width: 100%;
    }

    .asial-newsletter-html,
    .asial-news-story {
        display: block;
    }

    .asial-news-story {
        margin-bottom: 50px;
    }

    .asial-newsletter-right {
        display: none;
    }

    .carousel-inner,
    .carousel-inner .item {
        height: auto !important;
        min-height: 450px;
    }

    #ste_container_ciUtilityNavigation {
        margin-left: 15px;
    }

    #ste_container_ciLogout {
        margin-top: 20px;
    }

    .ASIAL-search-container input[type="button"] {
        width: 60px;
    }

    .UtilitySection.UtilityNavigationToggle .icon-search {
        display: none;
    }

    .asial-homepage-slideshow .carousel-inner {
        display: flex;
        flex-direction: column;
    }

    .asial-homepage-slideshow .carousel-caption {
        height: 100%;

    }

    .asial-homepage-slideshow .carousel-inner .item {
        min-height: 680px !important;
        margin-bottom: 50px;
    }

    .asial-homepage-slideshow .carousel-inner .item h1 {
        margin-top: 20px;
    }

    .asial-homepage-slideshow .carousel-inner .item img {
        max-height: 300px;
        object-fit: cover;
        margin-top: 10px;
    }

    .asial-homepage-slideshow .carousel-inner .item p,
    .asial-homepage-slideshow .carousel-inner .item a {
        line-height: 1;
    }
}