/**EXEC RECRUITMENT STYLESHEET**/

/*html*/
html {
	max-width: 100%;
	overflow-x: hidden;
}

/*general*/
:focus {
    outline: 0px;
  }
p {
    margin-bottom: 1em;
}

/*header*/
#header {
	padding: 1.5em 0 1em 0;
	border-bottom: solid 25px #DA1936;
    height: 15em;
}
#header .container {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}
#content > header {
	margin: 0;
}
#nav ul ul {
    position: initial;
    top: 100%;
    margin-top: 1em;
    left: -9999em;
    border-radius: 6px;
    list-style: none;
    margin: calc(-0.5em + 1px) 0 0 1px;
    padding: 0.5em 0;
    width: 11em;
    margin-top: .6em;
    font-size: 0.9em;
    width: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: none;
}
#header nav {
    font-size: 1.3em;
    height: inherit;
    line-height: inherit;
    position: inherit;
    right: 0.75em;
    top: 0;
    margin-left: 3%;
    margin: 0 auto;
    right: 2.75em;
}
#header nav > ul > li a:not(.button) {
    color: #fff;
    display: inline-block;
    min-height: 2em;
    height: auto;
    text-decoration: none;
    display: none;
    border: 0;
}
#header nav > ul > li {
    display: inline-block;
	text-align: center;
}
#nav ul li:hover ul::before, #nav ul li.hover ul::before {
    display:none;
  }
#nav ul ul li {
    position: static;
    padding: 0;
    display: block;
    float: left;
}
#nav > ul > li > ul > li a:hover {
    color: #000000;
	text-decoration: underline;
	text-decoration-color: var(--sp-teal);
}
#nav > ul > li > ul > li a:not(.button) { 
    border-right: solid 1px #bbb;

}
#nav > ul > li > ul > li a:not(.button) {
    color: #000;
    display: block;
    padding: 0.15em 1em;
    border-radius: 0;
    transition: none;
    border: 0;
    font-size: 1em;
    font-style: normal;
    font-weight: 800;
    text-decoration: underline 3px #DA1936;
    text-transform: uppercase;
}
#nav > ul > li > ul > li a:not(.button):hover {
    text-decoration: none;
}

/*main page*/
#main {
	padding: 0;
}
#content {
	background: none;
	border: 0px;
    padding: 10px 0 0 0;
}

.index-modular p:first-of-type {
	margin-top: 5%;
}
.col-12:last-child {
	display: none;
}

/*category page*/
.homepage-modular .contact-us {
	margin-top: 0;
}
.category-modular #content > header,.homepage-modular #content > header, .search-list #content > header  {
    margin-top: 5%;
}
.list--breadcrumb a {
    line-height: 2.5;
}
.homepage-modular .list--breadcrumb > .list__item:nth-of-type(2) a, .homepage-modular .list--breadcrumb > .list__item:nth-of-type(2):after {
    display:none;
  }

