:root {
    --blue: #040099;
    --purple: #7760FF;
    --violet: #440099;
    --green: #3CDBC0;
    --pink: #C724B1;
}

h1 {
    margin: 1rem 0rem;
    color: var(--blue);
    font-size: 2.5em;
    line-height: 1.1em;
    font-weight: 400;
    font-family: "Josefin Sans";
    letter-spacing: -1px;
    text-transform: uppercase;
}

h2 {
    margin: 1rem 0rem;
    color: var(--purple);
    font-size: 2em;
    line-height: 1.15em;
    font-weight: 400;
    font-family: "Josefin Sans";
    letter-spacing: -1px;
    text-transform: uppercase;
}

h3 {
    margin: 1rem 0rem;
    color: var(--purple);
    font-size: 1.3em;
    font-weight: 400;
    font-family: "Josefin Sans";
    line-height: 1.25em;
    text-transform: uppercase;
}

h4 {
    margin: 1rem 0rem;
    font-size: 1.35em;
    line-height: 1.35em;
    font-weight: 400;
    font-family: "Josefin Sans";
    text-transform: uppercase;
}

h5 {
    margin: 14px 0px;
    font-size: 1.2em;
    line-height: 1.4em;
}

h6 {
    margin: 14px 0px;
    font-size: 1.1em;
    line-height: 1.4em;
}

p {
    margin: 1rem 0rem;
}

.notice {
    clear: both;
    padding: 10px 15px;
    background-color: #D8D8D8;
}

    .notice a {
        text-decoration: underline;
    }

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
p:first-child {
    margin-top: 0px;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child {
    margin-bottom: 0px;
}

p.checkmark {
    display: inline-block;
    padding-left: 50px;
    background: url("../../images/checkmark.png") left 2px no-repeat;
    min-height: 42px;
    margin-top: 0;
}
/*
strong{
    font-weight: 800;
}*/

/*--------------------------------------------*/

a:link,
a:active,
a:visited {
    color: var(--purple);
    text-decoration: none;
}

a:hover {
    color: var(--violet);
    /*text-decoration: underline;*/
}

h1 a:not([href]),
h2 a:not([href]),
h3 a:not([href]),
h4 a:not([href]),
h5 a:not([href]),
h6 a:not([href]) {
    color: inherit;
}

    h1 a:not([href]):hover,
    h2 a:not([href]):hover,
    h3 a:not([href]):hover,
    h4 a:not([href]):hover,
    h5 a:not([href]):hover,
    h6 a:not([href]):hover {
        text-decoration: none;
    }

a.external_link:after {
    position: relative;
    display: inline-block;
    content: "\e164";
    top: 1px;
    padding-left: 5px;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9em;
    line-height: 1em;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a.pdf,
a.word,
a.ppt,
a.video,
a.document,
a.audio {
    display: inline-block;
    padding-left: 22px;
}

a.pdf {
    background: url("../../images/pdf.png") left 2px no-repeat;
}

a.word {
    background: url("../../images/icon_doc.png") left 2px no-repeat;
}

a.ppt {
    background: url("../../images/icon_ppt.png") left 2px no-repeat;
}

a.video {
    background: url("../../images/icon_youtube.png") left 2px no-repeat;
}

a.document {
    background: url("../../images/icon_document.png") left 2px no-repeat;
}

a.audio {
    background: url("../../images/icon_audio.png") left 2px no-repeat;
}

.btn_block {
    clear: both;
    display: block;
    float: none;
}

a.link_block {
    clear: both;
    position: relative;
    display: block;
    margin-top: 5px;
    padding: 8px 15px;
    text-decoration: none;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

    a.link_block:hover {
        background: transparent url("../../images/rgba0-0-0-0.1.png");
        background-color: rgba(0, 0, 0, 0.1);
    }

    a.link_block .glyphicon-chevron-right,
    a.link_block_lg .glyphicon-chevron-right,
    a.link_block_md .glyphicon-chevron-right,
    a.link_block_sm .glyphicon-chevron-right,
    a.link_block_xs .glyphicon-chevron-right {
        position: absolute;
        top: 50%;
        right: 10px;
        margin-top: -0.5em;
    }


.custom_btn > a,
a.custom_btn {
    color: #ffffff !important;
    background-color: var(--violet);
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    transition: background-color ease 0.2s;
    -webkit-transition: background-color ease 0.2s;
    -moz-transition: background-color ease 0.2s;
    -o-transition: background-color ease 0.2s;
}

.custom_btn {
    margin-top: 35px;
    text-align: center;
}

    .custom_btn > a:hover,
    a.custom_btn:hover {
        background-color: var(--blue);
    }

.btn-primary {
    background: var(--violet);
    border: none;
    border-radius: 0;
    color: #fff !important;
    text-shadow: none;
    box-shadow: none;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--blue);
    }



.arrow_btn {
    position: relative;
    text-transform: uppercase;
    color: var(--violet) !important;
    margin-right: 25px;
    font-weight: bold;
    font-family: "Josefin Sans";
}

    .arrow_btn.back {
        margin-right: 0;
        margin-left: 25px;
    }

    .arrow_btn::after {
        position: absolute;
        content: "";
        display: inline-block;
        height: 1em;
        width: 15px;
        bottom: 2px;
        right: -25px;
        background: url(../../images/adi_arrow.png) left center no-repeat;
        background-size: contain;
        transition: filter .3s ease;
    }

    .arrow_btn.back::after {
        float: left;
        left: -25px;
        transform: rotateZ(180deg);
    }

    .arrow_btn:hover,
    .arrow_btn:focus {
        color: var(--blue) !important;
    }

        .arrow_btn:hover::after {
            filter: brightness(.7);
        }

.arrow_btn + .arrow_btn {
    margin-left: 15px;
}

/*--------------------------------------------*/
.clearer {
    clear: both;
    height: 0px;
    overflow: hidden;
    font-size: 0px;
    line-height: 0px;
}

.clear:after {
    content: " ";
    clear: both;
    display: block;
}

hr {
    height: 1px;
    overflow: hidden;
    color: #666666;
    border: none;
    background-color: #666666;
}

.popover {
    min-width: 300px;
}

/*--------------------------------------------*/

.spacing {
    margin-top: 15px;
    margin-bottom: 15px;
}

.spacing_top {
    margin-top: 15px;
}

.spacing_bottom {
    margin-bottom: 15px;
}

.padding {
    padding-left: 15px;
    padding-right: 15px;
}

.padding_left {
    padding-left: 15px;
}

.padding_right {
    padding-right: 15px;
}

.padding_top {
    padding-top: 15px;
}

.padding_bottom {
    padding-bottom: 15px;
}

.nopadding {
    padding: 0px;
}

.nopadding_right {
    padding-right: 0px;
}

.nopadding_left {
    padding-left: 0px;
}

/*--------------------------------------------*/

.push_right {
    float: right;
}

.push_left {
    float: left;
}

/*--------------------------------------------*/

img.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 4px;
    display: block;
}

img.aligncenter {
    text-align: center;
    margin: 1em auto 5px auto;
    clear: both;
    display: block;
}

img.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 4px;
    display: block;
}

