/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */

/* This file will hold the main styles for your website. */

/* HTML ELEMENTS */

/**
 * The default font size is 16px x 81.3% = 13px
 * Use http://pxtoem.com to calculate proper font size and scale.

COLORS USED:
Black: #2E2F2D;
Navy Blue: #002C47; text, a:hover etc
Dark Blue: #567E9F; a:links
Light Blue: #BACEE6 borders and dataset heading backgrounds;
Very Light Blue: #EEEEFF;
Light Brown: #E7D3B6, img backgrounds
Gold: #AC8F16
green lines & borders: #a9bf9f;
Image Borders: background: #F3F4EE, #F9EFE0, border: #DDD
Font: "Arial, Helvetica, sans-serif"
*
*/
  
 /*==============  PAGE STRUCTURE  ====================*/
html {overflow-y: scroll;}

html, body {
  margin: 0; pading: 0;
  height: 100%;
}

#page, #header, #primary, #breadcrumb, #footer, #closure {
  clear: both;
}

#page{
  position: relative;
  min-height: 100%;
  background: url("../images/body_shadow.png") repeat-y scroll 50% top transparent;
  background-size: 972px;
}

body, button, input, select, textarea {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #2E2F2D;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif !important;
  color: #002C47;
  letter-spacing: 0;
}

body {
  font-size: 12px;
  line-height: 1.5;
  background-color: #ADADAD;
}


/* Admin Menu */
#admin-menu {
  font-size: .9em;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  -khtml-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -ms-filter: none;
  filter: none;
}
#admin-menu a {color: #A5E587 !important;}
#admin-menu a:hover {color: #FFFFFF !important;}


#zone-branding {
  min-height: 90px;
  background: url("../images/header_bg.jpg") no-repeat #FFFFFF;
}
#zone-menu {
  position: relative;
  z-index: 800;
  background-color: #002c47;
  padding-top: 10px;
}

#region-search {
  float: left;
  margin-right: 6px !important;
  margin-top: -2px;
  margin-left: 0 !important;
  width: 100%;
  z-index: 100;
  clear: both;
}

#zone-header {display: none;}
    .front #region-header-first {
      height:300px !important;
      margin: 0 0 0 1px;
      border-right: 1px solid black;
    }
    .front #region-header-second {
      float: right;
      width: 294px;
      height:300px !important;
      margin: 0 1px 0 0;
      padding: 0;
    }
       
    .callout img {
        float:left;
        position:absolute;
        top:-19px;
        margin-left:-80px ;
    }
    
    .callout {
        position:relative;
        clear:both;
    }
    
    .callout .block-inner {
    }
    
    /* our typical submit button look */
    .callout .content a/*, .comment-add a, .comment-reply a*/ {
    	margin-top: 8px;
        background-color: #567EA0;
        border-radius: 5px 5px 5px 5px;
        color: #FFFFFF;
        background: #557EA0 !important;
        border: 2px solid #C3C3C3;
        cursor: pointer;
        display: inline-block;
        padding: 2px 10px 4px 10px;
	font-weight: normal;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	behavior: url(../images/border-radius.htc);
        text-shadow:none;
        min-width: 92px !important;
    }
    .callout .content a/*, .comment-add a, .comment-reply a*/ {
    	color: white !important;
        text-align: center;
    }
    .callout .content a:hover/*, .comment-add a:hover, .comment-reply a:hover*/ {
        color: #FFFFEE;
        background-color: #69B !important;
    }
    
    .front .callout .content {
    	padding-top: 12px;
    }
     .callout .content {
    	padding-top: 6px;
    }
    .callout .content p {
        margin: 0 0 0 75px;
        font-size: 11px;
    }
    
#zone-preface {/*visibility: hidden;*/}
  #zone-preface .region {
    margin: 4px 6px 0 0;
    width: 100%; /*315px;  half of the slide show width, minus a few pixels for borders and the margin */
    border: 1px solid #CAE4BF;
  }
    #region-preface-wrapper {
        margin: 0 2px;
    }
    #region-preface-wrapper h2 {
        background: url("../images/menu_hover.png") repeat-x scroll left top transparent;
    }
    #zone-preface #region-preface-third {
      float: left;
      margin-left: 0;
    }
    #zone-preface #region-preface-third.region {
    	float: left;
        margin-right: 0;
        /*width: 315px;  half of the slide show width, minus a few pixels for borders */
    }
    #zone-preface .region .content {
        margin: 0 10px;
    }
    #zone-postscript .region {
      margin: 0 !important;
    }
    
    /* highlighting links with solid blue bars */
    .view-dataset-listing-recent td, .block-views-blog-list-block td, .view-blog-list td, .block-top-rated-block-1 td {
    	padding: 0;
    }
    .view-dataset-listing-recent .views-field-title a, .block-views-blog-list-block .views-field-title a, .view-blog-list a, .block-top-rated-block-1 a, .block-tagclouds .tagclouds-term a, .region-sidebar-second .view-questions a {
    	display: block;
    	padding: 4px 8px;
    	margin-left: -4px;
    }
    .block-tagclouds .tagclouds-term a {
      display: inline !important;
    }
    .view-dataset-listing-recent .views-field-title a:hover, .block-views-blog-list-block .views-field-title a:hover, .view-blog-list a:hover, .block-top-rated-block-1 a:hover, .block-tagclouds .tagclouds-term a:hover, .region-sidebar-second .view-questions a:hover {
    	background-color: #557EA0;
    	color: white;
    }
    .region-sidebar-second .view-questions a.active {
    	background-color: #9AD;
    }

#zone-postscript {}

#section-footer {
  position: absolute;
  bottom:0;
  width: 100%;
  height: 140px; /* must match #section-content! */
  color: #fff;
  overflow: hidden;
}
  #zone-footer {
    font-size: 85%;
    padding-top: 10px;
    overflow: hidden;
    height: 140px; /* must match #section-footer */
    background: url(/sites/all/themes/hdtheme/footer.jpg);
  }
    #region-footer-first {
      margin-left: 10px;
      float: left;
    }
    #region-footer-second {
      height: 60px;
      float: left;
    }
      #region-footer-second p {
        padding-left: 5px;
      }
  #zone-footer .footer-logo-img {
  	  width: 200px;
  	  padding: 10px 20px 0 20px;
  	  float: left;
  }
  #zone-footer .footer-who-we-are {
  	  float: left;
  	  width: 600px;
  	  font-size: 12px;
  	  font-weight: bold;
  	  padding-top: 2px;
  }
  #zone-footer .links {
  	  clear: both;
  	  margin-left: 15px;
  }
  #zone-footer .links .group {
  	  float: left;
  	  width: 150px;
  	  margin-top: 20px;
  }
  #zone-footer .links .group p {
  	  margin: 5px;
  }
  #zone-footer a {
  	  color: white;
  	  text-decoration: underline;
  }

#zone-user {
  font-size: 85%;
  min-height: 30px;
  background: #FFFFFF;
}
#zone-user a, 
#zone-footer li.first a.active {
  color: #002C47;
}
#zone-user a:hover, 
#zone-user a.active,
#zone-footer a:hover,
#zone-footer a.active {
  color: #F4F8DF;
  text-decoration: none;
}
#region-user-second {
  float: right;
}

