/* ----------------- UCP giraffe theme CSS overrides ----------------- */

h2 {
  font-family: Arial, Helvetica, Sans;
  font-size: 1.3em;
  color: #444;
  font-weight: bold;
}

h3 {
  margin-bottom: 0.8em;
  color: #444;
  font-family: Georgia, Palatino, "Times New Roman";
  font-style: italic;
}

body {
  background-color: #f2f2f2;
}

.a-wrapper {
  width: 960px;
  padding: 0 16px;
  overflow: visible;
  background-image: url('http://www.ucplabs.org/syndication/images/giraffe/pagebg.png');
  background-repeat: repeat-y;
}

.a-home .a-area-body {
  width: 690px;
}

/* ------------------ fix a-area-logo ----------------- */
.a-area-logo {
  margin-left: 30px;
}

/* ----------- fix a-search position ------------ */
#a-search {
  right: 50px;
  top: 120px;
}

.a-area-sidebar {
  margin-left: 25px;
  margin-top: 20px;
  width: 200px;
  overflow: visible;
}

.a-area-body {
  overflow: visible;
}

/* --------------- fix link outline --------------- */
a:focus {
  outline: thin dotted !important;
}

a:active {
  outline: none !important;
}

/*.a-search form input.a-search-field:focus {
  background: #f4f4f4;
}
input:focus {
  background: #f4f4f4;
}*/

/* ------------- Search result------------*/
.a-search-results-container {
    padding: 20px;
    width: 880px;
}

.a-search-results {
    margin-left: 40px;
}

/* ------------------ a-blog ---------------- */
#a-blog-main, .a-blog-main, .a-blog-item {
    width: 690px;
}

/* ------------------ a-event ---------------- */
.a-area-body, .a-blog-main, .a-events-main {
    padding: 20px 0 40px 25px;
}

/* ----------- sidebar search form ----------- */
.a-search.a-search-sidebar form {
  width: 175px;
}


/* ---------------- Breadcrumb ----------------*/
.ucp-breadcrumb {
  padding: 3px 30px;
  font-size: 18px;
  float: left;
  clear: both;
}

.ucp-breadcrumb > span {
  float: left;
}

.ucp-breadcrumb.hidden {
  display: none;
}

#a-breadcrumb-component{
    margin-left: 20px;
    margin-bottom: 0;
}

/* ----------------- speaker button--------------- */
span.readPage{
  margin-left: 40px; 
  height: 24px; 
  font-size:14px; 
  cursor:pointer;
}
span.readPage span{
  height:24px;
  line-height:24px;
  vertical-align:top;
}

/* --------------- UCP main nav ----------------- */
.nav-container {
  width: 960px;
  height: 48px;
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 10;
  float: left;
}

.a-nav-main {
  background-color: rgb(77,77,77);
  background-color: rgba(0,0,0,0.7);
  height: 41px;
  width: 1000px;
  margin: 0;
  border: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-bottom: rgb(26,26,26) 7px solid; 
  border-bottom: rgba(0,0,0,0.5) 7px solid;

}

.a-nav-main .a-nav-item {
  border: none;
  width: auto;
  height: 23px;
  margin-right: 2.25%;
  display: inline;
  float: left;
  margin-bottom: 10px;
}

