/*-----  Layout Changes  -----*/

#branding {
    padding: 25px 0 15px 5px;
    display: table-cell;
    vertical-align: middle;
}
.region-header {
    padding: 25px 0 15px 0;
    display: table-cell;
    vertical-align: middle;
}
#main-content, .block-inner, .pane-inner, .menu-wrapper, .branding-elements, .breadcrumb-wrapper, .attribution, .at-panel .rounded-corner, .block-panels-mini > .block-title, div.messages {
    margin-left: 5px;
    margin-right: 5px;
}
.content-margin {
    margin: 0;
}

#content-wrapper #content-column {
    margin-top: 0;
    padding-top: 60px;
}

@media only screen and (min-width:1200px) {
    .container {width:100%;max-width:1200px !important}
}

@media only screen and (max-width:1160px) {
    #branding {
        width: 45%;
    }
}

@media only screen and (max-width:770px) { 
    #branding {
        padding: 10px 0 10px 5px;
        display: block;
        width: 100%;
    }
    .region-header {
        padding: 10px 0;
        display: block;
        text-align: center;
    }
    .region-header .block {
        float: none;
    }
    
    .site-name-hidden #logo, .site-name-hidden #branding .h-group {
        text-align: center;
    }
    
}

@media only screen and (max-width:500px) { 
    #branding {
        padding: 10px 0 10px 5px;
        display: block;
    }
    .region-header {
        padding: 10px 0;
        display: block;
        text-align: center;
    }
    .region-header .block {
        float: none;
    }
}


/*-----  Theme Branding Changes  -----*/

#header-wrapper {
    border-top: 10px solid #004292;
}
#header-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    background: url(../images/colour-bar.svg)no-repeat; 
    background-size: cover;
    border-bottom: 1px solid #fff;
}

a, a.active, li a.active {
    color: #111111;
    text-decoration: underline;
}
a:hover, a.active:hover, li a.active:hover {
    color: #1b468e;
}

.block h2, h2, h2 a {
    color: #111111;
    text-decoration: none;
}

.not-logged-in #messages-help-wrapper {
    display: none;
}

h1#page-title {
    padding-bottom: 15px;
    border-bottom: 1px solid #99ccff;
    margin-bottom: 10px;
}


/*-----  System Message Styles  -----*/

#messages-help-wrapper {
    padding-top: 40px;
}
#messages {
    margin: 0;
}

#block-views-staff-alerts-block .views-row p {
    margin-bottom: 0;
}


/*-----  Homepage Styles  -----*/

.front #content-wrapper .content-style {
    border: none;
    padding: 0;
    background: none;
}

.front #page-title,
.front #block-system-main {
    display: none;
}

.front #content-wrapper {
    background: url(../images/home-bg.jpg) no-repeat top center;
    background-size: contain;
}


/*-----  Homepage Welcome Styles  -----*/

#block-views-home-featured-block-1 {
    text-align: center;
    margin: 15px 0 70px;
}

#block-views-home-featured-block-1 .block-title {
    display: none;
}

#block-views-home-featured-block-1 h1 {
    font-size: 56px;
    line-height: 1em;
}

#block-views-home-featured-block-1 h2 {
    font-size: 36px;
    line-height: 1em;
    margin-bottom: 40px;
}

#block-views-home-featured-block-1 p {
    font-size: 18px;
    margin: 0 auto 40px;
    max-width: 860px;
}

#block-views-home-featured-block-1 p a, #block-latest-stories-all-stories-button {
    display: inline-block;
    margin: 0 10px 10px;
    padding: 10px 40px;
    min-width: 130px;
    border-radius: 4px;
    background: #1b468e;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
}
#block-views-home-featured-block-1 p a:hover, #block-latest-stories-all-stories-button:hover {
    background: #ee1d53;
}
#block-latest-stories-all-stories-button {
    margin: 10px 0;
    text-align: center;
    font-size: 18px;
}

@media only screen and (max-width:640px) {
    #block-views-home-featured-block-1 h1 {
        font-size: 36px;
    }
    #block-views-home-featured-block-1 h2 {
        font-size: 24px;    
    }
    #block-views-home-featured-block-1 p, #block-latest-stories-all-stories-button {
        font-size: 16px;
    }
}


/*-----  Homepage Featured Story Styles  -----*/

#views_slideshow_cycle_div_home_featured-block_1_0,
#views_slideshow_cycle_div_home_featured-block_1_1,
#views_slideshow_cycle_div_home_featured-block_1_2,
#views_slideshow_cycle_div_home_featured-block_1_3,
#views_slideshow_cycle_div_home_featured-block_1_4 {
    width: 100%;
}

#block-views-home-featured-block {
    width: 100%;
    margin-bottom: 60px;
    background: #fff;    
    border: 1px solid #2c8ccc;
    vertical-align: top;
}

#block-views-home-featured-block .views-slideshow-cycle-main-frame-row-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-height: 445px;
    overflow: hidden;
}
#block-views-home-featured-block .views-field-field-featured-image {
    flex: 50%;
    max-width: 50%;
}
#block-views-home-featured-block .views-field-nothing {
    flex: 50%;
    max-width: 50%;
}

#block-views-home-featured-block .views-field-nothing .more-link {
    padding-left: 8px;   
}

#block-views-home-featured-block .views-field-field-featured-image {
    width: auto;
    max-width: 600px;
    max-height: 450px;
    border-right: 1px solid #2c8ccc;
}

#block-views-home-featured-block h2 {
    margin: 0 40px 10px;
    padding: 35px 0 20px;
    border-bottom: 1px solid #1b468e;
}

#block-views-home-featured-block p {
    margin: 0 40px 40px;
}

#block-views-home-featured-block .post-meta {
    font-size: 14px;
}

#block-views-home-featured-block .block-title {
    display: block;
    float: left;
    position: relative;
    z-index: 100;
    margin: 40px 0 0 0;
    padding: 10px 40px;
    border-radius: 0 4px 4px 0;
    background: #1b468e;
    color: #fff;
    font-size: 20px;
    text-transform: none;
}

@media only screen and (max-width:1200px) {
    #block-views-home-featured-block .views-field-field-featured-image {
        width: auto;
        height: 100%;
        max-width: 600px;
        max-height: none;
        overflow: hidden;
        border-right: 1px solid #2c8ccc;
    }
}


@media only screen and (max-width:960px) {
    
    #block-views-home-featured-block {
        margin-bottom: 80px
    }
    
    #block-views-home-featured-block .views-slideshow-cycle-main-frame-row-item {
        display: block;
        max-height: none;
    }
    
    #block-views-home-featured-block .views-field-field-featured-image {
        display: block;
        float: left;
        position: relative;
        width: 100%;
        max-width: 100%;
        max-height: none;
        flex: none;
        border: none;
    }
    
    #block-views-home-featured-block .views-field-field-featured-image img {
        width: 100%;
    }
    
    #block-views-home-featured-block .views-field-nothing {
        display: block;
        float: left;
        clear: left;
        position: relative;
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    #block-views-home-featured-block h2 {
        margin: 0 20px 10px;
        padding: 20px 0 20px;
        border-bottom: 1px solid #1b468e;
    }
    #block-views-home-featured-block p {
        margin: 0 20px 40px;
    }
    #block-views-home-featured-block .block-title {
        margin: 10px 0 0 0;
        font-size: 18px;
    }
}


/*-----  Homepage Featured Story Pagination Styles  -----*/

