/* clearfix_2
*****************/

.clearfix_2:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
  }
* html .clearfix_2             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix_2 { zoom: 1; } /* IE7 */

/*
 * Page Grids
 */
@media (min-width: 974px) {
  body.not-front .container-12 .grid-8 {
    width: 645px;
  }
  body.not-front .container-12 .grid-4 {
    width: 275px;
  }
}

/* General SFGov Styles
*****************/
body {
  font-family: sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a:link,
a:visited,
h3 a,
h3 a:link,
h3 a:visited,
.front h4 a,
.front h4 a:visited,
.view-id-resources .view-content h4 a,
.view-id-resources .view-content h4 a:visited,
.footer-nav li li a,
.footer-nav li li a:visited {
  color: #357FB8;
  text-decoration: none;
}

.front .zone-preface h4 a,
.front .zone-preface h4 a:visited {
  font-size: 15px;
  line-height: 1.2em;
  letter-spacing: 0;
}
.front .zone-preface h4 {
  margin: 0 0 5px;
}

.front .zone-preface .views-row {
  margin-bottom: 20px;
}
.front .zone-preface .view-press-releases .views-row {
  padding-bottom: 20px;
}

.front .views-field-entity-id-2 {
  display: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

hr {
  margin: 0;
  padding: 0;
  border: none;
  height: 1px;
  background: #5294c1;
}

p, dl, hr, h1, h2, h3, h4, h5, h6, ol,
ul, pre, table, address, fieldset {
  margin-bottom: 1.5em;
}

h1 {
  font-size: 2.3333333em; /* 28/12*/
}

h2, .block .content h2 {
  font-size: 1.5em; /* 18/12*/
  font-weight: bold;
  font-style: normal;
  color: #000;
}


h3 {
  font-size: 1.33333em; /* 16/12*/
  text-transform: none;
  margin-bottom: .75em;
}

h4 {
  font-size: 1.0833333em; /* 13/12*/
}

h5 {
  font-size: 1em; /* 12/12*/
  color: #000;
}

h6 {
  font-size: 1em; /* 12/12*/
  font-weight: bold;
  color: #000;
}

ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

ul ul,
ol ol {
  padding-top: 0.5em;
}

dt {
  font-size: 1em; /* 18/12*/
  margin: 0;
  font-weight: bold;
}

dd {
  padding-left: 10px;
  font-size: 1em;
  font-style: italic;
  margin-bottom: 1.5em;
}

/* remove general blockquote style */
blockquote {
  background: transparent;
  font-style: inherit;
  margin: auto;
  padding: inherit;
  line-space: inherit;
  font-size: inherit;
  /* to match p */
  color: #666;
}

blockquote p {
  margin-bottom: 0;
}

caption {
  display: none;
}

address {
  font-style: italic;
}

/* PAGE STRUCTURE & CONTENT STYLES: GENERAL ---------------------------------
   -------------------------------------------------------------------------*/

body {
  background: #f0f0f0;
  border-top: 3px solid #2ba1d1;
}

.more-link a,
a.sf-nav-more,
a.sf-nav-less,
a.sf-list-more,
a.sf-list-less,
a.sf-nav-more-7,
a.sf-nav-less-7,
a.sf-nav-more-6,
a.sf-nav-less-6,
a.sf-social-more,
a.sf-social-less,
#bos-return-link p a,
.block-nodeblock .field-name-field-editors-choice-link a,
.custom-more-link a {
  padding: 0 17px 0 0;
  font-size: .916666em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: bolder;
}

.more-link a:hover,
a.sf-nav-more:hover,
a.sf-nav-less:hover
a.sf-list-more:hover,
a.sf-list-less:hover,
a.sf-nav-more-7:hover,
a.sf-nav-less-7:hover,
a.sf-nav-more-6:hover,
a.sf-nav-less-6:hover,
a.sf-social-more:hover,
a.sf-social-less:hover
{
  text-decoration: none;
}

a.sf-nav-more,
a.sf-nav-less ,
a.sf-list-more,
a.sf-list-less,
a.sf-nav-more-7,
a.sf-nav-less-7,
a.sf-nav-more-6,
a.sf-nav-less-6,
a.sf-social-more,
a.sf-social-less
{
    margin-top: 5px;
}

a.sf-nav-more, a.sf-list-more,a.sf-nav-more-7,a.sf-nav-more-6,a.sf-social-more {
  background-position: 100% -24px;
}

a.sf-nav-less ,a.sf-list-less, a.sf-nav-less-7, a.sf-nav-less-6,a.sf-social-less{
  background-position: 100% -48px;
}

#page {
  background: url(../images/mainbackgroundv2.jpg) no-repeat 8% 0;
}

.zone-postscript {
  background: #fff;
  -webkit-border-radius: 0px 0px 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -o-border-radius: 0 0 10px 10px;
  border-radius: 0px 0px 10px 10px;
  padding-top: 0;
  padding-botom: 0;
}

h1#page-title {
  margin: 0 0 15px;
}

@media only screen
and (max-width : 600px) {
  #region-page-top {
    display: none;
  }
}

#region-postscript-first {
  width: 100%;
  border-top: 1px #ebebeb solid;
  padding: 10px 0 0;
  margin: 0;
}

#region-postscript-first .block {
  background-image: none;
  text-align: center;
  border-top: 0px none;
}

#region-postscript-first #block-block-3 {
  padding: 0;
}

#region-postscript-first #block-block-3 p {
  margin-bottom: 0;
}

/* PAGE STRUCTURE & CONTENT STYLES: SITE HEADER ----------------------- */

#sfa, #sfa span,
#sfm, #sfm span {
  z-index: 10000;
}

.branding-data {
  position: relative;
  max-width: 500px;
  margin: auto;
}

.site-name-slogan {
  clear: left;
}

.site-name-slogan p.site-name {
  background: url(../images/ccsf.png) no-repeat;
  padding-top: 17px;
  font-size: 2.5em; /* 30/12*/
  letter-spacing: 0;
  letter-spacing: normal;
  font-weight: bold;
  min-width: 300px;
}
@media (max-width: 600px) {
  .site-name-slogan p.site-name {
    background: url(../images/ccsf-mobile.png) no-repeat top center;
    margin-top: 20px;
    padding: 20px 0;
  }
  .site-name-slogan .site-name a {
    font-weight: bold;
    text-shadow: none;
    color: #357FB8;
  }
}

@media (min-width: 600px) {
.site-name-slogan .site-name a {
  color: white;
  text-shadow: 2px 2px 3px #000;
  font-size: 0.9em; 
  width: 970px;
}
}

.site-name {
  margin-top: 10px;
}

#region-branding {
  padding-top: 0;
  padding-bottom: 20px;
}

@media (min-width: 600px) and (max-width: 1446px) {
#region-branding {
 /* margin-top: -60px;*/
}
}


/* branding media queries ----------------------
   --------------------------------------------- */

@media only screen
and (max-width : 600px) {
#region-branding {
  padding-top: 70px;
}
.logo-img {
  display: none;
}
}

/* PAGE STRUCTURE & CONTENT STYLES: SEARCH --------------------------------- */

#region-branding form .form-text {
  padding: 2px 3.42465%;
  height: 25px;
