/*#region reset*/

@import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light');
@import url('https://fonts.googleapis.com/css?family=Montserrat');


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;
    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;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*#endregion*/

/*#region header, search command small nav*/
header {
    padding: 0 0.5em;
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 1em;
}

    header .logo {
        display: block;
        margin-bottom: 1em;
    }

        header .logo img {
            max-width: 70%;
        }

    header #search {
        border: 2px solid #636466;
        padding: 0.75em;
        border-radius: 5px;
        color: #636466;
        margin-bottom: 1em;
        display: none;
    }

    header button {
        background: none;
        border: none;
        outline: none;
        color: #636466;
    }

    header input {
        background: none;
        border: none;
        outline: none;
        width: 85%;
        color: #636466;
        font-family: 'Lato', Sans-serif;
        text-transform: uppercase;
    }

.mobile-reveal-icons {
    float: right;
    margin-top: 4%;
    display: block;
}

    .mobile-reveal-icons i {
        color: #786026;
        display: inline-block;
    }

#search-submit {
    float: right;
}


nav {
    background-color: #636466;
    /*margin-top: 1em;*/
    text-indent: 1.5em;
    display: none;
}

.sub-section {
    padding: 0 1.5em;
    font-weight: 400;
}

    .sub-section ul {
        display: none;
    }

nav > ul {
    background-color: rgba(0, 0, 0, 0.1);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75em 0;
    list-style: none;
}

    nav > ul > li,
    nav button {
        text-transform: uppercase;
        padding: 0 1.5em;
        text-indent: 0;
        font-weight: 700;
        color: #fff;
    }

    nav button {
        background: none;
        width: 100%;
        height: 100%;
        padding: 0;
        outline: none;
        border: none;
        font: inherit;
        cursor: pointer;
        text-align: left;
        padding-right: 2em;
    }

nav .sub {
    display: none;
    margin: 0 -1.5em 0;
    background-color: #30556a;
    padding: 0.5em 0;
}

    nav .sub ul {
        display: none;
    }

        nav .sub ul li {
            padding: 0.15em 0;
        }

            nav .sub ul li:first-of-type {
                padding-top: 0.75em;
            }

nav ul li.has-children:before {
    content: '\f107';
    font-family: fontawesome;
    font-size: 1.5em;
    position: absolute;
    right: 1em;
    cursor: pointer;
}

nav ul li.has-children.li-highlight:before {
    content: '\f106';
}

.side-nav {
    background-color: #30556a;
    margin-bottom: 1em;
    white-space: normal;
}

    .side-nav a {
        color: #fff;
        text-decoration: none;
        font-weight: 400;
        padding: 0.75em;
        line-height: 1.2;
        display: block;
        transition: background .25s ease-in-out;
        -moz-transition: background .25s ease-in-out;
        -webkit-transition: background .25s ease-in-out;
    }

    .side-nav a:hover {
        background-color: #214754;
    }

    .side-nav ul {
        list-style: none;
        padding-left: 0;
    }

    .side-nav li {
        text-transform: uppercase;
        border-bottom: 1px solid #fff;
        font-size: 0.9em;
    }

nav a:link,
nav a:visited,
nav a:active,
nav button {
    color: #fff;
    text-decoration: none;
    display: block;
    height: 100%;
    padding: 0.75em 0;
}
/*#endregion*/

/*#region page body area */
body {
    color: #333;
    font-family: 'Lato', Sans-serif;
}

.page-body {
    max-width: 1280px;
    padding: 0 1.5em;
    margin: 0 auto;
    white-space: nowrap;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    white-space: normal;
}

.page-content {
    width: 100%;
}
/*#endregion*/

/*#region footer*/

