/********************************************************
CSS Normalise
********************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}


blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

body:target {
    -webkit-transform: translateY( 0px);
    transform: translateY( 0px );
}


/********************************************************
Typography
********************************************************/

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 100%;
    line-height: normal;
    font-weight: 100;
    color: #001e48;
    background-color: #e6e6e6;
}

main, footer {
    font-weight: 400;
}

h1 {
    font-size: 3em;
    margin: 0 0 0.5em 0;
    font-weight: 700;
    width: 100%;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #001e48;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    margin: 0.5em 0;
    font-weight: 700;
}


h3 {
    font-size: 2em;
    margin: 0.5em 0;
    font-weight: 700;
}

h4 {
    font-size: 1.75em;
    margin: 0.5em 0;
    font-weight: 700;
}

h5 {
    font-size: 1.5em;
    margin: 0.5em 0;
    font-weight: 700;
}

h6 {
    font-size: 1.25em;
    margin: 0.5em 0;
    font-weight: 700;
}

p {
    line-height: 1.4;
    margin: 1em 0;
}

.img-center {
    margin: 1em auto;
}

.img-left {
    float: left;
    margin: 1em 1em 1em 0;
}

.img-right {
    float: right;
}

sup {
    vertical-align: super;
}

sub {
    vertical-align: sub;
}

sub, sup {
    font-size: 0.8em;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}



/********************************************************
UL, OL Links
********************************************************/

ul, ol {
    list-style: disc;
    padding-left: 2em;
    margin: 2em 0 2em 2em;
}

    ul li, ol li {
        margin-bottom: 1em;
    }

ol {
    list-style: decimal;
}

a:link,
a:visited,
a:active {
    color: #001e48;
    text-decoration: none;
}

a:hover {
    color: #001e48;
}

/********************************************************
Quotes 
********************************************************/

blockquote {
    font-size: 1.2em;
    font-style: italic;
    border-left: 4px solid #c0c7cc;
    padding-left: 0.5em;
    margin: 1em 2em;
    line-height: 1.3;
}

q {
    display: inline;
    quotes: inherit;
}

    q:before {
        content: open-quote;
    }

    q:after {
        content: close-quote;
    }

/********************************************************
Table
********************************************************/

table {
    width: 100%;
    text-align: left;
    margin: 2em 0;
    border-spacing: 0;
    border-collapse: collapse;
}

    table th, table tr:first-of-type td {
        background-color: #c0c7cc;
        color: #fff;
    }



    table td, table th {
        margin: 0;
        padding: 0.5em;
        border: 1px solid #c0c7cc;
        font-weight: 400;
        color: #000;
    }



/********************************************************
achieve form
********************************************************/

.achieveform {
    width: 100%;
    overflow: hidden;
}

/********************************************************
Elements
********************************************************/

*, *::after, *::before {
    box-sizing: border-box;
}

.wrapper {
    max-width: 77em;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

/********************************************************
Header
********************************************************/

#logo {
    background: #015a82; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#015a82, #001e48); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#015a82, #001e48); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#015a82, #001e48); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#015a82, #001e48); /* Standard syntax */
    height: 13em;
}

    #logo > div {
        max-width: 77em;
        margin: 0 auto;
    }

    #logo a {
        display: block;
        text-align: center;
        position: relative;
        margin: 0 auto;
        bottom: 3em;
    }

    #logo p {
        font-family: 'Roboto', sans-serif;
        position: relative;
        bottom: 2.5em;
        color: #fff;
        text-transform: uppercase;
        font-size: 2.2em;
        font-weight: 700;
        display: block;
        text-align: center;
        /*padding: 0 0.5em;*/
        letter-spacing: -0.05em;
    }

#top-search {
    display: none;
}

#SearchSubmit {
    /*height: 1.8em;*/
    border: none;
    /*margin-left: 2px;*/
}