#zone-user ul,
#zone-footer ul {
  margin: 0 !important;
}
#zone-user ul li,
#zone-footer ul li {
  border-right: 1px solid #FFFFFF;
}

#zone-user ul li.last, 
#zone-footer ul li.last {
  border-right: none;
}

div#block-system-user-menu{
  float:right;
}

#section-content {
  padding-bottom: 140px; /* must match #section-footer */
}
#zone-content {
  position: relative;
  top: 0;
  min-height: 500px;
  padding: 10px 0;
}
#region-content {
  margin: 0;
  padding-left: 10px;
}
  #region-content .region-inner {
    background: #FFF;
    padding: 0 10px;
		position:relative;
		overflow:hidden;
  }
  .front #zone-content {
        display: none;
    }
  .front #region-content { }
    .front #region-content .content {
       background-color: white;
     }
     
     .region-content section.block-share-idea h2.block-title {
         display:none;
     }

/** Sidebars */
    #aside .content {
        margin-top: 10px;
    }
    aside .block {
        margin-bottom:20px;
    }
    aside .block .content {
        margin:0 10px 0 10px;
    }
    aside .region-inner {
      height: 100%;
      min-height: 100%;
    }
    #region-sidebar-first {
      border-right: 1px solid #a9bf9f;
      margin-left: 1px;
    }
    #region-sidebar-second {
      border-left: 1px solid #8EB2B2;
      margin-right: 1px;
      width: 298px;
    }
    aside.region-sidebar-second h2.block-title {
      background: url("../images/menu_hover.png") repeat-x scroll left top transparent;
      padding:5px 0 10px 10px;
    }
    aside.region-sidebar-second .captcha,
    aside.region-sidebar-second .captcha div {
      padding:5px !important;
      width: 250px !important;
    }
    
    .block-questions-block-2 h2.block-title {
        padding:5px 0 0 10px !important;
    }
    
    .block-hhs-qa input[type="submit"],
    .block-hhs-ideas-share-idea input[type="submit"] {
	margin-bottom:10px;
        float:right;
    }
   

/* Prevent overflowing content */
header[role=banner],
.content-inner,
.nav,
aside,
.region-footer {
  overflow: visible;
  word-wrap: break-word;
}

/*==============  GENERAL STYLES  ====================*/
/* Global focus style for links. */
a, a:link, a:visited {
  color: #557EA0;
  text-decoration: none;
}
a:hover, a:focus, a:active, a.active {
  color: #002C47;
  outline: none;
}
a img {border: none;}
img, embed, iframe, object, video {
  max-width: 100%;  /* flexible images - can cause issues in table cells where no width is set on the column, only in webkit and IE 7/8 */
  /*height: auto;*/
}
embed, iframe, object, video {
  background: none repeat scroll 0 0 #F3F4EE;
  border: 1px solid #DDDDDD;
  margin: 0 10px;
  padding: 5px;
}
50#iframe-bgbase {
  background: none !important;
  border: none !important;
}

p {
  margin: 0 0 1.5em;
  padding: 0;
}

h1 {font-size: 1.538em;}
h2 {font-size: 1.2em !important;}
h3 {font-size: 1.231em;}
h4 {font-size: 1.077em;}
h5,h6 {font-size: 1em;}
h3,h4{margin-bottom: 0 !important;}
h1 a:hover, h1 a:focus,
h2 a:hover, h2 a:focus,
h3 a:hover, h3 a:focus,
a:hover h3, a:focus h3 {
   color: #002C47;
}
ul,
.block ul,
.item-list ul {
  list-style-type: disc;
  list-style-image: none;
  margin: 0.25em 0 0.25em 1.5em; /* LTR */
}

.logo-img {
  margin: 35px 0 0 10px;
}

img.left {
  float: left;
  margin: 0 20px 10px 0;
}

img.right {
  float: right;
  margin: 0 0 20px 10px;
}

img.framed {
  padding: 5px;
  background: #F3F4EE;
  border: 1px solid #ddd;
}

img.dark-framed {
  padding: 5px;
  background: #bbb;
  border: 1px solid #eee;
}

.block img.left {
  float: left;
  margin: 0 15px 5px 0;
}

.block img.right {
  float: right;
  margin: 0 0 5px 15px;
}

td, th {
  padding: 4px 8px;
  vertical-align: middle;
}

/* NAVIGATION - CSS for major navigation elements such as menus, pager, superfish etc */
/**
 * Primary, Seondary and Menu bar menus, use one of the following id's for granular control:
 * #menu-bar
 * #primary-menu-bar
 * #secondary-menu-bar
 */
 
#region-menu{
  margin-right: 0 !important;
  margin-left: 1px !important;
  /*min-width: 600px; */
  float: left;
}
.region-menu-inner  {}

/** All menus */
ul.menu {
  padding-left: 0;
  display: inline;
}
ul.menu ul,
ul.menu ul ul,
ul.menu ul ul ul {
  margin-left: 15px;
}

ul.menu li {
  margin: 0;
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}

/** ======= MEGA MENU ===== */
#block-megamenu-main-menu {
	float:left;
}

