﻿/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #006BE0; 
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color:#ffffff;
}
body {
  color: #000;
  text-align: center;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%; 
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;  
}
.cover-container {
  margin-right: auto;
  margin-left: auto; 
}

/* Padding for spacing */
.inner {
  padding: 30px;
  
}

/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;  
  color: #006BE0; /* IE8 proofing */ 
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #006BE0;
  border-bottom-style:solid;  
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #CC6536;
  border-bottom-color: #D3D2D2;
  border-bottom-style:dotted;
  border-bottom-width:1px;
}

/*Edat Link*/
.header-nav {
	text-align: right;
	height:30px;
	background-color:#F1F1F1;
	width:100%;
	margin:auto;
	padding-right:20px;
	padding-top:5px;
  }
  
  .style-nav {
	text-align: right;
	height:10px;
	background-color:#F1F1F1;
	width:800px;
	margin:auto;	
	margin:auto;	
  }
  
  .temp-nav  {
  position:relative;
  float:left;
  border-bottom:1px solid #fff; 
  overflow:visible; 
  width:800px;
  padding:0;
  z-index:110;
  margin:0 auto;
  }
  
.top-temp-nav  {
   height:30px;
   background-color: #F1F1F1;
   width:100%; 
   padding:0;
   margin:0 auto;   
  }
  
.temp-logo{
background:#1F67A8 url(../images/apapo_header_bg.gif) 0 0 repeat-x;
 overflow:hidden;
 padding:5px 0;
 margin-top:0;
}

.logo-pcd{
background:#1F67A8 url(../images/apapo_header_bg.gif) 0 0 repeat-x;
 overflow:hidden;
 padding:0px 0;
 margin-top:0;
}

.logo-division{
 background:#fff url(../images/hd_bg.gif) 0 0 repeat-x;
 overflow:hidden;
 padding:5px 0;
 margin-top:0;
}

.headLogo {float:left;}


@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
  
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

h1.cover-heading {
	color: #004c97;
	border-bottom:1.3px #3964BC solid;
}

h1.admin-heading {
	color: #004CB1; 
	border-bottom:1.3px #3964BC solid;		
	font-size: 22px;
}

h1.www-heading {
	color: #6885A4;
	border-bottom:1.3px #6885A4 solid;
	font-size: 26px;
}

h1.edat-heading {
	color: #C21317;
	border-bottom:1.3px #3964BC solid;
}

h1.pac-heading {
	color: #58595B;
	border-bottom:1.3px #3964BC solid;
}

h1.division-heading {
	color: #6885A4;
	border-bottom:1.3px #6885A4 solid;
}

h1.style-heading {
	color: #8BB539;
	border-bottom:1.3px #3964BC solid;
}

h1.pcd-heading {
	color: #2d70aD;
	border-bottom:1.3px #fd8e00 solid;
}

.style-header  {
 position:relative;
 float:left;
 border-bottom:1px solid #fff;
 overflow:visible;
 width:996px;
 padding:0;
}

.logo {
 background:#fff url(../images/apastyle_header_bg.gif) 0 0 repeat-x;
 margin-top:10px;
 margin-bottom:5px;
 overflow:hidden;
}

.mast-div {
    width: 996px;
  }

/*
 * Footer
 */

.mastfoot {
  color: #111111; /* IE8 proofing */  
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 800px;
  }
}
