@import "PureJoy.css";

@media only screen and (min-width: 1101px) {

    #desktop-video-body span,
    #desktop-video-header span {
        display: none;
    }

    #mobile-above-beyond-list {
        display: none;
    }

    .carousel-select ul {
        margin-bottom: 0;
    }

    #no-such-thing {
        background: rgba(255, 255, 255, .8);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        margin-top: 0 !important;
    }

    #materials > div.row.justify-content-center.align-items-start {
        grid-template-columns: 1fr 1fr 1fr 1fr; 
        grid-template-rows: 1fr; 
        grid-template-areas: 
        ". . . ."; 
    }

    .pl #section-three #above-beyond-select {
        position: relative;
        top: 40px;
    }

}

@media only screen and (max-width: 1100px) {

    #giving-back-header {
        padding-top: 40px;
    }
    .playpause {
        width: 25%;
        height: 20%;
    }

    #desktop-video-empty-col {
        display: none;
    }

    #video-container-background {
        height: 600px;
    }

    #desktop-video {
        padding: 0px;
        background: rgba(18, 42, 74, .5);
        align-self: flex-end;
        height: 50%;
    }

    #video-container-background video {
        height: 600px;
        z-index: -1;
    }

    #desktop-video-header {
        text-align: center;
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
    }

    #desktop-video-body {
        display: none;
    }

    #desktop-video-body span,
    #desktop-video-header span {
        margin: 0 auto;
        color: white;
        font-size: 60px;
        display: unset;
    }

    #desktop-video-header h1 {
        padding-top: 70px;
    }

    #desktop-video-body {
        text-align: center;
    }

    #desktop-video-body p {
        width: 100% !important;
        height: 100% !important;
        font-size: 18px;
        padding-top: 60px;
    }

    #desktop-video-header .video-icon-div {
        padding-top: 30px;
        width: 100% !important;
        height: 100% !important;
        font-size: 20px;
    }

    #mobile-above-beyond-list {
        display: unset;
    }

    .carousel-select {
        width: unset;
    }

    .carousel-select li {
        font-size: 16px;
        font-weight: 300;
    }

    .carousel-select li.active {
        font-size: 16px;
        font-weight: bold;
        text-decoration: underline;
        text-decoration-style: dotted;
        color: unset;
        text-decoration-color: white;
    }

    #above-beyond-list,
    #giving-back-list {
        align-self: center;
        display: flex;
        justify-content: center;
    }

    #above-beyond-list ul,
    #giving-back-list ul {
        padding: 10px 30px;
        margin: 0;
        display: inline-block;
    }

    #h1-above-beyond {
        display: none;
    }

    .carousel-header {
        width: 100%;
        text-align: center;
        padding: 0;
        margin-top: 10px;
    }

    .carousel-inner a {
        display: none;
    }

    .carousel-above-beyond {
        width: 100%;
    }

    .carousel-above-beyond p {
        width: 100%;
        font-size: 20px !important;
        font-weight: 300 !important;
    }

    .carousel-above-beyond h1 {
        width: 100%;
        font-size: 40px !important;
        font-weight: 1000 !important;
    }

    .carousel-image-container img {
        padding-left: unset;
    }

    .carousel-inner {
        height: unset !important;
    }

    .carousel-giving-back-text {
        max-width: unset;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    #manufacturing {
        display: none;
    }

    #testing {
        display: none;
    }

    #section-three {
        height: 500px;
        display: none;
    }

    #materials {
        display: none;
    }

    #sustainability {
        display: none;
    }

    #section-six {
        display: none;
    }

    #givingback {
        height: 650px;
        display: none;
    }

    #ourpeople {
        display: none;
    }

    #ourpeople-video {
        margin-left: 0;
    }

    #section-nine {
        display: none;
    }

    .joy-on-the-job-facts p {
        margin-bottom: 0;
    }

    .joy-on-the-job-facts div {
        padding: 10px;
    }

    .orange-row {
        height: 9.5em;
    }

    #lasting-joy,
    #no-such-thing,
    #made-for-life,
    #joy-on-the-job,
    #share-joy {
        text-align: center;
    }

    #no-such-thing {
        position: absolute;
        z-index: 30;
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
    }

    #no-such-thing div {
        margin: 0 auto;
        background: rgba(255, 255, 255, .8);
        padding: 20px 40px;
        border-radius: 1%;
    }

    .square-image-large img {
        width: unset;
    }

    #cards-desktop,
    #our-lab-desktop {
        display: none;
    }

    #carouselCards,
    #carouselOurLab {
        display: unset;
    }

    .square-image-large {
        height: 700px;
    }

    #testing img {
        max-height: 400px;
    }

    #carouselCards img {
        max-height: 200px !important;
    }

    .circle-image-large {
        height: unset;
    }

    .footer-col p {
        font-size: 8px;
    }

    .footer-col a {
        font-size: 18px !important;
    }

    #materials .col-md {
        max-width: 300px;
        text-align: center;
    }

    #sustainability p {
        text-align: center;
    }

    .carousel-select:after {
        display: none;
    }

    .video-row .col-sm div {
        width: 80% !important;
    }

    #materials > div.row.justify-content-center.align-items-start {
        /* grid-template-columns: max-content max-content; 
        grid-template-rows: 1fr 1fr;  */
        grid-template-areas: 
        ". ."
        ". .";
    }
    #materials div.col-md {
        padding-bottom: 20px;
    }
}


@media only screen and (max-width: 480px) {

    #section-three .carousel-inner {
        position: absolute;
        margin-top: -40%;
    }

    .carousel-header {
        margin-top: -20px;
    }

    #section-three {
        height: 600px;
    }

    #materials > div.row.justify-content-center.align-items-start {
        grid-template-areas: 
        "."
        "."
        "."
        ".";
    }
}
