:root {
    --main-background-color: #000000;
    --main-front-color:#e73029;
}
body.custom-background {
    background-image: url("/site_files/district.com.au/images/backgrounds/demonsdistrict.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    background-attachment:fixed!important;
}

#nav-logo {
    background: url("/site_files/district.com.au/images/district-logos/perth.png") no-repeat;
    height: 145px;
    width: 136px;
    margin-top: 4px;
    background-position-x: 5px;
}
#content-area > table > tbody > tr { vertical-align: middle!important;}
.sponsors > table > tbody > tr > td,
.sponsors > table > tbody > tr > td > div > img ,
.sponsors tr { vertical-align: middle!important;}

.highlight,
.readmore { color: #e73029; }

span.headlines-header { color: #e73029; background: #000000!important; }

#nav-main-wrapper { background: #000000!important; }

#menu > li {
   padding-right: 3px;
   padding-left: 3px;
   color: #e73029;
   background: #000000;
}

#menu li.first {
    margin-left: -6px;
}

#content-area > table {
    border: 2px;
}
h4.widget-header {
   background: #000000 url("/site_files/waflclub.com.au/images/club-logos/perthfc-hmini.png") no-repeat top right!important;
   color: #e73029;
}

.the-board > table > tbody > tr > td > h3 { 
    
}
div.board-of-directors-staff > table> tbody > tr > td { padding-right: 8px;}

/* sponsors page */

#footer-wrapper {
    background:  var(--main-background-color);
}

.footer-sponsors ul li {
  float: left;
  margin-left:20px;
}

.footer-sponsors ul li img {
  height: 40px;
}

/** Media Query related **/

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

    #nav-logo {
        background: url("/site_files/waflclub.com.au/images/club-logos/perth-small.png") no-repeat !important;
    }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
    #nav-logo {
        background: url("/site_files/waflclub.com.au/images/club-logos/perth-small.png") no-repeat !important;
    }
}

@media screen and (max-width: 1002px) and (min-width: 768px) {
    #nav-logo {
        background: url("/site_files/waflclub.com.au/images/club-logos/perth-small.png") no-repeat !important;
    }
@media screen and (max-height: 900px) {
    body.custom-background {
        background-size: inherit;
        background-attachment:inherit;
        background-size: 1730px;
    }
}
}