.megamenu-skin-hdtheme {
  font-family: Arial,Helvetica,sans-serif !important;
  line-height: 1.5;
}
ul.megamenu-skin-hdtheme {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.megamenu-skin-hdtheme li {
 background: none;
 position: relative;
 float: left;
 margin: 0;
 padding: 0 0 5px 0;
 border: 1px solid #EEE;
}
ul.megamenu-skin-hdtheme li a {
  color: #303030;
  /*font-weight: bold;*/
  display: block;
  padding: 2px;
}
ul.megamenu-skin-hdtheme li.megamenu-parent h2 a {
  font-size: 9px !important;
  letter-spacing: 0em;
  background-color: #bacee6;
  text-align: center;
  height: 25px;
  line-height: 14px;
  padding-top: 7px;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  -khtml-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  behavior: url(../images/border-radius.htc);
  font-weight:bold;
}
ul.megamenu-skin-hdtheme li.megamenu-parent {
  margin-right: 1px;
  width: 52px;
}
ul.megamenu-skin-hdtheme li.megamenu-parent.last {
}
ul.megamenu-skin-hdtheme li ul.megamenu-bin {
  color: #AC8F16;
  background-color: #bacee6;
  padding: 0;
  position: absolute;
  display: none;
  top: 40px;
  width: 240px;
  height: auto;
  border-right: 1px solid #EEE;
  border-left: 1px solid #EEE;
}
ul.megamenu-skin-hdtheme li ul li.megamenu-slot {
  width: 240px;
  margin: 0;
  border-bottom: 1px solid #EEE;
  float: none;
}
ul.megamenu-skin-hdtheme li ul li.megamenu-slot:hover {
  color: #002C47;
  background: #EBF5E7;
}
ul.megamenu-skin-hdtheme li ul li.megamenu-slot a {
  white-space: nowrap;
  display: block;
  padding: 7px;
}
ul.megamenu-skin-hdtheme a:hover,
ul.megamenu-skin-hdtheme a:focus, 
ul.megamenu-skin-hdtheme a:active, 
ul.megamenu-skin-hdtheme a.active,
ul.megamenu-skin-hdtheme ul.megamenu-slot a:hover,
ul.megamenu-skin-hdtheme ul.megamenu-slot h3 a:hover {
  color: #002C47;
  background: none;
  text-decoration: none !important;
  outline: none;
}
/** temp */
ul.megamenu-skin-hdtheme li.megamenu-parent a.active {
  color: #000;
}
/** end-temp */

ul.megamenu-skin-hdtheme li.megamenu-parent.active h2 a,
ul.megamenu-skin-hdtheme ul.megamenu-parent h2 a:hover {
  color: #002C47;
  background: url("../images/menu_hover.png") repeat-x left top #FFFFFF;
  text-decoration: none !important;
  outline: none;
}
ul.megamenu-skin-hdtheme li:hover ul {
  display: block;
}
ul.megamenu-skin-hdtheme li.last .megamenu-slot-title {
  border-bottom: none;
}

.page-admin-workbench-overview ul.action-links {
  margin: 15px 0 !important;
  font-weight: bold;
}
.page-admin-workbench-overview ul.action-links li {
  display: inline;
  list-style-type: none;
}
.page-admin-workbench-overview ul.action-links li a {
  font-weight: normal;
}

/* Tabs */
#tasks {
  margin-bottom: 1em;
}
ul.primary {
  border-bottom-color:#ccc;
  margin: 1.5em 0 0;
  padding: 0 0 .2em .3em;
}
ul.primary li a {
  background-color: #F3F4EE;
  margin-right: .08em;
  border-color: #ccc;
  padding: .1em .75em .2em;
}
/*.local-tasks */ul.primary li a:hover {
  background-color: #F3F4EE !important;
  border-color: #DDD !important;
}
/*.local-tasks */ul.primary li.active a {
  background-color: #FFF;
  border-bottom-color: #FFF;
}
ul.secondary {
  border-bottom: 1px solid #CCC;
  margin: 1em 0 0;
  padding: 0 .3em 1em;
}
ul.secondary li {
  border-right: 0;
  list-style: none;
  padding: 0 2em 0 0;
}
ul.secondary li a:hover,
ul.secondary li a.active {
  border-bottom: none;
  text-decoration: underline;
}


ul.menu li.collapsed {}
ul.menu li.expanded  {}
ul.menu li.leaf    {}

ul.menu li a:link,
ul.menu li a:visited {}

ul.menu li a:hover,
ul.menu li a:focus,
ul.menu li a:active  {}

ul.menu li.active a  {}
ul.menu li.active-trail a {}

ul.menu li.first {}
ul.menu li.last  {}

.block .menu li.content {
  padding: 0; /* this class can be a problem in some occurances, so mitigate risk */
}

/** pager **/
ul.pager {
  color: #0A3062;
  font-size: 10px;
  text-transform: uppercase;
  padding-bottom: 20px;
}
ul.pager li {
  padding: 2px 6px !important;
  margin: 0 !important;
  border: 1px solid #e6e6e6;
}
ul.pager li a:hover {
  color: #0A3062;
}
/* Note: .pager-current is for the current page. */
ul.pager { font-size: 14px; }
ul.pager li.pager-item   {}
ul.pager li.first      {}
ul.pager li.last       {}
ul.pager li.pager-current  {}
ul.pager li.pager-first  {}
ul.pager li.pager-previous {}
ul.pager li.pager-next   {}
ul.pager li.pager-last   {}

/** User Profile **/
.profile .user-picture{
  margin: 2em 0 1em 1em !important;
}
.user-picture img{
  padding: 5px;
  background: #F3F4EE;
  border: 1px solid #eee;
}

/** breadcrumb **/
#breadcrumb {
  color: #333;
  font-size: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #8EB2b2;
}

#breadcrumb a {
  color: #333;
  padding: 0 8px;
}
.breadcrumb {
  display: inline;
}

/* Page */
h1#page-title {
  color: #0A3062;
  width: 550px;
  margin-top: 25px;
}
.front h1#page-title {
  display: none;
}


/*========== BLOCKS  ========= */
.block {}
.block-inner {} /* set block background styles on .block-inner */
#region-header-second .block-block-10 .block-inner,
#region-sidebar-second .block-block-10 .block-inner,
#region-header-second .block-block-6 .block-inner,
#region-sidebar-second .block-block-6 .block-inner {
  margin: 30px 20px 40px 10px;
  border:2px solid #557EA0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  height:90px;
  padding-bottom:5px;
}

.block-title {
  color: #002C47;
  padding: 5px 0 10px 20px;
}

/* Reset margins and padding for the Help block .block-inner */
#block-system-help .block-inner {
  padding: 0;
  margin: 0;
}

/* Reset block ul in the dashboard */
#dashboard .block ul {
  margin-left: 0;
}

#sidebar-second h2, #content-top h2 {
    background-color: #80BA00;
    border-bottom: 1px solid #5F75A1;
    color: #FFFFFF;
    padding: 6px 15px 7px;
}



/* Search */
#block-apachesolr-search-sort h2 {
	margin: 6px 0 6px 0;
	padding-bottom: 5px;
	font-size: 12px !important;
}
#block-apachesolr-search-sort li {
	display: inline;
}
.block-facetapi { /* applies to selected facets which turn into plain text (not links) */
	color: #CB3900;
	font-weight: bold;
}
.block-facetapi a { /* undoes the above */
	font-weight: normal;
}
.facetapi-active {
	color: #CB3900 !important;
	font-weight: bold;
}
#block-search-form {
  float:left;
  background-color: #FFF;
  border: 1px solid #CCCCCC;
  /*margin-top: 5px;*/
  margin-bottom: 5px;
}
#block-search-form div.container-inline {
  position: relative;
  text-align: left;
  height: 27px;
  background-color: #FFF;
}
#block-search-form input.form-text,
#block-search-form textarea {
  border: 0 !important;
  color: #AAAAAA;
  margin: 5px !important;
  background-color: #FFF;
  width: 290px; /*260px;*/
}
#block-search-form .form-submit {
  background: url("../images/search.png") no-repeat scroll left top #FFF !important;
  border: 0;   
  height: 16px;
  width: 18px;
  padding: 3px;
  margin: 5px;
  position: absolute;
  top: 0;
  right: 0;
  text-transform:capitalize;
  color: #0A3062;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
}
#block-search-form textarea:focus, 
#block-search-form textarea:active,
#block-search-form input:active, 
#block-search-form input:focus {
  box-shadow: none !important;
}
#block-search-form .form-submit:hover {
  padding: 5px;
  margin: 5px;
}
#block-search-form .block,
#block-search-form form {
    margin-bottom: 0 !important;
    height: 27px;
}

#block-search-form form {
    width:300px;
}