#contact-numbers {
    max-width: 77em;
    margin: 0 auto;
    position: relative;
    top: 2.8em;
    /*font-family: 'Roboto', sans-serif;*/
    font-size: 1.1em;
    /*font-weight: 400;*/
}

    #contact-numbers ul {
        padding: 1.25em 0 0 0;
        margin: 0 auto;
        position: relative;
        bottom: 3em;
        list-style-type: none;
        width: 95%;
    }

    #contact-numbers li {
        display: inline-block;
        text-transform: uppercase;
        width: 49%;
        padding: 0;
    }

        #contact-numbers li a {
            text-decoration: none;
            font-weight: 700;
        }

        #contact-numbers li:last-child {
            text-align: right;
        }

        #contact-numbers li:first-child,
        #contact-numbers li:first-child a {
            color: #001e48;
        }

            #contact-numbers li:first-child span:nth-child(n+1):nth-child(-n+2) {
                display: none;
            }

        #contact-numbers li:last-child,
        #contact-numbers li:last-child a {
            color: #aa0c00;
        }

    #contact-numbers ul i {
        padding-left: 0.5em;
        padding-right: 0.25em;
    }

button::-moz-focus-inner,
input::-moz-focus-inner {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

#mobile-search div div {
    position: relative;
}

#mobile-search {
    padding: 0 0 0.5em 0;
}

    #mobile-search .form-search-submit {
        position: absolute;
        margin-left: -2.25em;
    }

    #mobile-search button {
        background: none;
    }

.form-search-field,
.form-search-submit {
    display: block;
    background-color: #fff;
    color: #001e48;
    font: inherit;
    line-height: normal;
    /*border: 1px solid #809eb3;*/
    border-top-color: #809eb3;
    padding: 0.5em 2em 0.5em 0.5em;
    outline: none;
    box-sizing: border-box;
    text-align: left;
    margin-left: 0;
}

.form-search-wrapper {
    position: relative;
    /*margin-right: 1.4em;*/
}

.form-search-field {
    width: 100%;
    border: none;
    border-radius: 6px;
}

.form-search-submit {
    width: 2em;
    line-height: 0.1;
    text-align: center;
    background-color: #fff;
    color: #001e48;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
    cursor: pointer;
    margin-top: 0;
    margin-bottom: 0;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

    .form-search-submit:hover {
        background-color: #809eb3;
    }

/********************************************************
Nav
********************************************************/
#primary {
    display: none;
    background: -webkit-linear-gradient(#e0c680, #eee8c1);
    background: -o-linear-gradient(#e0c680, #eee8c1);
    background: -moz-linear-gradient(#e0c680, #eee8c1);
    background: linear-gradient(#e0c680, #eee8c1);
    border-top: 1px solid #e0c680;
}

.menu-toggle {
    text-decoration: none;
    text-align: center;
    padding: 0.6em;
    cursor: pointer;
    font-size: 1.5em;
}

.wrapper.nav {
    padding: 0;
}

nav, .menu-toggle {
    color: #001e48;
    text-transform: uppercase;
    background: #e0c680; /* For browsers that do not support gradients */
    /*background: -webkit-linear-gradient(#eee8c1, #e0c680); 
    background: -o-linear-gradient(#eee8c1, #e0c680);
    background: -moz-linear-gradient(#eee8c1, #e0c680); 
    background: linear-gradient(#eee8c1, #e0c680);*/
    border-top: 1px solid white;
    border-bottom: 2px solid #e0c680;
}

nav {
    display: block;
    border-bottom: 2px solid #eee8c1;
}

    nav a {
        text-decoration: none;
        color: #001e48;
        display: block;
    }

    nav ul {
        list-style: none;
        position: relative;
        text-align: left;
        padding: 0;
        margin: 0.5em 0 0.5em 0;
        display: block;
    }

        nav ul li {
            margin: 0.25em 1em;
            font-size: 1.75em;
            padding: 0;
        }

            nav ul li:not(:first-of-type) {
                border-top: 1px solid #c0c7cc;
            }

            nav ul li i {
                margin-right: 0.5em;
            }

            nav .has-children, nav ul li a {
                padding: 0.25em 0.4em;
                cursor: pointer;
            }

            /*nav .has-children:before {
                    content: '\f13a';
                    font-family: fontawesome;
                    font-size: 1.5em;
                    position: absolute;
                    right: 1em;
                    cursor: pointer;
                }*/

            nav ul li a {
                display: block;
            }

        nav ul.sub {
            display: none;
            width: 100%;
        }

.no-js ul.sub {
    display: block;
}

.no-js nav .has-children:before {
    display: none;
}

nav ul.sub li a {
    padding: 0.5em 0 0.25em 0.55em;
    font-size: 1.75rem;
}

nav ul.sub li a {
    text-transform: none;
}

    nav ul.sub li a:before {
        content: '\f105';
        font-family: fontawesome;
        margin-right: 0.3em;
    }

header {
    background-color: #fff;
}

#banner {
    background-color: #9fa8ad;
    border-top: 2px solid #fff;
}

#banner a {
    color: #fff;
}

    #banner div {
        max-width: 77em;
        margin: 0 auto;
        min-height: 320px;
        background-color: #222;
        background-size: cover;
        background-position: 20% 0;
    }

#banner-text {
    background-color: #001e48;
    max-width: 77em;
    color: #fff;
    background-image: url('/images/squares.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: right;
}

    #banner-text h1 {
        text-transform: uppercase;
        margin: 0 5% 0 5%;
        font-weight: 700;
        font-size: 3em;
        line-height: 0.9;
        padding: 0.5em 0 0.5em 0;
        text-align: left;
        width: auto;
        border-bottom: 0;
    }

    #banner-text p {
        margin: 0 5% 0 5%;
        text-align: left;
        padding: 0 0 1em 0;
        font-size: 1.25em;
    }

