.eap_grid{
  text-align: center;
  margin: 10px -5px 30px;
}

.eap_col{
  width: 33.3%;
  display: inline-block;
  vertical-align: top;
  padding: 5px;
}

.eap_acc{
  /*no props*/
}

.eap_cell{
  background: rgba(0, 0, 0, 0.03);
  padding: 5px;
  text-align: left;
  clear: both;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #EAEAEA;
}

.eap_cell:first-child{
  border-top: none;
}

.eap_cell:last-child{
  border-bottom: none;
}

.eap_cell:empty{
  display: none;
}

.eap_cell.eap_error{
  border: 1px solid rgb(245, 133, 133);
}

.eap_title{
  cursor: pointer;
  position: relative;
  padding: 5px 27px 5px 7px;
  line-height: 1.3em;
}

.eap_cell:first-child .eap_title,
.eap_type_image:first-child + .eap_cell .eap_title
{
/*target the post title*/
font-size: 1.1em;
font-weight: bold;
}

.eap_title:after,
.eap_parent_term>a:after {
  content: ' ';
  position: absolute;
  right: 12px;
  top: 40%;
  width: .5em;
  height: .5em;
  border: 2px solid;
  border-width: 0 2px 2px 0;
  /*opacity: .5;*/
  transform: rotate(45deg) translateX(-50%);
  transition: .3s;
  -webkit-transform: rotate(45deg);
  -webkit-transition: .3s;
}

.eap_parent_term>a:after {
  right: .25em;
}

.eap_title:hover:after{
  opacity: 1;
}

.eap_no_content .eap_title{
  cursor: default;
}

.eap_no_content .eap_title:after{
  display: none;
}

.eap_open .eap_title:after{
  transform: rotate(-135deg);
}

.eap_content{
  display: none;
  padding: 0 7px 7px;
}

.eap_no_title .eap_content{
  display: block;
}

.eap_content .attachment-post-thumbnail{
  margin:.5em 0;
}

.eap_cell .wp-post-image{
  display: block;
  margin: 0 auto;
}

.eap_type_image{
  padding: 0;
}

.eap_type_image{
  padding: 0;
}

.eap_type_image:first-child{
  border-bottom: none;
  cursor: pointer;
}

.eap_type_image:first-child+.eap_cell{
  border-top: none;
}

/*pagination*/
.eap_pagination{
  line-height: 3em;
  margin-top: .5em;
  text-align: center;
}

.eap_pagination .page-numbers{
  display: inline-block;
  padding: .4em .7em;
  margin: 4px;
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.56);
  border: 2px solid;
  border-color: rgba(0, 0, 0, 0.03);
  font-size: 22px;
  line-height: 1em;
  text-decoration: none!important;
  transition: none;
  -webkit-transition: none;
}

.eap_pagination .page-numbers:hover,
.eap_pagination .page-numbers:focus,
.eap_pagination span.page-numbers {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.32);
}

/*filters*/
.eap_filters b{
  margin-right: .25em;
}

.eap_term {
  display: inline-block;
  position: relative;
}

.eap_term_children{
  position: absolute;
  bottom: -.5em;
  left: 50%;
  transform: translate(-50%, 100%);
  background: white;
  border: 2px solid;
  border-color: inherit;
  border-radius: 4px;
  padding: 7px 14px;
  z-index: 100;
  display: none;
}

.eap_term_children:before{
  content: ' ';
  position: absolute;
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: inherit;
}

.eap_term_children:after{
  content: ' ';
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: white;
}

.eap_term:hover .eap_term_children{
  display: block;
}

.eap_connector{
  height: 15px;
  width: 100%;
  background: transparent;
  position:absolute;
  top: -15px;
  left: 0;
}

.eap_filters a{
  padding: .5em 0 .25em 0;
  margin: .25em 0.75em .5em .75em;
  border-bottom: 2px solid transparent;
  display: inline-block;
  position: relative;
  text-decoration: none!important;
  transition: .1s;
  -webkit-transition: .1s;
}

.eap_filters .eap_term_children a{
  padding: .25em 0;
  margin-right: 0;
  margin-left: 0;
}

.eap_parent_term>a{
  padding-right: 1.2em;
}

.eap_parent_term>a:after {
  opacity: 1;
}


/*
.eap_filters a:after{
  content: ' ';
  position: absolute;
  left: 50%;
  top: -.5em;
  transform: translate(-50%, -25%);
  border: .5em solid;
  border-left: .5em solid transparent;
  border-right: .5em solid transparent;
  border-bottom: .5em solid transparent;
  opacity: 0;
  transition: .2s;
  -webkit-transition: .2s;
}

.eap_filters a.eap_active:after,
.eap_filters a:hover:after,
.eap_filters a:focus:after {
  top: 0;
  transform: translate(-55%, -25%);
  opacity: 1;
}
*/

.eap_filters a.eap_active,
.eap_term:hover>a,
.eap_filters a:hover,
.eap_filters a:focus {
  border-color: inherit;
}

