* {
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
    color: #35383c;
    background: #f4f4f5;
    font-size: 16px;
    margin: 0px;
}

h1,
h2,
h3,
h4 {
    font-family: "Jost", sans-serif;
}

h1 {
    margin: 0 0 40px;
    font-size: 2.5em;
}

h2 {
    font-weight: 300;
    margin: 0 0 20px;
    text-transform: uppercase;
}

h3 {
    margin: 0 0 20px;
    text-transform: uppercase;
}

p {
    margin: 0 0 20px;
    line-height: 1.5em;
}

a {
    text-decoration: none;
    transition: 0.4s;
    color: inherit;
}

ul {
    padding-left: 40px;
    margin-bottom: 20px;
}

ul li {
    margin-bottom: 5px;
}

.subpage-content span {
    font-weight: bold;
}

.subpage-content p a {
    border-bottom: 1px solid #f86829;
}

.subpage-content p a:hover {
    color: #f86829;
}

.thank-you-content {
    text-align: center;
}

.conveyor-background {
    background: url(images/homepage-background.webp) no-repeat center;
    background-size: cover;
    color: #eae8e5;
}

.conveyor-background h3,
.h3-orange h3 {
    color: #d26838;
}

@media (min-width: 1100px) {
    .container {
        width: 1100px;
        margin: 0 auto;
    }

    .content {
        padding: 80px 0;
    }

    /*** HEADER DESKTOP STYLES ***/

    #top-header {
        border-bottom: 1px solid gray;
        padding: 8px 0;
        margin-bottom: 10px;
        color: #f4f4f5;
        font-size: 0.9em;
    }

    #top-header .container {
        display: flex;
        justify-content: flex-start !important;
    }

    #top-header p {
        margin: 0 30px 0 0;
    }

    #top-header i {
        color: #f86829;
    }

    #top-header a {
        border-bottom: 1px solid transparent;
    }

    #top-header a:hover {
        border-bottom: 1px solid #f86829;
    }

    #navContainer {
        width: 100%;
        transition: 0.3s;
        position: fixed;
        top: 0;
        min-height: fit-content;
        z-index: 1000;
        padding-bottom: 10px;
    }

    #navContainer .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #navContainer img {
        width: 125px;
        height: auto;
    }

    .topnav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 920px;
    }

    .topnav a {
        color: #f4f4f5;
        padding: 8px 16px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 0.9em;
    }

    .topnav a:hover {
        background: #d26838;
        color: #fff;
    }

    #myTopnav a.icon {
        display: none;
    }

    .dropdown {
        position: relative;
        display: inline-block;
        /*    margin-top: 8px;*/
    }

    .hidden {
        display: none;
        position: absolute !important;
        z-index: 1;
        padding-top: 10px;
    }

    .hidden a {
        color: #eae8e5;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        background: rgb(210, 104, 56);
        border-bottom: none;
        font-size: 0.9em;
        width: 200px;
        transition: 0.4s;
    }

    .hidden a:hover {
        background-color: #eae8e5;
        color: #d26838;
        border-bottom: none;
        display: block;
        opacity: 1;
    }

    .dropdown:hover .hidden {
        display: block;
    }

    .dropbtn {
        cursor: default;
    }

    a.dropbtn:hover {
        color: #fff;
        background-color: transparent;
    }

    .hidden:hover {
        opacity: 1;
    }

    .hidden {
        animation: fadeIn 0.5s;
        -webkit-animation: fadeIn 0.5s;
        -moz-animation: fadeIn 0.5s;
        -o-animation: fadeIn 0.5s;
        -ms-animation: fadeIn 0.5s;
    }
    @keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    @-moz-keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    .topnav a.active {
        border-bottom: 1px solid #f86829;
    }

    /***HERO DEKSTOP STYLES***/

    #homepage-hero {
        background: url("images/homepage-hero.jpg") no-repeat center;
        background-size: cover;
        height: 500px;
        margin-top: 0px;
        color: #eae8e5;
        padding-top: 120px;
    }

    #homepage-hero h1 {
        text-transform: uppercase;
        font-size: 3.5em;
        font-weight: normal;
        margin-bottom: 10px;
        width: 700px;
    }

    #homepage-hero .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    #homepage-hero p {
        width: 500px;
        margin-bottom: 30px;
        font-size: 1.15em;
    }

    #homepage-hero a {
        padding: 10px 20px;
        background: #d26838;
        border: 2px solid #d26838;
        font-size: 1.15em;
        font-weight: bold;
    }

    #homepage-hero a:hover {
        background: transparent;
        border: 2px solid #eae8e5;
    }

    /***MAIN BODY DESKTOP STYLES***/

    .no-padding-top {
        padding-top: 0px;
    }

    .content-row .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        font-size: 0.85em;
    }

    .border-bottom-center {
        border-bottom: 5px solid #d26838;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        width: 185px;
        height: 189px;
        /*    text-align: center;*/
    }

    .border-bottom-center h3 {
        margin-bottom: 0px;
        /*    font-size: .95em;*/
    }

    #customer-focused {
        width: 280px;
        background: #d26838;
        color: white;
        padding: 20px;
        border-bottom: 5px solid #35383c;
    }

    #customer-focused p {
        margin-bottom: 0px;
    }

    /*FOOTER DESKTOP*/

    footer {
        background: url(images/footer-background.webp) no-repeat center;
        background-size: cover;
        padding: 60px 20px 0px;
        color: #eae8e5;
    }

    footer .container {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .footer-col {
        margin: 0 40px;
    }

    .footer-col a {
        border-bottom: 1px solid #5e6064;
    }

    .footer-col a:hover {
        color: white;
        border-bottom: 1px solid #f86829;
    }

    a.footer-logo {
        border-bottom: none;
    }

    a.footer-logo:hover {
        border-bottom: none;
    }

    footer h3 {
        color: #d26838;
        color: #f86829;
    }

    #sub-footer {
        padding: 30px 20px;
        margin-top: 30px;
        border-top: 1px solid #5e6064;
        color: #5e6064;
        text-align: center;
        font-size: 0.9em;
        font-weight: bold;
        width: 100%;
    }

    #sub-footer a {
        border-bottom: 1px solid white;
    }

    #sub-footer a:hover {
        color: white;
    }

    /*SUBPAGE DESKTOP*/

    .subpage-hero {
        padding-top: 120px;
        background: #35383c;
        color: #f4f4f5;
        height: 200px;
    }

    .subpage-hero .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .subpage-hero h1 {
        margin-bottom: 0px;
    }

    /*SWITCHES INDEX DESKTOP STYLES*/

    .product-filters {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }

    .filter-btn {
    }

    .product-content .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .all-product-container {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }

    .product-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 330px;
        height: 500px;
        margin-bottom: 40px;
        box-shadow: 2px 2px 4px gray;
        padding: 0 0 20px;
    }

    img.product {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .product-container h3 {
        text-align: center;
        padding: 0 20px;
    }

    .product-container p {
        overflow: hidden;
        text-overflow: ellipsis;
        /*    white-space: normal;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        display: -webkit-box;
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .product-container a {
        color: white;
        background: #f86829;
        padding: 10px 20px;
        font-weight: bold;
        border: 2px solid #f86829;
    }

    .product-container a:hover {
        background: white;
        color: #f86829;
    }

    /*INDIVIDUAL SWITCHES DESKTOP*/

    #slide-container {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #slide-container h3 {
        width: 100%;
    }

    .mySlides {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .mySlides img {
        width: 700px !important;
        height: auto;
        margin: 0 auto;
        display: block;
        border: 1px solid #35383c;
    }

    .cursor {
        cursor: pointer;
    }

    /*.prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }*/

    .numbertext {
        color: #f2f2f2;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
    }

    .row {
        /*display: grid;
    grid-template-rows: 100px;
    grid-auto-rows: 100px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;*/
        max-width: 140px;
        margin: 0 5px 60px;
    }

    .column {
        max-width: 140px;
    }

    .demo {
        opacity: 0.6;
    }

    .active,
    .demo:hover {
        opacity: 1;
    }
}

@media (max-width: 1090px) {
    .container {
        width: 100%;
        margin: 0 auto;
    }

    .content {
        padding: 60px 20px;
    }

    /***** HEADER MOBILE STYLES *****/

    #top-header {
        display: none;
    }

    #navContainer {
        width: 100%;
        background-color: #35383c !important;
        transition: 0.4s;
        position: fixed;
        top: 0;
        z-index: 100;
    }

    #nav {
        padding: 0px 10px 0;
        height: fit-content;
    }

    #navContainer img {
        width: 100px;
        height: auto;
        margin: 10px 0 5px 20px;
    }

    /* Links inside the navbar */
    .topnav a {
        float: left;
        font-size: 16px;
        color: #eae8e5;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-variant: small-caps;
        font-weight: bold;
        font-family: "Montserrat", sans-serif;
    }

    /* Add a background color to navbar links on hover */
    .topnav a:hover {
        background-color: #f86829;
        color: #eae8e5;
    }

    /* When the screen is less than 1099 pixels wide, hide all links. 
  Show the link that should open and close the topnav (.icon) */
    .topnav a {
        display: none;
    }

    .topnav a.icon {
        display: block;
        position: absolute;
        font-size: 28px;
        top: 6px;
        right: 0;
        float: right;
        margin: 0px 10px 10px 0;
        color: #d26838;
        transition: unset;
    }

    .topnav a.icon:hover {
        background-color: transparent;
    }

    /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. 
  This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
    .topnav.responsive {
        position: relative;
        clear: both;
        margin-top: 10px;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: -10px;
        top: -87px;
        border-bottom: none;
        transition: unset;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        border-bottom: 1px solid #3e3c3c;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        text-align: left;
    }

    /* DROPDOWN MENU */

    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        text-align: left;
    }

    /* Dropdown Content */
    .hidden {
        display: none;
        margin: 10px 0;
    }

    .hidden a {
        margin-left: 25px !important;
        font-size: 0.9em;
        border-bottom: none !important;
        color: #adadad;
    }

    /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
    .show {
        display: block;
    }

    .topnav.responsive,
    .hidden {
        animation: fadeIn 0.5s;
        -webkit-animation: fadeIn 0.5s;
        -moz-animation: fadeIn 0.5s;
        -o-animation: fadeIn 0.5s;
        -ms-animation: fadeIn 0.5s;
    }
    @keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    @-moz-keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }

    /*** HERO MOBILE STYLES ***/

    #homepage-hero {
        background: url("images/homepage-hero.jpg") no-repeat top center;
        background-size: cover;
        height: 440px;
        margin-top: 82px;
        color: #eae8e5;
    }

    #homepage-hero h1 {
        text-transform: uppercase;
        font-size: 3.5em;
        font-weight: normal;
        margin-bottom: 10px;
        /*    width: 700px;*/
    }

    #homepage-hero .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    #homepage-hero p {
        /*    width: 500px;*/
        margin-bottom: 30px;
        font-size: 1.15em;
    }

    #homepage-hero a {
        padding: 10px 20px;
        background: #d26838;
        border: 2px solid #d26838;
        font-size: 1.15em;
        font-weight: bold;
    }

    #homepage-hero a:hover {
        background: transparent;
        border: 2px solid #eae8e5;
    }

    .no-padding-top {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .content-row .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .border-bottom-center {
        border-bottom: 5px solid #d26838;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    .border-bottom-center h3 {
        margin-bottom: 0px;
    }

    #customer-focused {
        width: 100%;
        background: #d26838;
        color: white;
        padding: 20px;
        border-bottom: 5px solid #35383c;
        text-align: center;
    }

    #customer-focused p {
        margin-bottom: 0px;
    }

    /*SUBPAGE MOBILE*/

    .subpage-hero {
        margin-top: 82px;
        background: #35383c;
        color: #f4f4f5;
        height: 150px;
    }

    .subpage-hero .container {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .subpage-hero h1 {
        margin-bottom: 0px;
    }

    .product-content .container {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: flex-start;
    }

    .product-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 300px;
        height: 440px;
        margin-bottom: 40px;
        box-shadow: 2px 2px 4px gray;
        padding: 0 0 20px;
    }

    img.product {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .product-container h3 {
        text-align: center;
        padding: 0 20px;
    }

    .product-container p {
        overflow: hidden;
        text-overflow: ellipsis;
        /*    white-space: normal;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .product-container a {
        color: white;
        background: #f86829;
        padding: 10px 20px;
        font-weight: bold;
        border: 2px solid #f86829;
    }

    .product-container a:hover {
        background: white;
        color: #f86829;
    }

    /*INDIVIDUAL SWITCHES MOBILE*/

    #slide-container {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #slide-container h3 {
        width: 100%;
        margin-top: 40px;
    }

    .mySlides {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .mySlides img {
        max-width: 700px !important;
        width: 100% !important;
        height: auto;
        margin: 0 auto;
        display: block;
        border: 1px solid #35383c;
    }

    .cursor {
        cursor: pointer;
    }

    /*.prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }*/

    .numbertext {
        color: #f2f2f2;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
    }

    .row {
        /*display: grid;
    grid-template-rows: 100px;
    grid-auto-rows: 100px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;*/
        max-width: 100px;
        margin: 0 5px;
    }

    .column {
        max-width: 100px;
    }

    .demo {
        opacity: 0.6;
    }

    .active,
    .demo:hover {
        opacity: 1;
    }

    /*FOOTER MOBILE*/

    footer {
        background: url(images/footer-background.webp) no-repeat left center;
        background-size: cover;
        padding: 60px 20px 0px;
        color: #eae8e5;
    }

    footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .footer-col {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .footer-col:first-of-type {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #5e6064;
    }

    .footer-col a {
        margin: 0 10px;
    }

    .footer-col a {
        border-bottom: 1px solid #5e6064;
    }

    .footer-col a:hover {
        color: white;
        border-bottom: 1px solid #f86829;
    }

    a.footer-logo {
        border-bottom: none !important;
    }

    footer h3 {
        color: #d26838;
        color: #f86829;
        width: 100%;
        text-align: center;
    }

    #sub-footer {
        padding: 30px 20px;
        margin-top: 30px;
        border-top: 1px solid #5e6064;
        color: #5e6064;
        text-align: center;
        font-size: 0.9em;
        font-weight: bold;
        width: 100%;
    }

    #sub-footer a {
        border-bottom: 1px solid white;
    }

    #sub-footer a:hover {
        color: white;
    }
}
