/*
Theme Name: The Stadium Business
Theme URI: http://www.thestadiumbusiness.com
Author: Glen Wheeler Ltd
Author URI: https://www.glenwheeler.co.uk
Description: Brand new clean responsive theme for TheStadiumBusiness News website. All of TheStadiumBusiness news aggregated in once place. Clean fresh and on brand.
Version: 1.0

Tags: Mobile, Branded, Clean, Fresh, Responsive
Text Domain: TheStadiumBusiness

*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}

/* Mobile navigation fixes */

@media screen and (max-width: 500px) {
nav.primary-nav ul li {
    width: 100% !important;
    border-bottom: 1px solid #ebeaea;
    border-right: 0px !important;
}
}

/* Post Headline fix */

@media screen and (max-width: 500px) {
h1 {
    font-size: 24px !important;
    font-size: 1.5rem !important;
    word-wrap: break-word;
}
}

/* Related Articles */

.relatedposts ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 3rem;
    padding-left: 0px;
}

@media screen and (max-width: 900px) {
.relatedposts ul {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}
}

.relatedposts li {
    display: inline-block;
    min-height: 5em;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -moz-page-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
}

.relatedposts li {
  counter-increment: step-counter;
  margin-bottom: 10px;
}

.relatedposts li::before {
  content: counter(step-counter);
  margin-right: 5px;
  font-size: 2em;
  color: #e7e9ee;
  position: absolute;
}

.relatedcontent {
    display: inline-block;
    vertical-align: top;
    padding-top: 6px;
    padding-left: 50px;
    border-top: 2px solid #e7e9ee;
}

div#relatedposts {
    display: block;
    margin-top: 2em;
    padding-top: 1em;
}

.relatedposts h4 {
    font-size: 1em;
    margin-bottom: 0px;
}

/* Disable page title on homepage */

.home h2.padded-title {
    display: none;
}

/* Header Search styling */

.header-search-container {
    display: inline-block;
    max-width: 40%;
    float: right;
    position: relative;
    top: -6px;
}

.header-search-container .global-search button {
    padding: 12px 17px;
}

.header-search-container form.global-search {
    margin-bottom: 0px;
}

.site-header ul.social {
    max-width: 65% !important;
    display: inline-block;
}

@media screen and (max-width: 1190px) { 
.site-header ul.social {
    max-width: 56% !important;
}
}

@media screen and (max-width: 810px) { 
.site-header ul.social {
    max-width: 45% !important;
}
.header-search-container {
    max-width: 50%;
}
}

@media screen and (max-width: 680px) { 
.header-search-container {
    max-width: 50%;
    top: 14px;
}
}

@media screen and (max-width: 519px) { 
.header-search-container {
    display: block;
    max-width: 100%;
    float: none;
    position: relative;
    top: 14px;
}
.site-header ul.social {
    max-width: 100% !important;
}
}

/* Search results */

.search-results .page-head-padded p {
    color: #fff;
    margin: 0;
    padding: 0 0 30px 0;
}

.search-list-content article h2 {
    font-size: 24px;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
}

span.results-span {
    font-family: Arial, Helvetica, sans-serif;
}

.search-meta {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

/* Pop Ups */

div#wpmu-install-dashboard, #wpmu-install-dashboard {
    display: none !important;
}

.wdpu-msg {
    background-color: #ec008c !important;
    border: 5px solid #ec008c;
}

.strapline-pop-up {
    text-align: center;
        margin-bottom: 1em;
}

.mc-pop-up .mc-field-group input {
    border: 2px solid #ebeaea;
    padding: 10px;
    width: 100%;
}

.mc-pop-up div#mc_embed_signup {
    overflow: hidden;
}

.mc-col {
    display: inline;
    width: 50%;
    float: left;
}

.mc-field-group {
    box-sizing: inherit !important;
}

.wdpu-19113 *, .wdpu-19113 *:before, .wdpu-19113 *:after {
    box-sizing: inherit !important;
}

.wdpu-text {
    padding-bottom: 0px !important;
}

input#mc-embedded-subscribe {
    border-radius: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

input#mc-embedded-subscribe {
    border-radius: 0px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 25px;
    text-transform: uppercase;
    background: #ec008c;
}

input#mc-embedded-subscribe:hover {
    background: #ec008c;
}

