@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Josefin Sans Regular'),
    local('JosefinSans-Regular'),
    url(../fonts/JosefinSans-Regular.woff2) format('woff2'),
    url(../fonts/JosefinSans-Regular.woff) format('woff');
    /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;*/
}

@font-face {
    font-family: 'Josefin Sans Bold';
    font-style: normal;
    font-weight: 400;
    src: local('Josefin Sans Bold'),
    local('JosefinSans-Bold'),
    url(../fonts/JosefinSans-Bold.woff2) format('woff2'),
    url(../fonts/JosefinSans-Bold.woff) format('woff');
    /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;*/
}

@font-face {
    font-family: 'Gloucester MT Extra Condensed Regular';
    src: url(../fonts/glecb-webfont.woff2) format('woff2'),
    url(../fonts/glecb-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    src: local('Saira Regular'),
    local('Saira-Regular'),
    url(../fonts/Saira-Regular.woff2) format('woff2'),
    url(../fonts/saira-regular.woff) format('woff');
}

html {
    scroll-behavior: smooth;
}

a:link {
    color: #006892;
    text-decoration: none;
}

/* visited link */
a:visited {
    color: #006892;
    text-decoration: none;
}

/* mouse over link */
a:hover {
    color: #006892;
    text-decoration: none;
}

/* selected link */
a:active {
    color: #006892;
    text-decoration: none;
}

/*******************************************/

.page-content {
    padding: 0 0 0 0; /* Removes the border on the page */
    font-size: 1rem;
}

/*************** Cookie notice **********************/
.cookieNotice {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: auto;
    text-align: center;
    background-color: rgba(000, 000, 000, 0.65);
    color: #FFF;
    padding: 1rem;
    z-index: 99;
    border-top: 2px solid white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: .875rem;
}

.cookieNotice .notice {
    display: inline-block;
}

.cookieNotice a {
    color: #FFF;
}

.cookieNotice a:hover {
    text-decoration: underline;
}

.cookieNotice .notice-button {
    margin-left: 1rem;
    margin-top: 5px;
    background-color: #006892;
    border-radius: 100px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 6px;
    padding-bottom: 4px;
    width: 100px;
    color: #fff;
}

.cookieNotice .notice-button:hover {
    background-color: #007da3;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    .cookieNotice {
        width: 100%;
        margin: 0 auto;
        font-size: 1rem;
        height: auto;

    }
}

/*************** Navigation bar *********************/

/* The class that sets the look of the logo on the left side. It is sort of like a button in the navbar, too. */
#upperstory-nav .navbar-brand {
    position: relative;
    height: 45px;
}
#upperstory-nav .navbar-toggler-icon{
    font-size: 0.8em;
}

#upperstory-nav .navbar-gray-section {
    position: absolute;
    top: -1px;
    left: 0;
    border-bottom: 46px solid #3a3a3c;
    border-left: 0 solid transparent;
    border-right: 40px solid transparent;
    height: 0;
    width: 100%;
}

#upperstory-nav .navbar-bottom-line {
    position: absolute;
    left: 100px;
    top: 45px;
    height: 5px;
    width: calc(100% - 100px);
    background: #b9a17b;
}

#upperstory-nav .navbar-behind-logo {
    position: absolute;
    left: 0;
    top: 0;
    height: 90px;
    width: 100%;
    background-image: url(/assets/behind-upper-story-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    background-position: top left;
}

#upperstory-nav .nav-logo-product-arrow {
    position: relative;
    background-image: url(/assets/nav-product-arrow.svg);
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center center;
    width: 15px;
    height: 100%;
    background-size: 8px;
    z-index: 2;
    vertical-align: middle;
    margin-top: 0;
}

#upperstory-nav .nav-logo-product {
    position: relative;
    display: inline-block;
    z-index: 2;
    height: 100%;
    vertical-align: middle;
    padding-top: 2px;
}

#upperstory-nav .nav-home-item {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    font-family: 'Josefin Sans Bold', sans-serif;
    color: #fff;
    margin-left:0;
    margin-right: 0;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 0;
    padding-top: 4px;
    font-size: 13pt;
    text-align: right;
    vertical-align: center;
    background-color: transparent;
    border-bottom: none;
}

#upperstory-nav .nav-home-item:hover {
    color: #b9a17b;
}

#upperstory-nav .nav-upper-story-logo {
    position: relative;
    display: inline-block;
    z-index: 2;
    height: 30px;
    vertical-align: top;
    margin-left: 4px;
}



@media only screen and (max-width: 400px) {
    #upperstory-nav .nav-logo-product-img {
        width: 90px;
    }
    #upperstory-nav .nav-logo-product-arrow {
        background-size: 6px;
        width: 10px;
    }
}
@media only screen and (max-width: 380px) {
    #upperstory-nav .nav-logo-product-img {
        width: 70px;
    }
    #upperstory-nav .nav-logo-product-arrow {
        background-size: 5px;
        width: 8px;
    }
}
/* Don't draw the product name if the client space is too narrow */
@media only screen and (max-width: 350px) {
    #upperstory-nav .nav-logo-product-arrow {
        display: none;
    }

    #upperstory-nav .nav-logo-product {
        display: none;
    }

    #upperstory-nav .nav-upper-story-logo {
        margin-right: 10px;
    }
}


