.header-container {
    
}

#header {
    width: 960px;
    background: url(images/logo5.png) no-repeat 0 0;
    background-size: 960px 160px;
    position: relative;
    font-family: var(--primary-font-arial);
    border-width: 0;
    margin-right: auto;
    margin-left: auto;
}

.top-menu {
    background-color: var(--alternate-colour-light-grey);
    padding: 5px 0;
}

    .top-menu .container {
        display: table;
    }

    .top-menu .menu {
        float: right;
        margin-bottom: 0;
        margin-right: -15px;
    }

    .top-menu .menu li {
        float: left;
    }

.logo {
    width: 70px;
    max-width: 70px;
    float: left;
}

.site-name {
    float: right;
}

    .site-name h1 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .site-name h3 {
        text-align: right;
        font-size: 18px;
        margin: 0;
    }

#banner {
    padding-top: 20px;
    padding-bottom: 20px;
}

#banner-culture {
    display: table-cell;
    vertical-align: middle;
}

.main-menu-container {
    background-color: var(--primary-colour-blue);
    border-bottom: 6px solid var(--primary-colour-light-blue);
}
    .main-menu-container ul {

    }

    .main-menu-container li, .top-menu .menu li {
        list-style: none;
        float: left;
    }

    .main-menu-container a, .top-menu .menu a {
        text-decoration: none;
        color: #fff;
        display: inline-block;
        padding: 10px 15px;
    }

    .top-menu .menu a {
        color: var(--primary-colour-blue);
    }

ul.nice-menu-down {
    margin-left: -15px;
}

ul.nice-menu-down li.menuparent {
    background-color: transparent;
    border: 0;
}

ul.nice-menu ul {
    top: 100%;
    background-color: var(--primary-colour-dark-blue);
}

    ul.nice-menu li {
        background-color: transparent;
    }

    ul.nice-menu-down li.menuparent:hover {
        background-color: var(--primary-colour-dark-blue);
        border: 0;
    }

    ul.nice-menu-down li.menuparent a {
        color: #fff;
        padding: 10px 15px;
    }

a {
    text-decoration: none;
}

#header #site-name {
    margin: 0;
    font-size: 30px;
    line-height: 1em;
    height: 160px;
    padding: 0;
}

    #header #site-name a {
        text-indent: -10000em;
        display: block;
        height: 150px;
        width: 150px;
    }
/* Common styles for both of the menus inside the header area: */
#header #block-menu-block-2, /* Top-right menu */
#header #block-menu-block-3 /* Bottom-right menu (the one just above the main menu) */ {
    position: absolute;
    right: 24px;
    top: 0;
}
    /* The UL elements: */
    #header #block-menu-block-2 .menu,
    #header #block-menu-block-3 .menu {
        margin: 0;
        padding: 0;
    }
        /* The menu list items: */
        #header #block-menu-block-2 .menu li,
        #header #block-menu-block-3 .menu li {
            float: left;
            list-style: none;
        }
            /* The actual menu links: */
            #header #block-menu-block-2 .menu li a,
            #header #block-menu-block-3 .menu li a {
                text-decoration: none;
                font-size: 14px;
            }
                /* Menu link hover/active state: */
                #header #block-menu-block-2 .menu li a:hover,
                #header #block-menu-block-2 .menu li .active,
                #header #block-menu-block-3 .menu li a:hover,
                #header #block-menu-block-3 .menu li .active {
                    color: #027ac6;
                }
    /* Styles specific to the top-right menu: */
    #header #block-menu-block-2 .menu {
        background-color: white;
        height: 40px;
        -webkit-border-radius: 0 0 3px 3px;
        -moz-border-radius: 0 0 3px 3px;
        -ms-border-radius: 0 0 3px 3px;
        -o-border-radius: 0 0 3px 3px;
        border-radius: 0 0 3px 3px;
    }

        #header #block-menu-block-2 .menu li {
            /* Put a border-right and some margin at the top to push the items down a bit */
            margin-top: 8px;
            border-left: 1px dashed #005ea9;
        }

            #header #block-menu-block-2 .menu li a {
                /* Common styles for the menu links */
                font-style: italic;
                color: #005ea9;
                background-image: url("images/ari-sprites.png");
                background-repeat: no-repeat;
                padding-left: 25px;
                margin: 0 12px 0 7px;
            }

                #header #block-menu-block-2 .menu li a:hover,
                #header #block-menu-block-2 .menu li a.active {
                    /* Change the colour to black on hover/active state */
                    color: black;
                }

        #header #block-menu-block-2 .menu .first {
            /* Remove the left border from the first menu item */
            border-left: none;
        }
        /* Set the background image pasition on each of the specific menu items so the correct icon is seen on each one: */
        #header #block-menu-block-2 .menu .menu-mlid-750 a {
            background-position: -244px -24px;
        }

        #header #block-menu-block-2 .menu .menu-mlid-486 a {
            background-position: -244px 0;
        }

        #header #block-menu-block-2 .menu .menu-mlid-485 a {
            background-position: -244px -24px;
        }

        #header #block-menu-block-2 .menu .menu-mlid-751 a {
            background-position: -244px -48px;
        }

        #header #block-menu-block-2 .menu .menu-mlid-483 a {
            background-position: -244px -72px;
            padding-left: 30px;
        }
