/***************************************************
GLOBAL STYLES
***************************************************/

body {
    margin: 0;
    position: relative;
    background-color: #E7E9E8;
    font-size:12px;
}

p {
 margin-top: 0;
 /* margin-bottom: 1.4em; */
 line-height: 1.5em;
}

a {
    color: #075290;
}

h1, h1 a, h1 a:visited, h1 a:active {
 font-size: 1.2em;
 font-weight: bolder;
 color: #990000;
 padding: 2px 2px 2px 0px;
}

.container{
    background-color: #ffffff;
    padding: 0px;
    /*width: 800px; */
}


.container .jumbotron, container-fluid .jumbotron {
    padding: 0px;
    margin-bottom: 0px;
    
}

.alignleft {
    float: left;
}
.alignright {
    float: right;
}

/***************************************************
SKIP NAV
***************************************************/

.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}

/***************************************************
TOP BANNER 
***************************************************/
.noaa {
    min-height: 127px;
    background: #ffffff;
    background: url(https://geodesy.noaa.gov/ngsstandard/images/banner-home.png);
    background-repeat: no-repeat;
    background-position: top left;
    margin: 0px;
}
.noaa a {
    float: left;
    display: block;
    width: 100%;
    height: 36px;
    text-indent: -9999px;
}

.noaa a.NOAA_LINK {
    position: absolute;
    left: 30px;
    top: 15px;
    width: 75px;
    height: 0px;
    padding-top: 50px;
    overflow: hidden;
    background: none;
}


.ngs_banner {
    width: 100%;
    min-height: 60px;
    background-size: cover;
    background-image: url(http://placehold.it/1600x120?text=IMAGE);
    background-repeat: no-repeat;        
}

.ngs_banner p {
    margin: 0px;
}

/* Search */
/*#custom-search-input{
    border: solid 2px #E4E4E4;
    border-radius: 5px;
    background-color: #fff;
    width: 70%;
    float: right;
    font-weight: 600;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
    text-decoration-color: #000000;
}


#custom-search-input button{
    margin: 0px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 8px 0 10px;
    border-left: solid 1px #ccc;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search{
    font-size: 30px;
}

.input-lg {
    height: 36px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 1.3333333;
    border-radius: 6px;
}
*/

/***************************************************
TOP NAV
***************************************************/

.navbar {
    /*text-transform: uppercase;*/
   letter-spacing: 0px;
    margin-bottom: 0;
    border-radius: 0;
    /*background-color: #173d93;*/
    background-color: #3A5298;
    border-color: #3A5298;
}

.navbar-brand {
    font-size: 12px;
	 border-right: #fff 1px solid;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
}

.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
    color: #ffffff;
    background-color: #315f86;    
}

.navbar-inverse .navbar-nav>.open>a {
	color: #ffffff;
	background-color: #3a5298;
}

.navbar-inverse .navbar-toggle {
    /*border-color: #ffffff;*/
}

.nav>li {
    border-right: #fff 1px solid;
}

/***********/

.navbar {
  min-height: 29px;
}

.navbar-brand {
  padding: 0 10px;
  height: 29px;
  line-height: 29px;
}

.navbar-toggle {
  /* (29px - button height 34px) / 2 = 23px */
  /*margin-top: 1px;*/
  padding: 0px 0px !important;
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    /* (80px - line-height of 27px) / 2 = 26.5px */
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 29px;
  }
}

.navbar-inverse .navbar-toggle {
     border-color: transparent; 
}

.navbar-inverse .navbar-toggle {
    /* border-color: #ffffff; */
}


/*Top Navigation Menu items*/
.dropdown-menu>li>a {
    font-weight: 700;
    color: black;
}

/*Top Navigation Menu items*/
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover {
	color: white;
	background-color: #3A5298;
}

/*Mobile Menu border box*/
.navbar-default .navbar-toggle {
    border-color: transparent;
}

/*Mobile Menu 3 bar color*/
.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}

.navbar-toggle {
    margin-top: 5px;
    padding: 0px 0px !important;
}

/*Mobile Menu*/
.navbar-default .navbar-toggle:hover{
	background-color: transparent;
}

/*Menu Colors*/
.navbar-default .navbar-nav>li>a {
    color: white;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: white;
    background-color: transparent;
}

/*NGS Home*/
.navbar-default .navbar-brand {
    color: white;
}

.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{
	color: white;
	background-color:transparent
}

/*Menu Spacing  previously was 10px and 15px*/
/*.nav>li>a {
    padding: 0px 10px;
}*/



/***********/

/*.dropdown:hover .dropdown-menu {
    display: block;
	font-weight:bold;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}

/*.navbar-inverse .navbar-nav>.active>a:hover {
color: #ffd000;
background-color: #3a5298;
}*/


.affix {
    top:0;
    width: 100%;
    z-index: 9999 !important;
}