#upperstory-nav .nav-upper-story-img {
    position: relative;
    left: 0;
    top: 0;
    background-image: url(/assets/upper-story-logo-white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.3s;
    width: 94px;
}

#upperstory-nav .nav-upper-story-img:hover {
    background-image: url(/assets/upper-story-logo-hover-brown.svg);
}


#upperstory-nav .nav-logo-spacer {
    position: relative;
    top: 0;
    display: inline-block;
    z-index: 2;
    width: 40px;
}

/* The class we use to set the navbar's customized properties */
.navbar-x {
    background-color: #FFFFFF;
    font-family: 'Josefin Sans Bold', sans-serif;
    padding-bottom: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

#upperstory-nav .navbar-toggler {
    margin-right: 2rem;
}

/*
    768 px is the break point where we switch to the toggler.
    At that point, nav-link items are in the toggler menu and
    have different styling.
 */

/* Default nav-link is for less than 768 px (with toggler) */
#upperstory-nav .nav-link {
    margin-left: 0;
    margin-right: 0;
    padding-right: 30px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-top: 15px;
    font-size: 13pt;
    text-align: right;
    vertical-align: center;
    background-color: #e6e7e8;
    border-bottom: solid 1px;
    border-color: #d1d3d4;
    color: #414042;
    text-transform: uppercase;
}

#upperstory-nav .nav-link.active {
    background-color: #b9a17b;
    color: #fff;
}

#upperstory-nav .nav-link.us-active {
    color: #b9a17b;
}

#upperstory-nav .nav-link.disabled {
    color: #808285;
}

#upperstory-nav .nav-link:hover {
    color: #b9a17b;
}

/* nav-link for 768 px and greater (without toggler) */
@media only screen and (min-width: 768px) {
    #upperstory-nav .nav-link {
        margin-left:0;
        margin-right: 0;
        padding-right: 10px;
        padding-left: 20px;
        padding-bottom: 0;
        padding-top: 4px;
        font-size: 13pt;
        text-align: right;
        vertical-align: center;
        background-color: transparent;
        border-bottom: none;
    }

    #upperstory-nav .nav-link .active {
        background-color: transparent;
    }
}


#upperstory-nav .dropdown-item {
    background-color: white;
    color: #414042;
}

#upperstory-nav .dropdown-item:hover {
    color: #b9a17b;
}

#upperstory-nav .active {
    color: #af7732;
}

/* The hero area */
#hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 100px); /* Sets the height of the video. Leaves a 45 px gap for the menu on top. */
    background-attachment: scroll;
    background-image: url(/assets/hero-video-still.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 300px;
    font-family: 'Gloucester MT Extra Condensed Regular', sans-serif;
}

#hero .hero-outer {
    position: absolute;
    background: rgba(255,255,255,0.5);
    width: 100%;
    height: 100%;
    padding: 0 10px;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#hero .hero-inner {
    height: calc(100% - 75px);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*@media (max-aspect-ratio: 1/1) {
    #hero .hero-backdrop {
        background-image: url(/assets/upper-story-banner-vert.jpg);
    }
}*/

#hero .hero-logo {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0.7);
    background-image: url(/assets/upper-story-banner-logo-en.svg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

#hero .hero-logo-container {
    background-image: url("/assets/upper-story-logo-blue-en.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
    width: 94%;
    height: 65%;
    /*testing min*/
    min-height: 100px;
    max-width: 1000px;
    max-height: 900px;
}

@media screen and (max-width: 600px) and (max-aspect-ratio: 1/2) {
    #hero .hero-logo-container {
        height: 52%;
    }
}
@media screen and (max-width: 400px) and (max-aspect-ratio: 1/2) {
    #hero .hero-logo-container {
        height: 40%;
    }
}

#hero .hero-logo-text {
    font-size: 40px;
    font-family: 'Gloucester MT Extra Condensed Regular', sans-serif;
    color: #414042;
    text-align: center;
}
@media screen and (min-width: 340px) {
    #hero .hero-logo-text {
        font-size: 50px;
    }
}
@media screen and (min-width: 400px){
    #hero .hero-logo-text {
        font-size: 60px;
    }
}
@media screen and (min-width: 576px) and (min-height: 1000px) {
    #hero .hero-logo-text {
        font-size: 80px;
    }
}
@media screen and (min-width: 768px) and (min-height: 1150px) {
    #hero .hero-logo-text {
        font-size: 100px;
    }
}
@media screen and (min-width: 992px) and (min-height: 1300px) {
    #hero .hero-logo-text {
        font-size: 120px;
    }
}


#hero .hero-video {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 177.78vh;
    min-width: 100%;
    position: absolute;
}