#block-views-home-featured-block .views-slideshow-controls-bottom {
    flex: 50%;
    width: 100%;
    max-width: 50%;
    float: right;
    text-align: center;
    margin-top: -60px;
    position: relative;
    z-index: 100;
}

#block-views-home-featured-block #views_slideshow_controls_text_previous_home_featured-block_1 {
    margin-right: 60px
}

#block-views-home-featured-block #views_slideshow_controls_text_previous_home_featured-block_1 ,
#block-views-home-featured-block #views_slideshow_controls_text_next_home_featured-block_1  {
    display: inline-block;
    padding: 6px 10px;
    background: #666666;
    min-width: 80px;
    border-radius: 4px;
    transition: all 0.4s ease;
}
#block-views-home-featured-block #views_slideshow_controls_text_previous_home_featured-block_1:hover,
#block-views-home-featured-block #views_slideshow_controls_text_next_home_featured-block_1:hover {
    text-decoration: none !important;
    background: #ff004f;
}

#block-views-home-featured-block #views_slideshow_controls_text_previous_home_featured-block_1 a,
#block-views-home-featured-block #views_slideshow_controls_text_next_home_featured-block_1 a,
#block-views-home-featured-block #views_slideshow_controls_text_previous_home_featured-block_1 a:hover,
#block-views-home-featured-block #views_slideshow_controls_text_next_home_featured-block_1 a:hover {
    color: #fff;
    text-decoration: none;
}

#block-views-home-featured-block #views_slideshow_controls_text_pause_home_featured-block_1 {
    display: none;
}

#views_slideshow_slide_counter_home_featured-block_1 {
    margin-top: -30px;
}

@media only screen and (max-width:1024px) {
    #block-views-home-featured-block .views-slideshow-controls-bottom {
        margin-top: -40px;
    }
}

@media only screen and (max-width:960px) {
    #block-views-home-featured-block .views-slideshow-controls-bottom {
        display: block;
        flex: none;
        width: 100%;
        max-width: 100%;
        float: left;
        text-align: center;
        margin-top: -50px;
    }
    #block-views-home-featured-block {
        border: none;
    }
}

@media only screen and (max-width:959px) {
    #block-views-home-featured-block .views-slideshow-controls-bottom {
        margin-top: 0px;
        background: #fff;
    }
}


/*-----  Homepage Three Col Block Styles  -----*/

#block-views-home-featured-block-3 {
    text-align: center;
    margin-bottom: 60px;
}

#block-views-home-featured-block-3 .views-row {
    display: inline-block;
    float: left;
    margin-right: 18px;
    margin-bottom: 20px;
    max-width: 381px;
    min-height: 455px;
    text-align: left;
    list-style: none;
    border: 1px solid #2c8ccc;
}
#block-views-home-featured-block-3 .views-row:last-of-type {
    margin-right: 0;
}

#block-views-home-featured-block-3 .views-row h2 {
    padding: 20px 20px 0;
    font-size: 20px;
}

#block-views-home-featured-block-3 .views-row a {
    display: block;
    width: 100%;
    text-align: center;
}
#block-views-home-featured-block-3 .views-row h2 a {
    text-align: left;
}

#block-views-home-featured-block-3 .views-row p {
    padding: 10px 20px 0;
}

#block-views-home-featured-block-3 .views-row .feature-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    margin-top: -8px;
    background: url(../images/colour-bar.svg)no-repeat; 
    background-size: cover;
    border-top: 1px solid #fff;
}

@media only screen and (max-width:1220px) {
    #block-views-home-featured-block-3 .views-row {
        width: 31%;
    }
}

@media only screen and (max-width:690px) {
    #block-views-home-featured-block-3 .views-row {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    #block-views-home-featured-block-3 .views-row a img {
        width: 100%;
    }
}

/*-----  Homepage Latest Stories Styles  -----*/
/*-----  Stories Related Sidebar Styles  -----*/

#block-views-home-featured-block-4 {
    padding-top: 35px;
}

#block-views-home-featured-block-4 .block-title,
#block-views-similarterms-block .block-title {
    text-transform: none;
    font-size: 26px;
    padding-bottom: 20px
}

#block-views-home-featured-block-4 .views-row {
    display: inline-block;
    float: left;
    margin-right: 20px;
    margin-bottom: 60px;
    max-width: 282px;
    min-height: 440px;
}

#block-views-similarterms-block .views-row {
    margin-bottom: 30px;
}

#block-views-home-featured-block-4 .views-row .more-link {
    padding-left: 8px;   
}

#block-views-home-featured-block-4 .views-row-4,
#block-views-home-featured-block-4 .views-row-8 {
    margin-right: 0;
}

#block-views-home-featured-block-4 .views-row-5,
#block-views-home-featured-block-4 .views-row-6,
#block-views-home-featured-block-4 .views-row-7,
#block-views-home-featured-block-4 .views-row-8 {
    margin-bottom: 0;
}

#block-views-home-featured-block-4 h3,
#block-views-similarterms-block h3 {
    margin: 10px 5px 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #99ccff;
    line-height: 1em;
}

#block-views-home-featured-block-4 h3 a,
#block-views-similarterms-block h3 a {
    font-size: 16px;
    text-decoration: none;    
}

#block-views-home-featured-block-4 p,
#block-views-similarterms-block p {
    font-size: 14px;
    margin: 0 5px;
}
#block-views-home-featured-block-4 .post-meta,
#block-views-similarterms-block .post-meta {
    font-size: 12px;
    margin-bottom: 15px;
}

#block-views-home-featured-block-4 img,
#block-views-similarterms-block img {
    border: 1px solid #2c8ccc;
}

#block-views-home-featured-block-4 .view-footer {
    text-align: right;
}

@media only screen and (max-width:1220px) {
    #block-views-home-featured-block-4 .views-row {
        height: 430px;
    }
    
    #block-views-home-featured-block-4 .views-row-5,
    #block-views-home-featured-block-4 .views-row-6,
    #block-views-home-featured-block-4 .views-row-7,
    #block-views-home-featured-block-4 .views-row-8 {
        margin-bottom: 60px;
    }
    
    #block-views-home-featured-block-4 .views-row-4,
    #block-views-home-featured-block-4 .views-row-8 {
        margin-right: 20px;
    }
    
}

@media only screen and (max-width:640px) {
    #block-views-home-featured-block-4 .views-row {
        margin-right: 0;
        margin-bottom: 40px;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #block-views-home-featured-block-4 img, 
    #block-views-similarterms-block img {
        width: 100%;
    }
}


/*-----  Stories/Resources Full List Styles  -----*/

.section-publications-resources h1#page-title,
.page-group-resources h1#page-title {
    margin-bottom: 20px;
}

.view-id-stories .views-row,
.view-id-resources .views-row,
.view-id-staff_resources .views-row,
#block-views-groups-block-2 .view-id-groups .views-row {
    display: block;
    min-height: 260px;
    margin-bottom: 20px;
    padding-bottom: 0;
}
.view-id-resources .views-row,
.view-id-staff_resources .views-row {
    min-height: 70px;
}

.view-group-members .views-row {
    min-height: 1px;
    margin-bottom: 10px;
}


.view-id-stories .views-field-field-featured-image,
#block-views-groups-block-2 .view-id-groups .views-field-field-featured-image {
    display: inline-block;
    float: left;
    max-width: 280px;
    max-height: 210px;
    border: 1px solid #2c8ccc;
}

