html, body {
    height: 100%;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
}

.wrap {
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

@media (min-width: 900px) {
    .wrap {
        min-height: 100%;
    }
}

.wrap > .container {
    padding: 0 15px 20px;
}

.header {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #3851f9 0%, #4381fc 100%);
}

.header::before {
    position: absolute;
    content: '';
    width: 500px;
    height: 500px;
    background: #fff;
    border-radius: 100%;
    opacity: .2;
    right: -82px;
    top: -225px;
}

.header::after {
    position: absolute;
    content: '';
    width: 700px;
    height: 700px;
    background: #fff;
    border-radius: 100%;
    opacity: .1;
    right: -300px;
    top: -500px;
}

.header .logo {
    display: flex;
    height: 60px;
    margin: 20px 0;
    align-items: center;
}

#globus-logo img {
    height: 50px;
}

#celsor-logo img {
    height: 60px;
}

.footer {
    color: white;
    background-color: #040837;
    padding: 20px;
}

.footer * {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.footer .block {
    margin-bottom: 10px;
}

.footer .logo {
    height: 30px;
    margin-bottom: 10px;
}

.footer .copyright {
    padding-left: 10px;
    font-size: 120%;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #3d65fb;
}

.footer .socials {
    display: flex;
    margin-top: 5px;
}

.footer .socials a {
    margin: 0 10px;
}

.footer .socials a:first-child {
    margin-left: 0;
}

.footer .socials svg:hover path {
    fill: #3d65fb;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

h1 {
    font-size: 200%;
    font-weight: 700;
}

@media (min-width: 900px) {
    h1 {
        font-size: 400%;
    }
}

.subtitle {
    font-size: 150%;
    color: #666;
}

.featured {
    font-size: 150%;
}

.result {
    margin: 2em auto 1em;
}

@media (min-width: 900px) {
    .result {
        max-height: 600px;
    }
}

.legend {
    color: #666;
}

.legend .age {
    font-weight: bold;
    color: #f00;
}

.legend .gender-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.legend .gender-box {
    display: inline-block;
    height: 1em;
    width: 2em;
    border-style: solid;
    border-width: 2px;
}

.legend .female {
    border-color: #0f0;
}

.legend .male {
    border-color: #0ab3fe;
}

.file-input * {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.file-input .file-preview {
    border: none;
    padding: 0;
}

.file-input .file-drop-zone, .file-input .file-drop-zone:hover {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.file-input .file-preview-thumbnails, .file-input .file-preview-status:empty {
    display: none;
}

.file-input .file-drop-zone-title, .file-input .file-preview-status:not(:empty), #file-loading {
    padding: 1em;
    font-size: 200%;
    border: none;
    border-radius: 20px;
    color: white;
    background: #3d65fb;
}

.file-input .file-drop-zone-title:hover {
    background: black;
}

.cookie-consent-popup {
    padding: 1em;
    color: white;
    background: #3d65fb;
}

.cookie-consent-popup * {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.cookie-consent-popup button {
    padding: 5px 10px;
    color: #3d65fb;
    background: white;
    border: solid 2px transparent;
    border-radius: 5px;
}

.cookie-consent-popup button:hover {
    color: white;
    background: #3d65fb;
    border: solid 2px white;
}

.cookie-consent-controls-toggle, .cookie-consent-details-toggle, .cookie-consent-save {
    display: none;
}

.social-share {
    margin: 1em 0;
    font-size: 200%;
}

.social-share * {
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

.social-share a {
    padding: 10px;
    border-radius: 5px;
    color: #3d65fb;
    background: white;
    text-decoration: none;
}

.social-share a:hover {
    color: white;
    background: #3d65fb;
    text-decoration: none;
}

.user-agreement {
    padding-top: 1em;
    font-size: 90%;
}