img.fullwidth {
    margin: 0px;
    display: block;
}

img.drop_shadow {
    border: 1px solid #AAAAAA;
    -webkit-box-shadow: 5px 5px 5px #AAAAAA;
    -moz-box-shadow: 5px 5px 5px #AAAAAA;
    box-shadow: 5px 5px 5px #AAAAAA;
}

/*--------------------------------------------*/

.section {
    padding-bottom: 15px;
    padding-top: 15px;
}

    .section header {
        margin-bottom: 25px;
    }

/*--------------------------------------------*/

[data-twttr-id] .twitterborderhide {
    position: relative;
    top: -6px;
    border-top: 1px solid #fff;
}

/*-----------------------------------------------------------------------------------------------*/

html {
    font-size: 16px;
}

body {
    margin: 0px;
    color: #2E2E2E;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5em;
    font-family: Inter, Helvetica, Arial, Sans-Serif;
}

    body > form {
        margin: 0px;
    }

.blur {
    -webkit-filter: blur(7px);
    -moz-filter: blur(7px);
    filter: blur(7px);
}

.page_inset {
    padding: 30px;
    background-color: #FFFFFF;
    border: 1px solid rgba(156, 175, 176, 0.8);
}

/*-----------------------------------------------------------------------------------------------*/

#cookie_bar {
    position: relative;
    z-index: 4000;
    padding-top: 7px;
    width: 100%;
    min-height: 49px;
    text-align: center;
    font-size: 14px;
    line-height: 34px;
}

    #cookie_bar .cookie_prompt {
        margin-right: 30px;
    }

    #cookie_bar .coloured-button {
        margin-top: 0;
        padding: 0 20px;
    }

/*-----------------------------------------------------------------------------------------------*/

