/*
Theme Name:     Listify Child
Theme URI:      https://astoundify.com/products/listify/
Template:       listify
Version:        1.0
*/

ul ul{
    max-height:300px;
    overflow-y:scroll;
}

/* Custom top-nav */
.top-nav {
  height:28px;
  background-color: black;
}

.top-nav a {
  color: white;
}

.top-nav ul {
float: right;
clear: both;
padding-right: 30px;
padding-top: 5px;
}

.top-nav li a:hover {
  color: #dd3333;
}

.top-nav ul li {
  list-style: none;
  display: inline-block;
  margin-left: 24px;
}

/* Custom top nav end */


.listing-entry-company-image--style-square img {
  border-radius: 0;
}

.listing-entry-company-image__img {
  max-width: none !important;
  height: auto;
}


/* RCE latest posts styling */
#api-posts h3 {
	margin-top: 12px;
	font-family: Oswald;
}
#api-posts h3 a {
	color: #111;
}
#api-posts h3 a:hover {
	color: #d10007;
}
#api-posts .td-excerpt {
	color: #777;
    font-family: 'Open Sans', arial, sans-serif;
	line-height: 22px;
}
#api-posts .btn-container {
    text-align: center;
}
#api-posts a.btn-more {
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .2s ease-in-out;
    color: #fff;
    background-color: #d10007;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 5px;
}
#api-posts a.btn-more:hover {
	background-color: #e82930;
}

* { hyphens: none; }


/* Bullet point alignment */
.widget-job_listing li {
	list-style-position: outside;
    margin-left: 16px;
}

/* Sticky Navbar */
.sticky {
  position: fixed;
  top: 0;
  width: 100%
}
.sticky .primary-header {
  display:none;
}
.sticky #site-navigation {
  background-color: #fff;
}
.sticky .nav-menu.secondary > li > a,
.sticky .nav-menu.secondary > li > a:before,
.sticky .nav-menu.secondary > li > a:after,
.sticky .nav-menu.secondary > li:before,
.sticky .nav-menu.secondary > li:after {
  color: #000;
}
.sticky + .site-content {
  padding-top: 224px;
}
#site-navigation {
  box-shadow: 0 2px 12px 0px rgb(0,0,0,0.1);
}
/* Mobile Navbar*/
@media only screen and (min-width: 991px) {
  #mobile-logo {
    display: none;
  }
  .sticky #mobile-logo {
    display: inline;
    float: left;
    margin-right: 16px;
  }
}
@media only screen and (max-width: 991px) {
  .primary-header .site-branding, .top-nav {
    display: none;
  }
  .primary-header {
    min-height: 60px;
  }
  .primary-header-inner {
    height: 60px !important;
    text-align: center;
  }
  #site-navigation {
    background-color: #fff;
  }
  #site-navigation .container{
    text-align: center;
  }
  .navigation-bar-toggle, .search-overlay-toggle {
    color: #000;
  }
  .sticky + .site-content {
    padding-top: 57px;
  }
}