.a-nav-main .a-nav-item.first {
  padding: 0;
  width: 135px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.a-nav-main .a-nav-item.last {
  padding: 0;
  width: 125px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  display: inline;
}

.a-nav-main .a-nav-item.last a {
  padding: 10px 5px 8px 30px;
  text-align: left;  
text-indent: 7px;
  width: 110px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  display: inline;
}


.a-nav-main .a-nav-item a {
  line-height: 22px;
  font-size: 22px;
  font-family: Molengo;
  text-decoration: none;
  color: #ccc;
  padding: 10px 11px 8px 11px;
   background-color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3 ease-in-out;
}

.a-nav-main .a-nav-item a:hover {
  color: #fff;
  border-bottom: rgb(247,166,0) 7px solid; 
  background-color: rgba(00,00,00,.3);
}

.a-nav-main .a-nav-item.a-current-page a,
.a-nav-main .a-nav-item.ancestor a {
  background: #333;
  background-color: rgba(00,00,00,.3);
  border-bottom: rgb(247,166,0) 7px solid; 
  color: #fff;
}

/* ---------------- ucp masthead-------------- */
.ucp-masthead-container{
    float: left;
    clear: both;
    width: 960px;
    min-height: 100px;
    position: relative;
    top: -48px;
    margin-bottom: -48px;
}

/* --------- UCP slideshow ---------- */
#ucp-slideshow{
  float: left;
  width: 960px;
  height: 265px;
  position: relative;
  clear: both;
  z-index: 2;
  margin-bottom: -48px;
}

#ucp-slideshow .a-area.aSmartSlideshow{
  position: absolute;
  top: -48px;
  z-index: 0;
  /*if z-index < 0 then cannot be clicked*/
}

#ucp-slideshow .aSmartSlideshow > .a-slot-content{
    overflow: hidden;
}

/* --------------- UCP feature container ------------*/
.feature h3 {
  color: #444;
  font-family: Georgia, Palatino, "Times New Roman";
  font-style: italic;
  font-size: 20px;
}

.feature a {
  color: #444;
}

div.feature-container{
    width: 916px;
    height: 140px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
    position: relative;
    clear: both;
}
div.slice{
    width: 666px;
    height: 140px;
    position: absolute;
}
div.sliceInner{
    position: relative;
    top: 0px;
    left: 170px;
    width: 496px;
    height: 140px;
    background: #FFFFFF;
}
div.slideClick{
    cursor: pointer;
    position: absolute;
    top: 40px;
    left: 0;
    width: 30px;
    height: 70px;
}
div.generalContainer{
    width: 960px;
    margin: 22px auto 0;
    float: left;
    clear: both;
}

/* ---------------- UCP main panels -------------- */

.main-panel h3 {
  font-size: 2em;
}

.main-panel p {
  font-size: 1.2em;
  color: #666;
}

.main-panel{
    float: left;
    clear: both;
    width: 960px;
    position: relative;
}
.main-panel-left{
    float: left;
    width: 680px;
}
.main-panel-right{
    float: left;
    width: 280px;
    clear: right;
    min-height: 294px;
    background: url('http://www.ucplabs.org/syndication/images/giraffe/postit_bg.png') no-repeat center;
}
.main-panel-left-top{
    float: left;
    width: 680px;
    height: 234px;
    clear: both;
}
.main-panel-left-top-1, .main-panel-left-top-2{
    padding: 30px 10px 30px 40px;
    float: left;
    width: 290px;
    min-height: 234px;
}
.main-panel-left-top-2{
    background: url('http://www.ucplabs.org/syndication/images/giraffe/us_map_bg.png') no-repeat top;
}
.main-panel-left-bottom{
    border-top: 3px dotted #ccc;
    margin-left: 22px;
    width: 658px;
    height: 40px;
    padding-top: 15px;
    float: left;
    clear: both;
}

.main-panel-left-bottom span {
  float: left;
  line-height: 1.2em;  
  padding: 0 5px 0 0;
}

.main-panel-left-bottom-1{
    width: 311px;
    float: left;
    height: 50px;
    padding-left: 18px;
}

.main-panel-left-bottom-1 input img a {
  border: none;
}

.main-panel-left-bottom-2{
    width: 301px;
    float: left;
    height: 50px;
    padding-left: 28px;
}

#mce-EMAIL {
  width: 125px;
  height: 18px;
  padding: 2px 5px 0;
  border: 1px #ccc solid;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  float: left;
  color: #888;
}

.panel-arrow  {
  width: 24px;
  height: 24px;
  float: left; 
  display: inline;
  cursor: pointer;
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') 0 0 no-repeat;
}