.view-id-resources .views-field-field-resource-icon {
    display: inline-block;
    float: left;
    max-width: 65px;
    max-height: 65px;
}

.view-id-stories h2,
.view-id-resources h2,
.view-id-staff_resources h2,
#block-views-groups-block-2 .view-id-groups h2 {
    margin: 0 0 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddeeff;
    font-size: 1.2em;
}

.view-id-stories p,
.view-id-staff_resources p,
#block-views-groups-block-2 .view-id-groups p {
    margin-bottom: 40px;
}

.view-id-stories .post-meta,
.view-id-resources .post-meta,
.view-id-staff_resources .post-meta,
#block-views-groups-block-2 .view-id-groups .post-meta {
    font-size: 14px;
    margin-bottom: 20px;
}

.view-id-stories .views-field-nothing,
.view-id-resources .views-field-nothing,
#block-views-groups-block-2 .view-id-groups .views-field-nothing {
    display: inline-block;
    float: left;
    clear: none;
    margin: -210px 0 0 320px;
}
.view-id-resources .views-field-nothing {
    margin: -60px 0 0 70px;
    width: 100%;
    max-width: 750px;
}

.view-id-stories .pager,
.view-id-resources .pager,
.view-id-staff_resources .pager,
#block-views-groups-block-2 .view-id-groups .pager {
    text-align: center;
}

.view-display-id-page_4 .views-field-nothing {
    margin: 0;
}

@media only screen and (max-width:500px) {
    .view-id-stories .views-field-field-featured-image,
    #block-views-groups-block-2 .view-id-groups .views-field-field-featured-image
    .view-id-stories .views-field-nothing,
    .view-id-resources .views-field-nothing,
    #block-views-groups-block-2 .view-id-groups .views-field-nothing {
        display: block;
        float: left;
        clear: left;
        width: 100%;
    }
    .view-id-stories .views-field-nothing,
    .view-id-resources .views-field-nothing,
    #block-views-groups-block-2 .view-id-groups .views-field-nothing {
        margin: 5px 0 20px;
    }
    
}


/*-----  Resources Full List Filter Styles  -----*/

#views-exposed-form-stories-page,
#views-exposed-form-stories-page-1,
#views-exposed-form-stories-page-2,
#views-exposed-form-resources-page-1,
#views-exposed-form-resources-page-2,
#views-exposed-form-resources-page-3 {
    margin-bottom: 4em;
}

.views-exposed-form .form-select {
    border: 1px solid #c4c4c4;
    background-color: #fafafa;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 6px 4px;
    border-radius: 3px;
    box-sizing: border-box;
}


/*-----  Prayers Styles  -----*/

.view-prayers .views-row {
    margin: 25px 0;
    padding: 25px 0;
    border-top: 1px solid #ddeeff;
}
.view-prayers .views-field-field-featured-image {
    float: right;
    margin: 0 0 15px 15px;
}
.view-prayers .views-field-created {
    clear: both;
    font-size: 0.8em;
    text-align: right;
}
.view-prayers .views-field-body iframe {
    margin: 0 0 15px 20px !important;
}


/*-----  Content Styles  -----*/

#content-wrapper .content-style {
    border: none;
    padding: 0 50px 0 0;
    background: none;
}

#content-wrapper #tasks {
    margin: 20px 50px 40px 0;
}
#content-wrapper #tasks ul.primary {
    border: none;
}
#content-wrapper #tasks ul.primary li a {
    border-radius: 4px;
    border-style: solid;
}
#content-wrapper #tasks ul.primary li.active a {
    border: 1px solid #99ccff;
}

#content-wrapper .captcha {
    margin-top: 40px;
}

#content-wrapper .field-name-body figure.image {
    margin: 20px;
    padding: 5px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    text-align: center;
}
#content-wrapper .field-name-body figure.image figcaption {
    font-size: 16px;
    font-style: italic;
    padding: 8px 0 10px;
}

/*#content-wrapper .field-name-body figure br {
    display: none;
}*/

#content-wrapper .field-name-body p img {
    margin: 20px;    
}

#content-wrapper nav.clearfix {
    clear: both;
}

#content-wrapper th, 
#content-wrapper td, 
#content-wrapper thead, 
#content-wrapper thead th {
    border: 1px solid #ccc;
    
}

.node-header {
    margin-bottom: 60px;
}


@media only screen and (max-width:770px) {
    #content-wrapper .content-style {
        padding: 0;
    }
}


/*-----  Content Story Styles  -----*/

#content-wrapper .submitted {
    margin: 0 0 30px 0;
    padding-top: 10px;
    font-size: 14px;
}

.node-type-stories h1#page-title,
/* .node-type-staff-resources h1#page-title, */
.node-type-resources h1#page-title {
    margin-bottom: 10px;
} 

#content-wrapper .field-name-field-featured-image {
    float: right;
    clear: both;
    margin-left: 40px;
    margin-bottom: 0;
}

#content-wrapper .field-name-field-featured-caption {
    display: block;
    float: right;
    clear: right;
    width: 358px;
    margin: -45px 0 40px 40px;
    padding: 10px 15px 15px;
    border: 1px solid #E0E0E0;
    border-top: none;
    border-radius: 0 0 4px 4px;
    font-size: 16px;
    font-style: italic;
    text-align: center;
    background: #fff;
}
#content-wrapper .field-name-field-featured-caption p {
    margin-bottom: 0;
}


#content-wrapper .ia-n .field-type-image figure {
    padding: 0;
}

#content-wrapper .field-name-field-featured-image img {
    box-sizing: border-box;
    border: 1px solid #E0E0E0;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 40px;
    background: #fff;
}

.node-type-stories .flickr-embed-frame {
    margin: 0 40px 20px !important;
}



/*#content-wrapper .field-name-field-category,
#content-wrapper .field-name-field-group-section {
    display: none;
}*/

@media only screen and (max-width:600px) {
    #content-wrapper .field-name-field-featured-image {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    #content-wrapper .field-name-field-featured-caption {
        display: block;
        float: none;
        clear: right;
        width: 358px;
        margin: -45px auto 40px;
    }
}

@media only screen and (max-width:600px) {
    #content-wrapper .field-name-field-featured-caption {
        width: 90%;
        border: none;
        margin-top:-40px;
    }     
}


/*-----  Content Resource Styles  -----*/

#content-wrapper .field-name-field-resource-type {
    display: none;
}

#content-wrapper .field-name-field-video-embed {
    margin-bottom: 40px;
}

#content-wrapper .field-name-field-video-embed .video-embed-description {
    text-align: center;
}

.field-name-field-upload-resources .field-item {
    float: left;
    margin: 0 8px 8px 0;
    padding: 2px;
    border: 1px solid #99ccff;
    border-radius: 6px;
}

.node-resources .node-content > * {
    clear: both;
}

/*-----  Content Sidebar Styles  -----*/

#content-wrapper .sidebar {
    margin-top: 60px;
}


#content-wrapper .sidebar .block-inner {
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #99ccff;
}

#content-wrapper .sidebar .block-title:after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: url(../images/colour-bar.svg)no-repeat; 
    background-size: cover;
    border-top: 1px solid #fff;
}


/*-----  Content Sidebar Menu Styles  -----*/

#content-wrapper .sidebar #block-menu-block-3 li,
#content-wrapper .sidebar #block-book-navigation li {
    margin: 8px 0;
}

