/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    font-family:Verdana, Geneva, sans-serif;
    margin: 0;
    padding: 0;
    background-color:#0B243B;
    color: #0B243B;
}

/* Hier steht alles zu den Schriften*/

h1{
    font-size:1.8em;
    color:rgba(102,153,255,1);
}
h2{
    font-size:1.6em;
    color:rgba(153,102,0,1);
}
h3{
    margin-bottom: 2px;
}
h3, label{
    font-size: 1.3em;
}
p{
    font-size:16px;
}

a{
    text-decoration: none;
}
.center{
    text-align:center;
}

/*Hier steht alles zu Kästen*/

header{
    padding: 1%;
    background-color:#FFF;
    border-bottom: 4px solid black;
    display: flex;
    justify-content: flex-start;
}
.navihalter{
    margin-left: 30px;
}

#nav_icon{
    margin-top: 10px;
    margin-bottom: 10px;
}

.nav_icon{
    font-size: 1.4em;
    font-weight: bold;
    color: #6699FFFF;
    border-bottom: 4px solid black;
}

section{
    display:block;
    padding:1%;
}

.flex{
    display: block;
}

.jc-c{
    justify-content: center;
}

article{
    background-color:white;
    margin: 20px 2%;
    border-radius: 14px;
    padding: 4%;
}
.Einsp{
    width: 88%;
}

.Zwsp{
    width: 88%;
}
.Drsp{
    width: 88%;
}
.Vsp{
    width: 88%;
}
.line{
    border-right: 2px solid rgba(153,102,0,1);
    text-align: center;
}

.back-to-top{
    width:40px;
    height: 40px;
    background-color: black;
    border-radius: 5px;
    position:fixed;
    bottom: 10px;
    right: 10px;
    z-index:10;
    padding: 5px;
    color:white;
}

footer{
    background-color: rgba(102,153,255,1);
    padding: 2%;
}

img{
    width:100%;
}

.logo{
    width:120px;
}

.uhr{
    background-image: linear-gradient(45deg, #c9a547, #d2cc9f, #b49d70);
    width:300px;
    height:300px;
    border-radius:150px;
    border:10px solid #888585;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav_menue{
    display: none;
}

nav ul {
    list-style-type: none;
}

nav ul li{
    margin-bottom: 5px;
}

nav ul li a{
    font-size: 18px;
    color: black;
    text-decoration:none;
}
.active {
    color: #690;
}

.termin, .kopfleiste, .inhalt{
    width: 97.6%;
    margin-right:2%;
    text-align:center;
    padding:0.2%;
    border-radius: 5px;
}
.termin{
    /*color:rgba(153,102,0,1);
    text-align:left;*/
}
.kopfleiste{
    background-color: rgba(153,102,0,1);
    color:#fff;
}
.inhalt{
    background-color:rgba(102,153,255,1);
    color:#fff;
}

label{
    margin-bottom: 5px;
    font-weight: bold;
}

input, select{
    width:100%;
    padding: 10px 0;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #BDBDBD;
}

select{
    display:block;
}

/* [type="submit"]{
    background-color: rgba(153,102,0,1);
    color:#fff;
    border: 0px solid #fff;
    padding: 4%;
    font-size: 1.4em;
}*/





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 55em) {
    /*Hier steht alles zu Kästen*/


    section{
        display:flex;
        flex-wrap: wrap;
        padding: 2% 1%;
    }

    nav{
        display:flex;
    }
    .flex{
        display:flex;
        flex-wrap: wrap;
        padding-right: 5px;
    }
    .Einsp{
        width: 88%;
    }
    .Zwsp{
        width: 38%;
    }
    .Drsp{
        width: 21%;
    }
    .Vsp{
        width: 13%;
    }

    .login{
        min-width: 500px;
    }

    /*Hier steht alles für die Navigation drin*/

}

@media only screen and (min-width: 95em) {

    section{
        padding: 20px 15%;
    }
    #ohne{
        padding: 20px 1%;
    }

}