.panel-arrow:hover {
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') 0 -24px no-repeat;
}

.ucp-postit {
  padding: 50px 40px 0 25px;
  transform:rotate(-3deg);
  -webkit-transform:rotate(-3deg);
  -moz-transform:rotate(-3deg);
  -ms-transform:rotate(-3deg);
}

.ucp-postit a {
  width: 222px;
  height: 60px;
}

.ucp-cursive {
  margin-top: 25px;
  font-family: 'Rock Salt';
  font-size: 1.3em;
  text-align: center;
  color: #808080;
}

div.page-space {
    height: 40px;
    width: 960px;
    float: left; 
    clear: both; 
    background-image:url('http://www.ucplabs.org/syndication/images/giraffe/page_space.png');
    background-repeat: no-repeat;
    background-position: -4px bottom;
}

/* ----------- foot wrapper --------- */

.a-footer-wrapper{
    border: 0;
    margin: 0 auto;
    width: 960px;
    padding: 0 16px;
    overflow: hidden;
    background-image: url('http://www.ucplabs.org/syndication/images/giraffe/pagebg.png');
    background-repeat: repeat-y;

}

.a-footer-wrapper footer-shadow{
    width: 960px;
    height: 9px;
}

.a-footer {
  width: 960px;
  height: auto;
  background-color: #ffffff;
  background-image: url('http://www.ucplabs.org/syndication/images/giraffe/footerbg.png');
  background-repeat: repeat-x;
  overflow: hidden;
  font-size: 0.9em;
  line-height: 1.1em;
}

.a-footer ul {
  list-style-type: none;
  float: right;
}


#ucp-footer {
  color: #aaaaaa;
}

.a-footer a {
  text-decoration: none;
  border: 0px;
  color: inherit;
  font-size: 1.2em
}

.footer-contact {
  width: 300px;
  float: left;
  margin: 10px 0 15px 15px;
}
#footer-nav {
  margin-right: 25px;
  margin-top: 12px;
}

#footer-nav li {
  list-style: none;
  display: inline;
  margin-left: 30px;
}

#footer-nav a {
  font-size: 1.3em;
}

#footer-nav a:hover {
  text-decoration: underline;
  color: #cccccc;
}
#footer-social {
  position: relative;
  margin-right: 15px;
  margin-top: 5px;
  width: 96px;
  height: 24px;
}

#footer-social li {
  width: 24px;
  height: 24px;
  position: absolute;
  display: block;
  list-style: none;
  margin-left: 8px;
}
#footer-social a {
  width: 24px;
  height: 24px;
  display: block;
  border: #ffffff 0px solid;
}

#footer-facebook {
  left: 32px;
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -48px 0 no-repeat;
}

#footer-twitter {
  left: 0px;
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -24px 0 no-repeat;
}
#footer-rss {
  left: 64px;
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -72px 0 no-repeat;
}

#footer-facebook:hover {
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -48px -24px no-repeat;
}

#footer-twitter:hover {
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -24px -24px no-repeat;
}

#footer-rss:hover {
  background: url('http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png') -72px -24px no-repeat;
}
.footer-shadow{
  width: 960px;
  height: 19px;
  background: url('http://www.ucplabs.org/syndication/images/giraffe/pagebg_bottom.png') no-repeat;
  padding: 0 16px;
  margin: 0 auto;
}


/* ------------------ Sub-navigation ----------------*/

.ucp-subnav-wrapper {
    float: left;
    position: relative;
}

.a-ui.a-subnav-wrapper {
    margin:  0;
    padding-top: 0;
    width: 220px;
    background-image:url('http://www.ucplabs.org/syndication/images/giraffe/subnav1.png');
    background-repeat: repeat-y;
    background-position: top right;   
    border: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0; 
    -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.10);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.a-ui .a-subnav-inner {
    width: 195px; 
    padding: 0 0 0 25px;
}