/* Styles specific to the bottom right menu: */
#header #block-menu-block-3 {
    right: 24px;
    top: 120px;
}

    #header #block-menu-block-3 .menu li {
        padding-left: 12px;
    }
        #header #block-menu-block-3 .menu li a {
            padding: 6px 12px;
            color: white;
            background-color: #86c447;
            text-transform: uppercase;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            -ms-border-radius: 3px;
            -o-border-radius: 3px;
            border-radius: 3px;
        }
/* Styles for the main menu (drop-down) */
#header #block-nice-menus-1 {
    margin: 0;
}

    #header #block-nice-menus-1 .nice-menu > li {
        /* Styles that apply to just the first level menu items */
        background: transparent;
        border: none;
        width: 185px;
        display: table; /* This combined with table-cell display of menu links is what allows vertical centering */
    }

        #header #block-nice-menus-1 .nice-menu > li > a {
            /* Style of first level menu links */
            font-size: 19px;
            text-transform: uppercase;
            text-align: center;
            text-decoration: none;
            display: table-cell;
            vertical-align: middle;
            color: var(--primary-colour-blue);
            padding: 10px 5px 0;
            height: 70px;
            font-weight: normal;
            -webkit-transition: color 0.4s;
            -moz-transition: color 0.4s;
            -o-transition: color 0.4s;
            transition: color 0.4s;
        }
        /*Changed #header #block-nice-menus-1 .nice-menu > li > a:hover to #header #block-nice-menus-1 .nice-menu > li:hover > a
            to persist the hover*/
        #header #block-nice-menus-1 .nice-menu > li:hover > a,
        /* #header #block-nice-menus-1 .nice-menu > li > a.active,*/
        #header #block-nice-menus-1 .nice-menu > li.over > a {
            background: url("images/drop-down-arrow.png") center bottom no-repeat;
            border-bottom: 1px solid #027ac6;
            color: var(--primary-colour-dark-blue);
        }
        #header #block-nice-menus-1 .nice-menu > li > a:active {
            color: var(--primary-colour-light-blue);
        }
        /* Styles for second level+ menu links */
        #header #block-nice-menus-1 .nice-menu > li ul {
            -webkit-box-shadow: 2px 2px 10px #000;
            -moz-box-shadow: 2px 2px 10px #000;
            box-shadow: 2px 2px 10px #000;
            top: 70px;
            border-top: none;
            background: #027ac6;
            padding: 10px 0;
            border: solid 1px #027ac6;
            -webkit-border-bottom-right-radius: 5px;
            -webkit-border-bottom-left-radius: 5px;
            -moz-border-radius-bottomright: 5px;
            -moz-border-radius-bottomleft: 5px;
            border-bottom-right-radius: 5px;
            border-bottom-left-radius: 5px;
        }

            #header #block-nice-menus-1 .nice-menu > li ul li {
                width: 100%;
                border: none;
                background: transparent;
            }

                #header #block-nice-menus-1 .nice-menu > li ul li a {
                    font-size: 13px;
                    text-align: center;
                    display: block;
                    text-transform: uppercase;
                    color: white;
                    height: auto;
                    padding: 5px;
                }

                    #header #block-nice-menus-1 .nice-menu > li ul li a:hover,
                    #header #block-nice-menus-1 .nice-menu > li ul li a.active {
                        color: #726e6e;
                        background-color: white;
                        background-image: none;
                        padding-bottom: 5px;
                    }

