﻿html, 
body, 
.row-offcanvas, 
.wrapper
{
    height: 100%;
}
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}
body
{
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.5em;
}

.background-full
{
    /* Location of the image */
    background-image: url(/images/html_bg.jpg);
    /* Background image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /* Background image is fixed in the viewport so that it doesn't move when 
     the content's height is greater than the image's height */
    background-attachment: fixed;
    /* This is what makes the background image rescale based
     on the container's size */
    background-size: cover;
    /* Set a background color that will be displayed
     while the background image is loading */
    background-color: #fff;
}

a
{
    color: #be2f35;
    text-decoration: none;
}

a:hover
{
    color: #be2f35;
    text-decoration: underline;
}

.welcome-message
{
    padding: 20px 0px;
}

    .welcome-message h1
    {
        color: #be2f35;
    }

ul.list-lg
{
}

    ul.list-lg li
    {
        font-size: 18px;
        line-height: 30px;
        margin: 6px 0px;
    }

ul.list-xl
{
}

    ul.list-xl li
    {
        font-size: 24px;
        line-height: 40px;
        margin: 6px 0px;
    }
        
.list-indented, .list-indented ul
{
    list-style: disc;
}

    .list-indented li
    {
        margin: 5px 0px;
        line-height: 1.5em;
    }    

.list-sitemap, .list-sitemap ul
{
    list-style: disc;
}

    .list-sitemap li
    {
        margin: 5px 0px;
        line-height: 1.5em;
    }

.text-sm
{
    font-size: 12px;
}

.text-md
{
    font-size: 18px;
}

.text-lg
{
    font-size: 24px;
}

#topmenu {
    margin: 0px 15px 0px 0px;
}

/* HEADER */
#header
{
    padding: 0px 0px 20px 0px;
    margin: 0;
}

.breadcrumb
{
    display: block;
    color: #999;
    background: none;
    margin: 0px;
    font-size: 15px;
    padding: 5px 0px;
}

.breadcrumb a {
    color: #999;
}

.main
{
    min-height: 600px;
    padding-bottom: 20px;
}

#content
{
    
}

#footer
{    
    border-top: 1px solid #d0d0d0;
    padding: 15px 0px;
}

#subfooter
{
    display: block;
    margin-top: 45px;
    padding: 15px 0px;
}

#legal {
    text-align: center;
    color: #888 !important;
    padding: 5px 0px;
    font-size: 14px;
}

#legal a { 
    color:inherit; 
    text-decoration:underline; 
}

p, .text {
    font-size: 16px;
    line-height: 28px;
}

.page
{
    background: #fff;
    padding-top: 15px;
    padding-bottom: 15px; 
}

.page-header {
    margin: 0px 0px 20px 0px;
}

.page-header h1 {
    margin-top: 0px;
}

.page-image
{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;    
}

.page-header-no-border
{
    border: none;
}

.page-header-no-border .page-image
{
    margin-bottom: 0px;
}

.event-complete
{
    background: transparent url(/images/event_complete.png) center 60px no-repeat;
    min-height: 300px;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0px;
}

h1
{
    color: #BE2F35;
}

.nav-group
{
    background: #eee;
    padding: 10px;
}

ul.nav-aside
{
    list-style: none;
    margin: 0px 0px 20px 0px;
    padding: 0;
}

    ul.nav-aside li
    {
        list-style: none;
    }

        ul.nav-aside li h4
        {
            background: #BE2F35;
            color: #fff;
            margin: 0;
            padding: 10px;
        }

            ul.nav-aside li h4.alt
            {
                background: #464646;
            }

        ul.nav-aside li a
        {
            border-top: 1px solid #f8f8f8;
            display: block;
            color: #000;
            background: #eee;
            vertical-align: middle;
            padding: 10px;
        }

            ul.nav-aside li a.current
            {
                background: #6e6e6e;
                color: #fff;
            }

            ul.nav-aside li a:hover
            {
                background: #6e6e6e;
                color: #fff;
                text-decoration: none;
            }

ul.people
{
    padding: 0;
    margin: -5px;
    list-style: none;
}

    ul.people li
    {
        display: inline-block;
        padding: 5px;
        margin: 0;
        vertical-align: top;
        text-align: left;
    }

    ul.people img.person
    {
        text-align: center;
        max-width: 200px;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        width: 100%;
        height: auto;
    }

    ul.people p
    {
        display: block;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
        margin: 5px 0px;
    }

    ul.people .name
    {
        display: block;
        font-size: 1.1em;
        font-weight: bold;
    }

    ul.people .title
    {
        display: block;
        font-size: 1em;
    }

