/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.resource-box {
  position: relative;
  top: -100px;
  padding: 0px 20px;
}
.resource-header {
  padding-bottom: 100px;
}
.resource-header p,
.resource-header h1 {
  color: white;
}
.resource-header h1 {
  font-size: 38px;
}
.resource-header hr {
  width: 100%;
}

.hub_search {
  border: solid #f1f1f1 2px;
}
.hub_search label {
  width: 100%;
  max-width: 360px;
  border-right: solid #f1f1f1 2px;
  line-height: 60px;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}
.hub_search form input[type="text"] {
  line-height: 60px;
  height: 60px;
  border: none;
  padding-left: 30px;
}
.hub_search form {
  display: flex;
}

.resource_posts {
}
.resource_posts .card {
  border: solid #f8f8f8 1px;
  text-align: center;
  display: block;
  position: relative;
  margin-bottom: 30px;
}
.resource_posts .card span.cat {
  text-transform: uppercase;
  background-color: red;
  margin-top: 0px;
  display: inline-block;
  position: relative;
  top: -15px;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
}
.resource_posts .card span.date {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: white;
  width: 50px;
  height: 50px;
  padding-top: 12px;
}

.resource_posts .card span.date span:first-child {
  font-size: 20px;
  display: block;
  line-height: 10px;
  color: black;
}

.resource_posts .card span.date span:last-child {
  text-transform: uppercase;
  font-size: 10px;
  color: black;
}
.resource_posts .card img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.resource_posts .card h3,
.resource_posts .card p {
  max-width: 90%;
  margin: auto;
}
.resource_posts .card h3 {
  margin-bottom: 10px;
}
.resource_posts .card a {
  color: #ababab;
}
.resource_posts .card span.continue {
  display: block;
  color: #e82227;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.hub_categories {
  border: solid #ebebeb 1px;
}
.hub_categories h5 {
  border-bottom: solid #ebebeb 1px;
}
.hub_categories h5,
.hub_categories ul {
  padding: 10px 20px;
  margin: 0;
}
.hub_categories ul li {
  padding-top: 8px;
  padding-bottom: 8px;
}
.hub_categories ul li a {
  color: #b0aeaf;
  font-size: 18px;
  font-weight: bold;
}
.hub_categories ul li > a.active,
.hub_categories ul li:hover > a {
  color: black;
  border-bottom: solid #e82227 4px;
}

@media (max-width: 520px) {
  .hub_search form {
    display: block;
  }
  .hub_search label {
    border-right: unset;
    border-bottom: solid #f1f1f1 2px;
  }
  .hub_search button.searchsubmit {
    width: 100%;
  }
}

#sagepaydirect-cc-form .wc-credit-card-form-card-type {
	font-size: 1em;
}