:root {
    --main-background-color: #b52026;
    --main-front-color:#FFF;
}

body.custom-background {
    background-image: url("/site_files/district.com.au/images/backgrounds/bulldogsdistrict.jpg");
    background-repeat:no-repeat;
    background-size: cover;
    background-attachment:fixed!important;
}

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

#nav-main-wrapper {
background:var(--main-background-color) !important;

box-shadow: 0 2px 10px #000;
}

h4.widget-header {
   background: #00325f  no-repeat top right!important;
   color: #FFF;
}
.highlight,
.readmore { color: #00539f; }
#menu li.first { margin-left: -13px;}
#menu > li { background: var(--main-background-color);}
#content-area > table > tbody > tr > td > p > img { vertical-align:middle !important;}
#content-area > table > tbody > tr {vertical-align: middle;}
#content-area > table > tbody > tr > td > img { vertical-align:middle !important;}
#content-area > table > tbody > tr> td { font-family: Oswald; padding-right: 20px;}
div.board-of-directors-staff > table> tbody > tr > td { padding-right: 8px;}



#menu > li {
  padding-right: 2px;
  padding-left: 2px;
}

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

h4.widget-header,
span.headlines-header {
    background: #ea1c24!important;
}


.sponsors table tbody tr td {
font: inherit; 
vertical-align: middle;
padding: 20px;
}



/* sponsors page */


#footer-wrapper {
  background:  #7f1e22;
}

.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/district.com.au/images/district-logos/southfremantle-small.png") no-repeat !important;
    }
}

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

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