/*
Theme Name: Chef School
Theme URI:
Description: Custom theme for 1000 Hills Chef School by the hideously clever Brand Candy crew.
Author: Brand Candy
Author URI: http://www.brandcandy.co.za
Version: 1.6.2
License:
License URI:
Text Domain: brandcandy
*/
/*general*/
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Muli', sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6em;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
}
img.aligncenter {
  clear: both;
  display: block;
  margin: auto;
  padding: 10px;
}
img.alignright {
  display: block;
  float: right;
  padding: 10px 0px 10px 10px;
}
@media screen and (max-width: 800px) {
  img.alignright {
    clear: both;
    float: none;
    margin: auto;
    padding: 10px;
  }
}
img.alignleft {
  display: block;
  float: left;
  padding: 10px 10px 10px 0px;
}
@media screen and (max-width: 800px) {
  img.alignleft {
    clear: both;
    float: none;
    margin: auto;
    padding: 10px;
  }
}
.wp-caption {
  border: 0;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #911c27;
  cursor: pointer;
}
a:visited {
  color: #911c27;
}
a:hover {
  color: #333;
}
a:active {
  color: #911c27;
}
a.bcbutton,
input#mc-embedded-subscribe,
#mc_embed_signup .button {
  color: #fff !important;
  background: #911c27 !important;
  border: 2px solid #911c27 !important;
  padding: 10px 20px !important;
  transition: all 1s ease !important;
  border-radius: 8px !important;
}
a.bcbutton:hover,
input#mc-embedded-subscribe:hover,
#mc_embed_signup .button:hover{
  background: #fff !important;
  color: #911c27 !important;
  transition: all 1s ease !important;
}


input#mc-embedded-subscribe,
#mc_embed_signup .button{
  line-height: 26px !important;
}
ul,
ol {
  margin: 0 0 10px 0;
}
li {
  margin-bottom: 20px;
}
strong {
  font-weight: bold;
}
iframe {
  width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.2em;
  color: #911c27;
  margin: 0px 0px 20px 0px;
}
h1.black,
h2.black,
h3.black,
h4.black,
h5.black,
h6.black {
  color: #333;
}
h1.white,
h2.white,
h3.white,
h4.white,
h5.white,
h6.white {
  color: #fff;
}
.white {
  color: #fff;
}
.white:hover {
  color: #911c27 !important;
}
.white:visited {
  color: #fff;
}
.accordion ul {
  text-align: left;
}
.accordion .white {
  color: #fff;
}
.accordion .white:hover {
  color: #fff !important;
}
.accordion .white:visited {
  color: #fff;
}
h1 {
  font-size: 32px;
}
h1.pagetitle {
  font-size: 28px;
  margin: 0px;
  box-sizing: border-box;
  background: no-repeat center center;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  background-attachment: fixed;
}
h1.pagetitle .wrapper {
  padding: 50px 20px 20px 20px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
hr {
  background-color: none;
  border: 1px dashed #ccc;
  border-style: none none dashed;
  color: none;
}
.textcenter {
  text-align: center;
}
.clear {
  clear: both;
}
.wrapper {
  width: 1040px;
  max-width: 100%;
  margin: auto;
  padding: 20px 20px 50px 20px;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}

.page-id-15920 .tpbackground .wrapper {
	padding: 75px 20px !important;
}

@media screen and (max-width: 1000px) {
  .wrapper {
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.9);
    max-width: 90% !important;
    width: 90% !important;
  }
}
.tpbackground .wrapper {
  background: rgba(255,255,255,0.8);
}
input[type='text'],
input[type='email'],
input[type='password'],
textarea,
select {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1em 2em !important;
  font-size: 1em;
}
input[type='text'] option,
input[type='email'] option,
input[type='password'] option,
textarea option,
select option {
  padding: 1em 2em !important;
}
input[type='submit'],
button {
    padding: 8px 32px 8px 32px;
    border: 0;
    background-color: #911c27;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}
input[type='submit']:hover,
button:hover {
  background-color: #fff;
  color: #911c27;
}
/*WP Core Style*/
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
.sticky {
  display: block;
}
.bypostauthor {
  display: block;
}
.gallery-caption {
  display: block;
}
/*header*/
#header {
  background: #eee;
}
#header .wrapper {
  padding: 20px 20px;
  overflow: visible;
  background: transparent;
  width: 100% !important;
  max-width: 1040px;
  box-sizing: border-box;
}
@media only screen and (max-width: 1000px) {
  #header .wrapper {
    max-width: 100% !important;
  }
}
#header-bar,
#header-menu-bar {
  background: #ddd;
}
#header-bar .wrapper,
#header-menu-bar .wrapper {
  padding: 0;
  overflow: visible;
}
@media only screen and (max-width: 500px) {
  #header.header-1 #logo {
    margin-right: 0;
    text-align: center;
  }
  #header-right-content {
    position: relative;
    margin-top: 20px;
  }
}
.scrolled #header {
  position: fixed;
  width: 100%;
  z-index: 9999;
	top: 0;
}
.scrolled #header #logo {
  display: inline-block !important;
  vertical-align: middle;
}
.header-1 #menu-wrapper {
  width: calc(100% - 106px);
  display: inline-block;
  vertical-align: bottom;
  text-align: right;
}
.header-1 #menu-wrapper ul {
  margin: 0;
  padding: 0;
}
.header-1 #menu-wrapper ul li {
  display: inline-block;
  list-style: none;
  margin-bottom: 0;
  position: relative;
}
.header-1 #menu-wrapper ul li a {
  padding: 10px 12.5px;
  display: block;
  font-size: 15px;
}
.header-1 #menu-wrapper ul li a:hover {
  -webkit-transition-duration: 300ms;
  -moz-transition-duration: 300ms;
  -o-transition-duration: 300ms;
  transition-duration: 300ms;
}
@media screen and (max-width: 850px) {
  .header-1 #menu-wrapper ul li a {
    padding: 8px 7px;
    display: block;
    font-size: 14px;
  }
}
.header-1 #menu-wrapper ul li:hover ul.sub-menu {
  display: block;
}
.header-1 #menu-wrapper ul li.current-menu-item a {
  color: #333;
}
.header-1 #menu-wrapper ul .sub-menu {
  position: absolute;
  z-index: 999;
  background-color: rgba(255,255,255,0.9);
  width: 300px;
  min-width: 100%;
  left: 0%;
  display: none;
}
.header-1 #menu-wrapper ul .sub-menu li {
  width: 100%;
}
.header-1 #menu-wrapper ul .sub-menu li a {
  width: 100%;
  display: inline-block;
  text-align: left;
  padding: 5px 20px !important;
}
#responsivemenu {
  display: none;
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 999;
}
#responsivemenu:hover {
  cursor: pointer;
}
#responsivemenu.active {
  overflow-y: scroll;
  height: 100%;
}
#responsivemenu #menubutton {
  padding: 1em 1em;
  background: #911c27;
  color: #fff;
  text-align: right;
  font-size: 16px;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
