/* Breakpoints to match _variables.scss */
/* $mobile-lg: 	calc(576rem / 16); = 36rem
$tablet: 		calc(768rem / 16); = 48rem
$tablet-lg: 	calc(992rem / 16); = 62rem
$desktop: 		calc(1200rem / 16); = 75rem
$desktop-lg:	calc(1400rem / 16);  = 87.5rem
$desktop-xl:	calc(1680rem / 16); = 105rem */


.btn:focus-visible {
    outline: solid 2px #00f;
}

 /* HEADER NAV STYLES >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
#header-stock-ticker {
    position: absolute;
    top: 5px;
    right: 50%;
    transform: translateX(50%);
    font-size: 12px;
    font-weight: 500;
    text-align: center;

    .module-stock-header_description3,
    .module-stock-header_date {
        display: none;
    }
}

#dialog-search .dialog-content {
    margin-right: 10px !important;
}

@media screen and (max-width: 440px) {
    #search-toggle {
        right: 44px;
    }
}
@media screen and (min-width: calc(36rem)) {
    .hero-banner {
        height: auto !important;
    }
}
@media screen and (min-width: calc(75rem)) {
    #header-stock-ticker {
        font-size: 14px;
        top: 5px;
        right: 5px;
        transform: none;

        .module-stock-header_description3,
        .module-stock-header_date {
           display: inline-block;
        }
        .module-stock-header_description1 {
            font-size: 16px;
        }
        .stock-one span {
           margin-left: 15px;
        }   
    }
    #header-nav-wrap {
        padding-right: 24px !important;
    }
    #search-toggle {
        right: 0;
    }
    #main-navigation ul:first-child, #footer-navigation ul:first-child, #subfooter-navigation ul:first-child {
        gap: 16px;
    }
    #main-navigation ul:first-child>li:last-child>.sub-menu {
        left: auto;
        right: -44px;
    }
}
@media screen and (min-width: calc(80rem)) {
    #main-navigation ul:first-child, #footer-navigation ul:first-child, #subfooter-navigation ul:first-child {
        gap: 24px;
    }
}

/* HOME PAGE SLIDER STYLES >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
.investor-home-slider {
    max-width: 1054px;
    margin: 7% auto;
    padding: 0 3rem;
    z-index: 1;

    .slick-track {
        display: flex !important;
    }
    .slick-slide {
        height: inherit !important;
    }
    
    .slick-dots {
        display: flex;
        justify-content: center;	
        margin: 0;
        padding: 1rem 0;
        list-style-type: none;	
        li {
            margin: 0 0.25rem;
        }
    
        button {
            display: block;
            width: 1.25rem;
            height: 1.25rem;
            padding: 0;
            border: solid 2px #fff;
            border-radius: 100%;
            background-color: transparent;
            text-indent: -9999px;

            &:focus-visible {
                outline: 2px solid #00f;
            }
    
        }
        li.slick-active button {
            background-color: #fff;
        }	
    }
    
    .slick-arrow {
        display: block;
        position: absolute;
        top: calc(50% - 48px);
        text-indent: -9999px;
        line-height: 0;
        width: 36px;
        height: 48px;
        margin: 0;
        padding: 0;
        border: none;
        cursor: pointer;
    
        &.slick-prev {
            left: 0px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13.998" height="24" viewBox="0 0 13.998 24"><path id="angle-down-solid" d="M42.513,141.337a2,2,0,0,0,2.83,0l10-10a2,2,0,1,0-2.83-2.83l-8.584,8.584-8.584-8.578a2,2,0,0,0-2.83,2.83l10,10Z" transform="translate(141.923 -31.925) rotate(90)" fill="%23FFFFFF"/></svg>') no-repeat center center;
            background-size: 14px 24px;
        }
    
        &.slick-next {
            right: 0px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="13.998" height="24" viewBox="0 0 13.998 24"><path id="angle-down-solid" d="M42.513,141.337a2,2,0,0,0,2.83,0l10-10a2,2,0,1,0-2.83-2.83l-8.584,8.584-8.584-8.578a2,2,0,0,0-2.83,2.83l10,10Z" transform="translate(-127.925 55.925) rotate(-90)" fill="%23FFFFFF"/></svg>') no-repeat center center;
            background-size: 14px 24px;
        }

        &:focus-visible {
            outline: 2px solid #00f;
        }
    }
}
.investor-home-slide {
    background-image: linear-gradient(180deg, rgba(1,0,0,.6) 0%, rgba(1,0,0,.29) 100%);
    padding: 1.5em;
    color: #fff;
    text-align: center;
    display: flex !important;
    align-items: center;

    p {
        font-size: 1.8rem;
        font-weight: 500;
    }
}


/* 3x BRAND COLOR CARDS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
.brand-cards {
    position: relative;
    z-index: 1;

    .card-brand-card {
        padding: 1rem;
    }
    .brand-card-wrap {
        background-color: #AB2328;
        padding: 1.5rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .brand-card-content a {
        color: #fff;
        text-decoration: none;

        &:hover, &:focus {
            color: #000;
        }
    }
    h3 {
        text-transform: uppercase;
        font-size: 2rem;
    }
    p {
        font-size: 1.8rem;
        font-weight: 500;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    a.text-link:focus,a.text-link:hover {
        color: #000;
        border-color: #000;
    }

    @media screen and (min-width: 105rem) {
        max-width: 1320px !important;
    }
}
.pdf-link-text {
    font-size: .75em;
    font-weight: 400;
    display: inline-block;
    margin-left: .2em;
}

/* HOME PAGE 3x LATEST NEWS STYLES slightly changed from LSI Corp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */

#news-feed {
    padding: 40px 0 80px;

    .post-date {
        font-weight: 500;
        text-transform: uppercase;
        font-size: 1.25rem;
    }
    .news-item-wrap {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    a.text-link {
        margin-top: .5rem;
    }
}

/* HOME PAGE LATEST EVENTS PRESENTATIONS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
#home-events {
    padding: 0;
    background-position: center center;
    background-size: cover;
    overflow: hidden;

    .row {
        margin: 0;
    }
    .col-events, .col-pres {
        padding: 60px 0;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;

        &::after {
            content: '';
            position: absolute;
            z-index: -1;
            top: -1.5rem;
            bottom: -1.5rem;
            width: 50vw;
        }
    }
    .col-events {
        padding-right: 2rem;
        &::after {
            right: 0;
            background-color: rgba(0,0,0,.7);
        }
    }
    .col-pres {
        padding-left: 2rem;
        text-align: right;
        &::after {
            left: 0;
            background-color: rgba(171,35,40,.85);
        }
    }
    @media screen and (max-width: 991px) {
        .col-events, .col-pres {
            &::after {
                width: 200vw;
                left: -25vw;
            }
        }
    }

    .pres-iframe-container {
        display: block;
        position: relative;
        padding-bottom: 57.1429%; 

        iframe {
            position: absolute; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%;
            border:none;
        }
    }
    .col-events-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    h2 {
        font-size: 2.5rem;
    }
    .post-date {
        font-weight: 500;
        text-transform: uppercase;
        font-size: 1.25rem;
    }
    .card-event-wrap {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 24px;
        border-top: solid 4px #AB2328;

        a {
            color: #fff;
            text-decoration: none;
            transition: color .15s ease-in-out, background-color .15s ease-in-out;

            &:hover, &:focus {
                color: #fff;
                background-color: #AB2328;
            }
        }
    }

    a.text-link {
        margin-top: .5rem;
    }
    .home-events-cta {
        padding-top: 2rem;
    }
}

/* HOME PAGE LATEST RESULTS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
#home-results {
    padding: 120px 0 80px;
    position: relative;
    background-position: center center;
    background-size: cover;

    &::after {
        content: '';
        position: absolute;
        z-index: 0;
        display: block;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.27) 100%);
    }
    .container {
        position: relative;
        z-index: 1;
    }

    h2 {
        font-size: 2.5rem;
    }
    h3.results-current-q {
        font-size: 4rem;
        font-weight: 500;
    }

    .results-highlight {
        display: inline-block;
        background-color: #AB2328;
        color: #fff;
        position: relative;
        width: 100%;
        max-width:420px;

        &::after {
            content: '';
            position: absolute;
            background-image: url(/assets/images/stock-arrow-up.png);
            background-repeat: no-repeat;
            background-position: top right;
            top: 10px;
            left: 0;
            right: 10px;
            bottom: 0;
            opacity: 1;
            z-index: 0;
        }

        .results-highlight-wrapper {
            position: relative;
            padding: 3rem 1.5rem 1.5rem 1.5rem;
            z-index: 1;
        }

        h4 {
            font-size: 1.5rem;
            margin-bottom: .1em;
        }
        span {
            display: block;
        }
        .module-stock-header_description1 {
            font-weight: bold;
        }
        .module-stock-header_stock-price {
            font-size: 3.25rem;
            float: left;
            margin-right: 1rem;
        }
        .module-stock-header_volume {
            line-height: 4.8;
            font-weight: bold;
        }
        .module-stock-header_description3 {
            clear: left;
            font-size: .8em;
        }
        .module-stock-header_date {
            font-size: .8em;
        }
    }
    .brand-cards {
        padding-top: 60px;

        .btn {
            margin-top: 40px;
        }
    }
}

/* FOOTER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
.footer-quicklinks, .footer-contact {
    padding-bottom: 4rem;
    a {
        color: #fff;
        text-decoration: none;
        transition: color .15s ease-in-out;
        font-weight: 700;
        display: block;

        &:hover, &:focus {
            color: #AB2328;
        }
    }
}
.footer-contact {
    h4 {
        margin-bottom: 0;
    }
    a {
        font-weight: normal;
    }
}
#footer-navigation ul:first-child {
    gap: 16px;
}
#footer-form-checkboxes {
    position: relative;
    border: none;
	border-radius: 4px;
	outline: solid 1px rgb(153,150,149) !important;
}
.footer-form-email-row {
    display: flex;
    @media screen and (max-width: 600px) {
        flex-flow: row wrap;
        justify-content: flex-end;
    }
}
.footer-form-checkboxes-container {
    display: flex;
    flex-flow: row wrap;
    gap: 2%;

    > * {
        flex: 0 1 48%;
    }
    label {
        font-weight: normal;
        margin: 0.625em 0 0.35em;
    }
}
.footer-form-col {
    h4 {
        margin-bottom: .5rem;
    }
    input[type="email"] {
        margin-bottom: 10px !important;
    }
    .btn-text {
        float: right;
    }
}
.btn-text {
    background: none;
    border: none;
    font-weight: normal;
    color: #fff;
    padding: .5em;
}
button, label {
    cursor: pointer;
}


/* INTERIOR PAGE NAV LINK BAR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
.page-link-nav {
    background-color: #AB2328;
    padding: 0.75rem 0 1rem;

    ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-end;
        gap: 2rem;
        margin: 0;
    }
    a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        transition: color .15s ease-in-out;
        line-height: 1.2;
        display: block;
        padding: 0.25rem 0 0.5em;
        border-bottom: solid 2px #fff;
        max-width: 12rem;
        text-align: center;
        transition: color .15s ease-in-out, border-color .15s ease-in-out;

        &:hover, &:focus {
            color: #000;
            border-color: #000;
        }
    }
}