/*

Theme Name: X - Child Theme: Ethos
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Renew in this child theme.
Version: 1.0.0
Template: x

*/

/*@import url( '../x/framework/css/site/stacks/ethos.css' );*/
@import url("media-queries.css");

body {
  line-height: 1.4;
}
p {
  margin: 0 0 1em;
}
/*****  nav bug fix */

/*****  HACK TO FIX HOVER *****/
.x-navbar .desktop .x-nav > li > ul {
  top: 59px !important;
}

.x-navbar .desktop .x-nav ul li.menu-item-has-children:hover > .sub-menu,
.x-nav ul li.menu-item-has-children.x-active:hover > .sub-menu {
  display: block !important;
}
.x-navbar .desktop .x-nav > li.menu-item-has-children:hover > .sub-menu {
  display: block !important;
}

.x-navbar .desktop .x-nav > li.menu-item-has-children > .sub-menu {
  display: none;
}

/* Mobile Menu Button */
.x-btn-navbar[data-target=".x-nav-wrap.mobile"] {
  padding: 0px 20px;
}

/***** Add this after css broke in upgrade ****/
.x-container-fluid.main {
  /*max-width: 1800px;*/
  margin: auto;
  margin-left: 180px;
}
.single-post .x-main {
  background: white;
  padding-left: 35px;
}
.home .x-main.full {
  /*width: calc(100% - 160px);*/
  margin-left: 160px;
  padding: 0 15px;
}
#we_home_page_panels {
  margin: 0 -15px;
}

.has-left_side_banners .x-main.left {
  width: calc(74% - 140px);
  padding-right: 0;
  background: white;
}

@media (max-width: 1100px) {
  .we_recent_posts article.post {
    width: 100% !important;
    margin-right: 0 !important;
    display: block;
    float: none;
  }
}

@media (max-width: 979px) {
  /* following rule set in style tag by theme
    /*.x-main.full, .x-main.left, .x-main.right, .x-sidebar.left, .x-sidebar.right {*/
  /*float: none;*/
  /*display: block;*/
  /*width: auto !important;*/
  /*}*/
  .has-left_side_banners .x-main.left,
  .home.page .x-main.left {
    margin-left: 160px;
  }
  .x-container.main.has-left_side_banners {
    width: 98%;
  }
  .entry-header::after {
    clear: none;
  }
}

@media (min-width: 979px) {
  .has-left_side_banners .x-main.left {
    margin-left: 140px !important;
  }
}

@media (min-width: 1600px) {
  .has-left_side_banners .x-main.left {
    margin-left: 20px !important;
  }
}

@media (max-width: 800px) {
  .has-left_side_banners .x-main.left {
    margin-left: 110px;
  }

  .x-container.main.has-left_side_banners::before {
    background: none;
  }
}

/* end upgrade hacks */

/*********   Home Page ******/
.home_main_cat {
  height: 180px;
  max-height: 180px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  float: left;
  margin-right: 0;
  box-sizing: border-box;
}

.has-left_side_banners .x-main.left {
  /* margin-left: 160px;*/
}

.we_recent_posts {
  /*display: table;*/
  max-width: 1400px;
  margin: auto;
}
.we_recent_posts article.post {
  float: left;
  width: 48%;
}
.we_recent_posts article:nth-child(2n + 1) {
  clear: left;
  margin-right: 4%;
}
.we_recent_posts .entry-wrap {
  padding-top: 0.5em;
}
.we_recent_posts .hentry .entry-featured {
  float: left;
  margin: 0 !important;
  width: 24%;
  width: 40%;
}

.we_recent_posts .hentry.has-post-thumbnail .entry-wrap {
  float: right;
  padding-left: 35px;
  width: 76%;
  width: 60%;
}
.we_recent_posts .hentry {
  /*border-top: 1px solid rgba(0, 0, 0, 0.1);*/
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 35px;
  padding: 15px;
  background: white;
  position: relative;
}

.we_recent_posts h2.entry-title {
  font-size: 1.2em;
  /*white-space: nowrap;
    overflow-wrap: ;*/
  margin-bottom: 10px;
}
.we_post_date {
  position: absolute;
  right: 0;
  top: -12px;
  background: #026c89;
  color: #ffffff;
  padding: 3px 6px;
  font-size: 0.8em;
}

.we_post_categories,
.we_post_categories a {
  color: #737373;
  font-size: 0.9em;
  font-style: italic;
  padding-top: 0.5em;
  /*text-align: right;*/
}

p.we_post_excerpt {
  margin: -0.5em 0 0;
  padding: 0;
  /*line-height: 1.3;*/
}

