body {
    background: #04334D;
    color: #444446;
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
}

#logo {
    max-width: 300px;
    max-height: 96px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
}

h1, .h1-style {
    font-size: 30px;
    margin: 0 0 0.5rem;
    color: #000;
    font-weight: bold;
}

h2, .h2-style {
    font-size: 20px;
    margin: 0 0 0.5rem;
    color: #000;
    font-weight: bold;
}

h3, .h3-style {
    font-size: 18px;
    margin: 0 0 0.5rem;
    color: #000;
    font-weight: bold;
}

.container {
    height:100%;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.panel {
    display: block;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    border: none;
    box-shadow: 6px 6px 16px 0 rgba(0, 0, 0, 0.25);
}

@media screen and (min-width: 768px) {
    .panel {
        padding: 40px;
    }
}

.panel-heading {
    background-color: #fff;
    padding: 0;
    transition: background-color 0.3s ease-in-out;
}

.panel-heading a h2 {
    margin-bottom: 0;
}

.panel-heading a svg {
    width: 20px;
}

.panel-heading a {
    text-decoration: none;
}

.panel-heading a[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.panel-heading-toggle:hover {
    background-color: #e2e2e2 !important;
}

.panel-heading-toggle:hover h2 {
    text-decoration: none;
}

.panel-results {
    padding: 0;
    outline-width: 5px;
    outline-color: transparent;
    outline-style: solid;
    overflow: hidden;
}

.panel-results .panel-heading {
    background-color: #fff;
    color: #fff;
    padding: 20px;
}

.panel-results .inline-heading {
    margin-left: -20px;
    margin-right: -20px;
    padding: 16px 20px;
    background: #065074;
    margin-bottom: 1rem;
}

.panel-results .inline-heading h3 {
    margin-bottom: 0;
    color: #fff;
}

.panel-results .panel-collapse .panel-body {
    padding: 0 20px 20px 20px;
}

.resultbox2 .panel-results .panel-collapse .panel-body {
    padding-top: 20px;
}

@media screen and (min-width: 768px) {
    .panel-results .panel-heading {
        padding: 20px 40px;
    }

    .panel-results .inline-heading {
        margin-left: -40px;
        margin-right: -40px;
        padding: 16px 40px;
    }

    .panel-results .panel-collapse .panel-body {
        padding: 0 40px 40px 40px;
    }
}

.dimensions-container {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
    background-color: #F2F2F2;
}

@media screen and (min-width: 768px) {
    .dimensions-container {
        margin-left: -40px;
        margin-right: -40px;
        padding: 40px;
    }
}

.dimensions-container--dark {
    background-color: #e4e4e4;
}

.dimensions-container h3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: bold;
}

.dimensions-container h3 svg {
    height: 20px;
    margin-right: 0.5rem;
}

.dimensions-container .channelimage {
    width: 250px;
    border-radius: 5px;
    border: 2px solid #000;
}

.dimensions-container #dit2 {
    opacity: 0.2;
}

.dimensions-container .channelimage:hover {
    opacity: 0.8;
    cursor: pointer;
}

.form-control {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border: 2px solid #04334d;
    border-radius: 5px;
    min-height: 50px;
}

/* Buttons */

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    padding: 16px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 50px;
    cursor: pointer;
    border: none;
    color: #fff;
    border-radius: 30px;
    background-color: #0090D4;
}

.btn-primary:hover {
    background-color: #00608d;
    color: #fff;
    border: none;
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    padding: 16px 30px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 50px;
    cursor: pointer;
    border: none;
    color: #fff;
    border-radius: 30px;
    background-color: #000000;
}

.btn-secondary:hover {
    background-color: #202020;
    color: #fff;
    border: none;
}

.btn-sm {
    height: 32px;
}

.btn-wider {
    min-width: 120px;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .btn-wider {
        width: auto;
    }
}

.btnnarrow {
    height: 22px;
    padding: 0.1rem 1rem;
    background: #000;
    border: none;
    border-radius: 30px;
}

.btnnarrow:hover,
.btnnarrow:focus,
.btnnarrow:active,
.btnnarrow:active:focus {
    background: #202020;
    color: #fff;
}

/* Modals */
.modal .modal-header {
    padding: 20px 20px 0 20px;
    border: none;
}

.modal .modal-body {
    padding: 20px;
}

.modal button.close {
    opacity: 1;
}

.modal button.close svg {
    width: 20px;
}

.modal button.close svg path {
    stroke: #000;;
}

@media screen and (min-width: 768px) {
    .modal .modal-header {
        padding: 20px 40px 0 40px;
        border: none;
    }

    .modal .modal-body {
        padding: 40px;
    }
}

/* Channel diagram */
.channeldiag {
    overflow: hidden;
    border: 1px solid #e2e2e2;
    padding: 1rem;
    width: 327px;
    border-radius: 5px;
}

.invertbox {
    height: 100px;
    width: 100px;
    float: left;
    margin-top: 10px;
    border-bottom: 3px solid #4357b7;
}

.ditchimg {
	float: left;
	padding-top: 10px;
}

#ditchdiagrambox {
    display: table;
    margin: 0 auto;
}

.channeldiag #ccleft {
    width: 100px;
}

.channeldiag #ccright {
    width: 100px;
}


#layersimage1,
#layersimage2,
#layersimage3 {
    display: table;
    margin: 0 auto;
    opacity: 0.2;
    border-radius: 5px;
    margin-top: 5px;
    width: 260px;
}

.longitude-image-container {
    padding: 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .longitude-image-container {
        flex-direction: row;
    }
}

/* Tables */
.table tr td {
    color: #444446;
}

.table .greyout{
    color: #aaaaaa;
}

.table .blueletters {
    color: #0090D4;
    font-weight: bold;
}

.dividerborder {
    border-top: 5px solid #ddd;
}

.footer {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
    color: #FFF;
    font-weight: bold;
}