#card-video-1
{
    background-image: url(/assets/spintronics-video-overlay.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

#card-video-2
{
    background-image: url(/assets/tt-video-overlay.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

.awardRow {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 0rem;
}

.award-item {
    padding: 0;
    opacity: 0.75;
    margin-left: -5px;
    margin-right: -5px;
}

.awardRow .award-item img {
    width: 17vw;
    height: auto;
}
@media screen and (min-width: 600px) and (max-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 15vw;
    }
}
@media screen and (min-width: 800px) and (max-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 13vw;
    }
}
@media screen and (min-width: 900px) and (max-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 110px;
    }
}
@media screen and (min-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 10vh;
    }
}
@media screen and (min-height: 800px) and (min-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 10vh;
    }
}
@media screen and (min-height: 1100px) and (min-aspect-ratio: 1/1) {
    .awardRow .award-item img {
        width: 110px;
    }
}


/*@media screen and (max-width: 992px), screen and (max-height: 1150px) {
    .awardRow .award-item img {
        width: 100px;
    }
}
@media screen and (max-width: 768px), screen and (max-height: 1000px) {
    .awardRow .award-item img {
        width: 70px;
    }
}
@media only screen and (max-width: 576px) {
    .awardRow .award-item img {
        width: 60px;
    }
}
@media only screen and (max-width: 400px) {
    .awardRow .award-item img {
        width: 50px;
    }
}*/

.dividing-line {
    position: relative;
    left: 0;
    top: 0;
    height: 5px;
    width: 100%;
    background: #b9a17b;
}

.page-text {
    font-family: 'Gloucester MT Extra Condensed Regular', sans-serif;
    color: #414042;
    padding-right: 8%;
    padding-left: 8%;
    text-align: center;
    vertical-align: center;
    margin-bottom: 0px;
    font-size: 16pt;
    padding-bottom: 20px;
    padding-top: 60px;
}

.page-text p {
    margin-bottom: 30px;
}
@media only screen and (min-width: 400px) {
    .page-text {
        font-size: 18pt;
        padding-bottom: 20px;
        padding-top: 60px;
    }
    .page-text p {
        margin-bottom: 30px;
    }
}
@media only screen and (min-width: 440px) {
    .page-text {
        font-size: 22pt;
        padding-bottom: 20px;
        padding-top: 60px;
    }
    .page-text p {
        margin-bottom: 30px;
    }
}
@media only screen and (min-width: 576px) {
    .page-text {
        font-size: 26pt;
        padding-bottom: 25px;
        padding-top: 75px;
    }
    .page-text p {
        margin-bottom: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .page-text {
        font-size: 32pt;
        padding-bottom: 25px;
        padding-top: 75px;
    }
    .page-text p {
        margin-bottom: 50px;
    }
}
/*@media only screen and (min-width: 950px) {
    .page-text {
        padding-bottom: 50px;
        padding-top: 100px;
        font-size: 37pt;
    }
}*/

.notebook-background {
    background-image: url(/assets/background-grid.svg);
    background-repeat: repeat;
    background-position: 48% 50%;
    background-size: 100px;
}

.product-background {
    background-color: #ffffff;
    font-family: 'Gloucester MT Extra Condensed Regular', sans-serif;
    color: #414042;
    font-size: 44pt;
    text-align: center;
    left: 0;
    top: 0;
}
@media only screen and (max-width: 500px) {
    .product-background {
        font-size: 35pt;
    }
}
@media only screen and (max-width: 380px) {
    .product-background {
        font-size: 28pt;
    }
}

.product-image {
    width: 100%;
    clip-path: inset(0px round 10px 10px 10px 10px);
}

.product-border {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100%);
    border-radius: 10px;
    border-color: #992f7e;
    border-width: 5px;
    border-style: solid;
    margin-left: 0px;
    margin-right: 0px;
}

.product-text-spin, .product-text-tt {
    position: absolute;
    /*display: block;*/
    width: 100%;
    left: 0;
    top: 20%;/*260px;*/
    padding-left: 5%;
    padding-right: 5%;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22pt;
    line-height: 26pt;
    color: #414042;
    vertical-align: middle;
    height: 16%;
    display: flex;
    align-items: center;
}

.product-text-spin.longtext-1 {
    font-size: 19pt;
    line-height: 24pt;
}

.product-text-tt {
    font-size: 19pt;
    font-family: 'Saira', sans-serif;
}

.product-text-tt.longtext-1 {
    font-size: 17pt;
    line-height: 24pt;
}

@media screen and (max-width: 992px) {
    .product-text-spin {
        font-size: 20pt;
        line-height: 25pt;
    }
    .product-text-spin.longtext-1{
        font-size: 18pt;
        line-height: 23pt;
    }

    .product-text-tt {
        font-size: 17pt;
        line-height: 25pt;
    }
    .product-text-tt.longtext-1{
        font-size: 15pt;
        line-height: 23pt;
    }
}

@media screen and (max-width: 920px) {
    .product-text-spin {
        font-size: 18pt;
        line-height: 23pt;
    }

    .product-text-spin.longtext-1{
        font-size: 16pt;
        line-height: 20pt;
    }

    .product-text-tt {
        font-size: 15pt;
        line-height: 23pt;
    }
    .product-text-tt.longtext-1{
        font-size: 14pt;
        line-height: 20pt;
    }
}

