﻿@font-face {
    font-family: 'octarine-light';
    src: url('/SiteElements/fonts/hertshelp/Octarine-Light.otf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'octarine-bold';
    src: url('/SiteElements/fonts/hertshelp/Octarine-Bold.otf');
    font-weight: 700;
    font-style: bold;
}

.header-info-text p{
    padding: 5px
}

body{
    font-family: 'octarine-light';
}

h1,h2,h3,h4,h5{
        font-family: 'octarine-bold';
}

/**
 * Header banner image
 */

header {
    background: #333333 url('/SiteElements/images/custom-branding/Hertshelp-header-banners2.jpg') no-repeat center top;
    background-size: cover;
    min-height: 145px;
}

header .search {
  display: none;
}

header .container {
    padding: 10px 20px 0;
}

header h1 a {
    display: inline-block;
    text-indent: 0em;
}

/**
 * Landing page heading underline colour
 */

 .intro .container .content {
    padding: 3em 0 2em 0;
}

.landing .intro .container .content h1 {
    border-bottom: 2px solid #583f98;
}

/* GW 20/10/2016 Info panel 'i' colour */
.content .panel.info::before {
  color: #583f98;}

/* GW 20/10/2016 Reduce padding above campaign header title */
.campaignHeaderContent {
    margin-top: 8% !important;
}

/* GW 20/10/2016 Increase padding above page title on universal template pages */
.universalTitle {
    padding: 40px 0 0 0!important;
}

/* GW 20/10/2016 Shrink mega menu*/
.nav.primary > li .menu {
    width: 45%;
  left: 30%;
}
.nav.primary > li .menu ul {
  width: 100%;}

/**
 * Alternative landing page heading underline colour
 */

.altlandingMid {
    border-top: 3px solid #583f98;
}
/**
 * Menu bar colour
 */

nav {
    background-color: #583f98;
}
/**
 * Colour of 'Find out more' button on carousel
 */

.content .secondary {
    background-color: #583f98;
    color: white;
}
/**
 * Hover colour of 'Find out more' button on carousel
 */

.content .secondary:hover {
    background-color: #3f2d6c;
}
/**
 * Line above title colour
 */

.content .toolbar {
    border-top: 2px solid #583f98;
}
/**
 * Removes 'Hertfordshire County Council' from right of search button
 */

header h2 {
    background: url('') no-repeat left top;
  	display: none;
}
/**
 * Jump links colour
 */

.content article ul:not([class]) li::before {
    color: #583f98;
}

/* GW 26/10/2016 Micro copy link colour */
a.microLinks, .content .anchors li a, a[name*="_Top1"] + ul li a {
    color: #9d3f97;
    font-family: 'octarine-bold';
}
  
/**
 * Breadcrumb active page colour
 */

.breadcrumb ul li.active {
    background-color: #583f98;
}
/**
 * Breadcrumb hover colour
 */

.breadcrumb ul li a:hover,
.breadcrumb ul li a:focus {
    background-color: #583f98;
}
/**
 * Breadcrumb divider line hover colour
 */

.breadcrumb ul:hover + .toggleMenu,
.breadcrumb .toggleMenu.active {
    border-color: #3f2d6c;
}
/**
 * Left line in body of page colour
 */

.content .vcard,
.content .indented {
    border-left: 3px solid #583f98;
}
/**
 * Form left line colour
 */

ul.sys_cms-form-body {
    border-left: 2px solid #583f98;
}
/**
 * Primary call to action button colour
 */

.content .primary a{
  	color: white !important;
}

.content .primary{
	background-color: #583f98;
}
/**
 * Primary call to action button hover colour
 */

.content .primary:hover {
    background-color: #3f2d6c;
  	color: white;
}
/**
 * Jump link colour
 */

.content .anchors li a,
a[name*='_Top1'] + ul li a {
    color: #583f98;
}
/**
 * Jump link hover colour
 */

.content .anchors li a:hover,
a[name*="_Top1"] + ul li a:hover {
    color: #3f2d6c;
}
/**
 * Jump link external link colour
 */

.content a.link-taskLink {
    color: #583f98;
}
/**
 * Landing page top tasks/recycling widget colour
 */

.landing .topTasks {
    background-color: #583f98;
}
/**
 * Opening hours tab colour
 */

.tab-links li.active a,
.tab-links li.active a:hover {
    background: #583f98;
}

/**
 * Mobile view nav button colour
 */

.landing .intro .container .content ul li a {
    background-color: #583f98;
}
/**
 * Mobile view nav button hover colour
 */

.landing .intro .container .content ul li a:hover {
    background-color: #3f2d6c;
}
/**
 * HertsHelp card
 */

.content .widget.cardHertsHelp h3, 
.content .widget.cardHertsHelpPurple h3 {
    background-color: #583f98;
}

/* GW 26/10/2016 Magnifying glass colour in widgets */
.content .widget .menu input[type="submit"] {
    background-color: rgb(88, 63, 152);
}

/* GW 26/10/2016 Widget/card background, corner rounding and shadow */
.content .widget .content {
    border-radius: 3px;
   /* box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);*/
  box-shadow: none;
    background-color: rgb(240, 240, 240);
}

/**
 * Alternative landing page tile colour
 */

.landing .intro .container .content ul.altpurple li a {
    background-color: #583f98;
    color: white;
     border-style:    solid;   
  border-width:    3px;
  border-color:    #583f98;
  border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
/*background color for body reset*/

body {
    background-color: #333333;
}
.landing .intro .container .content ul.altpurple li a:hover {
    background-color: #3f2d6c;
}


@media only screen and (max-device-width: 768px) {
  /*
    .search.block .searchButton {
        margin-top: -20px;
        position: relative;
    }
    header .container h1 {
        box-sizing: border-box;
        margin-top: 15px;
        padding: 0;
        margin-bottom: 0px;
        text-align: center;
    }
    header .container {
        max-height: 165px;
    }*/
    .landing .intro .container .content .altcontentlinks ul li a {
        background-color: #583f98 !important;
        text-align: center;
    }
}
@media only screen and (max-width: 970px) {
  /*
    header .container {
        min-height: 150px;
    }
    header h1 {
        width: 150px;
    }
    header h1 a {
        display: block;
        text-indent: 0em;
        padding-bottom: 20px;
        margin-top: 0px;
    }
    .search.block,
    .search.block .searchButton {
        margin-top: 50px;
        position: relative;
    }*/
    .altcontenttoptasks h1 {
        width: 90%;
    }
}
@media only screen and (max-width: 736px) {
  /*
    .search.block,
    .search.block .searchButton {
        margin-top: 70px;
        position: relative;
    }*/
    /*addition hs 14/04/16**/
    
    .landing .intro .container .content.altcontenttoptasks h1 {
        border-bottom: none;
    }
    .altlanding {
        border-top: 2px solid #583f98;
        width: 90%;
    }
}
@media only screen and (max-device-width: 568px) {
  /*
    header h1 a {
        margin-top: -10px;
    }
    header h1 a img {
        max-width: 150px;
        margin-left: -20px;
    }
    header .container {
        max-height: 175px;
    }
    .search.block,
    .search.block .searchButton {
        margin-top: 40px;
        position: relative;
    }*/
    .altLandItem li {
        width: 100% !important;
    }
}
/**
 * Footer logo classes
 */
/* this tells the div to sit at the right under the hcc logo*/

.extrafooterlogos {
    left: 145px;
    position: relative;
    float: right;
    top: 100px;
}
/* no bullet points, display one underneath the other */

.extrafooterlogos ul li {
    list-style: none;
    display: block;
}
/*make the images display properly and hide the text */

.extrafooterlogos a {
    float: right;
    text-indent: -999em;
    margin: 5px 2px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.esffooterlogo {
    background: url('/SiteElements/images/custom-branding/ESF-logo.png') no-repeat center top;
    background-size: contain;
    height: 99px;
    width: 100px;
}
.matrixfooterlogo {
    background: url('/SiteElements/images/custom-branding/Matrix-80px.jpg') no-repeat center top;
    background-size: contain;
    height: 48px;
    width: 100px;
}
.ofstedfooterlogo {
    background: url('/SiteElements/images/custom-branding/Ofsted-logo-80px.png') no-repeat center top;
    background-size: contain;
    height: 67px;
    width: 100px;
}
.sfafooterlogo {
    background: url('/SiteElements/images/custom-branding/SFA-80px.png') no-repeat center top;
    background-size: contain;
    height: 80px;
    width: 80px;
}
/*footer settings*/

.hertsHelpContact {
    position: absolute;
    float: right;
    top: 13px;
    right: 38px;
}
.hertsHelpContact .hertsHelpPhone {
    background-color: white;
    color: #583f98;
    font-weight: 700;
    opacity: 0.9;
    -moz-opacity: 0.9;
    -webkit-opacity: 0.9;
    -ms-opacity: 0.9;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
}
.hertsHelpContact p {
    margin: 10px 0;
    padding: 0 10px 10px 10px;
    line-height: 2em;
}
.hertsHelpContact .hertsHelpEmail {
    background-color: white;
    color: #583f98;
    font-weight: 700;
    opacity: 0.9;
    -moz-opacity: 0.9;
    -webkit-opacity: 0.9;
    -ms-opacity: 0.9;
     border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
}
.hertsHelpContact .hertsHelpPhone:before {
    content: url('/SiteElements/images/custom-branding/hhphone.png');
    position: relative;
    top: 10px;
    right: 5px;
}
.hertsHelpContact .hertsHelpEmail:before {
    content: url('/SiteElements/images/custom-branding/hhemail.png');
    position: relative;
    top: 10px;
    right: 5px;
}
.hertsHelpContact .hertsHelpEmail a {
    background-color: white;
    color: #583f98;
}
.twitter-timeline {
    width: 250px !important;
    background-color: white;
}
span.hhRight {
    float: right;
    width: 220px;
    position: relative;
    display: inline-block;
}
footer h3 {
    color: white !important;
}
.goog-te-gadget > div select {
    background: white;
}
/*
@media only screen and (max-width: 1200px) and (min-width: 981px) {

    header .container {
    text-align: left;
}*/

@media only screen and (max-width: 980px) {
    .extrafooterlogos {
        display: none;
    }
    .hertsHelpContact {
        display: none;  
    }/*
    header {
        height: 180px;
    }
    header .container {
        text-align: center;
    }
    .search.block{ margin-top: 70px; }*/
}

/* mega menu text colour */
.nav a {
    color: #fff;
}
.nav.primary .menu .menuPrimaryLink {
  color: #000
}
.nav.primary .menu .menuSecondaryLink {
  color: #000
}
.nav.primary > li .menu ul li ul li.summary h2 {
    color: #000;
}
.nav.primary > li .menu ul li ul li.summary p {
    color: #000
}
.nav.primary > li .menu ul.feature li h2 {
  color: #000
}
.nav.primary > li .menu ul.feature li p {
    color: #000
}

/* mega menu chevron colour */
.primary.nav > li .menu ul.feature li p::after {
    color: #583f98;
}
.primary.nav > li .menu ul li ul li.summary p::after {
    color: #583f98;
}


/* mega menu text hover colour */
.nav.primary > li > a:hover, 
.nav.primary > li > a:focus, 
.nav.primary > li.hover > a {
  	color: #000;
}

/* mega menu links and highlight colour */
.nav.primary .menu .menuPrimaryLink:hover, 
.nav.primary .menu .menuPrimaryLink:focus, 
.nav.primary .menu .menuPrimaryLink.current {
  	background-color: #583f98;
    color: #fff;
}

.nav.primary .menu .menuSecondaryLink:hover, 
.nav.primary .menu .menuSecondaryLink:focus, 
.nav.primary .menu .menuAdLink:hover, 
.nav.primary .menu .menuAdLink:focus {
    color: #000;
}

@media only screen and (max-width: 360px) {

span.hhRight {
    float: none; 
}

}

/* testimonial line colour */
.content blockquote {
    border-left: 2px solid #583f98;
}


/* override overrides by LM */
@media only screen and (min-width: 760px) {
  
	.slide .content span {
    	color: white !important;
	}
}
/*
.search.block {
    margin: 0;
}

header h1 a {
 	padding: 0; 
}*/

@media only screen and (max-width: 920px) {
  
 	.fullWidthPlaceholder .altStandardSection .altStandardAside  img {
      display: none;
    }
}

@media only screen and (max-width: 768px) {

	.landing .intro .container .content.altcontenttoptasks h1 {
    	width: 75%;
    }
  
  	#skipnavlanding .intro .container {
      	padding: 0;
    }
}

.content .fullWidthArticle {
	float: none;
}

.fullWidthArticle .card_herts_directory_search p {
  	padding-left: 0;
  	padding-right: 0;
}

/*====================================================================================================================*/




/* CW 07/03/2018 Shrink mega menu*/
.nav.primary > li .menu {
    width: 45%;
  left: 30%;
}
.nav.primary > li .menu ul {
  width: 100%;
  }

.main-menu{
position:absolute;
top:0;
right:-80%;
width:80%;
background-color:#e6e5e5;
text-align:left;
}
 .main-menu > ul > li > a{
    display:none;
}
 .main-menu .menuLink{
    display:block;
    float:left;
    width:50%;
    font-size:16px;
    padding:12px 0;
    color:#737373;
    text-decoration:none;
    text-align:center;
}
 @media only screen and (min-width: 761px){
     .main-menu{
        right:0;
        width:auto;
        padding:0 7px;
        background-color:rgba(51,51,51, 0.4);
        border-radius:0 0 3px 3px;
    }
     .main-menu > ul > li{
        float:left;
        margin:0 15px;
        position:relative;
    }
     .main-menu > ul > li > a{
        display:block;
    }
     .main-menu .menuLink{
        position:relative;
        float:none;
        width:auto;
        font-size:20px;
        color:#fff;
    }
     .main-menu .menuLink:hover,.main-menu .menuLink:focus{
        text-decoration:underline;
    }
}

/**

 * Main menu

 */

 nav{
    font-family:'lola', sans-serif;
    font-weight:400;
    background-color:#9eb947;
    clear:both;
    position:relative;
    text-align:center;
    z-index:4500;
}
 .nav{
    list-style:none;
    margin:0;
    padding:0;
}
 .nav ul,.nav li{
    list-style:none;
    margin:0;
    padding:0;
}
 .nav a{
    color:black;
}
 .nav.primary{
    *zoom:1;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    position:relative;
    width:100%;
}
 .nav.primary:before,.nav.primary:after{
    display:table;
    content:"";
    line-height:0;
}
 .nav.primary:after{
    clear:both;
}
 @media only screen and (min-width: 480px){
     .nav.primary{
        padding:0 5%;
    }
}
 @media only screen and (min-width: 760px){
     .nav.primary{
        padding:0 20%;
    }
}
 @media only screen and (min-width: 1170px){
     .nav.primary{
        padding:0 25%;
    }
}
 .nav.primary > li{
    display:inline-block;
    text-align:center;
    height:100%;
    -webkit-transition:all 0.1s;
    -moz-transition:all 0.1s;
    -o-transition:all 0.1s;
    transition:all 0.1s;
}
 .nav.primary > li > a{
    display:inline-block;
    font-size:1.2em;
    padding:9px 25px 5px 25px;
    text-decoration:none;
    transition:all 0.1s;
}
 .nav.primary > li > a.menuLink{
    padding-top:5px;
}
 .nav.primary > li > a:hover,.nav.primary > li > a:focus{
    background-color:#efefe9;
}
 .nav.primary > li.hasMenu > a:after{
    font-family:"fontello";
    display:inline-block;
    text-decoration:inherit;
    font-variant:normal;
    text-transform:none;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    font-size:1.1em;
    content:'\e800';
    margin-left:5px;
    position:relative;
    bottom:-0.15em;
}
 @media only screen and (min-width: 480px){
     .nav.primary > li > a{
        font-size:1.2em;
    }
}
 @media only screen and (min-width: 760px){
     .nav.primary > li > a{
        font-size:1.3em;
    }
}
 .nav.primary > li .menu{
    background-color:#efefe9;
    -webkit-box-shadow:2px 4px 5px rgba(51, 51, 51, 0.5);
    -moz-box-shadow:2px 4px 5px rgba(51, 51, 51, 0.5);
    box-shadow:2px 4px 5px rgba(51, 51, 51, 0.5);
    position:absolute;
    width:100%;
    text-align:left;
    top:100%;
    left:0;
    display:none;
}
 .nav.primary > li .menu ul{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    font-size:1em;
    padding:15px;
}
 .nav.primary > li .menu ul li{
    border-top:2px solid #d5d5d5;
    padding:5px 0;
}
 .nav.primary > li .menu ul li:first-child{
    border:none;
}
 .nav.primary > li .menu ul li a{
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -pie-border-radius:5px;
    border-radius:5px;
    display:block;
    padding:7.5px;
    -webkit-transition:all 0.1s;
    -moz-transition:all 0.1s;
    -o-transition:all 0.1s;
    transition:all 0.1s;
}
 .nav.primary .menu .menuPrimaryLink:hover,.nav.primary .menu .menuPrimaryLink:focus{
    background-color:#983d83;
    color:#fff;
}
 @media only screen and (min-width: 480px){
     .nav.primary > li .menu ul{
        font-size:1.2em;
    }
}
 @media only screen and (min-width: 760px){
     .nav.primary > li .menu ul{
        font-size:1.2em;
        float:left;
        padding:30px!important;
        width:35%;
    }
}
 @media only screen and (min-width: 1170px){
     .nav.primary > li .menu ul{
        padding:0 25%;
    }
}

/**
 * Menu bar colour
 */
nav {
    background-color: #3E7D30;
}

/* mega menu text colour */
.nav a {
    color: #fff;
}
.nav.primary .menu .PrimaryLink {
  color: #000
}
.nav.primary .menu .menuSecondaryLink {
  color: #000
}
.nav.primary > li .menu ul li ul li.summary h2 {
    color: #000;
}
.nav.primary > li .menu ul li ul li.summary p {
    color: #000
}
.nav.primary > li .menu ul.feature li h2 {
  color: #000
}
.nav.primary > li .menu ul.feature li p {
    color: #000
}

/* mega menu chevron colour */
.primary.nav > li .menu ul.feature li p::after {
    color: #3E7D30;
}
.primary.nav > li .menu ul li ul li.summary p::after {
    color: #3E7D30;
}

/* Mega menu link colour */
.nav.primary .menu .menuPrimaryLink {
    color: #000;
}

/* mega menu text hover colour */
.nav.primary > li > a:hover, 
.nav.primary > li > a:focus, 
.nav.primary > li.hover > a {
  	color: #000;
}

/* mega menu links and highlight colour */
.nav.primary .menu .menuPrimaryLink:hover, 
.nav.primary .menu .menuPrimaryLink:focus, 
.nav.primary .menu .menuPrimaryLink.current {
  	background-color: #3E7D30;
    color: white;
}

.nav.primary .menu .menuSecondaryLink:hover, 
.nav.primary .menu .menuSecondaryLink:focus, 
.nav.primary .menu .menuAdLink:hover, 
.nav.primary .menu .menuAdLink:focus {
    color: #000;
}

/* testimonial line colour */
.content blockquote {
    border-left: 2px solid #3E7D30;
}

/* call to action button text*/
.content .primary a {
    color: white;
}


.altlandingMid h3 {
  	font-weight: 400;
}

/* Landing page news border line colour */

.content .newsevents-slider h2 span::before, .content .newsevents-slider h2 span::after {
    border: 1px solid #3E7D30;
}

/**

 * Main menu

 */
.mobile-menu {
  display: block;
}

@media only screen and (min-width: 761px) {
  .mobile-menu {
    display: none;
  }
}

.main-menu {
  position: absolute;
  top: 0;
  right: -80%;
  width: 80%;
  background-color: #e6e5e5;
  text-align: left;
}

.main-menu > ul > li > a {
  display: none;
}

/**
 * Top level
 */
.main-menu .menuLink {
  display: block;
  float: left;
  width: 50%;
  font-size: 16px;
  padding: 12px 0;
  color: #737373;
  text-decoration: none;
  text-align: center;
}

.main-menu .hasSub > .menuLink::before {
  display: none;
}

.main-menu .menuLink--active {
  background-color: #333;
  color: #fff;
}

@media only screen and (max-width: 760px) {
  .main-menu .menuLink--mobile {
    background-color: #333;
    color: #fff;
  }
}

/**
 * Panel
 */
.main-menu .main-menu__panel {
  display: none;
  position: absolute;
  top: 46px;
  left: 0;
  width: 100%;
}

.main-menu .main-menu__panel--active {
  display: block;
}

@media only screen and (max-width: 760px) {
  .main-menu .main-menu__panel--mobile {
    display: block;
  }
  .main-menu .main-menu__panel {
      background-color: #333333;
  }
}

.main-menu .main-menu__panel li {
  position: relative;
}

.main-menu .main-menu__panel li ul {
  display: none;
}

.main-menu .main-menu__panel li:hover ul {
  display: block;
}

.main-menu .hasSub > a::before {
  content: '\e800';
  display: block;
  position: absolute;
  top: 50%;
  right: 18px;
  font-family: "fontello";
  font-size: 20px;
  margin-top: -10px;
}

.main-menu .hasSub:hover > a::before {
  content: '\e803';
}

.main-menu .main-menu__panel a {
  display: block;
  position: relative;
  padding: 19px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-menu .main-menu__panel a::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: #474646;
  margin-bottom: -2px;
}

.main-menu .main-menu__panel li:last-child a::after {
  display: none;
}

.main-menu .main-menu__panel li li {
  margin-bottom: 2px;
}

.main-menu .main-menu__panel li li a {
  background-color: #474646;
}

.main-menu .main-menu__panel li li a:hover,
.main-menu .main-menu__panel li li a:focus,
.main-menu .main-menu__panel li li a:active {
  background-color: #9d3f97;
}

.main-menu .main-menu__panel li li a::after {
  display: none;
}

/**
 * Desktop
 */
 
@media only screen and (min-width: 761px) {

  .main-menu {
    right: 0;
    width: auto;
    padding: 0 7px;
    background-color: rgba(51,51,51, 0.4);
    border-radius: 0 0 3px 3px;
  }

  .main-menu > ul > li {
    float: left;
    margin: 0 0px;
    position: relative;
  }

  .main-menu > ul > li > a {
    display: block;
  }

  /**
   * Top level
   */
  .main-menu .menuLink {
    position: relative;
    float: none;
    width: auto;
    font-size: 20px;
    color: #fff;
  }

  .main-menu .hasSub > .menuLink {
    padding-right: 30px;
    font-weight: 400;
  }

  .main-menu .hasSub > .menuLink::before,
  .main-menu .hasSub:hover > .menuLink::before {
    content: '\e800';
    right: 10px;
    top: 22px;
    display: block;
  }

  .main-menu .hasSub a:focus + ul, 
  .main-menu .hasSub .childInFocus,
  .main-menu .hasSub a.inFocus + ul{
      display:block;
  }

  .main-menu .menuLink:hover,
  .main-menu .menuLink:focus {
    text-decoration: underline;
  }

  .main-menu .menuLink--active {
    background-color: transparent;
  }

  /**
   * Panel
   */
  .main-menu .main-menu__panel {
    top: 100%;
    left: -165px;
    width: 327px;
    background-color: #333;
    border-radius: 3px;
    margin-top: 14px;
  }
  @media only screen and (max-width: 1112px) {
      .main-menu .main-menu__panel {
          left: -243px;
      }
  }
  .main-menu__panel.main-menu__panel--left {
    left: -116px;
  }

  .main-menu .main-menu__panel::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: inset 13px;
    border-color: transparent transparent #333333;
    border-bottom-style: solid;
    visibility: visible;
    opacity: 1;
    position: absolute;
    top: 0;
    right: 17px;
    margin-left: -10px;
    margin-top: -26px;
  }

  .main-menu .hasSub > a::before,
  .main-menu .hasSub:hover > a::before {
    content: '\e802';
  }

  .main-menu .main-menu__panel li:hover > a {
    background-color: #9d3f97;
  }

  .main-menu .main-menu__panel li:hover > a::after {
    display: none;
  }

  .main-menu .main-menu__panel li li {
    margin-bottom: 0;
  }

  .main-menu .main-menu__panel li li a {
    background-color: transparent;
  }

  .main-menu .main-menu__panel li li a::after {
    display: block;
    background-color: #333;
  }

  .main-menu .main-menu__panel li li a:hover::after,
  .main-menu .main-menu__panel li li a:focus::after,
  .main-menu .main-menu__panel li li a:active::after {
    display: none;
  }

  .main-menu .main-menu__panel li ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 327px;
    border-radius: 3px;
    background-color: #474646;
  }
}

/**
 * NAV
 */

nav {
    font-family: 'Open Sans', sans-serif; 
    font-weight: 400;
    clear: both;
    position: absolute;
    text-align: center;
    z-index: 99999;
    width: 500px;
    right: 0;
    top: 0;
    box-shadow: 0 0 0.1em 0 rgba(0, 0, 0, 0.25);
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.3);
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul, .nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* CW 07/03/2018 Shrink mega menu*/
.nav.primary > li .menu {
    width: 400px;
}
.nav.primary > li .menu ul {
  width: 100%;
}

.nav>.hasSub,.nav>.hasSub a{
    box-sizing:border-box;
}

.nav a {
    color: white;
}

.nav.primary > li > a {
	display: inline-block;
	font-size: 1.2em;
	padding: 9px 25px 5px 25px;
	text-decoration: none;
	transition: all 0.1s;
}

.nav.primary > li > a:hover, 
.nav.primary > li > a:focus, 
.nav.primary > li.hover > a {
  	background-color: #efefe9;
}

.nav.primary > li.hasMenu > a:after {
	font-family: "fontello";
	display: inline-block;
	text-decoration: inherit;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 1.1em;
	content: '\e800';
	margin-left: 5px;
	position: relative;
	bottom: -0.15em;
}

.menuLink{
  cursor : pointer;
}

.nav.primary > li > a.menuLink
{
  padding-top: 9px;
}

@media only screen and (max-width: 414px) 
{
    /* Mobile Menu */
    .mobile-menu{
        top: 15px;
    }
    .mobile-menu span{
        background-color: #fff;
    }
    .main-menu .nav.primary > li 
    {
        width: 100%;
        color: black;
    }
    .main-menu .nav.primary > li > a
    {
        width: auto;
        text-align: center;
        padding: 1em;
        float: none;
        font-weight: 600;
        color: #737373;
    }
    .nav.primary > li > a:hover, .nav.primary > li > a:focus, .nav.primary > li.hover > a
    {
        background-color: #efefe9;
    }
    .hasMenu.hover
    {
        background-color: #efefe9;
    }
}

#c2{
    width: 10% !important;
}