.section {
    padding: 15px 0px 15px 0px;
}

.has-error {
    color: #cc0000;
}

.text-notice {
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: underline;
}

@media (min-width: 768px)
{
    ul.people li
    {
        width: 49%;
    }
}

@media (min-width: 992px)
{

    ul.people li
    {
        width: 32%;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px)
{
    ul.people li
    {
        width: 24%;
    }
}

.nav-link-toggle
{
    display: none;
}

.navbar .dropdown
{
    z-index: 101;
}

@media (max-width: 767px)
{

    #mainmenu .navbar-default {
        background: none;
        border: none;
        margin: 0;
        padding: 0;
    }

    /*main menu*/
    .navbar-nav a.nav-link-main
    {
        display: inline;
    }

        .nav-link-toggle > .nav-toggle-box:hover
        {
            cursor: pointer;
        }

    #mainmenu
    {
        position: fixed;
        top: 10px;
        right: 10px;
        padding: 0px;
        z-index: 102;
        background: none;
    }
    
        #mainmenu .navbar-nav > li > a.nav-link-toggle
        {
            padding: 0;
        }

    .navbar-default .navbar-default .navbar-toggle:focus
    {
        border: 0;
    }
    
    #mainmenu .navbar-collapse
    {
        border: 0;
        width: 280px;
    }

    #mainmenu .navbar-nav > li:first-child
    {
        border-top: 1px solid #666;
        /*
            border-top: 1px solid #1F508F;
        */
    }

    #mainmenu .navbar-nav > li:last-child
    {
    }

    #mainmenu .navbar-nav > li
    {
        height: 39px;
        border-bottom: 1px solid #666;
        background: #464646;
        /*
        border-bottom: 1px solid #1F508F;
        background: #0092C8;
            */
    }

        #mainmenu .navbar-nav > li > a
        {
            color: #fff;
            font-size: 18px;
            padding: 0 20px;
            line-height: 39px;
        }

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus
    {
        color: #fff;
    }

    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus
    {
        background: none;
    }

    #mainmenu .navbar-nav > li.open
    {
        height: auto;
    }

    #mainmenu .navbar-nav > li.dropdown:after
    {
        content: "";
        position: absolute;
        top: 12px;
        right: 20px;
        width: 16px;
        height: 16px;
        pointer-events: none;
    }
    
    .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header
    {
        color: #fff !important;
        font-size: 18px;
        border-top: 1px solid #666;
        /*
            border-top: 1px solid #1F508F;
        */
        padding: 0 40px;
        line-height: 39px;
        height: 39px;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus
    {
        color: #fff;
    }
}

@media (max-width: 480px)
{
    .grid
    {
        width: 120%;
        position: relative;
        left: -5%;
    }
    
    #header .brand
    {
        padding-top: 49px;
    }
}


@media (min-width: 768px)
{
    /*main menu*/
    .navbar .dropdown-menu li:hover .sub-menu
    {
        visibility: visible;
    }

    .navbar .dropdown:hover .dropdown-menu
    {
        display: block;
    }

    .navbar
    {
        margin: 0;
        border: 0;
        background: none;
    }

    .navbar-default .navbar-nav
    {
        float: none;
        text-align: center;
    }

         .navbar-default .navbar-nav > li:first-child
        {
            border-left: none;
        }

        .navbar-default .navbar-nav > li
        {
            border-left: 1px solid #D9D8D6;
        }

            .navbar-default .navbar-nav > li > a
            {
                padding: 0 19px;
                color: #464646;
                font-weight: 600;
                font-size: 19px;
                line-height: 54px;
            }

                .navbar-default .navbar-nav > li > a.active > span
                {
                    display: inline-block;
                    height: 44px;
                    border-bottom: 4px solid #464646;
                }

                .navbar-default .navbar-nav > li > a:hover
                {
                    color: #BE2F35;
                }

    .navbar .dropdown-menu .sub-menu
    {
        left: 100%;
        position: absolute;
        top: 0;
        visibility: hidden;
        margin-top: -1px;
    }

    .dropdown #drop3, .dropdown #drop4
    {
        color: #BE2F35;
    }

    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus,
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li.dropdown:hover > a
    {
        background: #464646;
        /*
            background: #0092C8;
        */
        color: #fff;
    }

    .navbar .dropdown-menu
    {
        border: 0;
        -moz-box-shadow: 0 0 0 #fff;
        -webkit-box-shadow: 0 0 0 #fff;
        box-shadow: 0 0 0 #fff;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        /*left: -1px;*/
        background: none;
        margin: 0;
        padding: 0;
    }

        .navbar .dropdown-menu li
        {
            padding: 0;
            border-bottom: 1px solid #666;
            /*border-bottom: 1px solid #33A8D3;*/
        }

            .navbar .dropdown-menu li:first-child
            {
                border-top: 1px solid #666;
            }

                .navbar .dropdown-menu li:first-child:hover
                {
                    border-top: 1px solid #BE2F35;
                }

            .navbar .dropdown-menu li:last-child
            {
                border: 0;
            }

        .navbar .dropdown-menu > li > a
        {
            line-height: 49px;
            background: #464646;
            color: #fff;
            font-size: 18px;
            padding: 0 21px;
        }

            .navbar .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus
            {
                background: #BE2F35;
                color: #fff;
            }

    .navbar-default .navbar-nav > li.dropdown-red > a.active > span
    {
        border-bottom: 4px solid #BE2F35;
    }

    .navbar .dropdown-red li
    {
        padding: 0;
        border-bottom: 1px solid #d04046;
    }

        .navbar .dropdown-red li:first-child
        {
            border-top: 1px solid #d04046;
        }

            .navbar .dropdown-red li:first-child:hover
            {
                border-top: 1px solid #666;
            }

    .navbar .dropdown-red .dropdown-menu > li > a
    {
        background: #BE2F35;
    }

        .navbar .dropdown-red .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus
        {
            background: #464646;
            /*
                background: #0092C8;
                */
        }

    .navbar .dropdown-red:hover #drop3, .navbar .dropdown-red:focus #drop3,
    .navbar .dropdown-red:hover #drop4, .navbar .dropdown-red:focus #drop4
    {
        color: #fff;
        background: #BE2F35;
    }

}

/* --------------------------------------------------------------
LARGE DEVICES / DESKTOP
-------------------------------------------------------------- */
@media (min-width: 1024px)
{
    /*menu*/
    .navbar-default .navbar-nav
    {
        float: right;
    }

        .navbar-default .navbar-nav > li > a
        {
            padding: 0 19px;
        }
}


ul.list-stacked {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.list-stacked li {
    margin: 0;
    padding: 5px 0px;
}


@media print {
  a[href]:after {
    content: none !important;
  }
}

@media (min-width: 768px)
{
    
    .welcome-message
    {
        background: #be2f35;
        padding: 20px;
        color: #fff;
    }

    .welcome-message h1
    {
        color: #fff;
    }

    .welcome-message a, .welcome-message a:hover
    {
        color: #fff;
        text-decoration: underline;
    }


}

/*
    Responsive text aligning
*/
.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
    text-align: left;
}
.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
    text-align: center;
}
.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
    text-align: right;
}
.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
    text-align: justify;
}