/*  width: 684px;*/
  background-image: none;
  background: -moz-linear-gradient(top,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 20%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.25)), color-stop(20%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 20%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 20%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 20%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 20%); /* W3C */
  margin: 0;
  color: #666;
  font-style: normal;
}
#region-branding form div {
  display: inline;
  vertical-align: top;
}
#region-branding .block {
  margin: auto;
  border: none;
}

#region-branding #block-opensf-search-search-block,
#region-branding #block-views-exp-opensf-search-site-page {
  padding: 10px 0 0 10px;
  background: transparent;
}
#region-branding #block-opensf-search-search-block .form-text,
#region-branding #block-views-exp-opensf-search-site-page .form-text {
  width: 60%;
}
@media (max-width: 352px) {
#region-branding #block-opensf-search-search-block .form-text,
#region-branding #block-views-exp-opensf-search-site-page .form-text {
  width: 50%;
}
}
#views-exposed-form-opensf-search-site-page {
  width: 100%;
  margin: auto;
  text-align: center;
}

#region-branding .views-exposed-form .views-exposed-widget {
  float: none;
  padding: 0px;
}

.block-search-form .content {
  border: 1px solid #D1D1D1;
  background: #fff;
  margin: 10px 0 0 0;
  padding: 0;
  width: 96%;
}

#region-branding form input.form-submit {
  vertical-align: bottom;
  color: #000;
  font-size: 1em;
  border: 0px none;
  width: 100px;
  height: 32px;
  padding: 0 1.71232%;
  margin: 0;
  background: rgb(242,242,242); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(242,242,242,1) 0%, rgba(209,209,209,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,242,242,1)), color-stop(100%,rgba(209,209,209,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(209,209,209,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(209,209,209,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(209,209,209,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(242,242,242,1) 0%,rgba(209,209,209,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#d1d1d1',GradientType=0 ); /* IE6-9 */
  text-transform: uppercase;
}

/* search page adjustments */
#region-content #views-exposed-form-blogs-page-1,
#region-content #views-exposed-form-press-releases-page-1,
#region-content #views-exposed-form-opensf-search-site-page {
  background: #f3f3f3;
  -webkit-border-radius: 10px;
  -moz-border-radius:  10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  padding: 5px 15px;
  margin-bottom: 20px;
}

#views-exposed-form-opensf-search-site-page .form-type-texfield,
#region-content #edit-search-api-views-fulltext-wrapper input,
#region-content #edit-search-api-views-fulltext-wrapper {
  width: 99%;
}

#region-content #edit-submit-opensf-search-site {
  /* missing label so adjust down */
  margin-top: 2.6em;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
/* IE10-specific styles go here */
#region-content #edit-submit-opensf-search-site {
  /* missing label so adjust down */
  margin-top: 2.1em;
}
#edit-submit-blogs,
#edit-submit-press-releases {
  margin-top: 30px;
}
}

/* search results */
.view-opensf-search-site .views-row .views-field-title {
  font-size: 14px;
}
.view-opensf-search-site .views-row .views-field-url-1 a {
  color: #008800;
}
.view-opensf-search-site .views-row {
  border: none;
}


#region-content .pager {
  border: none;
  background: none;
  border-radius: 0;
}

#region-content .pager li {
  width: auto;
  border: none;
}

#region-content .pager li a {
  background: none;
  color: #357FB8;
}

#region-content .pager li a:hover {
  color: #990000;
}

#region-content .pager li.pager-current {
  background: none;
  color: #990000;
}

#region-content .pager li.pager-first a,
#region-content .pager li.pager-previous a,
#region-content .pager li.pager-next a,
#region-content .pager li.pager-last a {
  width: auto;
  padding-right: 12px;
}

@media only screen
and (max-width : 600px) {

#section-header .block-search-form {
    position: relative;
  width: 100%; /*565px*/
  display: block;
  top: auto;
  right: auto;
  margin-top: 20px;
}

.block-search-form .content {
  border: 1px solid #D1D1D1;
  width: 100%;
}

.page form#search-block-form .form-text {
  padding: 1px 1.76991%; /*10/565*/
  width: 66.35%; /*400-10x2-2x2=378/565*/
  border: 0 none;
}

.page form#search-block-form input.form-submit {
  padding: 2px 1.76991%; /*10/565*/
  width: 29.55752%; /*188-10x2-1x1=167/565*/
}

}

/* PAGE STRUCTURE & CONTENT STYLES: MAIN NAVIGATION -------------------------------- */

.navigation {
  background: #fff;
  padding: 10px;
  z-index: 10000;
}

@media only screen and (min-width: 769px) {
  .navigation {
    -webkit-border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    -o-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
  }
}

.navigation li a {
  padding-right: 13px;
  padding-left: 13px;
}

.navigation ul.menu {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #D1D1D1;
  font-weight: bold;
}

@media (max-width: 768px ) {
  .navigation ul.menu li ul {
    box-shadow: none;
    background-color: #eee;
  }

  .navigation ul.menu li ul,
  .navigation ul.menu li:hover ul {
    width: 100%;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .navigation ul.menu li:hover ul {
    -webkit-box-shadow: 0 3px 10px rgba(0,0,0,.8);
    -moz-box-shadow: 0 3px 10px rgba(0,0,0,.8);
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
  }

  .navigation ul.menu li ul li.last,
  .navigation ul.menu li:hover ul li.last {
    border-bottom: 0;
  }

  .navigation ul.menu li:hover ul li a {
    border-bottom: 0;
  }
/*
  .navigation > ul.menu > li.first > a.active {
//    border: none;
  }
*/

  .navigation li.active-trail ul {
    width: auto !important;
  }
  .navigation ul.menu li ul li a {
    border-bottom: none;
  }
}

.navigation ul.menu li a {
  color: #373737;
  text-shadow: 1px 1px 1px #fff;
}

.navigation ul.menu li ul li {
  font-weight: normal;
  font-size: .8666em; /*13/15*/
  line-height: 1.2em;
}

.navigation ul.menu li ul li a {
  background: #f2f2f2; /* Old browsers */
  background: -moz-linear-gradient(top, #f2f2f2 0%, #ececec 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* Opera11.10+ */
  background: -ms-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* IE10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ececec',GradientType=0 ); /* IE6-9 */
  background: linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* W3C */
  text-shadow: none;
  border-bottom: 5px solid white;
}

.navigation ul.menu li ul li.last a {
  border-bottom: none;
}

.navigation > ul.menu > li.first > a,
.navigation > ul.menu > li.first > a.active {
  text-indent: -9999px;
  border-right: 0px none;
  border-left: 0px none;
  display: block;
  width: 1px;
  padding-left: 50px;
  padding-right: 0px;
}

.navigation ul.menu li ul li a:hover {
  background: rgb(112,182,234); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(112,182,234,1) 0%, rgba(36,89,150,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(112,182,234,1)), color-stop(100%,rgba(36,89,150,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70b6ea', endColorstr='#245996',GradientType=0 ); /* IE6-9 */
}

.navigation li.active-trail a,
.navigation li a.active,
.navigation li a:hover,
.navigation li a:focus,
.navigation ul li:hover a {
  padding-right: 13px;
  padding-left: 13px;
  border-left: none 0;
  border-right: none 0;
}

.navigation li.active-trail ul li a.active {
  background-image: none;
  background-color: #d2d2d2;
  color: #373737;
}

#block-opensf-overrides-header-lite-full {
  padding: 20px 0 0 0;
  background: transparent;
}

#lite-full-links {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

#lite-full-links a {
  padding: 8px 10px 5px;
  color: #357FB8;
  margin: 0 14px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

#lite-full-links a:hover,
#lite-full-links a.active {
  background-color: #357FB8;
  color: white;
  text-decoration: none;
}

@media (min-width: 601px) {
  #block-opensf-overrides-header-lite-full {
    display: none;
  }
}

/* adjust for mobile */
@media (max-width: 600px) {

  #page {
    background: #eee;
  }

  .site-name-slogan,
  .site-name a {
    color: #357FB8;
  }

  .navigation ul.menu {
    border-radium: 0px;
    background: #fff;
    border-bottom: none;
  }
  .navigation ul.menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #d1d1d1;
  }
  .navigation > ul.menu > li.first > a,
  .navigation > ul.menu > li.first > a.active {
    text-indent: 0;
    background: none;
    width: auto;
    padding-left: 0;
  }
  .navigation > ul.menu > li.first > a:hover,
  .navigation > ul.menu > li.first > a.active:hover,
  .navigation li.active-trail a, .navigation li a.active, .navigation li a:hover, .navigation li a:focus, .navigation ul li:hover a {
    background: #f2f2f2; /* Old browsers */
    background: -moz-linear-gradient(top, #f2f2f2 0%, #ececec 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ececec',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #f2f2f2 0%,#ececec 100%); /* W3C */
  }
}