.home_main_cat h2,
.home_main_cat h2.h-feature-headline {
  margin: -10px -10px 0px;
  padding: 6px 12px;
  font-size: 20px;
  border-radius: 6px 6px 0 0;
}

.home_main_cat .info_icon {
  bottom: 0px;
  color: #026c89;
  font-size: 24px;
  left: 5px;
  opacity: 0.7;
  position: absolute;
}
.home_main_cat br {
  line-height: 1;
}

.home_main_cat img {
  max-width: 30%;
}

#home_ads_panel img {
  max-width: 100%;
}
/*.we_hover_content {
    position: absolute;
    height: 0;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: #000000;
    opacity: .8;
    border-radius: 6px;
    z-index: 200;
    overflow: auto;
}*/
.we_hover_content {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 100%;
  /*bottom: 1px;*/
  background: #000000;
  opacity: 0.8;
  border-radius: 6px;
  z-index: 200;
  overflow: auto;
}

.we_hover_content_inner {
  padding: 10px;
  /*font-size: .9em;*/
  line-height: 1.2;
}
.we_hover_content h2 {
  font-size: 18px;
}
.we_hover_content ul {
  margin-bottom: 1em;
}
.we_hover_content li {
  line-height: 1.3em;
}

.we_hover_content * {
  color: #eaeaea !important;
}

.we_hover_content a {
  color: paleturquoise !important;
  font-style: italic;
}
.we_hover_content a:hover {
  text-decoration: underline !important;
}

/***  Home news panels ****/
#we_home_news_panels:after {
  content: " ";
  display: block;
  clear: both;
}
.we-news-items-list {
  /* line-height: 2;*/
  padding: 0 1em;
}
.home_news_panel_more {
  text-align: right;
  margin-top: 0;
}
.home_news_panel_more a {
  color: white;
}
.we-news-items-list a {
  color: white;
  display: block;
  /*white-space: nowrap;*/
  /* overflow: hidden;
     text-overflow: ellipsis;*/
  font-size: 0.9em;
  margin-bottom: 0.8em;
}

.we-news-items-list a:hover,
.home_news_panel_more a:hover {
  color: #ededaa;
}

.home_news_panel {
  border-radius: 6px;
  background: #056586;
  padding: 10px;
  margin-bottom: 1em;
  width: 48%;
  float: left;
  margin-right: 2%;
  box-shadow: 3px 3px 6px #cccccc;
  max-width: 700px;
}

.home_news_panel h2 {
  border-radius: 6px 6px 0 0;
  font-size: 20px;
  margin: -10px -10px 10px;
  padding: 6px 12px;
  background: #ecd9b9;
}

.new_panel_label {
  float: right;
  color: red;
}

@media screen and (max-width: 900px) {
  .home_news_panel {
    width: 100%;
    margin: 0 auto 1em;
  }
}
/***  END Home news panels ****/
/*.x-sidebar:first-of-type{ margin-top: -100px}*/

header.masthead {
  margin-bottom: 20px;
  /* background: #D2D2D4;*/
  /* background: #ffff00;*/
}

/******* end home page ************/

/* **********  Global *******/

/* allow recent post headings to show */
.home .x-recent-posts .h-recent-posts/*, .x-recent-posts .x-recent-posts-date*/ {
  /*display: block;
    line-height: 1;*/
  overflow: visible;
  text-overflow: normal;
  white-space: normal;
}
.wp-caption > .wp-caption-text,
.wp-caption > .wp-caption-text:last-child,
.gallery-item > .wp-caption-text,
.gallery-item > .wp-caption-text:last-child {
  text-transform: none;
  font-size: 13px;
}

.x-navbar .x-nav-wrap .x-nav > li > a {
  text-transform: none;
}

/* carousel above navbar */
.x-post-carousel.unstyled {
  margin-top: -65px;
  margin-right: 468px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  height: 34px;
}
.um_login_form label,
.we_member_form label {
  lin-height: 1.3;
}
form p {
  margin-bottom: 0px;
}
#we_login_container {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  border: 1px #cccccc;
  border-radius: 10px;
  padding: 15px;
}

.x-post-carousel-meta .entry-cover-author {
  display: none;
}
.x-post-carousel-meta {
  padding-top: 60px;
}
/* main logo */
.x-navbar .x-brand {
  margin-top: 5px !important;
}

.x-navbar .x-brand img {
  max-height: 49px !important;
}

body.x-navbar-fixed-top-active #top .x-navbar-wrap,
#top .x-navbar-inner {
  /*height: 60px!important;*/
}

/*.we_left {*/
/*width: 160px;*/
/*float: left;*/
/*border-right: 1px solid #EAEAEA*/
/*}*/