footer {
    background-color: #c0c7cc;
    text-align: center;
}

    footer p#iom-constabulary {
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        color: #001e48;
        font-weight: 800;
        font-size: 1.8em;
        margin: 0;
        padding: 0 0.5em;
        line-height: 1;
        letter-spacing: -0.05em;
    }

    footer p#safe {
        font-size: 2.5em;
        margin: 0;
    }

    footer #social-media a {
        display: inline-block;
        margin: 1em 0.25em;
        text-align: left;
        font-size: 0.8em;
    }

    footer #social-media img,
    footer #social-media div {
        display: inline-block;
    }

    footer #social-media div {
        margin-left: 0.5em;
        vertical-align: top;
        display: none;
    }

    footer #social-media span {
        display: block;
    }

    footer a {
        text-decoration: none;
        color: inherit;
        font-size: 1.5em;
    }

#back-to-top {
    margin: 0 auto;
    margin-top: 1em;
    width: 4em;
    height: 2em;
    background-color: #001e48;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
    color: #fff;
}



#neighbourhood {
    width: 330px;
    max-width: 90%;
    height: 331px;
    position: relative;
    margin: 0 auto;
}

    #neighbourhood a {
        display: block;
        position: absolute;
    }

        #neighbourhood a:nth-of-type(1) {
            top: 50px;
            left: 170px;
        }

        #neighbourhood a:nth-of-type(2) {
            top: 180px;
            left: 175px;
        }

        #neighbourhood a:nth-of-type(3) {
            top: 250px;
            left: 0px;
        }

        #neighbourhood a:nth-of-type(4) {
            top: 120px;
            left: 10px;
        }

.footer-bar {
    height: 1.2em;
    background: #001e48;
}

#footer-nav,
#footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    #footer-nav p {
        font-weight: 700;
        color: #fff;
        font-size: 2em;
        margin: 0.5em 0 0.5em 0;
    }

     #footer-nav p:first-of-type {
margin-left: 5%;
    margin-right: 5%;
     }   

    #footer-nav li li {
        font-weight: 400;
        color: #001e48;
        display: block;
        text-align: center;
        width: 100%;
        margin: 1em 0;
    }

    #footer-nav > li:nth-child(n+2):nth-child(-n+4) {
        margin: 2em 5% 0 5%;       
        border-top: 1px solid #a3aaaf;
    }

    #footer-nav > li:last-of-type img {
        margin-top: 1em;
    }

.front-boxes {
    margin: 0 5% 3em 5%;
    clear: both;
}

    .front-boxes .box {
        margin-top: 1.5em;
    }


        .front-boxes .box img {
            min-width: 100%;
            height: auto;
        }

        .front-boxes .box:last-child h2 {
            color: #33B3DE;
        }

    .front-boxes h2 {
        border-bottom: 1px solid #9fa8ad;
        margin: 0 0 0.25em 0;
        text-align: left;
        width: 100%;
        padding-bottom: 0.1em;
        font-size: 2.25em;
        letter-spacing: -1px;
        color: #9fa8ad;
    }

    .front-boxes ul {
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: white;
    }

        .front-boxes ul li {
            margin-bottom: 0;
            border-bottom: 1px solid #9fa8ad;
            padding-top: 0.5em;
            padding-bottom: 0.5em;
            
        }

        .front-boxes ul a { /* Major Chnage*/
            color: #001e48;
            font-size: 1.5em;
            text-decoration: none;
        }

            .front-boxes ul li:hover {
                background-color: #efefef;
            }