#ckanpackage-search-form {}
#ckanpackage-search-form .form-select {

}
#ckanpackage-search-form .form-item {
  margin-top: 5px;
}
#ckanpackage-search-form .form-item-keyword {
}
#ckanpackage-search-form .form-item-sub-agency,
#ckanpackage-search-form .form-item-subject-area {
  display: inline;
}
#ckanpackage-search-form .form-item-sub-agency,
#ckanpackage-search-form .form-item-subject-area,
#ckanpackage-search-form .form-submit {
  float: none;
}
#ckanpackage-search-form .form-submit {
display: block !important;
margin-top: 5px;
}

/* Advanced search form */
fieldset#edit-advanced fieldset {
  float: left;
  margin: 0 10px 10px 0;
}
fieldset#edit-advanced fieldset .fieldset-legend {
  background: none;
  padding-left: 1em;
}
.advanced-search-submit {
  clear: both;
}
.search-advanced .criterion {
  float: none;
  margin: 0 5px;
}
#edit-keywords-fieldset .form-item:first-child {
  margin-top: 5px;
}
#search-form {
  margin: 10px 0;
}

/* Search the Data on landing page */

section#block-views-exp-search-block-page input[type="text"] {
 /*   width:250px; */
}

section#block-views-exp-search-block-page input[type="submit"] {
    text-align:center;
}
/* Maintenance page */
.maintenance-page #skip-link {
  position: absolute;
  top: -99em;
}
.maintenance-page footer {
  margin: 10px 0 0;
}
.maintenance-page footer a {
  text-decoration: none;
  color: #ccc;
}

/*========== FIX ========= */
#first-time{display:none}
.element-invisible {
  position: absolute !important;
  top: -9999em;
  left: -9999em;
}

.rounded-corners {
   -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  behavior: url(../images/border-radius.htc);
}

.right {
  text-align: right;
}
.center {
  text-align:center;
}
.inline {
  display:inline;
  margin-right: 0.5em;
}

/*========== CUSTOM PAGE DISPLAY ========== */


/*==========VIEWS SLIDESHOW ========= */

div.view-slideshow {
  width: 640px;
  max-width: 640px;
}

div.view-slideshow .views-row img {
  overflow: hidden;
  height: 300px;
  max-width: 640px;
}
#transparency {
  position:absolute;
  bottom:0px;
  left:0px;
  width: 640px;
  height: 90px;
  background: #00080D;
  zoom: 1;
  filter: alpha(opacity=90);
  opacity: 0.9;
}
#slideshow {
  position:absolute;
  top: 215px;
  margin: 0 5px;
  color: #FFFFFF;
}
#slideshow h2 {
  margin-bottom: 0 !important;
}
#slideshow a {
  color: #A5E587;
}
#slideshow a:hover,
#slideshow a:active,
#slideshow a.active {
  color: #fff;
  text-decoration: none;
}
#slideshow h2 a {
  color: #fff !important;
}
#slideshow h2 a:hover,
#slideshow h2 a:active,
#slideshow h2 a.active {
  color:  #69A91D !important;
}

/* Slideshow pager */
/*.views-slideshow-controls-bottom {
  width: 100px !important;
  float: right !important;
}*/

/*
.views-slideshow-controls-bottom {
  height: 0px;
}
.view-slideshow .views-content-counter {
  background: url("../images/slideshow_pager_dots.png") no-repeat scroll 0 -40px transparent;
  /*height: 12px;*
  width: 15px;
  display: inline;
  float: right;
  bottom: 20px;
  position: relative;
  z-index: 16;
  height: 12px;
}

.view-frontpage-slideshow .active .views-content-counter {
  background: url("../images/slideshow_pager_dots.png") no-repeat scroll 0 -14px transparent;
  width: 15px;
}

.views_slideshow_pager_field_item a, .activeSlide a {
  visibility:hidden;
}

.view-slideshow .views-slideshow-cycle-main-frame, 
.view-slideshow .views-slideshow-cycle-main-frame-row {
height: 300px !important;
width:  640px !important;
background: transparent !important;
left:0px !important;
top:0px !important;
}
*/

.views_slideshow_main {
  position: relative;
  z-index: 100;
}

.view-slideshow .views-slideshow-controls-bottom {
  text-align: center;
  position: absolute;
  z-index: 100;
  bottom: 0;
}
.view-slideshow .views-slideshow-pager-fields {
  display: inline-block;
  text-align: left;
}

/* Appearance of pager images. */
.view-slideshow .views-slideshow-pager-field-item {
  cursor: pointer;
  float: left;
  width: 20px;
  opacity: 0.2;
}

.views-slideshow-pager-fields .active {
  opacity: 0.6 !important;
}

/* place the arrow controls */
.views-slideshow-controls-text span {
  background: url("../images/prev-next.png") no-repeat scroll left top transparent; 
  cursor: pointer;
  text-indent: -9999px;
  display: block;
  position: absolute;
  top: 139px;
  height: 24px;
  width: 14px;
  z-index: 5;
  opacity: 0.2;
}

.views-slideshow-controls-text span:hover {
  opacity: 0.6;
}

#views_slideshow_controls_text_pause_slideshow-slideshow {
  display: none;
}

.views-slideshow-controls-text-previous {
  left: 2px;
  background-position: left top !important;
}

.views-slideshow-controls-text-next {
  right: 2px;
  background-position: right top !important;
}

.views-slideshow-controls-bottom .views-slideshow-pager-field-item { 
  margin-top: 0 !important;
}



/*==========VIEWS JCAROUSEL ============ */

div.view-slider {
  width: 222px; /*400px;*/
  margin: 5px 0 40px 0;
}

div.view-slider p {
      font-family: Verdana, Geneva, sans-serif !important;
      font-size:10px;
      color:#303030;
}

div.view-slider img {
  overflow: hidden;
  height: auto;
  weight: auto;
}
div.view-slider .views-field-field-slider-icon {

}
div.view-slider .views-field-title h3 {
  margin-bottom: 5px;
  font-size: 1.1em;
}
div.view-slider .views-field-title img {
 width: 30px;
 height: 30px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -khtml-border-radius: 8px;
  border-radius: 8px;
  behavior: url(../images/border-radius.htc);
}
div.view-slider .views-field-body {
  font-size: 11px;
}
div.view-slider .views-field-title h3 a {
  color: #002C47;
}
div.view-slider .views-field-title h3 a:active,
div.view-slider .views-field-title h3 a.active, 
div.view-slider .views-field-title h3 a:hover,
div.view-slider .views-field-title h3 a:focus {
  color: #557EA0;
}
div.view-slider .views-field-field-slider-link a {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  behavior: url(../images/border-radius.htc);
  padding: 2px;
  margin: 2px;
}

.front .container-12 .grid-3 {
	width: 100%;
}

.jcarousel-skin-tango{
  overflow: hidden;
}

.jcarousel-skin-tango .jcarousel-navigation {
  display: none;
}

