﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: small;
    font-style: normal;
    color: black;
    margin: 0em;
}

#masthead {
    height: 12.8em;
    background-color: #402961;
    background-image: url('../Images/pu-banner-purple.jpg');
    margin: 0em;
}

    #masthead a {
        color: white;
        text-decoration: none;
    }

#top {
    max-width: 81em;
    margin: auto;
}
    #top h1 {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 0.25em;
    margin: 0 0 5px 0;
    padding: 0;
    text-align: left;
    }

    #top h2 {
    color: white;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 0em;
    }

#Logo {
    height: 80px;
    float: left;
    border: none;
    margin: 2.5em 1em 0em 0em;
}

#page-content {
    width: 100%;
    background-color: #BBDDDB;
    overflow: hidden;
}

#content-wrapper {
    background-color: white;
    max-width: 81em;
    margin: auto;
}

#primary-nav {
    display: block;
    position: absolute;
    top: 128px;
}

#secondary-nav {
    display: block;
    min-width: 100%;
    float: left;
    text-align: left;
    margin: 0px;
}

#hamburger {
    display: none;
}

#primary-nav ul, #secondary-nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nav {
    vertical-align: top;
    display: inline-block;
    /*box-shadow:
		1px -1px -1px 1px #000,
		-1px 1px 1px 1px #fff,
		0 0 6px 3px #fff;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;*/
}

    .nav a {
        display: block;
        color: white;
        background-color: #006d79;
        text-decoration: none;
        padding: 0.8em 1.5em;
        /*text-shadow: 0 -1px 0 silver;*/
        position: relative;
    }

#secondary-nav .nav a {
    background-color: #402961;
}
    
    #secondary-nav #promotion a {
        color: black;
        background-color: white;
        box-shadow: none;
    }

.nav a:visited, .nav a:link {
    color: white;
    text-decoration: none;
}

.nav li {
    position: relative;
}

.nav > li {
    float: left;
    /*border-bottom: 4px #aaa solid;*/
    margin-right: 1px;
}

    .nav > li > a {
        margin-bottom: 1px;
        box-shadow: 0px 20px 10px -5px teal inset;
    }

#secondary-nav .nav > li > a {
    box-shadow: 0 20px 10px -5px #6C4D93 inset;
}

.nav > li:hover, .nav > li:hover a {
    border-bottom-color: aqua;
}

.nav li:hover > a, #secondary-nav .nav li:hover > a, .nav a:focus, #secondary-nav .nav a:focus {
    color: black;
    background-color: white;
    box-shadow: none;
}
/*.nav > li:first-child { 
	border-radius: 0 0 4px 0;
	-moz-border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
} 
.nav > li:first-child > a { 
	border-radius: 0 0 4px 0;
	-moz-border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
}
.nav > li:last-child { 
	border-radius: 0 0 4px 0;
	-moz-border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
	margin-right: 0;
} 
.nav > li:last-child > a { 
	border-radius: 0 0 4px 0;
	-moz-border-radius: 0 0 4px 0;
	-webkit-border-radius: 0 0 4px 0;
}*/
.nav li li a {
    margin-top: 0px;
}

.nav li a:first-child:nth-last-child(2):before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border: 5px solid transparent;
    top: 50%;
    right: 5px;
}

.nav ul {
    position: absolute;
    white-space: nowrap;
    /*border-bottom: 5px solid  aqua;*/
    z-index: 1;
    left: -99999em;
}

.nav > li:hover > ul {
    left: auto;
    margin-top: 5px;
    min-width: 100%;
}

.nav > li li:hover > ul {
    left: 100%;
    margin-left: 1px;
    top: -1px;
}
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before {
    border-top-color: white;
}

.nav > li:hover > a:first-child:nth-last-child(2):before {
    border: 5px solid transparent;
    border-bottom-color: black;
    margin-top: -5px
}

.nav li li > a:first-child:nth-last-child(2):before {
    border-left-color: #aaa;
    margin-top: -5px
}

.nav li li:hover > a:first-child:nth-last-child(2):before {
    border: 5px solid transparent;
    /*border-right-color: aqua;*/
    right: 10px;
}

#safetymenu a {
    color: black;
    background-color: white;
    box-shadow: none;
}