/*job links*/
 .home-cta {
    display: contents;
}
a {
	color: #CD2B49;
	text-decoration: none;
	line-height: 1.5;
	font-weight: 400;
}
.home-cta img {
    object-fit: cover;
    width: 100%;
    background-color: white;
}
.home-cta > .imageCaption {
	margin-top: 5%;
}
.box.post .home-cta h2 {
    z-index: 1000;
    font-weight: 400;
    font-size: 2em;
    margin-top: -150px;
    margin-bottom: 70px;
    background-color: #CD2B49;
    position: absolute;
    padding: 2px 1.5em 2px .5em;
    max-width: 29%;
    color: white;
    border-radius: 0 50px 50px 0;
}
.home-cta h2::after {
    background-image: url(https://www.stoke.gov.uk/site/images/icon-chevron-right.svg);
    background-position: 55% center;
    background-repeat: no-repeat;
    border-radius: 50%;
    content: '';
    height: 2rem;
    margin-left: -2.3em;
    margin-top: -3px;
    position: absolute;
    width: 2rem;
    background-color: white;
    right: 4%;
    top: 30%;
}
.box.post .home-cta h2 a, .box.post a .home-cta h2 {
    font-weight: 400;
    line-height: .8;
}

/*search bar*/
form input[type="text"]:hover, form input[type="email"]:hover, form input[type="password"]:hover, form input[type="search"]:hover, form input[type="date"]:hover, form select:hover, form textarea:hover, form input[type="text"]:focus, form input[type="email"]:focus, form input[type="password"]:focus, form input[type="search"]:focus, form input[type="date"]:focus, form select:focus, form textarea:focus {
    box-shadow: inset 0px 0px 1px 1px #DA1936; 
    }
    
/*images*/
.image {
    width: 100%;
}
.image--with-link img {
    height: 250px;
    object-fit: cover;
    min-width: 100%;
    display: block;
}
.logo img {
	max-width: 120px;
}
.logo {
    margin: 0 auto;
}

/*summary detail tags*/
details {
	margin-bottom: 5px;
}
summary {
	list-style: none;
	padding: 10px;
	background-color: #DA1936;
	color: white;
	font-weight: bold;
	margin-bottom: 5%;
}
  summary:after {
    content: "+";
    margin-left: 5px;
  }
  summary:hover {
    cursor: pointer;
    text-decoration: underline 3px white;
  }
  details:open > summary:after {
    content: "-";
  }

/*links as buttons*/
a p.image__caption {
    background: #cd2b49;
    color: white;
    padding: .5em;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: underline;
}
a p.image__caption:hover {
    text-decoration-thickness: 2px;
}
.widget-documents li.list__item, .widget-navigation li.list__item {
    background: #cd2b49;
    color: white;
    padding: .5em;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 1em;
    list-style: none;
    margin-left: -1em;
}
.widget-documents li.list__item a, .widget-navigation a.list__link, .supplement--navigation ul li a {
    color: white;
}
.supplement--navigation ul li {
    padding-left: 0.5em;
    background: #cd2b49;
    color: white;
    padding: .5em;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 1em;
    list-style: none;
    margin-left: -1em;
}
.link.depth-0 {
        display: none !important;
    }

/*buttons*/
.button.button--primary {
	background-color: #DA1936;
}

/*footer*/
.widget-row:last-of-type {
	margin-bottom: 5%;
}

#copyright ul.links {
        display: none;
}
#footer {
        background-color: #A21328;
        margin: 0;
        position: initial;
}
#footer .col-12 {
	padding: 0;
}
#footer .row .col-12 section {
	position: absolute;
	top: 100px;
	right: 2rem;
	width: 50%;
}
#footer header {
    margin: 0 0 1em 0;
}
  #footer .col-4.col-6-medium.col-12-small {
    padding-top: 0;
}
  #footer section {
	margin: 20px;
}

/*custom*/
.contact-us {
	padding: 20px 20px 50px 20px;
    margin-left: 40%;
    margin-top: 100px;
}
.contact-us h2 {
    color: white;
}
.contact-us p {
	width: 30%;
}
.widget.widget--contact-us {
	background-color: #DA1936;
	color: white;
    margin-left: -200%;
    margin-right: -200%;
}
.widget--contact-us a {
	background-color: white;
	padding: 10px;
}
.external:after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin-left: 5px;
}


/*media rules*/
@media screen and (max-width:980px){
    .logo {
      margin-left: 5%;
    }
  }
  
@media screen and (max-width: 860px){
  #footer .row .col-12 section {
    top: 180px;
    width: 80%;
  }
  .logo {
    width: 100%;
    margin-top: -5%;
  }
  #header {
      height:20em;
      padding-top: 0
  }
}

@media screen and (max-width: 780px){
    .logo {
        margin-left: 0;

    }
}

@media screen and (max-width: 760px){
    .box.post .home-cta h2 {
     z-index: 1000;
     font-weight: 400;
     font-size: 2em;
     margin-top: -150px;
     margin-bottom: 70px;
     background-color: #CD2B49;
     position: absolute;
     padding: 2px 1.5em 2px .5em;
     max-width: 100%;
     color: white;
     border-radius: 0 50px 50px 0;
    }

    .home-cta img {
        height: 250px;
        }
 }

 @media screen and (max-width: 380px){
    .logo {
      margin-top: -10%;
    }
    }

 