/********************************************************
Search Results
********************************************************/
.searchresults {
    padding-left: 0;
    width: 100%;
}

    .searchresults ol {
        list-style-type: none;
        padding-left: 0;
        margin-left: 0;
        margin-bottom: 0.5em;
    }

    .searchresults li h2 {
        text-transform: none;
        color: #001e48;
    }

    .searchresults > ol > li {
        border-bottom: 2px solid #95A6BD;
        padding-bottom: 1em;
        margin-bottom: 0.25em;
        padding-left: 0;
    }

        .searchresults > ol > li:last-of-type {
            border-color: #001e48;
        }


    .searchresults h2 {
        margin: 0.2em 0;
    }

#search-page h1 {
    border-bottom: 0;
    margin-bottom: 0;
}

#search-page > p:first-of-type {
    font-size: 1.25em;
    border-bottom: 1px solid #001e48;
    padding-bottom: 0.25em;
    margin-bottom: 0.5em;
    text-align: center;
}

#search-page p {
    margin: 0;
}

.SearchTerm {
    color: #748BAB;
    font-weight: 300;
}

* {
    margin: 0;
    padding: 0;
}

    *,
    *:after,
    *:before {
        box-sizing: border-box;
    }

.selected-item {
    text-align: left;
}

    .selected-item p {
        font-size: 18px;
    }

        .selected-item p span {
            font-weight: bold;
        }



/********************************************************
Pagination 
********************************************************/

ul.pagination {
    text-align: left;
    clear: both;
    margin: 1em 0 0 0;
    padding-left: 0;
    font-weight: 600;
}

    ul.pagination li {
        list-style-image: none;
        margin: 0;
        display: inline-block;
    }

        ul.pagination li a,
        .more {
            padding: 0.5em 1em;
            border: 1px solid #cccccc;
            font-size: 100%;
            color: inherit;
            text-decoration: none;
            background: #efefef;
        }

        ul.pagination li a {
            margin-right: 6px;
        }

        ul.pagination li.active a {
            background: #001e48;
            color: #fff;
        }

        ul.pagination li a:hover,
        .more:hover {
            color: #fff;
            background: #bac0c4;
        }

/********************************************************
Pagination Drop Down Menu
********************************************************/

.containterdropdown {
    width: 100%;
    /*height: 3.9em;*/
    background-color: #c0c7cc;
    font-family: arial;
    font-weight: 700;
    color: #082944;
    padding: 1em;
    text-align: left;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5em;
    /*list-style: none;*/
    /*display: inle;*/
    /*float: right*/
}

.dropdown {
    display: inline;
}

.containterdropdown form {
    display: inline;
}

.dropdownmenu {
    height: 30px;
    font-family: arial;
    font-weight: 600;
    color: #082944;
    border: 1.5px solid #082944;
    margin-left: 1em;
    float: right;
}

}


/********************************************************
Standard Page
********************************************************/

a:link, a:visited, a:active {
    color: #001e48;
}

/********************************************************
Content
********************************************************/

#Links {
    border-top: 2px solid #001e48;
    margin-top: 20px;
}

.fa-search:before {
    padding: 5px;
    margin: 0px 5px 40px 0px;
}

.wrapper {
    /*background-color: #fff;*/
}

body {
    background-color: #fff;
}

#standard-page,
#landing-page,
#search-page,
#contact-page {
    margin: 1.5em 5% 3em 5%;
}

#landing-list i {
    position: initial;
    text-align: left;
    margin-right: 0.25em;
}

#landing-list ul {
    margin: 0 0 1em 0;
    padding: 0;
    box-sizing: border-box;
}

#landing-list li {
    border-bottom: 1px dotted #001e48;
    display: inline-block;
    margin: 0 1em 0 0;
    padding: 0.5em 0 0.5em 0;
    width: 100%;
}

#landing-list a {
    color: #001e48;
    text-decoration: none;
}

.messages figure,
.messages div {
    margin-bottom: 1em;
}

.messages img {
    width: 100%;
}

.messages {
    font-size: 1.25em;
}