#header {
    padding: 20px 0px;
}

    #header .container {
        position: relative;
        text-align: right;
    }

    #header .logo {
        display: block;
        float: left;
        line-height: 0px;
    }

        #header .logo img {
            max-height: 75px;
        }

    /*#header .follow-us {
    display: inline-block;
    margin-bottom: 25px;
    padding: 5px 40px 5px 0px;
    color: #000000;
    font-size: 1rem;
    line-height: normal;
    background-image: url("../../images/facebook_icon.png");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
}*/

    #header .header-social {
        display: inline-block;
        margin: 0 0 25px;
        color: #000;
        font-size: 1rem;
        line-height: normal;
    }

        #header .header-social .social {
            display: inline-block;
            margin: 0 0 0 2px;
            opacity: 1;
            transition: linear opacity 0.3s;
        }

            #header .header-social .social:hover {
                opacity: 0.7;
            }

            #header .header-social .social img {
                width: 30px;
                height: 30px;
            }

    #header .header-actions a.contact {
        position: relative;
        display: inline-block;
        color: #0c265d;
        top: 3px;
        margin: 0 15px 0 0;
        font-size: 1.5em;
        text-decoration: none;
        transition: opacity ease 0.2s;
        -webkit-transition: opacity ease 0.2s;
        -moz-transition: opacity ease 0.2s;
        -o-transition: opacity ease 0.2s;
    }

        #header .header-actions a.contact:hover {
            opacity: 0.8;
        }

    /* #header .header-actions a.book-now,
    #header .header-actions a.log-in {
        display: inline-block;
        padding: 10px 40px;
        color: #FFFFFF;
        text-align: center;
        text-decoration: none;
        font-size: 1rem;
        line-height: 1em;
        border-radius: 10px;
        transition: background-color ease 0.2s;
        -webkit-transition: background-color ease 0.2s;
        -moz-transition: background-color ease 0.2s;
        -o-transition: background-color ease 0.2s;
    }

    #header .header-actions a.book-now {
        background-color: #BD3E96;
    }

        #header .header-actions a.book-now:hover {
            background-color: #9D1E76;
        }*/

    #header .header-actions a.log-in {
        background-color: #3FA3DD;
    }

        #header .header-actions a.log-in:hover {
            background-color: #166FA3;
        }

    #header .header-actions a.open-search {
        display: inline-block;
        margin-left: 20px;
        text-decoration: none;
    }

        #header .header-actions a.open-search:hover {
            filter: brightness(.8);
        }

    #header .header-actions .tooltip-arrow {
        border-bottom-color: #7D0056;
    }

    #header .header-actions .tooltip-inner {
        background-color: #7D0056;
    }

.page_home .hidden-print + #content {
    margin-top: 0;
    border-top: 30px solid var(--purple);
    padding-bottom: 25px;
}

#content {
    padding-top: 50px;
    padding-bottom: 60px;
}

body:not(.master_congress):not(.cke_editable) {
    background: url(../../images/adi_bg.png) center bottom no-repeat;
    background-size: 100% auto;
}

/*-----------------------------------------------------------------------------------------------*/

.intro_area_cols {
    padding: 15px 0;
}

.intro_area_img {
    margin-bottom: 15px;
}

    .intro_area_img img {
        height: 240px;
        object-fit: cover;
    }

.intro_area_txt h1,
.intro_area_txt h2,
.intro_area_txt h3 {
    color: var(--purple);
    font-size: 1.8em;
    font-weight: 700;
}

.events_area_cols {
    padding: 30px 0;
}

.events_col {
    padding-bottom: 60px;
}

.facebook_col {
    border-left: 1px solid #c6c6c6;
    padding-bottom: 60px;
}

.facebook_col_heading {
    font-size: 1.8em;
    color: #39549f;
    font-family: "Josefin Sans";
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
}

/*-----------------------------------------------------------------------------------------------*/

.lower_banner {
    position: relative;
    left: 0;
    height: 250px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-bottom: 30px solid var(--purple);
}

    .lower_banner .container {
        position: relative;
        height: 100%;
        text-align: center;
    }

        .lower_banner .container h1,
        .lower_banner .container p,
        .lower_banner .container span {
            position: absolute;
            display: block;
            margin: 0px;
            padding: 8px 15px;
            left: 15px;
            bottom: 15px;
            max-width: 90%;
            font-weight: normal;
        }

    .lower_banner .image_upload_instructions {
        margin-top: 100px;
        z-index: 999;
    }

/* make checkboxes display in a column on https://www.adi.org.uk/new_member_feedback.aspx */
.page_new_member_feedback .checkboxes label {
    padding-right: 0;
}

    .page_new_member_feedback .checkboxes label::after {
        content: '';
        display: block;
    }

/*-----------------------------------------------------------------------------------------------*/

.breadcrumb {
    padding: 0px;
    font-family: "Josefin Sans";
    background-color: transparent;
    text-transform: uppercase;
    margin-bottom: 30px;
}

    .breadcrumb > li + li:before {
        position: relative;
        top: -2px;
        color: var(--green);
        content: "|";
        padding: 0px 12px 0px 10px;
    }

    .breadcrumb > .active {
        color: #000000;
    }

    .breadcrumb > li > a {
        font-weight: bold;
    }