#c3{
    width: 50% !important;
}

#styleOptions{
    margin-top: 40px;
}

footer .container .block.translate{
    position: unset !important;
}

header::before {
    content: "";
    position: absolute;
    background-color: transparent;
    bottom: -87px;
    height: 77px;
    width: 200px;
    border-top-left-radius: 29px;
    box-shadow: 0 -10px 0 0 #583f98;
}


.topTasks ul.grid li a, .topTasks ul.grid .size a {
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

header{
    background-image: none !important;
    background-color: white;
    border-bottom: solid 10px #583f98;
    border-image: linear-gradient(to left, #583f98 90%, rgba(0,0,0,0) 90%); /* to top - at 50% transparent */
  border-image-slice: 1;
}

.breadcrumb{
    display: none;
}

.header-info-text{
    text-align: initial;
    margin-top: 20px;
}

.header-info-text p{
    font-size: xxx-large;
    font-weight: 600;
}

.nav-menu.visible {
    display: flex;
    flex-direction: row;
}
.nav .nav-menu a {
    color: #262262;
    text-decoration: none;
}

.nav .nav-menu__item {
    font-size: x-large;
    font-weight: bold;
    padding:  0.5rem 1rem;
    display: inline-block;
    border-bottom: none;
    margin: 0;
    width: auto;
}

.nav .nav-menu__item.sub a:before {
    content: "";
}

.nav .nav-menu__item.nav-search {
    position: relative;
    vertical-align: top;
    margin-left: 2rem;
    display: inline-block;
}

.nav .nav-subMenu {
    position: absolute;
    top: 39px;
    border-top: 3px solid #262262;
    width: 200px;
}

.nav .nav-subMenu.active {
    display: block;
}

.nav .nav-subMenu__item {
    background-color: #fff;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.nav .nav-subMenu__item a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

@media only screen and (max-width: 820px) {
       .hamburger-menu {
        height: 23px;
        width: 35px;
        position: absolute;
        top: 3.5rem;
        right: 2.5rem;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
    .nav .nav-subMenu{
        position: relative;
        width: 100%;
        top: 0px !important;
    }
    
    .nav .nav-subMenu__item {
         padding: unset !important;
    }

    .hamburger-menu .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #262262;
    }
    
    .nav-menu {
        display: none;
    }

    .nav .nav-menu__item {
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        padding: 0;
        border-bottom: 2px solid #7c7b9b;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.visible {
        display: flex;
        flex-direction: column;
        align-items: end;
        background-color: #2F8128;
        margin-top: 79px;
        width: 100%;
    }

    .nav .nav-menu a {
        color: white;
        text-decoration: none;
        padding: 2rem 0rem 2rem 2rem;
    }

    header{
        height: 275px !important;
        border: none;
    }

    .header-info-text p {
            font-size: xx-large;
    text-align: center;
    }

    .header{
        margin-top: 80px !important; 
            height: 125px !important; 
        position: relative;
        background: url(/siteelements/images/custom-branding/hertshelp-logo-sept-2023-cropped-350x102.jpg) no-repeat left top  !important;
    }

    header::before{
        border: none;
        box-shadow: none;
    }
    .nav .nav-menu__item.sub > a:before {
         content: '\e800';
         position: absolute;
         right: 20px;
         top: 25px;
         display: block;
         font-family: "fontello";
         font-size: 3rem;
         font-weight: 400;
    }
    .nav .nav-menu__item {
        font-size: 1.5rem;
        font-weight: bold;
        text-transform: uppercase;
        padding: 0;
        border-bottom: 2px solid #7c7b9b;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .nav .nav-subMenu {
        
    }
    .nav .nav-subMenu__item {
        padding: 2rem 0 2rem 2rem;
        width: auto;
        font-size: 1.5rem;
        background: rgba(38,34,98,0.7);
    }

    .nav .nav-subMenu__item a {
        display: inline-block;
    }
    
    .nav .nav-subMenu.active {
    display: block;
    }
    .nav .nav-subMenu {
        display: none;
    }
    .nav .nav-menu__item.nav-search {
        display: none;
    }

        .nav-menu.visible{
    background-color: #583f98;
}


}

.nav-menu{
        width: 390px;
    position: absolute;
    right: 4%;
    top: 38%;
}

    .nav .nav-subMenu.active {
    display: block;
    }
    .nav .nav-subMenu {
        display: none;
    }

    .aboutMenuItem:hover .aboutDropDown{
display: block;
}

@media only screen and (min-width: 320px) {
    .nav .nav-menu a {
    text-decoration: none;
    }

}

.topTasks ul.grid li a h3, .topTasks ul.grid .size a h3 {
    padding-left: 25px;
}

.topTasks {
    margin-left: 4%;
    margin-right: 4%;
}
footer #c2{
    width: 33% !important;
}

footer #c3{
    width: 33% !important;
}

.social li{
    display: inline-block;
    font-size: 80px;
    padding: 25px;
}

.social{
    line-height: 16em;
}

  @media only screen and (max-width: 640px) {
  footer #c1 
  {
      display: inherit;
      width:100% !important;
  }
  
  footer #c2 
  {
       display: inherit;
       width:100% !important;
       height: 280px;
  }
  
 footer #c3 
  {
      display: inherit;
      width:100% !important;
  }

  .social li {
      display: unset;
  }

  .social{
            text-align: center !important;
  }
}

header a {
    color: #262262;
}

.topTasks ul.grid li a h3, .topTasks ul.grid .size a h3 {
    z-index: 2;
    background-image: none !important;
}

.topTasks a:before {
    content: '';
    background-image: linear-gradient(to bottom, rgba(50, 50, 50, 1), rgba(0, 0, 0, 0));
    display: block;
    height: 110%;
    width: 110%;
    position: relative;
    z-index: 1;
    left: -5%;
    top: -5%;
}

@media only screen and (min-width: 1170px) {
    .container {
        max-width: 1500px;
    }
}

footer .container h2 {
    background-image: url('/SiteElements/images/Funded-by-Hertfordshire-County-Council-white-Cropped-389x175.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    height: 200px;
    margin: 0 auto 3em auto;
    width: 444px;
    text-indent: -999em;
}
@media only screen and (max-width: 1024px) {
    footer .container h2 {
    width: 200px;
    }

}