/* PAGE STRUCTURE & CONTENT STYLES: DEPARTMENT FOOTER ---------------------------  */

.zone-postscript h2 {
  display: none;
}

#zone-postscript-wrapper .block {
  margin: 0;
  padding: 5px 0;
  background: #fff;
}

#zone-postscript-wrapper p {
  font-size:1em; /*12/12*/
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
}

#sf311 {
  display: inline-block;
  margin: 0 5px;
  width: 19px;
  height: 19px;
  text-indent: -9999px;
}

/* PAGE STRUCTURE & CONTENT STYLES: PAGE FOOTER ---------------------------  */

.footer-nav {
  font-size: .9166666em; /*11/12*/
}

.footer-nav ul {
  width: 100%;
  padding: 0;
  margin: 0;
}

.page .footer-nav ul.menu li {
  float: none;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,200, 200, .5);
}

.page .footer-nav ul.menu li li {
  float: left;
  margin: 0 5px 0 0;
  padding-bottom: 0;
  border-bottom: 0 none;
}

.page .footer-nav ul.menu li li a {
  color: #357FB8;
}

.page .footer-nav ul.menu li li a:hover,
.page .footer-nav ul.menu li li a:active,
.page .footer-nav ul.menu li li a:focus {
  text-decoration: underline;
  color: #000;
}

.page .footer-nav ul.menu li li:after {
  content: "\00A0 \00A0 \2223";
}

.page .footer-nav ul.menu li li:last-child:after {
  content: normal;
}

.footer-nav li a {
  color: #373737;
  text-shadow: none;
}

.region-footer-first .address-location {
  padding-top: 70px;
  font-size: .85em;
}

#region-page-bottom {
  width: 100%;
  height: 200px;
  -webkit-box-shadow: inset 0px 4px 1px 1px rgba(0, 0, 0, .1);
  box-shadow: inset 0px 4px 1px 1px rgba(0, 0, 0, .1);
  margin-top: 30px;
}

.footer-nav ul.menu li.first a {
  display: block;
  height: 18px;
  width: 18px;
  text-indent: -999999px;
}

.footer-nav ul.menu li.expanded li {
  width: auto;
  overflow: visible;
}

.footer-nav ul.menu li.expanded li a {
  display: inline;
  height: auto;
  width: auto;
  text-indent: inherit;
  background-image: none;
}


/* Desktops and laptops ----------- */

/* HOMEPAGE STRUCTURE & CONTENT STYLES: GENERAL ---------------------------------
   -----------------------------------------------------------------------------*/
@media only screen
and (min-width : 980px) {

.view-blogs,
.view-resources,
.upper-col  {
/*   min-height: 600px; */
}
}

.front #zone-header h2 {
  display: none;
}

#homeslider+p, #subslider+p  {
  display: none;
}

.front .zone-header {
  padding-bottom: 0;
}

.front .zone-preface {
  padding-top: 5px;
  font-family: sans-serif;
}

.front .zone-preface h2,
.front .zone-preface h3,
.front .zone-preface h4 {
  font-family: sans-serif;
}

.front .zone-preface .view-id-blogs .view-content .date-tag .date {
  font-weight: bold;
}

.front .view-id-blogs .views-field-entity-id, .block-views-press-releases-block-1 .views-field-entity-id {
  color: #333;
}

.date-tag {
  font-weight: bold;
  margin: 0;
}

.colwrapper h4 {
  margin-bottom: 10px;
  clear: left;
}

.colwrapper img {
  padding-right: 10px;
  padding-bottom: 10px;
}

.colwrapper article {
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
  clear: left;
}

.page .block h2.block-title,
.page .block-boxes-twitter .content h2,
.block-twitter-pull .content h2,
.sf_home .block-twitter-pull .content h2,
.custom-tabs h2.col-title,
.subpage h2.col-title,
#page .left-column h2,
#page .right-column h2 {
  color: #333;
  font-weight: normal;
  padding: 10px 0 15px 2px;
  font-style: normal;
  text-transform: uppercase;
  font-family: sans-serif;
}

#page h1,
#page h2,
#page h3,
#page h4,
#page-title {
  font-family: sans-serif;
}

.block-boxes-twitter .content h2,
.block-twitter-pull .content h2,
.sf_home .block-twitter-pull .content h2 {
  padding: 10px 0 0;
}

.block-boxes-twitter li a,
.tweets-pulled-listing li a,
.block-twitter-pull a {
  color: #357FB8;
}

.tweet-wrapper {
  padding: 10px;
}
.block-boxes-twitter .tweet-screenname,
.block-twitter-pull .tweet-screenname {
  font-weight: bold;
}
.block-boxes-twitter .tweet-screenname a,
.block-twitter-pull .tweet-screenname a {
  font-size: 12px;
}
.block-boxes-twitter .tweet-authorphoto,
.block-boxes-twitter .tweet-text,
.block-twitter-pull .tweet-authorphoto,
.block-twitter-pull .tweet-text {
  display: table-cell;
}
.block-boxes-twitter .tweet-time,
.block-twitter-pull .tweet-time {
  font-size: 9px;
}

div.tweets-pulled-listing li div.tweet-authorphoto {
  margin: 0 10px 0 0;
}

.node-editors-choice .field-name-field-editors-choice-summary {
  border-bottom: 1px solid #efefef;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.node-editors-choice .field-name-field-editors-choice-summary p {
  margin-bottom: 0.8em;
  line-height: 1.2em;
}

.node-editors-choice .field-name-field-editors-choice-thumbnail,
.node-editors-choice .field-name-field-editors-choice-thumbnail img {
  margin-left: 0;
  margin-bottom: 1em;
}

/* Department Home pages  */

.home-col {
  margin: 0;
  padding: 0;
}

.home-col h3 {
  margin-bottom: .5em;
}

.home-col img {
  float: left;
  border: 1px solid #ccc;
  margin: 4px 1em 1em 0;
}

.home-col article {
  border-bottom: 1px solid #ccc;
  margin-bottom: 0;
}

.home-col .home-features p,
.home-col ul.home-col-links li {
  margin-left: 110px;
}