@media screen and (max-width: 820px) {
    .product-text-spin {
        font-size: 17pt;
        line-height: 21pt;
    }
    .product-text-spin.longtext-1{
        font-size: 15pt;
        line-height: 19pt;
    }

    .product-text-tt {
        font-size: 14pt;
        line-height: 21pt;
    }
    .product-text-tt.longtext-1{
        font-size: 13pt;
        line-height: 19pt;
    }
}

@media screen and (max-width: 780px) {
    .product-text-spin {
        font-size: 16pt;
        line-height: 20pt;
    }
    .product-text-spin.longtext-1{
        font-size: 14pt;
        line-height: 17pt;
    }

    .product-text-tt {
        font-size: 13pt;
        line-height: 20pt;
    }
    .product-text-tt.longtext-1{
        font-size: 12pt;
        line-height: 17pt;
    }
}

@media screen and (max-width: 750px) {
    .product-text-spin {
        font-size: 15pt;
        line-height: 19pt;
    }

    .product-text-spin.longtext-1{
        font-size: 13pt;
        line-height: 17pt;
    }

    .product-text-tt {
        font-size: 12pt;
        line-height: 19pt;
    }
    .product-text-tt.longtext-1{
        font-size: 12pt;
        line-height: 17pt;
    }
}

@media screen and (max-width: 710px) {
    .product-text-spin {
        font-size: 14pt;
        line-height: 18pt;
    }
    .product-text-tt {
        font-size: 12pt;
        line-height: 18pt;
    }
}

@media screen and (max-width: 680px) {
    .product-text-spin {
        font-size: 13pt;
        line-height: 17pt;
    }
    .product-text-spin.longtext-1{
        font-size: 12pt;
        line-height: 15pt;
    }

    .product-text-tt {
        font-size: 11pt;
        line-height: 17pt;
    }
    .product-text-tt.longtext-1{
        font-size: 11pt;
        line-height: 15pt;
    }
}

@media screen and (max-width: 650px) {
    .product-text-spin {
        font-size: 12pt;
        line-height: 16pt;
    }
    .product-text-spin.longtext-1{
        font-size: 11pt;
        line-height: 13pt;
    }

    .product-text-tt {
        font-size: 11pt;
        line-height: 16pt;
    }
    .product-text-tt.longtext-1{
        font-size: 10pt;
        line-height: 13pt;
    }
}

@media screen and (max-width: 620px) {
    .product-text-spin {
        font-size: 12pt;
        line-height: 15pt;
    }
    .product-text-tt {
        font-size: 11pt;
        line-height: 15pt;
    }
}

@media screen and (max-width: 600px) {
    .product-text-spin {
        font-size: 12pt;
        line-height: 14pt;
    }
    .product-text-spin.longtext-1{
        font-size: 10pt;
        line-height: 12pt;
    }

    .product-text-tt {
        font-size: 11pt;
        line-height: 14pt;
    }
    .product-text-tt.longtext-1{
        font-size: 10pt;
        line-height: 12pt;
    }
}

@media screen and (max-width: 575px) {
    .product-text-spin {
        font-size: 20pt;
        line-height: 25pt;
    }
    .product-text-spin.longtext-1{
        font-size: 19pt;
        line-height: 23pt;
    }

    .product-text-tt {
        font-size: 19pt;
        line-height: 25pt;
    }
    .product-text-tt.longtext-1{
        font-size: 17pt;
        line-height: 23pt;
    }
}

@media screen and (max-width: 470px) {
    .product-text-spin {
        font-size: 18pt;
        line-height: 23pt;
    }
    .product-text-spin.longtext-1{
        font-size: 16pt;
        line-height: 20pt;
    }

    .product-text-tt {
        font-size: 17pt;
        line-height: 23pt;
    }
    .product-text-tt.longtext-1{
        font-size: 15pt;
        line-height: 20pt;
    }
}

@media screen and (max-width: 420px) {
    .product-text-spin {
        font-size: 16pt;
        line-height: 20pt;
    }
    .product-text-spin.longtext-1{
        font-size: 14pt;
        line-height: 18pt;
    }

    .product-text-tt {
        font-size: 15pt;
        line-height: 20pt;
    }
    .product-text-tt.longtext-1{
        font-size: 13pt;
        line-height: 20pt;
    }
}

