/*

scsw-blue: #006BC3
nav-border-gray: #bcccdd

*/

html,
body {
    background-image: url(../images/backgroundimg.jpg);
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: auto\9;
    background-repeat: repeat\9;
    background-position: left top\9;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

ul {
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 40px;
}

.visible {
    visibility: hidden;
}

.rwd-break {
    display: none;
}

.container-bg {
    padding-top: 5px;
    background: hsla(0, 0%, 100%, 0.86);
}

.alert {
    text-align: center;
}

.radius-lg {
    border-radius: 5px;
}

.dial-bg {
    background-image: url("../images/dial_bg.png");
    background-repeat: no-repeat;
    background-position: center;
}

.img-center {
    text-align: center;
}

.img-fluid {
    display: inline;
}

.img-group img {
    margin-bottom: 5px;
}

.img-group img:nth-last-child(2) {
    margin-bottom: 0;
}

.btn-primary {
    border: 1px solid #ffffff;
    background-color: transparent;
}

.table {
    margin-bottom: 0;
}

.table-striped {
    background-color: #d2d2d2;
}

header,
.container {
    max-width: 980px;
}

menu {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-padding-start: 0;
}

.month-panel,
.year-panel,
.anchor-panel {
    padding: 0;
}

.img-full {
    margin-bottom: 10px;
    background-color: white;
}

/*

        header

    */

header {
    margin: auto;
}

#header-content {
    margin-left: 220px;
    font-weight: bold;
    color: white;
}

header h1 {
    font-size: 20px;
}

header p {
    font-size: 16px;
}

/*

navigation

*/

nav,
.m-header {
    position: relative;
    height: 58px;
    background-color: #006BC3;
}

nav h1,
.main-title {
    width: 100%;
    padding: 10px;
    text-align: center;
    color: #ffffff;
}

.nav-btn {
    height: 36px;
}

.navbar-toggler {
    font-size: 30px;
    color: #ffffff;
}

.navbar {
    position: absolute;
    top: 2px;
    right: 0;
    width: 190px;
    padding: 0;
    z-index: 9;
    font-variant: small-caps;
}

.navbar-header {
    width: 100%;
    text-align: right;
}

nav ul {
    width: 100%;
    -webkit-margin-before: 10px;
    font-size: 18px;
    background-color: #bcccdd;
}

nav ul a:focus,
nav ul a:hover {
    color: #000000;
    background-color: #FFFFFF;
}

nav ul,
nav li {
    padding: 0;
    border: 0;
    list-style: none;
}

nav li:nth-child(2) {
    margin-bottom: 10px;
}

nav ul,
nav a {
    border-radius: 2px;
}

nav ul a {
    display: block;
    margin: 2px;
    padding: 5px;
    border: 1px solid #bcccdd;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #006BC3;
}

nav section {
    width: 100%;
}

section p {
    font-size: 14px;
    font-weight: bold;
}

/*

    main contain

*/

main {
    padding-bottom: 15px;
}

#weather hr {
    border-color: #006bc3;
    border-top: 2px solid #006bc3;
}

#weather .temp-table-content td {
    padding: 7px 5px;
}

main article {
    /*flex-basis:50%;*/
    /*order:1;*/
    padding: 5px;
}

/*
    Carousel
*/

.carousel {
    min-height: 295px;
}

.carousel-item {
    height: 240px;
    padding-top: 10px;
    text-align: center;
}

.carousel-item-container {
    margin: auto;
}

.carousel-indicators {
    bottom: -10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #006bc3;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    color: #000000;
}

.carousel-indicators li {
    margin-right: 5px;
    margin-left: 5px;
}

.carousel-indicators li,
.carousel-indicators .active {
    height: 100%;
    background-color: transparent;
}

.carousel-indicators .active {
    color: #006BC3;
}

.carousel-item-container {
    width: 100%;
}

.carousel-indicators-item-container {
    text-indent: 4px;
    height: 30px;
}

#temp-day {
    padding-left: 5px;
    padding-right: 10px;
}

/*
    Date button list
*/

.panel {
    margin: 2px 2px;
    padding: 4px;
    background-color: #006BC3;
}

.btn-list {
    padding: 2px;
    text-align: center;
}

.btn-list button {
    background-color: #006BC3;
    width: 105px;
}

.panel a {
    width: 7.891%;
}

.panel .btn {
    padding: 0.5rem 0rem;
}

/*
    Weather card
*/

.card {
    margin-bottom: 5px;
}

.card-deck-wrapper {
    padding-top: 15px;
    margin: 0;
}

.card-header,
.card-img {
    font-weight: bold;
    color: #FFFFFF;
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background-color: #006BC3;
}

.card-img {
    padding: 3px;
    text-align: center;
}

.card-img img {
    background-color: #FFFFFF;
}

.card-img-top {
    width: auto;
}

.card-block {
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* Sponsors*/

@-o-keyframes fadeIt {
    10% {
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeIt {
    10% {
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
}

@-moz-keyframes fadeIt {
    10% {
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
}

@keyframes fadeIt {
    10% {
        opacity: 0;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0;
    }
}

.fade-container {
    position: relative;
}

.fade-container a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.fade-in {
    -o-animation: fadeIt 7s ease-in;
    -webkit-animation: fadeIt 7s ease-in;
    -moz-animation: fadeIt 7s ease-in;
    animation: fadeIt 7s ease-in;
}

#sponsors {
    height: 190px;
}

/* wetter.html*/

.home-webcam-img {
    width: 100%;
}

.home-panel-img {
    width: 43%;
}

.date-title {
    margin: 2px 0;
    padding: 5px;
    text-align: center;
    color: white;
    background-color: #006BC3;
}

#temp-table {
    font-size: 11px;
}

#temp-table td {
    padding: 5px;
}

#rss {
    display: none;
}

.rss-container {
    margin-top: 5px;
    padding: 2px 5px;
    overflow: hidden;
    border: 1px solid #d6d8da;
    border-radius: 10px;
    font-size: 15px;
    background-color: #dee2e6ba;
}

#rss .run-text {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: runText 15s linear infinite;
    -webkit-animation: runText 15s linear infinite;
    animation: runText 15s linear infinite;
}

