body {
	font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Merriweather', serif;
}

h2 {
	margin-top: 30px;
}

h3 {
	margin-top: 20px;
}

h4 {
	margin-top: 15px;
	margin-bottom: 5px;
}

@media only screen and (max-width: 768px) {
    /* For tablets */

    .content {
        min-height: calc(100vh - 124px);
    }

    h1.page-title { font-size: 1.4rem; }
    h2.page-subtitle {
        font-size: 1.0rem;
        margin-bottom: 0px;
    }

    h2.subtitle { font-size: 1.0 rem; }

    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1.0rem; }

    footer {
        height: 72px;
        padding-top: 3px;
        margin-top: 5px;
        font-size: 0.8rem;
    }

    footer p {
        line-height: 1.1rem;
        margin-bottom: 5px;
    }
}

@media only screen and (min-width: 768px) {
    /* For desktop */

    .content {
        min-height: calc(100vh - 178px);
    }

    h1.page-title { font-size: 2rem; }
    h2.page-subtitle { font-size: 1.3rem; }
    h2.subtitle {
        font-size: 1.4 rem;
        margin-bottom: 15px;
    }

    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.15rem; }

    footer {
        height: 115px;
        padding-top: 10px;
        margin-top: 15px;
    }

    footer p {
        line-height:1.5;
    }
}

h1.page-title {
    font-weight: 900;
    margin-bottom: 0px;
}

h2.page-subtitle {
    font-style: italic;
    font-weight: 400;
    color: #888888;
    margin-top: 2px;
}

h2.subtitle {
    color: #888888;
    font-style: italic;
}

h3.subtitle {
    margin-top: 0px;
    color: #999999;
    font-size: 1.2em;
    font-style: italic;
}

.navbar {
    padding: 0px;
}

.nav-item, a.navbar-brand {
    line-height:1.75;
}

.nav-item:hover, .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-dark .navbar-nav .nav-link, .navbar-dark .dropdown-menu .dropdown-item {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .dropdown-menu .dropdown-item:hover {
    color: #ffffff;
}

.bg-dark, .navbar-dark .dropdown-menu {
    background-color: #0c5371 !important;
    margin-top: 0px;
    border-radius: 0px;
    border: 1px solid #0c5371;
}

div.flashed-messages {
    margin-bottom:1.5rem;
}

footer {
    background-color: #0c5371;
    color: #ffffff;
}
footer a {
	color: #ffffff;
}

footer a:hover {
	color: #ddeeff;
}

table.table-header-sticky thead, table.table-header-sticky th {
    position: sticky;
    top: 47px;
    background-color: #ebebeb;
    z-index: 1000;
}

.card {
	border: 1px solid #266782;
	border-radius:4px;
	transition: box-shadow 0.5s;
}

.card-light {
    border: 1px solid #dddddd;
}

.card-header {
    color: #ffffff;
	background-color: #266782;
}

.card-header-light {
    color: #000000;
	background-color: #f2f2f2;
}

.card-header a {
    color: #ffffff;
}

.card-header-light a {
    color: #000000;
}

.form-label {
    font-size:0.95rem;
    font-weight:900;
    margin-bottom:0.1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

a, .nav-link {
    color: #1b5faa;
}

a:hover, .nav-link:hover {
    color: #348bac;
}

.btn-primary {
    background-color: #1b5faa;
    border-color: #1b5faa;
}

.vertical-centered td {
    vertical-align: middle;
}

#overlay_noChrome {
    font-size:1.5em;
    text-align:center;
    vertical-align:middle;
    position:fixed;
    display:none;
    width:100%;
    height:100%;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    background-color:rgba(240, 240, 240, 0.85);
    z-index:999;
    padding-top:20%;
    padding-left:5%;
    padding-right:5%;
}

#progress_downloadData {
    display:none;
}

#progress_downloadData_in {
    transition-duration:1s;
    transition-timing-function:linear;
}

.progress {
    margin-bottom:0px;
}

.alert {
    padding:4px 8px;
    margin:0px;
}

.alert-beta {
  background-color:#e6e6e6;
  color:#313131;
  border-color: #cccccc;
}

#wait_msg {
	visibility:hidden;
	background-color:rgba(80, 80, 80, 0.5);
	position:fixed;
	top:0;
	left:0;
	padding:0;
	height:100%;
	width:100%;
	z-index:999;
}

div.message {
	visibility:inherit;
	z-index:99;
	background-color:#aade87;
	border:2px solid #009900;
	position:relative;
	top:50%;
	margin-left:10%;
	margin-right:10%;
	padding:10px;
	font-size:1.5em;
	text-align:center;
}

.table_subtext { font-size: smaller; }
.table_left_side { color: #ff6600;}
.table_right_side { color: #0033ff;}

table.text-centered{
    text-align:center;
}

table.sticky-header {
    position:relative;

}

th.sticky-header {
    position:sticky;
    top:0px;
    background-color:#ffffff;
}

.error_description {
    font-size:1.25em;
    font-style:italic;
}
#video {
    max-width:100%;
}
#chart {
    bottom:60px;
    left:-1px;
}
#controls {
    position:relative;
}
#pause {
    display:none;
}
#play-stop {
    text-align:center;
}
.btn-video {
    font-size:1rem;
    padding:0px 6px;
}
#seek-container {
    position:relative;
}
#video_container {
    position:relative;
    min-width:400px;
    max-width:800px;
}
#start-time {
    position:absolute;
    top:-7px;
    font-size:0.75em;
    color:#555555;
}
#stop-time {
    position:absolute;
    top:-7px;
    right:0px;
    font-size:0.75em;
    color:#555555;
}
#current-time {
    position:absolute;
    top:18px;
    font-size:0.75em;
    color:#555555;
}

.dropzone {
    border:1px solid #ccc;
    border-radius:4px;
    background-color:#fff;
    box-shadow:inset 0 1px 1px rgb(0 0 0 / 8%);
    transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

@media screen {
    .footer-print-only {
        display: none;
    }

    .header-print-only {
        display: none;
    }
}

@media print {
    html, body {
        /* width: 210mm;
        height: 297mm; */
        font-size: 9pt;
    }

    html.landscape, body.landscape {
        /* width: 297mm;
        height: 210mm; */
        font-size: 9pt;
    }

    .navbar {
        display: none;
    }

    .header-print-only {
        position: fixed;
        top: 0mm;
        width: 100%;
    }

    .footer-print-only {
        position: fixed;
        bottom: 0mm;
        width: 100%;
    }
    /*
    body.landscape .header-print-only, body.landscape .footer-print-only {
        width: 275mm;
    }
    */
    div.content {
        padding: 20mm 0mm 0mm 0mm;
        margin: 0mm 0mm 0mm 0mm;
    }

    h1 {
        font-size: 13pt;
        margin-top: 0mm;
    }
    h2 {
        font-size: 12pt;
        margin-top: 2cm;
    }
    h3, h4 {
        font-size: 11pt;
        padding-top: 2cm;
    }
    h5, h6 {
        font-size: 10pt;
    }
}

@page {
    size: A4;
    margin: 11mm 11mm 11mm 11mm;
}