/* Remove all p padding except from block navigation */
p:not([class*='tree_item']) {
    padding: 0px!important;
}

/* Style the overall frame on the View Single page (also deployed on Add Entry) */
div.single {
    text-align: left;
    border: solid;
    padding: 10px 10px 10px 10px;
}

/* Style the footer on the View Single page */
div.single-footer {
    background: #d3d3d3 !important;
    padding: 10px 0px 10px 0px !important;
}

/* h1 styling for View Single page (module name) */
h1.title {
    background: #74a6ad !important;
    color: #ffffff!important;
    padding: 10px 0px 10px 0px !important;
    font-weight: bold;
    text-align: center;
}

/* h3 styling for View Single page (module code) */
h3.title {
    padding: 10px 0px 10px 0px !important;
    font-weight: bold !important;
    text-align: center;
}

/* Styles the table of information on View Single */
table.moddetails {
    border-color: #000000;
    border-width: 1px!important;
    width: 100%;
    border-style: solid;
}

/* Background colour for designated rows on View Single table */
tr.moduledetails-shade td {
    background-color: #eeeeee;
}

/* Styles the left-hand column of table on View Single */
td.moddetails1 {
    border-color: #000000;
    border-width: 1px!important;
    border-style: solid;
    width: 20%;
    padding: 5px;
}

/* Styles the right-hand column of table on View Single */
td.moddetails2 {
    border-color: #000000;
    border-width: 1px!important;
    border-style: solid;
    width: 80%;
    padding: 5px;
}

/* The header of the table on View List */
th.modulelist {
    text-align: left;
    border-color: #000000;
    border-width: 1px!important;
    border-style: solid;
    padding: 5px;
}

/* Alternate row styling on View List (class imposed by javascript) */
tr.modulelist0 td {
    background-color: #d5e4e6;
    border-color: #000000;
    border-width: 1px!important;
    border-style: solid;
    padding: 5px;
}

/* Alternate row styling on View List (class imposed by javascript) */
tr.modulelist1 td {
    background-color: #d3d8e2;
    border-color: #000000;
    border-width: 1px!important;
    border-style: solid;
    padding: 5px;
}

/* Background colour for designated rows on Advanced Search table */
tr.advancedsearch-shade td {
    background-color: #d5e4e6;
}

/* Button styling to create button links */
.buttonlink {
    background-color: #444;
    padding: 8px 8px 8px 8px;
    border: none;
    cursor: pointer;
    vertical-align: middle;
}

/* Button link text white */
.buttonlink a {
    color: #ffffff;
}

/* Retain button link text as white once link has been visited */
.buttonlink a:visited {
    color: #fff;
}

/* Change the background color of the button link on hover */
.buttonlink:hover {
    background-color: #c70151;
}

/* A top-and-bottom padded div */
div.padded {
    padding: 10px 0px 10px 0px;
}

/* A top-and-bottom padded and grey shaded div */
div.padded-shaded {
    padding: 10px 0px 10px 0px;
    background-color: #eeeeee;
}

/* A top-padded div */
div.padded-top {
    padding: 10px 0px 0px 0px;
}

/* A div in which all p objects display inline */
div.inline-p p {
    display: inline;
}

/* A red background div for warning messages */
div.warning {
    background: #ff9999 !important;
    padding: 5px 5px 5px 5px;
}