.messages div {
    padding: 15px 15px 15px 15px;
    color: #fff;
}

.messages > div {
    width: 100%;
    position: relative;
}

.messages span {
    padding-left: 1em;
    display: inline-block;
    width: 80%;
    vertical-align: top;
}

.messages i {
    vertical-align: top;
}

.messages a {
    color: #fff;
    text-decoration: none;
}

#message-positive {
    background-color: #307513;
}

#message-warning {
    background-color: #A01212;
}

#message-info {
    background-color: #275B98;
}

.rte,
#documents,
#see-also {
    display: block;
    width: 100%;
}

#documents,
#see-also {
    border-top: 2px solid #001e48;
    font-size: 1.1em;
}

    #documents i,
    #see-also i {
        padding-right: 0.5em;
    }

    #documents ul,
    #see-also ul {
        list-style: none;
        margin: 0 0 1em 0;
        padding: 0;
    }

    #documents li,
    #see-also li {
        margin-bottom: 0.5em;
    }

.border:last-of-type {
    border-bottom: 2px solid #001e48;
}

/********************************************************
Nav Bottom - When JS is disabled
********************************************************/

.menu-bottom, .no-js .nav-toggle {
    display: none;
}

#nav-bottom { /* Hides whe JS is enabled - Mobile Menu Only */
    display: none;
}

.no-js nav#primary { /* Hides when JS is disabled - Mobile Menu Only */
    display: none;
}

.no-js .menu-bottom, .no-js #nav-bottom { /* shows when JS is disabled */
    display: block;
}

/********************************************************
RTE
********************************************************/

.rte ul,
.searchresults ol li ul {
    margin: 0;
    padding: 0;
    color: #000;
}

.rte ol,
.searchresults ol li ol {
    margin: 0;
    padding: 0 0 0 1em;
    color: #000;
}

.rte p {
    color: #000;
}

.searchresults ol li ol {
    list-style-type: decimal;
}

.rte ul li,
.searchresults ol li ul li {
    list-style: none;
}

.rte li,
.searchresults ol li li {
    margin: 0;
    padding: 0.25em 0;
}

.rte ul li:before,
.searchresults ol li ul li:before {
    content: '\f046';
    font-family: fontawesome;
    padding-right: 0.5em;
}

.rte a:link {
    text-decoration: underline;
}

#contact-numbers {
        font-size: 0.85em;
    }


/********************************************************
Responsive changes
********************************************************/

@media (min-width: 35em) {
    #logo {
        height: 10em;
    }

    #contact-numbers {
        font-size: 110%;
    }
}


