﻿
html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
    padding-bottom: 70px /* Reserved for footer height */
}

.dpi-header a {
    color: inherit;
}

.dpi-header .primary {
    min-height: 40px;
    background-color: #44A;
    color: #fff;
    display: flex;
}

.dpi-header .primary {
    display: flex;
}

.dpi-header .secondary {
    display: flex;
    min-height: 40px;
    background-color: rgb(244, 244, 244);
    color: rgb(33, 33, 33);
    padding: 0 10px;
    align-items: stretch;
}

.dpi-footer a {
    color: #228;
}

.dpi-footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgb(244, 244, 244);
    border-top: 1px solid #aaa;
}

.dpi-footer .menu-items {
    display: flex;
    flex-flow: row;
    min-height: 30px;
}

.dpi-footer .superintendent {
    text-align: center;
    margin-bottom: 3px;
}

.dpi-footer .menu-item:hover {
    background-color: rgb(200, 200, 200);
}
.dpi-header .primary a {
    color: #FFF;
    font-weight: normal;
}

.dpi-header .primary .menu-item:hover {
    background-color: #228;
}

.dpi-header .secondary .menu-item:hover {
    background-color: rgb(200, 200, 200);
}

.dpi-header .menu-item.application {
    background-color: #338;
}

.dpi-header .secondary a {
    color: #228;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #ffffff;
    background-color: #428bca;
}
/*Display selected tab pointer */
.dpi-header .primary .primary-active::after {
    bottom: 0px;
    content: "";
    height: 0px;
    left: 0px;
    margin-left: calc(50% - 6px);
    position: absolute;
    width: 0px;
    border-bottom: 6px solid rgb(244, 244, 244);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.dpi-header .secondary .secondary-active::after {
    bottom: 0px;
    content: "";
    left: 0px;
    position: absolute;
    right: 0px;
    border-bottom: 3px solid #228;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

.menu-item {
    align-items: center;
    align-self: stretch;
    display: flex;
    flex-shrink: 0;
    outline: none;
    position: relative;
    text-align: center;
}

.menu-item.application a {
    width: 200px
}

.menu-item a {
    padding-left: 14px;
    padding-right: 14px;
    text-decoration: none;
}

.secureHome {
    font-size: 18px;
    background-color: rgb(51, 51, 51);
    padding: 0px 11px;
    text-decoration: none;
}

.page-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

/* OLD bootstrap style */
.header-default .navbar {
    border: none;
    padding: 0;
}

.header-default .navbar {
    background-color: inherit;
    border: none;
    min-height: auto;
    margin-bottom: 0;
}

.header-default .navbar-nav {
    padding-top: 4px;
}

.header-default .navbar-nav > li > a {
    padding-top: 5px;
    padding-bottom: 0px;
}

.header-default .navbar-brand {
    padding: 6px 15px 3px;
    height: auto;
}

.header-default .navbar-brand .glyphicon  {
    font-size: 14px;
}

.header-default .navbar-nav > li.active > a{
     background-color: #FFF !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: -2px 0 0 #AAA;
}

.header-default .navbar-default .navbar-nav>li>a {
    color: #004488;
    font-weight: bold;
    font-size: 15px;
}

.header-default .topnav
{
    margin: 0;
    background-color: #3d9b35;
    font-size: 11pt;
}

.header-default .topnav ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    /*display: inline; RG*/
}


.header-default .topnav a:hover
{
    text-decoration: underline;
    color: #333399;
    background-color: red;
}

.header-default .topnav ul li
{
    margin-left: 0;
    padding: 0 5px;    
    list-style: none;
    display: inline;
}

.header-default .topnav ul li.first
{
    margin-left: 0;
    border-left: none;
    list-style: none;
    display: inline;
}

.header-default .topnav a
{
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
}

.header-default #topnav-center {
	vertical-align: top;
	clear:left;
	float:left;
	width:100%;
    margin: 0;
    padding: 4px;
    background-color: #004488;
    font-size: 11pt;
    overflow:hidden;
}

.header-default #topnav-center ul {
	clear:left;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	left:50%;
	text-align:center;
}

.header-default #topnav-center ul li {
	display:block;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	right:50%;
    font-weight: bold;
text-decoration: none;
color: #FFFFFF;
}

.header-default #topnav-center ul li a {
	display:block;
	margin:0;
	padding:.4em .8em;		
	text-decoration:none;
	line-height:1.3em;
}

.header-default #topnav-center ul li a span {
	display:block;
}

.header-default .topnav ul li:last-child
{
    float:right;
    text-decoration: none;
}
