/**
 * @file
 * Positioning for a fixed-width, desktop-centric layout.
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
 */


/*
 * Center the page.
 */

#page,
.region-bottom {
  /* If you want to make the page a fixed width and centered in the viewport,
   * this is the standards-compliant way to do that. */
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */

#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  padding-left: 10px;
  padding-right: 10px;
  border: 0 !important;
  word-wrap: break-word;
  _display: inline;
  _overflow: hidden;
  _overflow-y: visible;
}

/*
 * Containers for grid items and flow items.
 */

#header,
#main,
#footer {
  *position: relative;
  *zoom: 1;
}

#footer {
  width: 980px;
}

#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after {
  content: "";
  display: table;
}
#header:after,
#main:after,
#footer:after {
  clear: both;
}

/*
 * Navigation bar
 */

#main {
  padding-top: 3em; /* Move all the children of #main down to make room. */
  position: relative;
  margin-top: 30px;
}

#navigation {
  position: absolute;
  top: 0; /* Move the navbar up inside #main's padding. */
  height: 3em;
  width: 980px;
}
.logged-in {
  background-position: center 65px;
}

.logged-in #block-block-3 table {
  margin-top: 5.6em;
}
/*
 * Added July 2nd, 2015 FENIX SOLUTIONS
 */

#content .view-id-blog .views-row {
  float: left;
  width: 100%;
  min-height: 100px;
}

#content .view-id-blog .views-row .views-field-title-1 {
  float: left;
  width: 100%;
}

#content .view-id-blog .views-row .views-field-title-1 h3 {
  padding: 0;
}

#content .view-id-blog .views-row .views-field-field-photo {
  float: left;
  width: 30%;
}

#content .view-id-blog .views-row .views-field-field-photo img {
  width: 200px;
  overflow: hidden;
}

#content .view-id-blog .views-row .views-field-field-body {
  float: left;
  height: 100px;
}

#content .view-id-blog .views-row .views-field-field-body p {
  padding-left: 20px;
}

#content .view-id-blog .views-row .views-field-view-node {
  width: 100%;
}

 #block-block-3 table {
   margin: 9.5em 0 0 45em;
   float: left;

 }

 .sf-menu.sf-style-white.sf-navbar li ul li a:hover {
   background: #F9F9F9;
 }

 .sf-menu.sf-style-white.sf-navbar li ul li a.sf-depth-2.active {
   font-weight: bold;
 }

 .sf-menu.sf-style-white.sf-navbar a.sf-depth-1.menuparent.sf-with-ul.active {
   font-weight: bold;
 }

 /*
  * BODY CONTENT Added July 2nd, 2015 FENIX SOLUTIONS
  */

 /* FIXED Job Posting Links*/
.field-items p a span{
  color: #2F3CF3 !important;
}

#content {
  padding-top: 20px;
}

/*
 * Styling Blog Page
 */

 .view-id-blog .views-row h3 a {
   color: #000;
 }

#content h2 {
  margin-bottom: 0;
  padding-bottom: 5px;
}

#content h2 a {
  font-size: 1.2em;
  /*color: #E26600;*/
}

h2.node-title {
  padding-top: 20px;
  padding-bottom: 0;
  font-size: 1.2em;
}

/*
 * The layout when there is only one sidebar, the left one.
 */

 /*
  * FENIX SOLUTIONS CHANGES
  */

#block-menu-block-2 {
  margin-left: 1px;
}

#block-menu-block-2 .menu-name-main-menu ul.menu {
  background: #E9E9E9;
  border-left: 3px solid #999999;
  padding: 0;
  width: 100%;
}

#block-menu-block-2 .menu-level-2 ul.menu li {
  list-style: none;
  padding: 5px 10px;
}

#block-menu-block-2 .menu-level-2 ul.menu li a {

}

#block-menu-block-2 .menu-level-2 ul.menu li a:active, #block-menu-block-2 .menu-level-2 ul.menu li a:hover {
  font-weight: bold;
}

#block-menu-block-2 .menu-level-2 ul.menu li ul {
  border: none;
}

#block-menu-block-2 .menu-level-2 ul.menu li ul li {
  padding-left: 15px;
}

 .region-sidebar-first {
   padding: 50px 50px 50px 0px;
 }

.sidebar-first #content {
  /* Span 4 columns, starting in 2nd column from left. */
  float: left;
  width: 764px;
  margin-left: 196px;
  margin-right: -980px;
}

.sidebar-first .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 176px;
  margin-left: 5px;
  margin-right: -196px;
}

/*
 * The layout when there is only one sidebar, the right one.
 */

.sidebar-second #content {
  /* Span 4 columns, starting in 1st column from left. */
  float: left;
  width: 764px;
  margin-left: 0px;
  margin-right: -784px;
}

.sidebar-second .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 190px;
  margin-left: 784px;
  margin-right: -980px;
}

/*
 * The layout when there are two sidebars.
 */

.two-sidebars #content {
  /* Span 3 columns, starting in 2nd column from left. */
  float: left;
  width: 568px;
  margin-left: 196px;
  margin-right: -784px;
}

.two-sidebars .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 176px;
  margin-left: 0px;
  margin-right: -196px;
}

.two-sidebars .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 176px;
  margin-left: 784px;
  margin-right: -980px;
}