@media (min-width: 60em) {

    #primary .sub.active li {
        line-height: 1;
    }            
    
    #primary .sub li a {
        font-size: 0.5em;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    
    #top-search .form-search-submit {
        background: #fff url('/images/mag.png') no-repeat center;
    }

    nav, .menu-toggle {
        border-bottom: 2px solid #fff;
    }

    #search-page > p:first-of-type {
        text-align: left;
    }

    h1 {
        text-align: left;
    }

    .rte,
    #documents,
    #see-also {
        width: 65%;
        display: inline-block;
        text-align: left;
    }

    #landing-list {
        width: 68%;
        display: inline-block;
    }

        #landing-list li {
            width: 48%;
        }

            #landing-list li:nth-child(even) {
                margin-right: 0;
            }

    .messages {
        display: inline;
        float: right;
        width: 32%;
    }

    #logo {
        height: 7em;
    }

        #logo > div {
            max-width: 77em;
            margin: 0 auto;
        }

        #logo a {
            display: inline-block;
            text-align: center;
            position: relative;
            bottom: 2.3em;
        }

        #logo p {
            display: inline-block;
            bottom: 2.3em;
        }

    #banner {
        border-top: none;
    }

     #banner h1 {
        margin: 0 0 0 50%;
        text-align: right;
        padding: 1em 1em 0.5em 0;
    }

    #banner-text h1 {
        font-size: 3.5em;
    }

        #banner p {
            margin: 0 2em 0 50%;
            text-align: left;
        }

    #mobile-search {
        display: none;
    }

    #top-search {
        display: inline-block;
        position: relative;
        float: right;
        margin-top: -0.4em;
        margin-right: 3.2em;
    }

    #SearchSubmit {
        height: 1.85em;
        border: none;
        margin-left: 2px;
    }

    .form-search-field {
        background-color: #fff;
        color: #000;
        border-radius: 0;
        padding: 0.25em;
        height: 32px;
    }

    #contact-numbers {
        padding-right: 3em;
        text-align: right;
          top: 2.4em;
    }

        #contact-numbers ul {
            padding: 0.5em;
            width: auto;
            bottom: 2em;
            margin-right: 0.5em;
        }

        #contact-numbers li {
            width: auto;
        }

            #contact-numbers li:not(:last-of-type):after {
                content: '|';
                font-weight: 700;
                padding-left: 1em;
                padding-right: 1em;
            }

            #contact-numbers li:first-child span:nth-child(n+1):nth-child(-n+2) {
                display: inline-block;
            }

    .front-boxes {
        margin-top: 0;
        display: flex;
        display: inline-flex;
    }

        .front-boxes .box {
            width: 32%;
            float: left;
        }

            .front-boxes .box:nth-child(1),
            .front-boxes .box:nth-child(2) {
                margin-right: 2%;
            }

    .form-search-wrapper {
        /*margin-right: 4.6em;*/
    }

    #top-search .form-search-field {
        width: 12em;
    }

    #primary {
        display: block !important;
        background: -webkit-linear-gradient(#eee8c1, #e0c680);
        background: -o-linear-gradient(#eee8c1, #e0c680);
        background: -moz-linear-gradient(#eee8c1, #e0c680);
        background: linear-gradient(#eee8c1, #e0c680);
        border-top: 1px solid #fff;
    }

    nav .has-children:before {
        display: none;
    }

    .nav-toggle {
        display: none;
    }

    nav {
        display: block;
        z-index: 1000;
        position: relative;
    }

        nav ul, /* Major Change One*/
        nav ul li {
            margin: 0;
        }

        nav li {
            display: inline-block;
            font-size: 1.25em;
        }

        nav ul li {
            border-top: none;
            flex-grow: 1;
            text-align: center;
        }

            nav ul li:not(:first-of-type) {
                border-top: none;
            }

            nav a,
            nav ul li a {
                display: inline-block;
            }

        nav .nav > ul > li {
            background: url('/images/nav_divider.png') no-repeat center left;
        }

            nav .nav > ul > li:last-of-type {
                background: url('/images/nav_divider.png') no-repeat center left, url('/images/nav_divider.png') no-repeat center right;
            }


        /*nav ul li:last-child {
		border-right: 1px solid #c0c7cc;
	}*/

        nav ul {
            display: flex;
        }

            nav ul.sub {
                position: absolute;
                display: none;
                width: 100%;
                top: 2.27em;
                left: 0;
                background-color: #fff;
                padding: 1em 2em;
                /*box-shadow: 0px 4px 5px #9fa8ad, -5px 4px 9px #9fa8ad, 5px 4px 9px #9fa8ad;*/
                box-shadow: 0px 5px 5px rgba(0,0,0,0.25), -5px 5px 5px rgba(0,0,0,0.25), 5px 5px 5px rgba(0,0,0,0.25);
            }

        /*nav ul.sub {
		position: absolute;
		display: none;
		width: auto;
		max-width: 18em;
		top: 54px;
		background-color: #fff;
		padding: 0;
        padding: 1em 2em;
		margin-left: -1em;
	} */

        .has-children.li-highlight,
        nav .nav > ul > li.has-children.li-highlight:last-of-type {
            background: #fff;
            /*background: none;*/
        }

        nav ul.sub li {
            text-align: left;
            width: 32%;
        }

            /*nav ul.sub li a {
        border-bottom: 1px solid #fff;
        padding: 0.7em 1em;
    }*/

            nav ul.sub li:last-child a {
                border-bottom: 0;
            }

            nav ul.sub li a:hover {
                /*background-color: red;*/
                color: #9fa8ad;
            }

    #more {
        border-top: 1px solid #9fa8ad;
        font-weight: 700;
        display: block;
        margin-top: 0.5em;
        padding-top: 0.25em;
        width: 100%;
    }

    footer #more {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .js #primary li {
        -o-transition: 0.5s;
        -ms-transition: 0.5s;
        -moz-transition: 0.5s;
        -webkit-transition: 0.5s;
        transition: 0.5s;
        line-height: 1.8;
        font-size: 1.7em
    }

        .js #primary li:hover {
            /* background-color: #239bcc; */
        }

    /*nav ul.sub li {
        display: block;
    }*/

    .no-js ul.sub {
        display: none;
    }

    .no-js nav ul li:hover ul.sub {
        display: block;
    }

    .no-js #nav-bottom, .no-js .menu-bottom {
        display: none;
    }

    .no-js nav#primary { /* show */
        display: block;
    }


    .containterdropdown {
        width: 32.5%;
        /*height: 3.9em;*/
        /*background-color: #c0c7cc;
        font-family: arial;
        font-weight: 600;
        color: #082944;
        padding: 1em;
        list-style: none;*/
        float: right;
    }

    /*.dropdown {
        vertical-align: -webkit-baseline-middle;
        display: inline;
    }*/

    .containterdropdown form {
        float: right;
    }

    .dropdownmenu {
        height: 30px;
        /*margin-left: 7em;*/
        /*float: right;*/
        font-family: arial;
        font-weight: 600;
        color: #082944;
        border: 1.5px solid #082944;
    }


    .searchresults li {
        max-width: 65%;
    }

    #ReportList {
        display: inline-table;
        width: 64%;
    }

    #ReportItem {
        width: 45%;
        float: left;
        margin-top: 15px;
        margin-right: 18px;
        border-bottom: #001E48 dotted 2px;
        padding-bottom: 5px;
    }


    /********************************************************
Footer
********************************************************/

    footer #footer-nav {
        margin-top: 1em;
    }

    footer a {
        font-size: 1.2em;
    }

         #footer-nav p:first-of-type {
