﻿/* FNL Sub-Site Page */
#FnlSubSitePage {
  min-height: 100%;
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: column nowrap;
  flex-flow: column nowrap;
  -webkit-align-items: stretch;
  align-items: stretch;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

/* Search */
.FnlSubSiteSearchContain {
  position: absolute;
  z-index: 100;
  top: 78px;
  right: 16px;
  width: 240px;
}

.FnlSubSiteSearchContain .NcifSearchWrap > div {
  padding-top: 0;
}

.FnlSubSiteSearchContain .NcifSearchField > input {
  border-radius: 6px 0 0 6px;
}


/* Top Navigation */
#FnlSubSiteNavigation {
  position: relative;
  background: #ededed none;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

#FnlSubSiteNavigation ul[id$="TopNavigation"],
#FnlSubSiteNavigation  > .WidthContain ul {
  position: relative;
  height: 30px;
  padding: 0; /* Remove any padding. */
  margin: 0 0 0 130px;
  font-weight: bold; /* Bold text. */
  font-size: 0;
  list-style: none;
}


#FnlSubSiteNavigation ul[id$="TopNavigation"] > li,
#FnlSubSiteNavigation > .WidthContain ul > li {
  float: left;
  height: 30px;
  padding: 0;
  margin: 0;
  list-style-type: none;
  border-right: 1px solid #dadada;
  font-size: 0;
}

#FnlSubSiteNavigation ul[id$="TopNavigation"] > li:first-child,
#FnlSubSiteNavigation > .WidthContain ul > li:first-child {
  border-left: 1px solid #dadada;
}

#FnlSubSiteNavigation ul[id$="TopNavigation"] > li > a,
#FnlSubSiteNavigation > .WidthContain ul > li > a {
  display: block;
  font-size: 14px;
  line-height: 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  text-align: center;
  color: #595C6F;
  -webkit-transition: background-color 200ms ease-out;
  -moz-transition: background-color 200ms ease-out;
  -o-transition: background-color 200ms ease-out;
  transition: background-color 200ms ease-out;
}

#FnlSubSiteNavigation ul[id$="TopNavigation"] > li > a:hover,
#FnlSubSiteNavigation > .WidthContain ul > li > a:hover {
  background-color: #ffffff;
}









/* Inner Page */
#FnlSubSitePage > .InnerPage {
  -webkit-box-flex: 1 0 auto;
  -moz-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  box-sizing: border-box;
  position: relative;
  padding: 0 0 100px 0;
  margin: 0;
  background: rgba(251,229,163,1);
  background: -moz-linear-gradient(top, rgba(251,229,163,1) 0%, rgba(255,249,231,1) 390px, rgba(255,249,231,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(251,229,163,1)), color-stop(390px, rgba(255,249,231,1)), color-stop(100%, rgba(255,249,231,1)));
  background: -webkit-linear-gradient(top, rgba(251,229,163,1) 0%, rgba(255,249,231,1) 390px, rgba(255,249,231,1) 100%);
  background: -o-linear-gradient(top, rgba(251,229,163,1) 0%, rgba(255,249,231,1) 390px, rgba(255,249,231,1) 100%);
  background: -ms-linear-gradient(top, rgba(251,229,163,1) 0%, rgba(255,249,231,1) 390px, rgba(255,249,231,1) 100%);
  background: linear-gradient(to bottom, rgba(251,229,163,1) 0%, rgba(255,249,231,1) 390px, rgba(255,249,231,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fbe5a3', endColorstr='#fff9e7', GradientType=0 );
}

#FnlSubSitePage.PublicAudience > .InnerPage {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a6d0de+0,deeef3+40 */
  background: rgb(166,208,222); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(166,208,222,1) 0%, rgba(222,238,243,1) 390px); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(166,208,222,1) 0%,rgba(222,238,243,1) 390px); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(166,208,222,1) 0%,rgba(222,238,243,1) 390px); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6d0de', endColorstr='#deeef3',GradientType=0 ); /* IE6-9 */
}

/* Page Container */
#FnlSubSitePage > .InnerPage > .PageContainer > .WidthContain {
  display: flex;
  min-height: calc(100vh - 307px);
  background: #fff;
}

