﻿.flex-container {
    display: flex;
    flex-wrap: nowrap;
    background-color: DodgerBlue;
    height: 30px;
}

    .flex-container > div {
        background-color: #f1f1f1;
        width: 80%;
        margin: 2px;
        text-align: center;
        /*line-height: 18px;*/
        font-size: 18px;
    }

.Localcontainer {
    background-color: #2E4272;
    /*background-color: #FF0000;*/
    display: flex;
}

.Localbody {
    font-family: Arial, Helvetica, sans-serif;
    border: groove;
    border-color: #000000;
}


/* Style the header */
.Localheader {
    text-align: center;
    padding: 10px;
    font-size: 35px;
    color: white;
    width: 100%;
}

.LogoImage {
    display: inline;
    float: left;
}

/* Create two columns/boxes that floats next to each other */
.Localnav {
    float: left;
    width: 22%;
    height: 400px;
    background: #ccc;
    padding: 20px;
}

/* Style the list inside the menu */
nav ul {
    list-style-type: none;
    padding: 0;
}

.Localarticle {
    float: left;
    padding: 8px;
    width: 78%;
    background-color: #ebf1de;
    height: 400px;
}

.LocalDetails {
    float: left;
    padding: 8px;
    width: 78%;
    background-color: #ebf1de;
    height: 130px;
}

/* Style the footer */
.Localfooter {
    background-color: #777;
    padding: 10px;
    text-align: center;
    color: white;
}

.ProCalcTable {
    border: 1px solid black;
    width: 100%;
}

.tableHeader {
    padding: 2px 6px;
    width: 35%;
    text-align: left;
    font-weight: 500;
    font-size: 12px;
    color: #000000;
    border-bottom: solid;
    border-width: thin;
    vertical-align: central;
}

.tableHeaderInput {
    width: 40%;
    padding: 2px 6px;
    text-align: right;
    font-weight: 500;
    font-size: 12px;
    color: #000000;
    border-bottom: solid;
    /*border: solid;*/
    border-width: thin;
}

.ThirdrdtableHeaderInput {
    font-size: 12px;
    width: 10%;
    border-bottom: solid;
    border-width: thin;
}

.Calcinputs {
    width: 150px;
    height: 20px;
}

.center {
    margin: auto;
    width: 50%;
    border: 3px solid green;
    padding: 10px;
}

/*====================*/
/*== MOBILE VERSION ==*/
/*====================*/

@media screen and (max-width: 600px) {
    :root {
        --BoxHeight: 940px;
    }

    body {
        background: red;
    }
    /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
    .Localcontainer {
        display: flex;
    }

    .LogoImage {
        width: 30%;
        border: 1px solid green;
    }


    .Localcontainer {
        flex-direction: column-reverse;
    }

    .LogoImage {
        width: auto;
    }
    /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/

    .Localcontainer {
        background-color: #2E4272;
        height: 95px;
        /*background-color: #FF0000;*/
        display: flex;
    }

    .Localbody {
        font-family: Arial, Helvetica, sans-serif;
        border: groove;
        border-color: #000000;
    }

    table {
        border: 0;
    }

        table thead {
            display: none;
        }

        table tr {
            margin-bottom: 5px;
            display: block;
            border-bottom: 2px solid #ddd;
        }

        table td {
            display: block;
            text-align: right;
            font-size: 13px;
            border-bottom: 1px dotted #ccc;
        }

            table td:last-child {
                border-bottom: 0;
            }

            table td:before {
                content: attr(data-label);
                float: left;
                text-transform: uppercase;
                font-weight: bold;
            }

    /* Create two columns/boxes that floats next to each other */
    .Localnav {
        float: left;
        width: 22%;
        height: var(--BoxHeight);
        background: #ccc;
        padding: 20px;
    }

    /* Style the list inside the menu */
    nav ul {
        list-style-type: none;
        padding: 0;
    }

    .Localarticle {
        float: left;
        padding: 8px;
        width: 78%;
        background-color: #ebf1de;
        height: var(--BoxHeight);
    }

    .ProCalcTable {
        border: 1px solid black;
        width: 100%;
    }

    table tbody tr td:nth-of-type(n+1) {
        display: inline-block;
    }

    .ThirdrdtableHeaderInput {
        font-size: 12px;
        width: 50%;
        border-bottom: solid;
        border-width: thin;
    }

    .Calcinputs {
        width: 110px;
        height: 20px;
    }

    .Tablefooter {
        padding: 5px;
        text-align: left;
        float: left;
    }
}

/*====================*/
/*====================*/
