/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  background-color: #060e35;
}

#page {
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
}

#logo { /* Wrapping link for logo */
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
#logo img {
  vertical-align: bottom;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1em;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

.not-front  #main {
background-color: #ffffff;
width: 955px;
padding-bottom:10px;}

/*these are to make civicrm tables which are very wide dsiplay properly*/
.not-front  #main {
display:table-cell;
}

.not-front #crm-container{
	background-color: #ffffff;}


/*
 * Content
 */

.not-front #content {
background-color: #ffffff;
width: 739px;
margin-top: 60px;
}
 /*Anne 7/9/2015 ...force div to expand w/content.  otherwise overlays footer etc.*/
.not-front #crm-container{
	 display:table;
	 }


.sidebar-first .block-menu {
margin-top: 60px;
margin-left: -10px;
}
.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
  display:inline !important;
}


tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {

}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
}

/*
 * Footer
 */

#footer {
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}

.not-front .footersection
{ width: 960px;
float:left;
font-family: Helvetica, Arial;
padding-top: 40px;
color: #83879a;
}
.footer1 {
float:left;
width: 191px;
height: 185px;
border-right: 1px solid #83879a;
padding-top: 0px;
margin-top: 0px;
font-size: 11px;
}
.footer1 ul {
margin-left: 0;
padding-left: 0;
list-style: none;
margin-top: 0px;
}
.footer1 li {
padding-left: 28px;
padding-top: 8px;
background-image: url(/sites/all/themes/nybest/images/positivesign.png);
background-repeat: no-repeat;
background-position: 0 .5em;
text-transform: uppercase;
font-size: 13px;
margin-top: -5px;
}
.footer2{
float:left;
width: 191px;
height: 185px;
border-right: 1px solid #83879a;
padding-top: 0px;
margin-top: 0px;
font-size: 13px;
}
.footer2 ul {
padding-left: 30px;
padding-right: 30px;
list-style: none;
margin-top: 0px;
}
.footer2 li {
text-transform: uppercase;
margin-bottom: 4px;
}
.footer3{
float:left;
width: 191px;
height: 185px;
border-right: 1px solid #83879a;
padding-top: 0px;
margin-top: 0px;
font-size: 15px;

}
.footer3 p {
text-transform: uppercase;
padding-left: 30px;
padding-right: 30px;
margin-top: 0px;
}
.footer4{
float:left;
width: 191px;
height: 185px;
border-right: 1px solid #83879a;
padding-top: 0px;
margin-top: 0px;
font-size: 12px;
/*margin-left:25px;*/
margin-left: 30px;
margin-right: -30px;
}
.footer4 p {
margin-top: 0px;
}
.footer4 ul {
/*padding-left: 30px;
padding-right: 10px;*/
list-style: none;
margin-top: 0px;
}
.facebook li {
padding-left: 35px;
padding-top: 7px;
background-image: url(/sites/all/themes/nybest/images/fb_footer.png);
background-repeat: no-repeat;
/*background-position: 0 .25em;*/
margin-left: -10px;
}
.twitter li {
padding-left: 35px;
padding-top: 7px;
background-image: url(/sites/all/themes/nybest/images/twitter_footer.png);
background-repeat: no-repeat;
/*background-position: 0 .5em;*/
margin-left: -12px;
}
.linkedin li {
padding-left: 35px;
padding-top: 7px;
background-image: url(/sites/all/themes/nybest/images/linkedin_footer.png);
background-repeat: no-repeat;
/*background-position: 0 .5em;*/
margin-left: -12px;
}
.footer5{
float:left;
width: 191px;
height: 185px;
padding-top: 0px;
margin-top: 0px;
font-size: 12px;
margin-left:30px;
margin-right: -30px;

}
.footer5 p {
padding-left: 30px;
margin-top: 0px;
margin-bottom: 10px;
/*line-height: 1.2em;*/
}
.footer5 a {
text-decoration: none;
color: #83879a;
}
.field-name-field-guest-author, .field-name-field-blog-author {
margin-bottom: 10px;
}

.admin-menu-site-ny-best-vm-host-net a{
color: #ffffff !important;
}

.sidebars {
margin-top: 50px;
}

#block-system-user-menu h2.block-title {
display:none !important;
}

#views-exposed-form-civiorgprofileview-page {
display:none;
}
.views-field {
font-family: Helvetica, Arial;
font-size: 9pt;
}

/* special style for civicrm confirmation page for membership sign up */
div.crm-contribution-confirm-form-block fieldset {
	display: none ;
}

div.onBehalf_display-group {
	overflow: hidden ;
	height: 300px ;
}
/* special style for civicrm thank you page for membership sign up */
div.crm-contribution-thankyou-form-block fieldset.label-left {
	display: none ;
}

/* hide NY Headquarters field on member join profile */
.org_headqtrs_address-section div.content
{
 display: none ;
}