footer {
    background-color: #636466;
    color: #fff;
    width: 100%;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

    footer li {
        display: block;
        padding: 0.5em;
        text-align: center;
    }

    footer .copyright {
        text-align: center;
        margin-top: 1.75em;
    }

    footer .footer-links {
        display: block;
    }

    footer .social-media {
        padding-bottom: 1em;
    }

        footer .social-media div {
            text-align: center;
        }

        footer .social-media a {
            padding-left: 0.5em;
        }

    footer a {
        color: #fff;
        font-weight: 400;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

    footer > div {
        max-width: 1280px;
        margin: 0 auto;
        padding: 1.5em;
    }
/*#endregion*/

/*#region general layout*/
.clear {
    clear: both;
}
/*#endregion*/

/*#region rich text editor styles*/

.rte {
    margin-bottom: 1em;
    margin-top: 1em;
    margin-left: 0.1em;
    white-space: normal;
}

h1, h2, h3, h4, h5, h6 {
    color: #786026;
}

h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin: 0.5em 0;
}

/*OFT Styling*/

.page-content.oft h1 {
    color: #009982;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.rte.oft h1 {
    color: #009982;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.rte.oft h2 {
    color: #009982;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 600;
}

.rte.oft a {
    color: #6E345E;
    font-weight: 700;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
}

.rte.oft h3, .rte.oft h4, .rte.oft h5, .rte.oft h6 {
    color: #009982;
}

.rte.oft p {
    font-family: 'Montserrat', sans-serif;
}

    .rte.oft p strong {
        color: #6E345E;
        font-weight: 700;
        text-decoration: none;
    }

.rte .Tagline {
    color: #6E345E;
    font-family: 'Shadows Into Light', cursive;
    font-size: 20px;
    font-weight: 400;
}


.page-content.oft .accordion-item label {
    color: #ffffff;
}

.page-content.oft .accordion-item label {
    background-color: #5E6871;
}

.page-content.oft table.document-portal a {
    color: #6E345E;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.page-content.oft table.document-portal th {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.page-content.oft .document-portal th, .page-content.oft .reg-results th {
    background-color: #5E6871;
}

.page-content.oft h2 {
    color: #009982;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 600;
}

.page-content.oft h1 {
    color: #009982;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.page-content.oft h3, .page-content.oft h4, .page-content.oft h5, .page-content.oft h6 {
    color: #009982;
}

section.accordion-item.oft-accordion .rte a {
    color: #6E345E;
    font-weight: 700;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
}

section.accordion-item.oft-accordion .rte strong {
    color: #6E345E;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.rte.oft ul li {
    font-family: 'Montserrat', sans-serif;
}

/*.rte.oft ul{
    clear:both;
}*/

.rte.oft .TextLeft{
    clear:both;
}

.rte.oft .image-left {
    clear: both;
}
/*OFT Styling End*/
/**umb_name:Header 1*/
h1 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 0.5em;
}

/**umb_name:Header 2*/
h2 {
    font-size: 1.8em;
}

/**umb_name:Header 3*/
h3 {
    font-size: 1.6em;
}

/**umb_name:Header 4*/
h4 {
    font-size: 1.4em;
}

/**umb_name:Header 5*/
h5 {
    font-size: 1.2em;
}

/**umb_name:Header 6*/
h6 {
    font-size: 1em;
}

/**umb_name:Image left*/
.image-left {
    padding: 1em 1em 1em 0;
    float: left;
}

/**umb_name:Image right*/
.image-right {
    padding: 1em 0 1em 1em;
    float: right;
}

/**umb_name:Block quote*/
blockquote {
    border-left: 4px solid #786026;
    padding: 1em;
    margin: 1.5em;
}

p {
    margin: 0.5em 0;
}

p, blockquote {
    line-height: 1.2;
}

/**umb_name:ul*/
ul {
    list-style: disc;
    padding-left: 2em;
}

/**umb_name:ol*/
ol {
    list-style: decimal;
    padding-left: 2em;
}

/**umb_name:Link*/
a, .rte a, .document-portal a {
    color: #30556a;
    text-decoration: underline;
    font-weight: 700;
}

.rte ul, .rte ol {
    list-style: disc;
    padding-left: 2em;
    margin: 1em 0 1em 1em;
}

.rte ol {
    list-style: decimal;
}

    .rte ul li, .rte ol li {
        margin-bottom: 0.5em;
    }

.rte .table-container {
    overflow-x: auto;
}

.rte table {
    border: 1px solid #786026;
    width: 100%;
}

    .rte table td {
        border: 1px solid #786026;
        padding: 0.5em;
    }

    .rte table tr:first-of-type {
        background-color: #786026;
        color: #fff;
    }

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}
/*#endregion*/

/*#region news*/
.news-list form {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1em 0;
    margin-top: 1em;
}

.news-list form > div {
    margin-bottom: 1.5em;
}

.news-list form > div:last-of-type {
    margin-bottom: 0;
}

.news-list form label {
    display: inline-block;
    width: 30%; 
    padding-top: 0.3em;
}

.news-list input[type=text],
.news-list select {
    border: 1px solid rgba(0,0,0,.5);
    outline: none;
    padding: 0.5em;
    box-sizing: border-box;
    display: block;
    float: right;
    width: 60%;

}