.mc-pop-up .mc-field-group input:hover {
    border: 2px solid #ec008c;
}

/* Post Subscribe feature */

.strapline-news-post {
    margin-bottom: 1em;
}

.news-post-subscribe-button {
    display: inline-block !important;
    margin-top: 1em;
}

.news-post-subscribe-area {
    border-top: 3px solid #ec008c;
    padding-top: 1em;
}

/* Homepage Splash Grid */

@media screen and (min-width: 660px) {

.home-grid {
    position: inherit;
    display: flex;
    flex-flow: row;
}

.home-grid  .home-splash-grid {
    list-style: none;
    padding-left: 0px;
    position: inherit;
}

.home-grid  .home-splash-grid-item, .home-grid  .grid-item {
    display: inline-block;
    background-color: #ec008c;
    color: #fff;
    position: inherit;
    height: 175px;
    width: 100%;
    border: 2px solid #fff;
    flex: auto;
    transition: all .4s;
    transition-timing-function: ease-in-out;
}

.home-grid .splash-grid-title {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    position: absolute;
    padding: 20px;
    font-family: 'nexa_boldregular';
    text-transform: uppercase;
}

.home-grid span.grid-meta {
    text-transform: none;
    font-size: 0.75em;
}

.home-grid .gutter-sizer {
    width: 0px !important;
}

.home-grid .grid-block {
    position: inherit;
    display: flex;
    flex: auto;
    flex-flow: row wrap;
}

.home-grid .grid-block-1 {
    width: 0%;
    flex-direction: row;
}

.home-grid .home-splash-grid-item:first-child {
    height: 350px;
}

.home-grid .grid-block-2 .home-splash-grid-item {
    width: 50%;
    height: 175px;
    display: inline-block;
}

.home-grid .grid-block-3 .home-splash-grid-item {
    width: 0%;
    height: 350px;
    display: inline-block;
}

.home-grid .grid-block-4 .home-splash-grid-item {
    width: 50%;
    height: 175px;
    display: inline-block;
}

.home-grid .grid-block-4 {
    width: 39%;
}

.home-grid .grid-block-4 .home-splash-grid-item:nth-child(2) {
    width: 23%;
}

.home-grid .grid-block-4 .home-splash-grid-item:nth-child(3) {
    width: 28%;
}

.home-grid .home-splash-grid-item:nth-child(6) {
    width: 40%;
    height: 350px;
}

.home-grid .grid-block-2 .home-splash-grid-item:nth-child(2), .home-grid  .grid-block-4 .home-splash-grid-item:nth-child(2) {
    background: #ec008c !important;
}

.home-grid .grid-block-2 .home-splash-grid-item:nth-child(3) {
    background: #343434 !important;
}

.home-grid .grid-block-2 .home-splash-grid-item:nth-child(1):hover, .home-grid  .grid-block-2 .home-splash-grid-item:nth-child(4):hover, .home-grid  .grid-block-4 .home-splash-grid-item:nth-child(3):hover {
    background: #ec008c !important;
}

.home-grid .grid-block-2 .home-splash-grid-item:nth-child(1) .splash-grid-title, .home-grid .grid-block-2 .home-splash-grid-item:nth-child(4)  .splash-grid-title, .home-grid  .grid-block-4 .home-splash-grid-item:nth-child(3)  .splash-grid-title {
    opacity: 0;
}

.home-grid .grid-block-2 .home-splash-grid-item:nth-child(1):hover .splash-grid-title, .home-grid .grid-block-2 .home-splash-grid-item:nth-child(4):hover  .splash-grid-title, .home-grid .grid-block-4 .home-splash-grid-item:nth-child(3):hover  .splash-grid-title {
    opacity: 1;
}

.home-grid .grid-block-1 .splash-grid-title {
    bottom: 0% !important;
    background: #343434;
    left: 20px;
    top: inherit !important;
    transform: inherit !important;
}

.home-grid .grid-block-3 .home-splash-grid-item::before, .home-grid .grid-block-4 .home-splash-grid-item:nth-child(1):before, .home-grid .grid-block-4 .home-splash-grid-item:nth-child(4):before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(53, 53, 53, 0.35);
    transition: all .3s;
}
}

