


@media screen and (max-height: 675px) {
    #scrollMenuNav{
        position: absolute;
        top: 75px;
        left: 50%;
        width: 500px;
        height: 50px;
        margin-left: -250px;


        border-radius: 5px;
        list-style: none !important;

    }

    #scrollMenuNav li{

        margin-top: 10px;

    }
}

@media screen and (max-height: 400px) {
    #scrollMenuNav{
        position: absolute;
        top: 75px;
        left: 50%;
        width: 500px;
        height: 35px;

        margin-left: -250px;


        border-radius: 5px;
        list-style: none !important;


    }

    #scrollMenuNav li{

        font-size: 25px;

        line-height: 35px;

        margin-top: 15px;


    }
}

@media screen and (max-height: 370px) {
    #scrollMenuNav{
        position: absolute;
        top: 75px;
        left: 50%;
        width: 500px;
        height: 35px;

        margin-left: -250px;


        border-radius: 5px;
        list-style: none !important;


    }

    #scrollMenuNav li{

        font-size: 25px;

        line-height: 35px;

        margin-top: 10px;


    }
}



@media screen and (max-width: 1150px) {
    #menuBar h1 {
        font-size: 45px;


    }



    .horizontal_layout{
        position: relative;
        display: inline-block;
        text-align: center;
        vertical-align: top;
    }

    .horizontal_layout .container{
        width: 100%;
        display: inline-block;
        margin-top: 15px;
        vertical-align: top;

    }

}



@media screen and (max-width: 1000px) {
    #menuBar h1 {
        font-size: 40px;
        width: 600px;
        margin-left: -300px;

    }






}

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

    #about_section .card.center{
        margin-left: 0;
        margin-right: 0;
    }

}

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

    #products_section .card.not_first{

        width: 90%;
    }

    .horizontal_layout{
        position: relative;
        display: inline-block;
        text-align: center;
        vertical-align: top;
    }

    .horizontal_layout .container{
        width: 49%;
        display: inline-block;
        margin-top: 15px;
        vertical-align: top;

    }


    .logoArea{

        left: 15px;

    }



    .connectArea{

        right: 0;

    }


}

@media screen and (max-width: 800px) {
    #menuBar h1 {
        font-size: 30px;
        width: 400px;
        margin-left: -200px;
        margin-top: -35px;
        background: none;
    }

    #header_contact_info{
        position: absolute;
        bottom: -8px;
        left: 50%;
        width: 400px;
        margin-left: -200px;
        height: auto;
        color: black;
        text-align: center;
        font-size: 15px;
        color: white;
        background: none;

    }



    #products_section .card{
        background: white;

        border-radius: 0;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        width: 90%;

    }

    .imageClicked {
        width: 100%;
        margin-left: 2px;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 50%;


    }


}

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


    .card.map_placeholder{
        display: none !important;
    }

    .map_container{
        display: none;
    }

    #about_section .card{
        width: 80%;
    }


    .content_section div.card {
        width: 80%;
        background: none;
        box-shadow: none;
    }

    .horizontal_layout{
        position: relative;
        display: inline-block;
        text-align: center;
        vertical-align: top;
    }

    .horizontal_layout .container{
        width: 100%;
        display: inline-block;
        margin-top: 15px;
        vertical-align: top;

    }


    .fa-bars{
        display: block;
        left: 0px;

    }