.jcarousel-skin-tango .jcarousel-container {
  background: none repeat scroll 0 0 #FFFFFF;
  border: none !important;
  border-radius: 0 !important;
  margin: auto;
}
.jcarousel-skin-tango .jcarousel-item {
  height: 219px !important;
  width: 150px !important;
  border: none !important;
}
.jcarousel-skin-tango .jcarousel-item-1 {
  margin-left: 0px !important;
}
.jcarousel-skin-tango .jcarousel-container-horizontal {
  height: 209px !important;
  width: 100% !important;
  padding: 15px 0px;
}
.jcarousel-skin-tango .jcarousel-clip-horizontal {
  left: 30px;
  width: 160px /*324px 880px */!important;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
  margin: 0 5px !important;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  behavior: url(../images/border-radius.htc);
}
.jcarousel-skin-tango li.jcarousel-item-horizontal .views-field-title {
}
.views-field-field-slider-icon img {
	display: block;
	margin: auto;
	margin-bottom: 4px;
}
.jcarousel-skin-tango li.jcarousel-item-horizontal .views-field-body {
  margin-top: 5px;
  margin-bottom: 10px;
  background: url("../images/slider_bg.png") repeat-x left top #FFFFFF;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  behavior: url(../images/border-radius.htc);
  height:104px;
  overflow: hidden;
  padding:8px 5px 0 15px;
  text-align:left;
}

.jcarousel-skin-tango .jcarousel-next, 
.jcarousel-skin-tango .jcarousel-prev {
  background-image: url("../images/slider_nav.png")!important;
  display: block;
  height: 40px;
  width: 20px;
  margin-top: 50px;
}
.jcarousel-skin-tango .jcarousel-next-horizontal,
.jcarousel-skin-tango .jcarousel-next-horizontal:hover {
    background-position: 0 40px;
}
.jcarousel-skin-tango .jcarousel-prev-horizontal:hover {
  background-position: 0 0px;
}

/** Node links =====**/
.node-links ul {
  margin: 10px 20px 0 0;
  float: right;
}


/**======= FORMS =========*/
form {
  margin: 0 0 1.5em;
  padding: 0;
}
.form-item label {
  /*display: block;*/
  font-weight: bold;
}
input {
  margin: 0;
  max-width: 100%;
}

input.text,
input.title,
textarea,
select {
  border: 1px solid #ccc;
  margin: 0;
}

/**=========Webforms ==========*/
.node-type-webform textarea,
.node-type-webform .form-text{
    width: 300px !important;
}
.node-type-webform .description,
.node-type-webform .grippie,
.node-type-webform .form-submit,
#edit-mollom-captcha {
  margin-left: 200px;
  width: 300px;
}
.node-type-webform #edit-submitted-attach-upload-button{
  margin-left: 0px;
  width: auto;
}

.node-type-webform .form-textarea-wrapper,
.node-type-webform .form-textarea-wrapper textarea,
.node-type-webform label {
  display: inline !important;
}
.node-type-webform .form-item label {
  vertical-align: top;
  float: left;
  text-align: right;
  padding-right: 25px;
  margin-right: 0 !important;
  width: 175px;
}


/* Inputs and textarea */
input.text,
input.title {
  padding: .5em;
}
input.form-text,
textarea {
  border: 1px solid #ccc;
  height: auto;
  padding: 2px;
}
textarea,
input {
  font: 1em normal Arial, Helvetica, sans-serif;
}
div.resizable-textarea textarea {
  margin-top: 0;
}

.form-item,
.form-action {
  margin-top: 10px;
  margin-bottom: 10px;
}

.form-item-log {
    width:400px;
    
}
.exposed-filters .form-item {
  margin-top: 0;
  margin-bottom: 10px;
}
.form-item textarea.error {
  padding: 2px;
}
.form-item .description,
fieldset .description,
.fieldset-layout-settings dd {
  font-size: 0.846em;
}

/* Required, mark */
span.form-required,
span.marker {}

/* Focus styles for accessibility and usabiltiy.*/
button:focus, button:active, input:focus, input:active, select:focus, select:active, textarea:focus, textarea:active {
    box-shadow: 0 0 7px #AC8F16;
}
.form-submit, button, input[type="reset"], input[type="submit"], input[type="button"], #edit-submit-search-block {
  background: #557EA0 !important;
  border: 2px solid #C3C3C3;
  color: white;
  cursor: pointer;
  display: inline-block;
   padding: 2px 10px 4px 10px;
	font-weight: normal;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	behavior: url(../images/border-radius.htc);
        text-shadow:none;
}
.form-submit:hover, #edit-submit-search-block:hover {
    color: #FFFFEE;
    background-color: #69B !important;
}


/* Fieldsets */
fieldset {
  background: transparent;
  border: 1px solid #dadada;
  border-top: 24px solid #BACEE6;
  margin: 10px 0;
  padding: 10px;
}

.responsive-layout-normal fieldset .fieldset-wrapper {
    width:500px;
}
fieldset .fieldset-wrapper {
  padding: 0 13px 13px 15px;
}
div.vertical-tabs .vertical-tabs-panes {
border-bottom: 1px solid #CCC;
float: left;
}
fieldset fieldset:last-child {
  margin-bottom: 0;
}
.form-type-radio .description,
.form-type-checkbox .description {
  margin-left: 0;
}
*:first-child+html fieldset {
  background-color: transparent;
  background-position: 0 10px;
  padding: 0 10px 10px;
}
*:first-child+html fieldset > .description,
*:first-child+html fieldset .fieldset-wrapper .description {
  padding-top: 10px;
}
fieldset legend {
  display: block;
  font-weight: 400;
  height: 20px;
  padding: 2px 10px 2px 0;
  background: none repeat scroll 0 0 #BACEE6;
}
.fieldset-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #002C47 !important;
}
*:first-child+html fieldset legend,
*:first-child+html fieldset.collapsed legend {
  display: inline;
}
html.js fieldset.collapsed {
  background: transparent;
  padding-top: 5px;
}


/* Form descriptions */
.description {}

/* User login */
#user-login-form ul {
  margin: 0;
  padding: 0;
}
#user-login-form li.openid-link,
#user-login-form li.user-link {
  text-align: center;
}
#user-login ul {
  margin: 0 0 5px;
}
#user-login ul li {
  margin: 0;
}
#user-login ol {
  padding-left: 40px;
}
div#motd {
  padding-top: 12px;
}
#user-login-form .item-list li {
  list-style: none;
  margin: 0;
}
#user-login-form li.openid-link,
#user-login li.openid-link {
  background: none;
}

/* hide lable class - mostly deprecated but could be present in an upgraded theme */
.hide-label label {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  background: none;
}

/* Admin filters, could be redundant, need to test. */
#user-admin-filter ul li,
#article-admin-filter ul li {
  list-style: none;
}
#article-admin-filter ul {
  padding: .5em 0;
}
#edit-operation-wrapper select {
  margin: .5em;
}

/* Tips overrides */
.field-type-text-long fieldset {
  padding: 10px 0;
}
.field-type-text-long fieldset .form-item {
  margin: 0;
  padding: 0 0 0 15px;
}
fieldset .filter-help {
  padding: 0 15px 5px;
}
.filter-guidelines {
  font-size: .923em;
  margin: 0;
  padding: 5px 18px 10px;
}
.tips {
  font-size: 0.857em;
  margin: 0 0 0 15px;
  padding: 0;
}

/* Special case modules */
#devel-switch-user-form {
  margin-bottom: 0;
}

