﻿.machine-detail-main-container {
    width: 100%;
}

.md-navigation-path-links {
    background-color: #f6f7f9;
    padding: 1.4rem 0 1.2rem;
    padding-left:10px;
}

    .md-navigation-path-links > a {
        text-decoration: none;
        color: black;
    }

        .md-navigation-path-links > a:hover {
            color: red;
            cursor: pointer;
        }

.m-title {
    background-color: #dedede;
    text-align: center;
    font-size: 20px;
    padding: 1.4rem 0 1.2rem;
    font-weight: 500;
}

.m-category {
    width: 100%;
    height: auto;
    display: flex;
    padding: 1.4rem 0 1.2rem;
}

.m-cat-links {
    width: 10%;
    text-align: center;
    cursor: pointer;
    margin: 5px;
    padding-left: 10px;
}

.custom-hr {
    width: 98%;
    margin: auto;
    /* This centers the hr */
}

.m-name {
    width: 100%;
    font-weight: 600;
    font-size: 36px;
    margin: 10px 0;
}
.m-code-section{
    padding:0 !important;
    color:#333;
    font-weight:300;
    text-transform:uppercase;
    line-height:2;
}
.m-image-gallery {
    width: 40%;
    height: 500px;
    margin-right: 5px;
}

.m-main-img-cont {
    height: 400px;
    width: 100%;
    padding: 10px;
    text-align:center;
}

.m-main-img-cont > img {
    height: 100%;
    width:100%;
    object-fit:contain;
}

.m-sub-img-cont {
    display: flex;
    height:100px;
}

    .m-sub-img-cont > img {
        width: 25%;
        padding: 10px;
        object-fit:contain;
    }

        .active-img {
            border: 1px solid black;
        }

        .m-sub-img-cont > img:hover {
            cursor: pointer;
            border: 1px solid rgb(255, 0, 0);
        }

.m-details {
    width: 60%;
}

.m-sub-container,
.top-3-related-m {
    display: flex;
    width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    justify-content: flex-start;
}

.m-details-sub {
    background-color: #ffffff;
    padding: 2rem;
}

.m-specification-section {
    align-items: flex-start;
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 2;
}
    .m-specification-section > p{
        font-weight:300;
    }

    .m-featurebuttons {
        background-color: black;
        padding: 18px 35px;
        width: 300px;
        font-weight:700;
        text-align: center;
        margin: 20px 0px;
        transition: 0.5s ease;
    }
    .m-featurebuttons:hover {
        background: #eee;
        cursor: pointer;
    }

    .m-featurebuttons > a {
        text-decoration: none;
        color: white;
    }
    .m-featurebuttons > a:hover{
        color:black !important;
    }
    .m-related-machines {
        padding: 1.4rem 0 1.2rem 0.5rem;
        width: 100%;
    }

        .m-related-machines > h2 {
            color: black;
            border-bottom: 2px solid #d35400;
            padding-bottom: 10px;
            font-weight: 700;
            margin-left: 10px;
            margin-right: 10px;
        }

.rm-card-container {
    width: 30%;
    height: auto;
    padding: 10px;
    border: 1px solid rgb(233, 233, 233);
    margin: 10px;
    text-align: center;
    height: 490px;
    transition:0.7s ease;
}
    .rm-card-container:hover{
        transform:translateY(-10px);
    }
    .rm-card-container > a {
        text-decoration: none;
        color: black;
        height: inherit;
    }

    .rm-card-container:hover {
    }
.rm-card-img-cont{
    height:300px;
}
.rm-card-img-cont > img {
    width: 100%;
    object-fit: contain;
    height: inherit;
}

.rm-model-no {
    font-size: 12px;
}

.rm-comp-name {
    color: #d35400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    margin-top:10px;
}
.related-card-details-container {
    height:180px;
}
.related-card-details-sub-container{
    height:100px
}
.related-card-details-sub-container-two{
    height:80px
}
.related-card-machine-name {
    letter-spacing: 1.44px;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.ViewDetailsButton {
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #000;
    padding: 18px 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    transition: all .2s;
    display: block;
    width: 200px;
    margin: 0 auto;
}
.ViewDetailsButton:hover{
    cursor:pointer;
    color:black;
    background-color:#eee;
}
    .m-description-section {
        text-align: justify;
        margin-top: 10px;
        margin-bottom: 10px;
        font-weight: 300;
        color: #333;
        line-height: 1.5;
    }
@media (max-width: 950px) {
    .m-sub-container,
    .top-3-related-m{
        width:85%;
    }
    .machine-display-main-container {
        padding: 20px 20px;
    }
}
@media (max-width: 769px) {
    .m-sub-container,
    .top-3-related-m {
        width: 80%;
        margin:0 auto;
        display:block;
    }
    .m-image-gallery, .m-details{
        width:100%;
    }
    .m-image-gallery{
        height:600px
    }
    .m-main-img-cont{
        height:500px;
    }
    .m-details{
        margin-top:1rem;
    }
    .rm-card-container{
        width:80%;
        margin:0 auto;
        margin-top:10px;
    }
}

@media (max-width: 500px) {
    .m-sub-container,
    .top-3-related-m {
        width: 90%;
    }
    .m-featurebuttons{
        width:100%;
    }
}


/*MACHINES PAGE*/
.searched-machine-title {
    background-color: gray;
    padding: 30px 50px;
}
    .searched-machine-title > h1 {
        text-align: center;
        font-family: "ethnocentric", "Bebas Neue", sans-serif !important;
        font-style:normal;
        font-weight: 400;
        color: white;
        text-shadow: 4px 4px #666666;
    }



@media(max-width:1100px) {
    .machine-sub-menu-container {
        width: 100%;
    }
        .machine-sub-menu-container > ul {
            display:inline-flex;
        }
    .machine-content-continer{
        width:100%;
    }
}
@media(max-width:600px) {

        .machine-sub-menu-container > ul {
            display: block;
        }
}