#content-wrapper .sidebar #block-menu-block-3 a,
#content-wrapper .sidebar #block-book-navigation a {
    text-decoration: none;
}
#content-wrapper .sidebar #block-menu-block-3 a:hover,
#content-wrapper .sidebar #block-book-navigation a:hover,
#content-wrapper .sidebar #block-menu-block-3 a.active,
#content-wrapper .sidebar #block-book-navigation a.active {
    text-decoration: underline;
}


/*-----  Groups Header Styles  -----*/

.region-highlighted .block {
    margin: 0;
}

.region-highlighted .region-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.region-highlighted .views-field-field-group-logo {
    float: left;
    padding-right: 40px;
    margin: 20px 40px 20px 0;
    height: 130px;
    border-right: 1px solid #ccc;
}

.region-highlighted .views-field-field-background-image {
    display: block;
    float: right;
    height: 170px;
    width: 450px;
}

.region-highlighted .views-field-nothing h2 a {
    text-decoration: none;
}

.region-highlighted .views-row {
    display: table;
}
.region-highlighted .views-field-nothing {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 2;
	max-width: 580px;
}

.node-type-group #page-title {
    display: none;
}

.region-highlighted::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: url(../images/colour-bar.svg)no-repeat; 
    background-size: cover;
    border-bottom: 1px solid #fff;
}

@media only screen and (max-width:900px) {
    .region-highlighted .views-field-field-background-image {
        display: none;
    }
}


/*-----  Front End Content Entry Styles  -----*/

#edit-body-und-0-format {
    display: none;
}

#stories-node-form label {
    font-weight: bold;
    font-size: 18px;
    padding-top: 10px;
}


/*-----  Content Footer Styles  -----*/

#content-wrapper {
    margin-bottom: 0;
    background: url(../images/content-top-bg.jpg) no-repeat top center;
    background-size: auto;
    background-size: contain;
}

#content-wrapper::after {
    content: "";
    display: block;
    width: 100%;
    height: 150px;
    background: url(../images/content-bg.jpg)no-repeat bottom center; 
      background-size: cover;
    border-bottom: 1px solid #fff;
}

#content-wrapper #block-addtoany-addtoany-button {
    margin: 20px 50px 0 0;
    padding-top: 20px;
    border-top: 1px solid #99ccff;
}

@media only screen and (max-width:770px) {
    #content-wrapper #block-addtoany-addtoany-button {
        margin: 20px 0 0 0;
    }
}


/*-----  Opengraph Styles  -----*/

.opengraph-filter {
    display: block;
    clear: both;
    margin: 5px 0;
}
/* hide on block displays */
.block-views .views-field-body .opengraph-filter,
.block-views .views-field-body .opengraph-filter-title {
    display: none;
}
/* hide on flagged pages 
 * however, mwc declined this feature, so commenting out... 
 * to re-enable, uncomment this block and use field_no_link_preview fields on content types
 */
/*
.opengraph-filter-suppress .opengraph-filter,
.opengraph-filter-suppress .opengraph-filter-title {
    display: none;
}
*/
.opengraph-filter-title {
    display: inline-block;
    float: left;
    clear: both;
    margin-top: 40px;
    text-transform: none;
}


/*-----  Intersted In Styles  -----*/

#block-views-similarterms-block-2 .block-title {
    text-transform: none;
}

#block-views-similarterms-block-2 .views-row {
    display: inline-block;
    background-color: #F6F6F2;
    border: 1px solid #F9F9F9;
    padding: 1em;
    margin: 5px 0 0;
}

#block-views-similarterms-block-2 .field-content {
    display: table;
}
#block-views-similarterms-block-2 .field-content div:first-of-type,
#block-views-similarterms-block-2 .field-content div:last-of-type {
    display: table-cell;
    margin-right: 20px;
    min-width: 100px;
    min-height: 85px;
    vertical-align: top;
}
#block-views-similarterms-block-2 .field-content div:last-of-type {
    margin-right: 0;
}    

#block-views-similarterms-block-2 .field-content h3 {
    font-size: 1em;
}
#block-views-similarterms-block-2 .field-content h3 a {
    color: #3b3b3b;
    text-decoration: none;
    font-size: 16px;
}

#block-views-similarterms-block-2 .field-content .post-meta {
    font-size: 14px;
    margin-bottom: 5px;
}

#block-views-similarterms-block-2 .field-content p {
    margin-bottom: 0;
}


/*-----  Social Links Footer Styles  -----*/

#social-content-wrapper {
    text-align: center;
}
#social-content-wrapper p {
    margin-bottom: 0;
}

#social-content-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: url(../images/colour-bar.svg)no-repeat; 
      background-size: cover;
    border-bottom: 1px solid #fff;
}

#social-content-wrapper .views-row {
    display: block;
    max-width: 900px;
    margin: 30px auto 0;
}

#social-content-wrapper .views-field-title-field {
    display: inline-block;
    float: left;
    padding: 10px 28px 0 0;
}

#social-content-wrapper .views-field-body a {
    display: inline-block;
    margin: 5px 7px 15px;
    height: 60px;
    width: 60px;
    text-indent: -9999em;
    overflow: hidden;
    border-radius: 500px;
    background: #1b468e url(../images/social-ico-lg.png)no-repeat;
    transition: all 0.4s ease;
}
#social-content-wrapper .views-field-body a:hover {
    background-color: #ee1d53;
}

#social-content-wrapper .views-field-body .ico-fb {
    background-position: left 22px center;
}
#social-content-wrapper .views-field-body .ico-tw {
    background-position: left -58px center;
}
#social-content-wrapper .views-field-body .ico-ig {
    background-position: left -138px center;
}
#social-content-wrapper .views-field-body .ico-fr {
    background-position: left -219px center;
}
#social-content-wrapper .views-field-body .ico-yt {
    background-position: left -300px center;
}

#social-content-wrapper .views-field-edit-node {
    clear: both;
}

.lang-es #social-content-wrapper .views-field-title-field {
    display: inline-block;
    float: none;
    padding: 10px 0 0 0;
}

.lang-es #social-content-wrapper .social-long {
    display: block;
    clear: left;
}

@media only screen and (max-width:960px) {
    #social-content-wrapper .views-field-title {
        display: inline-block;
        float: left;
        width: 100%;
        padding: 10px 0 0 0;
    }
    
}


/*-----  Social Embed Footer Styles  -----*/

#social-content-wrapper #block-instagram-block-instagram-block,
#social-content-wrapper #block-block-8, /* instagram */
#social-content-wrapper #block-block-3, /* twitter */
#social-content-wrapper #block-fb-likebox-0 {
    display: inline-block;
    float: left;
    clear: none;
    margin: 0 0 30px;
    margin-right: 26px;
    width: 100%;
    max-width: 380px;
    text-align: left;
}

#social-content-wrapper #block-block-3 {

}

#social-content-wrapper #block-fb-likebox-0 {
    margin-right: 0;
}

#social-content-wrapper #block-instagram-block-instagram-block .block-inner,
#social-content-wrapper #block-block-3 .block-inner,
#social-content-wrapper #block-fb-likebox-0 .block-inner {
    margin: 0;
}

#social-content-wrapper #block-fb-likebox-0 blockquote {
    padding: 0;
    margin: 0;
}

#social-content-wrapper #block-instagram-block-instagram-block .block-title,
#social-content-wrapper #block-block-3 .block-title,
#social-content-wrapper #block-block-8 .block-title,
#social-content-wrapper #block-fb-likebox-0 .block-title {
    text-transform: none;
    font-size: 20px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1b468e;
}


