  :root {
    --blue-5: #04090b; 
    --blue-4: #0b2f48; 
    --blue-3: #085BA0; 
    --blue-2: #84a1c2; 
    --blue-1: #e9ecf1; 
}
/* HIDING */
#menu a[href*="/register"],
#menu a[href*="/account"],
.sidebar__section,
#menu h2:nth-of-type(1),
#menu h2:nth-of-type(2),
.copyright li:last-of-type,
.inner.row > .col-4,
.box strong {
    display: none !important;
}
/* LAYOUT */
.wrapper >.inner {
    width: 80%;
}
.inner.row > .col-8 {
    width: 100%;
}
body,
#one {
    background-color: var(--blue-1);
}
#main > header {
    padding: 6em 0 5em 0;
}
#content header,
#banner {
    background-image: url("https://www.edinburgh.gov.uk/images/ccwelhero2560.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 50% 100%, 50% 100%, 0% 75%);
    background-color: var(--blue-2);
}
#content header {
    background-image: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1)), url("https://www.edinburgh.gov.uk/images/ccwelhero2560.jpg");
    background-attachment: scroll;
}	
/* ELEMENTS */
#header a:focus,  
#menu a:focus, 
#menu a:hover, 
#main a:focus {
    background: var(--blue-1) !important;
    color: var(--blue-4) !important;
    outline: none;
    transition: all 0.8s;
    font-weight: 800;
}
#one .button {
    color: var(--blue-3);
    box-shadow: inset 0 0 0 2px var(--blue-3);
}
#one .button:focus,
#one .button:hover {
    background-color: var(--blue-2) !important;
    color: var(--blue-1) !important;
}
#one .button.primary {
    background-color: var(--blue-3);
}
#one .button.primary:hover,
#one .button.primary:focus {
    background-color: var(--blue-5) !important;
    font-weight: 800;
}
/* HEADER */
#header {
    background-color: #fff;
    font-weight: 600;
    height: 5em;
}
#header .logo h1 {
    visibility: hidden;
}
#header .logo .symbol img {
    height: 5em;
    background-color: white;
    padding: 0.5em;
}
#header nav > ul > li > a.menuToggle {
    color: var(--blue-3);
    font-size: 1.2em;
    padding-top: 0.7em;
}
#header nav > ul > li > a.menuToggle::after {
    content: "☰";
    color: var(--blue-3);
    background-image: none;
    width: 0;
    margin: 0em 0.5em;
}
/* MENU */
#menu {
    background-color: var(--blue-3);
}
#menu a {
    padding-left: 0.5em;
}
#menu a.close:focus, 
#menu a.close:hover {
    background: transparent !important;
    border: 2px solid var(--blue-1) !important;
}
#menu ul > li {
 border: none;   
}
/* FOOTER */
body.landing #footer, 
body.is-mobile.landing #footer,
#footer {
    background-color: var(--blue-3);
}
#js-search {
    margin: 0;
}
#js-search::after {
    display: block;
    background-image: url('/ccwel/images/splitlogos1.png') !important;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 5em;
    width: 100%;
    margin: 2em 0em 1em 0em;
}
.copyright::before {
    display: block;
    background-image: url('/ccwel/images/CCWEL_website_logos_1200px_1.png') !important;
   content: "";
   background-repeat: no-repeat;
   background-size: contain;
   background-position: center;
   height: 5em;
   width: 100%; 
}

/* DOCUMENT WIDGET */
.widget-documents ul {
    list-style: none;
    padding: 0;
}
.widget-documents a {
    display: block;
    margin: 1em 0em;
    text-decoration: none;
    border: 1px solid var(--blue-3);
    padding: 1.5em;
    transition: all 0.8s;
}
.widget-documents a:hover,
#main .widget-documents a:focus {
    background-color: var(--blue-3) !important;
    color: var(--blue-1) !important;
}

/* FACT WIDGET */
.tg-fact .fa {
    font-size: 3em;
    color: var(--blue-3);
}
.tg-fact {
    height: 350px;
    border-top: 3px solid var(--blue-4);
    border-bottom: 3px solid var(--blue-4);
    padding: 2em 0em 3em 0em;
    margin: 2em 1em;
    text-align: center;
    overflow: auto;
}
.tg-top {
    font-size: 1.5em;
    margin-bottom: 0.4em;
    color: var(--blue-3);
    line-height: 1em;
    text-transform: uppercase;
}
.tg-text {
    font-size: 1em;
    line-height: 1.5em;
    color: var(--blue-5);
    margin-bottom: 2em;
    letter-spacing: 0.001em;
    font-weight: 200;
}

/* ANNOUNCEMENT FLOATER */
.box {
    transform: all 1s ease;
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 0;
    background-color: var(--blue-4);
    z-index: 1000;  
    width: auto;
    height: auto;
    opacity: 1;
    padding: 1em;
    font-size: 0.8em;
    line-height: 1.5em;
    border: 1px solid var(--blue-2);
}
.box a:focus,
.box a:hover {
    background-color: var(--blue-1) !important;
    color: var(--blue-4) !important;
}

/* RESPONSIVITY */
@media screen and (max-width: 738px){
    .box {
        width: 100%;
        border: none;
        border-radius: 0;
    }
    h1 {
      letter-spacing: 0.05em;
    }
    .widget-documents .list__link:after {
      display: none;
    }
    .tg-fact {
      height: auto;
      border-bottom: none;
    }
}