@media screen and (max-width: 660px) {
.home-grid .home-splash-grid-item, .home-grid .grid-item {
    display: inline-block;
    background-color: #ec008c;
    color: #fff;
    position: relative;
    height: 350px;
    width: 100%;
    border: 2px solid #fff;
    transition: all .4s;
    transition-timing-function: ease-in-out;
}
.home-grid .splash-grid-title {
    padding: 20px;
    background: #ec008c;
    font-family: 'nexa_boldregular';
    text-transform: uppercase;
    position: absolute;
    bottom: 0%;
    display: inline-block;
    margin: 20px;
}
.home-grid span.grid-meta {
    text-transform: none;
    font-size: 0.75em;
}
}

.home-grid .home-splash-grid-item a, .home-grid .home-splash-grid-item a:hover {
    color: #fff;
}

input.wpcf7-form-control.wpcf7-submit {
    margin-top: 1em;
}

/* homepage changes */

.all-news-btn {
	padding: 15px;
    font-family: 'nexa_heavyregular';
    font-size: 18px;
    font-size: 1.125rem;
    -webkit-box-shadow: 5px 5px 0px 0px #e5e5e5;
    -moz-box-shadow: 5px 5px 0px 0px #e5e5e5;
    box-shadow: 5px 5px 0px 0px #e5e5e5;
    text-transform: uppercase;
    background: #ec008c;
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}

.relatedposts li::before {
	display: none;
}
.relatedcontent {
    padding-left: 0;
}

/* Optimisation fixes */

.side-widget h4 {
    margin-top: 20px !important;
}

.tab-sidebar .home--sidebar:nth-child(3) {
    display: initial !important;
}

/*.grid_item.grid_8.tab-main-content img {
    width: 100% !important;
    height: auto !important;
}*/

.small-ad-space .small--advert {
    margin: 0 0 20px 0 !important;
}

/* SVG Logo */

img.svg-logo {
    max-width: 246px;
    margin: 0 !important;
    padding: 0 !important;
}

@media screen and (max-width: 680px) {
.site-header .grid_4 img {
    display: block;
    margin: auto !important;
}
}

/* Jobs */

.company-website a,
.job-meta-contain a {
    color: #ec008c;
}

.job-meta-contain {
    background: #7c3a76;
    padding: 1em;
    color: #fff;
}

.jobs-heading li {
    display: block !important;
}

.company-logo img {
    max-width: 100px;
}

.company-details {
    text-align: right;
    color: #fff;
}

.post-type-archive-jobs .page-head-padded p,
.jobs-wrapper p {
    padding: 0 0 23px 0 !important;
}

.acf-input input[type="radio"] {
    -webkit-appearance: radio;
}

form#acf-form,
.login-prompt {
    background: #fafafa;
    padding: 2em;
}

.hasDatepicker {
    border-bottom: 1px solid #f0f0f0;
}

.jobs-list-content-item ul {
    padding: 0;
}

.jobs-list-content-item {
    background: #fafafa;
    padding: 1em !important;
    margin-bottom: 1em !important;
    position: relative;
}

.old-job .job-overlay {
    width: 100%;
    height: 100%;
    background-color: #ffffffc7;
    z-index: 999;
    top: 0em;
    object-fit: cover;
    position: absolute;
    left: 0;
}

.job-row .company-details {
    color: #000;
}

input.all-news-btn.submit-job-btn {
    background: #ec008c;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2em;
    cursor: pointer;
}

.job-cat-list-item {
    display: inline-block;
    margin-bottom: 1.2em;
    margin-right: 10px;
    padding: 7px;
    background: #fbfbfb;
}

.jobs-list-content-item h2 {
    font-size: 1.5em;
    text-transform: capitalize;
}

.grid_item.grid_12.news-list-content.jobs-list-content-item.jobs-list-featured-item,
.grid_item.grid_12.featuredtrue {
    background: #787777;
    color: #fff !important;
    border: 5px solid #ec008c;
}

.grid_item.grid_12.news-list-content.jobs-list-content-item.jobs-list-featured-item a,
.grid_item.grid_12.featuredtrue a,
.grid_item.grid_12.news-list-content.jobs-list-content-item.jobs-list-featured-item  .company-details,
.grid_item.grid_12.featuredtrue .company-details {
    color: #fff;
}

.job-list-contain {
    float: left;
}

.job-list-sidebar {
    float: right !important;
}

.submit-job-btn-contain-header {
    display: none;
}