.we_left {
  position: absolute;
  top: 370px;
  left: 0;
  width: 160px;
  /*float: left;*/
  border-right: 1px solid #eaeaea;
  z-index: 200;
}
.blog .we_left,
.single-post .we_left {
  top: 290px;
}

.home.page .we_left {
  top: 245px;
}

.x-header-landmark {
  padding: 0 0 2.15em;
}
.h-landmark,
.h-landmark.entry-title {
  font-size: 200%;
  line-height: 1.1;
  margin: 0;
}

/*
.home.page .we_left{
    position: relative;
    top:auto;
    float: left;
}
*/

/*.side-banner-ads-container a{
    display: block;
    margin-bottom: 15px;
}*/
#constant_contact_member_center {
  display: none;
}

.we_constant_contact_wrapper {
  position: relative;
  max-width: 300px;
  padding: 10px;
  background: white;
  margin: auto;
  border: 2px solid #cccccc;
}

#constant_contact_member_center .we_constant_contact_wrapper {
  max-width: 350px;
  margin-bottom: 10px;
  margin-top: -40px;
}

#constant_contact_member_center input {
  width: 80%;
}
.we_constant_contact_loading,
.we_constant_contact_wrapper .x-alert {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  margin: 0;
}

.we_constant_contact_loading {
  background: none repeat scroll 0 0 #444444;
  color: white;
  display: none;
  line-height: 4em;
  opacity: 0.8;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
}

#post_top_ads {
  position: relative;
  margin-bottom: 30px;
  height: 180px;
  max-width: 100%;
}
#post_top_ads a {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
}
#post_top_ads img {
  max-width: 100%;
  /*height: 130px*/
}

.page-template-template-layout-full-width-php .x-post-carousel {
  display: none;
}

.home_main_cat {
  border: 1px solid #dadada;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 3px 3px 6px #cccccc;
  background: white;
  margin-right: 1%;
  margin-left: 1%;
}
.home_main_cat.full_content {
  padding: 0;
}
.home_page_stat {
  display: block;
  text-align: center;
  padding-bottom: 8px;
  float: left;
}
.home_hw_company {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.two-col .home_page_stat {
  width: 50%;
}
.three-col .home_page_stat {
  width: 33%;
}
.home_page_stat_number {
  font-size: 26px;
  color: #056586;
  font-weight: bold;
  font-style: italic;
  display: block;
  line-height: 1;
}
.home_page_stat_description {
  color: #666666;
  font-size: 0.9em;
  line-height: 1.1;
  display: block;
}
.home_page_stat_description br {
  line-height: 0;
}

#home_ads_panel {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
#home_ads_panel a {
  display: block;
  text-align: center;

  margin: auto;
  width: 100%;
  height: 100%;
  position: relative;
  vertical-align: middle;
}
#home_ads_panel a img {
  max-width: 100%;
  margin: auto;
  width: auto;
  height: auto;
  border-radius: 6px;
}

.home #top {
  background-image: url("/wp-content/uploads/2015/01/light_grey_bg.png");
}
.home .x-container-fluid > .offset {
  margin: 0 auto 35px;
}

#pw_resume_form legend,
#hw_post_job_form legend {
  padding-bottom: 8px;
  margin-bottom: 15px;
}
.bb_category_wrap {
  background: #026c89;
  padding: 10px;
  font-size: 1.1em;
}

a#bb_random_link {
  /*font-size: 1.1em;*/
  color: #ffd351;
}
.bb_category_parent {
  color: whitesmoke;
  /*font-size: 1.1em;*/
}
.bb_category_parent .bb_category_parent {
  margin-left: 20px;
}
.bb_category_parent a {
  margin-left: 20px;
  display: block;
}
.user_ad_info {
  margin: -15px -15px 10px;
}

.user-credits {
  margin: 5px 0px 0px;
  font-size: 14px;
}

/**** banners and ads ***/
#we_page_top_right {
  border-bottom: 2px solid white;
  height: 164px;
  position: absolute;
  right: 0;
  top: 0;
  width: 468px;
}
.admin-bar #we_page_top_right {
  top: 32px;
}
#we_user_top_bar {
  position: absolute;
  bottom: 0;
  right: 5px;
  left: 5px;
  height: 32px;
  /*width: 60%;*/
  color: #444444;
  text-align: center;
  line-height: 32px;
  font-weight: bold;
  font-family: "Open Sans", ​sans-serif;
  /*background: #000000;*/
}

.x-btn.x-btn-yellow {
  background-color: #ffba00;
  border-color: #d6a700;
  color: #000;
}
#after_post_ads {
  margin-top: 30px;
}

