/* Default CSS for mobile */
*
{
    box-sizing: border-box;
}

a, a:visited
{
    color: #00f;
}

a:hover
{
    color: #FF9400;
}
            
body
{
    background: #808EAA;
    color: #000;
    font-family: helvetica, sans-serif;
    line-height: 1.5em;
    padding-top: 4em;
}

div.gallery
{
    text-align: center;
    padding-top: 1em;
    margin-top: 1em;
}

h1
{
    padding-top: 2em;
    text-shadow: 2px 2px #CD962D;
    z-index: 100;
    color: #fff;
}

h2
{
    font-variant: small-caps;
    color: #CD962D;
    text-shadow: 1px 1px #111A30;
    border-bottom: solid 1px #CD962D;
}

h3
{
    font-variant: small-caps;
    color: #CD962D;
    text-shadow: 1px 1px #111A30;
    border-bottom: solid 1px #CD962D;
}

h3.top
{
    margin-top: 0;
}

h4.top
{
    margin-top: -1em;
}

h4
{
    color: #FF9400;
    margin-top: 3em;
}

h5
{
    color: #FF9400;
}

h1 a, h2 a, h3 a, h4 a, h5 a
{
    text-decoration: none;
    color: #FF9400 !important;
}

hr
{
    border-top: solid 1px #E01500;
    border-bottom: none;
}

.iframe_container
{
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

iframe
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

img
{
    width:100%;
    height: auto;
}

img.gallery
{
    border-radius: 15px;
    border: solid 1px gray;
    width: 75px;
}

video
{
    margin-left: auto; 
    margin-right: auto; 
    width: 100%; 
    height: auto;
}

.attribution
{
    font-size: .6em;
    color: gray;
    text-align: right;
    line-height: 1.5em;
    margin-bottom: 1em;
}

.block
{
    border: solid 1px #111A30;
    border-radius: 12px;
    padding: 1em;
    margin-bottom: 2em;
    margin-top: 2em;
    position: relative;
    background: #fff;
}

.content:after
{
    content: ".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

.cover
{
    border-radius: 25px;
    border: solid 1px gray;
    z-index: 98;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.cover_caption
{
    text-align: center;
    font-size: 1em;
    font-style: italic;
    background-color: rgba(213, 213, 213, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 100%;
    max-width: 998px;
}

.files
{
    font-size: 75%;
}

.onethird
{
    border: none;
}

.twothirds
{
    border: none;
}

.slideshow
{
    width:100%;
    height: auto;
    margin-left: auto;
    margin-right: auto; 
    display: block;
    vertical-align: middle;
}

.small
{
    font-size: .5em;
}

#add
{
    width: 100%;
    margin-top: 3em;
    color: 000;
    background: #fff;
}

#copyright
{

}

#footer
{

}

#footer:after
{
    content: ".";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

#footer h3, #footer p, #copyright p
{
    color: #fff;
    text-align: center;
}

#footer a
{
    color: #fff;
}

#footer a:hover
{
    color: #f00;
}

#footer h3
{
    border-bottom: solid 1px #fff;
}

#main_cover
{
    margin-top: 2em;
}

#navbar
{
    overflow: hidden;
    background-color: #CD962D;
    z-index: 1000;
    font-variant: small-caps;
    font-size: 1.5em;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
}

#navbar label 
{
    display: inline-block;
    color: #fff;
    background: #111A30;
    font-style: normal;
    font-size: 1.1em;
    padding: 10px;
}

#navbar ul li 
{
    display: block;
    border-top: 1px solid #000;
}

#navbar ul li a
{
    color: #fff;
}

#navbar ul 
{
    display: none;
}

#navbar input
{
    visibility: hidden;
}

#navbar input:checked ~ ul 
{
    display: block;
}

#request
{
    text-align: center; 
    font-size: .75em;
    line-height: normal;
}

/* CSS for larger screens */
@media only screen and (min-width: 768px)
{
    body
    {
        font-size: 1.2em;
    }
    
    h1
    {
        font-size: 2em;
    }
    
    img.gallery
    {
        border-radius: 25px;
        border: solid 1px gray;
        width: 150px;
    }
    
    .center
    {
        margin-right: auto;
        margin-left: auto;
    }
    
    .content
    {
        min-width: 768px;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;      
    }
    
    .cover_caption
    {
        font-size: 1.5em;
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, 50%);
        width: 100%;
        max-width: 998px;
    }
    
    .files
    {
        font-size: .9em;
    }
    
    .full
    {
        width: 100%;
        clear: both;
    }

    .half
    {
        width: 47%;
    }

    .left
    {
        clear: both;
        float: left;
    }
    
    .news
    {
        margin-top: 40px;
    }
    
    .onethird
    {
        width: 32%;
    }
    
    .right
    {
        float: right;
    }

    .small
    {
        font-size: .8em;
    }

    .twothirds
    {
        width: 64%;
    }
    
    #add
    {
        width: 100%;
        margin-top: 3em;
    }
    
    #footer p, #copyright p
    {
        font-size: 0.8em;
    }
    
    #navbar
    {
        text-align: center;
        background-color: #CD962D;
    }
    
    #navbar label, #hamburger 
    {
        display: none;
    }
    
    #navbar ul 
    {
        list-style-type: none;
        margin: 0;
        padding: 0; 
        display: inline-block;
    }
    
    #navbar ul li 
    {
        display: inline-block;
        font-size: .7em;
        padding: 5px;
        border: none;
    }
    
    #navbar ul li a 
    {
        color: #fff;
        text-decoration: none;
    }
    
    #navbar ul li:hover
    {
        background: #76A5AF;
        cursor: pointer;
    }
    
    #schedule
    {
        width: 100%;
    }
}