/*-----  Tertiary Footer Styles  -----*/

#tertiary-content-wrapper {
    margin-bottom: 0;
    background:#b0d0e6 url(../images/footer-bg.jpg)no-repeat top center;
}

#tertiary-content-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: url(../images/colour-bar.svg)no-repeat; 
      background-size: cover;
    border-bottom: 1px solid #fff;
}


/*-----  Tertiary Footer Menu  -----*/

#tertiary-content-wrapper #block-menu-block-2 {
    display: inline-block;
    float: left;
    margin: 50px 0 45px;
    width: 65%;
}

#tertiary-content-wrapper #block-menu-block-2 .menu-depth-1 {
    display: inline-block;
    float: left;
    margin-right: 60px;
}

#tertiary-content-wrapper #block-menu-block-2 a {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #002570;
    text-decoration: none;
    line-height: 1.8em;
}
#tertiary-content-wrapper #block-menu-block-2 a:hover {
    text-decoration: underline;
}

#tertiary-content-wrapper #block-menu-block-2 ul ul a {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: normal;
}

#tertiary-content-wrapper #block-menu-block-2 ul ul {
    margin-left: 0;
}

#tertiary-content-wrapper #block-menu-block-2 .last {
    display: none;
}

#tertiary-content-wrapper #block-menu-block-2 ul ul li,
#tertiary-content-wrapper #block-menu-block-2 ul ul .last {
    display: block;
}

@media only screen and (max-width:1060px) {
    #tertiary-content-wrapper #block-menu-block-2 {
        width: 100%;
    }
}

@media only screen and (max-width:700px) {
    #tertiary-content-wrapper #block-menu-block-2 .menu-depth-1 {
        clear: left;
        margin-top: 40px;
    }
}


/*-----  Tertiary Newsletter Block  -----*/

#tertiary-content-wrapper #block-views-home-featured-block-2 {
    display: inline-block;
    float: right;
    clear: none;
    margin: 50px 0 45px;
    width: 35%;
}

#tertiary-content-wrapper #block-views-home-featured-block-2 h2 {
    display: block;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #002570;
    text-decoration: none;
    line-height: 1.8em;
}
#tertiary-content-wrapper #block-views-home-featured-block-2 p {
    margin-bottom: 40px;
    font-size: 16px;
    color: #002570;
}
#tertiary-content-wrapper #block-views-home-featured-block-2 p:last-of-type {
    margin-bottom: 10px;
}

#tertiary-content-wrapper #block-views-home-featured-block-2 p a {
    padding: 10px 40px;
    border-radius: 4px;
    background: #1b468e;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
}
#tertiary-content-wrapper #block-views-home-featured-block-2 p a:hover {
    background: #ee1d53;
}

@media only screen and (max-width:1060px) {
    #tertiary-content-wrapper #block-views-home-featured-block-2 {
        float: left;
        clear: left;
        margin: 0 0 60px 0;
        width: 100%;
    }
}


/*-----  Copyright Footer Styles  -----*/

#footer-wrapper {
    background: #1b468e;
    border-top: 1px solid #fff;
    padding: 15px 0 0;
}

#footer-wrapper #block-block-1 {
    display: inline-block;
    float: right;
    color: #fff;
    font-size: 12px;
    vertical-align: top;
    margin: 10px 0 0;
}
#footer-wrapper #block-block-1 p {
    display: inline-block;
    margin-left: 20px;
}
#footer-wrapper #block-block-1 p:last-of-type {
    float: right;
    margin-top: -2px;
}

#footer-wrapper #block-menu-block-1 {
    display: inline-block;
    float: left;
    clear: none;
    margin-bottom: 0;
}

#footer-wrapper #block-menu-block-1 li {
    display: inline-block;
    float: left;
    margin-right: 20px;
}

#footer-wrapper #block-menu-block-1 li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
#footer-wrapper #block-menu-block-1 li a:hover {
    text-decoration: underline;
    color: #fff;
}

#footer-wrapper .attribute-creator {
    display: none;
}

@media only screen and (max-width:960px) {
    #footer-wrapper #block-block-1 {
        display: block;
        float: none;
        width: 100%;
        text-align: center;
    }
    #footer-wrapper #block-block-1 p {
        display: inline-block;
        vertical-align: middle;
        margin: 0 5px;
    }
    #footer-wrapper #block-block-1 p:last-of-type {
        float: none;
        margin: 0 5px;
    }
        
    #footer-wrapper #block-menu-block-1 {
        display: block;
        float: none;
        width: 100%;
        text-align: center;
    }
    #footer-wrapper #block-menu-block-1 ul.menu {
        text-align: center;
    }
    #footer-wrapper #block-menu-block-1 li {
        display: inline-block;
        float: none;
        margin-right: 20px;
    }
    
}


/*-----  Main Menu  -----*/

.rct-6 .nav .block-menu li a, .rct-6 #menu-bar li.sf-depth-1, .rct-6 #menu-bar li.sf-depth-1 > a, .rct-6 .region-header .block ul.menu > li, .rct-6 .region-header .block ul.menu > li > a {
    border-radius: 0;
    text-transform: none;
}
.region-header .block-menu li a, .region-header .sf-depth-1 > a {
    border-bottom: none;
}

.region-header .block-superfish {
    margin-top: 20px;
}

.block-superfish,
.block-superfish .content {
  overflow: visible !important;
  width: 100%;
}
.sf-menu.sf-style-simple {
  float: right;
  margin: 0;
  padding: 0;
}
.sf-menu.sf-style-simple a > .sf-sub-indicator,
.sf-menu.sf-style-simple span.nolink > .sf-sub-indicator {
  top: 0.9em;
}
.sf-menu.sf-style-simple.sf-vertical a > .sf-sub-indicator,
.sf-menu.sf-style-simple.sf-vertical span.nolink > .sf-sub-indicator {
  top: 1.1em;
}
.sf-menu.sf-style-simple li li .sf-sub-indicator,
.sf-menu.sf-style-simple li li a > .sf-sub-indicator,
.sf-menu.sf-style-simple li li span.nolink > .sf-sub-indicator {
  top: 1.1em;
}
.sf-menu.sf-style-simple .sf-sub-indicator {
    right: 15px;
}

.sf-menu.sf-style-simple ul {
    padding-left: 0;
    width: 15em;
    border-bottom: 1px solid #e0e0e0;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
}
.sf-menu.sf-style-simple.rtl ul {
    padding-left: auto;
    padding-right: 0;
}
.sf-menu.sf-style-simple.sf-horizontal.sf-shadow ul,
.sf-menu.sf-style-simple.sf-vertical.sf-shadow ul,
.sf-menu.sf-style-simple.sf-navbar.sf-shadow ul ul {
    padding: 0 8px 7px 0 !important;
    border-radius: 0;
}

