body
{
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-style: normal;
    line-height: 1.6em;
    font-weight: 400;
    font-size: 16px;
}

@media(max-width: 767px)
{
    body
    {
        font-size: 18px;
    }
}

@media(min-width: 768px) and (max-width: 991px)
{
    body
    {
        font-size: 14px;
    }
}

@media(min-width: 992px) and (max-width: 1199px)
{
    body
    {
        font-size: 14px;
    }
}

@media(min-width: 1200px) and (max-width: 2539px)
{
    body
    {
        font-size: 16px;
    }
}

@media(min-width: 2540px)
{
    body
    {
        font-size: 20px;
    }
}

h1, h2, h3, h4, h5, h6, #submenu-headline
{
    font-family: Georgia, Times, "Times New Roman", serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1.1em;
    color: #000;
}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, span a
    {
        font-family: inherit;
        font-size: inherit;
        color: inherit;
    }

    h1 span, h2 span, h3 span, h4 span, h5 span, h6 span
    {
        font-size: inherit;
        color: inherit;
    }

h1
{
    font-size: 2.5em;
    margin-bottom: 0.35em;
}

h2
{
    font-size: 1.9em;
    text-transform: uppercase;
    margin-bottom: 0.35em;
}

h3
{
    font-size: 1.9em;
    margin-bottom: 0.35em;
}

#submenu-headline,
h4
{
    font-size: 1.7em;
    margin-bottom: 0.35em;
}

h5
{
    font-size: 1.5em;
    margin-bottom: 0.35em;
}

h6
{
    font-size: 1.3em;
    margin-bottom: 0.35em;
}

a
{
    font-weight: normal;
    color: #9a5704;
    text-decoration: none;
}

    a img
    {
        border-color: #000;
        border: 0;
    }

p
{
    padding: 5px 0;
    margin: 0;
}

blockquote
{
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 50px;
    padding-left: 15px;
    border-left: 3px solid #ccc;
}
body
{
    background: url(css/images/bg.jpg) repeat-x #FFFFFF center 0px;
}

html, body
{
    margin: 0;
    padding: 0;
}

#top-menu
{
    clear: both;
    border-top: 1px solid #000;
    width: 960px;
    height: 36px;
    margin: 0 auto;
}

#top-toolbar
{
    text-align: right;
    float: right;
    width: 500px;
}

#newsletter
{
    margin-top: 20px;
    margin-right: 10px;
}

/* Top */
#top
{
    padding-top: 1.5em;
    padding-bottom: 0.5em;
}


/* Top menu */
@media(max-width: 767px)
{
    .navbar
    {
        margin-bottom: 0 !important;
        min-height: inherit !important;
    }

    .navbar a
    {
        line-height: 1 !important;
    }

    .navbar-default
    {
        border: none !important;
    }

    .navbar-header
    {
        padding-right: 1em;
    }

    .navbar-header > table > tbody > tr > td:first-child
    {
        width: 71px;
    }

    .navbar-header td:first-child button
    {
        background: #9a5704;
        border: none !important;
    }

    .navbar-header td:first-child button:hover
    {
        background-color: #9a5704 !important;
    }

    .navbar-header .icon-bar
    {
        background: #fff !important;
    }

    .navbar-header .search input[type=text]
    {
        border: none;
        outline: none;
        padding: 0.1em 0 0.1em 1em;
        box-sizing: border-box;
    }

    .navbar-header .search td:last-child {
        width: 40px;
        text-align: center;
    }

    .navbar-header .search button
    {
        background: none;
        border: none;
        outline: none;
        font-size: 1em;
        color: #fff;
    }

        .navbar-header .search button > span {
            position: relative;
            top: 0.35em;
            left: 0.3em;
        }

    .navbar-header
    {
        background-color: #9a5704 !important;
    }

    .navbar-default
    {
        background-color: #fff !important;
    }

    .navbar-collapse
    {
        border-top: 1px solid #000 !important;
        border-bottom: 1px solid #000 !important;
    }

    .dropdown-toggle
    {
        font-size: 2em;
        right: 1em;
        color: #9a5704 !important;
    }

    .navbar .glyphicons-circle-arrow-down
    {
        font-size: 0.5em;
    }

    .navbar li.open > a
    {
        background: #fff !important;
    }

    /* indent fix */
    nav .dropdown-link-container
    {
        padding-right: 0 !important;
    }

    .navbar .dropdown-menu li > a
    {
        height: 30px;
    }

    a.dropdown-toggle
    {
        height: 40px;
        display: block;
    }

    .dropdown-menu
    {
        font-size: inherit !important;
        padding-left: 20px;
        padding-top: 0 !important;
    }

    ul.nav .glyphicons-circle-arrow-down
    {
        position: absolute !important;
        top: inherit !important;
        right: 20px;
    }

    .navbar-collapse
    {
        overflow-x: hidden;
    }

    .dropdown-submenu
    {
        padding-left: 15px;
    }

    .dropdown-submenu > span > a
    {
        padding-top: 5px;
    }

    ul.nav > li.active > a
    {
        background: #fff !important;
    }

    .dropdown-menu > li > a
    {
        padding-left: 0 !important;
    }


    /* overrides */
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: inherit !important;
    }
}