/* Forms */
.form-wrapper {
  clear: both;
}

/* Fields */

.field {}

/* Field labels are h2 */
.field .field-label {
  font-size: 1em;
  font-weight: 700;
  line-height: inherit;
  margin: 0;
}
.field-lable-inline .field-label {
  display: inline;
}

/* Date fields. */

.field-type-datetime input {
  display: inline;
}
.field-type-datetime .form-type-date-popup input {
  margin-left: 0;
}
.field-type-datetime .form-type-date-text input {
  width: 140px;
  margin-left: 175px;
}
.field-name-field-coverage-period .form-type-date-popup .form-type-textfield label,
.field-name-field-coverage-period-fiscal .form-type-textfield label {
  display: none;
}
.field-name-field-coverage-period .form-type-date-popup .form-type-textfield .description,
.field-name-field-coverage-period-fiscal .form-type-textfield input,
.field-name-field-coverage-period-fiscal .form-type-textfield .description {
  margin-left: 0;
}
.field-name-field-coverage-period,
.container-inline-date .date-padding {
  padding: 2px !important;
}
.date-no-float {
  float: none;
  width: auto;
}
.date-date {
  display: inline;
}

.form-item-field-license-agreement-und, 
.form-item-field-license-agreement-und label,
.form-item-field-license-agreement-und input {
  display: inline;
}

/* Filefield field. */
.field-type-filefield {}

/* Node reference field. */
.field-type-nodereference {}

/* Term reference fields. */
.field-type-taxonomy-term-reference .field-label {
  font-size: 1em;
}
.field-type-taxonomy-term-reference ul {
  margin: 0;
  padding: 0;
}
.field-type-taxonomy-term-reference ul li {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

.field-type-taxonomy-term-reference .form-item label.option {
  float: none !important;
  display: inline !important;
}

.field-type-taxonomy-term-reference .form-checkboxes, 
.field-type-taxonomy-term-reference .form-radios {
  display: block;
  margin-left: 175px;
}
.field-name-field-tags div {
  display: block;
  float: left;
  margin-right: 10px;
}


/*****************************
 * Dataset public node page &
 * Dataset submission page
 ****************************
 */
.node-ckan-package .field,
.node-type-dataset-submission .field {
 margin: .75em 0 .75em 0;
}
.node-ckan-package .field .ckan_label,
.node-type-dataset-submission .form-item label,
.node-type-dataset-submission .field-label {
	display: block;
	float: left;
	width: 150px;
	font-weight: bold;
}

.responsive-layout-normal form#dataset-submission-node-form .form-item label {
    text-align:left;
}
.node-type-dataset-submission .form-item label {
  text-align: right;
}
.node-type-dataset-submission .form-type-radio label {
  display: inline;
  float: none;
}
.node-type-dataset-submission .form-radios {
  margin-left: 0;
  float:left;
}

.node-type-dataset-submission .description {
    float:left;
    margin:0;
}

.node-type-dataset-submission .form-type-radio {
    clear:both;
    float:left;
}

.node-type-dataset-submission .form-checkbox {
    float:left;
    margin:3px 20px 0 0;
}

form#dataset-submission-node-form .vertical-tabs-panes {
    border-bottom:none;
}
.node-type-dataset-submission .field-items,
.node-type-dataset-submission textarea,
.node-type-dataset-submission .grippie {
  display: block;
  float: none;
  margin-left: 175px;
}

#comment_box textarea {
    margin:0;
    float:left;
    width:100%;
}

#comment_box .grippie {
    display:none;
}

#comment_box .form-item label {
    text-align:left;
}

#comment_box .form-submit {
    margin-top:20px;
	float:left;
}

.responsive-layout-normal form#dataset-submission-node-form .description {
    margin-left:0;
}

.node-type-dataset-submission .form-text,
.node-type-dataset-submission .description,
.node-type-dataset-submission textarea {
  width: 500px;
}

.responsive-layout-normal form#dataset-submission-node-form textarea,
.responsive-layout-normal form#dataset-submission-node-form .form-type-textarea .description {
  width: 400px;
}
.node-type-dataset-submission textarea,
.node-type-dataset-submission .form-type-textarea .description {
  width: 600px;
}

.form-item-log #edit-log--2,
.form-item-log .grippie,
.form-item-log .description {
    margin-left:0;
    float:left;
}
 
.node-ckan-package .field .ckan_value {
	display: block;
	float: left;
	padding-left: 10px;
	width: 400px;
}
.node-ckan-package .field .migration_notes {
	clear: both;
	display: block;
	float: left;
	margin-left: 150px;
	padding-left: 10px;
	font-size: 90%;
	color: #777;
}

.node-type-dataset-submission .grippie {
  width: 398px;
}
.responsive-layout-normal form#dataset-submission-node-form .grippie {
    
}

.field.notesrendered {
	margin-bottom: 1em;
}
.field.notesrendered .ckan_label {
	display: none;
}
.field.notesrendered .ckan_value {
	width: auto;
}
.field.notesrendered .ckan_value {
  margin-left: 0;
}
.node-ckan-package .field.hdworkflowid {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #BACEE6;
}
.node-ckan-package .field.hdworkflowid .ckan_label {
	display: none;
}
#downloads {
	border: 1px solid #DDD;
	background-color: #c1e0b5;
	padding: 1em;
	margin: 1em 0;
	font-weight: bold;
}
	#downloads span {
		margin-right: 1em;
	}
.node-ckan-package .group {
	padding: 10px;
        border: 1px solid #DADADA;
        border-top: none;
}
	.node-ckan-package .group h2 {
		margin: -10px -10px 10px -10px;
		background-color: #BACEE6;
		padding: 2px 10px;
		font-size: 1.1em !important;
                color: #002C47;
	}
#node_dataset_submission_form_group_internal {
  display: none;
}
#edit-revision-information label {
  width: auto  !important;
  float: none  !important;
  display: inline !important;
}
#edit-revision-information textarea,
#edit-revision-information .description,
#edit-revision-information .grippie,
#edit-revision-information .form-radios {
  margin: 0;
  width: 100% !important;
  
}

/** VIEWS BLOG */
.node-hdblog .user-picture, .view-blog-entries .user-picture {
  float: left;
  /* width: 135px; */
}
.node-hdblog .user-picture img,
.view-blog-entries .user-picture img {
  margin: 0 10px 0px 0px;
  padding: 5px;
}

.view-blog-entries .views-field-field-image img,
.view-blog-entries .field-type-image img,
.node-hdblog .field-type-image img {
  float: right;
}
/*
.node-hdblog .content, .view-blog-entries .views-field-body {
	float: left;
	width: 475px;
}
*/

.view-blog-entries .views-field-body {
	float: left;
	width: 475px;
}
.node-hdblog .content img, .view-blog-entries .views-field-body img {
	display: block;
	margin: 1em auto 1em auto;
}
.node-hdblog .submitted,
.view-blog-entries .submitted {
  padding: 10px 0 15px 0;
  font-style: italic;
}
.node-hdblog .submitted #social-small {
	padding-top: 6px;
}