.news-list input[type=submit] {
    outline: none;
    background-color: #30556a;
    border: 1px solid #30556a;
    font-weight: 700;
    color: #fff;
    padding: 0.33em 1em;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    font-family: 'Lato', Sans-serif;
    font-size: 1em;
    width: 100%;
}

.news-list a {
    display: block;
    color: #636466;
    text-decoration: none;
}

.news-list ul {
    list-style: none;
    padding-left: 0;
}

.news-list li {
    padding: 1em 0;
}

    .news-list li:not(:last-child) {
        border-bottom: 1px solid #786026;
    }

    .news-list .details {
        white-space: normal;
    }

.news-list .details h2 {
    margin: 0;
    font-size: 1.5em;
}

.news-list .details p {
    margin: 0.2em 0 0.5em;
    line-height: 1;
    font-weight: 400;
}
/*#endregion*/

/*#region Consultations Tab*/
ul#consultations-tabs {
    margin-top: 25px;
}

li#tab-for-open, li#tab-for-closed {
    padding: 10px;
    border-left:1px solid rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    cursor:pointer;
    width: 20%;
    text-align:center;
}

li#tab-for-open a, li#tab-for-closed a {
    text-decoration: none;
    color: #786026;
}

li#tab-for-open.active, li#tab-for-closed.active {
    border-bottom: 2px solid #ffffff;
    cursor: default;
    background: #ffffff;
}

li#tab-for-open.active a, li#tab-for-closed.active a {
    border-bottom: 1px solid #ffffff;
    cursor:default;
}

ul#consultations-tabs {
    padding-left: 0em;
}

ul#consultations-tabs li {
    list-style-type: none;
        display: inline-block;
    background: #e6dfce;
}

section.tab-content {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    margin-top: -1px;
}

.word-search {
    width: 73%;
}

.word-search label {
    width: 10% !important;
}


input#textsearch {
    width: 85%;
}

.news-list-consultations ul {
    padding-left: 0em;
}

.news-list-consultations li {
    list-style-type: none;
}

.news-list-consultations li:not(:last-child) {
    border-bottom: 1px solid #786026;
}

.news-list-consultations a {
    text-decoration: none;
}

.news-list-consultations .details {
    white-space: normal;
}

.news-list-consultations .details p {
    margin: 0.2em 0 0.5em;
    line-height: 1;
    font-weight: 400;
}

    .news-list-consultations .details li {
        border-bottom: none;
    }

    .news-list-consultations .details ol li {
        list-style-type: decimal;
    }

    .news-list-consultations .details ul li {
        list-style-type: disc;
    }
    .news-list-consultations .details ul {
        padding-left: 3em;
    }

.news-list-consultations .details {
    margin-bottom: 5px;
}

/*#endregion*/

/*#region stats*/
.stats-intro {
    font-weight: 700;
    font-size: 1.2em;
    white-space: normal;
}
/*#endregion*/

/*#region achieve form*/
.achieveform {
    width: 100%;
    margin-bottom: 1em;
}
/*#endregion*/

/*#region accordion*/
.accordion-item {
    border: 1px solid #786026;
    margin-bottom: 1em;
    position: relative;
    overflow: hidden;
    white-space: normal;
}

    .accordion-item input {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }

    .accordion-item label {
        position: relative;
        display: block;
        color: #fff;
        margin: 0;
        padding: 0.75em 2em 0.75em 0.75em;
        font-size: 1.25em;
        background-color: #786026;
        cursor: pointer;
        transition: background .25s ease-in-out;
        -moz-transition: background .25s ease-in-out;
        -webkit-transition: background .25s ease-in-out;
    }

    .accordion-item label:hover {
        background-color: #6d5120;
    }

    .accordion-item .rte {
        max-height: 0;
        padding: 0 0.75em;
        margin: 0;
        overflow: hidden;
        -webkit-transition: max-height .25s;
        -o-transition: max-height .25s;
        transition: max-height .25s;
    }

    .accordion-item input:checked ~ .rte {
        max-height: 100%;
    }
    /* Icon */
    .accordion-item label::after {
        position: absolute;
        right: 0;
        top: 0;
        display: block;
        width: 2.5em;
        height: 2.5em;
        line-height: 2.5;
        text-align: center;
        -webkit-transition: all .25s;
        -o-transition: all .25s;
        transition: all .25s;
    }

    .accordion-item input[type=checkbox] + label::after,
    .accordion-item input[type=radio] + label::after {
        content: '\f107';
        font-family: fontawesome;
    }

    .accordion-item input[type=checkbox]:checked + label::after,
    .accordion-item input[type=radio]:checked + label::after {
        transform: rotate(180deg);
    }

