/*
Theme Name: SWW Child Theme
Theme URI: http://www.sanderswebworks.co.uk
Author: Sanders Web Works
Author URI: http://www.sanderswebworks.co.uk
Template: SWW
Description: Project specific child theme
Version: 0.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sww-project-theme
*/

@font-face {
  font-family: noteworthy;
  src: url(fonts/Noteworthy-Lt.ttf);
}

body {
  overflow-x: hidden;
}

/* Cookie Bar */
#cookie-message {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 8px 0px rgb(0, 0, 0, 0.9);
  color: #fff;
  z-index: 99;
  text-align: center;
  padding: 1rem 15px;
  font-size: 0.95rem;
}
#cookie-message a {
  color: #fff;
}
#cookie-message a:hover,
#cookie-message a:focus {
}
#cookie-message a.cookie-close-button {
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background: #68a01c;
  padding: 0.5em 0.75em;
  border-radius: 3px;
  -o-transition: all 0.5s ease-in;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  margin-top: 1rem;
  display: block;
}
#cookie-message a.cookie-close-button:hover,
#cookie-message a.cookie-close-button:focus {
  color: #000;
  background: #fff;
}
@media (min-width: 768px) {
  #cookie-message {
    padding: 0.5rem 15px;
  }
  #cookie-message p {
    display: inline-block;
    margin-bottom: 0;
  }
  #cookie-message a.cookie-close-button {
    display: inline-block;
    margin-left: 1rem;
    margin-top: 0;
  }
}

.clearfix {
  clear: both;
}

.fade-image {
  height: 100%;
  width: 100%;
  position: absolute;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 5%);
}

.jumbotron.hero-1,
.jumbotron.hero-2 {
  padding-bottom: 0em;
  padding-top: 0em;
  margin-bottom: 0em;
  margin-top: 70px;
}
.admin-bar .jumbotron.hero-1,
.admin-bar .jumbotron.hero-2 {
  margin-top: 55px;
}

.navbar.fixed-top {
  position: fixed;
}

.admin-bar .navbar.fixed-top {
  top: 32px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a:after {
  content: "›";
  float: right;
  border: none;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0px;
  margin-left: 0px;
}

/* hover dropdown menus */
@media only screen and (max-width: 991px) {
  .navbar-hover .show > .dropdown-toggle::after {
    transform: rotate(-90deg);
  }
}
@media only screen and (min-width: 992px) {
  .navbar-hover .collapse ul li {
    position: relative;
  }
  .navbar-hover .collapse ul li:hover > ul {
    display: block;
  }
  .navbar-hover .collapse ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    display: none;
  }
  .navbar-hover .collapse ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    display: none;
  }
}

.no-header-image {
    min-height: 5rem;
    width: 100%;
    background: #f1f1e6;
}
@media (min-width: 768px) {
  .no-header-image {
    min-height: 7rem;
  }
}
@media (min-width: 1200px) {
  .no-header-image {
    min-height: 10rem;
  }
}



/* Section : Image and Text Section */
body[class*="template-2-column-template"] .text-side h2 {
  margin-bottom: 1.125rem;
}
body[class*="template-2-column-template"] [class*="row-textAndImage"] img {
  max-width: 100%;
  height: auto;
}
.row-textAndImage .image {
    background-color: #f7ead9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    padding-top: 65%;
    position: relative;
}
.row-textAndImage .image .image-caption {
    background-color: #f7ead9;
    text-align: center;
}
.row-textAndImage .image.contain {
  background-size: contain;
}
.row-textAndImage .image.smallImage {
    background-size: auto;
}
.row.no-gutters.row-textAndImageSlider .slick-gallery,
.row.no-gutters.row-textAndImageSlider .slick figcaption, .row.no-gutters.row-textAndImageSlider .slick-slide .image-caption {
  background: #f7ead9;
}
.row.no-gutters.row-textAndImageSlider .slick-gallery,
.row.no-gutters.row-textAndImageSlider .slick-gallery .slick-list,
.row.no-gutters.row-textAndImageSlider .slick-gallery .slick-list .slick-track {
    height: 100%;
    margin-bottom: 0;
}
.row.no-gutters.row-textAndImageSlider .slick-gallery .slick-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media only screen and (min-width: 992px) {
  body > .container:nth-child(odd) > [class*="row-textAndImage"] > .col-lg-6:first-child {
      order: 2;
  }
  body > .container:nth-child(even) > [class*="row-textAndImage"] > .col-lg-6:last-child {
      order: 1;
  }
  body[class*="template-2-column-template"] > .container:nth-child(odd) > [class*="row-textAndImage"] > .text-side {
    padding-right: 3rem;
  }
  body[class*="template-2-column-template"] > .container:nth-child(even) > [class*="row-textAndImage"] > .text-side {
    padding-left: 3rem;
  }
  body[class*="template-2-column-template"] .text-side h2 {
    font-size: 2rem;
    margin-bottom: 1.125rem;
  }
}


/* Helper classes */
.font-fun {
  font-family: 'noteworthy', sans-serif;
  color: #8b9426;
}
h5.font-fun {
  margin-top: .2rem;
  margin-bottom: 1rem;
}
.category-list a:not(:last-child):after {
  content: ',';
}


/* WooCommerce */
.products img {
  margin-bottom: 0 !important;
}
.products .add_to_cart_button {
  display: none !important;
}

/* Error 404 */
.error404 .section .row {
  height: 40vh;
  align-items: flex-end;
}
@media (min-width: 992px) {
  .error404 .section h1 {
    font-size: 3rem;
  }
}