.affix ~ .container-fluid {
    position: relative;
    top: 50px;
}

/* SEARCH */

#menus_ngs_main_search{
 width: 180px;
 display: block;
 margin: 0px;
 padding: 0px 0px 0px 40px;
 float: right;
 border: none;
}

#menus_ngs_main_search .searchbox {
 display: inline; 
 width: 90px;
 height: 16px;
 font-family: arial;
 margin: 0px;
 padding: 1px;
 margin-right: 4px;
 vertical-align: middle;
 border: none;
}

#menus_ngs_main_search .searchbtn {
 display: inline;
 vertical-align: middle;
 height:  27px;
 font-family: arial;
 background: none;
 color:#ffffff;
 font-size: 11px;
 font-weight:bold;
 cursor:pointer;
 margin: 0px;
 padding: 1px;
 border: none;
}

/***************************************************
LEFT NAV
***************************************************/

.menus_page_vert {
 font-size: 1em;
 margin: 0px;
 padding: 10px;
 /* width: 75%; */
}

.menus_page_vert * {
 margin: 0px;
 padding: 0px;
}

.menus_page_vert h2, .menus_page_vert h2 a, .menus_page_vert h2 a:visited, .menus_page_vert h2 a:active {
 font-size: 1em;
 font-weight: 900;
 color: #990000;
 padding: 0px;
}

.menus_page_vert a, .menus_page_vert a:visited, .menus_page_vert a:active {
 display: block;
 color: #003366;
 font-weight: bold;
 text-decoration: none;
}

.menus_page_vert br {
 line-height: .5em;
}

.menus_page_vert li:hover>a {
 color: #999;
 text-decoration: none;
}

ul.menus_page_vert, .menus_page_vert ul {
 list-style-position: outside;
 list-style-type: none;
 list-style-image: none;
}

.menus_page_vert .menus_full {
 width: 90%;
}

.menus_page_vert li, .menus_page_vert h2 {
 position: relative;
 line-height: 1.1em;
 text-indent: 0px;
 list-style-type: none;
 padding-top: .3em;
 padding-bottom: .3em;
}

.menus_page_vert li.dropmenu {
 background: transparent url('/ngsstandard/images/dropmenu-indicator2.png') no-repeat scroll top right;
}

/* hide the sub level and give it a positon absolute so that they take up no room */
.menus_page_vert li.dropmenu ul {
 list-style-type: none;
 list-style-image: none;
 list-style-position: outside;
 display: none;
 position: absolute;
 left: 100%;
 top: 0;
 width: 100%;
 background: white;
 filter: alpha(opacity=96); /* for IE */
 opacity: 0.96;             /* CSS3 standard */

 border: 1px solid #9db9d5; /* #3A5298 */
 border-left: 4px solid #9db9d5; /* #3A5298 */
}


.menus_page_vert .dropmenu:hover ul {
 display: block;
}

.menus_page_vert .dropmenu li {
 padding-left: 5px;
} 

.menus_page_vert .dropmenu li:hover {
 background: #9db9d5;
}

.menus_page_vert .dropmenu li>a, .menus_page_vert .dropmenu li>a:visited, .menus_page_vert .dropmenu li>a:active {
 color: #003366;
 text-decoration: none;
}

.menus_page_vert .dropmenu li:hover>a, .menus_page_vert .dropmenu li:hover>a:visited, .menus_page_vert .dropmenu li:hover>a:active  {
 color: #fff;
 text-decoration: none;
}

.menus_page_vert .AccordionContainer .AccordionContent{
    padding-left: 10px;
}


/***************************************************
BODY CONTENT 
***************************************************/

.layout_col1 {
    /* margin: 10px 175px 0px 215px; */	/* Centre column side padding:
                       		           Left padding = left column width + centre column left padding width
                        	           Right padding = right column width + centre column right padding width */
    position:relative;
    /* left:200%; */
    overflow:hidden;
}

.layout_single_column .layout_col1 {
    margin: 10px 15px 0px 10px;
    position:relative;
    overflow:hidden;
    left: 200%;
}

.layout_full .layout_col1 {
    margin: 10px 15px 0px 215px;
    position:relative;
    left:200%;
    overflow:hidden;
}

.layout_onecol .layout_col1 {
    margin: 10px 15px 0px 15px;
    position:relative;
    left:200%;
    overflow:hidden;
}

hr {
 color: #DDD;
 background: #DDDDDD;
 height: 1px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: 0;
  border-top: 1px solid #eeeeee;
  width: 570px;
}

h2, h2 a, h2 a:visited, h2 a:active {
 font-size: 1em;
 font-weight: bolder;
 color: #003366;
 /* padding: 2px 2px 2px 0px; */
 /* line-height: 1.2em; */
}

