/*
 Theme Name:   Pot Haw Farm Theme
 Description:  A Child Theme built for Pot Haw Farm
 Author:       Flair Digital
 Author URI:   https://flairdigital.co.uk
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../Divi/style.css");

/* Theme customization starts here
------------------------------------------------------- */
/* Media Quiries */
  @media only screen and (min-width: 981px) {  /* styles for screens above 960px */
    body.home .et_pb_slide_description {
      padding-top: 7% !important;
      padding-bottom: 25% !important;
    }
    .et_pb_dp_dmb_module_3451 {
      min-width: 305px !important;
      min-height: 400px !important;
    }
    .arrow-divider-green-left:after,
    .arrow-divider-green-right:after {
      content: '';
      display: block;
      position: absolute;
      bottom: calc(50% - 30px);
      width: 60px;
      height: 60px;
      background-color: #63984e;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      z-index: 1;
    }
    .arrow-divider-green-left:after,
    .arrow-divider-white-left:after,
    .arrow-divider-cream-left:after {
      left: -30px;
    }
    .arrow-divider-green-right:after,
    .arrow-divider-white-right:after,
    .arrow-divider-cream-right:after {
      right: -30px;
    }
    .arrow-divider-cream-left:after,
    .arrow-divider-cream-right:after {
      content: '';
      display: block;
      position: absolute;
      bottom: calc(50% - 30px);
      width: 60px;
      height: 60px;
      background-color: #fffac1;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      z-index: 1;
    }
    .arrow-divider-white-left:after,
    .arrow-divider-white-right:after {
      content: '';
      display: block;
      position: absolute;
      bottom: calc(50% - 30px);
      width: 60px;
      height: 60px;
      background-color: #fff;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      z-index: 1;
    }
    .home-slider,
    .home-slider .et_pb_slide_overlay_container {
      height: 815px !important;
    }
  }
  @media only screen and (max-width: 981px) { /* styles for screens below 981px */
    .padd-tb-40-r {
      padding-top: 40px;
      padding-bottom: 40px;
    }
  }
  @media only screen and (max-width: 960px) { /* styles for screens below 960px */
    body.et_right_sidebar .one_half {
      float: left;
      margin-right: 2%;
      width: 48%;
      margin-bottom: 10px;
    }
  }
  @media only screen and (min-width: 790px) { /*styles for screens Above 790px*/
    .full-suf #ctct-form-3289 p.ctct-form-field-text,
    .full-suf #ctct-form-3289 p.ctct-form-field-email {
      width: 28%;
      margin-right: 2%;
      float: left;
    }
    .full-suf #ctct-form-3289 p.ctct-form-field-submit {
      width: 10%;
      float: left;
    }
  }
  @media only screen and (max-width: 790px) { /*styles for screens below 790px*/
    .full-suf #ctct-form-3289 p.ctct-form-field-text,
    .full-suf #ctct-form-3289 p.ctct-form-field-email {
      width: 100%;
    }
    .full-suf #ctct-form-3289 p.ctct-form-field-submit {
      width: 100%;
    }
    .full-suf #ctct-form-3289 p.ctct-form-field-text input,
    .full-suf #ctct-form-3289 p.ctct-form-field-email input {
      margin-bottom: 20px;
    }
    .full-suf input.ctct-submit {
      float: right;
    }
  }
/* End Media Queries */
/* SHELL STYLLS */
  /*Header & Navigation*/
    body.single-post #left-area {
      padding-bottom: 0px !important;
    }
    body.single-post .et_pb_post_title {
      padding-top: 30px !important;
      padding-bottom: 30px !important;
    }
    .mobile_menu_bar_toggle::before {
      color: #fffac1 !important;
    }
    .et_mobile_menu {
      border-color: #fffac1 !important;
    }

body.single-post .et_pb_fullwidth_section .et_pb_post_title.et_pb_image_above {
    padding-top: 0px !important;
}

body.home .et_pb_fullwidth_slider_0 .et_pb_slide {
    padding-top: 155px !important;
}

body.home .et_pb_slide .et_pb_container {
    height: 602px !important;
    min-height: 602px !important;
}
#main-content .home-slider .et_pb_slide_description {
    -webkit-animation-name: none !important;
    -moz-animation-name: none !important;
    -ms-animation-name: none !important;
    -o-animation-name: none !important;
    animation-name: none !important;
}

li#menu-item-26 ul.sub-menu,
li#menu-item-47 ul.sub-menu {
    width: 350px;
}

li#menu-item-26 ul.sub-menu li,
li#menu-item-26 ul.sub-menu li a,
li#menu-item-47 ul.sub-menu li,
li#menu-item-47 ul.sub-menu li a {
    width: 300px;
}

/*End Header & Navigation*/
/*Slider*/
.slider-height .et_pb_slides,
.slider-height .et_pb_slide {
    height: 450px;
}

.bale-slider .et_pb_slides,
.bale-slider .et_pb_slide {
    height: 400px;
}

/*End Slider*/
/*Headings & Copy*/
p,
a,
.et_pb_slide_content {
    font-weight: 400 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
#top-header .container {
    font-weight: 300 !important;
}