#after_post_ads img {
  padding: 3px;
  border: 2px solid #eeeeee;
}
#after_post_ads .small_ad img {
  padding: 15px 3px;
}
#after_post_ads a {
  display: inline-block;
}
#after_post_ads .is-banner {
  display: inline-block;
  max-width: 100%;
  float: left;
  margin-bottom: 10px;
  margin-right: 10px;
}
#after_post_ads .is-banner img {
  max-width: 100%;
  display: block;
}

#we_user_nav {
  position: absolute;
  top: 99%;
  background: #191919;
  width: 100%;
  right: 0;
  display: none;
  z-index: 30000;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  font-weight: normal;
}
#we_user_nav li {
  text-align: left;
  list-style: none;
  margin: 0;
  line-height: 1.1;
  /*font-size: .8em;*/
  /*font-size: 1.1em;*/
  font-family: arial, helvetica, sans-serif;
  padding: 6px;
}
#we_user_top_bar .x-btn {
  margin-top: 2px;
  padding: 3px;
}
#we_login_btn {
  background-color: #16a085;
  border-color: #117a6c;
  color: #fff;

  /*width: 50%;*/
}
#we_user_nav a {
  color: #eeeeee;
  display: block;
  /*font-size: 1em;*/
}
#we_user_nav .we_user_info {
  font-size: 0.85em;
  color: #999;
  font-style: italic;
}

#we_user_nav a:hover {
  color: #2ea2cc;
}
#we_user_nav a:hover {
  text-decoration: underline;
}

#we_user_top_bar:hover #we_user_nav {
  display: block;
}
.we_ad_wrapper {
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  margin: auto;
}
.we_left_side_ads {
  width: 138px;
  margin: 0 auto 20px;
  display: block;
}

.we_left_side_ads img {
  display: block;
  margin: auto;
  width: 138px;
}

@media screen and (min-width: 1200px) {
  .single-post .we_left,
  .category .we_left,
  .page-template-template-layout-content-sidebar-php .we_left {
    width: 200px;
  }
  .single-post .we_left_side_ads,
  .category .we_left_side_ads,
  .page-template-template-layout-content-sidebar-php .we_left_side_ads {
    width: 168px;
  }
  .single-post #left_side_banners,
  .category #left_side_banners,
  .page-template-template-layout-content-sidebar-php #left_side_banners {
    height: 270px;
  }
}
.page-template-template-layout-content-sidebar-php article.type-page {
  margin-top: -60px;
}

/*article.type-post, article.type-page{
    margin-left:-30px;
    margin-right:30px;
}*/

.home_new_product_img {
  float: right;
}

#left_side_banners {
  position: relative;
  overflow: hidden;
  height: 215px;
}
#left_side_banners a {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: block;
  overflow: hidden;
}
#left_side_banners img {
  width: 100%;
}

#we_banners_top {
  position: relative;
  /*right: 0;*/
  width: 468px;
  top: 21px;
  height: 110px;
  overflow: hidden;
}
#we_banners_top a {
  display: block;
  width: 100%;
  height: 100%;
}
#we_banners_top img {
  position: absolute;
  bottom: 0;
}
.we-read-more {
  float: right;
  margin-top: -1em;
}
/*.admin-bar #we_banners_top{
    top: 57px;
}*/

/*#we-right-side-banners {

    position: relative;
    width: 280px;
    height: 291px;
    margin: auto;

    overflow: hidden;
}

#we-right-side-banners > a, #left_side_banners >a {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}*/

#we_bluebook_ad_pricing {
  margin: auto;
  max-width: 800px;
}

.we_stripe_pay_form .contractor_name {
  color: #990000;
  font-weight: bold;
}

.x-container-fluid .x-main.full,
.x-container-fluid .x-main.left,
.x-container-fluid .x-main.right,
.x-container-fluid .x-sidebar.left,
.x-container-fluid .x-sidebar.right {
  /*float: left!important;*/
}
.x-container-fluid .x-sidebar.right {
  float: left !important;
  width: 26% !important;
}

.we_small_screen_only {
  display: none;
}
/*#aboutus_table{
    max-width: 600px;margin:auto;
}*/
.entry-footer {
  margin-top: 1.5em;
  padding: 1em 1.25em;
  line-height: 1.4;
  background-color: #f9f9f9;
  display: block;
}

.desktop .sub-menu {
  font-size: 14px;
}
hr {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #000000;
  border-image: none;
  border-style: solid none none;
  border-width: 1px 0 0;
  height: 0;
  margin: 1em 0;
}