@-moz-keyframes runText {
    0% {
        -moz-transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes runText {
    0% {
        -webkit-transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes runText {
    0% {
        -moz-transform: translateX(100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(100%);
        /* Firefox bug fix */
        transform: translateX(100%);
    }
    100% {
        -moz-transform: translateX(-100%);
        /* Firefox bug fix */
        -webkit-transform: translateX(-100%);
        /* Firefox bug fix */
        transform: translateX(-100%);
    }
}

.forecast-container {
    margin-bottom: 18px;
}

#forecast-image {
    text-align: right;
    width: 58%;
}

/* webcam.html*/

.webcam-img-container {
    text-align: center;
}

.time-panel .panel a {
    width: 9.357%;
}

#archiv-link {
    display: none;
    margin: 0;
}

#archiv-link a {
    width: 100%;
}

#buoy-link {
    display: none;
    margin: 0;
}

#buoy-link a {
    width: 100%;
}

/* wissenswertes*/

table tfoot {
    text-align: center;
}

table tfoot a:link {
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
}

table tfoot a .fa {
    font-size: 25px;
}

.anchor-panel .panel a {
    width: 9.579%;
}

/* weatherevents */

#weatherevents article .row {
    padding: 2px;
}

/* sponsoring*/

#sponsoring {
    text-align: center;
    margin-bottom: 30px;
}

#sponsoring img:first-child {
    margin-top: 15px;
}

#device-info .row {
    margin: 10px 0;
}

/* Modal */

.modal-body .row {
    margin: 25px -15px;
}

/*

    footer

*/

footer {
    padding: 10px;
    font-size: 12px;
    color: white;
    background-color: #006BC3;
}

#copyright {
    text-align: center;
}

#runs-with {
    padding: 5px 50px;
}

#runs-with img {
    margin: auto;
}

/* Sroll button
-------------------------------------------------- */

.scroll-to-top {
    display: none;
    position: fixed;
    right: 140px;
    bottom: 75px;
    z-index: 100;
    padding: 0 15px;
    text-align: center;
    font-weight: 500;
}

a.scroll-to-top {
    color: #333;
}

a.scroll-to-top i {
    font-size: 60px;
    margin-top: -10px;
}

a.scroll-to-top p {
    font-size: 20px;
    margin-top: -20px;
    margin-bottom: 5px;
}

@media screen and (min-width: 1001px)
/* Desktop */

    {
    #forecast-image {
        width: 68%;
    }

    #weather .temp-table-content {
        padding-left: 0;
    }
    .scroll-to-top {
        background-color: rgba(235, 235, 235, 0.70);
        border-radius: 45px;
    }
}

@media screen and (max-width: 979px) {
/* Tablet */
    .visible {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .carousel-inner {
        height: 500px;
        padding-top: 0;
    }
}

@media screen and (min-width: 768px) {
    #weather .temp-table-content {
        padding-left: 0;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
        #panel-content {
            width: 1000px;
            overflow: hidden;
        }

        .gaugeSizeStd {
            width: 80px;
            height: 80px;
        }

}

@media screen and (max-width: 1000px)
/* Mobile */

    {
    /* Sroll button
    -------------------------------------------------- */
    a.scroll-to-top {
        display: none;
        bottom: 0;
        left: 0;
        width: 100%;
        color: #ffffff;
        border: 2px solid #ffffff;
        background-color: #006BC3;
        box-shadow: inset -1px 0 33px -1px #004680, 2px -2px 5px 0 #000000;
        -webkit-box-shadow: inset -1px 0 33px -1px #004680, 2px -2px 5px 0 #000000;
        -moz-box-shadow: inset -1px 0 33px -1px #004680, 2px -2px 5px 0 #000000;
        -o-box-shadow: inset -1px 0 33px -1px #004680, 2px -2px 5px 0 #000000;
    }
    a.scrollToTop p {
        display: none;
    }
    footer {
        padding-bottom: 115px;
    }
}

@media screen and (max-width: 540px)
/* Mobile */

    {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 18px;
    }
    h3 {
        font-size: 15px;
    }
    h4 {
        font-size: 13px;
    }
    .rwd-break {
        display: block;
    }
    nav {
        height: 75px;
    }
    nav h1 {
        width: 88%;
    }
    .navbar {
        top: 10px;
    }
    nav ul {
        -webkit-margin-before: 18px;
    }
    .panel .btn {
        padding: 0.5em 0;
        margin: 2px 0;
    }
    .panel a,
    .time-panel .panel a,
    .anchor-panel .panel a {
        width: 100%;
    }
    #weather hr {
        display: none;
    }
    /* wetter.html*/
    #wind-day .col-md-5,
    #wind-week .col-md-5 {
        margin-bottom: 30px;
    }
    #runs-with {
        padding-bottom: 110px;
    }
    #runs-with img {
        padding: 10px 0;
    }
    .img-container {
        text-align: center;
    }
    /* weatherevents*/
    article img {
        margin-bottom: 5px;
    }
    #device-info .row h4 {
        margin-top: 15px;
    }
    footer {
        text-align: center;
        padding-bottom: 0;
    }
}