/*.oft-accordion label {
    background: #6E345E;
}*/

/*#endregion*/

/*#region home page*/

#homepage h1 span {
    display: block;
}

.page-body > #homepage {
    margin: 0 -1.5em;
}

.tile-container {
    width: 100%;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: stretch;
    -ms-flex-pack: initial;
    justify-content: center;
    box-sizing: border-box;
    border: 1.5em solid #fff;
    border-bottom: 0;
}

.tile {
    box-sizing: border-box;
    background-color: #786026;
    color: #fff;
    border-color: #fff;
    border-style: solid;
    border-bottom-width: 2px;
    width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    flex-grow: 1;
    text-align: center;
    border-left-width: 1px;
    border-right-width: 1px;
    transition: background .25s ease-in-out;
    -moz-transition: background .25s ease-in-out;
    -webkit-transition: background .25s ease-in-out;

}

.tile:hover {
    background-color: #6d5120;
}

    .tile a {
        display: block;
        padding: 1em;
        color: #fff;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
    }

    .tile i {
        display: block;
        padding: 0.5em;
        vertical-align: middle;
    }

    .tile p {
        display: block;
        font-weight: 600;
        padding: 0.5em;
        font-size: 1.1em;
        line-height: 1.2;
        vertical-align: middle;
        white-space: normal;
        width: 94%;
    }

    .tile.emphasise {
        background-color: #30556a;
    }

    .tile.emphasise:hover {
        background-color: #214754;
    }

    .fa-empty {
        width: 1em;
    }


.latest-news {
    width: 100%;
    box-sizing: border-box;
    border: 1.5em solid #fff;
    border-top: 0;
    background-color: #30556a;
    display: block;
    margin-bottom: 1em;
    white-space: normal;
}

    .latest-news a {
        color: #fff;
        text-decoration: none;
        font-weight: 400;
    }

    .latest-news h2, .latest-news li {
        color: #fff;
        border-bottom: 1px solid #fff;
    }

    .latest-news ul {
        list-style: none;
        padding-left: 0;
    }

    .latest-news li {
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAhCAYAAADtR0oPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpi+P//fwIQ7wfifgZiAFDh+/8I4ECMhvVIGu4To0HhPypIIEbTfCQNICcKENIggOaXBmJsaUCzRYEYW+4jaZpPjC0JaAFgQIym80ga9hOjwQHNFqIic/9oZCJFJhMBSwSgGAY+kBS8eD0OlAxAC9oAUkJoPSGn9BMdOljSUgEpqfU8KRGFPz9AExyyR/uHZZhDNRAf5mhBuZ+BFgAgwADpZR3UozbjigAAAABJRU5ErkJggg==);
        background-repeat: no-repeat;
        background-position: right 0 center;
        margin: 0 1.25rem;
        padding: 0.75em 0;
    }

        .latest-news li:last-of-type {
            border-bottom: none;
        }

    .latest-news h2 {
        font-size: 2em;
        padding-bottom: 1rem;
        padding-top: 1rem;
        margin: 1.25rem 1.25rem 0 1.25rem;
    }

        .latest-news h2 span {
            font-size: 1.15rem;
            padding-top: 0.25rem;
            display: block;
        }

    .latest-news p {
        padding-right: 1.5em;
    }

        .latest-news p:first-of-type {
            font-size: 1.25em;
        }

        .latest-news p:last-of-type {
            font-size: 0.9em;
            padding-bottom: 0.25em;
        }


.banner {
    min-height: 420px;
    width: 100%;
    background-color: #636466;
    background-position: center right;
    background-size: cover;
    margin-bottom: 0;
}

    .banner h1 {
        background-color: rgba(48, 85, 106, 0.8);
        font-weight: 400;
        font-size: 1.75em;
        color: #fff;
        padding: 1em;
        position: relative;
        top: 5em;
        display: inline-block;
        margin-top: 0;
    }

        .banner h1 > span {
            font-weight: 700;
            font-size: 1.25em;
        }
/*#endregion*/

/*#region publications and reg results table*/

.reg-result-container {
    overflow-x: auto;
    margin-bottom: 1em;
}