a.light {
    color: #fffac1 !important;
}

a.et_pb_button {
    border-width: 1px !important;
}

.divider-heading h2.et_pb_module_header {
    display: flex;
    flex-direction: column;
}

.divider-heading.et_pb_bg_layout_dark h2.et_pb_module_header:after {
    border-bottom: 3px solid #fffac1;
    content: '';
    padding-top: 10px;
    width: 50px;
}

.divider-heading.et_pb_bg_layout_light h2.et_pb_module_header:after {
    border-bottom: 3px solid #63984e;
    content: '';
    padding-top: 10px;
    width: 50px;
}

#main-content .vert-cen {
    display: flex !important;
    align-items: center !important;
    display: -ms-flexbox;
    display: -webkit-flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
}

.button-right {
    float: right;
    text-align: right;
}

.button-left {
    float: left;
    text-align: left;
}

.cb-button {
    width: 70% !important;
}

/*End Headings & Copy*/
/*Section Styles*/
ul.et_pb_tabs_controls {
    background-color: #324e28 !important;
}

ul.et_pb_tabs_controls::after {
    border-top-color: #324e28 !important;
}

.mfp-arrow-left .mfp-a,
.mfp-arrow-left::after,
.mfp-arrow-right .mfp-a,
.mfp-arrow-right::after,
.mfp-image-holder .mfp-close {
    color: #63984e !important;
    opacity: 1 !important;
}

.mfp-title {
    visibility: hidden !important;
}

.home-images img {
    height: 623px;
    width: 1262;
    /* background-size: cover; */
    object-fit: cover;
}

.cream-background {
    background: #fffac1;
}

.green-background {
    background: #63984e;
}

.grey-background-1 {
    background: #f9f9f9;
}

.grey-background-2 {
    background: #f5f5f5;
}

.grey-background-3 {
    background: #f1f1f1;
}

.button-home {
    color: #63984e;
    background: #fffac1;
    border: 1px solid #fffac1;
}

.slider-button {
    background: #63984e;
    border: 1px solid #63984e;
    color: #fffac1;
}

.slider-button:hover {
    background: #63984e;
    border: 1px solid #63984e;
    color: #fffac1;
}

.slider-button:first-child {
    margin-right: 20px !important;
    background: #fffac1 !important;
    border: 1px solid #fffac1 !important;
    color: #63984e !important;
}

.slider-button:first-child:hover {
    margin-right: 20px !important;
    background: #fffac1 !important;
    border: 1px solid #fffac1 !important;
    color: #63984e !important;
}

.testi-divider .et_pb_testimonial_author {
    display: flex;
    flex-direction: column;
}

.testi-divider.et_pb_bg_layout_dark .et_pb_testimonial_author::before {
    border-top: 3px solid #fffac1;
    content: '';
    padding-bottom: 10px;
    width: 50px;
}

.testi-divider.et_pb_bg_layout_light .et_pb_testimonial_author::before {
    border-top: 3px solid #63984e;
    content: '';
    padding-bottom: 10px;
    width: 50px;
}

/* Contact Form */
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea {
    background: #f9f9f9 !important;
    border: 1px solid #eaeaea !important;
    padding: 16px !important;
    border-radius: 4px;
    font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 16px;
    font-weight: 300;
    width: 98%;
    margin-top: 10px;
}

.wpcf7-submit {
    background: #63984e;
    border: 5px solid #63984e;
    border-radius: 4px;
    padding: 3px 55px 8px 55px;
    font-size: 20px;
    color: #ffffff;
    margin-top: 5px;
    float: right !important;
}

.wpcf7-submit:hover {
    background: #324e28;
    border: 5px solid #324e28;
    border-radius: 3px;
    padding: 3px 55px 8px 55px;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer !important;
}

.ctct-form-wrapper .success {
    background-color: #fffac1 !important;
}

/* End Contact Form */
/* ~~~~ Blog Styles ~~~~ */
h4.widgettitle {
    color: #ffffff;
    background: #63984e;
    padding: 10px;
}

.et_pb_widget {
    border: 1px solid #63984e;
}

.et_pb_widget ul {
    padding: 10px !important;
}

/* ~~~~ Social Media Slider ~~~ */
.wpsms-container {
    background: #f9f9f9;
    border: 1px solid #eaeaea;
}

/* ~~~~ Constant Contact Form ~~~ */
    body.home .ctct-form {
      padding: 10% !important;
    }
    body.home input.ctct-submit {
      padding: 6px 20px;
      font-size: 20px;
      border-radius: 3px;
      background: #fffac1;
      border: 2px solid #fffac1;
      color: #324e28;
      font-weight: 300;
      margin-top: 8px;
    }
    body.home input.ctct-text,
    body.home input.ctct-email {
      padding: 16px !important;
      font-size: 14px !important;
      width: 100%;
      border-radius: 3px;
      float: left;
      margin-bottom: 32px;
    }
    p.ctct-form-field-text label,
    p.ctct-form-field-email label,
    .ctct-disclosure,
    .ctct-form-field-hidden,
    .ctct-button {
      display: none !important;
    }
  /* Fullwidth Form */
    .full-suf p.ctct-form-field-text, .full-suf p.ctct-form-field-email {
      width: 31.333%;
      padding: 0px;
      margin-right: 3%;
      float: left;
    }
    .full-suf p.ctct-form-field-email {
      margin-right: 0px !important;
    }
    .full-suf input[type="text"], .full-suf input[type="email"] {
      padding: 16px !important;
      font-size: 14px !important;
      width: 100%;
      border-radius: 3px;
      float: left;
      margin-bottom: 16px;
    }
    .full-suf input.ctct-submit {
      padding: 11px 20px;
      font-size: 20px;
      border-radius: 3px;
      background: #fffac1;
      border: 2px solid #fffac1;
      color: #324e28;
      font-weight: 300;
    }
  /* End Fullwidth Form */