#responsivemenu #menubutton span {
  float: right;
}
#responsivemenu #hiddenmenu {
  display: none;
  background: #eee;
  padding-bottom: 50px;
}
#responsivemenu #hiddenmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#responsivemenu #hiddenmenu ul li {
  margin-bottom: 0;
}
#responsivemenu #hiddenmenu ul li a {
  display: block;
  padding: 0.5em 2em;
  border-bottom: 1px solid #ddd;
}
#responsivemenu #hiddenmenu ul li ul {
  padding-left: 20px;
}
@media only screen and (max-width: 768px) {
  #menu-wrapper,
  #header {
    display: none !important;
  }
  #responsivemenu {
    display: block;
  }
  #responsivemenu #logo {
    display: block !important;
    text-align: center;
    background: #fff;
    padding-top: 5px;
  }
}
.scrolled #menu-wrapper {
  width: calc(100% - 280px);
  vertical-align: middle;
}
.scrolled .sm_wrapper {
  vertical-align: middle;
}
.scrolled #responsivemenu #logo {
  display: none !important;
}

header

/*banner*/
.cs_banner {
  display: flex !important;
  min-height: 60% !important;
  background-color: #911c27 !important;
}

@media screen and (max-width: 900px) {
  .cs_banner {
    min-height: 40%;
  }
}
@media screen and (max-width: 768px) {
  .cs_banner {
    margin-top: 111px;
  }
}
.cs_banner .thirty {
  width: 40%;
  float: left;
  display: block;
  background-size: cover;
  background-position: center;
  text-align: center;
  box-sizing: border-box;
  padding: 20px 0px;
}
.cs_banner .thirty.middle {
  width: 50%;
  max-width: 502px;
  min-width: 300px;
}
.cs_banner .thirty .spaceme {
  display: inline-block;
  height: 100%;
  width: 1px;
  vertical-align: bottom;
}
@media (max-width: 600px) {
  .cs_banner .thirty .spaceme {
    vertical-align: middle;
}
.cs_banner .thirty .thelogo a.button {
  max-width: 130px;
}
}

