body
{
    background-color:#85BCE1;
    margin:0;
    font-family:"Segoe UI Light 8", "Segoe UI Light", Arial;
}

header
{
    width:100%;
    background-image:url('../img/sky.jpg');
    background-size:cover;
    height:120px;
}

header img /* logo */
{
    position:relative;
    top:8px;
    right:8px;
    height:150px;
    
}

main
{
    min-height:700px;
    max-width:1400px;
    margin:0 auto;
    padding:30px;
}

.box
{
    max-width:1027px;
    padding:15px 15px 15px 25px;
    box-shadow: 0 0 20px white;
    text-align:justify;
    color:black;
    float:right;
    margin-bottom:30px;
    margin-right:30px;
    background-color:white;
    box-sizing:border-box;
}


nav, footer
{
    width:100%;
    height:45px;
    background-color:#B0CC5C;
    box-sizing:border-box;
}

nav img:first-child /* home button */
{
    height:30px;
    margin-top:7px;
    position:absolute;
}

nav img.stork
{
    position:absolute;
    top:20px;
    left:0;
    height:200px;
}

nav>a
{
    color:#4A571A;
    line-height:90px;
    text-decoration:none;
    padding-bottom:13px;
    padding-left:12px;
    padding-right:12px;
    padding-top:11px;
    position:relative;
    top:-23px;
}