#FnlSubSitePage > .InnerPage.FloatingSideBar > .PageContainer {
  padding-top: 30px;
}

#FnlSubSiteMain {
  position: relative;
  margin: 0;
  padding: 0;
  vertical-align: top;
  width: 100%;
}

.NoSideBar #FnlSubSiteMain {
  display: block;
  height: auto;
}

#FnlSubSitePage > .InnerPage.FloatingSideBar #FnlSubSiteMain {
  padding-left: 0;
  padding-top: 0px;
  background-image: none;
}

/* Side Bar */
#FnlSubSiteSideBar {
  position: relative;
  flex: 0 0 210px;
  vertical-align: top;
  border-right: 1px solid #f4f4f4;
  margin-top: 24px;
  margin-bottom: 20px;
}

#FnlSubSiteSideBar #FnlSubSiteSideBarInnerWrap {
  padding: 0 18px 20px 20px;
}



#FnlSubSiteSideBar h2,
#FnlSubSiteSideBar div > h2 {
  padding: 11px 0px 10px 10px;
  margin: 0 0 3px;
  display: block;
  background-color: #eaeaea;
  border-left: 3px solid #b8b8b8;
  color: #444444;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.1em;
  text-decoration: none;
}

#FnlSubSiteSideBar h2 > a {
  color: #444444;
  text-decoration: none;
}

#FnlSubSiteSideBar h2 > a:hover {
  text-decoration: underline;
}

/* Side Navigation */
#FnlSubSiteSideBar nav.SideNavigation {
  padding-bottom: 20px;
}

#FnlSubSiteSideBar nav.SideNavigation > ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

#FnlSubSiteSideBar nav.SideNavigation > ul > li {
  padding: 0;
  margin: 2px 0 0 0;;
}

#FnlSubSiteSideBar nav.SideNavigation > ul > li > a {
  display: block;
  padding: 8px 8px 8px 11px;
  text-decoration: none;
  color: #555555;
  border-left: 2px solid #d5d5d5;
}

#FnlSubSiteSideBar nav.SideNavigation > ul > li > a:hover {
  text-decoration: underline;
}

/* Floating side bar */
#FnlSubSiteSideBar.Floating {
  padding: 0;
  background-image: none;
  border-right: 0;
  margin-top: 0;
}

#FnlSubSiteSideBar.Floating nav.SideNavigation > ul {
  padding: 0;
  margin-bottom: 0;
}

/* Floating side Navigation Wrapper */
#FnlSubSiteSideBar.Floating > div.SideNavWrapper {
  padding-top: 1px;
}

#FnlSubSiteSideBar.Floating > div.SideNavWrapper > h2 {
  margin: 5px 0 0 0;
  padding: 5px 11px 10px 11px;
}

/* QUICK LINKS */
/* Tabbed Link Container */
#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer {
  margin-top: 10px;
}

#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer h2 {
  padding: 11px 0px 10px 10px;
  margin: 0 0 3px;
  display: block;
  background-color: #ffebac;
  border-left: 3px solid #edd484;
  color: #444444;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.1em;
  text-decoration: none;
}

#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer ul {
  padding: 0px;
  margin: 0px;
}

#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer ul li {
  display: block;
  padding: 0;
  margin: 2px 0 0 0;
}

#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer ul li a {
  display: block;
  padding: 8px 8px 8px 11px;
  text-decoration: none;
  color: #555555;
  border-left: 2px solid #ffebac;
}

#FnlSubSitePage > .InnerPage .FnlSubSiteSideBar .TabbedLinkContainer ul li a:hover {
  text-decoration: underline;
}