.document-portal,
.reg-results {
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid #786026;
    white-space: normal;
}

    .reg-results button {
        float: right;
        border: 0;
        outline: none;
        color: #fff;
        background: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
    }

    .document-portal th,
    .reg-results th {
        background-color: #786026;
        color: #fff;
        text-align: left;
        padding: 0.75em;
    }

    .reg-results th:nth-of-type(1) {
        min-width: 74px;
    }

    .reg-results th:nth-of-type(n+2) {
        min-width: 130px;
    }

    .document-portal td,
    .reg-results td {
        padding: 0.75em;
        border: 1px solid #786026;
    }


/*#endregion*/

/*#region registry records insurance, license holder etc.*/

#register-record .page-body {
    margin: 1.5em 0;
}

#register-record > table {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
}

    #register-record > table th {
        width: 40%;
    }

#register-record th {
    background-color: #786026;
    color: white;
    text-align: left;
}

#register-record th,
#register-record td {
    padding: 0.5em;
    border: 1px solid #786026;
}

#register-record td,
.trading-name {
    white-space: pre-line;
}

#license-holder-classes table {
    width: 100%;
}

#license-holder-classes {
    margin-top: 1em;
}

    /* Force table to not be like tables anymore */
    #license-holder-classes table,
    #license-holder-classes thead,
    #license-holder-classes tbody,
    #license-holder-classes th,
    #license-holder-classes td,
    #license-holder-classes tr {
        display: block;
    }

    #license-holder-classes tr {
        margin-bottom: 1em;
    }

    #license-holder-classes tr {
        border: 1px solid #786026;
        border-bottom: none;
    }

    #license-holder-classes td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #786026;
        position: relative;
        padding-left: 38%;
    }

        #license-holder-classes td:before {
            /* Now like a table header */
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            padding: 0.5em;
            width: 30%;
            white-space: nowrap;
        }

        /*
		Label the data
		*/
        #license-holder-classes td:before {
            background-color: #786026;
            color: #fff;
        }

        #license-holder-classes td:nth-of-type(1):before {
            content: "Class";
        }

        #license-holder-classes td:nth-of-type(2):before {
            content: "Issued";
        }

        #license-holder-classes td:nth-of-type(3):before {
            content: "Status";
        }

.headerfix {
    background-color: rebeccapurple;
}
/*#endregion*/

/*#region search results*/

.form {
    white-space: normal;
}

#search-results a {
    text-decoration: none;
}

.search-results-title {
    white-space: normal;
}

.search-results-summary {
    color: black;
    font-weight: 400;
    white-space: normal;
}

.no-results {
    margin-bottom: 2em;
}

#search-results-container ul, #search-results-container li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#search-results-container li {
    border-bottom: 1px solid #786026;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

    #search-results-container li:last-child {
        border-bottom: none;
    }

/*#endregion*/

/*#region pagination*/

#pagination-container {
    margin-bottom: 1em;
}

    #pagination-container ul, #pagination-container li {
        list-style: none;
        margin: 0;
        padding: 0;
        white-space: normal;
    }

    #pagination-container li {
        display: table-cell;
        background-color: #30556a;
        border: 2px solid white;
        display: inline-block;
        min-width: 1em;
        text-align: center;
    }

    #pagination-container a {
        color: #fff;
        text-decoration: none;
        display: block;
        padding: 0.75em;
        min-width: 1.5em;
    }

    #pagination-container a:hover {
        background-color: #214754;
    }

    #pagination-container .active {
        background-color: #786026;
    }

    #pagination-container .active a:hover {
        background-color: #786026;
    }

/*#endregion*/

/*#region site map*/

#sitemap-container {
    margin-bottom: 1em;
}

#sitemap-container,
#sitemap-container a {
    color: #786026;
    font-weight: 400;
    text-decoration: none;
}

    #sitemap-container ul {
        padding: 0.25rem;
    }

    #sitemap-container ul ul li {
        margin-left: 1rem;
        list-style-type: none;
    }

    #sitemap-container ul > li {
        margin: 0.25em 0;
        list-style-type: none;
        margin-left: 0;
        font-size: 1.75rem;
    }

    #sitemap-container ul > li:last-of-type {
        margin-bottom: 0;
    }

        #sitemap-container ul > li > ul > li {
            font-size: 1.5rem;
        }

        #sitemap-container ul > li > ul > li > ul > li {
            font-size: 1.25rem;
        }

        #sitemap-container ul > li > ul > li > ul > li > ul > li {
            font-size: 1rem;
            margin: 0.5em;
        }

/*#endregion*/

/*#region bread crumb*/