.cs_banner .thirty .thelogo {
  width: 90%;
  display: inline-block;
  vertical-align: middle;
  padding-right: 5px;
}
.cs_banner .thirty .thelogo img {
  width: 200px;
  display: inline-block;
}
.cs_banner .thirty .thelogo a.button {
  display: block;
  margin: 10px auto 0px auto;
  max-width: 200px;
  background-color: #911c27;
  border: 2px solid #911c27;
}
.cs_banner .thirty .thelogo a.button:hover {
  background: #fff;
}
/*category*/
.post-date {
  font-size: 0.8em;
  font-style: italic;
}
.post-readmore {
  text-transform: uppercase;
  font-weight: bold;
}
/*single*/
.comments-wrapper {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
}
.comments-wrapper ol.commentlist {
  list-style: none;
  padding: 0;
}
.comments-wrapper ol.commentlist li {
  padding: 40px 0 40px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
}
.comments-wrapper ol.commentlist li ul.children li {
  list-style: none;
  padding: 40px 0 0 30px;
  margin-bottom: 0;
  border-bottom: 0;
}
.comments-wrapper ol.commentlist cite.fn {
  font-style: normal;
}
.comments-wrapper ol.commentlist .comment-meta {
  font-size: 0.8em;
  font-style: italic;
}
.comments-wrapper label {
  display: block;
}
.comments-wrapper input[type="text"],
.comments-wrapper input[type="email"],
.comments-wrapper textarea {
  margin-bottom: 20px;
  width: 94%;
}
/*columns - column widths for categories, galleries, blog feeds, etc.*/
.full {
  float: left;
  width: 100%;
}
.half {
  float: left;
  width: calc(50% - 10px);
  margin: 0px 20px 20px 0px;
  box-sizing: border-box;
}
.half:nth-child(2n+2) {
  margin-right: 0;
}
@media screen and (max-width: 600px) {
  .half {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 40px;
  }
}
.third {
  float: left;
  width: calc(33% - 12px);
  margin-right: 20px;
  box-sizing: border-box;
}
.third:nth-child(3n+3) {
  margin-right: 0;
}
@media screen and (max-width: 800px) {
  .third {
    width: 100%;
    max-width: 500px;
    float: none;
    margin: 0px auto 40px auto !important;
  }
}
.quarter {
  float: left;
  width: calc(25% - 15px);
  margin-right: 20px;
  box-sizing: border-box;
}
.quarter:nth-child(4n+4) {
  margin-right: 0;
}
.quarter:nth-child(4n+1) {
  clear: left;
}
@media screen and (max-width: 1000px) {
  .quarter {
    width: calc(50% - 10px);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .quarter:nth-child(2n+2) {
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .quarter {
    width: 100%;
    margin-right: 0px;
  }
}
.fifth {
  width: calc(20% - 8px);
  float: left;
  margin-right: 10px;
}
.fifth:nth-child(5n+5) {
  margin-right: 0;
}
@media screen and (max-width: 900px) {
  .fifth {
    width: 90%;
    float: none;
    margin-right: auto;
    margin-left: auto;
    max-width: 500px;
    margin-bottom: 10px;
  }
  .fifth:nth-child(5n+5) {
    margin-right: auto;
  }
}
.sixth {
  float: left;
  width: calc(17% - 15px);
  margin-right: 10px;
  display: block;
  position: relative;
  padding-top: calc(17% - 15px);
}
.sixth:nth-child(6n+6) {
  margin-right: 0;
}
@media only screen and (min-width: 1900px) {
  .sixth {
    width: calc(17% - 18px);
    padding-top: calc(17% - 18px);
  }
}
@media only screen and (max-width: 1600px) {
  .sixth {
    width: calc(17% - 14px);
    padding-top: calc(17% - 14px);
  }
}
@media only screen and (max-width: 1400px) {
  .sixth {
    width: calc(17% - 13px);
    padding-top: calc(17% - 13px);
  }
}
@media only screen and (max-width: 1100px) {
  .sixth {
    width: calc(17% - 12px);
    padding-top: calc(17% - 12px);
  }
}
@media only screen and (max-width: 900px) {
  .sixth {
    width: 32.666%;
    margin-right: 1%;
    margin-bottom: 1%;
    padding-top: 28%;
  }
  .sixth:nth-child(6n+6) {
    margin-right: 1%;
  }
  .sixth:nth-child(3n+3) {
    margin-right: 0;
  }
}
@media only screen and (max-width: 550px) {
  .sixth {
    width: 98%;
    margin: 0% 1%;
    margin-bottom: 1%;
    padding-top: 50%;
  }
}
.onethreequart {
  float: left;
  margin-right: 20px;
  padding: 20px;
  box-sizing: border-box;
}
.onethreequart:nth-child(odd) {
  width: calc(30% - 10px);
  clear: left;
}
@media screen and (max-width: 800px) {
  .onethreequart:nth-child(odd) {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
  }
}
.onethreequart:nth-child(even) {
  margin-right: 0px;
  width: calc(70% - 10px);
}
@media screen and (max-width: 800px) {
  .onethreequart:nth-child(even) {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
  }
}
.threeonequart {
  float: left;
  margin-right: 20px;
  padding: 20px;
  box-sizing: border-box;
}
.threeonequart:nth-child(even) {
  width: calc(30% - 10px);
  margin-right: 0px;
}
@media screen and (max-width: 800px) {
  .threeonequart:nth-child(even) {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
  }
}
.threeonequart:nth-child(odd) {
  clear: left;
  width: calc(70% - 10px);
}
@media screen and (max-width: 800px) {
  .threeonequart:nth-child(odd) {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 40px;
  }
}
.gallery:hover > a .overlay,
.image_cta:hover > a .overlay {
  opacity: 1;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}
.overlay {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(244,179,33,0.8);
  line-height: 1.6em;
  color: #fff;
  text-align: center;
  font-size: 0.9em;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}
.overlay .alignitup {
  margin: 0;
  width: 80%;
  height: auto;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.overlay .alignitup span {
  display: block;
  vertical-align: middle;
  font-size: 30px;
  position: relative;
  margin-bottom: 5px;
}
.image_cta:hover.fifth {
  padding-top: calc(20% - 28px);
}
.image_cta:hover .overlay {
  opacity: 1;
  position: absolute;
  height: 100%;
  font-size: 22px;
}
.nooverlay.imgcta p {
  background-color: transparent !important;
}
.nooverlay .image_cta:hover {
  opacity: 0.8;
}
.imgcta.fullwidth .full p {
  width: 100%;
  padding: 15px 0px;
}
.full.post {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
}
.full.post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.full-width-panel.fullwidth .post {
  padding: 40px 40px;
  box-sizing: border-box;
}
.category-posts-wrap .post {
  text-align: left;
}
.post-featured-image {
  line-height: 0px;
}
.post-excerpt {
  overflow: hidden;
}
.post-excerpt h4 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.post-excerpt .excerpt {
  overflow: hidden;
}
.post-excerpt .excerpt p {
  margin-bottom: 10px;
}
@media screen and (max-width: 500px) {
  .gallery {
    text-align: center;
  }
}
.gallery .third {
  float: left;
  width: calc(33% - 12px);
  margin-right: 20px;
  box-sizing: border-box;
}
.gallery .third:nth-child(3n+3) {
  margin-right: 0;
}
@media screen and (max-width: 800px) {
  .gallery .third {
    margin-right: 20px !important;
  }
  .gallery .third:nth-child(3n+3) {
    margin-right: 0 !important;
  }
}
@media screen and (max-width: 500px) {
  .gallery .third {
    width: 80%;
    max-width: 500px;
    float: none;
    margin: 0px auto 40px auto !important;
  }
}
.jr-insta-thumb ul.thumbnails {
  margin-left: -1% !important;
}
.jr-insta-thumb ul.thumbnails li {
  min-width: 24% !important;
  margin: 0 0 1% 1% !important;
  background: #fff !important;
}
.jr-insta-thumb ul.thumbnails li:hover img {
  opacity: 0.7;
}
.img-cta-wrap {
  width: 100%;
  display: block;
  overflow: hidden;
}
.full.image_cta {
  padding-top: 35%;
}
.half.image_cta {
  min-height: 40vh;
}
.third.image_cta {
  padding-top: 23%;
}
.quarter.image_cta {
  float: left;
  width: calc(25% - 8px);
  margin-right: 10px;
  padding-top: 18%;
}
.quarter.image_cta:nth-child(4n+4) {
  margin-right: 0;
}
@media screen and (max-width: 1000px) {
  .quarter.image_cta {
    width: calc(50% - 5px);
    margin-right: 10px;
    padding-top: 35%;
  }
  .quarter.image_cta:nth-child(2n+2) {
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .quarter.image_cta {
    width: 100%;
    margin-right: 0px;
    padding-top: 50%;
  }
}
.full .quarter.image_cta {
  padding-top: 15%;
}
.fifth.image_cta {
  padding-top: 15%;
}
.image_cta {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.image_cta img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  transform: scale3d(1, 1, 1);
  -webkit-transform: scale3d(1, 1, 1);
}
.image_cta:hover > a img {
  transition: all 1.5s ease-in-out;
  -webkit-transition: all 1.5s ease-in-out;
  transform: scale3d(1.1, 1.1, 1);
  -webkit-transform: scale3d(1.1, 1.1, 1);
}
.image_cta {
  background-size: cover;
  background-position: center;
}
.image_cta.fifth {
  padding-top: calc(20% - 28px);
}
@media screen and (max-width: 900px) {
  .image_cta.fifth {
    padding-top: 50%;
  }
}
.full-width-panel.full.imgcta {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0px;
}
.full-width-panel.full.imgcta p {
  width: 90%;
}
.full-width-panel.full .image_cta {
  margin-bottom: 0px;
}
.imagertop img.imager {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.imagerleft img.imager {
  display: block;
  float: left;
  width: 90px;
}
@media screen and (max-width: 770px) {
  .imagerleft img.imager {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 600px) {
  .imagerleft img.imager {
    float: left;
  }
}
@media screen and (max-width: 420px) {
  .imagerleft img.imager {
    float: none;
  }
}
.imagerleft .blockwrap {
  width: calc(100% - 90px);
  display: block;
  float: left;
  padding-left: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 770px) {
  .imagerleft .blockwrap {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .imagerleft .blockwrap {
    width: calc(100% - 90px);
  }
}
@media screen and (max-width: 420px) {
  .imagerleft .blockwrap {
    width: 100%;
  }
}
.imagerright img.imager {
  display: block;
  float: right;
  width: 90px;
}
@media screen and (max-width: 770px) {
  .imagerright img.imager {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (max-width: 600px) {
  .imagerright img.imager {
    float: right;
  }
}
@media screen and (max-width: 420px) {
  .imagerright img.imager {
    float: none;
  }
}
.imagerright .blockwrap {
  width: calc(100% - 90px);
  display: block;
  float: left;
  padding-left: 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 770px) {
  .imagerright .blockwrap {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .imagerright .blockwrap {
    width: calc(100% - 90px);
  }
}
@media screen and (max-width: 420px) {
  .imagerright .blockwrap {
    width: 100%;
  }
}
.quarter.member {
  float: left;
  width: calc(25% - 8px);
  margin-right: 10px;
  margin-bottom: 10px;
}
.quarter.member:nth-child(4n+4) {
  margin-right: 0;
}
@media screen and (max-width: 1000px) {
  .quarter.member {
    width: calc(50% - 5px);
    margin-right: 10px;
    margin-bottom: 10px;
  }
  .quarter.member:nth-child(2n+2) {
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .quarter.member {
    width: 100%;
    margin-right: 0px;
  }
}
.half.vhblocks {
  float: none;
  width: 49.8%;
  margin-right: 0px;
  margin-bottom: 0px;
  display: inline-block;
  padding: 20px 20px;
  vertical-align: middle;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 1170px) {
  .half.vhblocks {
    width: 49.7%;
  }
}
@media screen and (max-width: 800px) {
  .half.vhblocks {
    width: 100%;
    margin-right: 0px;
  }
}
.full-width-panel.fullwidth .half.vhblocks {
  width: 50%;
  padding: 20px 50px;
}
.full-width-panel.fullwidth .half.vhblocks p:last-child {
  margin-bottom: 10px;
}
@media screen and (max-width: 800px) {
  .full-width-panel.fullwidth .half.vhblocks {
    width: 100%;
    margin-right: 0px;
    min-height: 300px;
  }
}
.vhblock-wrap {
  display: flex;
}
.ptb10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.pt10 {
  padding-top: 10px;
}
.pb10 {
  padding-bottom: 10px;
}
.ptb20 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.pt20 {
  padding-top: 20px;
}
.pb20 {
  padding-bottom: 20px;
}
.ptb30 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.pt30 {
  padding-top: 30px;
}
.pb30 {
  padding-bottom: 30px;
}
.ptb40 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.pt40 {
  padding-top: 40px;
}
.pb40 {
  padding-bottom: 40px;
}
.mtb10 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.mt10 {
  margin-top: 10px;
}
.mb10 {
  margin-bottom: 10px;
}
.mtb20 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.mt20 {
  margin-top: 20px;
}
.mb20 {
  margin-bottom: 20px;
}
.mtb30 {
  margin-top: 30px;
  margin-bottom: 30px;
}
.mt30 {
  margin-top: 30px;
}
.mb30 {
  margin-bottom: 30px;
}
.mtb40 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.mt40 {
  margin-top: 40px;
}
.mb40 {
  margin-bottom: 40px;
}
.nopad {
  padding: 0px;
}
.matchheight .category-posts-wrap,
.matchheight .img-cta-wrap,
.matchheight .vhblock-wrap {
  display: flex;
  flex-flow: row wrap;
}
/*-- Blog Feed Home --*/
.blog-feed-home h2.rowtitle {
  text-align: center;
}
.blog-feed-home .home-post {
  margin-top: 20px;
  display: flex;
}
@media screen and (max-width: 700px) {
  .blog-feed-home .home-post {
    display: block;
  }
}
.blog-feed-home .home-post .post-featured-image {
  display: inline-block;
  vertical-align: top;
  width: 360px;
  padding: 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 800px) {
  .blog-feed-home .home-post .post-featured-image {
    width: 280px;
  }
}
@media screen and (max-width: 700px) {
  .blog-feed-home .home-post .post-featured-image {
    width: 100%;
    text-align: center;
  }
}
.blog-feed-home .home-post .post-excerpt {
  display: inline-block;
  width: calc(100% - 365px);
  vertical-align: top;
  padding: 30px 20px 0px 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 800px) {
  .blog-feed-home .home-post .post-excerpt {
    width: calc(100% - 285px);
  }
}
@media screen and (max-width: 700px) {
  .blog-feed-home .home-post .post-excerpt {
    width: 100%;
  }
}
.blog-feed-home .home-post .post-excerpt h4 {
  margin: 0px;
}
.blog-feed-home .home-post .post-excerpt p {
  margin: 0px;
}
.blog-feed-home .home-post:first-child {
  margin-top: 0px;
}
.blog-feed-home .home-post:nth-child(even) {
  flex-direction: row-reverse;
}
.blog-feed-home .home-post:nth-child(even) .post-featured-image img {
  -webkit-box-shadow: 15px 15px 0px 0px #900;
  -moz-box-shadow: 15px 15px 0px 0px #900;
  box-shadow: 15px 15px 0px 0px #900;
}
.blog-feed-home .home-post:nth-child(odd) .post-featured-image img {
  -webkit-box-shadow: -15px -15px 0px 0px #900;
  -moz-box-shadow: -15px -15px 0px 0px #900;
  box-shadow: -15px -15px 0px 0px #900;
}
/*newsletter panel*/
.newsletter-signup .wrapper h2 {
  text-align: center;
}
.newsletter-signup .wrapper .gform_wrapper {
  width: 70%;
  margin: auto;
}
@media only screen and (max-width: 768px) {
  .newsletter-signup .wrapper .gform_wrapper {
    width: 80%;
  }
}

/*Flexi Blog Feed panel*/
.pagenav {
  width: 100%;
  display: block;
  overflow: hidden;
}
.pagenav a {
  border-top: 2px solid;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
  display: block;
}
.pagenav .alignleft {
  width: 50%;
  float: left;
  text-align: center;
  box-sizing: border-box;
}
.pagenav .alignright {
  width: 50%;
  float: right;
  text-align: center;
  box-sizing: border-box;
}
.pagenav span {
  font-size: 20px;
  line-height: 20px;
  display: inline-block;
  vertical-align: middle;
}
/*Accordion */
.accordion {
  background: #898989;
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}
.accordion:hover {
  background: #757575;
}
.accordion .acc_title {
  margin: 10px 0px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}
.accordion .acc_title .fa-chevron-up {
  display: none;
}
.accordion .acc_title:hover {
  cursor: pointer;
}
.accordion .acc_text {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  max-height: 0px;
  transition: all 1s ease;
  overflow: hidden;
}
.accordion .acc_text * {
  color: #fff;
}
.accordion.active {
  background: #911c27;
}
.accordion.active .acc_title .fa-chevron-up {
  display: inline-block;
}
.accordion.active .acc_title .fa-chevron-down {
  display: none;
}
.accordion.active .acc_text {
  max-height: 3400px;
  transition: all 1s ease;
}
/*full width panel*/
.full-width-panel {
  background: no-repeat center center;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  background-attachment: fixed;
  width: 100%;
  overflow: hidden;
}
.full-width-panel.notfull {
  width: 100%;
  max-width: 1040px;
  margin: auto;
}
.full-width-panel.notfull .wrapper {
  overflow: hidden;
  padding: 5px 0px 5px 0px;
}
.full-width-panel.notfull .wrapper h2.rowtitle {
  margin-bottom: 0px;
}
.full-width-panel.contentpanel {
  text-align: center;
}
.full-width-panel.narrow .wrapper {
  width: 600px;
}
.full-width-panel.medium .wrapper {
  width: 100%;
  max-width: 900px;
}
@media screen and (max-width: 900px) {
  .full-width-panel.medium .wrapper {
    padding: 20px;
    box-sizing: border-box;
  }
}
.full-width-panel.nopad .wrapper {
  padding: 0px;
  overflow: hidden;
}
.full-width-panel.border-top .wrapper {
  border-top: 2px solid;
}
.full-width-panel.border-bottom .wrapper {
  border-bottom: 2px solid;
}
.full-width-panel.gallery a:nth-child(3n+1) img {
  -webkit-box-shadow: -15px -15px 0px 0px #900;
  -moz-box-shadow: -15px -15px 0px 0px #900;
  box-shadow: -15px -15px 0px 0px #900;
}
.full-width-panel.gallery a:nth-child(1n+3) img {
  -webkit-box-shadow: 15px 15px 0px 0px #900;
  -moz-box-shadow: 15px 15px 0px 0px #900;
  box-shadow: 15px 15px 0px 0px #900;
}
.full-width-panel.fullwidth .wrapper {
  width: 100%;
  max-width: 100%;
  padding: 50px 25px;
  box-sizing: border-box;
}
.page_wrap {
  padding-top: 50px;
}
@media screen and (max-width: 1000px) {
  .page_wrap {
    padding: 20px;
  }
}
.pt_active .full-width-panel:first-child .wrapper {
  padding-top: 0px;
}
/*-- Quote Block */
.quoteblock .wrapper {
  width: 100%;
  max-width: 900px;
  border: 2px solid #ccc;
  padding: 0px;
}
@media screen and (max-width: 920px) {
  .quoteblock .wrapper {
    width: 90%;
  }
}
.quoteblock .wrapper .quoteblockwrapper {
  background-color: rgba(233,233,233,0.8);
  text-align: center;
  padding: 30px;
  box-sizing: border-box;
  margin: 10px;
}
@media screen and (max-width: 920px) {
  .quoteblock .wrapper .quoteblockwrapper {
    padding: 10px;
    margin: 5px;
  }
}
.quoteblock .wrapper .quoteblockwrapper .quote {
  font-family: 'Over the Rainbow', cursive;
  width: 90%;
  max-width: 600px;
  display: inline-block;
  font-size: 18px;
}
@media screen and (max-width: 920px) {
  .quoteblock .wrapper .quoteblockwrapper .quote {
    font-size: 16px;
  }
}
.quoteblock .wrapper .quoteblockwrapper .author {
  font-size: 14px;
}
/*-- Icon Blocks */
.iconleft .icon_wrap {
  display: inline-block;
  vertical-align: top;
  width: 35px;
  text-align: center;
  background: #911c27;
  color: #fff;
  height: 35px;
  line-height: 35px;
  border-radius: 30px;
  font-size: 18px;
}
.iconleft .icon_text {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 40px);
  padding-left: 10px;
  box-sizing: border-box;
}
.iconleft .icon_text * {
  margin-top: 0px;
}
.iconright .icon_wrap {
  width: 100px;
  height: 100px;
  line-height: 100px;
  margin-left: auto;
  margin-right: auto;
  background: #911c27;
  text-align: center;
  border-radius: 50px;
  color: #fff;
  font-size: 50px;
}
.iconright .icon_text {
  text-align: center;
}
/* Testimonial */
.testimonial {
  padding: 100px 0px;
  background-size: cover;
}
@media screen and (max-width: 1000px) {
  .testimonial {
    padding: 30px 0px;
  }
}
.testimonial .main-carousel {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.9);
}
@media screen and (max-width: 1000px) {
  .testimonial .main-carousel {
    width: 90%;
  }
}
.testimonial .flickity-prev-next-button {
  background: transparent;
  font-size: 0px;
}
.testimonial .flickity-prev-next-button:hover {
  background: transparent;
}
.testimonial .carousel-cell {
  width: 100%;
}
.testimonial .carousel-cell .cellcontent {
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px;
}
.testimonial .carousel-cell .cellcontent .para {
  margin-bottom: 20px;
  font-size: 14px;
}
.testimonial .carousel-cell .cellcontent .author {
  font-size: 14px;
}
/* team-member*/
.team_member {
  width: 100%;
  display: block;
  position: relative;
  margin-bottom: 80px;
}
@media screen and (max-width: 600px) {
  .team_member {
    text-align: center;
    margin-bottom: 60px;
  }
}
.team_member img {
  display: inline-block;
  vertical-align: middle;
  width: 300px;
  height: auto;
  -webkit-box-shadow: -15px -15px 0px 0px #900;
  -moz-box-shadow: -15px -15px 0px 0px #900;
  box-shadow: -15px -15px 0px 0px #900;
}
@media screen and (max-width: 800px) {
  .team_member img {
    width: 240px;
  }
}
@media screen and (max-width: 600px) {
  .team_member img {
    width: 300px;
  }
}
.team_member .mem_con {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 305px);
  padding-left: 30px;
  box-sizing: border-box;
}
@media screen and (max-width: 800px) {
  .team_member .mem_con {
    width: calc(100% - 245px);
  }
}
@media screen and (max-width: 600px) {
  .team_member .mem_con {
    width: 100%;
    padding: 20px 0px 0px 0px;
  }
}
.team_member .mem_con h3 {
  margin: 0px;
  font-weight: 300;
}
.team_member .mem_con h5 {
  margin: 0px;
  font-weight: 300;
}
.team_member .mem_con .text {
  margin: 20px 0px;
}
/*cta block panel*/
/*tab_content*/
/* Social */
.sm_wrapper {
  width: 100%;
  text-align: left;
  padding-top: 20px;
}
.sm_wrapper li {
  list-style: none;
}
.sm_wrapper a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  margin-left: 10px;
  text-align: center;
}
.sm_wrapper a:first-child {
  margin-left: 0px;
}
.sm_wrapper a:hover {
  opacity: 0.5;
}
.sm_wrapper a.square {
  border-radius: 5px;
}
.sm_wrapper a.circle {
  border-radius: 30px;
  font-size: 18px;
}
#header .sm_wrapper {
  width: 100px;
  display: inline-block;
  vertical-align: bottom;
  padding-top: 0px;
  text-align: right;
}
#header .sm_wrapper ul {
  margin: 0px;
  padding: 0px;
}
#header .sm_wrapper ul li {
  display: inline-block;
  margin: 0px;
  line-height: 50px;
}
/*sidebar*/
.pagesidebar {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.pagesidebar .page-flexconwrap {
  width: 73%;
  margin-right: 2%;
  float: left;
}
.content-left {
  float: left;
  width: 70%;
  margin-right: 5%;
  text-align: left;
}
#sidebar {
  float: left;
  width: 25%;
  font-size: 0.8em;
  padding-top: 50px;
}
#sidebar .sidebar-widget {
  background-color: #eee;
  padding: 2em;
  margin-bottom: 2em;
}
#sidebar .sidebar-widget h3 {
  margin-top: 0;
}
#sidebar .sidebar-widget ul {
  padding: 0;
}
#sidebar .sidebar-widget li {
  list-style: none;
  margin-bottom: 0;
}
form#searchform {
  display: inline-flex;
}
input[type="text"]#s {
  width: 84%;
  box-sizing: border-box;
}
button[type="submit"]#searchsubmit {
  width: 20%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-left: 0;
  padding: 1em;
}
@media only screen and (max-width: 1000px) {
  .pagesidebar .page-flexconwrap {
    width: 68%;
  }
  #sidebar {
    width: 30%;
  }
}
@media only screen and (max-width: 768px) {
  .pagesidebar .page-flexconwrap {
    width: 95%;
    float: none;
    margin: 0px auto;
  }
  .content-left,
  #sidebar {
    width: 100%;
    float: none;
    overflow: hidden;
  }
  #sidebar {
    margin-top: 40px;
  }
}
/*footer*/
#footer {
  background: #ebebeb;
  font-size: 0.8em;
}
#footer .wrapper {
  overflow: auto;
  background: transparent;
  box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  #footer .wrapper {
    text-align: center;
  }
  #footer .wrapper .sm_wrapper {
    text-align: center;
  }
}
.footer-1.footer-column {
  float: left;
  width: 33%;
  margin-right: 0%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.footer-column h3 {
  margin-bottom: 0px;
}
.footer-column .sm_wrapper {
  padding-top: 0px;
}
.footer-column:last-child {
  margin-right: 0;
}
.footer-column .gform_fields li {
  margin-top: 0px !important;
  padding: 0px !important;
}
.footer-column .gform_fields li .ginput_container {
  margin: 0px !important;
}
.footer-column .gform_footer {
  padding: 0px !important;
}
#footer ul {
  padding: 0;
}
#footer ul.menu li a {
  font-size: 16px;
}
#footer li {
  list-style: none;
  margin-bottom: 0;
}
#copyright {
  font-size: 12px;
  line-height: 14px;
  border-top: 2px solid #c1c1c1;
}
#copyright .wrapper {
  padding: 20px 0px;
}
@media only screen and (max-width: 768px) {
  .footer-1.footer-column {
    float: none;
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin-bottom: 5%;
  }
  .footer-1.footer-column.middle {
    border-right: 0;
    margin-right: 0;
  }
}
@media only screen and (max-width: 500px) {
  .footer-1.footer-column,
  .footer-2.footer-column {
    float: none;
    width: 100%;
    margin-right: 0;
    border-right: 0;
  }
}
/*woocommerce*/