/* Smaller Menu Code
    #menuBar{
        height: 60px;
    }


    #menuBar h1 {
        font-size: 18px;
        width: 400px;

        margin-left: 0;

        left: 100px;
        left: 65px;

        text-align: left;


    }



    #header_contact_info{

        left: 65px !important;
        margin-left: 0;

        text-align: left;

        font-size: 10px;
    }

    .fa-bars{
        display: block;
        left: 0px;
        top: 6px;
    }

    .logoArea{
        display: none;
    }
*/



    .logoArea{
        display: none;
    }


    .imageClicked {
        width: 100%;
        margin-left: 2px;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 30%;


    }

    #connect{
        display: none;
    }


    .connectIcon.icon2{
        display: none;
    }


    .connectIcon.icon1{
        right: 15px;

        top: 50%;

        margin-top: -25px;

        width: 50px;
        height: 50px;


        background-image: url('images/circle_facebook_logo2.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .usefulLinks{
        position: absolute;
        top: 0px;
        right: 50%;
        margin: 0;
        margin-top: 15px;
    }

    .connectFooter {

        position: absolute;
        top: 0px;
        left: 50%;
        margin: 0;
        margin-top: 15px;
        padding-left: 40px;

    }

    .contactInfoFooter{
        position: absolute;
        top: 200px;
        left: 50%;
        width: 200px;
        margin-left: -100px;
        border-right: none;
    }


    nav{
        display: none;
    }

    .card.resume{
        width: 70%;
        margin-top: 0;
    }

    footer{
        font-size: 14px;
        height: 470px;
    }

    #copyright_area{
        position: absolute;
        left: 0;
        top: auto;
        width: 100%;
        bottom: 0;
        height: 50px;
    }


    #profileInfo{
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 25%;
        width: 350px;
        width: 335px;

        width: 100%;

        background: rgba(76,175,80,.65);
        background: rgba(0,0,128,.50);

        /* #194366 */
        background: rgba(25,67,102, .65);
        text-align: center;
    }

    #home_section div.card.welcome, #home_section div.card {
        width: 80%;
        background: white;
        box-shadow: none;
    }



    #products_section article{
        padding-left: 0;
        padding-right: 0;
    }


    #products_section .ProductsItem h2{
        font-size: 25px;
        padding-left: 15px;
        padding-right: 5px;
        line-height: 40px;
    }

    #products_section img{
        padding: 0;
        margin: 5px;
    }

    #about_section #intro{
        padding: 15px;
    }

    footer hr{
        display: block;
    }



    #contact_section.content_section .card{
        width: 65%;

        width: 100%;



        margin-left: 0;
        margin-right: 0;
    }



    .galleryNavigation{
        position: relative;



        left: 50%;

        margin-top: 50px;


        width: 300px;

        margin-left: -160px;

        margin-right: 0;

        height: 200px;
        height: 32px;
        height: 150px;

        background: orange;
        background: #18453B;
        background: none;


        border-radius: 5px;

        z-index: 0;




    }


    @media screen and (max-width: 640px) {
        .app1{
            background: url("Fence_Pictures/All_Pictures/wood3_gates.jpg") !important;
            background-size: cover !important;
            background-position: center !important;

        }

    }


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

        .connectArea{
            display: none;
        }



        #menuBar h1 {
            font-size: 20px;
            width: 400px;
            margin-left: -200px;
            margin-top: -38px;
            background: none;
        }

        #header_contact_info{
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 400px;
            margin-left: -200px;
            height: auto;
            color: black;
            text-align: center;
            font-size: 12px;
            color: white;
            background: none;

        }
    }




    @media screen and (max-width: 420px) {
        #menuBar h1 {
            font-size: 20px;
            width: 300px;
            margin-left: -125px;
            margin-left: 0;
            margin-top: -38px;

            text-align: left;
            left: 75px;

        }

        #header_contact_info{
            position: absolute;
            bottom: -3px;
            left: 50%;
            width: 300px;
            margin-left: 0;
            height: auto;
            color: black;
            text-align: center;
            text-align: left;
            left: 75px;
            font-size: 12px;
            color: white;


        }



        .fa-bars{
            display: block;
            left: 0px;

        }

    }


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


        #menuBar h1 {
            font-size: 18px;
            width: 240px;
            margin-left: -125px;
            margin-left: 0;
            margin-top: -38px;

            text-align: left;
            left: 65px;
        }

        #header_contact_info{
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 240px;
            margin-left: 0;
            height: auto;
            color: black;
            text-align: center;
            text-align: left;
            left: 65px;
            font-size: 10px;
            color: white;


        }


        .fa-bars{
            display: block;
            left: 0px;

        }

    }


    @media screen and (max-width: 340px) {
        .app1{
            background: url("Fence_Pictures/All_Pictures/wood3_gates.jpg") !important;
            background-size: cover !important;
            background-position: center !important;
            margin: 10px !important;
            width: 300px !important;
            height: 300px !important;

        }

    }

}