#breadcrumb {
    margin-top: 1em;
}

    #breadcrumb a {
        color: black;
        text-decoration: none;
        font-weight: 400;
    }

    #breadcrumb .current a {
        color: #786026;
    }

    #breadcrumb ul {
        list-style: none;
        max-width: 1280px;
        padding: 0 1.5em;
        margin: 0 auto;
    }

    #breadcrumb li {
        display: inline;
    }

    #breadcrumb ul:first-of-type li + li::before {
        content: ">";
        padding: 0 0.25em;
    }

/*#endregion*/

/*#region reg search*/

.search-top {
    margin-top: 1em;
}

.reg-search-entity {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1em 0;
    margin-bottom: 1em;
}

@media (min-width: 22em) {
    .reg-search-entity input:last-of-type {
        margin-left: 2em;
    }
}

.reg-business-type {
    border: 1px solid #30556a;
    margin-bottom: 1em;
    text-align: right;
    width: 100%;
}

    .reg-business-type h2 {
        background-color: #30556a;
        padding: 0.75em;
        font-size: 1em;
        color: #fff;
        letter-spacing: 0;
        margin: 0;
        text-align: left;
    }

    .reg-business-type > ul:first-of-type {
        padding: 0.75em 0.75em 0 0.75em;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-bottom: 1em;
        list-style: none;
        box-sizing: border-box;
        width: 100%;
    }

        .reg-business-type > ul:first-of-type li {
            -ms-flex-pack: center;
            justify-content: space-around;
            width: 100%;
            -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
            margin: 0.75em 0 0.75em 1em;
        }

    .reg-business-type input {
        float: left;
        margin-left: -1em;
    }

    .reg-business-type label {
        overflow: visible;
        display: block;
        margin-left: 1em;
        text-align: left;
        padding-right: 1em;
    }

    .reg-input {
        border-top: 1px solid rgba(0,0,0,.1);
        padding: 1em 0;
    }

    .reg-input-text-container {
        overflow: hidden;
    }

    .reg-input input[type=text]{
        border: 1px solid rgba(0,0,0,.5);
        outline: none;
        padding: 0.5em;
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }

    #select-toggle {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }

    .reg-input input[type=submit],
    .reg-business-type .select-toggle {
        border: none;
        outline: none;
        background-color: #30556a;
        border: 1px solid #30556a;
        font-weight: 700;
        color: #fff;
        padding: 0.5em 1em;
        box-sizing: border-box;
        cursor: pointer;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;
    }

    .reg-input input[type=submit] {
        float: right;
        font-size: 1rem;
    }

    .reg-business-type .select-toggle {
        margin: 0 0.75em 0.75em;
        width: 8em;
        display: inline-block;
        text-align: center;
    }

/*#endregion*/

@media (min-width: 30em) {

    /*#region licence holder responsive class tables*/
    #license-holder-classes td:before {
        width: 45%;
    }

    #license-holder-classes td {
        padding-left: 50%;
    }

        #license-holder-classes td:nth-of-type(1):before {
            content: "Class of Regulated Activity";
        }

        #license-holder-classes td:nth-of-type(2):before {
            content: "Date Licence Issued";
        }

        #license-holder-classes td:nth-of-type(3):before {
            content: "Status";
        }

    /*#endregion*/

    /*#region home page*/
    header {
        padding: 0 1.5em;
    }

    .tile {
        width: 48%;
        -ms-flex-preferred-size: 48%;
        flex-basis: 48%;
    }

    .banner h1 {
        top: 7em;
    }

    .latest-news h2 span {
        display: inline;
        float: right;
    }
    /*#endregion*/

}

@media (min-width: 40em) {

    /*#region reg search business types*/
    .reg-business-type > ul:first-of-type li {
        width: 46%;
        -ms-flex-preferred-size: 46%;
        flex-basis: 46%;
    }
    /*#endregion*/

}