@media screen and (max-width: 390px) {
    .product-text-spin {
        font-size: 14pt;
        line-height: 18pt;
    }
    .product-text-spin.longtext-1{
        font-size: 13pt;
        line-height: 17pt;
    }

    .product-text-tt {
        font-size: 13pt;
        line-height: 18pt;
    }
    .product-text-tt.longtext-1{
        font-size: 12pt;
        line-height: 17pt;
    }
}
@media screen and (max-width: 350px) {
    .product-text-spin {
        font-size: 13pt;
        line-height: 17pt;
    }
    .product-text-spin.longtext-1{
        font-size: 12pt;
        line-height: 15pt;
    }

    .product-text-tt {
        font-size: 12pt;
        line-height: 18pt;
    }
    .product-text-tt.longtext-1{
        font-size: 11.5pt;
        line-height: 15pt;
    }
}
@media screen and (max-width: 320px) {
    .product-text-spin {
        font-size: 12pt;
        line-height: 15pt;
    }
    .product-text-spin.longtext-1{
        font-size: 11pt;
        line-height: 13pt;
    }

    .product-text-tt {
        font-size: 11.5pt;
        line-height: 15pt;
    }
    .product-text-tt.longtext-1{
        font-size: 11pt;
        line-height: 13pt;
    }
}

.video {
    position: relative;
    display: block;
    height: 100%;
    width: 177.78vh;
    min-width: 100%;
    min-height: 56.25vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.product-video-container {
    position: absolute;
    display: block;
    width: 100%;
    left: 0;
    top: 36%;
    overflow: hidden;
}

.junction-container {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: visible;
    overflow-y: hidden;
}

.junction-image {
    position: absolute;
    left: -35%; /* move this to the left more to shift the junction */
    top: 5%;
    width: 60%;
    margin-right: 50px;
    /*background-image: url(/assets/tarnished-junction.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;*/
}
@media screen and (min-width: 350px) {
    .junction-image {
        left: -25%;
        width: 50%;
    }
}
@media screen and (min-width: 430px) {
    .junction-image {
        left: -20%;
        width: 45%;
    }
}
@media screen and (min-width: 620px) {
    .junction-image {
        left: -15%;
        width: 40%;
    }
}
@media screen and (min-width: 768px) {
    .junction-image {
        left: -8%;
        width: 40%;
    }
}
@media screen and (min-width: 900px) {
    .junction-image {
        left: 2%;
        width: 30%;
    }
}

.learn-more-button {
    background-color: #006892;
    font-family: "Gloucester MT Extra Condensed Regular", sans-serif;
    font-size: 36px;
    border: none;
    color: #ffffff;
    height: 100%;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 29px;

}
.learn-more-button.longtext-1
{
    font-size:22pt;
}

@media screen and (max-width: 850px) {
    .learn-more-button {
        font-size: 22pt;
    }
    .learn-more-button.longtext-1
    {
        font-size:17pt;
        line-height: 25px;
    }
}
@media screen and (max-width: 700px) {
    .learn-more-button {
        font-size: 20pt;
    }
}
@media screen and (max-width: 650px) {
    .learn-more-button {
        font-size: 17pt;
    }
    .learn-more-button.longtext-1
    {
        font-size:16pt;
        line-height: 22px;
    }
}
@media screen and (max-width: 575px) {
    .learn-more-button {
        font-size: 36px;
    }
    .learn-more-button.longtext-1
    {
        font-size:23pt;
        line-height: 29px;
    }
}
@media screen and (max-width: 480px) {
    .learn-more-button {
        font-size: 30px;
    }
    .learn-more-button.longtext-1
    {
        font-size:21pt;
        line-height: 26px;
    }
}
@media screen and (max-width: 370px) {
    .learn-more-button {
        font-size: 26px;
    }
    .learn-more-button.longtext-1
    {
        font-size:18pt;
        line-height: 22px;
    }
}

.learn-more-button:link {
    color: #fff;
}
.learn-more-button:hover {
    background-color: #007da3;
    color: #fff;
}
.learn-more-button:visited {
    color: #fff;
}

.learn-more-button.shopnow {
    background-color: #58595b;
}

.learn-more-button.shopnow:hover {
    background-color: #6f7072;
}

.tt-container {
    position: relative;
    left: -5%;
    top: 1%;
    width: 105%;
    height: 100%;
    overflow: hidden;
}

.tt-image {
    position: absolute;
    right: -8%;
    top: 50%;
    width: 45%;
    transform: translateY(-50%);

    /*background-image: url(/assets/tarnished-tt.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;*/
}
@media screen and (min-width: 350px) {
    .tt-image {
        right: -3%;
        width: 45%;
    }
}
@media screen and (min-width: 430px) {
    .tt-image {
        right: -2%;
        width: 40%;
    }
}
@media screen and (min-width: 620px) {
    .tt-image {
        right: 0;
        width: 35%;
    }
}
@media screen and (min-width: 768px) {
    .tt-image {
        right: 0%;
        width: 32%;
    }
}
@media screen and (min-width: 900px) {
    .tt-image {
        right: 0;
        width: 25%;
    }
}

.tt-page-text {
    padding-top: 45%;
    padding-bottom: 45%;
}
@media screen and (min-width: 680px) {
    .tt-page-text {
        padding-top: 180px;
        padding-bottom: 180px;
    }
}

.ammeter-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ammeter-image {
    position: absolute;
    left: -20%;
    top: 50%;
    width: 55%;
    transform: translateY(-50%);
    /*background-image: url(/assets/tarnished-ammeter.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;*/
}
@media screen and (min-width: 350px) {
    .ammeter-image {
        left: -10%;
        width: 45%;
    }
}
@media screen and (min-width: 430px) {
    .ammeter-image {
        left: -2%;
        width: 35%;
    }
}
@media screen and (min-width: 620px) {
    .ammeter-image {
        left: 2%;
        width: 30%;
    }
}
@media screen and (min-width: 768px) {
    .ammeter-image {
        left: 2%;
        width: 25%;
    }
}
@media screen and (min-width: 900px) {
    .ammeter-image {
        left: 2%;
        width: 20%;
    }
}

.email-input {
    max-width: 400px;
    width: calc(100% - 20px);
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
}

.button {
    background-color: #006892;
    font-family: "Josefin Sans", Helvetica, Arial, sans-serif;
    font-size: 14pt;
    border:none;
    color:#fff;
    padding-left:1.5rem;
    padding-right:1.5rem;
    padding-top:0.6rem;
    padding-bottom:0.35rem;
    text-align:center;
    text-decoration:none;
    display:inline-block;
    border-radius:100px;
    cursor:pointer;
}

.button:hover {
    background-color: #007da3;
    color: #fff;
}

/******************************* ABOUT PAGE  *************************************/

#about {
    font-family: 'Josefin Sans', sans-serif;
    color: #575859;
}