@media (max-width: 767px) {
    .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs {
        text-align: inherit;
    }
    .text-left-xs {
        text-align: left;
    }
    .text-center-xs {
        text-align: center;
    }
    .text-right-xs {
        text-align: right;
    }
    .text-justify-xs {
        text-align: justify;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
        text-align: inherit;
    }
    .text-left-sm {
        text-align: left;
    }
    .text-center-sm {
        text-align: center;
    }
    .text-right-sm {
        text-align: right;
    }
    .text-justify-sm {
        text-align: justify;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
        text-align: inherit;
    }
    .text-left-md {
        text-align: left;
    }
    .text-center-md {
        text-align: center;
    }
    .text-right-md {
        text-align: right;
    }
    .text-justify-md {
        text-align: justify;
    }
}
@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
        text-align: inherit;
    }
    .text-left-lg {
        text-align: left;
    }
    .text-center-lg {
        text-align: center;
    }
    .text-right-lg {
        text-align: right;
    }
    .text-justify-lg {
        text-align: justify;
    }
}

/*
    Responsive pull aligning
*/
.pull-xs-left { float: left; }
.pull-xs-right { float: right; }

@media (min-width: 768px) {
  .pull-sm-left { float: left; }
  .pull-sm-right { float: right; }
}

@media (min-width: 992px) {
  .pull-md-left { float: left; }
  .pull-md-right { float: right; }
}

@media (min-width: 1200px) {
  .pull-lg-left { float: left; }
  .pull-lg-right { float: right; }
}