.sf-menu.sf-style-simple.sf-horizontal li:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal li.sfHover > ul {
  top: 48px;
}
.sf-menu.sf-style-simple.sf-horizontal > li:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal > li.sfHover > ul {
  left: -1px;
}
.sf-menu.sf-style-simple.sf-horizontal li li:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal li li.sfHover > ul,
.sf-menu.sf-style-simple.sf-vertical li:hover > ul,
.sf-menu.sf-style-simple.sf-vertical li.sfHover > ul,
.sf-menu.sf-style-simple.sf-navbar li li li:hover > ul,
.sf-menu.sf-style-simple.sf-navbar li li li.sfHover > ul,
.sf-menu.sf-style-simple.sf-navbar li li li.active-trail ul {
  top: -1px;
}
.sf-menu.sf-style-simple.sf-horizontal > li:first-child:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal > li:first-child.sfHover > ul {
  left: 10px;
}
.sf-menu.sf-style-simple.sf-horizontal.rtl > li:first-child:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal.rtl > li:first-child.sfHover > ul {
  left: auto;
  right: 10px;
}
.sf-menu.sf-style-simple.sf-horizontal li li li:first-child:hover > ul,
.sf-menu.sf-style-simple.sf-horizontal li li li:first-child.sfHover > ul,
.sf-menu.sf-style-simple.sf-vertical li:first-child:hover > ul,
.sf-menu.sf-style-simple.sf-vertical li:first-child.sfHover > ul,
.sf-menu.sf-style-simple.sf-navbar li li li li:first-child:hover > ul,
.sf-menu.sf-style-simple.sf-navbar li li li li:first-child.sfHover > ul {
  top: 10px;
}
.sf-menu.sf-style-simple.sf-navbar > li:hover > ul,
.sf-menu.sf-style-simple.sf-navbar > li.sfHover > ul,
.sf-menu.sf-style-simple.sf-navbar > li.active-trail > ul {
  top: 50px;
}
.sf-menu.sf-style-simple.sf-navbar li li:hover > ul,
.sf-menu.sf-style-simple.sf-navbar li li.sfHover > ul {
  top: 38px;
}
.sf-menu.sf-style-simple a,
.sf-menu.sf-style-simple a:visited,
.sf-menu.sf-style-simple span.nolink {
  color: #202020;
  font: normal 18px Arial, Helvetica, Sans-serif;
  padding: 10px 15px;
  text-decoration: none;
  text-shadow: none;
}
.sf-menu.sf-style-simple span.nolink {
  cursor: default;
}
.sf-menu.sf-style-simple a:focus,
.sf-menu.sf-style-simple a:hover,
.sf-menu.sf-style-simple a:active,
.sf-menu.sf-style-simple li:hover > a,
.sf-menu.sf-style-simple li.sfHover > a,
.sf-menu.sf-style-simple span.nolink:hover,
.sf-menu.sf-style-simple li:hover > span.nolink,
.sf-menu.sf-style-simple li.sfHover > span.nolink {
  color: #222222;
}
.sf-menu.sf-style-simple li li a,
.sf-menu.sf-style-simple.sf-vertical a,
.sf-menu.sf-style-simple li li span.nolink,
.sf-menu.sf-style-simple.sf-vertical span.nolink {
    font-size: 14px;
    text-transform: none;
    padding: 1em 1.5em;
}
.sf-menu.sf-style-simple a.sf-with-ul,
.sf-menu.sf-style-simple span.nolink.sf-with-ul {
  padding-right: 1.6em;
}
.sf-menu.sf-style-simple.rtl a.sf-with-ul,
.sf-menu.sf-style-simple.rtl span.nolink.sf-with-ul {
  padding-left: 3em;
  padding-right: 1.5em;
}
.sf-menu.sf-style-simple span.sf-description {
  color: #666666;
  display: block;
  font-size: 0.8em;
  line-height: 1.5em;
  margin: 5px 0 0 5px;
  padding: 0;
}
.sf-menu.sf-style-simple.sf-horizontal li,
.sf-menu.sf-style-simple.sf-navbar li {
  border: none;
}
.sf-menu.sf-style-simple.sf-horizontal > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li.firstandlast {
  border-left-color: #e0e0e0;
}
.sf-menu.sf-style-simple.sf-navbar li > ul > li {
  border: 0 none;
  border-bottom: 1px solid #e0e0e0;
}
.sf-menu.sf-style-simple.sf-navbar li > ul > li:first-child,
.sf-menu.sf-style-simple.sf-navbar li > ul > li.firstandlast {
  border-left: 1px solid #e0e0e0;
}
.sf-menu.sf-style-simple.sf-navbar li > ul > li:last-child,
.sf-menu.sf-style-simple.sf-navbar li > ul > li.firstandlast {
  border-right: 1px solid #e0e0e0;
}
.sf-menu.sf-style-simple.sf-vertical li,
.sf-menu.sf-style-simple.sf-horizontal li li,
.sf-menu.sf-style-simple.sf-navbar li li li {
  border: 1px solid #e0e0e0;
  border-bottom: 1px solid #fff;
}
.sf-menu.sf-style-simple.sf-vertical li:first-child,
.sf-menu.sf-style-simple.sf-horizontal li li li:first-child,
.sf-menu.sf-style-simple.sf-navbar li li li li:first-child,
.sf-menu.sf-style-simple li ul.sf-megamenu li.sf-megamenu-wrapper {
  border-top-color: #e0e0e0;
}
.sf-menu.sf-style-simple li {
    background: #fff;
    background-image: none;
}
.sf-menu.sf-style-simple li:hover,
.sf-menu.sf-style-simple li.sfHover {
    background: #fefefe;
    background-image: none;
}
.sf-menu.sf-style-simple.sf-horizontal > li:first-child,
.sf-menu.sf-style-simple.sf-horizontal > li:last-child,
.sf-menu.sf-style-simple.sf-horizontal li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-vertical li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-navbar li li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-vertical > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li.firstandlast,
.sf-menu.sf-style-simple.sf-vertical li:last-child,
.sf-menu.sf-style-simple.sf-horizontal li li:last-child,
.sf-menu.sf-style-simple.sf-navbar li li li:last-child,
.sf-menu.sf-style-simple.sf-vertical li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-horizontal li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-navbar li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-vertical.sf-total-items-1 > li:first-child,
.sf-menu.sf-style-simple.sf-horizontal.sf-total-items-1 > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li > ul > li:first-child,
.sf-menu.sf-style-simple.sf-navbar > li > ul > li:last-child,
.sf-menu.sf-style-simple.sf-navbar > li:last-child,
.sf-menu.sf-style-simple.sf-navbar li li li li:first-child,
.sf-menu.sf-style-simple.sf-vertical li li:first-child,
.sf-menu.sf-style-simple.sf-horizontal li li li:first-child,
.sf-menu.sf-style-simple.sf-navbar.rtl > li:first-child,
.sf-menu.sf-style-simple.sf-horizontal.rtl > li:last-child,
.sf-menu.sf-style-simple.sf-horizontal.rtl li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-vertical.rtl li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-navbar.rtl li li li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-horizontal.rtl > li:first-child,
.sf-menu.sf-style-simple.sf-navbar.rtl > li > ul > li:first-child,
.sf-menu.sf-style-simple.sf-navbar.rtl > li:last-child,
.sf-menu.sf-style-simple.sf-navbar.rtl li li li li:first-child,
.sf-menu.sf-style-simple.sf-vertical.rtl li li:first-child,
.sf-menu.sf-style-simple.sf-horizontal.rtl li li li:first-child,
.sf-menu.sf-style-simple.sf-navbar.rtl > li > ul > li:last-child,
.sf-menu.sf-style-simple.sf-vertical.rtl li:last-child,
.sf-menu.sf-style-simple.sf-horizontal.rtl li li:last-child,
.sf-menu.sf-style-simple.sf-navbar.rtl li li li:last-child,
.sf-menu.sf-style-simple.sf-vertical.rtl li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-horizontal.rtl li > ul > li.firstandlast,
.sf-menu.sf-style-simple.sf-navbar.rtl li > ul > li.firstandlast {
    border-radius: 0;
}
div.sf-accordion-toggle.sf-style-simple {
    width: 100%;
}
div.sf-accordion-toggle.sf-style-simple a {
    background: #fff;
    background-image: none;
    width: 100%;
    float: none;
    border: none;
      border-radius: 0;
      color: #202020;
      font: normal 16px Arial, Helvetica, Sans-serif;
      padding: 1em 0 1em;
      text-decoration: none;
      text-shadow: 1px 1px 0 #ffffff;
}
div.sf-accordion-toggle.sf-style-simple a span {
    background-position: left center;
      height: 32px;
      float: left;
      overflow: hidden;
      width: auto;
    line-height: 2em;
      text-indent: 10px;
    padding-left: 32px;
}