.hero-background-pic {
    background-image: url('../assets/banner-2.jpg');
    overflow: hidden;
    position: relative;
    height: 300px;
    width: 100%;
    background-color: #E4E5E6;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: 50% 78%;
}

.about-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 15px;
    margin: 0 auto;
}

.about-container-col-reverse {
    flex-direction: column-reverse;
}
.gray-frame-with-caption-container {
    background-color: #E4E5E6;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    border-radius: 10px;
    margin: 0 auto 2rem auto;
    min-width: 385px;
}
.gray-frame-with-caption-container a {
    display: block;
    height: 100%;
}
.gray-frame-with-caption {
    background-color: #E4E5E6;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    border-radius: 10px;
    margin: 0 auto;
    width: fit-content;
}
.gray-frame-with-caption-logo {
    width: 70%;
    margin: 0 auto 1rem auto;
}
.gray-frame-with-caption-image {
    /*height: 250px;*/
    width: 100%;
    object-fit: cover;
    object-position: center;
    /*min-width: 325px;*/
}
.gray-frame-with-caption .cap {
    font-style: italic;
    text-align: center;
    padding-top: 5px;
    line-height: 1.1rem;
}
.giving-description {
    margin: 3rem auto 0 auto;
}
.giving-logo {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 0 1rem 0;
}

@media only screen and (min-width: 768px) {

    .about-container {
        flex-direction: row;
        padding: 0;
        margin: 0 auto;
    }
    .about-container-col-reverse {
        flex-direction: row;
    }
    .gray-frame-with-caption-logo {
        /*height: 105px;
        width: auto;*/
        height: auto;
        width: 70%;
        /*max-height: 105px;*/
    }
    .giving-logo {
        height: 140px;
        width: 295px;
        padding-bottom: 1rem;
    }
    .giving-description {
        margin: 0 0 0 1.5rem;
    }
    .giving-quote {
        /*      margin: 2rem auto;
                display: block;*/
    }
}

.staff-header {
    display: flex;
    flex-direction: row;
    padding: 1rem;
}