.eap_clear{
  display: block;
  clear: both;
}

/*search*/
.eap_search_form{
  margin-bottom: .5em;
}

.eap_search_form label,
.eap_search_form input {
  margin-right: 5px;
}

.eap_search_form input {
  margin-right: 10px
}

/*product*/
.eap_product_cell{
  border-bottom: 1px solid #E8E8E8;
  border-top: 1px solid #fff;
  margin-bottom: 0;
}

.eap_product_cell .eap_title{
  font-weight: normal;
}

.eap_product_cell:nth-last-child(2){
  border-bottom: none;
}

.eap_product_info{
  display: table;
  width: 100%;
  padding: 0 5px 0 0;
}

.eap_product_info>*{
  display: table-cell;
  vertical-align: top;
}

.eap_product_info .eap_product_thumb{
  width: 100px;
  max-width: 100%;
  margin-right: 10px;
}

.eap_product_info .eap_product_info_text{
  padding-left: 8px;
}

.eap_product_title{
  clear: none;
  font-size: 20px;
  margin: 9px 0 5px;
  line-height: 1em;
  color: #5D5D5D;
}

.eap_product_info .eap_product_info_text .eap_clear{
  margin-bottom: 3px;
}

body .eap_product_info_text ins{
  background: #fff9c0;
}

.eap_product_buttons_cell{
  padding: 0;
  background: transparent;
}

a.eap_product_button {
  width: 49.5%;
  float: left;
  padding: 8px 0;
  text-align: center;
  transition: .2s;
  -webkit-transition: .2s;
  border: 4px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

a.eap_product_button:before{
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.05);
  top: 100%;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: inherit;
  -webkit-transition: inherit;
}

a.eap_product_button:hover:before{
  top: 0;
  opacity: 1;
}

.eap_product_button i{
  margin-right: 5px;
}

body a.eap_product_read_more{
  background: #E96656;
  color: white;
  margin-right: .5%;
}

body a.eap_product_read_more,
a.eap_product_read_more:hover,
a.eap_product_read_more:focus,
a.eap_product_read_more:active
{
  color: white;
}

a.eap_product_add_to_cart{
  background: transparent;
  color: #E96656;
  border: 4px solid #E96656;
  margin-left: .5%;
}

.eap_product_info,
.eap_product_excerpt{
  margin-bottom: 0;
}

.eap_product_excerpt, .eap_product_stats{
  line-height: 1.6em;
}

.eap_product_excerpt p:last-child{
  margin-bottom: 0;
}

.eap_rating_stars{
  background: url('../images/eap_rating_stars.png') repeat-x 0 0;
  background-size: 12px 50px;
  display: inline-block;
  width: 60px;
  height: 15px;
  position: relative;
}

.eap_stars_live{
  position: absolute;
  top: 0;
  left: 0;
  background: url('../images/eap_rating_stars.png') repeat-x 0 -33px;
  background-size: 12px 50px;
  width: 100%;
  height: 100%;
}

.eap_product_info .eap_rating_stars{
  display: block;
  float: left;
  margin-right: 6px;
  margin-top: 3px;
  margin-bottom: 5px;
}

/*employee*/
.eap_employee_cell{
  border-bottom: 1px solid #E8E8E8;
  border-top: 1px solid #fff;
  margin-bottom: 0;
}

.eap_employee_cell .eap_title{
  font-weight: normal;
}

.eap_employee_cell:nth-last-child(2){
  border-bottom: none;
  margin-bottom: 0;
}

.eap_employee_info{
  display: table;
  width: 100%;
  padding: 0 5px 0 0;
}

.eap_employee_info>*{
  display: table-cell;
  vertical-align: top;
}

.eap_employee_info .eap_employee_thumb{
  width: 155px;
  margin-right: 10px;
}

.eap_employee_info .eap_employee_info_text{
  padding-left: 8px;
}

.eap_employee_info .eap_employee_info_text i{
  font-size: 13px;
  border: 2px solid;
  padding: 3px;
  width: 23px;
  text-align: center;
  border-radius: 4px;
}

.eap_employee_info_text a{
  font-size: 14px;
  text-decoration: none;
  margin-right: 7px;
  margin-bottom: .7em;
  color: #cb4332;
  line-height: 1.2em;
}

.eap_employee_info h2.eap_employee_title a.eap_employee_title_link,
.eap_blog_info h2.eap_blog_title a.eap_blog_title_link,
.eap_product_info h2.eap_product_title a.eap_product_title_link
{
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    display: block;
    margin: 0;
    background: inherit;
}

.eap_employee_social{
  margin-bottom: 10px;
}

.eap_employee_info .eap_employee_info_text a:hover i{
  background: #e96656;
  border-color: #e96656;
  color: white;
}

.eap_employee_title{
  clear: none;
  font-size: 20px;
  margin: 8px 0 3px;
  line-height: 1.1em;
  color: #5D5D5D;
}

