/*   
Theme Name: Shop Cornish
Theme URI: www.bywill.co.uk
Description: Custom theme for Shop Cornish
Author: www.thstudio.co.uk
Author URI: 
Version: 1.0
Tags: blue, white, light, right-sidebar, fixed-width
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("reset.css");
@import url("grid.css");
/* Default font settings. */
html {
  font-size: 100.01%;
}
body {
  font-size: 16px;
  color: #000000;
  background: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  color: #000000;
}

h1 {
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 20px;
  color: #0078ae;
}
h2 {
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 20px;
  color: #09ba8f;
}

h3 {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 15px;
  color: #0078ae;
  font-weight:700;
}
h4 {
  font-size: 16px;
  line-height: 18px;
  color: #0078ae;
  margin-bottom: 8px;
  font-weight:700;
}
h5 {
  font-size: 14px;
  margin-bottom: 8px;
}
h6 {
  font-size: 12px;
  margin-bottom: 8px;
}
h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
  margin: 0;
}
/* Text elements */
::-moz-selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
p {
  margin: 0 0 16px;
  line-height: 24px;
}
p img.left {
  float: left;
  margin: 15px 15px 15px 0;
  padding: 0;
}
p img.right {
  float: right;
  margin: 15px 0 15px 15px;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  margin: 15px;
  color: #666;
  font-style: italic;
}
strong {
  font-weight: bold;
}
em,
dfn {
  font-style: italic;
}
dfn {
  font-weight: bold;
}
sup,
sub {
  line-height: 0;
}
abbr,
acronym {
  border-bottom: 1px dotted #ccc;
}
address {
  margin: 0 0 15px;
  font-style: italic;
}
del {
  color: #ccc;
}
pre {
  margin: 15px 0;
  white-space: pre;
}
pre,
code,
tt {
  font: 14px "andale mono", "lucida console", monospace;
  line-height: 20px;
}
hr {
  border-style: none;
  border-bottom: 2px solid #2c96bb;
  margin-top: 40px;
  margin-bottom: 40px;
}
hr.foot {
  margin-top: 30px;
  margin-bottom: 30px;
}
/* Lists */
ol #commentlist {
  margin: 0px 0px 10px 0px;
}
#commentlist li {
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 10px 0px;
  border-bottom: 1px dotted #ccc;
}
li ul,
li ol {
  margin: 0;
}
ul,
ol {
  margin: 0 15px 15px 0;
  padding-left: 20px;
}
nav ul,
#sidebar ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 0px 10px 0px;
}
nav ul li {
  float: left;
}
#sidebar li {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
dl {
  margin: 0 0 15px 0;
}
dl dt {
  font-weight: bold;
}
dd {
  margin-left: 20px;
}
/* Tables */
table {
  margin-bottom: 20px;
  width: 100%;
}
th {
  font-weight: bold;
}
thead th {
  background: #c3d9ff;
}
th,
td,
caption {
  padding: 4px 10px 4px 5px;
}
tr.even td {
  background: #e5ecf9;
}
tfoot {
  font-style: italic;
}
caption {
  background: #eee;
}
/* Misc classes */
.small {
  font-size: 10px;
  margin-bottom: 8px;
  line-height: 18px;
}
.large {
  font-size: 19px;
  line-height: 19px;
  margin-bottom: 20px;
}
.hide {
  display: none;
}
.quiet {
  color: #888;
}
.loud {
  color: #000;
}
.highlight {
  background: #ff0;
}
.added {
  background: #060;
  color: #fff;
}
.removed {
  background: #900;
  color: #fff;
}
.first {
  margin-left: 0;
  padding-left: 0;
}
.last {
  margin-right: 0;
  padding-right: 0;
}
.top {
  margin-top: 0;
  padding-top: 0;
}
.bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}
.postmetadata {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 30px 0px;
}
.meta {
  font-size: 10px;
}

.p20 {
  padding: 20px;
}

.p30 {
  padding: 30px;
}