.view-blog-list .views-row {
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.view-blog-entries .views-field-title {
	margin-bottom: 12px;
	border-bottom: 1px solid #CCC;
}
.view-blog-entries .views-field-title h3 {
	color: #6f6f6f;
	font-size: 12pt;
}
.view-blog-entries .views-field-title h3:hover {
	color: #0A3062;
}
.node-type-hdblog h1 {
	color: #6f6f6f !important;
	margin-bottom: 12px;
	border-bottom: 1px solid #6f6f6f;
}
.view-blog-entries .views-field-field-user-fullname {
	font-style: italic;
}
.view-blog-entries td.col-1 {
	padding-bottom: 35px;
}

.view-recent-blog-post .views-field-php .views-view-grid tr {
  border-top: 1px solid #EEEEEE;
}
.view-recent-blog-post .view-blog-list {
  border-bottom: 1px solid #EEEEEE;
}
.view-recent-blog-post img {
	margin-bottom: 10px;
	margin-left: 7px;
}
.view-recent-blog-post .views-field-title {
	margin-left: 7px;
}
.view-recent-blog-post .views-field-title a h4 {
	color: #557EA0;
}
.view-recent-blog-post .views-field-title a:hover {
	text-decoration: underline;
}
.view-recent-blog-post .views-field-body {
	margin-top: 5px;
	margin-left: 7px;
	margin-bottom: 5px;
}

/** SOCIAL ICONS */
#social-small {
  float: left;
} 
#block-block-12 {
  float: right;
}

.facebook {
    float:left;
}
.twitter {
    float:right;
}

.ra1-pw_size_small .ra1-pw-icon, .ra1-pw-button-small .ra1-pw-icon {
    background-repeat: no-repeat;
    height: 100% !important;
    width: 100% !important;
}
/** OMEGA VISUALS **/
table {width: 100%;}
.view-workbench-moderation table,
.view-workbench-moderation table,
#comment-admin-overview table.sticky-table {
  border: 1px solid #CCC;
}
table.views-view-grid {
  margin-bottom: 5px;
}
.views-view-grid tr,
.view-dataset-listing-recent tr,
.view-blog-list tr {
	padding-bottom: 25px;
}
.views-view-grid td {
	padding: 0;
}

thead th, th {
  background: #EBF5E7;
  border-bottom: 1px solid #CCC;
  color: #333;
}

td, th {
  padding: 4px 8px;
  vertical-align: middle;
}

th a, th a:link, th a:visited {
  text-decoration: none;
}

th a {
  display: block;
}

th a img {
  margin: 0 0 0 5px;
}
th.active {
  background: #DDD;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

/* Odd & Even Styles */
tr.even, tr.odd {
    background-color: #FAFBF8;
    border-bottom: 1px solid #DDDDDD;
}

tr.even td {
  background: #F1F5FA;
}
tr.odd td {
  background: #fff;
}

td.active {
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
}
tr.even td.active {
  background: #e5e9ed;
}
tr.odd td.active {
  background: #f2f2f2;
}
td ul.links {
  margin-bottom: 0;
}

/*  Questions and Answers Theming */
.page-node-add-question .form-item-workbench-access,
.page-node-add-question .field-name-field-question-node-reference {
    display:none;
}

.context-questions-answers section#block-hhs-qa-ask-a-question h2,
.context-ideas-0 section#block-hhs-ideas-share-idea h2 {
    display:none !important;
}

.context-questions-answers  section#block-hhs-qa-ask-a-question input[type="submit"] {
    float:right;
}

 .content #box {
    font-weight:bold;
}

.block-hhs-ideas .block-inner {
    height:460px !important;
}

/* QUICKTABS */
ul.quicktabs-tabs.quicktabs-style-basic {
  border: none;
  height: 23px !important;
}
ul.quicktabs-tabs.quicktabs-style-basic li {
    background-color: #EEE !important;
    border-top: 1px solid #CECECE !important;
    border-left: 1px solid #CECECE !important;
    border-right: 1px solid #CECECE !important;
    border-bottom: none !important;
    margin-left: 1px !important;
    margin-right: 2px !important;
    padding: 7px !important;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

ul.quicktabs-tabs.quicktabs-style-basic li.active {
  background-color: #BACEE6 !important;
  border-top: 1px solid #BACEE6 !important;
  border-left: 1px solid #BACEE6 !important;
  border-right: 1px solid #BACEE6 !important;
  border-bottom: none !important;
  margin-left: 1px !important;
  margin-right: 2px !important;
  padding: 7px !important;
  -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}
ul.quicktabs-tabs.quicktabs-style-basic li a {
  color: #444;
  font-weight: normal !important;
  font-size: 12px !important;
}

ul.quicktabs-tabs.quicktabs-style-basic a:hover {
    color:#002C47;
}
  ul.quicktabs-tabs.quicktabs-style-basic li.active a {
    font-weight: bold !important;
    color:#002C47;
  }
.quicktabs_main.quicktabs-style-basic {
  border: none;
  padding: 0;
}
.quicktabs_main.quicktabs-style-basic th {
  background-color: #F1F5FA;
  font-style: italic;
  font-size: 11px;
}

.quicktabs-tabpage thead {
    border-top:1px solid #CCCCCC;
}

/** SEARCH RESULTS **/

.region-sidebar-first-inner {
	background-color: #BACEE6;
	color: white;
}
.region-sidebar-first-inner h2 {
	color: #333;
}
.region-sidebar-first-inner a {
	color: #002C47;
}
.region-sidebar-first-inner a:hover {
	text-decoration: underline;
}
.region-sidebar-first-inner li a.active {
	font-weight: bold;
	color: #CB3900 !important;
}

.page-search #page-title, .page-dataset #page-title {
	display: none;
}
.search-results h3 {
	margin-left: -5px;
	background-color: #BACEE6;
	color: #002C47;
	padding-right:95px;
	padding-left:1em;
}
.search-results h3 a {
	font-size: medium;
	color: #002C47;
	padding: 2px 5px 2px 5px;
}
.search-results h3 a:hover {
	text-decoration: underline;
}
.search-results .search_result_details {
	padding-top: .5em;
	padding-bottom: .5em;
	border-top: 1px solid #b9bdb5;
	font-size: 90%;
	color: #565854;
}
.search-results .field {
 margin: .25em 0 .25em 0;
}
.search-results .field .ckan_label {
       display: block;
       float: left;
       width: 150px;
       font-weight: bold;
}
.search-results .field .ckan_value {
       display: block;
       float: left;
       padding-left: 10px;
       width: 400px;
}
.search-results .migration_notes {
       display: none;
}
.search-results .field.groupname {
	display: none;
}

.search-results .sub-items {
	margin: 0 1em 2em 1em;
	font-size: 90%;
}
.search-results .sub-items .more_like {
	font-style: italic;
}

.search-result {
	position:relative;
	display:block;
	overflow:hidden;
}
.search-result .search-snippet-info{
	padding-right:40px;
}

