/* Element styles */
html, body
{
    height: 100%;
}

body
{
    margin: 0;
    padding: 0;
    font-family: 'Lato', Arial, sans-serif;
}

header
{
    position: fixed;
    width: 100%;
    z-index: 10;
}

footer
{
    height: 2.5rem;
    color: #DCEDC8;
    font-size: small;
    padding-top: 0.5rem;
}

p
{
    text-align: justify;
}

/* Reusable styles */
.page-width
{
    padding-left: 5%;
    padding-right: 5%;
}

.page-width-m
{
    margin-left: 5%;
    margin-right: 5%;
}

.standard-spacing
{
    padding-top: 1em;
    padding-bottom: 1em;
}

.standard-spacing-m
{
    margin-top: 1em;
    margin-bottom: 1em;
}

.tight-spacing
{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.tight-spacing-m
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.wide-spacing
{
    padding-top: 3em;
    padding-bottom: 3em;
}

.wide-spacing-m
{
    margin-top: 3em;
    margin-bottom: 3em;
}

.clearfix:after
{
    content: "";
    display: table;
    clear: both;
}

.btn
{
    padding: 0.75em 1.5em;
    border-radius: 0.25em;
    text-decoration: none;
    border: none;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.btn-primary
{
    color: white;
    background-color: #8BC34A;
}

.btn-primary:hover
{
    background-color: #689F38;
}

.btn-accent
{
    color: white;
    background-color: #FF9800;
    border: none !important;
}

.btn-accent:hover
{
    background-color: #F57C00;
    border: none !important;
}

.bg-primary
{
    background-color: #8BC34A;
}

.bg-secondary
{
    background-color: #F5F5F5;
}

.bg-contrast
{
    background-color: #212121;
}

.border
{
    border: 1px solid #BDBDBD;
}

.border-top
{
    border-top: 1px solid #BDBDBD;
}

.border-bottom
{
    border-bottom: 1px solid #BDBDBD;
}

.small
{
    font-size: small;
}

.large
{
    font-size: large;
}

.emphasis
{
    font-weight: bold;
}

.center
{
    text-align: center;
}

.full-scene
{
    background-color: black;
    text-align: center;
    height: 24em;
    overflow: hidden;
    position: relative;
}

.full-scene-bg
{
    background-image: url('../images/GroupPresenter.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(2px);
    opacity: 0.8;
}

.full-scene > *
{
    padding: 1em;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.illustration
{
    display: block;
    width: 40%;
    max-width: 40em;
    margin: auto;
}

.info-box
{
    text-align: center;
}

.info-box > *
{
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    margin: 1em 2em;
}

/* Specific styles */
.wrap
{
    min-height: 100%;
    margin-bottom: -2.4em;
}

.wrap:after
{
    content: "";
    display: block;
    height: 2.5em;
}

.shrink-header .logo
{
    font-size: 80%;
}

.shrink-header .nav-links
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.contact-header
{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-align: right;
    font-size: small;
}

.contact-header a
{
    color: black;
    text-decoration: none;
}

.logo
{
    font-family: 'PT Serif', serif;
    font-style: italic;
    text-align: right;
    float: left;
    text-decoration: none;
    color: white;
    margin-top: 0.5em;
    -webkit-transition: font 0.4s ease;
    transition: font 0.4s ease;
}

.logo h1
{
    margin: 0;
    padding-right: 1em;
    border-bottom: 2px solid white;
}

header .nav-links
{
    float: right;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: -0.75em;
    margin-right: -0.75em;
}

.nav-links a
{
    display: inline-block;
    margin: 0.25em 0.75em;
    padding: 0.75em 1em;
    text-align: center;
    color: white;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-links a:hover
{
    border: 1px solid white;
}

.menu-icon
{
    float: right;
    margin-top: 0.75rem;
    display: none;
    color: white;
}

.content
{
    padding-top: 5.25em;
}

.scroll-to-top
{
    display: none;
    position: fixed;
    right: 0.5em;
    bottom: 2.5em;
    padding: 1em;
    border-radius: 50%;
    opacity: 0.5;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    cursor: pointer;
}

.scroll-to-top:hover
{
    opacity: 1.0;
}

/* Media queries */
@media only screen and (max-width: 800px)
{
    .logo
    {
        display: inline-block;
        float: none;
        font-size: 80%;
        margin-bottom: 0.5em;
    }

    .menu-icon
    {
        display: block !important;
    }
    
    header .nav-links
    {
        margin-top: 0.5em !important;
        margin-bottom: 0.5em !important;
        float: none !important;
        display: none;
    }

    .nav-links a
    {
        display: block !important;
    }
    
    .content
    {
        padding-top: 3.5em;
    }
    
    .info-box
    {
        display: block;
    }
}

@media only screen and (min-width: 800px)
{
    header .nav-links
    {
        display: block !important;
    }
    
    .info-box
    {
        display: inline-block;
    }
}