﻿html {
    scroll-behavior: smooth;
}

body {
    background: #fff !important;
    background-color: #fff !important;
}

.sideNav {
    padding: 10px 0;
    position: relative;
    list-style: none;
}

    .sideNav > li > a {
        text-decoration: none;
        text-align: center;
        list-style: none;
        font-size: 15px;
        font-weight: 400;
        color: #fff;
        position: relative;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
    }

    .sideNav > li:hover > a {
        text-decoration: underline;
        text-align: center;
        list-style: none;
        font-size: 16px;
        font-weight: 500;
        color: #2EB6CA;
        position: relative;
        -moz-transform: inherit;
        -ms-transform: inherit;
        -o-transform: inherit;
        -webkit-transform: inherit;
        transform: scale(1.001);
        transition: all 0.3s ease-in-out;
        position: relative;
    }

.text-section-text {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    top: 18px;
}

.image-tag {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    opacity: 1;
    top: -27px;
    transition: all 0.35s ease;
}

.sideBarLayout > .sideContent > .navContainer > div:nth-child(3) > span {
    font-weight: 600;
    top: 31px;
    position: relative;
}

.navContainer > div:first-child {
    border-bottom: solid 0.3px #ffffff2e;
}

#sideBarNav2 {
    padding: 10px 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    text-align: center;
    list-style: none;
    position: relative;
    margin-top: 5px;
}

#sideBarNav {
    padding: 10px 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    text-align: center;
    list-style: none;
    position: relative;
}

.text-section-text > img {
    box-shadow: 0px 2px 20px 9px #00000026;
}

.navTitleLink {
    border-bottom: #fdfdfd 0.5px none;
    width: 100%;
}

    .navTitleLink:hover {
        border-bottom: #2EB6CA 0.5px solid;
    }

    .navTitleLink > span {
        text-transform: capitalize !important;
        font-weight: 700 !important;
        font-size: 15px;
    }

.navContainer {
    width: 256px;
    height: auto;
    margin-left: 19px;
    padding: 0;
    position: fixed;
    top: 240px;
    z-index: 999999999999;
}

    .navContainer.lock {
        position: absolute;
        bottom: 0;
        top: auto;
    }

@media (max-width: 1500px ) {
    .sideBarLayout .sideContent::before {
        background-color: rgb(20 39 55 / 83%) !important;
        max-width: 283px;
    }
}



.sideBarLayout {
    display: flex;
    overflow: hidden !important;
    position: relative;
    justify-content: space-between;
    height: min-content !important;
}

    .sideBarLayout .text-section {
        flex-grow: 2;
        width: auto;
        text-align: left;
    }

    .sideBarLayout .sideContent {
        color: #fff;
        text-align: center;
        flex-grow: 1;
        position: relative;
        z-index: 10;
        margin-right: 15px;
    }

        .sideBarLayout .sideContent::before {
            content: '';
            position: absolute;
            width: 100%;
            background-color: rgba(32, 67, 96, 0.9);
            left: -6px;
            top: 0;
            margin: 0;
            max-width: 305px;
            min-width: 300px;
        }

li > hr {
    opacity: 0 !important;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    height: 95px;
    box-shadow: 0 -2px 5px -2px #333;
    background-color: #fff;
}

.mobile-bottom-nav__item {
    flex-grow: 1;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-bottom-nav__item--active {
    color: #fff;
    background-color: #336699;
}

.mobile-bottom-nav__item:hover {
    cursor: pointer;
}

.mobile-bottom-nav__item--active > .mobile-bottom-nav__item-content > i {
    color: #fff;
}

.mobile-bottom-nav__item-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 991px) {
    .sideBarLayout .sideContent::before {
        content: '';
        position: absolute;
        width: 100%;
        background-color: rgba(32, 67, 96, 0.9);
        min-height: fit-content;
        left: -6px;
        top: 0;
        margin: 0;
        max-width: 305px;
        min-width: 300px;
    }

    .sideNav > li > a {
        position: static;
    }
}

@media (max-width: 990px) {
    .sideBarLayout .sideContent::before {
        content: '';
        position: absolute;
        width: 100%;
        background-color: rgba(32, 67, 96, 0.9);
        min-height: 7104px;
        left: -6px;
        top: 0;
        margin: 0;
        max-width: 338px;
        min-width: 338px;
    }

    .sideNavLogo {
        display: block;
    }
}


#mobileNav {
    display: none;
}




.pageItemFlexItem .flexItemBackgroundImage200 {
    height: 182px;
    margin: -27px -2px 3px -2px;
}