.home-col ul.home-col-links {
  margin-top: 0;
}

.home-col article.home-features {
  margin-bottom: 1em;
}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: BLOCK LINKS --------------------------  */

.home-col ul {
  border-bottom: 1px solid #ccc;
  margin-bottom: 0;
}

.home-col ul.sf-collap {
  border-bottom: 0;
  margin-bottom: 0;
}

.home-col ul.sf-collap li:last-child {
  padding-top: .75em;
  border-top: 1px solid #ccc;
}

ul.sf-collap,
ul.sf-collap-7,
ul.sf-collap-6,
.home-col ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

ul.sf-collap li,
ul.sf-collap-7 li,
ul.sf-collap-6 li,
.home-col ul li {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
}



/* HOMEPAGE STRUCTURE & CONTENT STYLES: SLIDESHOW --------------------------  */

.block-home-slideshow  {
  display: none;
}

@media only screen
and (min-width : 600px) {

.block-home-slideshow  {
  display: block;
}

}

#homeslider, #subslider  {
  width:100%;
  background-image: none;
  background: rgb(112,182,234); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(112,182,234,1) 0%, rgba(36,89,150,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(112,182,234,1)), color-stop(100%,rgba(36,89,150,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(112,182,234,1) 0%,rgba(36,89,150,1) 100%); /* W3C */
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70b6ea', endColorstr='#245996',GradientType=0 );*/ /* IE6-9 */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 0 none;
  -webkit-box-shadow: inset 0px 1px 1px 2px rgba(36, 89, 150, .7);
    box-shadow: inset 0px 1px 1px 2px rgba(36, 89, 150, .7);
  position:relative;
}

#homeslider ul, #homeslider li,#subslider ul, #subslider li{
  margin:0;
  padding:0;
}

#homeslider .flex-photo {
  margin:1% 1% 1% 0;
  float:right;
  width:68%;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #fff;
}

#subslider .flex-photo {
  margin:1% 1% 1% 0;
  float:right;
  width:97%;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #fff;
}

#homeslider .flex-caption {
  float:left;
  width:30%;
  text-align:center;
  padding:1% 0 0;
  position:relative;
  margin-top:3%;
  background:none;
}

#homeslider .flex-caption a {
  color:#fff;
  text-decoration: none;
}

.page #homeslider .flex-caption p.intro {
  font-size:1.6em;
  text-shadow: -1px -1px 1px #255a96;
  font-weight:bold;
  line-height: 1.3;
  padding-left: 10px;
}

#subslider .flex-caption {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #FFFFFF;
    font-size: 8px;
    left: 0;
    line-height: 2px;
    margin: 0;
    padding: 2%;
  padding-top: 3%;
  padding-bottom: 1%;
  padding-left: 2%;
  padding-right: 2%;
    position: absolute;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    width: 96%;
}

#subslider .flex-caption a {
  color:#fff;
  text-decoration: none;
}

.page #subslider .flex-caption p.intro {
  font-size:2em;
  text-shadow: -1px -1px 1px #255a96;
  font-weight:bold;
  margin-bottom: 10px;
}

#homeslider .flex-caption p.read-more  {
  font-size: .875em;
  text-transform: uppercase;
}

#homeslider .numbers {
  position:absolute;
  width: 30%;
  bottom:5%;
  padding-top: 8%;
}

#subslider .numbers {
  position:absolute;
  bottom:2px;
  right: 2px;
}

#subslider .controls {
  margin:0;
  display:table;
}

#homeslider .controls {margin:0 auto;display:table;}
#homeslider .flex-control-nav, #homeslider .controls .flex-pauseplay, #homeslider .controls .flex-pauseplay,#subslider .flex-control-nav, #subslider .controls .flex-pauseplay, #subslider .controls .flex-pauseplay{display:inline-block;float:left;}
#homeslider .flex-control-nav,#subslider .flex-control-nav{position:static;width:auto;vertical-align:top;}
#homeslider .controls li a,#subslider .controls li a{}
#homeslider .controls li a:hover,#subslider .controls li a:hover{background-position:-79px 0;}
#homeslider .controls li a.flex-active,#homeslider .controls li a.flex-active:hover,#subslider .controls li a.flex-active,#subslider .controls li a.flex-active:hover{background-position:-37px 0;}
#homeslider .controls .flex-pauseplay a,#subslider .controls .flex-pauseplay a{display:inline-block;}
#homeslider .controls li a,#homeslider .controls .flex-pauseplay a,#subslider .controls li a,#subslider .controls .flex-pauseplay a{width:18px;height:18px;margin:0 3px;}
#homeslider .controls .flex-pauseplay .flex-pause,#subslider .controls .flex-pauseplay .flex-pause{}
#homeslider .controls .flex-pauseplay .flex-play,#subslider .controls .flex-pauseplay .flex-play{}
.front #region-header-first .block{background:none;border:0;padding:0}
.front #region-header-first { margin-bottom: 0px; }


/* homepage slideshow media queries ----------- */

@media only screen
and (max-width : 600px) {

#homeslider, #subslider {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding-bottom: 10%;
}

#homeslider .flex-photo, #subslider .flex-photo {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0px;
  width: 98%;
  margin: 10px 1%;
}

.flexslider .slides img {
  width: 100%;
}

#homeslider .numbers {
  padding-top: 40px;
  background: none;
  width: 100%;
  clear: both;
}

#homeslider .flex-caption {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

#home-top-numbers .home_pause a,
#home-top-numbers .home_pause a:visited {

}

#home-top-numbers .home_pause a:hover,
#home-top-numbers .home_pause a:active {

}

#home-top-numbers .home_resume a,
#home-top-numbers .home_resume a:visited {

}

#home-top-numbers .home_resume a:hover,
#home-top-numbers .home_resume a:active {

}

}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: SERVICES CAROUSEL --------------------------- */

#homecarousel {
  display: none;
}

.zone-header {
  padding-top: 0px;
}

@media only screen
and (min-width : 600px) {

  #homecarousel {
    display: block;
    border:0;
    padding:0 67px;
  }
}

#homecarousel .flex-viewport {
  background:#fff;
  border-top: #ccc 1px solid;
  border-bottom: #ccc 1px solid;
}

#homecarousel ul {
  padding-left: 0;
}

.flex-direction-nav .flex-disabled {
  opacity: 1;
  filter: none;
}

#homecarousel .flex-direction-nav li a {
  width:67px;
  margin:0;
  top:0;
  height:143px;
}

#homecarousel .flex-caption {
  background:#F2F2F2;
  padding: 5px 0;
  text-align:center;
  position:relative;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  font-size: 1em;
  line-height: 1;
  width: 197px;
}

#homecarousel .flex-caption a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  outline: none;
  text-shadow: none;
}

#homecarousel .flex-direction-nav .flex-prev {
  left:0;

}

#homecarousel .flex-direction-nav .flex-next {
  right:0;
 }

#homecarousel .slides li {
  padding:0;
  margin:0 6px 0 0;
  width: 197px;
}

.front #region-header-second .block {
  background: none;
  border: 0;
  padding: 0;
}

.front #region-header-second {
  display: none;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
.front #region-header-second {
  display: block;
}
}

#homecarousel a.flex-photo img {
  height: 121px;
  width: 197px;
}

#homecarousel + p {
  display: none;
}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: TWITTER PULL ----------------------  */


