/* 
Theme Name: Doddington Hall
Theme URI: https://sokastudio.co.uk/
Description: Doddington Hall Custom Theme
Author: Matthew Harris
Author URI: https://sokastudio.co.uk/
Template: hello-elementor
Version: 1.0.1
Text Domain: doddington-hall
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.elementor-section ol:not(:last-child),
.elementor-section ul:not(:last-child) {
  margin-bottom: 1em;
}

.elementor-section ol ol,
.elementor-section ol ol ol,
.elementor-section ul ul,
.elementor-section ul ul ul {
  margin-bottom: 0;
}

/* fix: updating elementor makes some styles disappear, so they are now hardcoded */
.dodd-site-logo {
  width: auto;
}

.dodd-site-logo img {
  width: 120px;
}
.dodd-events-single-header > .elementor-widget-wrap {
  background-position: center !important;
  background-size: cover !important;
}
/* END fix: updating elementor makes some styles disappear, so they are now hardcoded */

/* 
.elementor-column-gap-wider > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0 50px;
} 
*/
@media (min-width: 2000px) {
  .dodd_full_width_header > div {
    background-size: 1500px 1044px !important; /* Adjust sizes as needed */
  }
}
/* header nav update */
div[data-elementor-type="wp-page"],
div[data-elementor-type="single-post"] {
  margin-top: -200px;
}
@media (max-width: 1024px) {
  .soka-scroll-to-section {
    width: 15px !important;
    height: 18px !important;
    background-size: 15px 18px !important;
  }
}
.dPosts figure {
  margin-bottom: 1.1em !important;
}
/* ultimate blocks */
/* force toggle panel colours */
.wp-block-ub-content-toggle-accordion-title-wrap {
  background-color: #c8ad6d !important;
}
.wp-block-ub-content-toggle-accordion-toggle-wrap,
.wp-block-ub-content-toggle-accordion-title {
  color: #214843 !important;
}
.wp-block-ub-content-toggle-accordion {
  border: 1px solid #c8ad6d !important;
}
/* END ultimate blocks */

/* for [responsivetext] shortcode */
span.soka_email_desktop_text {
  display: none !important;
}
span.soka_email_mobile_text {
  display: inline-block !important;
}
@media (min-width: 768px) {
  span.soka_email_desktop_text {
    display: inline-block !important;
  }
  span.soka_email_mobile_text {
    display: none !important;
  }
}
/* END for [responsivetext] shortcode */

/* google recaptcha */
.grecaptcha-badge {
  visibility: hidden;
}
/* END google recaptcha */

/* mobile line break shortcode */
.mobilelinebreak {
  display: block;
}
@media (min-width: 768px) {
  .mobilelinebreak {
    display: none;
  }
}
/* END mobile line break shortcode */

/* blog archive control */
.elementor-pagination {
  margin-top: 1em;
}
/* END blog archive control */

.elementor-toggle .elementor-toggle-icon.elementor-toggle-icon-right {
  line-height: 30px;
}

/* mobile menu */
.elementor-menu-toggle {
  outline: none;
}
.elementor-nav-menu {
  padding-top: 12px;
  padding-bottom: 12px;
}
/* END mobile menu */

.e--pointer-underline .elementor-item:after {
  height: 2px !important;
  width: 20%;
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%) translateX(-2px /* half letter spacing */);
}

.footer-list .menu {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}
.footer-list .menu a {
  color: #ffffff;
  font: normal normal 600 12px/1.2em "FreightText Pro";
  letter-spacing: 6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .footer-list .menu a {
    margin-bottom: 30px;
  }
}

/* button styles */
[type="button"],
[type="submit"],
button {
  border-style: none;
}
/* end button styles */

/* custom cf7 styles */
.wpcf7-acceptance span.wpcf7-list-item {
  margin-left: 0;
}
.cf-col-1,
.cf-col-2,
.cf-col-3,
.cf-col-4,
.cf-col-5,
.cf-col-6,
.cf-col-7,
.cf-col-8,
.cf-col-9,
.cf-col-10,
.cf-col-11,
.cf-col-12 {
  margin-bottom: 10px;
}
.cf-submit {
  margin-top: 20px;
}
/* END custom cf7 styles */

/* crocoblock cf7 styles */
/* https://crocoblock.com/freemium/tools/contact-form-7-layout-builder/ */
.cf-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}
.cf-col-1,
.cf-col-2,
.cf-col-3,
.cf-col-4,
.cf-col-5,
.cf-col-6,
.cf-col-7,
.cf-col-8,
.cf-col-9,
.cf-col-10,
.cf-col-11,
.cf-col-12 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 5px;
  padding-left: 5px;
}
@media (min-width: 576px) {
  .cf-col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .cf-push-1 {
    margin-left: 8.333333%;
  }
  .cf-col-2 {
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
  .cf-push-2 {
    margin-left: 16.66667%;
  }
  .cf-col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .cf-push-3 {
    margin-left: 25%;
  }
  .cf-col-4 {
    -ms-flex: 0 0 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .cf-push-4 {
    margin-left: 33.33333%;
  }
  .cf-col-5 {
    -ms-flex: 0 0 41.66667%;
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }
  .cf-push-5 {
    margin-left: 41.66667%;
  }
  .cf-col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .cf-push-6 {
    margin-left: 50%;
  }
  .cf-col-7 {
    -ms-flex: 0 0 58.33333%;
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
  }
  .cf-push-7 {
    margin-left: 58.33333%;
  }
  .cf-col-8 {
    -ms-flex: 0 0 66.66667%;
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }
  .cf-push-8 {
    margin-left: 66.66667%;
  }
  .cf-col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
  .cf-push-9 {
    margin-left: 75%;
  }
  .cf-col-10 {
    -ms-flex: 0 0 83.33333%;
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
  }
  .cf-push-10 {
    margin-left: 83.33333%;
  }
  .cf-col-11 {
    -ms-flex: 0 0 91.66667%;
    flex: 0 0 91.66667%;
    max-width: 91.66667%;
  }
  .cf-push-11 {
    margin-left: 91.66667%;
  }
  .cf-col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* END crocoblock cf7 styles */

/* cookie plugin */
#cookie-law-info-bar {
  border-radius: 0;
}
#cookie-law-info-bar[data-cli-type="popup"]
  .cli-style-v2
  .cli-bar-btn_container {
  margin-top: 15px;
}
.cli-bar-btn_container {
  display: flex;
  justify-content: space-between;
}
#wt-cli-accept-all-btn {
  margin-left: 0;
  font-family: var(--e-global-typography-3b346d4-font-family), sans-serif;
  font-size: 12px;
  font-weight: var(--e-global-typography-3b346d4-font-weight);
  text-transform: var(--e-global-typography-3b346d4-text-transform);
  line-height: 12px;
  letter-spacing: var(--e-global-typography-3b346d4-letter-spacing);
  color: var(--e-global-color-d03a1e8);
  border: 1px solid var(--e-global-color-d03a1e8);
  background: var(--e-global-color-secondary);
  padding: 10px 20px;
  white-space: nowrap;
}
.cli-tab-footer .wt-cli-privacy-accept-btn,
.cli-switch input:checked + .cli-slider {
  background-color: #b19042;
}
.cli-switch .cli-slider:after {
  line-height: 19px;
}
.cli-switch .cli-slider {
  height: 19px;
}
.cli-modal-content,
.cli-tab-header,
.cli-switch .cli-slider,
.cli-switch .cli-slider:before {
  border-radius: 0;
}
/* END cookie plugin */