h3.eap_employee_designation{
  font-size: 15px;
  margin: 0;
}

.eap_employee_email{
  margin: 5px 0 7px;
  display: block;
}

.eap_employee_button_cell{
  padding: 0;
  background: transparent;
}

a.eap_employee_button {
  padding: 8px;
  text-align: center;
  transition: .2s;
  -webkit-transition: .2s;
  border: 4px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

a.eap_employee_button:before{
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.05);
  top: 100%;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: inherit;
  -webkit-transition: inherit;
}

a.eap_employee_button:hover:before{
  top: 0;
  opacity: 1;
}

.eap_employee_button i{
  margin-left: 5px;
}

body a.eap_employee_read_more{
  background: #E96656;
  color: white;
  margin-right: .5%;
  display: block;
}

body a.eap_employee_read_more,
a.eap_employee_read_more:hover,
a.eap_employee_read_more:focus,
a.eap_employee_read_more:active
{
  color: white;
}

a.eap_employee_add_to_cart{
  background: transparent;
  color: #E96656;
  border: 4px solid #E96656;
  margin-left: .5%;
}

.eap_employee_info,
.eap_employee_excerpt{
  margin-bottom: 0;
}

.eap_employee_excerpt, .eap_employee_stats{
  line-height: 1.6em;
}

.eap_employee_excerpt p:last-child{
  margin-bottom: 0;
}

.eap_employee_career_highlights ul{
  padding: 0;
  margin: 0 0 0 25px;
}

.eap_employee_career_highlights ul li{
  margin-bottom: 1em;
  list-style: circle;
}

.eap_employee_career_highlights ul li:first-child{
  margin-top: .5em;
}

.eap_employee_career_highlights ul li:last-child{
  margin-bottom: .5em;
}

/*Blog posts*/
.eap_blog_cell{
  padding: 0;
}

.eap_blog_button_cell{
  padding: 0;
  background: transparent;
}

.eap_blog_info_text{
  padding: 5px 12px;
}

h2.eap_blog_title {
  line-height: 1.2em;
  margin: .25em 0 .5em 0;
}

.eap_blog_meta{
  margin-right: .6em;
  opacity: .8;
}

/* .eap_blog_meta:hover{
  opacity: 1;
}
 */
.eap_blog_meta i{
  margin-right: .2em
}

.eap_blog_categories{
  margin: .5em 0;
  display: inline-block;
}

a.eap_blog_button {
  padding: 8px;
  text-align: center;
  transition: .2s;
  -webkit-transition: .2s;
  border: 4px solid transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

a.eap_blog_button:before{
  content: ' ';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.05);
  top: 100%;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: inherit;
  -webkit-transition: inherit;
}

a.eap_blog_button:hover:before{
  top: 0;
  opacity: 1;
}

.eap_blog_button i{
  margin-left: 5px;
}

body a.eap_blog_read_more{
  background: #E96656;
  color: white;
  margin-right: .5%;
  display: block;
}

body a.eap_blog_read_more,
a.eap_blog_read_more:hover,
a.eap_blog_read_more:focus,
a.eap_blog_read_more:active
{
  color: white;
}

.eap_blog_excerpt p{
  line-height: 1.6em;
}

.eap_blog_excerpt p:last-child{
  margin-bottom: 0;
}

.eap_no_results{
  margin: 1em 0;
  background: #F8F8F8;
  padding: 1em;
  text-align: center;
}

@media(max-width:425px){

  /*search*/
  .eap_search_form label,
  .eap_search_form a {
    display: block;
  }

  .eap_search_form label,
  .eap_search_form input {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  /*filter*/
  .eap_filters+.eap_filters{
    margin-top: .5em;

  }

  .eap_filters_label{
    display: block;
    margin-bottom: .5em;
  }

  .eap_filters a {
      padding: 0;
      margin: 0 1.25em .65em 0;
  }

  .eap_parent_term>a.eap_term_link {
    padding-right: 1.25em;
  }

  .eap_parent_term>a:after{
    top: 20%;
    right: .25em
  }

  .eap_term_children a {
      margin-right: 0;
  }

  .eap_term_children{
      left: calc(50% - .625em);
  }

  .eap_title,
  .eap_content
  {
/*     text-align: center; */
  }

  /*templates*/
  .eap_product_info>*,
  .eap_employee_info>*
  {
    display: block;
    vertical-align: top;
    text-align: center;
  }

  .eap_product_info .eap_product_info_text{
    padding-left: 0;
    padding-bottom: 3px;
  }

  .eap_product_info .eap_product_thumb,
  .eap_employee_info .eap_employee_thumb
  {
      margin: 0 auto;
  }

  .eap_product_info .eap_rating_stars{
    display: inline-block;
    vertical-align: middle;
    float: none;
  }

  .eap_blog_meta{
    display: block;
    margin: .5em 0;
  }
}