.block-twitter-profile-widget,
#Widget-col .block-twitter-profile-widget {
  padding: 0;
  margin-bottom: 10px;
}

.region-preface-third .block-twitter-profile-widget .block-inner {
  min-height: 1px;
}

.page .block-twitter-profile-widget,
.page #Widget-col .block-twitter-profile-widget {
  display: none;
}

@media only screen
and (min-width : 600px) {
  .page .block-twitter-profile-widget,
  .page #Widget-col .block-twitter-profile-widget {
    display:block;
    border-top: 0px none;
    padding: 0 0 0;
  }
}

.page .block-twitter-profile-widget .block-inner,
.page #Widget-col .block-twitter-profile-widget .block-inner {
  background-color: #f2f2f2;
  border: 1px solid #d1d1d1;
  -webkit-border-radius: 6px;
    border-radius: 6px;
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
  min-height: 20px;
}

.content .twtr-widget,
#Widget-col .content .twtr-widget {
  width: 94%;
  margin: 5px 3% 10px;
}

.page .block-twitter-profile-widget .block-inner .element-invisible,
.page #Widget-col .block-twitter-profile-widget .block-inner .element-invisible {
  position: relative;
  clip: auto;
}

.block-twitter-profile-widget .block-inner h2 .tpw_title,
.sf_home .block-twitter-profile-widget h2 {
  background-image: none;
  border-bottom: 0px none;
  color: #373737;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 1px 1px 1px #fff;
  padding: 10px 0 5px 10px;
  margin-bottom: 0;
  display: block;
}

.block-twitter-pull .block-inner,
#Widget-col .block-twitter-pull .block-inner {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  background: #eee;
/*  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1); */
/*  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1); */
  border: 1px solid #d1d1d1;
  -webkit-border-radius: 6px;
}

.block-boxes-twitter .block-inner h2,
.block-twitter-pull .block-inner h2 {
  text-align: center;
}

.block-boxes-twitter ul.tweets-pulled-listing,
#Widget-col ul.tweets-pulled-listing {
  margin: 0 10px 10px;
  padding: 10px;
  background-color: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px
}

/*.twtr-hd,
#Widget-col .twtr-hd {
  display: none;
}

.twtr-ft div,
#Widget-col .twtr-ft div {
  display: none;
}*/

.page .block-twitter-profile-widget h2.block-title,
.sf_home .block-twitter-profile-widget h2.block-title {
  padding-bottom: 0;
  padding-top: 0;
  margin-bottom: 0;
}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: STAY CONNECTED ----------------------  */

.front .region-preface-third #block-follow-site .block-inner {
  min-height: 1px;
}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: GOOGLE TRANSLATION ----------------------  */

.front .region-preface-third #block-gtranslate-gtranslate .block-inner, #Widget-col .block-inner {
  min-height: 1px;
}

/* HOMEPAGE STRUCTURE & CONTENT STYLES: EVENTS ----------------------  */

.front .block-event-calendar-block-3 .block-inner {
  min-height: 1px;
}

.front .view-openpublic-calendar-view h4 a,
.front .view-openpublic-calendar-view h4 {
  font-size: inherit;
}

.front .views-field-field-event-dates {
  color: #999;
  font-weight: bold;
}

.front .block-3502 .block-inner {
  min-height: 1px;
}


/* SECONDARY PAGE STRUCTURE & CONTENT STYLES: GENERAL ------------------------
   -------------------------------------------------------------------------*/

ul.breadcrumb {
  margin-top: 20px;
  margin-left: 15px;
  font-size: .8333333em; /* 10/12 */
}

/* custom two-column pages ------------------------------------------------ */

#subslider {
  background-image: none;
  margin-bottom: 1em;
  border: 0;
  border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding-bottom: 0;

}

#subslider .flex-photo {
  margin: 0;
  width: 100%;
}

#subslider .read-more {
  display: none;
}

.sfgov-page-wrapper {
  margin-bottom: 1em;
}

.sfgov-page-wrapper ul,
.sfgov-page-wrapper li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sfgov-page-wrapper li {
  margin-bottom: .5em;
}

.left-column,
.right-column {
  padding: 0;
  margin: 0;
}

#featured img {
  float: left;
  margin: 0 10px 0 0;
  border: 1px solid #CCC;
  display: block;
}

#featured .article {
  border-bottom: 1px solid #E5E5E5;
  margin: 0 0 10px;
  padding: 0 0 15px;
}

#featured .article h3 {
  margin-bottom: .5em;
}

#featured .article p {
  margin-bottom: 0;
}

#key-services li,
.sub-page li {
  font-size: 1.3333em; /*16/12*/
  line-height: 1.3;
  margin-bottom: 1.25em;
}

@media only screen
and (min-width : 600px) {

  .left-column {
    float: left;
    width: 48%;
  }

  .right-column {
    float: right;
    width: 48%;
  }
}


/* SECONDARY PAGE: GENERAL SIDEBAR  ----------------------------- */

#right-nav  ul.menu {
  padding-bottom: 20px;
  list-style-type: none;
}

#right-nav ul.menu li {
  font-size: 1.1666666em; /*14/12*/
  font-style: normal;
  list-style: none;
  padding-left: 5px;
  margin-bottom: 5px;
}

#right-nav li a {
  font-style: normal;
  padding: 0;
}

#right-nav li a:hover,
#right-nav li.active a:hover,
#right-nav li.active-active a:hover {
  background-image: none;
  text-decoration: none;
  color: #357FB8;
}

#right-nav li.active a,
#right-nav li.active-trail a {
  background-image: none;
  background-color: transparent;
}

.view-most-popular-content .views-field {
  font-size: 1.3333333em; /*16/12*/
  font-style: normal;
}

#right-nav li.active a,
#right-nav li.active-trail a {
  background-image: none;
}

#right-nav .menu li.expanded {
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
  background-color: #fff;
  padding-top: 5px;
}

#right-nav .menu li.expanded ul {
  margin: 10px 0 15px 7px;
  padding-bottom: 0;
  background-color: #fff;
  border-top: 0 none;
}

#right-nav .menu li.expanded li {
  font-size: .8571428em; /*12/14*/
}

#right-nav .menu li.expanded ul ul {
  margin-top: 5px;
}

#right-nav .menu li.expanded li {
  border-top: 0 none;
  border-bottom: 0 none;
  padding-top: 0;
  line-height: 1.4em;
  margin-bottom: .75em;

}

#right-nav .menu li.expanded a {
  padding: 0 15px 0 5px;
  display: inline;
  font-weight: bold;
}

#right-nav .menu li.expanded ul li a {
  background: none;
  padding: 0 15px 0 0;
  font-weight: normal;
}

#right-nav .menu li.expanded ul li a.active,
#right-nav .menu a.active {
  font-weight: bold;
}



/* SECONDARY PAGE: SIDEBAR - STAY CONNECTED  ------------------- */

#stay-connected,
#Widget-col #stay-connected {
  background-color: #f2f2f2;
  border: 1px solid #d1d1d1;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
}

.block.block-boxes-twitter .block-inner h2.block-title,
.page #stay-connected h3,
.page #Widget-col #stay-connected h3 {
  border-bottom: 0px none;
  color: #373737;
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 1px 1px 1px #fff;
  padding: 15px 0 10px 10px;
  margin-bottom: 0;
  float: none;
  text-align: left;
}