nav>a:hover
{
    background:linear-gradient(to top, #9BC49B 00%, #B0CC5C +100%);
    //border-bottom:4px solid #4A571A;
}

nav>a:first-child
{
    border-bottom:none;
    margin-left:40px;
}

footer
{
    font-size:0.8em;
    text-align:center;
    height:100px;
    padding:20px;
    float:right;
}

footer img
{
    height:27px;
}

.tight
{
    width:220px;
}

.medium
{
    width:498px;
}

.wide
{
    width:700px;
    max-width:100%;
    box-sizing:border-box;
}

.full
{
    width:100%;
}

.short
{
    height:180px;
}

.standard
{
    height:350px;
}

.tall
{
    height:550px;
}

.forimage
{
    padding:0 0 0 0;
    font-size:0.8em;
}

.forimage img
{
    width:100%;
}

.forimage div
{
    padding:15px 10px;
}

div.box:first-child,
.box.nomargin
{
    margin-right:0px;
}

a div.box:first-of-type
{
    margin-right:30px;
}

.scroll
{
    overflow-y:scroll;
}

.scroll::-webkit-scrollbar { width:13px; padding:3px; }
.scroll::-webkit-scrollbar-track-piece { background-color:rgba(255, 255, 255, 0.4); border-radius: 10px; }
.scroll::-webkit-scrollbar-thumb { background-color:white;; border-radius: 10px; }

.box p
{
    margin-top:0;
}

.box p:last-child
{
    margin-bottom:0;
}

.box a
{
    color:inherit;
    opacity:0.6;
}

.box a:hover
{
    color:inherit;
    opacity:1;
}

div.newline
{
    clear:right;
}

a.button div
{
    float: right;
    height: 150px;
    width: 182px;
    margin-bottom: 30px;
    margin-right: 30px;
    text-align: center;
    box-shadow:0 0 20px white;
    color:white;
}

.halo div
{
    box-shadow:0 0 20px white;
}

a.double div
{
    width:377px;
}

a.button:hover div
{
    box-shadow:0 0 30px white;
}

a.button div img
{
    height:90px;
    display:block;
    margin:10px auto;
    opacity:0.8;
}

a.button:hover div img
{
    opacity:1;
}

a.button:first-of-type div,
a.mini:first-of-type div,
a.micro:first-of-type div,
a.button.nospace div,
a.mini.nospace div,
a.micro.nospace div,
.nospace
{
    margin-right:0px;
}

a.mini div
{
    height:80px;
    text-align:right;
    line-height:80px;
    width:289px;
}

a.micro div
{
    height:50px;
    text-align:right;
    margin-right:15px;
    margin-bottom:15px;
}

a.mini div img
{
    height:60px;
    display:inline;
    margin-top:10px;
    position:relative;
    vertical-align:middle;
    left:14px;
    top:0px;
}

a.mini div span
{
    width:145px;
    text-align:center;
    margin-left:50px;
    display:block;
    float:left;
}

a.micro div img
{
    height:35px;
    display:inline;
    margin-top:10px;
    position:relative;
    vertical-align:middle;
    left:10px;
    top:-3px;
}

.blue
{
    background:linear-gradient(to top, #6699B9 -250%, white +100%); 
    color:#41718F;
}

.green
{
    background:linear-gradient(to top, #97C345 -250%, white +100%); 
    color:#5D7B27;
}

.cyan
{
    background:linear-gradient(to top, #8BADA3 -250%, white +100%); 
    color:#587C71;
}

.yellow
{
    background:linear-gradient(to top, #E4C76A -250%, white +100%); 
    color:#8F7319;
}

.pink
{
    background:linear-gradient(to top, #D4A69E -250%, white +100%); 
    color:#A55749;
}

.blue.dark
{
    background:linear-gradient(to bottom, #76C6DE 0%, black +700%); 
    color:white;
}

.green.dark
{
    background:linear-gradient(to bottom, #97C345 0%, black +700%); 
    color:white;
}

.cyan.dark
{
    background:linear-gradient(to bottom, #8BADA3 0%, black +700%); 
    color:white;
}

.yellow.dark
{
    background:linear-gradient(to bottom, #E4C76A 0%, black +700%); 
    color:white;
}

.pink.dark
{
    background:linear-gradient(to bottom, #D4A69E 0%, black +700%); 
    color:white;
}


.blue h2, .green h2, .cyan h2, .yellow h2, .pink h2
{
    color:white;
    padding:20px;
    margin:-20px -20px 10px -20px;
    position:relative;
    right:+5px;
}

.blue h2    { background-color:#6699B9; }
.green h2   { background-color:#97C345; }
.cyan h2    { background-color:#8BADA3; }
.yellow h2  { background-color:#E4C76A; }
.pink h2    { background-color:#D4A69E; }

div h2
{
    margin-top:0;
}


div.image
{
    width:500px;
    height:350px;
    float:left;
    margin-right:30px;
    background-size:cover;
    box-shadow:0 0 20px white;
}

.footnotes
{
    float:right;
    max-width:100%;
    font-size:0.8em;
    margin-bottom:20px;
}

.ToLeft
{
    float:left;
}

#facebook
{
    width:240px;
    box-sizing:border-box;
    background-color:rgba(255,255,255,0.2);
    float:left;
    margin-top:30px;
    box-shadow: 0 0 20px white;
    display:inline;
    opacity:0.85;
}

#facebook:hover
{
    opacity:0.99;
}

*
{
    transition: 0.1s ease-in-out;
}

.UnderConstruction
{
    background-color: white;
    color: #1a5ea0;
    padding: 15px;
    font-size: 0.8em;
    box-sizing:border-box;
}

@media screen and (min-width: 1180px)
{
    .UnderConstruction
    {
        position: absolute;
        top: 20px;
        left: 300px;
        width: 430px;
    }
}

@media screen and (max-width: 1179px)
{
    .UnderConstruction
    {
        width: 100%;
    }

    nav img.stork
    {
        top:80px;
        zoom:0.9;
    }
}

@media screen and (min-width: 1300px)
{
    nav
    {
        padding-right:420px;
    }
}

@media screen and (max-width: 1299px)
{
    nav
    {
        padding-right:30px;
    }

    header
    {
        height:160px;
    }
}

.meetingsBox
{
    width: 1030px;
    max-width:100%;
    height: 50px;
    margin-top: 0px;
    margin-bottom:30px;
}

.meetingsBox img
{
    margin: 5px 15px;
}

@media screen and (max-width: 700px)
{
    main
    {
        padding:0px;
    }

    nav
    {
        height:auto;
        padding-right:0px;
    }
    
    nav a
    {
        display:block;
        padding-top:7px;
        padding-bottom:7px;
        line-height:normal;
        text-align:center;
    }

    nav a:hover
    {
        background:none;
    }

    
    nav img:first-child /* home button */
    {
        position:relative;
        right:20px;
        margin-bottom:-30px;
        z-index:1;
    }

    nav > a.active
    {
        font-weight:bold;
        color:black;
    }

    nav img.stork
    {
        top:120px;
        zoom:0.7;
    }

    .box
    {
        margin-right:0px;
    }

    div.image
    {
        margin-right: 0;
        width: 100%;
        float: initial;
        background-position:center;
        background-size:cover;
        max-width:600px;
        margin:0 auto;
    }


    .scroll
    {
        overflow-y: initial;
        height: auto;
    }

    .box
    {
        width: 100%;
    }

        .meetingsBox
    {
        position:relative;
        top:-30px;
        width: 100%;
        height: 110px;
        margin-bottom:-30px;
        text-align:center;
        padding:5px;
    }

    .meetingsBox img
    {
        display:block;
        margin:0px auto;
    }
}


@media screen and (max-width:561px)
{

}

@media screen and (max-width: 560px)
{
    nav img.stork
    {
        display: none;
    }

    header img /* logo */
    {
        width: calc(100% - 20px);
        height: auto;
        max-height: 150px;
    }

    .tight,
    .medium,
    .wide,
    .full,
    .image,
    .box
    {
        width: 100%;
        min-width: 0%;
        max-width: 560px;
        box-sizing: border-box;
        box-shadow:none;
    }

    a.button div
    {
        height: 160px;
        text-align: center;
        width: 50%;
        display: block;
        margin-right: 0;
        margin-bottom: 0;
        box-shadow:none;
    }

    a.micro div
    {
        height:45px;
    }
    
    a.mini div
    {
        height: 60px;
        text-align: right;
        line-height: 60px;
        width: 100%;
        display: block;
        margin-right: 0;
        margin-bottom: 0;
    }

    a.mini div img,
    a.micro div img
    {
        height: 30px;
        display: inline;
        margin-top: 10px;
        position: relative;
        vertical-align: middle;
        left:-14px;
        top: 0px;
    }

    a.mini div span
    {
        width: calc(100% - 100px);
        text-align: center;
        margin-left: 50px;
        display: block;
        float: left;
    }
}


@media screen and (min-width: 701px)
{
    nav > a.active
    {
        background: linear-gradient(to top, #85BCE1 00%, #B0CC5C +100%);
        border-bottom: 5px solid #85BCE1;
    }

}

.HC input
{
    position:absolute;
    top:10px;
    left:10px;
    width:25px;
}