margin-left: 0;
    margin-right: 0;
     }   

     #footer-nav p {
        font-size: 1.5em;
    }

        #footer-nav > li:nth-child(n+2):nth-child(-n+3) {
        margin: 0;     
        border-top: none;
    }

        footer #footer-nav > li {
            display: inline-block;
            margin-right: 2em;
            text-align: left;
            vertical-align: top;
            font-size: 1em;
        }

        footer #footer-nav > li:last-child {
            width: 20%;
        }
        
        footer #footer-nav > li:nth-child(n+2):nth-child(-n+3) {
            width: 15%
        }

        footer #footer-nav > li:last-child {
            width: 34%;
            float: right;
        }



         #footer-nav > li:nth-child(n+4):nth-child(-n+4) {
        margin: 0;   
        border-top: none;
    }

    #footer-nav > li:last-of-type img {
        margin-top: 0;
    }



            footer #footer-nav > li:last-of-type {
                border-left: 1px solid rgba(0,12,28,0.25);
                padding-left: 1em;
                margin-right: 0;
            }

                footer #footer-nav > li:last-of-type > img {
                    width: 90px;
                    height: auto;
                }

            footer #footer-nav > li p, footer #footer-nav > li li {
                margin-left: 0;
                margin-top: 0.25em;
                text-align: left;
            }

    footer p#iom-constabulary {
        display: inline-block;
        max-width: 250px;
        padding-left: 0;
        font-size: 1.75em;
    }

    footer p#safe {
        font-size: 2.5em;
        font-weight: 300;
        margin-top: 0;
    }

    footer #social-media div {
        display: inline-block;
    }

    #neighbourhood {
        width: 191px;
        height: 191px;
    }

    #neighbourhood a {
        display: block;
        position: absolute;
        font-size: 1.2em;
    }

     #neighbourhood a:nth-of-type(1) {
            top: 20px;
            left: 75px;
        }

        #neighbourhood a:nth-of-type(2) {
            top: 100px;
            left: 90px;
        }

        #neighbourhood a:nth-of-type(3) {
            top: 145px;
            left: 20px;
        }

        #neighbourhood a:nth-of-type(4) {
            top: 70px;
            left: 0px;
        }


    /********************************************************
Content
********************************************************/

    .wrapper.main {
        background-color: #fff;
        overflow: hidden;
    }

    #Content {
        padding: 3em 4em 0em 4em;
    }

    .container {
        max-width: 77em;
        margin: 0 auto;
        padding: 1.5em;
    }

    .content .container {
        padding-top: 0;
        margin-top: 20px;
        height: 500px;
    }
}

@media (min-width: 71em) {
    #top-search .form-search-field {
        width: 21em;
    }
}
