/****************************
*           General         *
****************************/
/*Styled for mobile first*/
/****************************
*         Header           *
****************************/
#headerContainer{
    background-color: #5e0b15;
    border-bottom: #f8b525 .5rem solid;
}
#headerLogoMobile{
    max-width: 100%;
}
    /*Header-NavBar*/
    .navbar{
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 0;
    }
    #viewPart{
        display: flex;
        flex-wrap: nowrap;
    }
    .navbar-nav {
        flex-direction: column;
    }
    .navbar-nav a{
        color: white;
    }
/****************************
*         Content           *
****************************/
/****  Page Elements   *****/
.pageContentContainer{
    margin: 0;
}
.contentBody h1{
    padding-top: .5rem;
    text-align: center;
}
.contentBody h2{
    padding: .5rem 0;
}
.contentBody h3{
    font-size: large;
}
.contentBody h4{
    padding: 1rem 0;
    border-bottom: #f8b525 .5rem solid;
}
.contentBody p{
    word-break: break-word;
}
.contentBody img{
    width: 100%;
    padding: 1rem 0;
    height: auto;
}
.contentBody h5{
    background-color: #5e0b15;
    padding: .4rem;
    margin: 0;
    color: white;
}
.scrollingHeader{
    background-image: url("graphic/banner.jpg");
    border-bottom: #f8b525 solid .5em;
}
.scrollingHeader h3{
    color: #5e0b15;
    text-align: center;
    font-size: 1.5rem;
    padding: .5rem 0;
}
/******************    Actuator    ******************/
#actHeader{
    font-size:xx-large;
    color: #5e0b15;
    text-align: center;
}
#actuatorInfo {
    border: 5px solid #5e0b15 ;
}
.pressureRow{
    border-top: 7px Solid #f8b525;
}
.table-responsive th, td{
    border: 2px solid black;
    text-align: center;
    padding: 1px;
}

/****************     Capabilities    **************/
.capHeader{
    width: 100%;
    background-color: #5e0b15;
    color: white;
    border-top: .3rem #f8b525  solid;
    border-bottom: .3rem #f8b525  solid;
    margin: .4rem 0;
    text-align: center;
}
.list-group{
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 1rem;
    width: 100%;
    background-color: #5e0b15;
}
/****************     Contact Us   *******************/
.contactH3{
    text-align: center;
    color: #5e0b15;
    padding-bottom: 0;
    padding-top: 3%;
    border-bottom: .5rem solid rgba(0, 0, 0, 0.174);
}
/****************     Home Page   *******************/
.capabilitiesSection h1{
    padding-top: 1rem;
    border-bottom: #f8b525 .3rem solid;
    margin-bottom: 1rem;
}
.capabilitiesLinks a{
    text-align: center;
    color: white;
    font-size: 2rem;
}
.designPhoto{
    padding: 10% 0;
    align-self: center;
    background-color: black;
    background-image:url("graphic/designs.png") ;
}
.machinePhoto{
    padding: 10% 0;
    background-color: black;
    background-image:url("graphic/machining.png") ;
}
.materialPhoto{
    padding: 10% 0;
    background-color: black;
    background-image:url("graphic/material.png") ;
}
/******************     Quality    ******************/
.qualitySectionImg{
    order: 2;
}
.qualityPhoto{
    width: 100%;
    height: auto;
}
.qualitySectionWords{
    order: 1;
}
.qualitySectionWords h1{
    border-bottom: #f8b525 .3rem solid;
}
/*******************************************************
*                        Footer                        *
*******************************************************/
.footerLastRow p{
    margin-top: 2rem;
    margin-bottom: 0;
    width: 100%;
    text-align: center;    
    background-color: darkgrey;
}

/*******************************************************
*                        Desktop                       *
*******************************************************/
@media (min-width: 768px) {
    /*******************************************
    *                Header                    *
    *******************************************/
    #headerContainer{
        background-image: url("graphic/heading.jpg");
    }
    /********    NavBar     ********/
        .navbar{
            flex-wrap: nowrap;
        }
        #viewPart{
            width: 40%;
        }
        #linkMenuNav {
            width: 60%;
            display: flex;
            flex-wrap: nowrap;
            align-self: flex-end;
        }
        .navbar-nav{
            width: 100%;
            justify-content: space-between;
            font-size: larger;
        }
    /*********************************************
    *                  Content                   *
    *********************************************/
    /****************    Page Elements   ***************/
    .scrollingHeader{
        background-image: url("graphic/banner.jpg");
    }
    .scrollingHeader h3{
        font-size: 3rem;
    }
    .contentBody{
        width: 100%;
    }
    /******************    Actuator    ******************/

    .table-responsive th{
        padding: 10px;
    }
    .pressureRow{
        margin-top: 10px;
    }

    /****************     Contact Us   *******************/
    .contactImg{
        width: 400px;
        height: auto;
        object-fit: cover;
    }
    /****************    Capabilities   *******************/
    .capIntro{
        align-items: center;
    }
    #inspectPic{
        max-width: 60%;
    }
    .capHeader{
        text-align: center;
    }
    /****************     Gallery   *******************/
    .picture{
        max-width: 30%;
        padding: 0 2%;
    }
    .galleryHolder{
        display: flex;
        flex-wrap: wrap;
    }
    /****************     Home Page   *******************/
    .homeIntroContainer{
        padding-top: 2rem;
        align-items: center;
        border-bottom: #5e0b15 2rem solid;
        padding-bottom: 3rem;
    }
    .qualitySection{
        padding-top: 3rem;
        align-items: center;
    }
    .qualitySectionImg{
        order: 1;
    }
    .qualitySectionWords{
        order: 2;
    }
    /****************     Quality   *******************/

    /****************************
    *         Footer            *
    ****************************/
    #footerContainer{
        margin-top: 1rem;
        border-top: #f8b525 solid .5rem;
        font-size: small;
    }
    #footerContainer h5{
        text-decoration: underline;
    }
    .footerMainRow{
        padding-top: 1rem;
        background-color: #5e0b15;
        color: white;
    }    
    .footerMainRow a{
        color: white;
    }
    .footerMainRow ul{
        list-style-type: none;
        font-size:small;
    }
    .footerOne{
        flex: 0 0 20%;
    }
    .footerTwo{
        flex: 0 0 15%;
    }
    .footerThree{
        flex: 1 0 30%;
    }
    .footerFour{
        flex: 1 0 25%;
    }
    .footerFour td{
        border: none;
        text-align: left;
    }
    .footerLastRow p{
        background-color: darkgray;
        margin: 0;
    }
}