.page #stay-connected ul,
.page #Widget-col #stay-connected ul {
  background: #fff;
  -webkit-border-radius: 4px;
    border-radius: 4px;
  margin: 0 auto 1em;
  padding: .5em .5em 1em;
  float: none;
  max-width: 90%;
}

#stay-connected li,
#Widget-col #stay-connected li,
#content .connect-block li {
  margin: 8px 0 0;
  text-align: left;
}

.page #stay-connected li a,
.page #Widget-col #stay-connected li a {
  margin: 0 0 0 7px;
}

/* SIDEBAR - GOOGLE TRANSLATE ------------------  */

.block-gtranslate {
  display: none;
}

@media only screen
and (min-width : 601px) {
.block-gtranslate {
  display: block;
}
}

@media only screen
and (min-width : 768px)
and (max-width : 900px) {
  .goog-te-gadget-icon {
    background-image: url("https://translate.googleapis.com/translate_static/img/te_ctrl3.gif");
    background-position: -65px 0;
    margin: 2px 0 0 3px;
  }
  .goog-te-gadget-simple {
    width: 158px;
  }
  .goog-te-gadget-simple img.goog-te-gadget-icon {
    display: block;
    float: left;
  }
  .goog-te-menu-value {
    float: right;
  }
}

.page .block-gtranslate,
.page #Widget-col .block-gtranslate {
  text-align: center;
  background-color: #f2f2f2;
  background-image: none;
  border: 1px solid #d1d1d1;
  -webkit-border-radius: 6px;
    border-radius: 6px;
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
  margin: 10px 0 20px;
  padding: 15px 0 10px;
}

.page .block-gtranslate .block-inner,
.page #Widget-col .block-gtranslate .block-inner {
  background: #fff;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin: 0 auto 5px;
  padding: 10px 0;
  width: 90%;
}

.block-gtranslate .block-inner .content,
#Widget-col .block-gtranslate .block-inner .content {
  width: 90%;
  margin: 0 auto;
}

.page .block-gtranslate .block-title,
.page #Widget-col .block-gtranslate .block-title {
  display:none;
}

.goog-te-gadget,
.goog-te-gadget {
  font-size: .6875em;
}

a.goog-te-menu-value:hover,
a.goog-te-menu-value:active,
a.goog-te-menu-value:focus {
  text-decoration: none;
}

/* SIDEBAR - ADD THIS --------------------------  */

.page .block-addthis {
  position: static;
}

#block-addthis-addthis {
  background-color: #f2f2f2;
  background-image: none;
  border: 1px solid #d1d1d1;
  -webkit-border-radius: 6px;
    border-radius: 6px;
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 1);
  padding: 18px 0 10px;
}

@media (min-width: 601px) {
  .block-addthis img,
  .block-addthis {
    display: block;
    visibility: visible;
  }
}

.block-addthis .block-inner {
  background: #fff;
  -webkit-border-radius: 4px;
    border-radius: 4px;
  margin: 0 auto 10px;
  padding: 7px 0;
  width: 90%;
}

#block-addthis-addthis a {
  display: block;
  text-align: center;
}

#block-addthis-addthis a img {
  margin: 0 auto;
}



/* BLOCK STYLES - GENERAL ----------------------
   --------------------------------------------- */

.block {
}


/* BLOCK STYLES - LATEST NEWS (BLOG) ----------------
   ---------------------------------------------------------- */

.block-blogs-block-2 .date {
  font-size: .9166666em; /* 11/12 */
}

.block-blogs-block-2 h3 {
  font-size: 1.333333em; /* 16/12 */
  line-height: 1.2;
  margin-bottom: .25em;
  font-family: inherit;
}

/* BLOCK STYLES - FEATURED (RESOURCES) ----------------
   ---------------------------------------------------------- */

.block-resources-block-1 p.views-field-entity-id {
  font-size: 1em; /*12/12*/
  color: #333;
}

.view-id-resources .view-content h3,
.custom-tabs h3 {
  font-size: 1.333333em; /* 16/12 */
  line-height: 1.2;
  margin-bottom: .75em;
  font-family: inherit;
}

/* BLOCK STYLES - HIDDEN ITEMS -----------------
   --------------------------------------------- */

#footer-subscribe {
  display: none;
}

#zone-user-wrapper {
  display: none;
}

#footer-logo-subscribe {
  display: none;
}

.zone-footer {
  background-image: none;
}

.captcha{text-align:left;border:1px solid #ddd}


/* Fixed font elements removed from global.css
   ------------------------------------------------ */

/*
 * Font styles
 */
.front .view-id-blogs .views-field-entity-id,
.block-views-press-releases-block-1 .views-field-entity-id {
  font-size: 1em; /*12/12*/
}

h1#page-title {
  font-size: 2em; /*24/12*/
}
.view-id-blogs .view-content .date-tag .date,
.views-field-created {
  margin-top: 0;
}
.view-id-blogs .view-content .date-tag .date {
  font-size: 1em;
}

.front .block-views .views-field-entity-id,
.front .views-field-body .field-content {
  color: #666;
}

/*

 * Breaking news
 */

.breaking-news span.read-more {
  font-size: 1.25em; /*15/12*/
}

/*
 * Twitter Pull
 */
.tweets-pulled-listing li {
  font-size:.9166666em; /*11/12*/
  margin-bottom: 0px;
}
.tweet-divider {
  display: none;
}

/******* Drop-down Navigation ******/

.navigation li ul li {
  font-size: 1em; /*12/12*/
}

/**
  *  Overrides for OpenPublic Content Rotator
  *
  *  Setting up core feature rotator to be fluid width
  *  This will setup the following layouts/switches for the rotator:
  *  -- Mobile Version (Text and Image stacked, not inline)
  *  -- Fluid Version (Inline using %'s)
  *  -- 960px Version (same as fluid)
  */

.home-top-intro {
  font-size: 1.333333em; /*16/12*/
}

.home-top-intro h2 {
 font-size: 2.3333333em; /*28/12*/
}

#home-rotator .home-top-intro {
  position: absolute;
  bottom: 120px;
  overflow: visible;
  width: 96%
}
#home-rotator .home-rotator-text-block {
  padding-top: 70px;
  position: absolute;
}
@media (min-width: 600px) {
  #home-rotator .home-rotator-text-block {
    padding-top: 90px;
  }
}

#home-rotator .home-top-intro h2 {
 display: block;
}

@media (min-width : 769px) {
#home-rotator .home-top-intro h2 {
  margin: 0;
}
}

#home-rotator {
  background: linear-gradient(to bottom, #70B6EA 0%, #245996 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
  box-shadow: 0 1px 1px 2px rgba(36, 89, 150, 0.7) inset;
}

.home-top-intro h2 a:link,.home-top-intro h2 a:visited {
/* font-size: 1.5em; */ /*18/12*/
}

/***************************
 * Documents view
 ***************************/
.view-id-documents h3 {
  font-size:1.4166666em; /*17/12*/
}

.view-id-documents .download-info {
  font-size:.8333333em; /*10/12*/
}

/***************************
 * Documents detail page
 ***************************/
.node-type-document .block-system-main .views-row {
  /*font-size:16px;*/
}

.download-link a,
.file a {
/*  font-size: 1.3333333em; */  /*16/12*/
}

.download-btn {
  font-size: 1.5em; /*18/12*/
}

/* Small download button */
div.download-link a, span.file a {
/*  font-size: 1.3333333em; */  /*16/12*/
}

.view-id-documents .download-link a {
  font-size:.9166666em; /*11/12*/
}