/* Branding */
#FnlSubSiteMain > .SubBrandHeader {
  position: relative;
  display: block;
  height: 26px;
  right: -7px;
  top: 0;
  z-index: 200;
  margin: 0;
  padding: 12px 17px 10px 0;
  color: #035b7f;
  font-weight: bold;
  font-size: 1.7em;
  line-height: 1em;
  text-decoration: none;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f7f7f7+100&0+0,1+100 */
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(247,247,247,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(247,247,247,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(247,247,247,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f7f7f7',GradientType=1 ); /* IE6-9 */
  border-right: 7px solid #ecc64e;
  -webkit-border-bottom-right-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  border-bottom-right-radius: 6px;
  text-align: right;
}

#FnlSubSiteMain > .SubBrandHeader:before {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  display: block;
  height: 1px;
  width: 90%;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#dedede+0,dedede+83,dedede+100&0+0,0.47+29,1+84 */
  background: -moz-linear-gradient(left, rgba(222,222,222,0) 0%, rgba(222,222,222,0.47) 29%, rgba(222,222,222,0.99) 83%, rgba(222,222,222,1) 84%, rgba(222,222,222,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(222,222,222,0) 0%,rgba(222,222,222,0.47) 29%,rgba(222,222,222,0.99) 83%,rgba(222,222,222,1) 84%,rgba(222,222,222,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(222,222,222,0) 0%,rgba(222,222,222,0.47) 29%,rgba(222,222,222,0.99) 83%,rgba(222,222,222,1) 84%,rgba(222,222,222,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00dedede', endColorstr='#dedede',GradientType=1 ); /* IE6-9 */
}

#FnlSubSiteMain > .SubBrandHeader a {
  margin: 0;
  padding: 12px 17px 10px 0;
  float: right;
  color: #035b7f;
  font-weight: bold;
  font-size: 1.7em;
  line-height: 1em;
  text-decoration: none;
}

#FnlSubSiteMain > .SubBrandHeader a:hover {
  text-decoration: underline;
}


/* Main Content */
#FnlSubSiteMain .MainContent {
  margin: 30px 0 20px 0;
  padding: 0 20px 0 20px;
}

.FloatingSideBar #FnlSubSiteMain .MainContent {
  margin-top: 10px;
}

.FloatingSideBar #FnlSubSiteMain > .MainContent > *:first-child {
  margin-top: 0;
}

/* Bread Crumbs */
#FnlSubSitePage .FnlTopBar {
  width: 100%;
  overflow: visible;
  padding: 4px 0;
  font-size: 11px;
  line-height: 14px;
  color: #898BA0;
  background: #f4f4f4 none;
  border-bottom: 1px solid #e3e3e3;
}

/* clear fix instead of overflow:hidden, won't hide absolutelt positioned flyout */
#FnlSubSitePage .FnlTopBar:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}
/* clear fix for ie7 */
*:first-child + html #FnlSubSitePage .FnlTopBar {
  zoom: 1;
}
/* IE7 */

#FnlSubSiteMain > .SubBrandHeader + .FnlTopBar {
  margin-top: 8px;
}

#FnlSubSitePage .FnlWelcomeMessage {
  padding-left: 10px;
  margin: 0 20px 0 0;
  text-align: right;
  vertical-align: top;
  position: relative;
  white-space: nowrap;
  float: right;
}

#FnlSubSitePage nav.BreadCrumbs {
  margin: 0 0 0 20px;
  padding-right: 10px;
  vertical-align: top;
  color: #707070;
  float: left;
}

#FnlSubSitePage .Branding + nav.BreadCrumbs {
  margin-top: 0px;
}

#FnlSubSitePage nav.BreadCrumbs > ul {
  margin: 0px;
  padding: 0px;
}

#FnlSubSitePage nav.BreadCrumbs > ul > li {
  margin: 0px;
  padding: 0px;
  display: inline;
  list-style-type: none;
}

#FnlSubSitePage nav.BreadCrumbs > ul > li > a {
  color: #336ec0;
  text-decoration: none;
}

#FnlSubSitePage nav.BreadCrumbs > ul > li > a:hover {
  text-decoration: underline;
}

#FnlSubSitePage nav.BreadCrumbs > ul > li .PathSeparator {
  font-size: 13px;
  line-height: 11px;
  color: #707070;
}