@media (max-width: 600px) {
    iframe {
        width: 100% !important;
        height: 266px !important;
    }
   .team-sections.container {
       max-width: 78vw !important;   
    }
    .pageItemFlexItem > div > p {
        padding: 0px 2px !important;
    }

    .img-card-row {
        flex-wrap: wrap;
    }

    .img-card > img {
        transform: scale(1.35) !important;
        max-width: 240px !important;
        height: auto;
        box-shadow: 1px 2px 10px 0px #999;
        transition: all 0.35s ease;
    }

    .img-column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: inherit;
        flex-basis: 50% !important;
        margin: 23px;
        align-items: center;
    }

    .img-card {
        max-width: 100% !important;
        margin: 25px 0px;
    }

    .image-tag {
        top: 3px !important;
    }

    .sideNavLogo {
        display: none;
    }

    .pageItemFlexItem > div > h3 {
        font-size: 0.77rem !important;
        line-height: 1.4rem !important;
    }

    .pageItemFlex.flex4Col > .pageItemFlexItem {
        margin-right: 2px !important;
        flex-basis: 35% !important;
        min-width: 248px;
        width: 298px;
        padding: 0 25px;
    }

    .pageItemFlexItem .flexItemBackgroundImage200 {
        height: 182px;
        margin: 0px -27px 16px -25px !important;
    }

    .pageItemContent {
        margin-bottom: 2px !important;
    }

    .pageItemFlex {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sideBarLayout .sideContent::before {
        content: '';
        position: absolute;
        width: 240px;
        background-color: rgba(32, 67, 96, 0.9);
        height: 1vh !important;
        left: -18px;
        top: 0;
        margin: 0;
        display: none;
    }

    #section1 > div.pageItem > div > div > div > div > p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .text-section-text {
        max-width: 93vw;
        margin: 5px;
    }

    #section1 > img {
        width: 241px;
        margin-top: 100px !important;
    }

    .navContainer {
        display: none;
    }

    #mobileNav {
        position: fixed;
        top: 113px;
        display: block;
        z-index: 99999999999 !important;
    }

    #mobile-menu ul {
        padding: 0;
    }

    #mobile-menu a {
        text-decoration: none;
    }

    .mobile-menu-container {
        display: block;
        position: fixed;
        text-align: center;
        margin: 0 auto;
        z-index: 1;
        padding: .5em;
        padding-left: 0em;
        width: 100%;
    }


    /* Style Hamburger*/
    .bar1, .bar3 {
        display: inline-block;
        width: 41px;
        height: 4px;
        background-color: #333;
        margin: 11px 0;
        transition: 0.4s;
    }

    .bar2 {
        cursor: pointer;
        vertical-align: middle;
        height: 8px;
        font-size: 1.2em;
        margin-top: -11px;
        margin-bottom: 10px;
        transition: 0.4s;
    }

    /* Rotate first bar */
    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-12px, 9px);
    }

    /* Fade out the second bar */
    .change .bar2 {
        opacity: 0;
    }

    /* Rotate last bar */
    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-12px, -12px);
        transform: rotate(45deg) translate(-12px, -12px);
    }
    /*========= Mobile Menu ==================*/
    #mobile-menu {
        position: fixed;
        text-align: center;
        list-style: none;
        background: #006699;
        width: 100%;
        color: white;
        padding-top: 3.9em;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .0), 0 6px 6px rgba(0, 0, 0, 0.1);
    }

        #mobile-menu ul {
            margin: 0 !important;
            z-index: 9999999999;
        }

        #mobile-menu li {
            margin: 0 !important;
            z-index: 9999999999 !important;
        }

            #mobile-menu li a {
                border-style: solid;
                border-top: solid #336699;
                border-left-style: none;
                border-bottom: none;
                display: inline-block;
                padding-top: 1em;
                padding-bottom: 1em;
                width: 100%;
                color: white;
                transition: background-color 0.6s ease;
                z-index: 99999999999 !important;
            }

                #mobile-menu li a:hover {
                    transition: background-color 0.6s ease;
                    background: #ccc;
                    color: #006699;
                }

    .menu-hidden {
        margin-top: -35em;
    }

    .img-card > img {
    }

    .video-row {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
        margin: 20px;
    }
}



@media(min-width:991px) {
    .sideContent {
        max-width: 381px;
        width: 100%;
    }
}


.robotunitsBanner {
    width: 70%;
    height: auto;
    position: relative;
    top: -785px;
    left: 804px;
}

.complimentary-products-header {
    position: absolute;
    left: -1207px;
    top: 34px;
    transform: rotate(337deg);
    opacity: 0.2;
}