h3, h4, h5, h6, h3 a, h3 a:visited, h3 a:active {
 font-size: 1em;
 color: black;
 font-weight: bold;
 padding: 2px 2px 2px 0px;
}

a, a:active {
 color: #990000;
 text-decoration: none;
 font-weight: bold;
}

a:visited { 
 color: #990000;
 text-decoration: none;
}

a:hover {
 color: #003366;
 text-decoration: underline;
}

img {
 border: 0px;
}

 /* table divs */

            .rTable {
                display: table;
                width: 100%;
            }

            .rTableRow {
                display: table-row;
            }

            .rTableHeading {
                display: table-header-group;
                background-color: #ddd;
            }

            .rTableCell,
            .rTableHead {
                display: table-cell;
                padding: 10px 10px 10px 0px;
                border: 0px solid #999999;
                vertical-align: middle;
            }

            .rTableHeading {
                display: table-header-group;
                background-color: #ddd;
                font-weight: bold;
            }

            .rTableFoot {
                display: table-footer-group;
                font-weight: bold;
                background-color: #ddd;
            }

            .rTableBody {
                display: table-row-group;
            }
			
			ul.bottom-margin {
				margin-bottom: 0em;
			}


            li.align-left {
                /* line-height: 1.35em; */
                /* padding-bottom: 3px; */
                /* text-indent: -15px; */
            }

            img {
  vertical-align: initial;
}


.dropdown-menu {
    font-size: 12px;
	
	background-color: #CCC
     }

/*@media (min-width: 768px)
.navbar-nav>li>a {
        padding-top: 4px;
    padding-bottom: 15px;
}*/


/* Footer */
.footer_color {
    background-color: #c8d3e9;
}

#footer ul.shortstack li {
    margin-bottom: 0;
    padding-bottom: 3px;
    border-bottom: none;
    text-decoration: none;
}
#footer:before {
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
#footer:before {
    border-bottom-color: #315f86;
    border-width: 15px;
    left: 50%;
    margin-left: -15px;
}
#footer {
    /* position: relative; */
    line-height: 22px;
    opacity: 1.0;
    /* background: #315f86; */
    color: #c8d3e9;
    margin: 0px 0 -10px;
    padding-bottom: 80px;
    /* background-color: #315f86; */
    /* padding: 25px; */
}
#footer a {
    color: #00ebff;
}

#footer li {
    padding: 0px 15px 15px 0;
    margin: 0px 0px 15px 0px;
    border-bottom: 1px #222 solid;
    line-height: 22px;
}
#footer li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
#footer .span3 a {
    color: #8ebfc0;
    font-weight: bold;
}
#footer .span3 a:hover {
    color: #fff;
    font-weight: bold;
}
#footer h4 {
    letter-spacing: 1px;
    /*text-transform: uppercase;*/
    border-bottom: 1px solid #333;
    padding: 0 0 10px;
}
/* Gradient transparent - color - transparent */

hr.fader {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(31,27,27,1), rgba(255,255,255,255.75), rgba(31,27,27,1));
    background-image: -moz-linear-gradient(left, rgba(31,27,27,1), rgba(255,255,255,255.75), rgba(31,27,27,1));
    background-image: -ms-linear-gradient(left, rgba(31,27,27,1), rgba(255,255,255,255.75), rgba(31,27,27,1));
    background-image: -o-linear-gradient(left, rgba(31,27,27,1), rgba(255,255,255,255.75), rgba(31,27,27,1));
}
#footer .footLinks-nav a {
    color: #003366;
}
#footer .footLinks-nav a:hover {
    color: #00ebff;
}
#footer .footLinks {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
#footer .footLinks-nav li {
    position: relative;
    display: inline-block;
    text-align: center;
    background: none;
    border-bottom: none;
    line-height: 1em;
}
#footer .span3 {
    padding: 20px 0 0px;
    color: #eee;
}

#footer ul {
    padding-left: 10px;
    margin: 0;
    list-style: none;
    
}
#footer .icons {
    margin-left: 20px;
}
#footer .media-body .icon-time {
    color: #444;
}

/* Anchor Button Stylesheet */		

#backtotop {
    position: fixed;
    right:2px;
    bottom:15px;
    display:none;/*hid the button first*/
}
#backtotop a {
    text-decoration:none;
    border:0 none;
    display:block;
    width:63px;
    height:41px;
}
#backtotop a:hover {
    opacity:.8; /*mouse over fade effect*/
}	

/*FROM TEST HOVER*/
.bs-example {
	margin: 0px;
}

@media screen and (min-width: 768px) {
.dropdown:hover .dropdown-menu, .btn-group:hover .dropdown-menu {
	display: block;
}
.dropdown-menu {
	margin-top: 0;
}
.dropdown-toggle {
	margin-bottom: 20px;
}
.navbar .dropdown-toggle, .nav-tabs .dropdown-toggle {
	margin-bottom: 0;
}
}	
	