/* MailChimp Style */
#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
  padding: 0px !important;
}
#mergeRow-gdpr{
  margin-top: 20px;
}
.mc_fieldset {
  border: 0px;
}
.mc-field-group {
  margin-bottom: 15px;
}
.mc-field-group label {
  display: block;
  margin-top: 5px;
}
div#mc_embed_signup input {
  width: 100%;
}
input#mc-embedded-subscribe {
  width: auto !important;
}

/*-----GRAVITY FORMS-----*/
.gform_required_legend {
    display: none!important;
}
/*All input areas text color*/
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  color: var( --e-global-color-primary );
}
body .gform_wrapper ::placeholder,
body .gform_wrapper ::-webkit-input-placeholder,
body .gform_wrapper input[placeholder] {
  color: var( --e-global-color-secondary )!important;
}
#gform_confirmation_message_2 {
  color: red !important;
}
/*Text fields*/
.gform_wrapper
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
  border-radius: 5px;
  padding: 15px 15px 15px 15px !important;
  border-color: #333;
  border-width: 1px;
  border-style: solid;
}
/*Paragraph fields*/
.gform_wrapper textarea {
  padding: 15px 15px 15px 15px !important;
  border-width: 1px;
  border-color: #333;
  border-style: solid;
  border-radius: 5px;
}
/*Select fields*/
.gform_wrapper select {
	border-radius: 5px !important;
	border: solid 1px #333!important;
	padding: 15px!important;
}
/*Field lables*/
.gform_wrapper label.gfield_label,
.gform_wrapper legend.gfield_label {
  font-weight: 500;
  color:  #000;
}
/*Radio button and checkbox alignment*/
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input,
.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type="checkbox"],
.gform_wrapper.gf_browser_chrome .gfield_radio li input[type="radio"] {
  margin-top: 0px;
}
/*Radio button and checkbox text color*/
.gform_wrapper.gravity-theme .gfield-choice-input+label {
  color: var( --e-global-color-primary );
}
/*'Required' text color*/
.gform_wrapper .gfield_required {
    color:  var( --e-global-color-accent );
}
/*Buttons*/
.gform_next_button,
.gform_previous_button {
  background: #911c28;
  border: 0;
  padding: 0.5rem 2rem;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}