#FnlSubSitePage nav.BreadCrumbs > ul > li > span,
#FnlSubSitePage nav.BreadCrumbs > ul > li > a {
  margin: 0 8px 0 0;
  padding: 0;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  line-height: 0;
  height: 0;
  overflow: visible;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap {
  position: absolute;
  right: 5px;
  top: 0;
  padding: 8px 0 0 0;
  background: transparent url('WebResource.axd?d=DWql7v-IOsIf-omoGiIEGOPkuHwUJEzbqbx0CSyNUqqG6xvebLRg6wvf3Hwlt6v5bqvln96n2XKS0rJyOszlWDWHv1c_39WVtOYDgUrWSVx5Bz9lC6mzKKNr7TWxl1KzDyJXYRlAtSiavrVqqAQWTgwJE-zr80v49xytasFNZ708qdAX0&t=638987033533991429') no-repeat right top;
  display: none;
  -moz-box-shadow: 2px 2px 2px #aeaeae;
  -webkit-box-shadow: 2px 2px 2px #aeaeae;
  box-shadow: 2px 2px 2px #aeaeae;
  z-index: 2500;
  text-align: left;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage.Active .SignOutWrapper .FlyoutWrap {
  display: block;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap ul {
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #f5f5f5;
  border-left: 1px solid #e7e7e7;
  border-right: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap ul li {
  padding: 0;
  margin: 0;
  border-top: 1px dotted #e7e7e7;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap ul li:first-child {
  border-top: 0;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap ul li a {
  line-height: 31px;
  padding: 0 14px;
  height: 31px;
  display: block;
  cursor: pointer;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .SignOutWrapper .FlyoutWrap ul li a span {
  height: 14px;
  margin-top: 8px;
  display: inline-block;
  float: left;
  *float: none;
  *display: none;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .LoginUsername {
  display: table-cell;
  vertical-align: top;
  height: 14px;
  color: #005b7f;
  padding-right: 14px;
  background: transparent url('WebResource.axd?d=koKHKHG-x1fHIyWZhrtuyyKf08KrgTJHgwTsEfb5zWIomZDSmgDmpAcjPH3bMjGpI5iX6FVK4SXbxan8XFMkyXCySWtGrXY4QXZuywn5DpiomrJWyyfQxdDZ1SyOnZN4HlOABNvJwwhLtxMAccq2qCQs1141&t=638987033533991429') no-repeat right 4px;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .LoginUsername:hover {
  cursor: pointer;
  background-position: right -46px;
  text-decoration: underline;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .LoginLink {
  display: table-cell;
  vertical-align: top;
  height: 14px;
  color: #005b7f;
  *display: inline-block;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .LoginLink:hover {
  cursor: pointer;
  text-decoration: underline;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage .UserIcon {
  display: table-cell;
  vertical-align: top;
  height: 14px;
  padding-left: 18px;
  background: transparent url('WebResource.axd?d=gd9c-mPq_CHdkjlShMIyRZNuRQ7cP6U7Je9NzU6ih6QDnhC-4uWhe-FSIus9eZmxmHiWzdfbWgE7J5LYf95H0qXztkkTRvVtAxLoAbN4KuLkA3TTSzoPpYynTRXNnxFfY6mj9YDF14ZItDNuj1a3ohQG_e2pObek86klEocYbRpE4a_iMeZAKbGvqzCnxxrKIwPrew2&t=638987033533991429') no-repeat 0 -780px;
  cursor: default !important;
  *padding-right: 3px;
  *padding-left: 0;
  *width: 14px;
  *display: inline-block;
}

#FnlSubSitePage .FnlTopBar .FnlWelcomeMessage:hover .UserIcon {
  background-position: -20px -780px;
  cursor: pointer;
}

/* Wide Layout */

body.WideLayout #FnlSubSiteHeader > .SubSiteHeader {
  margin: 0px 12px 0px 12px;
  width: auto;
}

body.WideLayout #FnlSubSitePage > .InnerPage > .PageContainer {
  width: auto;
  min-width: calc(100% - 24px);
  margin: 0 12px 0px 12px;
}

body.WideLayout #FnlSubSiteNavigation > ul {
  margin: 0px 12px 0px 12px;
  width: auto;
  text-align: left;
}


@media (max-width: 650px) {
  .FnlSubSiteSearchContain {
    position: static;
    width: auto;
    padding: 5px;
    background: #fff;
    border-top: 1px solid #d8d5d5;
  }
}
