/* Miligram overrides */
body {
    font-family: 'Roboto', Arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    background-color: #00247d;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #606060;
}
h1, h2, h3, h4 {
    margin-top: 1.8rem;
    margin-bottom: 1.2rem;
}
h5, h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

p { 
    padding: 0 0 0.6rem 0;
}

a {
    color: #00247d;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
a:hover,
a:focus,
a:active  {
    color: #2365ff;
    -webkit-transition: all 0.2s easeout;
    transition: all 0.2s ease-out;
}
a:hover {
    text-decoration: underline;
}
a:hover.button {
    text-decoration: none;
}

.ul-container {
    padding: 1rem 0 1rem 2rem;
}
ul { 
    list-style: disc outside;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
main {
    background-color: #f0f0f0;
    padding-bottom: 24px;
}
.content {
    background-color: white;
    margin: 0 auto;
    padding: 1rem 2rem 2rem 2rem;
    max-width: 112.0rem;
    position: relative;
    width: 100%;
    box-shadow: 0px 0px 8px 0px lightgrey;
    border-radius: 0.7rem;
}
.actions a {
    font-weight: normal;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Inhalt */
.content-row {
    display: flex;
    flex-wrap: wrap;
}
.content-left-col {
    width: 50%;
    min-width: 296px;
}
.content-right-col {
    width: 50%;
    min-width: 296px;
}

/* Allgemein */
.center {
    text-align: center;
}
.clear {
    clear: both;
    display: block;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}

/* top-nav */
nav {
    background-color: #f0f0f0;
    padding-bottom: 24px;
}
.top-nav-background {
    background-color: white;
    box-shadow: 0px 0px 24px 0px lightgrey;
}
.top-nav-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 112rem;
    padding: 0 2rem;
    margin: 0 auto;
    color: #808080;
}
.top-nav-container a {
    font-weight: bold;
    font-size: 100%;
}
.top-nav-left {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    width: 50%;
}
.top-nav-img {
    width: 320px;
}
.top-nav-right {
    display: flex;
    width: 50%;
    justify-content: right;
    align-items: center;
    padding: 0.5rem;
}
.top-nav-right a {
    padding: 0 0.5rem;
}
.top-nav-right img {
    /*opacity: 0.8;*/
    height: 24px;
    padding-right: 0.3rem;
}
.top-nav-bottom {
    border-top: 2px solid #e0e0e0;
    margin: 0;
}

/* footer */
footer {
    color: #d2d8ff;
}
.footer-seperator {
    border-top: 1px solid #d2d8ff;
    margin: 8px 0;
    width: 100%;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto;
}
.footer-container a {
    color: white;
    font-weight: bold;
    font-size: 95%;
}
.footer-container a:hover {
    color: #d2d8ff;
    text-decoration: underline;
}
.footer-left {
    display: block;
    justify-content: left;
    width: 70%;
    padding: 0.3rem;
}
.footer-right {
    justify-content: center;
    width: 30%;
    padding: 0.3rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-size: 85%;
}
.footer-bottom-container {
    justify-content: left;
    width: 50%;
    padding: 0.3rem;
}

/* Sprachauswahl */
.language-selection {
    display: flex;
    flex-wrap: wrap;
    flex-flow: row;
    justify-content: flex-end;
    width: 100%;
    text-align: right;
}
.language-selection-caption {
    width: 100%;
    padding-bottom: 4px;
}
.language-selection-button {
    display: inline;
    padding: 2px;
}
.language-selection button { 
    background-color: #1048aa;
    border: 0;
}
.language-selection button:hover,
.language-selection button:focus { 
    background-color: #2365ff;
}

/* Kontakt */
.contact-symbol {
    height: 24px;
    vertical-align: middle;
    padding-right: 8px;
    opacity: 0.6;
}
.contact-text {
    vertical-align: middle;
    line-height: 32px;
}

/* Downloads */
.download-left {
    float: left;
    padding: 6px 12px 0 0;
}
.download-left img {
    width: 60px;
}
.download-caption {
    font-size: 100%;
    color: #808080;
    text-transform: uppercase;
}
.download-version {
    font-size: 80%;
    color: #808080;
}
.download-symbol {
    vertical-align: middle;
    padding-right: 4px;
    height: 20px;
}
.download-text a {
    line-height: 20px;
    font-size: 90%;
}

/* Start */
.start-row {
    display: flex;
    flex-wrap: wrap;
}
.start-left-col {
    padding: 0 32px 16px 0;
    margin-bottom: -60px;
}
.start-right-col {
    padding: 0 32px 16px 0px;
    margin-bottom: -60px;
}
.start-seperator {
    border-top: 1px solid #c0c0c0;
    margin-top: 0;
    margin-bottom: 40px;
}
.app-container {
    display: block;
}
.app-container li {
    list-style-type: disc;
    margin: 0;
}
.app-center {
    z-index: 2;
    position: relative;
    top: -60px;
    text-align: center;
}
.app-left {
    position: relative;
    top: -60px;
    text-align: left;
}
.app-screenshot {
    position: relative;
    z-index: 1;
    max-width: 100%;
}
.app-symbol {
    width: 120px;
    box-shadow: 0px 0px 16px black;
    border-radius: 25px;
}
.app-caption {
    color: black;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.app-brief-description {
    font-size: 90%;
    font-weight: bold;
    padding-bottom: 10px;
}
.app-description {
    font-size: 90%;
    font-weight: normal;
    padding-bottom: 10px;
}
.google-badge {
    width: 160px;
}

/* Navigation auf der linken Seite */
.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;
    background: #eff8ff;
    color: #2779bd;
    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 1rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.button.caution {
    background-color: #ce1126;
    border-color: #ce1126;
}

.input.radio,
.input.checkbox {
    margin-bottom: 1.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 1.0rem;
}
.form-submit {
    width: 100%;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}