/* ADDITIONAL CSS */

.simple-banner {
	background-color: #8e1e2a;
}

.simple-banner .simple-banner-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    position: relative;
    text-align: center;
}

.cs_banner {
	display: flex;
	height: 60%;
}

/* body.home div.fixedbkg.certifications div.category-posts-wrap>.post:nth-of-type(3) {
	text-align: center;
    width: 100%;
    margin: 20px 0px 20px 0px;
    display: block;
} */


body.home div.fixedbkg.certifications .wrapper {
	width: 750px;
}

body.home div.fixedbkg.certifications div.category-posts-wrap {
	display: flex;
    column-gap: 20px;
}

body.home div.fixedbkg.certifications div.category-posts-wrap img {
	max-width: 150px;
	width: 100%;
	padding: 0px !important;
}

body.home div.fixedbkg.certifications div.category-posts-wrap .half {
	margin: 0px !important;
}


#input_14_5 {
	margin-top: 0;
}

/* dropdown fix */

#menu-item-15865.menu-item-has-children ul.sub-menu {
	display: none !important;
}

#menu-item-15865.menu-item-has-children:hover ul.sub-menu {
	display: contents !important;
}

#menu-item-15865 .sub-menu li {
    font-size: 14px;
    padding-left: 10px;
}

li#menu-item-15865>a:after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: url(https://thechefschool.com/wp-content/uploads/2025/02/chevronRight.png);
    background-size: cover;
    margin-left: 5px;
	transition: transform 250ms;
}

li#menu-item-15865:hover>a:after {
	transform: rotate(90deg);
}

/* #menu-item-456 a:hover {
    color: #911c27 !important;
} */

/* end of dropdown fix */


.gsection_title {
	margin: 20px 0px 5px 0px !important;
}


/* end of ADDITIONAL CSS */