#breadcrumbs {
    font-family: Arial, Helvetica, sans-serif;
    font-size: smaller;
    margin: 0.75em 0em 0em 0em;
}

#content-area {
    display: inline-block;
    padding: 0em 0em 1em 2em;
    margin: 0em;
}

.part-width {
    width: 74%;
}

.full-width {
    width: 97.5%;
}

#navcolumn {
    display: block;
    color: black;
    background-color: white;
    width: 17em;
    text-align: left;
    float: right;
    margin-top: -39px;
}

#navrelated {
    display: block;
    border: 1px solid #402961;
}

    #navrelated h2, #navrelated h1 {
        margin: 0;
        padding: 0.5em;
        font-size: 115%;
        background-color: #402961;
        color: #ffffff;
    }

    #navrelated ul, #navother ul {
        list-style-type: none;
        margin: 0.25em 0em 0.25em 0em;
        padding: 0 1em 1em 0;
    }

    #navrelated a, #navother a {
        text-decoration: none;
    }

        #navrelated a:visited, #navother a:visited {
            color: #402961;
        }

    #navrelated li {
        padding: 0.25em 0em 0.25em 1em;
    }

        #navrelated li:hover, #navrelated a:hover, #navrelated a:focus, .subject a:focus, .subject h2 a:focus {
            text-decoration: underline;
        }

#hide {
    position: relative;
    top: 0.5em;
    margin-right: 0.5em;
    margin-top: -39px;
}

#show {
    position: relative;
    top: 0.5em;
    margin-right: 0.5em;
    margin-top: -39px;
    display: none
}

#footer {
    color: white;
    background-color: #006d79;
    font-size: small;
    text-align: center;
    margin: 0em;
    padding: 0em 0em 1.25em 0.5em;
}

    #footer p {
        padding-top: 1.5em;
    }

    #footer a {
        color: white;
        text-decoration: none;
    }

        #footer a:hover {
            text-decoration: underline;
        }

#government {
    float: right;
    padding-left: 1em;
    margin: 1em 0em 0em 0em;
}

#moh {
    float: left;
    margin-top: 0.4em;
}

#accessibility {
    display: none;
}

p {
    margin-top: 0em;
    margin-bottom: 1em;
}

h1 {
    margin-top: 0.5em;
    font-size: 1.25em;
    font-weight: bold;
    color: #362B7C;
}

h2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #362B7C;
}

h3 {
    font-size: 1.25em;
    color: #362B7C;
    margin-bottom: 0em;
}

h4 {
    font-size: 1em;
    color: #362B7C;
    margin-bottom: 0em;
}

table {
    border-spacing: 0px;
    border-collapse: collapse;
}

th {
    color: white;
    background-color: #006d79;
    vertical-align: top;
    padding: 0.25em 0.25em 0.25em 0.25em;
}

    th a:link {
        color: white;
        text-decoration: none;
    }

    th a:visited {
        color: white;
        text-decoration: none;
    }

td {
    vertical-align: top;
    padding: 0.25em 0.25em 0.25em 0.25em;
}

.back-color-alt {
    background-color: #EDF4F5;
}

.expandable-button {
    background-color: white;
    border-style: none;
    font-weight: bold;
}
    .expandable-button:hover {
        cursor: pointer;
    }

.key-message {
    border-style: solid;
    border-width: 1px;
    padding: 1em 1em 1em 1em;
    background-color: #C9F8F7
}

    .key-message h4 {
        margin-top: 0em;
    }

.grid {
    border: thin ridge;
}

.grid-header-left {
    background-color: #006d79;
    text-align: left;
    color: white;
    padding: 5px;
}

.grid-header-centre {
    background-color: #006d79;
    text-align: center;
    color: white;
    padding: 5px;
}

.no-display {
    display: none;
}

.results-heading {
    font-weight: bold;
    font-size: 1.25em;
    color: #362B7C;
}

.results-label {
    margin-bottom: 0em;
}

.toggleMenu {
    float: right;
}

    .toggleMenu a {
        text-decoration: none;
    }

.underlined {
    text-decoration: underline;
}

.updated {
    float: right;
    text-align: right;
    font-style: italic;
}

  /* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 100em;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}