.p40 {
  padding: 40px;
}

/* --------------------------------------------------------------
   forms
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
-------------------------------------------------------------- */
label {
  font-weight: bold;
}
fieldset {
  padding: 22px;
  margin: 0 0 24px 0;
  border: 1px solid #ccc;
}
legend {
  font-weight: bold;
  font-size: 19px;
}
/* Form fields */
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 200;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
}
input[type="text"]:focus,
input[type="password"]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
  border-color: #777;
}
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  margin: 8px 0;
}
input.text,
input.title {
  max-width: 300px;
  width: 80%;
  padding: 5px;
}
input.title {
  font-size: 24px;
}
textarea {
  width: 600px;
  max-width: 90%;
  height: 150px;
  padding: 5px;
}
input[type="checkbox"],
input[type="radio"],
input.checkbox,
input.radio {
  position: relative;
  top: 4px;
}
form.inline {
  line-height: 3;
}
form.inline p {
  margin-bottom: 0;
}
/* Success, notice and error boxes */
.error,
.notice,
.success {
  padding: 12px;
  margin-bottom: 16px;
  border: 2px solid #ddd;
}
.error {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}
.notice {
  background: #fff6bf;
  color: #514721;
  border-color: #ffd324;
}
.success {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}
.error a {
  color: #8a1f11;
}
.notice a {
  color: #514721;
}
.success a {
  color: #264409;
}
/* links */
a {
  color: #0078ae;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn {
  text-transform: uppercase;
  color: #ffffff;
  background: #0078ae;
  line-height: 42px;
  font-size: 16px;
  display: inline-block;
  padding: 0 25px;
  border-radius: 20px;
  transition: background 0.2s ease-in-out;
  border: none;
  cursor: pointer;
}

.btn.white {
  color: #0078ae;
  background: #ffffff;
}

.btn:hover {
  color: #000000;
  background: #dbe6f1;
  text-decoration: none;
}
.btn:active {
  outline: none;
}

/* Misc */
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
.wp-caption-text {
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 40px;
}
.alignright {
  float: right;
  margin-left: 40px;
}
.gallery-caption {
}
/* post */
.meta {
  word-wrap: break-word;
}
.sticky {
}
.bypostauthor {
}
/* Comments */
#commentlist p {
  margin: 0px;
  font-size: 11px;
}
#comments {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}
#postcomment {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}

iframe {
  max-width: 100%;
}

.video-embed iframe {
  width: calc(100% - 20px);
  margin: 30px 10px 0px 10px;
}
/* --------------------------------------------------------------   
User Styles below here
-------------------------------------------------------------- 
*/

header {
  background: #0078ae;
}

header nav {
}

header nav ul#menu-header-nav {
  margin: 0;
  padding: 0;
}

header nav ul#menu-header-nav > li > a {
  color: #ffffff;
  font-size: 15px;
  line-height: 50px;
  display: block;
  padding: 0 15px;
}

header nav ul#menu-header-nav > li > a:hover {
  text-decoration: none;
  background: #acd9df;
  color: #0078ae;
}

header nav ul#menu-header-nav > li > ul {
  position: absolute;
  background: #acd9df;
  padding: 20px;
  display: none;
  z-index: 2000;
}

.mobile-css header nav ul#menu-header-nav > li > ul {
  position: relative;
}

body:not(.mobile-css) header nav ul#menu-header-nav > li:hover > ul {
  display: block;
}

header nav ul#menu-header-nav > li > ul > li {
  float: none;
  display: block;
}

header nav ul#menu-header-nav > li > ul > li > a {
  color: #000000;
}

header nav .mega-menu {
  position: absolute;
  width: calc(100% - 40px);
  z-index: 2000;
  background: #acd9df;
  padding: 20px;
  left: 0px;
  top: 50px;
  display: none;
}

.admin-bar header nav .mega-menu {
  top: 82px;
}

header nav .mega-menu li {
  display: block;
  float: none;
}

