* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: white;
    font-family: 'Open Sans',arial,sans-serif;
}

table {
    width: 90%;
    border-collapse: collapse;
    font-family: 'Open Sans',sans-serif;
    font-size: 0.9em;
}

td {
    border: 1px solid #c7d6e4;
    padding: 10px;
}

li {
    list-style: url(li.png);
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    font-size: 0.8em;
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
    background-color: #193fa3;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 5px;
}

a.button:hover {
    background-color: #399df5;
    transition: background-color 0.2s;
}

.header {
    display: flex;
    flex-wrap: wrap;
    height: 80px;
    width: 100%;
    background: #193fa3;
}

.header .logo {
    flex: 40%;
}

.header .logo img {
    width: 250px;
    height: 80px;
    object-fit: contain;
}

.header .title {
    display: flex;
    margin: 5px;
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 1.2em;
    font-weight: bold;
    color: #399df5;
    font-family: 'Georgia',serif;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: calc(100% - 80px - 120px);
    background: white;
}

.quote {
    padding: 0px 5px 0px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 50px;
    font-weight: bold;
    background: #eef6f9;
    margin-bottom: 10px;
}

.quote .links {
    flex: 33.33%;
    text-align: left;
}

.quote .company {
    flex: 33.33%;
    text-align: center;
}

.quote .ip {
    flex: 33.33%;
    text-align: right;
}

.clear {
    flex: none;
}

.hidden {
    width: 0px;
    height: 0px;
    display: none;
}

.token {
    border: 0px;
    color: white;
    padding: 0px;
    cursor: pointer
}

.programs {
    flex-direction: column;
    min-width: 600px;
}

.query {
    flex-direction: column;
}

@media only screen and (max-width: 340px) {

    .header .title {
        display: none;
    }
}

@media only screen and (max-width: 600px) {

    td {
        font-size: 0.8em;
    }

    .header {
        height: 64px;
    }

    .header .logo img {
        padding: 6px;
        width: 180px;
        height: 58px;
        object-fit: contain;
    }

    .header .title {
        font-size: 0.8em;
    }

    .quote {
        font-size: 0.8em;
    }

    .quote .links {
        flex: 50%;
        text-align: left;
    }

    .quote .company {
        flex: 50%;
        text-align: center;
    }

    .quote .ip {
        flex: 0%;
        display: none;
        text-align: right;
    }

    .content {
        min-height: calc(100% - 64px - 120px);
    }

    .no-mobile {
        width: 0px;
        height: 0px;
        display: none;
    }

    .programs {
        min-width: 90%;
    }
}

@media only screen and (min-width: 601px) {

    .no-desktop {
        width: 0px;
        height: 0px;
        display: none;
    }
}

form input[type = "submit"] {
    /*padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;*/
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #193fa3;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 5px;
}

form input[type = "submit"]:hover {
    background-color: #399df5;
    transition: background-color 0.2s;
}

input[type = "button"] {
    /*padding: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;*/
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #193fa3;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 5px;
}

input[type="button"]:hover {
    background-color: #399df5;
    transition: background-color 0.2s;
}

.pdf input[type="file"] {
    display: none;
}

label {
    cursor: pointer;
}

#pdfName {
color: green;
}

#footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    height: 50px;
    width: 100%;
    font-size: 0.8em;
    color: #43bcf1;
    background: #193fa3;
}

#footer a {
    color: #acacac;
    text-decoration: none;
}

#footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#footer a:focus {
    color: #fff;
    text-decoration: underline;
}

#footer a:active {
    color: #fff;
    text-decoration: underline;
}
