/*
Theme Name: Tree Source
Description: This is a child theme for Flatsome Theme
Author: Wombat Creative
Template: flatsome
Version: 3.0
*/
/*************** ADD CUSTOM CSS HERE.   ***************/
#wide-nav .flex-left {
  width: 100%;
}

/* Alerts
 ---------------------------------------------------*/
.alert.alert-success {
  padding: 15px;
  background: #B1BB44;
  color: #fff;
}

.alert.alert-danger {
  padding: 15px;
  color: #fff;
  margin-bottom: 15px;
}

.alert.login-response {
  margin-bottom: 15px;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container-width {
  max-width: 100%;
}

body.boxed {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Top Bar
 ---------------------------------------------------*/
#top-bar .account-item > a > span {
  background-color: #7b822c;
  border: none;
  color: #fff;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  margin: 4px 2px;
  border-radius: 16px;
}

#top-bar .account-item > a > span:before {
  display: inline-block;
  content: ' ';
  background-image: url("./assets/img/user-icon-white.png");
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
  margin-right: 5px;
}

/* Header
---------------------------------------------------*/
#masthead #logo {
  margin-top: -10px;
}

#masthead .header-link {
  display: block !important;
  text-align: center;
  text-indent: 13px;
  padding: 0 !important;
}

#masthead .header-link img {
  display: block;
  max-width: 100%;
  height: 30px;
  width: auto;
}

#masthead .header-link span {
  display: block;
  line-height: 1;
}

.header-wrapper {
  background-image: url("assets/img/header-bg.png");
  background-position: center;
  background-repeat: no-repeat;
}

.header-bottom {
  border-top: 1px solid #B1BB44;
}

.header-search-form input[type='search'] {
  height: 3em;
  border-radius: 3px;
}

.nav-dropdown {
  border: none;
  box-shadow: none;
  border-radius: 3px;
}

.nav-dropdown-has-arrow li.has-dropdown:after {
  display: none;
}

.nav-dropdown-has-arrow li.has-dropdown:before {
  border-bottom-color: #fff;
}

/* Mega Menu
---------------------------------------------------*/
#mega-menu-wrap-primary #mega-menu-primary {
  font-family: 'Ubuntu', sans-serif !important;
}

/* Treesource Link */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-250847 {
  float: right;
}

#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-250847 > a.mega-menu-link {
  text-indent: -120px;
  overflow: hidden;
  /* width: 90px; */
  background-image: url("https://summerfield.wombatstaging.co.uk/wp-content/themes/summerfield-books/assets/img/treesource-colour.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  /* background-color: rgba(0,0,0,0.2); */
  height: 40px;
}

/* Widgets
---------------------------------------------------*/
.widget-title {
  font-family: 'Ubuntu', sans-serif;
  letter-spacing: 0 !important;
  font-size: 1.3em;
}

/* Sections
---------------------------------------------------*/
.section-title {
  font-size: 1.6em;
}

.section-title-normal span {
  border-bottom: 3px solid #9fa839;
}

/* Category Sidebar
---------------------------------------------------*/
.children {
  display: none;
}

/* Product Grid
---------------------------------------------------*/
.product-small {
  text-align: center;
}

.product-small .col-inner {
  -webkit-box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.4);
  padding: 1rem;
  height: 100%;
  background: #fff;
}

.product-small .box-image {
  display: flex;
  justify-content: center;
  text-align: center;
}

.product-small .box-image img {
  max-width: 100%;
  max-height: 250px;
  width: auto;
}

.product-small .price-wrapper {
  margin: 10px 0;
}

.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text a:not(.button) {
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
}

/* Shop General
---------------------------------------------------*/
span.amount {
  font-weight: normal;
  font-size: 1.3em;
}

/* Cookie Notice
---------------------------------------------------*/
#cookie-notice .cn-button {
  margin-left: 15px;
  margin-bottom: 0;
}

/* Footer
---------------------------------------------------*/
.footer-1 {
  box-shadow: 0 3px 3px 0 rgba(40, 40, 45, 0.1) inset;
}

.footer-1 span.widget-title {
  font-size: 1.2em;
  color: var(--primary-color);
}

.footer-1, .footer-2 {
  border: none;
}

.footer-2 {
  background-image: url("https://summerfield.wombatstaging.co.uk/wp-content/themes/summerfield-books/assets/img/header-bg.png");
  padding: 50px 0 30px;
  background-repeat: no-repeat;
  background-position: right bottom;
}

.footer-2 a {
  color: inherit;
}

.footer-2 .is-divider {
  height: 2px;
  max-width: 100%;
}

.footer-2 ul.menu > li > a {
  font-size: 0.8em;
}

.copyright-footer {
  margin-top: 10px;
  font-size: 90%;
}

.copyright-footer p {
  color: #aaa;
}

.copyright-footer p a {
  color: #ddd;
}

/* Removing character limit -
 ---------------------------------------------------*/
.pwgc-field-container .pwgc-subtitle {
  display: none !important;
}

/* Fix for mega menu in Edge
 ---------------------------------------------------*/
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
  border: none !important;
}