/***************************
 * Node detail page
 ***************************/
.page-node .node-blog-entry .submitted,
.page-node .submitted {
  font-weight: bold;
  font-size: 14px;
  color: gray;
  padding-bottom: 27px;
}

#block-system-main .view-content h4 {
  color: rgb(112, 112, 113);
  font-family: Arial,sans-serif;
  font-size: 1.5em;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 5px;

}
#block-system-main .view-content h4 a {
  font-weight: 700;
  color: #357FB8;
  text-decoration: none;
}

/* PAGE STRUCTURE & CONTENT STYLES: MEETINGS ----------------------- */

#meetingYear {
  padding: 0;
  margin: 0;
}

#meetingYear ul {
  margin: 0;
  padding: 0 0 30px 0;
}

#meetingYear li {
  list-style: none;
  margin: 0 3% 7px 0;
  padding: 0;
  float: left;
}

#meetingTbl {
  width: 97%;
}

#meetingTbl th,
#meetingTbl td {
  padding: 9px 2%;
}

.meetingOn {
  border-bottom: 2px solid #357FB8;
  font-weight: bold;
}

ul.primary {
  border-bottom: 1px solid #D1D1D1;
  line-height: 2;
  margin-bottom: 30px;
}

ul.primary li a {
  -webkit-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
  border-top: 1px solid #D1D1D1;
  border-left: 1px solid #D1D1D1;
  border-right: 1px solid #D1D1D1;
  padding: 5px 15px;
    background: #d1d1d1;
  background: -moz-linear-gradient(top, #f2f2f2 0%, #d1d1d1 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#d1d1d1));
  background: -webkit-linear-gradient(top, #f2f2f2 0%,#d1d1d1 100%);
  background: -o-linear-gradient(top, #f2f2f2 0%,#d1d1d1 100%);
  background: -ms-linear-gradient(top, #f2f2f2 0%,#d1d1d1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#d1d1d1',GradientType=0 );
  background: linear-gradient(top, #f2f2f2 0%,#d1d1d1 100%);
  color: #333;
  text-shadow: 1px 1px 1px white;
}

ul.primary li.active a {
  background: none;
  background-color: white;
  border-bottom: 2px solid white;
  font-weight: bold;
}

/*  for meeting views, disable calendar view styles by default, and reenable as needed */
.view-openpublic-calendar-view table,
.view-openpublic-calendar-view th,
.view-openpublic-calendar-view tr,
.view-openpublic-calendar-view tr.odd td,
.view-openpublic-calendar-view tr.even td,
.view-opensf-search-site table,
.view-opensf-search-site th,
.view-opensf-search-site tr,
.view-opensf-search-site tr.odd td,
.view-opensf-search-site tr.even td,
.view-opensf-search-site td {
  border: none;
  background: #fff none;
  vertical-align: top;
}

.view-openpublic-calendar-view th.views-field-title,
.view-opensf-search-site tr .views-field-field-event-dates-value {
  min-width: 200px;
  overflow: hidden;
}

.view-openpublic-calendar-view th.views-field a,
.view-opensf-search-site tr .views-field-field-event-dates-value a {
  color: #333;
}

.view-openpublic-calendar-view th,
.view-opensf-search-site th {
  color: #333;
  font-weight: bold;
  padding-bottom: 4px;
}

/* calendar view */
.view-openpublic-calendar-view .fc-border-separate {
  border: 1px solid #00639C;
  border-bottom: none;
}

.view-openpublic-calendar-view .fc-day-header {
  background-color: #00639C;
  color: white;
  padding: 4px;
}

.view-openpublic-calendar-view .fc-last {
  border-right: none;
}
.view-openpublic-calendar-view .fc-first {
  border-left: none;
}

.view-openpublic-calendar-view .fc-day {
  border-color: #00639C;
}

.view-openpublic-calendar-view .fc-other-month {
  background-color: #eee;
}

.fc-event-default, .fc-event-default .fc-event-skin, .fc-event-default .fc-event-time, .fc-event-default a {
//  background-color: #D7EBFE;
}

.view-openpublic-calendar-view table.fc-header {
  margin: 20px 0 0 0;
}

.view-openpublic-calendar-view table.fc-header tr:hover,
.view-openpublic-calendar-view table.fc-header tr:active {
  background: #fff;
}

.view-openpublic-calendar-view .views-exposed-form {
  background-color: #eee;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  padding: 6px 20px 10px 20px;
  margin: 10px 0 20px;
}

.view-openpublic-calendar-view .views-exposed-form .views-exposed-widget {
  margin-right: 20px;
}

@media only screen
and (min-width : 601px) {

#meetingYear {
  width: 10%;
  float: left;
  margin: 0 4% 20px 0;
}

#meetingYear li {
  margin: 0 0 7px 0;
  padding: 0;
  float: none;
}

#meetingTbl {
  width: 85%;
}

#meetingTbl th,
#meetingTbl td {
  padding: 9px;
}

.meetingOn {
  border-bottom: none 0;
}

.meetingOn:after {
  content: "\0020 \00BB";
}

}

#messages {
  display: none;
}

div.messages {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
}

@media only screen and (min-width : 601px) {
#region-preface-third {
  float: right;
}
}

#services-carousel {
  height: 145px;
  left: 20px;
  width: 86% !important;
}

#services-carousel ul {
  margin: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  height: 143px;
}

#services-next,
#services-previous {
  top: 0;
}

#services-next a {
  width: 71px;
}
#services-previous a {
  width: 70px;
}

#services-carousel .view-id-services .photo,
#services-carousel img.photo {
  float: none;
}

.page-home #section-content #zone-preface {
  padding-top: 0;
}

.page-home #region-header-first {
  padding-bottom: 10px;
}

#block-views-services-block-1 #home-services-for-you {
  padding: 0;
  background: none;
}
#block-views-services-block-1 #home-services-for-you li {
  height: 143px;
}
#block-views-services-block-1 #home-services-for-you li.entry {
  margin: 0 5px 0 0;
  padding: 0;
  width: 197px;
  text-align: center;
}
#block-views-services-block-1 #home-services-for-you li.entry a {
  color: #333;
}
#block-views-services-block-1 #home-services-for-you li.entry img {
  margin: 0;
  padding: 0;
  border: none;
}
#block-views-services-block-1 #home-services-for-you h4 {
  background-color: #eee;
  font-size: .9em;
  color: #333;
  line-height: 24px;
  padding: 0 4px;
  margin: 0;
}

#block-views-services-block-1 #home-services-for-you #services-next,
#block-views-services-block-1 #home-services-for-you #services-previous {
  background: #ffffff; /* Old browsers */
  width: 70px;
  height: 145px;
}

#block-views-services-block-1 #home-services-for-you #services-next a,
#block-views-services-block-1 #home-services-for-you #services-previous a {
  width: 70px;
  height: 145px;
}

#block-views-services-block-1 #home-services-for-you #services-next,
#block-views-services-block-1 #home-services-for-you #services-next a {
  width: 71px;
}

#block-views-services-block-1 #home-services-for-you #services-next a {
  background-position: right top;
}

.nav-button a {
  margin: 0;
}

#footer-logo-base {
  width: 100%;
  text-align: center;
}

#footer-logo-base .site-name {
  margin-top: 20px;
  font-size: 0.85em;
  color: rgb(103, 123, 135);
}

