﻿html {
    background: url("https://upload.wikimedia.org/wikipedia/commons/c/cf/Sessions_House,_Hamilton,_Bermuda.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
}

body {
    overflow: auto;
    background-color: transparent;
    /**	background-color: rgba(255,255,255, 0.3); **/
    font-family: Lato,"Helvetica Neue",Arial,Helvetica,sans-serif;
}

#s4-bodyContainer {
    padding-bottom: 0px;
}



.navbar-default, footer {
    background-color: #c74231;
    border-color: #8e1913;
}

.navbar-static-top {
    z-index: 1000;
    border-width: 0 0 3px;
    height: 80px;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

    .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
        color: #8e1913;
        background-color: transparent;
    }

.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-brand img {
    width: 80px;
    float: left;
}

.logo-text {
    font-family: Lato,"Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 24px;
    padding-top: 17px;
    white-space: nowrap;
    color: #fff;
}


.nav {
    font-family: Lato,"Helvetica Neue",Arial,Helvetica,sans-serif;
    font-size: 12px;
}

    .nav > li > a {
        padding-right: 5px;
        padding-left: 5px;
    }


@media (min-width: 992px) {
    .logo-text {
        font-size: 36px;
    }

    .nav {
        font-size: 14px;
    }

        .nav > li > a {
            padding-right: 10px;
            padding-left: 5px;
        }
}

@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: 0;
        padding-top: 30px;
    }
}

/** CONTENT **/
#content .container {
    margin-top: 20px;
    background-color: #fff;
    -ms-border-radius: 5px;
    border-radius: 5px;
}


/** SEARCH BOX **/
.topsearchbox {
    text-align: center;
    background-color: #fff;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    max-width: 525px;
}

.ms-srch-sbLarge {
    display: flex;
}


.ms-srch-sb-border, .ms-srch-sb-border:hover, .ms-srch-sb-borderFocused {
    border: none;
}


.topsearchbox #SearchBox {
    float: none !important;
    text-align: center;
}

/** NAVIGATION */

.mainnavigation {
    background-color: #fff;
    display: table;
    -ms-border-radius: 5px;
    border-radius: 5px;
    margin-top: 24px;
    padding: 5px;
}

.mainnavigation .btn-group-vertical {
    width: 100%;
    -ms-border-radius: 5px;
    border-radius: 5px;
}

.btn-nav, .btn-nav:visited {
    border-color: #8e1913;
    color: #8e1913;
    -ms-border-radius: 5px;
    border-radius: 5px;
    display: table-cell;
    font-size: 11px;
    white-space: normal;
    min-width: 95px;
}

    .btn-nav:hover {
        background-color: #c74231;
        color: #fff;
    }

@media (min-width: 992px) {
    .btn-nav {
        height: 64px;
    }
}

/**SECONDARY NAVIGATION **/


#content {
    margin-top: 24px;
    background-color: #fff;
    -ms-border-radius: 5px;
    border-radius: 5px;
}

/** REFINERS **/
#Refinement {
    padding-top: 21px;
}

    #Refinement label {
        margin-bottom: -3px;
    }

    #Refinement input[type=checkbox] {
        margin-bottom: 0px;
    }


.ms-ref-refinername:link, .ms-ref-refinername:visited {
    background-color: #c74231;
    color: #fff;
    width: 100%;
    padding: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding-left: 10px;
}

.ms-ref-refiner #Value, .ms-ref-unsel-toggle, #OtherValue, #SubmitValue {
    width: auto;
}

.btn-nav-small, .btn-nav-small:visited {
    border-color: #8e1913;
    color: #8e1913;
    -ms-border-radius: 5px;
    border-radius: 5px;
    display: table-cell;
    font-size: 11px;
    white-space: normal;
}

    .btn-nav-small:hover {
        background-color: #c74231;
        color: #fff;
    }


#UnselectedSection, #AllSection, #SelectedSection {
    padding-left: 15px;
}

.ms-ref-filterSel > div, .ms-ref-refiner #Value > a:hover > div, .ms-ref-refiner #Value > a:active > div {
    color: #8e1913;
}

.ms-ref-ellipsis, .ms-entity-resolved, .ms-entity-unresolved {
    overflow: inherit;
}

/** SEARCH RESULTS **/


#mainsearchcontent .ms-webpartzone-cell {
    margin: auto;
}

#mainsearchcontent #Refinement {
    padding-top: 0px;
}

#mainsearchcontent #Container {
    padding: 0px;
}

 

.ms-srch-result #ResultHeader {
    margin: 0;
}



.ms-srch-item {
    width: 100%;
}

.ms-srch-item-title {
    float: none;
}

.ms-srch-item h3 {
    margin-top: 0px;
}

.ms-srch-item-path {
    width: auto;
}

.ms-srch-ellipsis {
    white-space: normal;
}

.ms-srch-item:hover, .ms-srch-resultHover:hover, .edisc-SearchResultItemContainer:hover {
    background-color: rgba(199, 66, 49, 0.25);
}

.ms-srch-item-title h3 a, .ms-srch-item-title h3 a:visited {
    color: #8e1913;
}

.ms-srch-item-summary .ms-srch-item-highlightedText {
    background-color: rgba(199, 66, 49, 0.35);
}

#ResultFooter {
    display: none;
}

.ms-srch-result #Paging a {
    text-decoration: none;
    border: none;
    padding-bottom: 20px;
}


/** FAQ Accordion **/
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: solid 1px #8e1913;
    background: none;
    font-weight: bold;
    color: #8e1913;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #8e1913;
    background: none;
    font-weight: bold;
    color: #8e1913;
}

.ui-widget-content {
    border: none;
    background: none;
}

.ui-widget {
    font-family: Lato,"Helvetica Neue",Arial,Helvetica,sans-serif;
}

/** LATEST DEVELOPMENTS **/
#latestdevelopment {
    padding-top: 24px;
    padding-bottom: 48px;
}

.latestdevelopmentheader {
    font-size: 16px;
    font-weight: bold;
    color: #8e1913;
}

.latestdevelopmentdate {
    float: left;
}

.latestdevelopmenttitle {
    padding-left: 15px;
    float: left;
}

.latestdevelopmentcontent {
    clear: both;
    padding: 18px;
}

/** LAWS NOT IN FORCE */
#lawsnotinforce {
        padding-top: 24px;
    padding-bottom: 48px;
}

.lawsnotinforcedescription {
    padding-bottom: 12px;
}



/** FOOTER **/
#footer {
    margin-top: 20px;
    background-color: rgba(255,255,255, 0.5);
}

#megafooter div {
    background-color: #fff;
}

#megafooter .container {
    padding-top: 24px;
}


footer {
    color: #fff;
    border-top-width: 3px;
    border-top-style: solid;
    text-align: center;
}

    footer p {
        margin: 0;
    }
