html,
body {
    height: 100%;
}

html {
    font-size: 10px;
    -webkit-tap-highlight-color: transparent
}

@font-face {
    font-family: "Roboto";
    src: url("../../fonts/mpg/Roboto-Regular.ttf")
}

body {
    font-family: 'Roboto', Arial, Helevtica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}

#main {
    background-color: #fff;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    float: left;
    padding: .5em;
}

footer ul li:last-child {
    padding-right: 0;
}

#footer-info-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

*:focus {
    outline-style: solid;
    outline-color: #00adee;
    outline-width: 2px;
}

.error {
    border-left: 3px solid #ff0000;
    background: #ffeeee;
    padding-left: 1em;
    padding-right: 1em;
}

.btn {
    border-radius: 0px;
}

.form-control {
    border-radius: 0px;
}

.ccontainer {
    width: 100%;
    /*
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.15);
    */
    margin-top: 5%;
    padding-bottom: 1px;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}

.content {
    background-color: rgba(255, 255, 255, .7);
    padding: 1.5em;
    margin: 0 5%;
}

.boxTitle {
    color: white;
    padding: 10px 0 10px 20px;
    font-size: larger;
    font-weight: bold;
}

.mpg-highlight-aai {
    background-color: #066;
}

.mpg-highlight-collab {
    background-color: rgb(239, 124, 0);
}
.mpg-highlight-text-collab {
    color: rgb(239, 124, 0);
}

.mpg-highlight-gwdg {
    background-color: rgb(41, 72, 93);
}
.mpg-highlight-text-gwdg {
    color: rgb(41, 72, 93);
}

.userpass-label {
    font-weight: normal;
    color: grey;
    font-size: large
}
.userpass-input {
    width: 81%;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
    .ccontainer {
        width: 100%;
    }

    .content {
        padding: 1em;
    }

    .navbar-text {
        font-size: 100%;
    }

    #footer-info-row {
        flex-direction: column;
    }

    #main {
        min-height: calc(100vh - 287px);
    }

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
    .ccontainer {
        width: 480px;
    }

    .content {
        padding: 1em;
        margin: 0;
    }

    .navbar-text {
        font-size: 100%;
    }

    #footer-info-row {
        flex-direction: column;
    }

    #main {
        min-height: calc(100vh - 287px);
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .ccontainer {
        width: 720px;
    }

    .content {
        padding: 0.5em 1.5em 1em 1.5em;
        margin: 0;
    }

    .navbar-text {
        font-size: 120%;
    }

    #footer-info-row {
        flex-direction: row;
    }

    #main {
        min-height: calc(100vh - 287px);
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .ccontainer {
        width: 720px;
    }

    .content {
        padding: 0.5em 1.5em 1em 1.5em;
        margin: 0;
    }

    .navbar-text {
        font-size: 150%;
    }

    #footer-info-row {
        flex-direction: row;
    }

    #main {
        min-height: calc(100vh - 287px);
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .ccontainer {
        width: 720px;
    }

    .content {
        padding: 0.5em 1.5em 1em 1.5em;
        margin: 0;
    }

    .navbar-text {
        font-size: 180%;
    }

    #footer-info-row {
        flex-direction: row;
    }

    #main {
        min-height: calc(100vh - 287px);
    }
}

/*
.logo {
    background: url('https://sso.gwdg.de/simplesaml/module.php/gwdg/images/gwdg/gwdg_logo.svg') no-repeat;
    background-size: contain;
    height: 70px;
    margin-bottom: 1em;
}
*/

/*.btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: #c8d2d7;
}*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.btn {
    font-family: inherit;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%;
}

.bootstrap-select.btn-group .dropdown-menu {
    max-width: 100%;
}

.ccontainer footer {
    margin-top: 1em;
    font-size: 80%;
}

#language-switch {
    max-width: 90px;
}

#nav-footer {
    float: right;
    margin-right: 15px;
}

.navbar-text {
    color: #066;
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: #455760;
}

#registerlink {
    font-size: 105%;
    color: #337ab7;
}

h1>small {
    font-size: 60%;
    display: block;
    font-weight: normal;
}

fieldset {
    border: none;
    margin: 10px 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input,
select,
button {
    width: 100%;
    padding: 0.6em;
    box-sizing: border-box;
}

select {
    margin-top: 5px;
    padding: 0 20px 0 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-color: #c8d2d7;
}

footer select {
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-size: 1.8em;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: 0.2em;
    width: 120%;
    padding: .5em .5em .5em 0;
}

.infotext {
    padding: 1.5em 2em 1.5em 2em;
    margin: 0 2em 2em 2em;
    font-size: 82%;
    line-height: 1.3;
}

.landingpage-spacer {
    display: block;
    margin-bottom: 10px;
}

#landingpage-text {
    line-height: 1.2;
}

#landingpage-text>a {
    text-decoration: underline;
    color: #066;
}

form#gwdg_consent_no {
    margin-top: 10px;
}