@media (min-width: 56em) {

     nav {
        background-color: #636466;
        padding: 0 1.5em;
        margin-top: 0;
        margin-bottom: 1em;
        text-indent: 0;
        display: block;
    }

    nav a:link,
    nav a:visited,
    nav a:active,
    nav button {
        padding: 1em 0;
        height: auto;
    }

    nav > ul > li:hover {
        background-color: #fff;
    }

        nav > ul > li.li-highlight:hover button,
        nav > ul > li.li-highlight:hover a {
            color: #fff;
        }

    nav > ul > li:hover a,
    nav > ul > li:hover button {
        color: #636466;
    }

     nav ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }

    nav li {
        margin-bottom: 0;
    }

    nav > ul {
        padding: 0;
        background-color: rgba(0, 0, 0, 0.1);
        max-width: 1280px;
        margin: 0 auto;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: center;
        justify-content: space-around;
        position: relative;
    }

        nav > ul > li {
            text-transform: uppercase;
            padding: 0 0.5em;
            font-weight: 700;
            color: #fff;
            white-space: nowrap;
            -moz-transition: background .25s ease-in-out;
            -webkit-transition: background .25s ease-in-out;
            cursor: pointer;
        }

    nav .sub {
        position: absolute;
        display: none;
        -ms-flex-pack: center;
        justify-content: space-around;
        padding-top: 0.5em;
        width: 100%;
        top: 48px;
        left: 0;
        margin: 0;
        z-index: 99;
    }

        nav .sub ul {
            font-weight: 400;
            display: block;
        }

            nav .sub ul li a {
                padding: 0;
            }

                nav .sub ul li:first-of-type,
            nav .sub ul li:first-of-type a {
                    padding-top: 0;
                }

    nav ul li.has-children:before, nav ul li.has-children.li-highlight:before {
        content: '';
    }

    .sub-section > a {
        padding-top: 0.75em !important;
    }

    .has-children.li-highlight {
        background-color: #30556a;
    }

    .mobile-reveal-icons {
        display: none;
    }

    .column {
        width: 20%;
        box-sizing: border-box;
        display: table-cell;
        padding: 0 1em 1em 1em;
        overflow: hidden;
        margin-right: 1em;
    }

    .column:not(:last-of-type) {
        border-right: 1px solid rgba(255,255,255,0.5);
    }

    .column li a {
        font-weight: 400;
        text-transform: none;
    }

    .column:last-of-type {
        padding-right: 1.5em;
    }

    .sub-section {
        padding: 1em 0 0 0;
        font-weight: 700;
        white-space: normal;
    }

     .side-nav {
        display: inline-block;
        vertical-align: top;
        box-sizing: border-box;
        width: 25%;
        border-left: 1em solid white;
        margin-top: 1.5em;
    }

    /*#region home page*/
    .banner {
        margin-bottom: 1em;
    }

        .banner h1 {
            font-size: 2em;
            top: 6em;
        }

            .banner h1 > span {
                font-size: 1.5em;
            }

    .home-container {
        display: -ms-flexbox;
        display: flex;
    }

            .tile-container {
        width: 50%;
        border: 0;
        border-bottom: 1em solid #fff;
    }

    .tile {
        text-align: left;
        min-height: 8.5em;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        align-items: center;
    }

        .tile p {
            display: table-cell;
        }

        .tile i {
            display: table-cell;
        }

    .latest-news {
        display: inline-block;
        width: 50%;
        float: right;
        border-left: 1em solid #fff;
        border-bottom: 1.16em solid #fff;
        border-right: 0;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

        .latest-news h2 {
            padding-top: 0;
        }
    /*#endregion*/

    /*#region header, search and all nav*/
    header {
        margin-top: 2em;
        margin-bottom: 2em;
    }

        header #search {
            display: inline-block;
            margin-top: 1.5em;
            margin-bottom: 0;
            float: right;
        }

            header #search i {
                display: block;
            }

        header input {
            width: 180px;
        }

        header .logo img {
            max-width: 406px;
        }

    #search {
        display: block;
    }

    /*#endregion*/

    /*#region page body area*/
    .page-body #homepage {
        padding: 0 1.5em;
    }

    .page-content {
        width: 75%;
        display: inline-block;
    }

        .page-content time {
            display: block;
            margin-top: 1em;
        }
    /*#endregion*/

    /*#region footer*/

    footer .social-media {
        float: right;
        margin-top: 0.5em;
    }

        footer .social-media div {
            text-align: left;
        }

    footer .footer-links {
        display: inline-block;
        width: 80%;
    }

    footer li {
        display: inline-block;
        padding: 0.5em 0;
        text-align: center;
    }

        footer li + li:before {
            content: '|';
            padding: 0 0.25em;
        }

    footer .copyright {
        margin-top: 0.5em;
    }

    footer .copyright {
        text-align: left;
    }

    /*#endregion*/

    /*#region bread crumb*/
    #breadcrumb {
        margin-top: 0;
    }
    /*#endregion*/

    /*#region registry records insurance, license holder etc.*/

    #license-holder-classes table {
        display: table;
        margin-bottom: 1em;
    }

    #license-holder-classes thead,
    #license-holder-classes tbody {
        display: table-row-group;
    }

    #license-holder-classes th,
    #license-holder-classes td {
        display: table-cell;
        padding-left: 0.5em;
        border: 1px solid #786026;
    }

    #license-holder-classes tr {
        display: table-row;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #license-holder-classes thead tr {
        position: relative;
    }

    #license-holder-classes td:before {
        /* Now like a table header */
        position: initial;
        /* Top/left values mimic padding */
        background-color: none;
        width: auto;
        padding: 0;
        /*white-space: nowrap;*/
        display: table-cell;
    }

    /*
		Label the data
		*/

    #license-holder-classes td:nth-of-type(1):before {
        content: "";
    }

    #license-holder-classes td:nth-of-type(2):before {
        content: "";
    }

    #license-holder-classes td:nth-of-type(3):before {
        content: "";
    }

    /*#endregion*/

    /*#region reg search business types*/
    .reg-business-type > ul:first-of-type li {
        width: 31%;
        -ms-flex-preferred-size: 31%;
        flex-basis: 31%;
        margin: 0.5em 0 0.5em 1em;
    }
    /*#endregion*/

    /*#region news list*/
    .news-list form > div {
        margin-bottom: 0;
        display: inline-block;
    }

    .news-list form > div:last-of-type {
        float: right;
    }

    .news-list form label {
        width:initial;
    }

    .news-list input[type=text] {
        width: 150px;
    }

    .news-list input[type=text],
    .news-list select {
        display: inline-block;
        float: none;
        margin-left: 1em;
        margin-right: 1em;
    }
    /*#endregion*/

}