.a-nav-subnav .a-current-page {
  background-image: url('http://www.ucplabs.org/syndication/images/giraffe/subnav_pointer.png');
  background-repeat: no-repeat;
  background-position: top right;
  font-weight: bold;
}

.a-nav-subnav .a-nav-item {
  padding: 10px 0;
  margin-bottom: 0;
  border-bottom: 2px #ccc dotted;
  vertical-align: middle;
  font-size:1.2em;
}

.a-nav-subnav .a-nav-item a {
  color: #333;
  padding: 0 0 0 5px;
}

.a-nav-subnav .a-nav-item a:hover {
  color: #aaa;
  text-decoration: underline;
}

div.subnav-footer { 
    width: 220px; 
    height: 120px;
    background-image:url('http://www.ucplabs.org/syndication/images/giraffe/subnav2.png');
    background-repeat: no-repeat;
    background-position: top right;
    float: left;
    clear: both; 
}

.a-ui.a-subnav-wrapper .a-btn.a-drag {
  display: none;
}

/* --------------- Bellow's Fund Application Form -------------- */

form.bellows fieldset {
margin-bottom: 5px;
}

form.bellows input {
  width: 130px;  
  vertical-align: middle;
}

form.bellows label {
  display: inline-block;
  line-height: 1.8;
  vertical-align: top;  
  width: 300px;
}

form.bellows legend {
  font-weight: bold;
  padding: 5px 0 2px 0;
}

form.bellows fieldset ol {
  padding: 0;
  margin: 0;
}

form.bellows fieldset li {
  list-style-type: none;  
  padding: 2px 0;
  border-bottom: 1px dotted #E9E9E9; 
}

form.bellows fieldset.quality {
  width: 470px;
  padding-top: 10px;
}

form.bellows fieldset.quality legend {
  width: 450px;
}

form.bellows fieldset.quality textarea { 
  background-color: #F6F6F6;
}

form.bellows .button {
  padding: 5px;
  margin: 15px 5px 0 0;     
  width: 100px;
}

form.bellows fieldset.signature li {
  border: none;
}

form.bellows fieldset.signature label {
  font-weight: bold;    
}

/* ------ Tentacle ---- */

div.tentacle-content {
  padding-left: 0;
}

/* ------ Sitemap styles ------- */
.sitemap {
  margin-left: 50px;
}

.mainlist {
  list-style-type: none;
  margin-top: 25px;
}

.mainlist li {
  font-weight: bold;
  margin-bottom: 2em;
}

.nestedlist {
  list-style-type: none;
  margin-left: 25px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.nestedlist li {
  font-weight: normal;
  margin-bottom: 0.3em;
  margin-top: 0px;
}

#enhanced-access {
  height: 50px;
  /*width: 300px;*/
  position: absolute;
  z-index: 11;
  top: 40px;
  left: 570px;
  width: 200px;
  background-color: #F9F9F9;
  padding: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 0px 0px 10px #888888; /* Firefox 3.6 and earlier */
  -webkit-box-shadow: 0px 0px 10px #888888; /* Safari and Chrome */
  box-shadow: 0px 0px 10px #888888;
}

#enhanced-access a{
  cursor: pointer;
} 

#enhanced-access .close-button{
  position: absolute;
  right: 5px;
  top: 5px;
}

#enhanced-access-button {
  background: url(http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png) -96px 0 no-repeat;
  width: 24px;
  height: 24px;
  overflow: visible;
  position: absolute;
  top: 119px;
  left: 670px;
  z-index: 100;
}

#enhanced-access-button.active {
  background: url(http://www.ucplabs.org/syndication/images/giraffe/button_sprite.png) -96px -24px no-repeat;
}

/* not working
#enhanced-access-button:focus {
  border: #cccccc 1px dotted;
}*/

.enhanced-access-link {
  width: 24px;
  height: 24px;
  position: relative;
  overflow: hidden;
  display: block;
  text-indent: -3000px;
  cursor: pointer;
}