div.sf-accordion-toggle.sf-style-simple a.sf-expanded,
.sf-menu.sf-style-simple.sf-accordion li.sf-expanded {
    background: #fefefe;
    background-image: none;
}
.sf-menu.sf-style-simple.sf-accordion li {
    border:none;
    border-bottom: 1px solid #e0e0e0;
}
.sf-menu.sf-style-simple.sf-accordion li li {
      margin-left: 3.9%;
      width: 92%;
}
.sf-menu.sf-style-simple.sf-accordion li ul {
      margin: 10px 0;
    border: 1px solid #e0e0e0;
}
.sf-menu.sf-style-simple.sf-accordion li.sf-clone-parent,
.sf-menu.sf-style-simple.sf-accordion li:first-child,
.sf-menu.sf-style-simple.sf-accordion ul.sf-has-clone-parent > li:first-child,
.sf-menu.sf-style-simple.sf-accordion ul.sf-has-clone-parent > li.firstandlast,
.sf-menu.sf-style-simple.sf-accordion li:last-child,
.sf-menu.sf-style-simple.sf-accordion li.firstandlast {
  border-radius: 0;
}
.sf-menu.sf-style-simple.sf-accordion li a.sf-accordion-button {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 499;
}
.sf-menu.sf-style-simple.sf-accordion li.sf-expanded > a.sf-accordion-button {
  color: #777;
}

.sf-menu.sf-style-simple li.last a {
    background: #ff004f;
    border-radius: 4px !important;
    color: #fff;
    margin-left: 15px;
    transition: all 0.4s ease;
}
.sf-menu.sf-style-simple li.last a:hover {
    background: #1b468e;
}
.sf-menu.sf-style-simple .sf-depth-1 li.last a {
    background: #fff;
    border-radius: 0 !important;
    color: #202020;
    margin-left: 0;
}
.sf-menu li li:hover > ul,
.sf-menu li li.sfHover > ul {
  left: 15em;
  top: 0;
}

@media only screen and (max-width:1120px) {
    .sf-menu.sf-style-simple a, .sf-menu.sf-style-simple a:visited, .sf-menu.sf-style-simple span.nolink {
        font-size: 16px;
        padding-left: 5px;
    }
    .sf-menu.sf-style-simple li.last a {
        margin-left: 5px;
        padding-left: 15px;
    }
}

@media only screen and (max-width:770px) {
    .region-header .block-superfish {
        max-width: 500px;
        margin: 20px auto 0;
    }
    .sf-menu.sf-style-simple {
        float: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width:500px) {
    .sf-menu.sf-style-simple ul {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .sf-menu.sf-style-simple.sf-accordion li li {
        margin-left: 0;
        width: 100%;
    }
}
    

/*-----  Translation Menu  -----*/

#block-locale-language-content  {
    display: inline-block;
    margin: 0;    
    clear: none;
}
#block-locale-language-content .block-content ul {
    margin: 0;
    list-style-type: none;
    text-transform: none;
}
#block-locale-language-content .block-content ul li {
    display: none;
    margin-left: 20px;
    padding-top: 1px;
}
#block-locale-language-content .block-content ul li.en,
#block-locale-language-content .block-content ul li.es,
#block-locale-language-content .block-content ul li.fr {
    display: inline-table; /* hide all but primary 3 languages */
}
#block-locale-language-content .block-content ul li a {
    font-size: 14px;
    text-decoration: none;
}
#block-locale-language-content .block-content ul li a:hover {
    text-decoration: underline;
}
#block-locale-language {
    display: inline-block;
    margin: 0;    
    clear: none;
}
#block-locale-language.block-language ul {
    margin: 0;
    list-style-type: none;
    text-transform: none;
}
#block-locale-language.block-language ul li {
    display: none;
    margin-left: 20px;
    padding-top: 1px;
}
#block-locale-language.block-language ul li.en,
#block-locale-language.block-language ul li.es,
#block-locale-language.block-language ul li.fr {
    display: inline-table; /* hide all but primary 3 languages */
}
#block-locale-language.block-language ul li a {
    font-size: 14px;
    text-decoration: none;
}
#block-locale-language.block-language ul li a:hover {
    text-decoration: underline;
}


/*-----  Search Header Block  -----*/

#block-search-form {
    display: inline-block;
    margin: 0 0 0 5px;
    clear: none;
}

#block-search-form #search-block-form,
#block-search-form #search-block-form .form-text {
    margin: 0;
}

#block-search-form #edit-search-block-form--2 {
    font-size: 14px;
}

#block-search-form input.form-text {
    border: 1px solid #e7e7e7;
    border-radius: 0;
    padding: 2px 4px;
}

#block-search-form input.form-submit {
    display: inline-block;
    float: right;
    position: relative;
    z-index: 2;
    border-radius: 0;
    border: none;
    background: none;
    cursor: pointer;
    margin: -25px 0 0 -30px;
    padding: 5px 10px;
}


/*-----  User Menu  -----*/

#menu-bar-wrapper {
    background: #004292;
    border-top: 10px solid #004292;
}

#menu-bar-wrapper #menu-bar {
    padding: 0;
}

#menu-bar-wrapper .nav .block-menu ul li a, 
#menu-bar-wrapper .nav .block-menu ul li a:visited {
    color: #fff;
    padding: 5px 10px;
    margin-left: 5px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
#menu-bar-wrapper .nav .block-menu ul li a:hover,
#menu-bar-wrapper .nav .block-menu ul li a.active:hover {
    color: #111;
    background: #76c043;
}

#menu-bar-wrapper .nav .block-menu ul li a.active {
    color: #111;
    background: #76c043;
}


/*-----  Disqus Styles  -----*/

#block-disqus-disqus-comments .block-title {
    text-transform: capitalize;
}

.dsq-widget-list {
    margin-left: 0;
}

li.dsq-widget-item {
    margin: 20px 0 !important;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}
li.dsq-widget-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.dsq-widget-comment p {
    display: block !important;
    font-size: 14px;
    margin: 15px 0 10px;
}


/*-----  CiviCRM Form Styles  -----*/

.webform-client-form .form-select {
    border: 1px solid #c4c4c4;
    background-color: #fafafa;
    padding: 6px 4px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font: 1em normal Arial, Helvetica, sans-serif;
    line-height: 24px;
}

.webform-client-form fieldset {
    border-color: #99ccff;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    margin-bottom: 30px;
    padding: 0 10px 10px 20px;
    width: 100%;
}


.webform-client-form fieldset legend {
    background-color: #2c8ccc;
    font-size: 18px;
    font-weight: bold;
    display: block;
    left: 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    width: 100%;
}