.submit-job-btn-contain-sidebar {
    display: block;
}

@media screen and (max-width: 1115px) {
.job-list-contain,
.job-list-sidebar {
    float: none !important;
    width: 100% !important;
}
.submit-job-btn-contain-header {
    display: block;
}
.submit-job-btn-contain-sidebar {
    display: none;
}
}

.jobs-cat-list-contain {
    margin-bottom: 1.2em;
}

.submit-job-btn-contain-sidebar {
    background: #6d6c6c;
    padding: 25px;
    margin-bottom: 1em;
}

.job-list-sidebar input.all-news-btn.submit-job-btn {
    margin-bottom: 0.5em;
}

.job-list-sidebar h2 {
    color: #fff;
    font-size: 1.5em;
}

.job-list-sidebar p {
    color: #fff;
}

.job-list-sidebar input.all-news-btn.submit-job-btn:hover {
    background: #ec008c;
}

span.time-ago {
    font-weight: 300 !important;
    font: 13px sans-serif;
    display: block;
    margin-top: 0.4em;
}

.company-website,
.apply-link.job-meta {
    background: #ec008c;
    display: inline-block;
    padding: 10px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.company-website a,
.company-website a:hover,
.apply-link.job-meta a,
.apply-link.job-meta a:hover {
    color: #7d3b77 !important;
}

.single-jobs .submit-job-btn-contain-sidebar {
    margin-top: 1em;
    display: block !important;
}

.single-jobs .grid_item.grid_8.jobs-heading {
    width: 65.66% !important;
}

.single-jobs .grid_item.grid_8.jobs-heading h1 {
    margin-top: 0 !important;
}

.grid_item.grid_12.news-list-content.jobs-list-content-item.jobs-list-featured-item a:hover,
.grid_item.grid_12.featuredtrue a:hover {
    color: #d6e95a;
}

.grid_item.grid_4.jobs-heading {
    position: relative;
}

.old-job {
    background: #fff;
    color: #d7d7d7 !important;
}

.old-job a {
    color: #d7d7d7;
}

.old-job a:hover {
    color: #d6e95a;
}

input.acf-button.button.button-primary.button-large {
    padding: 15px;
    border-radius: 0;
    font-family: 'nexa_heavyregular';
    font-size: 18px !important;
    font-size: 1.125rem !important;
    -webkit-box-shadow: 5px 5px 0px 0px #e5e5e5;
    -moz-box-shadow: 5px 5px 0px 0px #e5e5e5;
    box-shadow: 5px 5px 0px 0px #e5e5e5;
    text-transform: uppercase;
    background: #ec008c;
    color: #fff;
    display: block;
    text-align: center;
    margin-top: 0.5em;
}

input.acf-button.button.button-primary.button-large:hover {
    background: #ec008c;
}

.single-jobs h1 {
    text-transform: capitalize;
}

.facet-search {
    display: inline-block;
}

.facet-search .facetwp-dropdown {
    color: #ec008c !important;
    margin-bottom: 1.2em;
    margin-right: 10px;
    padding: 7px;
    font-variant-ligatures: inherit;
    font-variant-caps: inherit;
    font-variant-numeric: inherit;
    font-variant-east-asian: inherit;
    font-weight: inherit;
    font-stretch: inherit;
    font-size: 100%;
    line-height: inherit;
    font-family: inherit;
}

.facet-search, .job-cat-list-item {
    display: inline-block;
    vertical-align: top;
}

.facet-search .facetwp-dropdown:hover {
    color: #ec008c !important;
}

.acf-input select {
    background: #fff;
    padding: 7px;
}

nav.primary-nav ul li:nth-child(2) a {
    background: initial !important;
    color: #989898 !important;
}

nav.primary-nav ul li.active a {
    background: #ec008c !important;
    color: #fff !important;
}

nav.primary-nav ul li.active a:hover,
nav.primary-nav ul li:nth-child(2) a:hover {
    background: #ec008c !important;
    color: #fff !important;
}

/* jobs post launch fixes */

/*.page-template-frontendpublish-template .acf-editor-wrap.tmce-active {
    display: none;
}

.page-template-frontendpublish-template .acf-image-uploader img {
    display: none !important;
}

.page-template-frontendpublish-template .show-if-value.file-wrap {
    display: none;
}*/

.single-post img {
    height: auto;
}