.dataset-label {
	-webkit-transform: rotate(35deg);
	-moz-transform: rotate(35deg);
	-ms-transform: rotate(35deg);
	-o-transform: rotate(35deg);
	-webkit-transform-origin: top right;
	-moz-transform-origin: top right;
	-ms-transform-origin: top right;
	-o-transform-origin: top right;
	position: absolute;
	width:100px;
	height:120px;
	top: -38px;
	right: -68px;
	position: absolute;
	color:white;
	font-weight:bold;
	text-align:center;
	background-color: white;
	font-size:small;
	display:inline-block;
	padding-left:5px;
}

.dataset-label-generic {
	display:inline-block;
	position:absolute;
	width:100px;
	padding-left:5px;
	line-height:12px;
	padding-bottom:3px;
	padding-top:3px;
	bottom:0px;
	left:0px;
	color:white;
}
.dataset-label-federal {
	background-color: #71999f;
}
.dataset-label-state {
	background-color: #8e719f;
}
.dataset-label-hhs {
	background-color: #002c47;
}
.dataset-label-city {
	background-color: #666;
}
.dataset-label-international {
	background-color: #9f9a71;
}

/* Q&A and Ideas */
.view-questions .views-table tr:hover td, .view-ideas .views-table tr:hover td {
	background-color: #DDF;
}

.context-ideas-0  input[type="submit"] {
    float:right !important;
}

.context-ideas-0 .block-quicktabs-ideas h2.block-title {
    display:none;
}

section.block-hhs-ideas {
    padding-bottom:30px;
}

#disclaimer {
    font-style:italic;
    margin:50px 0 0;
}

.node-type-question .block-answers-block {
	margin-left: 4em;
}
.node-type-question .block-answers-block .block-title {
    padding: 5px 0 5px 10px;
    background-color:#BACEE6;
    margin-top:15px;
    margin-bottom:8px;
}
.node-type-question .block-answers-block .views-field-title {
	margin: 20px 0 5px 0;
}

/* BLOG CATEGORIES */

/*
.view-blog-categories .subject_area_60 {
	background-image: url(/sites/default/files/slider/small-icons_0002_Layer-20.png);
	background-repeat: no-repeat;
	padding-left: 40px;
	height: 40px;
}
*/

/* BLOG COMMENTS */
/*
h2.comment-form, #comments h2 {
	border-top: 1px solid #EEEEEE;
	margin-top: 30px;
	padding-top: 15px;
}

#comments > div.comment h3 {
	background-color: #BACEE6;
	margin: 0 0 1em -5px !important;
	padding: 2px 5px 1px 5px;
}
#comments h3 a {
	color: #002C47;
}
#comments div.comment {
	margin-bottom: 1.5em;
}
div.indented {
	margin-left: 4em;
}
.indented div.comment {
	border-top: 1px solid #888;
	margin-top: 1em;
	padding-top: 1em;
}
.indented div.comment h3 {
	font-style: italic;
	font-size: 13px;
}
*/
/* blog & comment block 
---------------*/
.view.article-post li, .view.blog-post li, .view.comment-post li {
  padding: 10px 0;
  background-image: none;
}

.view.article-post li .date, .view.blog-post li .date {
  float: left;
  font-family: 'Yanone Kaffeesatz', Arial Narrow, Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: normal;
  line-height: 1;
  width: 25px;
  padding: 5px 15px;
}

.view.comment-post li .user-picture  {
  float: left;
  padding: 5px;
  margin-right: 15px;
  line-height: 0;
}

.view.comment-post li .user-picture img {
  width: 40px;	
  height: 40px;
}

/* Basic Pages */

.node-page  .content h2 {
	background-color: #BACEE6;
	margin: 0 0 1em -5px !important;
	padding: 2px 5px 1px 5px;
}


/* Mobile Devices *

@media (max-device-width: 640px) { 
	html {
		-webkit-text-size-adjust: none; /* bad iOS behavior *
		}
	
	ul.megamenu-skin-hdtheme li.megamenu-parent {
		width: 100%;
		border-bottom: 1px solid #EEE;
	}
	ul.megamenu-skin-hdtheme li.megamenu-parent h2 a {
		font-size: 16px !important;
		padding: 12px;
	}
	.block-search form {
		padding: 9px 0 9px 0;
		border-top: 6px solid #002C47;
		border-bottom: 6px solid #002C47;
	}
	div.view-slider {
		padding-left: 30px;
		width: 232px;
	}
	.jcarousel-skin-tango .jcarousel-clip-horizontal {
		width: 180px !important;
	}
}
*/

#edit-idea-counter, #edit-question-counter {
    font-size:11px;
    font-style:italic;
}


/**  Hide unneeded Attestation if author see story 70  Sep 2012  SRH **/
.hidden {
	display:none;
}

.idea-error {
    color:#FF0000;
}


/** Remove tabs from node pages **/
.node-type-ckan-package .tabs {
	display:none; 
}

.node-type-ckan-package .action-links {
	display:none; 
}

.node-type-ckan-package .block-workbench {
	display:none;  
}


/* ***************** Moderation display control css -- only allow change of state from one location, NOT in the table (we need to test for attestation -- centralize this) */
.views-field-moderation-actions {
	display:none;
}


/* Update for story 108 -- make the edit link stand out */
.hdworkflowid .ckan_value a {
	font:normal 14pt arial;
	color:red;
	border:1px solid black;
	}

#edit-sub-agency {
    width: 100%;
}

/*  comments 
---------------*/
#comments {
  margin-top: 0;
}

#comments .form, .page-comment-reply #comment-form {
  margin-top: 20px;
  padding: 0 15px;
}

#comments h1.title, #comments h2.title {
  font-size: 24px;
  margin-bottom: 10px;
}

#comments .node h2.title {
  padding: 0;
  border-bottom: none;
}

#comments .comment {
  margin-top: 20px;
}

#comments .comment .content {
  clear: none;
  padding: 10px 15px;
  /* margin-left: 60px; */
}

#comments .comment h3.title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 21px;
}

#comments .comment .links {
  float: right;
  /*width: 200px;*/
  text-align: right;
  margin-top: 0;
}

#comments .comment .links li {
  padding: 0 0 0 5px;
}

#comments .comment .author {
  padding-right: 10px;
}

#comments .comment {
  margin-top: 20px;
}

#comments .comment .field-name-comment-body {
	margin-top: 5px;
}

#comments .indented {
  margin-left: 0;
}

#comments .indented .indented {
  margin-left: 25px;
}

#comments .indented .comment {
  padding-left: 25px;
}

#comments .comment .user-picture  {
  float: left;
  padding: 5px;
  line-height: 0;
  width: 40px;
  display: none;
}

#comments .comment .user-picture img {
  width: 40px;	
  height: 40px;
}

#comments .comment-unpublished, .comment-preview {
  background-color: transparent;
}

#comments #comment-form { 
  padding-bottom: 20px; /* set padding when preview */
}

#comments .form-text, .section-comment .form-text,
#comments .form-textarea, .section-comment .form-textarea {
  font-family: Arial,Helvetica,sans-serif;
  font-size: 12px;
}

#comments .form-text {
  width: 99.7%;
  height: 20px;
}

#comments .captcha {
  margin-bottom: 10px;
  padding: 10px;
}
