﻿
/* Top header of site */
header {
    display: block;
}

.HeaderHolder {
    background: none repeat scroll 0 0 #FFFFFF;
    left: 0;
    position: relative;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 5;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

.compLogo--small {
    width: 147px;
}

#header th {
    background-color: transparent;
    color: White;
}

table#header {
    border: none;
    width: 100%;
}

#header th {
    border: none;
    padding: 10px 0px 10px 0px;
    text-align: left;
    vertical-align: middle;
}

#header th:first-child {
    padding-left: 20px
}

#header th:last-child {
    padding-right: 20px
}

/* top left EGPS logo */
.compLogo {
    width: 213px;
}

@media only screen and (max-width: 768px) {
    /* shrink logo for smaller screens */
    .compLogo {
        width: 147px;
    }
}

th#logo {
    width: 1%;
}

#logo a, #logo img, .menuimage {
    border: 0;
}

/* search box format */
#searchbox {
    background: url(../images/search.png) no-repeat right center;
    border: 1px solid #cccccc;
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
}

th#date {
    text-align: left;
    width: 1%;
    padding: 0px;
    margin-right: 0px;
    margin-left: 0px;
    white-space: nowrap;
    font-size: 0.9em;
    color: #8C8C8C;
}

th#breadcrumb {
    text-align: right;
    padding: 0px 0px 0px 10px;
    margin-right: 0px;
    margin-left: 0px;
    white-space: nowrap;
    font-size: 0.95em;
    font-weight: 600;
    color: #8C8C8C;
}

th#breadcrumb a:link {
    color: #8C8C8C;
}

th#breadcrumb a:visited {
    color: #8C8C8C;
}

th#breadcrumb a:hover {
    text-decoration: none;
}

img#phone {
    width: 10px;
    height: 10px;
}

th#logindisplay {
    display: table-cell;
    text-align: left;
    width: 1%;
    white-space: nowrap;
    font-size: 0.95em;
    padding: 0px 10px 0px 0px;
}

td#search {
    text-align: right;
    background: #E4E0E0;
}

#search img {
    height: 20px;
    width: 20px;
}

.menuimage {
    /* all icons are saved ast 16x16 images */
    /*width: 16px;*/
    padding-right: 4px !important;
}

#mainmenu nav {
    margin-top: 0px;
}

#mainmenu {
    font-family: "Public Sans", sans-serif;
    font-size: 16px;
}

/* horizontal header bar */
#top-menu {
    width: 100%;
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    padding: 0 10px 0 10px;
}

.top-menu-item {
    float: left;
    position: relative;
    padding: 5px 0 5px 0;
}

#top-menu, .top-menu-item {
    background: none repeat scroll 0 0 var(--egps-color-secondary);
    height: 100%;
    font-weight: 700;
}

#top-menu a {
    display: block;
    position: relative;
    text-decoration: none;
    color: var(--egps-color-primary);
    padding: .5em 1em;
}

#top-menu li:hover, #top-menu a:focus, #top-menu a:hover, #top-menu a:active {
    text-decoration: underline;
}

.top-menu-item--active {
    background-color: var(--egps-color-secondary-dark);
}

/* global footer */
footer {
    height: 120px;
    padding: 0;
    position: relative;
    bottom: 0;
    float: left;
    width: 100%;
}

#footer {
    border-top: 1px solid #EBE9E9;
    background-color: #fff;
    color: #85888b;
    margin: 25px;
    text-align: center;
    line-height: normal;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

#clearfooter {
    height: 120px;
    clear: both;
}

footer div {
    margin-top: 18px;
}

#footermenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

#footermenu ul li {
    display: inline;
    font-family: "Public Sans", sans-serif;
    padding-left: 25px;
}

#footermenu a {
    color: #565a5e;
    text-decoration: none;
    font-weight: 600;
}

#footermenu a:hover, #footermenu a:focus {
    color: #1354a8;
}