/*
 Theme Name:   Directory Child
 Theme URI:    http://templatic.com/
 Description:  Directory Child Theme
 Author:       Templatic
 Author URI:   http://templatic.com
 Template:     Directory
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
Add your custom css here...
*/

.link-blue a {
  color: #0165bd;
}

div#menu-secondary .wrap,
div#menu-secondary1 .wrap,
div#menu-subsidiary .wrap {
  background: black !important;
}

@media (min-width: 480px) {
  .hfeed.list.homepage .post.category-blog .entry-header {
    width: 60%;
  }
}
.nav_bg .widget-nav-menu li a,
div#menu-secondary .menu li a,
div#menu-secondary1 .menu li a,
div#menu-subsidiary .menu li a {
  opacity: 1;
  color: #fff;
}
div#header,
.header_container {
  background: repeat scroll center top #98b414;
}
body .primary_menu_wrapper {
  background: #14260f;
}

#menu-secondary .menu ul li.current-menu-item {
  background: #d90;
}
#footer .footer_bottom,
.nav_bg .widget-nav-menu nav,
div#menu-secondary .wrap,
div#menu-secondary1 .wrap,
div#menu-subsidiary .wrap {
  background: #ffae00;
}

@media (min-width: 1201px) {
  .header-widget-wrap {
    padding: 50px 0;
  }
}
/*
#ffae00
*/
.entry-header-custom-wrap a,
.entry-details a {
  color: inherit;
}
.entry-header-custom-wrap a:hover,
.entry-details a:hover {
  text-decoration: underline;
}

div#menu-primary .menu li.hl-nav-gold a {
  background: #ffae00;
  color: #fff;
  text-transform: uppercase;
}

.button_orange.button_k {
  background: #ffae00;
}

#sidebar-header {
  display: flex;
  flex-flow: row;
  align-items: center;
  align-content: center;
}
.middle.tab-bar-section a {
  display: inline-block;
}
.middle.tab-bar-section a.button {
  margin: 0;
  border-radius: 0;
  min-height: 44px;
  padding-left: 15px;
  padding-right: 15px;
}
.tab-bar-section.middle {
  padding-right: 10px;
}

@media (max-width: 480px) {
  .hide-xs {
    display: none;
  }
}
@media (max-width: 576px) {
  .hide-sm {
    display: none;
  }
}
@media (max-width: 768px) {
  .hide-md {
    display: none;
  }
}
@media (max-width: 1200px) {
  .hide-to-medium {
    display: none;
  }
}
/*
@media only screen and (min-width: 1201px) {
  .hide-for-large-up {
    display: none;
  }
  .show-to-medium { display: none;}
}
*/

/* fix images view in mobile */
img {
  height: auto;
  max-width: 100%;
}

/*
.directory-single-page .hentry .entry-header-title .entry-title {
  display: block;
}
.listing_rating .directory_rating_row .single_rating span a {
  background: #9fc615;
  padding: 8px 25px;
  border-radius: 3px;
  border-radius: 25px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 10px -10px rgb(0 0 0 / 30%);
}
*/
.directory-single-page .listing_rating .directory_rating_row .single_rating {
  background: #030303;
  padding: 4px 20px;
  border-radius: 3px;
  border-radius: 25px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 10px -10px rgb(0 0 0 / 30%);
}
.directory-single-page
  .listing_rating
  .directory_rating_row
  .single_rating
  span
  a {
  color: #fff;
  margin-left: 10px;

  background: #9fc615;
  border-radius: 3px;
  border-radius: 25px;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 10px -10px rgb(0 0 0 / 30%);

  padding: 4px 15px;
  margin: -4px -30px -4px 5px;
  border: 3px solid #030303;
}
.directory-single-page .listing_rating .directory_rating_row .single_rating i {
  line-height: 28px;
}
.directory-single-page .hentry .entry-header-title .listing_rating {
  margin-top: 3px;
}
.directory-single-page .hentry .entry-header-title .entry-title {
  line-height: 1.4;
}

.directory-single-page #respond {
  background: #f9fff9;
  padding: 0 20px;
  border: 0px solid #f3fdd0;
  border-radius: 3px;
  margin: 20px 0;
}
/* 3 col featured */
.post.featured_post {
  width: 100%;
}

/* .list .listing_img img,  */
.grid .post.featured_post .listing_img img, 
/* .list div[id*="post"] .listing_img img,  */
.grid .post.featured_post div[id*="post"] .listing_img img {
  width: 100%;
  height: 320px !important;
  object-fit: cover;
}
.grid .post:nth-child(2n),
.grid div[id*='post']:nth-child(2n),
.grid .post,
.grid div[id*='post'] {
  margin-right: 0;
}
.grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
@media only screen and (min-width: 768px) {
  .grid .post.featured_post .entry {
    padding: 10px;
  }
  .grid .entry h2.entry-title {
    max-width: none;
  }
}
#loop_listing_taxonomy .post .entry p.daily-specials .fa-certificate,
#loop_listing_taxonomy .post .entry p.daily-specials {
  color: #49a918;
}

/** 
* Footer Style
*/
.em-before-footer-cont {
  margin-top: 4rem;
  background: no-repeat scroll center center;
  background-size: cover;
  padding: 65px 15px;
  color: #fcfcfc;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  font-size: 1rem;
}
.em-before-footer-cont .inner {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
}
.em-before-footer-cont .inner p {
  padding: 12px 0;
}
.em-before-footer-cont .inner hr {
  max-width: 50%;
  width: 420px;
  background: #fff;
  margin: 2rem auto;
}
.em-before-footer-cont .inner img {
  margin-bottom: 10px;
}
#footer .footer_bottom {
  background: #14260f;
  padding: 15px 0;
}

#sidebar-post-detail img {
  display: block;
}

img[data-sizes='auto'] {
  display: block;
  width: 100%;
}
img.lazyload {
  display: inline-block;
}

.sidebar .listing_post .hentry .sb-h2 {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 5px;
}
.sidebar .listing_post .hentry .sb-h2 a {
  color: #666;
  font-size: 14px;
  font-weight: 700;
}

.sidebar .listing_post .hentry .sb-h2 a:hover {
  color: #0165bd;
}

a.button.button-orange {
  background-color: #f0b74a;
  background-color: #49a918;
  border-radius: 5px;
  border: 5px solid #fff;
  outline: 1px solid #222;
}
a.button.button-orange:hover {
  background-color: #49a918;
  border: 5px solid #49a918;
  outline: 1px solid #49a918;
}
