:root {
    --cheshireeast-green: #206c49;
    --cheshireeast-blocks-green: #ecf3ec;
    --cheshireeast-text-dark: #212529;
    --cheshireeast-blocks-offwhite: #fbfbfb;
}

/* Header */

#block-cheshireeast-servicesmenu .menu--localgov-services-menu .menu-item::marker {
    color: var(--secondary-menu-link-color);
}

.branding__item--logo a:focus, .lgd-header__toggle:focus {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

/* Services Menu */

#block-cheshireeast-servicesmenu > .menu--localgov-services-menu li {
    color: var(--color-white);
}

/* Navigation for Guide pages */

#block-cheshireeast-guidecontents .lgd-guide-nav {
    background-color: var(--cheshireeast-blocks-green);
}

/* Homepage */

.path-frontpage .homepage-services .views-view-responsive-grid__item a {
    color: var(--color-white);
    text-decoration: none;
    background-color: var(--cheshireeast-green);
    border: 2px solid var(--cheshireeast-green);
    box-shadow: 0 2px 4px 0 rgb(136 144 195 / 20%), 0 5px 15px 0 rgb(37 44 97 / 6%);
}

.path-frontpage .homepage-services .views-view-responsive-grid__item a:hover {
    color: var(--cheshireeast-text-dark);
    background-color: var(--color-white);
}

.path-frontpage .homepage-services .views-view-responsive-grid__item a:focus {
    text-decoration: none;
    color: var(--color-black);
    outline: 3px solid transparent;
    background-color: var(--color-focus);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-black);
}

/* Service landing pages */

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item {
    background-color: var(--cheshireeast-green);
    border: 2px solid var(--cheshireeast-green);
    border-bottom: 5px solid var(--cheshireeast-green);
    box-shadow: 0 2px 4px 0 rgb(136 144 195 / 20%), 0 5px 15px 0 rgb(37 44 97 / 6%);
}

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item a {
    color: var(--color-white);
}

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item a:focus {
    color: var(--color-black);
}

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item a:hover {
    color: var(--cheshireeast-text-dark);
    background-color: var(--color-white);
}

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item a:after {
    position: relative;
    top: -23px;
    left: calc(100% - 30px);
 /*   top: 60%;
    right: 67%;*/
    content: ' ';
    display: inline-block;
    border-bottom: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    height: 20px;
    width: 20px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-color: var(--color-white);
    -webkit-transition: right 0.5s ease;
    transition: all 0.5s ease;
}

.page-node-type-localgov-services-landing .service-landing-page__services .service-landing-page__service.field__item a:hover::after {
    border-color: var(--cheshireeast-text-dark);
    left: calc(100% - 15px);
}



/* Publications */

.block-localgov-publications h2 {
    border-bottom: 1px solid var(--heading-2-color);
}

/* Step by steps */

.step-by-step-pages .step-master {
    color: var(--cheshireeast-green);
}

.step-by-step-pages ol.step-list .step .step__summary a {
    color: var(--cheshireeast-green);
}

/* Page Sections */

.lgd-page-section a {
    color: var(--color-page-section-link-color);
    font-weight: 600;
}

/* Next/prev buttons */

.lgd-prev-next__link:hover {
    background-color: var(--button-bg-color-hover);
}

.lgd-prev-next__icon:hover {
    color: var(--button-icon-color-hover);
}

/* Footer */

.lgd-footer {
    background-color: #f2f5f2;
    color: var(--color-black);
    border-top: 2px solid var(--cheshireeast-green);
    position: relative;
}

.lgd-footer:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.54;
    background-image: repeating-linear-gradient(135deg, rgba(189, 189, 189, 0.1) 0px, rgba(189, 189, 189, 0.1) 2px, transparent 2px, transparent 4px), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
    background-size: cover;
}

.footer-first .footer-social--icons li {
    color: var(--cheshireeast-text-dark);
}

.footer-first .footer-social--icons li a {
    color: var(--cheshireeast-text-dark);
    border-bottom: 1px solid #878c91;
    font-weight: 700;
    font-size: 19px;
    text-decoration: none;
}

.footer-second {
    background-color: var(--cheshireeast-green);
    position: relative;
    z-index: 10;
}

/* OC2 Connect */

/* OC2 version 2 button colours */

.oc-link-v2 .btn {
    color: var(--button-text-color);
    background-color: var(--button-bg-color);
    border-color: var(--button-border-color);
    border-radius: 50rem;
    border: 2px solid var(--button-border-color);
}

.oc-link-v2 .btn:hover,
.oc-link-v2 .btn:focus,
.oc-link-v2 .btn:active:focus,
.oc-link-v2 .btn.active {
    color: var(--button-text-color-hover);
    background-color: var(--button-bg-color-hover);
    border-color: var(--button-bg-color-hover);
}

.oc-link-v2 .btn.user-view-comment svg path,
.oc-link-v2 .btn.user-map-button svg path,
.oc-link-v2 .btn.maplist-btn svg path {
    fill: var(--button-icon-color);
}

.oc-link-v2 .btn.user-view-comment:hover svg path,
.oc-link-v2 .btn.user-map-button:hover svg path,
.oc-link-v2 .btn.maplist-btn:hover svg path {
    fill: var(--button-icon-color-hover);
}


/* default colours for comment buttons in page sections */

.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .btn {
    color: var(--color-black);
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    margin-top: 0.5em;
}

.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .btn:hover {
    color: var(--color-white);
    background-color: var(--color-black);
    text-decoration: none;
}

.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .user-view-comment svg path,
.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .user-map-button svg path,
.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .maplist-btn svg path {
    fill: var(--color-black);
}

.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .user-view-comment:hover svg path,
.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .user-map-button:hover svg path,
.lgd-page-section.paragraph--type--localgov-page-section .oc-link-v2 .maplist-btn:hover svg path {
    fill: var(--color-white);
}