#footer-logo-base a {
  color: #333;
}
@media (max-width: 768px ) {
  #footer-logo-base a {
    padding-bottom: 40px;
  }
  #home-top-read-more {
    margin-top: 40px;
  }
  .home-top-intro h2 a {
    margin: 12px 0 10px;
  }
}

#home-top-read-more {
  width: 100%;
}
#home-top-read-more a:hover {
  text-decoration: none;
}

@media (min-width : 769px) {
#home-top-read-more {
  padding: 58px 0 44px;
}
}



#home-top-read-more a {
  text-transform: uppercase;
  background: none;
  text-indent: 0;
  width: inherit;
  color: #eee;
}

.block.block-boxes-twitter,
.block.block-twitter-pull {
  border: none;
  background: none;
  padding: 0;
}

.block.block-boxes-twitter {
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background-color: #eeeeee;
  box-shadow: 0 0 0 2px #ffffff inset;
}

div#tweets-swing {
  border-top: 0;
/*  width: 93% !important; */
  margin-left: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  margin-left: 6px;
  margin-right: 6px;
  margin-bottom: 6px;
}

div.tweets-swing ul li {
  padding: 10px;
}

ul.tweets-pulled-listing {
  border-bottom: 10px solid #eee;
}

#region-sidebar-second .region-inner {
  padding: 0 10px;
}

div.tabs {
  // overflow-x: scroll;
}

div.tabs ul.primary {
  border: none;
  margin-bottom: 20px;
  padding: 0;
  margin: 0;
}

div.tabs ul.primary li {
  float: left;
}

div.tabs ul.primary li a {
  background: none;
  border: none;
  color: #357FB8;
  text-shadow: none;
  border-radius: none;
  padding: 5px 14px 5px 0;
  font-size: 14px;
}

/** mobile */
@media (max-width: 480px ) {
.view-openpublic-calendar-view th.views-field-title,
.view-opensf-search-site tr .views-field-field-event-dates-value {
  min-width: 0;
}
.view-openpublic-calendar-view .fc-header-right {
  display: none;
}
}

@media (max-width : 768px) {
  .home-rotator-slide {
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
  }
  .home-rotator-photo {
    width: auto;
  }

  #home-rotator .home-top-intro {
    height: 40px;
    margin: 50px 0 0;
    padding: 0;
    overflow: visible;
    color: transparent;
  }

  #home-rotator {
    display: none;
  }
}

/** tablet */
@media (min-width : 600px) {

  .home-rotator-photo,
  .home-rotator-photo a {
    float: right;
    width: 78%;
  }
  .home-rotator-photo a {
    margin-right: 10px;
  }

  #home-rotator {
    min-height: inherit;
    box-shadow: 0 1px 1px 2px rgba(36, 89, 150, 0.7) inset;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcwYjZlYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNDU5OTYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #70b6ea 0%, #245996 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#70b6ea), color-stop(100%,#245996)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #70b6ea 0%,#245996 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #70b6ea 0%,#245996 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #70b6ea 0%,#245996 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #70b6ea 0%,#245996 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#70b6ea', endColorstr='#245996',GradientType=0 ); /* IE6-8 */
  }

  #home-rotator .home-rotator-text-block {
    width: 190px;
    text-align: center;
    color: #eee;
  }

  #home-rotator .home-top-intro {
    width: 240px;
    margin: 64px 0 -30px;
    padding: 0;
    overflow: hidden;
    position: absolute;
    color: #eee;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.3em;
    vertical-align: middle;
    text-shadow: -1px -1px 2px rgba(0,0,0,0.6);
    bottom: 160px;
  }

  #home-top-numbers {
    padding-top: 16px;
  }

  #home-top-numbers ul li a.home-top-numbers-pause {
    height: 24px;
    width: 18px;
    margin: 0;
  }

  #home-top-numbers li a {
    margin: 0 4px;
  }

  #home-top-numbers ul {
  }

  /** postscript wrapper footer */
  #zone-postscript-wrapper #zone-postscript {
    border-top: 1px solid #ddd;
    padding: 5px 0 4px;
    margin: auto;
    text-align: center;
  }
  #zone-postscript-wrapper #zone-postscript #region-postscript-fourth {
    border-top: 1px solid #fafafa;
  }
  #block-opensf-overrides-footer-block {
     border: none;
     background: none;
  }
  #block-opensf-overrides-footer-block a {
  }
  #block-opensf-overrides-footer-block img {
  }

  #region-sidebar-second .region-inner {
    box-shadow: 32px 0 10px -30px #ccc inset;
    background-color: #fafafa;
    padding-top: 10px;
  }
}

/** tweak point */
@media (min-width : 820px) {
  #home-rotator .home-rotator-text-block {
    width: 34%;
  }
  .home-rotator-photo,
  .home-rotator-photo a {
    width: 80%;
  }
  #home-top-numbers li a {
    margin: 0 5px;
  }
}
@media (min-width : 920px) {
  .home-rotator-photo,
  .home-rotator-photo a {
    width: auto;
  }
}

/** desktop */
@media (min-width : 600px) {

  #block-opensf-search-search-block,
  #block-opensf-search-search-block .block-inner,
  #block-opensf-search-search-block .block-inner .content,
  #region-branding #block-views-exp-opensf-search-site-page,
  #region-branding #block-views-exp-opensf-search-site-page .block-inner,
  #region-branding #block-views-exp-opensf-search-site-page .block-inner .content {
    width: 360px;
  }

  .branding-data {
    margin: 0;
  }

  div.messages {
    margin-bottom: 16px;
  }

  #region-branding #block-opensf-search-search-block,
  #region-branding #block-views-exp-opensf-search-site-page {
    float: right;
    padding-top: 0px;
    margin-top: -60px;
  }
  .site-name-slogan p.site-name {
    background-position: 0 top;
  }
  .site-name-slogan {
    float: left;
    text-align: left;
  }
  .logo-img {
    float: left;
    text-align: left;
  }

  #views-exposed-form-opensf-search-site-page {
    width: inherit;
  }

  #home-rotator .home-rotator-text-block {
    width: 240px;
  }

  .front #region-header-first {
    margin-bottom: 0;
  }
}

/** wide */
@media (min-width : 1447px) {
  #region-branding {
    margin-top: 5px;
  }

  #region-branding #block-opensf-search-search-block,
  #region-branding #block-views-exp-opensf-search-site-page {
    margin-top: -60px;
  }
}

.facetapi-link-active {
  font-weight: bold;
}

a.follow-link-this-site {
}

#home-top-numbers ul li a.home-top-numbers-pause {
  height: 24px;
  width: 18px;
  margin-top: -5px;
}

@media only screen
and (max-height: 600px)
and (orientation: landscape) {
.container-12 .grid-4 {
/* width: 98% !important; */
}
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  #lite-full-links,
  #zone-menu {
    display: none;
  }
  .block-boxes-twitter,
  .block-twitter-pull,
  #home-rotator {
    display: block;
  }
}

.tweets-swing {
  display: inline;
}

#region-content .views-exposed-form .views-exposed-widget.views-submit-button {
  position: relative;
  height: 48px;
}

#region-content .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
  position: absolute;
  bottom: 0;
}

.view-opensf-layout table,
.view-opensf-layout th,
.view-opensf-layout tr,
.view-opensf-layout tr.odd td,
.view-opensf-layout tr.even td,
.view-opensf-layout td {
  border: none;
}