header nav .mega-menu a {
  color: #000000;
  font-size: 14px;
  display: block;
  line-height: 30px;
}

.mobile-css header nav .mega-menu {
  position: absolute;
  top: 0px;
  left: 100%;
  right: 0px;
  width: 0px;
  overflow: hidden;
  padding: 0;
  transition: left 0.4s ease-in-out;
  display: block !important;
}

.mobile-css header nav .mega-menu.mobile-open {
  left: 0px;
  display: block !important;
  padding: 20px;
  width: calc(100% - 40px);
}

.close-button {
  line-height: 30px;
  cursor: pointer;
  text-align: right;
}

.header-search-holder {
  position: absolute;
  left: 0px;
  width: 100%;
  background: #a9e1d1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  height: 0px;
  transition: all 0.4s ease-in-out;
}

.header-search-holder.open {
  height: 60px;
  pointer-events: auto;
  opacity: 1;
}

.close-search {
  float: right;
  display: block;
  line-height: 40px;
  width: 40px;
  border-radius: 50%;
  color: #000000;
  background: #ffffff;
  text-decoration: none;
  margin: 10px 120px 10px 0;
}

.close-search:hover {
  text-decoration: none;
}

.header-search {
  background: #ffffff;
  border-radius: 20px;
  line-height: 40px;
  width: 250px;
  display: inline-block;
  margin: 10px 0;
}

.header-search input {
  border: 0;
  outline: none;
  padding: 0;
  background: none;
  padding-left: 15px;
  width: 200px;
}

