body {
    font-family: Helvetica;
    background-color: #EFEFEF;
}

h1 {
    text-align: center;
}

nav {
    border: 1px solid gray;
    border-radius: 5px;
    margin: auto;
    padding: 4px;
    display: table;
    overflow: hidden;
    background-color: #D5D5D5;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    list-style-type: none;
}

nav a {
    border-radius: 5px;
    display: block;
    text-decoration: none;
    font-size: 1.2em;
    line-height: 36px;
    padding-right: 50px;
    padding-left: 50px;
    width: 80px;
    text-align: center;
    color: black;
    background-color: #F5F5F5;
    cursor: pointer;
}

nav a:hover {
    background-color: #E8E8E8;
}

.text-container {
    border: 1px solid #A9B7C0;
    border-radius: 12px;
    width: 80%;
    height: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 2%;
    padding-right: 2%;
    overflow: hidden;
    background-color: #F5F5F5;
}

.secao_proposta {
    display: inline-block;
    text-decoration: underline;
    padding-bottom: 7px;
}

@media screen and (max-width: 750px) {
    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.1em;
    }

    h3 {
        font-size: 0.9em;
    }

    p, .tg td, .tg th {
        font-size: 0.8em;
    }

    nav {
        width: 80%;
    }

    nav ul {
        text-align: center;
    }

    nav a {
        padding-left: 4px;
        padding-right: 4px;
        margin-top: 2px;
        margin-bottom: 2px;
        font-size: 0.8em;
        width: 65px;

    }
}

@media screen and (min-width: 350px) and (max-width: 400px) {
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }

    p, .tg td, .tg th {
        font-size: 0.9em;
    }

    nav a {
        width: 120px;
        font-size: 0.9em;
    }
}

@media screen and (min-width: 401px) and (max-width: 500px) {
    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1.1em;
    }

    p, .tg td, .tg th {
        font-size: 1em;
    }

    nav a {
        width: 140px;
        font-size: 1em;
    }
}

@media screen and (min-width: 501px) and (max-width: 600px) {
    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    p, .tg td, .tg th {
        font-size: 1.1em;
    }

    nav a {
        width: 180px;
        font-size: 1.1em;
    }
}

@media screen and (min-width: 601px) and (max-width: 750px) {
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.3em;
    }

    p, .tg td, .tg th {
        font-size: 1.2em;
    }

    nav {
        width: auto;
    }

    nav a {
        width: 80px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1em;
    }
}

@media screen and (min-width: 751px) and (max-width: 945px) {

    nav ul {
        text-align: center;
    }

    nav a {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 1.1em;
    }
}


/* Table code generated by http://www.tablesgenerator.com/html_tables/  */
/* and slightly modified by me.                                         */

.tg {
    /*border-collapse: collapse;*/
    border-spacing: 0;
    margin: 0px auto;
}

.tg td {
    font-family: Helvetica;
    padding: 10px 5px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    word-break: normal;
}

.tg th {
    font-family: Helvetica;
    font-weight: normal;
    padding: 10px 5px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    word-break: normal;
}

.tg .tg-baqh {
    text-align: center;
    vertical-align: middle;
}

.tg .tg-yw4l {
    vertical-align: top;
}

.tg tr:nth-child(2) td, .tg tr:nth-child(3) td, .tg tr:nth-child(4) td{
    border-top: none;
}

.tg tr th:not(.primeiro), .tg tr td:not(.primeiro) {
    border-left: none;
}

.tg tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

.tg tr:first-child th:last-child {
    border-top-right-radius: 5px;
}

.tg tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

.tg tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

@media screen and (max-width: 767px) {
    .tg {
        width: auto !important;
    }

    .tg col {
        width: auto !important;
    }

    .tg-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: auto 0px;
    }
}