#block-nice-menus-1 {
}

/*Override bootstrap box sizing in main menu to work with nice menus*/
#header *{

}

/*Entries for AcrticTern start here.*/
div#SearchInset {
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    text-align: center;
    font-size: 1.2em;
    top: 0;
    right: 0;
    min-height: 100%;
    
}

button#Search {
    background-color: #eee;
    border: 1px solid #666666;
    font-family: var(--primary-font-arial);
    font-size: 12px;
    font-weight: 700;
    height: 21px;
    color: #666;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 0 10px;
}

    button#Search:active {
        color: #aaa;
    }

input#q {
    height: 20px;
    width: 210px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #cccccc;
    padding: 0 10px;
    font-family: var(--primary-font-arial);
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
}

Header#MainMenuBlock {
    width: 960px;
}

img#headerLogo {
    height: 60px;
    padding: 10px 20px 0;
    overflow: hidden;
}


/*For the search block used on all pages*/
#MenuSearchBlock {
    float: left;
    width: 100%;
    color: #666666;
    text-transform: none;
    text-align: center;
    border-bottom: 1px solid #a1a1a1;
}
div#HeaderSearchBox {
    padding: 0 30px;
}
.TopFormBlock {
    width: 874px;
    height: 100px;
    margin-left: 10px;
}

    .TopFormBlock td {
        text-align: center;
        width: 50%;
    }

    .TopFormBlock fieldset {
        border-top: 1px solid;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        border-color: #808080;
        margin: 0;
        width: 427px;
    }

        .TopFormBlock fieldset#LeftTopFormFieldSet {
            border-right: 1px solid;
            border-top: 1px solid;
            border-color: #808080;
            height: 98px;
        }

        .TopFormBlock fieldset#RightTopFormFieldSet {
            border-left: 1px solid;
            border-top: 1px solid;
            border-color: #808080;
            height: 98px;
            margin-left: 7px;
        }

    .TopFormBlock legend {
        font-size: .8em;
        font-weight: bold;
        text-align: left;
        border: 0;
        margin-bottom: 10px;
        width: auto;
        
    }

.FieldFilterOption {
    font-variant: normal;
    font-weight: 100;
    font-size: .95em;
    width: 150px;
    float: left;
    padding-bottom: 1px;
}
.FieldFilterPrompt {
    font-variant: normal;
    font-weight: 100;
    font-size: .95em;
    width: 100px;
    clear: left;
    float: left;
    padding-bottom: 1px;
}
.FieldFilterDropdown {
    font-variant: normal;
    font-weight: 100;
    font-size: .95em;
    width: 250px;
    float: left;
}
.FilterDropdown {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #cccccc;
    margin-top:3px;
}

.fieldFilterPrompt {
    vertical-align: middle;
    height: 5em;
}

.FieldFilters {
    text-align: left;
    margin: auto;
    vertical-align: middle;
    white-space: nowrap;
}

    .FieldFilters td {
        text-align: left;
        vertical-align: top;
    }

.sliderContainer {
    height: 1.5em;
    margin-top: 3em;
    padding-left: 10px;
    width: 200px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

div#slider {
    width: 180px;
}

.AdvancedSearchOptions {
}

.show-advanced {
    font-size: .8em;
    vertical-align: top;
    margin-top: 5px;
    display: inline-block;
}

.hideASO {
    height: 0;
    visibility: hidden;
}

.showASO {
    height: 110px;
    visibility: visible;
}

.SearchHeader {
    height: 75px;
    margin-top: 30px;
    position: relative;
}

.SearchHeader table {
    margin: auto;
}

.SearchHeaderLogo {
    float: left;
}

img#SmallBirdLogo {
    padding-right: 6px;
    vertical-align: bottom;
    height: 20px;
}