.centerText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pageItemFlex {
    display: flex;
    justify-content: space-around;
    width: 1201px;
    position: relative;
    margin-left: -10px;
}

#section5 iframe {
    width: 450px;
    height: 270px;
}

.pageItemContent {
    max-width: 1370px;
    margin: auto;
    margin-bottom: 48px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card:hover .icon ul li {
    opacity: 1;
    transform: translateY(13px) !important;
}

.pageItem:nth-of-type(odd) {
    background-color: #f6f8fa /*#f2f5f7*/;
}

.card:hover .logo {
    transition-delay: 0.99s;
    transition: transform 0.8s ease-in-out;
    height: 48px;
    background: url(https://www.eandm.com/Media/EandM/images/Extrusions/Robotunits_Specialist.png);
    opacity: 0.4 !important;
    top: 85% !important;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 100%;
    z-index: 9;
    cursor: default;
    left: 25% !important;
}

.card .logo {
    display: flex;
    align-items: flex-end;
    position: absolute;
    width: 50px;
    right: 12%;
    background: url(https://www.eandm.com/Images/EandM_logo.png);
    background-size: contain;
    height: 52px;
    background-repeat: no-repeat;
    flex-wrap: nowrap;
    justify-content: flex-end;
    opacity: 25% !important;
    top: 15% !important;
}

.icon ul li {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    border: 1px none transparent;
    /* background: #1f1f1f; */
    /* float: left; */
    position: relative;
    top: 90% !important;
    opacity: 0;
    transition: transform 0.6s ease-in-out !important;
}

.card-text {
    transition: all 0.25s ease-in-out !important;
}

.card:hover .card-text {
    transition: all 0.25s ease-in-out !important;
}

.pageItem {
    background-color: white;
    padding: 72px 0px;
}

.pageItemFlexItem:hover {
    box-shadow: 0 8px 32px 0 rgb(0 0 0 / 21%);
}

.pageItemFlex.flex4Col > .pageItemFlexItem {
    flex-basis: 25%;
    max-width: 277px;
}

.pageItemFlexItem {
    position: relative;
    background-color: white;
    box-shadow: 0 4px 16px 0 rgb(0 0 0 / 18%);
    transition: box-shadow 0.2s ease;
    margin: 10px 0px;
    padding: 27px 2px 20px 2px;
    text-align: center;
}

    .pageItemFlexItem .flexItemBackgroundImage200 {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 201px;
        margin: -29px -3px 16px -3px;
    }

    .pageItemFlexItem > div > h3 {
        text-align: center !important;
        color: #336699 !important;
    }

    .pageItemFlexItem > div > p {
        color: #363d42;
        font-family: Muli-Regular,Helvetica,Arial,sans-serif;
        font-size: 0.92rem;
        font-weight: 400;
        line-height: 1.3125rem;
        padding: 0px 8px;
    }

.text-section-text ul li:before {
    content: "";
    opacity: 0;
    position: absolute;
    height: 2px !important;
    width: 2px !important;
    background-color: #3366994d;
    left: 6px;
    top: 10px !important;
    border-radius: 4px;
    border-bottom-style: initial;
}

.section2Box > h3 {
    text-transform: uppercase;
    font-family: Barlow-Medium,Helvetica,Arial,sans-serif;
    font-size: 0.891rem !important;
    text-align: center;
    font-weight: 600;
    line-height: 1.5em !important;
    width: 60%;
}

.section2Box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-section-text ul li {
    margin-left: -14px !important;
    text-align: center !important;
    font-size: 14px !important;
    width: 251px;
    padding-bottom: 1px;
    list-style: none;
}

li > hr {
    opacity: 0.75;
}

.section2Flex > .pageItemFlexItem {
    flex-basis: 25%;
    height: 364px !important;
}

.lrgHeight {
    height: 482px !important;
}

.icon > ul > li {
    width: 40px !important;
}

.icon ul li:hover {
    background: transparent;
    border: none;
    color: rgb(25, 139, 154);
    transform: translate(0);
    transition: transform 0.8s ease-in-out, opacity 0.9s ease;
}

.img-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: inherit;
    flex-basis: 33.3%;
    margin: 10px;
}

.img-card-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.img-card {
    width: 100%;
    height: 100%;
    max-width: calc(90vw / 3.5);
    text-align: center;
    position: relative;
}

    .img-card > img {
        max-width: 300px;
        height: auto;
        box-shadow: 1px 2px 10px 0px #ccc;
        transition: all 0.35s ease;
    }




    .img-card > span {
        position: relative;
        opacity: 0.8;
        transition: all 0.35s ease;
    }

.video-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 20px;
}