/* End Constant Contact Form */
/* BEGIN Map Press */
.mapp-layout {
  margin: 0px !important;
  border: none !important;
  -webkit-filter: grayscale(10%);
  filter: grayscale(10%);
}
/* END Map Press */
/* ~~~ Table ~~~ */
.table-mod table {
    border-left: 1px solid #fffac1;
    border-top: 1px solid #fffac1;
}

.table-mod th,
.table-mod td {
    border-right: 1px solid #fffac1;
    border-bottom: 1px solid #fffac1;
}

.table-mod th {
    color: #ffffff !important;
}

/* End Table ~~~ */
/* ~~~ Custom Module ~~~ */
.dp_field_weblink {
    margin-top: 5px;
}

.et_pb_dp_dmb_module_3451 {
    padding: 40px;
    box-shadow: 1px 2px 18px 0px rgba(104, 104, 104, 0.3);
    background: #63984e;
    color: #ffffff;
}

.et_pb_dp_dmb_module_3451:hover {
    box-shadow: 1px 2px 18px 0px rgba(104, 104, 104, 0.7);
}

.et_pb_dp_dmb_module_3451 a,
.et_pb_dp_dmb_module_3451 h2 {
    color: #ffffff;
}

.et_pb_dp_dmb_module_3451 .et_pb_divider::before {
    border-top-color: #fffac1;
    width: 100%;
    border-width: 3px;
}

.et_pb_dp_dmb_module_3451 .et_pb_divider {
    margin-bottom: 0px;
}

p.label {
    padding-bottom: 2px;
}

/* ~~~ End Custom Module ~~~ */
/*Footer area*/
.footer-left {
    width: 48%;
    max-width: 48%;
    margin-right: 2%;
    float: left;
}

.footer-right {
    width: 50%;
    max-width: 50%;
    float: left;
    text-align: right !important;
}

.footer-right i {
    padding: 13px 15px 15px;
    color: #fffac1;
    font-size: 32px;
}

#main-content .footer-content {
    padding: 10px 0;
    background: #333333;
}

#main-content .footer-content .widgettitle {
    font-size: 20px;
}

#main-content .footer-content h2,
#main-content .footer-content h4 {
    color: #999;
}

#main-content .footer-content ul {
    padding-left: 0;
    padding-bottom: 0;
}

#main-content .footer-content li {
    list-style: none;
    list-style-type: none;
    padding-bottom: 0.2em;
}

#main-content .footer-content li a:hover {
    color: #fff !important;
}

p.foot-links a,
#main-content .footer-content,
#main-content .footer-content p,
#main-content .footer-contentp a,
#main-content .footer-content li a,
.footer-content a {
    color: #ccc !important;
}

p.sigs {
    font-size: 0.9em;
    width: 100%;
    display: block !important;
    margin: 1em 0;
}

p.sigs a {
    color: #666 !important;
}

p#footer-info {
    font-size: 0.9em;
    display: block !important;
    width: 100% ! Important;
}

/* End Footer area*/
/* Padding */
.padd-40 {
    padding: 40px;
}

.padd-tb-10per {
    padding-top: 8% !important;
    padding-bottom: 8% !important;
}

.padd-tb-5per {
    padding-top: 5% !important;
    padding-bottom: 5% !important;
}

.padd-lr-5per {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.padd-lr-40 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.padd-tb-0 {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

.padd-tb-20 {
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

.padd-tb-40 {
    padding-bottom: 40px !important;
    padding-top: 40px !important;
}

.padd-t-0 {
    padding-top: 0px !important;
}

.padd-b-0 {
    padding-bottom: 0px !important;
}

.padd-t-20 {
    padding-top: 20px !important;
}

.padd-t-40 {
    padding-top: 40px !important;
}

.padd-b-20 {
    padding-bottom: 20px !important;
}

.padd-b-40 {
    padding-bottom: 40px !important;
}

/* Margin */
.mar-tb-20 {
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}

.mar-b-0 {
    margin-bottom: 0px !important;
}

/*Misc*/
.clearAll {
    font-size: 1px;
    line-height: 1px;
    clear: both;
    display: hidden;
    height: 0;
}

/* BEGIN clearfix
/* slightly enhanced, universal clearfix hack */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

/* start commented backslash hack \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* close commented backslash hack */
/*END clearfix*/
/*END Misc*/