.header-search button {
  color: #0078ae;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

.site-logo {
  text-align: center;
  margin: 0px 0;
}

.banner-container {
background-image: url("images/header-banner-2000-5.jpg");
   /* Center and scale the image nicely */
   background-position: center  !important;
   background-repeat: no-repeat   !important;
   background-size: cover   !important;
}

.site-logo img {
  display: inline-block;
}

.blog-header-image {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header-image img {
  max-width: 1200px;
  width: 100%;
}

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header-image .cycle-slideshow {
  margin: 0 auto;
  max-width: 1200px;
}

.blog-header-image .cycle-slideshow img {
}

.blog-header-image .cycle-prev,
.blog-header-image .cycle-next {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 500;
}

.blog-header-image .cycle-next {
  left: auto;
  right: 0px;
}

.cycle-pager {
  margin: 10px 0;
  text-align: center;
  z-index: 500;
}

.cycle-pager span {
  color: transparent;
  border: 2px solid #0078ae;
  width: 15px;
  height: 15px;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 15px;
}

.cycle-pager span.cycle-pager-active {
  background-color: #0078ae;
}

.image-slide {
}

.image-slide img {
  display: block;
}

.image-slide .overlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 500;
  text-align: center;
  padding: 40px 0;
  background: rgb(2, 0, 36);
  background: linear-gradient(
    0deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(0, 0, 0, 0.7987570028011204) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.image-slide .overlay h2 {
  color: #ffffff;
  text-shadow: 0 0 2px #000000;
}

.made-in-cornwall {
  padding: 10px 0;
  background-color: #f0a43b;
  text-align: center;
  display: none;
}

.made-in-cornwall a {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.made-in-cornwall a:hover {
  text-decoration: none;
}

.banner-holder {
  position: relative;
}

.search-link {
  color: #ffffff;
  line-height: 50px;
  display: block;
  width: 50px;
}

.made-in-cornwall-banner {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 5000;
}

.made-in-cornwall-banner img {
  width: 125px;
}

.blog-side {
}

.blog-content {
  float: right;
  width: 100%;
}

body.home .blog-content {
  float: none;
  width: auto;
}

.sidebar h4 {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 16px;
  color: #000000;
  font-weight: 400;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar ul a {
  display: block;
}

.sidebar ul a:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f178";
  float: right;
  margin-right: 10px;
  transition: margin 0.3s ease-in-out;
}

.sidebar ul a:hover {
  text-decoration: none;
}

.sidebar ul a:hover:after {
  margin-right: 0px;
}

.sidebar ul.children {
  margin-left: 20px;
}

.blog-content .type-post {
  border-bottom: 1px solid #cfcfcf;
  margin-bottom: 20px;
}

.blog-content .type-post .storycontent {
  padding: 0 10px;
}

.blog-content .type-post .storycontent .news-height {
  min-height: 168px;
}

.blog-content .type-post h3 {
  margin-bottom: 0;
  min-height: 90px;
}

.blog-content .type-post .meta {
  text-transform: uppercase;
  color: #09ba8f;
}

.blog-content .type-post .meta a {
  color: #09ba8f;
}

.blog-content .type-post a:hover {
  text-decoration: none;
}

.blog-content .cycle-pager {
  position: relative;
  bottom: auto;
  margin: 20px 0;
}

.blog-post {
  margin: 0 80px;
}

.blog-post .meta {
  color: #000000;
  font-weight: 400;
  text-transform: uppercase;
}

.blog-post .meta a {
  color: #000000;
}

.search-bar {
  background: #0078ae;
  margin: 20px 0;
  text-align: center;
  display: none;
}

.search-bar h3 {
  display: inline-block;
  margin: 0;
  line-height: 50px;
  color: #ffffff;
  padding: 0 10px;
}

.search-bar .header-search {
  float: none;
  display: inline-block;
  padding: 0 10px;
}

.search-header input {
  line-height: 42px;
  font-size: 16px;
  display: inline-block;
  padding: 0 15px;
  border: 1px solid #666;
  margin-right: 10px;
}

.shop-side {
  text-align: center;
}

.tax-shop_category .shop-items {
  width: 720px;
  float: right;
}

.shop-items .type-shop {
  text-align: center;
  margin-bottom: 20px;
}

.type-shop h3 {
  margin: 0;
  min-height: 60px;
}

.type-shop .the-category {
  min-height: 30px;
  display: block;
}
.no-mobile .type-shop h3 {
  min-height: 60px;
}

.type-shop h3 a {
  font-weight: 200;
  color: #000000;
}

.type-shop h3 a:hover {
  text-decoration: none;
}

.type-shop .the-category a {
  color: #000000;
  font-weight: 400;
  text-transform: uppercase;
}

.type-shop .the-category a:hover {
  text-decoration: none;
}

.shop-page .shop-title {
  margin-bottom: 20px;
  min-height: 150px;
}

.shop-page .shop-title .meta {
  margin-top: 15px;
}

.shop-page .shop-title .shop-logo {
  margin-bottom: 20px;
}

.shop-page .shop-title .shop-logo img {
  display: block;
  width: 100%;
}

.shop-page h1 {
  margin: 0;
}

.shop-page .cycle-slideshow {
  margin: 10px;
}

.gallery-main {
  margin: 10px;
  display: block;
  box-sizing: border-box;
  width: calc(100% - 20px);
}

.gallery {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.gallery a {
  display: block;
  margin: 10px;
  float: left;
  width: calc(33.333% - 20px);
}

.gallery a img {
  display: block;
  width: 100%;
}

.featured-header {
  margin-bottom: 20px;
}

.featured-header img {
  display: block;
}

.products-block {
  margin-bottom: 40px;
}

.product-slide {
  width: 100%;
}

.shop-items .cycle-pager {
  position: relative;
  bottom: auto;
  margin: 20px 0;
}

.featured-content {
  margin: 40px 0;
}

.featured-content .feature-slide {
  position: relative;
}

.featured-content .feature-slide .center-up {
  position: absolute;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  width: 42%;
}

.featured-content .cycle-prev,
.featured-content .cycle-next {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 500;
}

.featured-content .cycle-next {
  left: auto;
  right: 0px;
}

.featured-content .cycle-pager span,
.shop-items .cycle-pager span,
.blog-content .cycle-pager span {
  border-color: #0078ae;
}

.featured-content .cycle-pager span.cycle-pager-active,
.shop-items .cycle-pager span.cycle-pager-active,
.blog-content .cycle-pager span.cycle-pager-active {
  background: #0078ae;
}

.mobile-css .featured-content .cycle-pager {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin-top: 20px;
}

.maker {
  margin: 40px 0 0px 0;
  padding: 40px 0;
  background: #f3f3f4;
}

.maker img {
  float: right;
  margin-left: 20px;
  width: 300px;
}

.social {
  margin-bottom: 20px;
}

.social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #0078ae;
  color: #ffffff;
  line-height: 30px;
  text-align: center;
  margin: 5px;
  transition: background 0.2s ease-in-out;
}

.social a:hover {
  background: #dbe6f1;
  color: #000000;
}

#lct-widget-shop_category > li.cat-item {
  display: none;
}

#lct-widget-shop_category > li.current-cat,
#lct-widget-shop_category > li.current-cat-parent {
  display: block;
}

footer {
  background: #a9e1d1;
  padding: 40px 0 20px 0;
  margin: 80px 0 40px 0;
}

.single-shop footer {
  margin-top: 0px;
}

footer h4 {
  color: #000000;
}

footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

footer a {
  color: #000000;
}

footer .signup input[type="text"] {
  background: #ffffff;
  border-radius: 20px;
  padding: 0 10px;
  line-height: 42px;
  margin-top: 5px;
  display: block;
  margin-bottom: 10px;
  border: none;
  outline: none;
}

footer .copy {
  font-size: 10px;
}

.wp-coupons-coupon-panel a.coupon-link {
  font-weight: bold;
}

#wp-coupons-ctr-popup #wp-coupons-ctr-discount-url {
  font-size: 20px;
  font-weight: bold;
}

@media all and (min-width: 980px) {
  .mobile {
    display: none;
  }
}
@media all and (max-width: 980px) and (min-width: 672px) {
  .full {
    display: none;
  }
  .mobile {
    display: none;
  }

  header nav ul#menu-header-nav > li > a {
    font-size: 12px;
    padding: 0 8px;
  }

  .tax-shop_category .shop-items {
    width: 74%;
  }

  .blog-content {
    width: 75%;
  }

  .blog-content .grid_3 {
    width: 32.5%;
  }
}
@media all and (max-width: 672px) {
  .full,
  .no-mobile {
    display: none;
  }
  .mobile {
    display: block;
  }

  .tax-shop_category .shop-items {
    width: 100%;
  }

  header nav {
    text-align: center;
  }

  header .nav-btn {
    display: inline-block;
  }

  header .nav-btn span {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
    display: block;
  }

  header .nav-btn.active .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }

  header .nav-btn.active .bar2 {
    opacity: 0;
  }

  header .nav-btn.active .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

  header nav #menu-header-nav {
    display: none;
  }

  header nav ul li {
    float: none;
    display: block;
  }

  .search-link {
    position: absolute;
    top: -50px;
  }
  .close-search {
    margin: 10px 0;
  }
  .header-search {
  }

  .made-in-cornwall-banner {
    display: none;
  }

  .made-in-cornwall {
    display: block;
  }

  .blog-header-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  .wp-block-spacer {
    height: 40px !important;
  }

  h1 {
    font-size: 30px;
    line-height: 38px;
  }

  h2 {
    font-size: 22px;
    line-height: 30px;
  }

  h3 {
    font-size: 18px;
    line-height: 25px;
  }

  .featured-content .feature-slide .center-up {
    position: relative;
    height: auto;
    width: auto;
    display: block;
  }

  .blog-content {
    float: none;
    width: auto;
  }

  .thumb img {
    width: 100%;
  }

  .blog-post {
    margin: 0;
  }

  .search-bar .header-search {
    margin-bottom: 20px;
  }

  .maker img {
    width: 150px;
  }

  footer .grid_3 {
    margin-bottom: 40px;
  }
}
@media all and (max-width: 380px) {
}