@media (min-width: 72em) {

    /*#region reg search business types*/
    .reg-business-type > ul:first-of-type li {
        width: 23%;
        -ms-flex-preferred-size: 23%;
        flex-basis: 23%;
    }
    /*#endregion*/

    /*#region homepage*/
    .tile {
        width: 48%;
        -ms-flex-preferred-size: 48%;
        flex-basis: 48%;
    }

    .banner h1 {
        top: 6em;
    }
    /*#endregion*/

}

/*#region ie specific*/

.ie .reg-business-type > ul:first-of-type {
    text-align: left;
}

.ie .reg-business-type > ul:first-of-type li {
    display: inline-table;
    box-sizing: border-box;
}

.ie .tile-container {
    white-space: normal;
    width: 100%;
    -ms-flex-pack: initial;
}

.ie .tile {
    width: 100%;
}

@media (min-width: 56em) {
    .ie nav > ul {
        white-space: nowrap;
        text-align: center;
    }

    .ie nav > ul > li {
        display: inline-block;
        text-align: left;
    }

    .ie .tile-container {
        float: left;
    }

    .ie .latest-news {
        float: right;
    }

    .ie .tile-container {
        white-space: normal;
        width:50%;
    }

    .ie .tile {
        border-left-width: 0;
        position: relative;
    }

    .ie .tile a {
        position: absolute;
        top: 10%;
    }
}

@media (min-width: 72em) {
    .ie .tile {
        width: 49.7%;
        display: inline-block;
    }
}


@media only screen and (max-width: 780px) {

    .word-search {
        width: auto;
    }

    input#textsearch {
        width: 60%;
    }

    li#tab-for-open, li#tab-for-closed {
        padding: 10px;
        width: 25%;
    }
}

@media only screen and (max-width: 480px) {

    li#tab-for-open, li#tab-for-closed {
        padding: 10px;
        width: 43%;
    }

        li#tab-for-open a, li#tab-for-closed a {
            text-decoration: none;
            color: #786026;
            font-size: 0.8em;
        }

        li#tab-for-open.active a, li#tab-for-closed.active a {
            border-bottom: 1px solid #ffffff;
            cursor: default;
            font-size: 0.8em;
        }
}

@media only screen and (max-width: 320px) {

    li#tab-for-open, li#tab-for-closed {
        padding: 10px;
        width: 41%;
    }

        li#tab-for-open a, li#tab-for-closed a {
            text-decoration: none;
            color: #786026;
            font-size: 0.64em;
        }

        li#tab-for-open.active a, li#tab-for-closed.active a {
            border-bottom: 1px solid #ffffff;
            cursor: default;
            font-size: 0.64em;
        }
}


.TextLeft {
    width: 100%;
    height: auto;
    position: relative;
    top: 2em;
}

.floating-table {
    width: 50% !important;
    float: left;
}
/*#endregion*/

