img[src*="/media"] {
    outline: 1px solid white;
    outline-offset: -6px;
}

nav.social ul li a img {
    outline: none;
}

.image a:hover img, a:hover .image img, .item a:hover .image.background-image {
    transform: none;
}


div.social.headerSocial {
    right: 380px;
    position: absolute;
    top: 30px;
}

    div.social.headerSocial ul li {
        display: inline-block;
    }

        div.social.headerSocial ul li a img {
            outline: none;
            width: 40px !important;
        }

div.social i.icon.before {
    color: white;
    font-size: 40px;
    margin-right: 10px;
}

@media(max-width:1144px) {
    div.social.headerSocial {
        right: 50px;
        position: absolute;
        top: 26px;
    }

    div.social i.icon.before {
        color: white;
        font-size: 26px;
        margin-right: 6px;
    }
}


    /*header green*/
    header#site-header {
        /*background:linear-gradient(rgba(0,150,70,1) 80%, rgba(0,150,70,0.9) 100%);*/
    }

    header::after {
        background: url(/images/blythburgh/header_bottom.png);
        position: absolute;
        content: "";
        display: block;
        width: 100%;
        z-index: 1;
        bottom: -18px;
        left: 0;
        height: 18px;
        opacity: 1;
    }

    @media(min-width:992px) {
        html.nav-up body.header-05-lg.show_header-on-scroll-lg header#site-header {
            top: -85px;
        }
    }


    /* button icons to end */

    i.icon.usn_ion-ios-arrow-forward.before {
        margin-right: 0;
        margin-left: 15px;
        float: right;
        padding-top: 9px;
    }

    /* button jagged edges */

    .btn.btn-lg, button.btn.btn-lg {
        padding: var(--btn_lg-padding_top) var(--btn_lg-padding_right) var(--btn_lg-padding_bottom) var(--btn_lg-padding_left);
        -webkit-mask-image: url(/images/blythburgh/btn_learnmore-original.png);
        mask-image: url(/images/blythburgh/btn_learnmore-original.png);
        -webkit-mask-size: contain;
        mask-size: contain;
    }

    /* breadcrumbs */
    .breadcrumb-trail {
        background-color: white;
    }

        .breadcrumb-trail ol.breadcrumb li.breadcrumb-item {
            margin-right: 10px !important;
        }

    .breadcrumb-item:first-child {
        margin-left: 0 !important;
    }

    html[dir="rtl"] .breadcrumb-trail ol.breadcrumb li.breadcrumb-item i.icon.before {
        margin: 0 0 0 8px;
    }

    .directional-icons-triangle .breadcrumb-trail ol.breadcrumb li.breadcrumb-item i.icon:before {
        content: "\f282";
        transform: rotate(180deg);
    }

    .breadcrumb-trail ol.breadcrumb li.breadcrumb-item:first-of-type i.icon.before {
        display: none;
    }


    /* Images in content/text */
    div.text img {
        width: auto !important;
    }


    /*search form */
    /*@media(min-width: 1145px) {
    
    html[dir="ltr"] body.header-05-lg:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) header#site-header .site-search form {
        right: 0;
    }

    body.header-05-lg:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) header#site-header .site-search {
        position: absolute !important;
        top: 13px !important;
    }

    body:not(.header-03-lg):not(.header-11-lg):not(.header-12-lg):not(.header-15-lg):not(.header-16-lg):not(.header-17-lg):not(.header-19-lg):not(.header-20-lg) nav.main > ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between !important;
    }

    body.header-05-lg header#site-header .container-fluid::after, body.header-05-lg header#site-header .container::after {
        content: none !important;
    }
}*/

    .site-search .form-control {
        background-color: transparent;
        border: solid 3px white !important;
        border-radius: 30px !important;
        height: 46px !important;
        min-height: 46px !important;
        color: white;
    }

    .site-search button.btn {
        border: none !important;
        /*opacity: 0!important;*/
        background-color: transparent !important;
        font-weight: 600;
        color: white !important;
    }

    header#site-header .site-search.open-search button.btn.base-btn-bg-hover-solid:hover > span {
        background-color: transparent !important;
    }

    .site-search input.form-control::placeholder {
        color: white;
    }

    .form-control:focus-visible,
    .umbraco-forms-field input:focus-visible,
    .umbraco-forms-field.longanswer textarea:focus-visible,
    .umbraco-forms-field.dropdown select:focus-visible {
        outline: none !important;
    }

    input:-internal-autofill-selected {
        appearance: menulist-button;
        background-image: none !important;
        background-color: pink !important;
        color: fieldtext !important;
    }

    @media(max-width:1144px) {
        body.header-03-sm header#site-header .site-search {
            padding-top: 10px;
        }
    }



    /* LOGO */
    body.header-05-lg header#site-header #logo picture, body.header-05-lg header#site-header #logo img {
        height: 60px;
        max-height: 60px;
    }

    /* NAV */

    body.main-navigation-underline-link-hover header#site-header nav.main a:hover,
    body.main-navigation-underline-link-hover header#site-header nav.main a:focus,
    body.main-navigation-underline-link-hover header#site-header nav.main a:active {
        text-decoration: none;
    }

    /*@media(max-width:1144px) {
        body.header-03-sm nav.main ul li.has-child.open-child_mobile > span::after,
        body.header-03-sm header#site-header nav.main ul ul li {
            background-color: #457749;
        }
    }*/



    /*FOOTER*/

    footer#site-footer {
        padding-bottom: 80px;
    }

    nav.footer-navigation {
        padding-top: 0;
        text-align: center;
    }

        nav.footer-navigation ul li:after {
            content: "/";
            margin-left: 10px;
        }

        nav.footer-navigation ul li:last-of-type:after {
            content: none;
        }



    footer#site-footer .footer-item {
        margin-bottom: 0 !important;
    }

    footer hr {
        border-top: 1px solid rgb(51 51 51);
    }

    div.footer-lower {
        font-size: 10px;
        line-height: 11px;
    }


    nav.footer-navigation > ul {
        font-size: 10px !important;
        line-height: 12px !important;
    }

    .website-design {
        text-align: right;
    }

        .website-design p {
            margin-top: 0;
            line-height: 100%;
        }



    @media(max-width:767px) {

        /*footer#site-footer {
        padding-bottom: 30px;
    }

    .item.footer-item.usn_pod_sociallinks.col-lg-4.col-md-3.col-12.col {
        text-align: center;
        padding-bottom: 20px;
    }

    div.footer-lower {
        font-size: 10px;
        width: 100%;
        flex-direction: column;
        margin: 0;
    }

        div.footer-lower div.col {
            text-align: center;
        }

    nav.footer-navigation {
        padding-top: 10px;
        text-align: center;
    }

        nav.footer-navigation ul li {
            display: inline-block;
            padding: 1px 0;
        }

            nav.footer-navigation ul li:after {
                content: "/";
                margin-left: 5px;
                margin-right: 5px;
            }

    .website-design {
        text-align: center;
        padding-top: 10px;
    }

    .usn_back-to-top {
        padding: 30px 0 0 0;
    }*/
    }

    @media(min-width: 1145px) {

        /*div.footer-lower {
        font-size: 11px;
    }

    nav.footer-navigation > ul {
        font-size: 11px !important;
    }*/
    }

    /* BANNER */
    section.homepage-banner span.secondary-heading.intro.heading {
        color: #fff;
        font-weight: 300;
        text-shadow: 0px 0px 10px #333333, 0 0 5px #333333, 0 0 30px #333333;
    }



    /*-------------------
Share this page
-------------------*/
    /*.container.shareHolder{
	position:relative;
}*/

    .modalButton {
        position: relative;
        /*z-index: 2000;*/
    }

    .btn.btn-lg.shareThis {
        position: absolute;
        right: 0;
        top: 40px;
        padding: 5px 20px;
        font-family: 'Amatic SC', cursive;
        font-weight: 400;
        color: #fff;
        font-size: 26px;
        background-color: #BBB;
    }

    .btn.btn-lg.shareThisMobile {
        position: absolute;
        /*background-image: url(/images/btn_link.png);*/
        font-family: 'Amatic SC', cursive;
        font-weight: 400;
        color: #fff;
        top: 0px;
        right: 15px;
        padding: 10px 20px;
        font-size: 26px;
        display: none;
        background-color: #BBB;
    }

    button.btn.btn-lg.shareThis:hover,
    button.btn.btn-lg.shareThisMobile:hover {
        background: #909090;
        color: white;
    }

    .modal-open {
        overflow: hidden;
    }

    .modal {
        display: none;
        overflow: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        /*left: 50%;
        transform: translateX(-130px);*/
        z-index: 1050;
        -webkit-overflow-scrolling: touch;
        outline: 0;
    }

    .modal-dialog {
        /*width: 600px;*/
        margin: 30px auto;
    }

    .modal-content {
        position: relative;
        background-color: #ffffff;
        border: 1px solid #999999;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 0;
        -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
        box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        outline: 0;
    }

    .modal-backdrop {
        position: fixed;
        top: 0;
        /*right: 0;*/
        /*bottom: 0;*/
        left: 0;
        z-index: 1040;
        background-color: #000000;
    }

    .modal-header {
        padding: 15px;
        border-bottom: 1px solid #e5e5e5;
        min-height: 16.2px;
        background-color: #079144;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        justify-content: center;
    }

        .modal-header .close {
            margin-top: -2px;
            opacity: .6;
            color: #fff;
        }

    .close:hover, .close:focus {
        color: #fff;
        opacity: 1;
    }

    .modal-title {
        margin: 0;
        line-height: 1.2;
        color: #fff !important;
    }

    .modal-body {
        position: relative;
        padding: 20px;
    }

    .modal-sm {
        width: 270px;
    }

    .btn-share {
        width: 218px;
        margin-bottom: 20px;
        padding-left: 10px;
        color: white;
        /*background-image: url(/images/minigrid.svg);
    background-repeat: no-repeat;
    background-position: left 10px center;*/
    }

    .btn-fb {
        background-color: #4E68A1;
    }

    .btn-tw {
        background-color: #00ACEE;
    }

    .btn-gp {
        background-color: #DE4B39;
    }


    .btn-fb:hover, .btn-fb:focus, .btn-fb.focus, .btn-fb:active, .btn-fb.active, .open > .dropdown-toggle.btn-fb {
        color: #fff;
        background-color: #284077;
    }

    .btn-tw:hover, .btn-tw:focus, .btn-tw.focus, .btn-tw:active, .btn-tw.active, .open > .dropdown-toggle.btn-tw {
        color: #fff;
        background-color: #0B7AA5;
    }

    .btn-gp:hover, .btn-gp:focus, .btn-gp.focus, .btn-gp:active, .btn-gp.active, .open > .dropdown-toggle.btn-gp {
        color: #fff;
        background-color: #AD3D30;
    }



    .btn-fb:hover::before, .btn-fb:focus::before, .btn-fb.focus::before, .btn-fb:active::before, .btn-fb.active::before, .btn-fb:hover::after, .btn-fb:focus::after, .btn-fb.focus::after, .btn-fb:active::after, .btn-fb.active::after {
        background: url(/images/btn_fbA.png);
    }

    .btn-tw:hover::before, .btn-tw:focus::before, .btn-tw.focus::before, .btn-tw:active::before, .btn-tw.active::before, .btn-tw:hover::after, .btn-tw:focus::after, .btn-tw.focus::after, .btn-tw:active::after, .btn-tw.active::after {
        background: url(/images/btn_twA.png);
    }

    .btn-gp:hover::before, .btn-gp:focus::before, .btn-gp.focus::before, .btn-gp:active::before, .btn-gp.active::before, .btn-gp:hover::after, .btn-gp:focus::after, .btn-gp.focus::after, .btn-gp:active::after, .btn-gp.active::after {
        background: url(/images/btn_gpA.png);
    }


    a.btn.c2-btn-bg.btn-share:hover {
        background: #909090;
        color: white;
    }





    @media (max-width: 1024px) {
        .shareThis {
            top: 26px;
            right: 15px;
            padding: 10px 20px;
            font-size: 26px;
        }
    }


    @media (min-width: 768px) {
        .modal-dialog {
            /*width: 600px;*/
            margin: 30px auto;
        }

        .modal-content {
            -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }
    }

    @media (min-width: 992px) {
        .modal-lg {
            width: 900px;
        }
    }

    /*@media (max-width: 600px) {
    .btn.btn-lg.shareThis {
        display: none;
    }

    .btn.btn-lg.shareThisMobile {
        display: block;
        -webkit-mask-size: auto;
        mask-size: auto;
    }

    .modal-dialog {
        margin: 10px auto;
    }
}*/