.webform-client-form .webform-layout-box {
    box-sizing: border-box;
    padding: 0 10px 0 0;
}

.webform-client-form input.form-button, 
.webform-client-form input.form-submit,
.newsletter_export a {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: #004292;
    border: none;
    color: #fff;
    cursor: pointer;
    margin: 0 5px 0 0;
    font: normal 18px Arial, Helvetica, Sans-serif;
    text-decoration: none;
    padding: 2px 8px;
    transition: all 0.4s ease;
}
.webform-client-form input.form-button:hover, 
.webform-client-form input.form-submit:hover,
.newsletter_export a:hover {
    background: #ff004f;
}

.webform-client-form .form-managed-file input.form-submit {
    font: normal 16px Arial, Helvetica, Sans-serif;
    padding: 8px 10px;
    margin-left: 5px;
}

@media only screen and (max-width:770px) {
    .webform-layout-box.equal.child-width-2 > * {
        width: 100%;
    }    
}

/** Donation page styles **/

#crm-container.crm-public .core_ministries_other_amount-section,
#crm-container.crm-public .assembly_other_amount-section,
#crm-container.crm-public .global_church_sharing_fund_other_amount-section,
#crm-container.crm-public .other_amount-section {
    margin-top: 10px;
    margin-bottom: 40px;
}
#crm-container.crm-public .core_ministries_other_amount-section .label,
#crm-container.crm-public .assembly_other_amount-section .label,
#crm-container.crm-public .global_church_sharing_fund_other_amount-section .label,
#crm-container.crm-public .other_amount-section .label {
    margin-top: 4px;
}

#crm-container.crm-public .email-5-section {
    margin-top: 40px;
}

.crm-container fieldset {
    margin-top: 40px;
}

#civicrm-footer {
    display: none;
}

#crm-submit-buttons {
    margin-top: 20px;
    margin-bottom: 60px
}

#priceset-div .price-set-row {
    display: inline;
    padding-right: 20px;
}

.crm-container input.crm-form-text, .crm-container .crm-icon-picker-button, .crm-container input.dateplugin, .crm-container input.crm-form-password {
    height: 1em;
}

#crm-container.crm-public input[type="text"], #crm-container.crm-public input[type="password"], #crm-container.crm-public input[type="email"], #crm-container.crm-public select {
    padding: 8px 10px;
}

#crm-container.crm-public .calc-value, #crm-container.crm-public .content {
    margin-left: 32%;
}
.crm-container .crm-section .label {
    width: 30%;
}

#amount_sum_label,
#pricevalue {
    font-weight: bold;
}

/** Donation link block styles **/

#block-block-15,
#block-block-16,
#block-block-17 {
    text-align: center;
}
#block-block-15 .donate-region,
#block-block-16 .donate-region,
#block-block-17 .donate-region {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 10px 0;
    width: 400px;
    height: 330px;
    background-repeat: no-repeat;
}
#block-block-15 .donate-region:first-of-type,
#block-block-16 .donate-region:first-of-type,
#block-block-17 .donate-region:first-of-type {
    margin-right: 35px;
}
#block-block-15 .donate-region:nth-of-type(2),
#block-block-16 .donate-region:nth-of-type(2),
#block-block-17 .donate-region:nth-of-type(2) {
    float: right;
}

#block-block-15 .donate-content,
#block-block-16 .donate-content,
#block-block-17 .donate-content {
    margin-top: 213px;
    background:rgba(70,70,70,0.7);
}
#block-block-15 .donate-content.donate-membership,
#block-block-15 .donate-content.donate-membership a,
#block-block-16 .donate-content.donate-membership,
#block-block-16 .donate-content.donate-membership a,
#block-block-17 .donate-content.donate-membership,
#block-block-17 .donate-content.donate-membership a  {
    height: 117px;
}

#block-block-15 .donate-content h3,
#block-block-15 .donate-content p,
#block-block-15 .donate-content a,
#block-block-16 .donate-content h3,
#block-block-16 .donate-content p,
#block-block-16 .donate-content a,
#block-block-17 .donate-content h3,
#block-block-17 .donate-content p,
#block-block-17 .donate-content a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
}

#block-block-15 .donate-content h3,
#block-block-16 .donate-content h3,
#block-block-17 .donate-content h3 {
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 10px;
}

#block-block-15 .donate-content p,
#block-block-16 .donate-content p,
#block-block-17 .donate-content p {
    border-bottom: 1px solid #ADADAD;
    padding-bottom: 10px;
    margin-bottom: 0;
}
#block-block-15 .donate-content.donate-membership p,
#block-block-16 .donate-content.donate-membership p,
#block-block-17 .donate-content.donate-membership p {
    border-bottom: 0;
}

#block-block-15 .donate-content a,
#block-block-16 .donate-content a,
#block-block-17 .donate-content a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
}
#block-block-15 .donate-content.donate-membership a,
#block-block-16 .donate-content.donate-membership a,
#block-block-17 .donate-content.donate-membership a {
    padding: 0;
    font-weight: inherit;
    transition: all 0.4s ease;
}
#block-block-15 .donate-content.donate-membership a:hover,
#block-block-16 .donate-content.donate-membership a:hover,
#block-block-17 .donate-content.donate-membership a:hover { 
    background: #1b468e;
}

#block-block-15 .donate-2-col,
#block-block-15 .donate-3-col,
#block-block-16 .donate-2-col,
#block-block-16 .donate-3-col,
#block-block-17 .donate-2-col,
#block-block-17 .donate-3-col {
    list-style-type: none;
    margin: 0;
}

#block-block-15 .donate-2-col li,
#block-block-15 .donate-3-col li,
#block-block-16 .donate-2-col li,
#block-block-16 .donate-3-col li,
#block-block-17 .donate-2-col li,
#block-block-17 .donate-3-col li {
    display: inline-block;
    border-right: 1px solid #ADADAD;
}
#block-block-15 .donate-2-col li,
#block-block-16 .donate-2-col li,
#block-block-17 .donate-2-col li {
    width: 199px;
}
#block-block-15 .donate-3-col li,
#block-block-16 .donate-3-col li,
#block-block-17 .donate-3-col li {
    width: 132px;
}
#block-block-15 .donate-2-col li:last-of-type,
#block-block-15 .donate-3-col li:last-of-type,
#block-block-16 .donate-2-col li:last-of-type,
#block-block-16 .donate-3-col li:last-of-type,
#block-block-17 .donate-2-col li:last-of-type,
#block-block-17 .donate-3-col li:last-of-type {
    border: none;
}

#block-block-15 li,
#block-block-16 li,
#block-block-17 li {
    transition: all 0.4s ease;
}
#block-block-15 li:hover,
#block-block-16 li:hover,
#block-block-17 li:hover{
    background: #1b468e;
}

@media only screen and (max-width:1200px) {
    #block-block-15 .donate-region:first-of-type {
        margin-right: 0;
    }
    #block-block-15 .donate-region {
        margin: 10px auto;
    }
    #block-block-15 .donate-region:nth-of-type(2) {
        float: none;
    }
}


/** Misc styles **/

.eu-cookie-compliance-banner #popup-text p {
    display: block !important;
}
.eu-cookie-compliance-banner #popup-text strong {
    font-size: 1.2em;
}

span.pdfpreview-description {
    display: block;
    max-width: 153px;
    text-align: center;
}