.staff-name-job {
    text-align: left;
    padding: 0 0 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-name {
    padding-top: 10px;
}

.title-job {
    line-height: 1.2rem;
}

.subtitle-description {
    line-height: 1.1rem;
    font-size: .9rem;
    padding: 0 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 3rem;
}

@media only screen and (min-width: 768px) {

    .staff-header {
        flex-direction: column;
        padding: 0;
    }
    .staff-name-job {
        padding: 30px 0 0 0;
        /*padding: 0;*/
    }
    .subtitle-description {
        padding: 0;
        line-height: 1.3rem;
        font-size: 1rem;
    }

}

.block-div-about {
    position: relative;
}

.block-image-overlay-about {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    display: inline-block;
}

.p-indent {
    text-indent: 0;
}

.flip-card {
    background-color: transparent;
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.flip-card-container {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-origin: center right;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.carousel-mobile {
    display: block;
}
.carousel-desktop {
    display: none;
}


@media only screen and (min-width: 768px) {
    .carousel-indicators {
        margin-bottom: -2rem;
    }
    .carousel-indicators [data-bs-target] {
        background-color: #B9A17B;
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }
    .carousel-mobile {
        display: none;
    }
    .carousel-desktop {
        display: block;
    }

}

@media only screen and (min-width: 768px) {

    .p-indent {
        text-indent: 2rem;
    }
    .flip-card {
        width: 255px;
        height: 255px;
    }

    .block-div-about {
        padding: 20px 0 0 0;
    }

}

.vertical-red-line-mobile {
    display: block;
    height: 40px;
    width: 2px;
    background-color: #b9a17b;
    margin: 0 auto 24px;
}

.vertical-red-line-desktop {
    display: none;
}

.rich-text-header {
    text-align: center;
    margin: 2rem auto;
}

.responsive-image {
    display: block;
    height: auto;
    max-width: 100%;
    width: 424px;
    margin: 0 auto;
}

.responsive-image-container {
    height: auto;
    max-width: 100%;
    width: 375px;
}

.text-image-pair-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}
.text-image-pair-wrapper-col-reverse {
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}
.text-image-pair-wrapper-col {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.rich-text-wrapper {
    font-size: 18px;
    line-height: 1.56;
    color: #1d1d1d;
    margin: 30px 16px 0 16px;
}

@media only screen and (min-width: 768px) {
    .rich-text-wrapper {
        max-width: 538px;
        font-size: 20px;
        line-height: 1.6;
        /*margin: 0 auto 24px;*/
        margin: 2rem auto;
    }
}

@media only screen and (min-width: 1024px) {

    .text-image-pair-block-wrapper {
        position: relative;
    }
    .text-image-pair-wrapper {
        -webkit-box-pack: space-around;
        -webkit-justify-content: space-around;
        -ms-flex-pack: space-around;
        justify-content: space-around;
        -webkit-align-items: center;
        align-items: center;
        padding: 64px 0;
    }
    .text-image-pair-wrapper-col-reverse, .text-image-pair-wrapper-col {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .rich-text-wrapper {
        width: 424px;
        min-height: 424px;
        margin: 0;
    }
    .image-wrapper {
        width: 424px;
        margin: auto 0;
    }
    .vertical-red-line-mobile {
        display: none;
    }
    .vertical-red-line-desktop {
        display: block;
        height: 100%;
        width: 2px;
        background-color: #b9a17b;
        position: absolute;
        left: 50%;
    }
}

/********************** Shipping Store Locator page *************************/

#shipPage, #legal, #about {
    margin: 0; padding: 0;
}
.section-title {
    color: #414042;
    font-family: 'Josefin Sans Bold', Arial Black, sans-serif;
    font-size: 28px;
    text-align:center;
    margin-bottom: 0.5em;
    margin-top:2rem;
    line-height:1.25em;
}

.block-title {
    color: #414042;
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top:1rem;
}

.block-description {
    color: #6d6e71;
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 1rem;
}

@media only screen and (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.legal-pages {
    width: 85%;
    margin: 5rem auto;
}
/********************** SHIPPING SITE LOCATOR PAGE IN STORE DIR ******************************/

.loc-list {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px auto;
    justify-content: center;
    align-items: flex-start;
}

.loc-list-item {
    font-family: "Josefin Sans", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 245px;
    margin: 10px;
    cursor: pointer;
    font-size: 22px;
    background-color: #FFF;
    text-transform: capitalize;
    color: #57585B;
    text-align: left;
}

.loc-list-item div:first-child {
    margin-top: 10px;
}

.loc-list-item div {
    font-size: 20px;
    margin: 0;
    padding: 5px 10px;
    font-family: "Josefin Sans", sans-serif;
    color: #57585B;
    font-weight: 700;
    width: 245px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-transform: capitalize;
    text-align: left;
}

.loc-list-item div:hover {
    text-decoration: none;
    background-color: #e4e5e6;
}

.loc-list-item div img {
    margin-right: 10px;
}

@media only screen and (min-width: 768px) {
    .loc-list-item div {
        margin: 0;
    }
}

/************Footer*******************/

.footer-top-border {
    height: 5px;
    width: 100%;
    background: #b9a17b;
}

.site-footer-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column-reverse;
    background-color: #3a3a3c;
    color: #FFF;
    font-family: 'Josefin Sans', sans-serif;
}

@media only screen and (min-width: 801px) {
    .site-footer-container {
        flex-direction: row;
        height: 300px;
        align-items: flex-start;
        justify-content: space-evenly;
        padding-bottom: 30px;
    }
}

.footer-col {
    width: 100%;
    display: flex;
    text-align: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.footer-col .footer-heading {
    font-family: "Josefin Sans Bold", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.footer-col img {
    max-width: 225px;
    max-height: 100px;
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 16px;
    color: #FFF;
}

.footer-col a:hover {
    color: #b9a17b;
    text-decoration: none;
}

.footer-col p {
    margin-top: 10px;
    font-size: 14px;
}

.footer-col .footer-heading .required-email {
    font-size: 12px;
}

.footer-inline {
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;

}

.footer-inline li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}

.footer-inline li a {
    padding-right: 5px;
    font-size: 14px;
}

.footer-list {
    list-style-type: none;
    padding: 10px;
}

.footer-list li {
    padding: 3px 0;
}

.btn-lang {
    background-color: transparent;
    border: none;
    color: #FFF;
    font-size: 1.2rem;
    padding: 10px 10px 0 10px;
}

.btn-lang:hover {
    color: #b9a17b;
    cursor: pointer;
}

.footer-col button.active {
    border-bottom: 2px solid #b9a17b;
    cursor: default;
}

.footer-col button.active:hover {
    cursor: default;
    color: #FFF;
}

.site-footer__copyright {
    font-size: 9px;
    text-align: center;
}

.site-footer a:hover {
    color: #b9a17b;
    /*cursor: pointer;*/
}

.footer-col input[type="email"] {
    font-size: 12px;
    width: 95%;
    max-width: 400px;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid lightgray;
    padding: 8px 0;
    border-radius: 0;
}

.footer-col input[type="email"]::placeholder {
    color: lightgray;
}

.footer-col .footer-social li {
    margin-right: 3px;
    margin-top: 7px;
}

.footer-col .footer-social li a {
    display: block;
    border-radius: 100%;
    border: 1px solid #006892;
    padding: 6px;
    line-height: 1;
    background-color: #FFF;
    color: #b9a17b;
}

.footer-col .footer-social li a:hover .icon path, .footer-col .footer-social li a:hover {
    background-color: #006892;
    color: #FFF;
    fill: #FFF;
}

.footer-col .icon {
    width: 24px;
    height: 24px;
}

.footer-col svg:hover {
    color: #FFF;
    /*stroke: inherit;*/
}

.btn-subscribe {
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

@media only screen and (min-width: 801px) {
    .footer-col {
        width: 22%;
        text-align: left;
        height: 250px;
    }
    .site-footer__copyright {
        font-size: 11px;
        text-align: left;
    }
    .footer-inline {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }
    .footer-inline li {
        display: inline-flex;
        flex-wrap: wrap;
        margin-right: 3px;
    }
}

/* For subpages on the site */
.subpage-title {
    font-family: 'Josefin Sans Bold', sans-serif;
    font-weight: 400;
    font-size: 60px;
    color: #414042;
    text-align: center;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 0;
}

.subpage-title-subheader {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #414042;
    text-align: center;
    margin: 0;
    padding-top: 0;
    padding-bottom: 20px;
}

@media only screen and (max-width: 700px) {
    .subpage-title {
        font-size: 50px;
    }
}

.subpage-subheader {
    font-family: 'Josefin Sans Bold', sans-serif;
    font-weight: 400;
    font-size: 30px;
    color: #414042;
    text-align: left;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 0;
}

.gear-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.subpage-title-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.subpage-title-box-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 7px) calc(100% - 39px), calc(100% - 14px) calc(100% - 38px), calc(100% - 20px) calc(100% - 35px), calc(100% - 26px) calc(100% - 31px), calc(100% - 31px) calc(100% - 26px), calc(100% - 35px) calc(100% - 20px), calc(100% - 38px) calc(100% - 14px), calc(100% - 39px) calc(100% - 7px), calc(100% - 40px) 100%, /* End of right curve, begin left curve */ 40px 100%, 39px calc(100% - 7px), 38px calc(100% - 14px), 35px calc(100% - 20px), 31px calc(100% - 26px), 26px calc(100% - 31px), 20px calc(100% - 35px), 14px calc(100% - 38px), 7px calc(100% - 39px), 0 calc(100% - 40px));
}

.subpage-lower-left-curve {
    position: absolute;
    left: -43px;
    top: calc(100% - 43px);
    width: 86px;
    height: 86px;
    border: 6px solid rgba(178,120,35,1);
    border-color: rgba(178,120,35,1) transparent transparent transparent;
    border-radius: 50%;
    transform: rotate(45deg);
}

.subpage-lower-right-curve {
    position: absolute;
    left: calc(100% - 43px);
    top: calc(100% - 43px);
    width: 86px;
    height: 86px;
    border: 6px solid rgba(178,120,35,1);
    border-color: rgba(178,120,35,1) transparent transparent transparent;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.subpage-lower-line {
    position: absolute;
    left: 40px;
    top: calc(100% - 6px);
    width: calc(100% - 80px);
    height: 6px;
    background: linear-gradient(90deg, rgba(178,120,35,1) 0%, rgba(223,184,101,1) 28.3415%, rgba(178,120,35,1) 62.5255%, rgba(190,141,50,1) 85.2977%, rgba(178,120,35,1) 100%);

}

.subpage-left-right-lines {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 34px);
    border: 6px solid rgba(178,120,35,1);
    border-color: transparent rgba(178,120,35,1) transparent rgba(178,120,35,1);
}

.subpage-text {
    position: relative;
    width: 100%;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    color: #414042;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 7px;
    /*line-height: 25px;*/
}

@media only screen and (max-width: 700px) {
    .subpage-text {
        font-size: 18px;
    }
}

.subpage-text b {
    font-family: 'Josefin Sans Bold', sans-serif;
    font-weight: 400;
}

ol.subpage-text {
    padding-left: 40px;
}

li.subpage-text {
    padding-left: 20px;
}

.subpage-caption {
    position: relative;
    width: 100%;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    color: #414042;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 0;
    padding-bottom: 0;
    font-style: italic;
    margin-bottom: 15px;
}

.gray-trace-divider {
    max-width: 800px;
    width: 100%;
    padding-bottom: 30px;
}

@media only screen and (max-width: 499px) {
    .subpage-subheader-box {
        background-position: bottom right;
    }
}