/* 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: #ccc;
    font-size: small;
    padding-top: 0.5rem;
}

footer a
{
    color: #ccc; 
}

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;
    cursor: pointer;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.btn-primary
{
    color: white;
    background-color: #7e1603;
}

.btn-primary:hover,
.btn-primary:active
{
    background-color: #a61d04;
}

.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:active
{
    background-color: grey;
}

.bg-primary
{
    background-color: #faf8f4;
}

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

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

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

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

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

.small
{
    font-size: small;
}

.large
{
    font-size: large;
}

.emphasis
{
    font-weight: bold;
}

.center
{
    text-align: center;
}

.full-scene,
.reduced-scene:after
{
    background-image: url('../images/OrganMts.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.full-scene
{
    height: 24em;
    text-align: center;
    overflow: hidden;
}

.full-scene > *
{
    padding: 1em;
    font-weight: bold;
    color: white;
}

.reduced-scene
{
    height: 12em;
    overflow: hidden;
}

.reduced-scene:after
{
    content: "";
    display: block;
    height: 24em;
    margin-top: -8em;
}

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

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

.photo
{
    display: block;
    border-radius: 0.5em;
    box-shadow: 0 0 0.5em 0.1em #ddd;
}

.icon
{
    width: 10em;
    display: inline-block;
    margin: 1em;
}

/* 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: 1em;
    margin-bottom: 1em;
}

.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
{
    float: left;
    text-decoration: none;
    margin-top: 0.5em;
    -webkit-transition: font 0.4s ease;
    transition: font 0.4s ease;
}

.logo img
{
    height: 5em;
}

header .nav-links
{
    float: right;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    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;
    text-decoration: none;
    color: #3b5a5d;
    font-weight: bold;
    border: 1px solid transparent;
}

.nav-links a:hover
{
    color: black;
    border: 1px solid #3b5a5d;
}

.nav-links a:active
{
    color: white !important;
    background-color: #3b5a5d;
}

.current-page
{
    color: black !important;
}

.menu-icon
{
    float: right;
    margin-top: 1.5rem;
    display: none;
}

.content
{
    padding-top: 7em;
}

.scroll-to-top
{
    display: none;
    position: fixed;
    width: 1em;
    height: 1em;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 1.5em;
    padding: 1em;
    border-radius: 50%;
    opacity: 0.5;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    cursor: pointer;
}

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

.cases figure
{
    position: relative;
    display: inline-block;
    margin: 0 0.25em 0.5em 0.25em;
    padding: 0;
    background-color: black;
}

.cases figure img
{
    margin-bottom: -4px;
    opacity: 0.55;
    transition: all 0.75s;
}

.cases figure img:hover
{
    opacity: 0.75;
}

.cases figure figcaption
{
    position: absolute;
    top: 50%;
    margin-top: -1em;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    pointer-events: none;
}

.attorney .description
{
    padding-bottom: 0.5em;
    margin: 0;
}

.attorney .description .position
{
    font-style: italic;
}

.attorney .description .contact-person
{
    float: right;
}

.attorney h4
{
    color: #3b5a5d;
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}
    
.attorney .photo
{
    float: right;
    width: 50%;
    max-width: 34em;
    margin: 1.5em 0 1.5em 3em;
}

.attorney ul
{
    list-style-type: square;
    padding-left: 1.1em;
    margin: 0;
}

.attorney div
{
    margin: 1em 0;
}

.map
{
    margin-top: 1em;
}

.map iframe
{
    overflow: hidden;
    width: 100%;
    height: 18em;
    pointer-events: none;
}
    
.mobile
{
    display: none;
}

.form > div
{
    margin: 1em;
}

.form label
{
    font-size: x-small;
    display: block;
}

.form label.bigger
{
    font-size: small;
    margin-bottom: 0.25em;
}

.form input,
.form textarea
{
    width: 95%;
    padding: 0.5em;
    border: 1px solid #999;
    display: inline-block;
}

.form textarea
{
    min-height: 10em;
}

.form input[type=checkbox]
{
    width: 1em;
}

.form input[disabled],
.form textarea[disabled]
{
    color: #545454;
    background-color: #ebebe4;
}

.error-text
{
    color: #a61d04;
}

/* Media queries */
@media only screen and (max-width: 800px)
{
    .logo
    {
        display: inline-block;
        float: none;
        font-size: 80%;
        margin-bottom: 0.5em;
    }
    
    header .nav-links
    {
        margin-top: 0.5em !important;
        margin-bottom: 0.5em !important;
        border-top: 1px solid #e0e0e0;
        float: none !important;
        display: none;
    }
    
    .nav-links a,
    .menu-icon,
    .mobile
    {
        display: block;
    }
    
    .content
    {
        padding-top: 5.5em;
    }
    
    .attorney .photo
    {
        width: 100%;
        margin: 1.5em 0;
        float: none;
        max-width: none;
    }
    
    .info-box
    {
        display: block;
    }
    
    .form
    {
        margin: 0;
        width: 90%;
    }
}

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

    .form input,
    .form textarea
    {
        min-width: 20em;
    }

    .form input[type=checkbox]
    {
        min-width: 1em;
    }
}