@media(min-width:768px)
{
    .navbar
    {
        min-height: inherit !important;
        margin-bottom: 1.2em !important;
    }

    .navbar-collapse
    {
        background: #fff;
        border-top: 1px solid black !important;
        border-bottom: 4px solid black !important;
        padding: 0 !important;
    }

    .navbar-header
    {
        display: none;
    }

    .navbar a
    {
        font-family: georgia;
        color: #000 !important;
        text-transform: uppercase;
        background: transparent !important;
        padding: 0.4em 1em !important;
    }

    ul.nav > li
    {
        border-left: 1px solid black;
    }

    ul.nav > li:first-child
    {
        border-left: none;
    }

    ul.nav > li:last-child
    {
        border-right: 1px solid black;
    }

    .rootmenu:hover > .dropdown-menu
    {
        display: block;
    }

    ul.nav > li.active > a
    {
        height: inherit !important;
        /*border-bottom: 4px solid #ff0000 !important;*/
    }

    .dropdown-menu
    {
        border-radius: 0 !important;
        padding: 0 !important;
        min-width: 220px !important;
        left: -2px;
        top: calc(100%);
        border-top: 3px solid #000;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .dropdown-menu li
    {
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .dropdown-menu > li > a
    {
        padding: 0.4em 1em !important;
    }

    .navbar-default
    {
        border: none !important;
        background: transparent !important;
    }

    /* sub sub pages */
    .dropdown-submenu:active > .dropdown-menu, .dropdown-submenu:hover > .dropdown-menu
    {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu
    {
        top: -3px;
        left: calc(100% - 2px);
        margin: 0;
        padding: 0;
    }
}

.dropdown-menu
{
    font-size: inherit !important;
}

.clear
{
    clear: both;
}

#search-panel
{
    float: right;
    margin-top: 10px;
}

#search-panel td:nth-child(2)
{
    display: none;
}

#search-panel .search_button:hover
{
    cursor: pointer;
    opacity: 0.7;
}

#search-panel input
{
    margin: 2px 0;
    width: 198px;
    border: 1px solid #000;
    padding: 2px;
    padding-right: 26px;
    background: url("CSS/Images/search.png") no-repeat right 3px top 2px;
}


/* language flags */
@media(max-width:767px)
{
    .language-flag-container
    {
        position: absolute;
        right: 15px;
        top: 15px;
    }
}

@media(min-width:768px)
{
    .language-flag-container
    {
        float: right;
        margin-top: 2px;
        margin-right: 6px;
    }
}


.language-flag > img {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.5em;
}

#search-term
{
    display: none;
}

#search-results .hits
{
    padding-left: 35px;
}

#search-results .separator
{
    margin-top: 25px;
    margin-bottom: 20px;
    border-bottom: 2px dotted #dcdcdc;
    margin-left: -30px;
}

#search-results .no-search-hits
{
    font-style: italic;
    color: #990000;
    margin-left: 17px;
    margin-top: -6px;
    margin-bottom: 20px;
}

#search-results .heading
{
    margin-top: 10px;
    height: 20px;
    padding-left: 17px;
    padding-top: 6px;
    font-size: 18px;
    padding-bottom: 6px;
}

#search-results .hit-title
{
    font-size: 17px;
    text-decoration: underline;
}

.search-section
{
    margin-bottom: 20px;
}

span.search-results
{
    color: #fff;
    font-size: 28px;
}

#search-results ul
{
    list-style: decimal;
}

.sitemap
{
    margin: 0;
    padding: 0;
}

.sitemap li
{
    list-style: none;
    padding-left: 0px;
}

.layout-content a:hover
{
    text-decoration: underline;
}

@media(max-width:767px)
{
    body.main .col-sm-6:first-child
    {
        margin-bottom: 2em;
    }

    .puffs img
    {
        width: 50px !important;
        height: auto !important;
    }

    #content-bottom
    {
        padding: 15px;
    }
}

@media(min-width: 768px)
{
    #content,
    #content-bottom
    {
        min-height: 40em;
    }
}

#footer-container
{
    background: #000;
    color: #808080;
    padding-top: 2em;
    padding-bottom: 2em;
}


/* search widget */
.search-widget input[type=text]
{
    border: none;
}

.search-widget .input-group
{
    border: 1px solid #000;
}

.search-widget .btn
{
    background: #fff;
}

.search-widget .form-control
{
    box-shadow: none !important;
}

.search-widget .glyphicons-search
{
    color: #9a5704 !important;
}

@media(min-width:768px)
{
    #content-body
    {
        padding-bottom: 2em;
        margin-bottom: 2rem;
    }
}

#submenu-headline
{
    font-size: 1.2em;
    text-transform: uppercase;
    border-bottom: 4px solid #9a5704;
}

#sub-menu a
{
    font-family: georgia;
    line-height: 1.2;
}

#submenu-headline
{
    margin-bottom: 0;
}

#sub-menu li.submenu-root-node
{
    border-bottom: 1px solid #000;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

#sub-menu a,
#submenu-headline a
{
    color: inherit;
}

#sub-menu
{
    margin-left: -30px;
}

#sub-menu ul
{
    padding-left: 0;
    list-style: none;
}

@media(max-width:767px)
{
    #footer .col-sm-6
    {
        height: 10em;
    }

    #footer,
    #branding100
    {
        text-align: center;
    }

    #branding100
    {
        margin-top: -3em;
        margin-bottom: 1.5em;
    }
}

@media(min-width:768px)
{
    #footer .col-sm-6
    {
        height: 12em;
    }

    #branding100
    {
        text-align: left;
        margin-top: 1em;
        padding: 0 !important;
    }
}

body.sub p
{
    margin-bottom: 1.5em;
}

a:hover
{
    color: #9a5704 !important;
    text-decoration: none;
}