/*-----------------------------------------------------------------------------------------------*/
.expandable {
    clear: both;
    margin-bottom: 15px;
}

.expandable_heading .expandable_title {
    margin: 0px;
    text-align: center;
}

    .expandable_heading .expandable_title a {
        display: block;
        padding: 10px;
        color: inherit !important;
        text-decoration: none;
    }

        .expandable_heading .expandable_title a.collapsed {
            background: none;
        }

            .expandable_heading .expandable_title a,
            .expandable_heading .expandable_title a.collapsed:hover {
                background: transparent url("../../images/rgba0-0-0-0.2.png");
                background: rgba(0, 0, 0, 0.2);
            }

    .expandable_heading .expandable_title .glyphicon {
        float: right;
        transition: transform 0.5s;
        transform: rotate(180deg);
    }

    .expandable_heading .expandable_title .collapsed .glyphicon {
        transform: rotate(0deg);
    }

.expandable_collapse {
    overflow: hidden;
}

.expandable_body {
    padding: 15px;
    font-size: 0.9em;
}

    .expandable_body h3.media-heading a {
        color: #000000;
    }

/*--------------------------------------------*/

.editable_expandable {
    clear: both;
    margin: 15px 0px;
}

    .editable_expandable .expandable_heading {
        background: #F1F1F1 !important;
        color: #444444 !important;
    }

    .editable_expandable .expandable_title {
        padding: 10px;
    }

        .editable_expandable .expandable_title a {
            margin: -10px;
            padding: 20px;
        }

.expandable_title h1,
.expandable_title h2,
.expandable_title h3,
.expandable_title h4,
.expandable_title h5,
.expandable_title h6,
.expandable_title p {
    margin: 0;
}

.editable_expandable .expandable_title {
    text-align: left;
}

.editable_expandable .expandable_body {
    font-size: 1em;
}

    .editable_expandable .expandable_body > :first-child {
        margin-top: 0px;
    }

    .category_description {
        font-weight: 700;
    }

/*--------------------------------------------*/

.master_lower .editable_expandable .expandable_heading,
.lmeditor_inline .editable_expandable .expandable_heading {
    padding: 0px;
}

.master_lower .editable_expandable .expandable_body,
.lmeditor_inline .editable_expandable .expandable_body {
    border: none;
}

.editable_expandable.white .expandable_heading {
    background: #fff !important;
    border: 1px solid #f1f1f1;
}

.editable_expandable.magenta .expandable_heading {
    background: var(--violet) !important;
    color: #fff !important;
}

.editable_expandable.magenta .expandable_body {
    border-color: var(--pink);
}

/*-----------------------------------------------------------------------------------------------*/

.congress_notice {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 999;
}

.congress_notice_pane {
    position: relative;
    padding: 30px;
    color: #000;
    display: inline-block;
    background-color: #fff;
    transform: translate(0, -50%);
    top: 50%;
    max-width: 600px;
}

    .congress_notice_pane .congress_notice_close {
        position: absolute;
        display: inline-block;
        top: 5px;
        right: 15px;
        font-size: 2em;
        cursor: pointer;
    }

    .congress_notice_pane img {
        max-width: 515px;
    }

    .congress_notice_pane span {
        display: block;
        font-size: 1.5em;
        line-height: 1.2em;
        font-family: "neo-sans","Open Sans",Helvetica,Arial,Sans-Serif;
    }

        .congress_notice_pane span.pink {
            color: #BD3E96;
        }

        .congress_notice_pane span + span {
            margin-top: 10px;
        }

/*-----------------------------------------------------------------------------------------------*/

#footer #back-to-top {
    cursor: pointer;
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translate(-50%);
    padding: 8px 10px 9px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 2em;
    background-color: var(--violet);
    transition: background-color ease 0.2s;
    -webkit-transition: background-color ease 0.2s;
    -moz-transition: background-color ease 0.2s;
    -o-transition: background-color ease 0.2s;
}

    #footer #back-to-top:hover {
        background-color: var(--blue);
    }

    #footer #back-to-top.show {
        opacity: 1;
    }

/*-----------------------------------------------------------------------------------------------*/

#footer {
    position: relative;
    /* margin-top: 60px;*/
    padding: 60px 0px 30px;
    color: #ffffff;
    font-size: 0.75em;
    background: url(../../images/adi_footer.png) bottom right no-repeat;
    background-color: var(--blue);
}

.page_home #footer {
    /* margin-top: 25px;*/
}

#footer .footer_separator {
    padding: 0px 4px;
    color: #3CA4DC;
    font-weight: bold;
}

#footer a {
    font-family: "Josefin Sans";
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
}

    #footer a:hover {
        opacity: .7;
    }

    #footer a.arrow_btn {
        color: #fff !important;
    }

#footer .contact {
    text-align: right;
}
