﻿/*-----------------------
global
-----------------------*/
body {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: #000;
}
main {
    flex-grow: 1;
}
.wrapper {
    padding-bottom: 2em;
}
abbr[title] {
    text-decoration: none;
    border-bottom: none;
}
.max-container {
    max-width: 1920px;
}
#intro {
    padding: 2em;
}
.btn-primary {
    background-color: #3d679a;
    border-color: #3d679a;
}
.btn-primary:hover {
    background-color: #4779b4;
    border-color: #4779b4;
}
.btn-secondary {
    border-color: #3d679a;
    background-color: #fff;
    color: #3d679a;
}
.btn-secondary:hover {
    border-color: #4779b4;
    background-color: #4779b4;
    color: #fff;
}
.form-text {
    font-size: 16px;
}
footer div {
    padding: 1em 0;
    text-align: center;
    color: #fff;
    background-color: #3a7940;
}
footer a,
footer a:visited {
    color: #fff;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}
/*-----------------------
header
-----------------------*/
header {
    background-color: #3a7940;
    text-align: center;
    padding: 1em 0;
}

header img {
    width: auto;
    height: 72px;
    margin: 0 auto 1em auto;
    display: block;
}

h1#title {
    font-size: 30px;
    letter-spacing: 0rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    font-family: "Metropolis Black", "Arial Black", "Helvetica Neue", Helvetica, sans-serif;
}

/*-----------------------
tables
-----------------------*/
#Table1 {
    margin-bottom: 1em;
}
table {
    width: 100%;
    border-collapse: collapse;
    caption-side: top !important;
}

caption {
    text-align: center !important;
    font-size: 1.5em !important;
    color: #000 !important;
    text-transform: uppercase;
    font-weight: bold;
}

table th {
    text-align: center;
}

table td {
    text-align: right;
}

#xLmpSumRow td {
    border: 0;
    font-weight: bold;
    padding: 4px;
    background-color: #f8f9fa;
}

#PanelInputs {
    padding: 2em 1em 0 1em
}
#PanelEstimates {
    margin-top: 1em;
}

/*-----------------------
data form
-----------------------*/
.data-form {
    max-width: 70em;
}

.data-form .col-form-label {
    display: block;
}

.data-form .form-text {
    margin-bottom: 1em;
}

.actions {
    margin: 2em 0;
    display: flex;
    justify-content: center;
}

.actions .btn:first-child {
    margin-right: 1em;
}
.err {
    color: #d23058;
}

/*-----------------------
CSS rules for viewports 768px and wider
-----------------------*/
@media (min-width: 768px) {
    header {
        text-align: left;
    }
}
@media (min-width: 990px) {
    .enter-val-data .form-row .enter-vals {
        margin-bottom: 0;
    }
    header img {
        margin: 0;
    }
    .max-logo {
        max-width: 175px;
    }
    .data-form .col-form-label {
        text-align: right;
    }
    .data-form .form-text {
        margin-bottom: 0;
    }
}