/*
 Theme Name: Divi Child
 Description: Divi Child Theme
 Author: StalwartX
 Template: Divi
 Version: 1.0.0
*/

/*----- Footer Custom Styles ------*/
.footer-links .et_pb_blurb_description {
    margin-top: -7px;
}
.footer-links .et_pb_blurb_container {
    padding-left: 0px;
}

/*--- Single service page Image height ----*/
.sjv-service-img.et_pb_image img,
.et_pb_module.et_pb_image.sjv-service-img .et_pb_image_wrap img {
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  display: block;
}
.sjv-service-img.et_pb_image,
.et_pb_image.sjv-service-img .et_pb_image_wrap {
  display: block !important;
  width: 100% !important;
}

@media (max-width: 980px) {
  .sjv-service-img img {
	  height: 280px; 
	}
}
/*-----------------------------------
ACF Dynamic List
-----------------------------------*/

.shw-acf-list{
    list-style:none;
    padding:0;
    margin:0;
}

.shw-acf-list li{

    display:flex;
    align-items:flex-start;
    margin-bottom:18px;

}

.shw-icon{

    width:24px;
    height:24px;
    flex-shrink:0;
    border-radius:50%;
    background:#F5F1E8;
    color:#B8842C;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    font-weight:700;
    margin-right:14px;
    margin-top:2px;
}

span.shw-icon {
    margin-right: 10px;
}

.shw-text{
    color:#324132;
    font-size:17px;
    line-height:1.7;
}
ul.shw-acf-list li {
    margin-bottom: 5px;
}
/* Remove default bullets */
.shw-acf-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.shw-acf-list li {
    list-style: none !important;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-left: 0 !important;
}

/* Hide any default bullet added by theme */
.shw-acf-list li::marker {
    content: "";
}

.shw-acf-list li::before {
    content: none !important;
}

/* Gold check icon */
.shw-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #B8842C;
    border-radius: 50%;
    color: #B8842C;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

/* Text */
.shw-text {
    color: #324132;
    font-size: 18px;
    line-height: 1.7;
}
/* ==========================================
   SANJEEVANI SERVICES GRID
   ========================================== */

.shw-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0px;
}

.shw-service-card {
    width: calc(25% - 23px);
	max-width: 320px;
    background: #ffffff;
    border: 1px solid #ECE5D8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all .3s ease;
}

.shw-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}

.shw-service-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.shw-image {
    overflow: hidden;
}

.shw-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.shw-service-card:hover .shw-image img {
    transform: scale(1.05);
}

.shw-content {
    padding: 24px;
}

.shw-content h3 {
    margin: 0 0 0px;
    font-size: 18px;
    line-height: 1.2;
    color: #1F3B2C;
}

.shw-content p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #5E5E5E;
}

.shw-readmore {
    display: inline-block;
    color: #B8842C;
    font-weight: 500;
	font-size: 15px;
    transition: color .3s ease;
}

.shw-service-card:hover .shw-readmore {
    color: #8E6A21;
}

/* Tablet */
@media (max-width: 980px) {

    .shw-service-card {
        width: calc(50% - 15px);
    }

	/* Mobile hambuger icon*/
	.et_pb_menu__wrap {
    justify-content: right !important;
	}
}

/* Mobile */
@media (max-width: 767px) {

    .shw-services-grid {
        gap: 20px;
		margin: 40px 15px;
    }

    .shw-service-card {
        width: 100%;
    }

    .shw-content h3 {
        font-size: 24px;
    }
	/* Mobile hambuger icon*/
	.et_pb_menu__wrap {
    justify-content: right !important;
	}

}

/*--- Team Section ---*/
.sjv-team-row .et_pb_image img,
.sjv-portrait img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}
.sjv-team-row .et_pb_image,
.sjv-team-row .et_pb_image .et_pb_image_wrap {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

@media only screen and (max-width: 980px) {

    .mobile-header-align {
        display: flex !important;
        align-items: center !important;
    }

    .mobile-header-align .et_pb_column {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    /* Menu column */
    .mobile-header-align .et_pb_column:last-child {
        justify-content: flex-end !important;
    }

    /* Remove extra module spacing */
    .mobile-header-align .et_pb_menu,
    .mobile-header-align .et_pb_menu_inner_container,
    .mobile-header-align .et_pb_menu__wrap {
        align-items: center !important;
        margin: 0 !important;
    }

    .mobile-header-align .et_pb_menu {
        width: 100% !important;
    }
	.mobile-header-align .mobile_menu_bar {
        top: 0 !important;
        transform: none !important;
        padding-bottom: 0 !important;
    }
}


/* ==========================================================================
   Sanjeevani Healing — Header & Sub-menu styling  (v2)
   Paste into: Divi → Theme Options → Custom CSS

   Palette:  ink #24402F   gold #B8842C   sage #6E8672   wash #F7F4EC

   NOTE: the underline effect below is drawn with background-image, NOT with
   a :after pseudo-element — Divi already uses :after on menu links to render
   the dropdown caret, and overriding it removes the arrow.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. TOP-LEVEL NAV ITEMS
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {

  .et_pb_menu .et-menu > li > a {
    position: relative;
    padding-bottom: 8px;
    background-image: linear-gradient(#B8842C, #B8842C);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: background-size 0.28s ease, color 0.22s ease;
  }

  .et_pb_menu .et-menu > li > a:hover,
  .et_pb_menu .et-menu > li.current-menu-item > a,
  .et_pb_menu .et-menu > li.current-menu-ancestor > a {
    background-size: 100% 2px;
    opacity: 1;
  }
@media (max-width: 980px) {
  .et_mobile_menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box;
  }

  /* the wrapper Divi positions the panel against */
  .et_pb_menu .et_mobile_nav_menu,
  .et_pb_menu__menu--mobile {
    position: static !important;
  }
}
@media (min-width: 981px) {
  .sjv-logo-col {
    width: 19% !important;
    max-width: 19% !important;
  }
  .sjv-menu-col {
    width: 81% !important;
    max-width: 81% !important;
  }
  .et-l--header .et_pb_row {
    width: 98% !important;
    max-width: 1200px !important;
  }
  .et-l--header .et_pb_column {
    margin-right: 0 !important;
  }
}
@media (max-width: 981px) {
  .et_mobile_menu li a {
    padding-left: 22px !important;
    padding-right: 22px !important;
    font-size: 15px;
    line-height: 1.4em;
    word-break: normal;
    hyphens: none;
  }
}
  /* ---- dropdown caret: colour only, leave Divi's positioning alone ---- */
  .et_pb_menu .et-menu li.menu-item-has-children > a:first-child:after {
    color: #6E8672;
    font-size: 16px;
    transition: color 0.22s ease;
  }

  .et_pb_menu .et-menu li.menu-item-has-children:hover > a:first-child:after,
  .et_pb_menu .et-menu li.menu-item-has-children.current-menu-ancestor > a:first-child:after {
    color: #B8842C;
  }
}


/* --------------------------------------------------------------------------
   2. DESKTOP SUB-MENU PANEL
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {

  .et_pb_menu .nav li ul.sub-menu {
    left: 0;
    top: 100%;
    margin-top: 0;
    min-width: 250px;
    padding: 8px 0;
    background: #ffffff;
    border: 0;                          /* no gold cap: it clashed with the
                                           parent item's hover underline */
    border-radius: 0 0 6px 6px;
    box-shadow: 0 18px 42px -14px rgba(36, 64, 47, 0.28);
  }

  /* ---- individual links ----
     Divi core ships `.nav li li a:hover { padding-left:25px; padding-right:15px }`
     which shoves the text right and out of the panel. Both states must be
     pinned to the same padding or the item moves on hover. */
  .et_pb_menu .nav li ul.sub-menu li a,
  .et_pb_menu .nav li ul.sub-menu li a:hover,
  .et_pb_menu .et-menu li li a,
  .et_pb_menu .et-menu li li a:hover,
  .et-menu li li a,
  .et-menu li li a:hover {
    display: block;
    width: 100%;
    padding: 12px 26px !important;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.4em;
    white-space: nowrap;
    color: #24402F !important;
    background-image: none;            /* no underline effect down here */
    border-bottom: 1px solid rgba(36, 64, 47, 0.07);
    box-shadow: inset 0 0 0 0 #B8842C;  /* accent bar, collapsed */
    transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  }

  .et_pb_menu .nav li ul.sub-menu li:last-child a {
    border-bottom: 0;
  }

  /* NOTE: padding must NOT change on hover — the panel is sized by its
     content (white-space: nowrap), so any padding change resizes the whole
     dropdown. The accent bar below is drawn with an inset shadow, which
     takes up no layout space. */
  .et_pb_menu .nav li ul.sub-menu li a:hover,
  .et_pb_menu .et-menu li li a:hover {
    background-color: #F7F4EC;
    color: #B8842C !important;
    box-shadow: inset 3px 0 0 0 #B8842C;
    opacity: 1;
  }


  /* ---- third level, if ever added ---- */
  .et_pb_menu .nav li ul.sub-menu li ul.sub-menu {
    left: 100%;
    top: -8px;
    border-radius: 6px;
  }
}


/* --------------------------------------------------------------------------
   3. MOBILE MENU
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {

  .et_mobile_menu {
    border-top: 3px solid #B8842C;
    box-shadow: 0 18px 42px -14px rgba(36, 64, 47, 0.28);
    padding: 6px 0;
  }

  .et_mobile_menu li a {
    padding: 14px 22px;
    font-size: 15px;
    color: #24402F;
    border-bottom: 1px solid rgba(36, 64, 47, 0.07);
  }

  .et_mobile_menu .sub-menu li a {
    padding-left: 40px;
    font-size: 14px;
    color: #4C5450;
  }

  .et_mobile_menu li a:hover,
  .et_mobile_menu li.current-menu-item > a {
    background-color: #F7F4EC;
    color: #B8842C;
    opacity: 1;
  }
}


/* --------------------------------------------------------------------------
   4. HARD OVERRIDE — sub-menu items must not move on hover
   --------------------------------------------------------------------------
   Divi's own hover rule carries !important, so it can only be beaten on
   specificity. The ID selectors below raise this block above it.
   `.et-l--header` covers Theme Builder headers, `#page-container` covers
   the standard wrapper — whichever applies on this site will match.

   transform / text-indent / margin are pinned too: padding is the usual
   culprit, but any of them would produce the same sideways shift.
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {

  body #page-container .et_pb_menu .et-menu li li a,
  body #page-container .et_pb_menu .et-menu li li a:hover,
  body #page-container .et_pb_menu .nav li ul.sub-menu li a,
  body #page-container .et_pb_menu .nav li ul.sub-menu li a:hover,
  body .et-l--header .et_pb_menu .et-menu li li a,
  body .et-l--header .et_pb_menu .et-menu li li a:hover,
  body .et-l--header .et_pb_menu .nav li ul.sub-menu li a,
  body .et-l--header .et_pb_menu .nav li ul.sub-menu li a:hover {
    padding-top: 12px !important;
    padding-right: 26px !important;
    padding-bottom: 12px !important;
    padding-left: 26px !important;
    margin: 0 !important;
    transform: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    box-sizing: border-box !important;
  }
}


/* --------------------------------------------------------------------------
   5. PIN THE LIST ITEM AND PANEL
   --------------------------------------------------------------------------
   DevTools confirmed the <a> is already locked — padding, margin and
   transform all held. So whatever shifts on hover is the <li> around it,
   or the <ul> panel itself. Both are pinned here.

   overflow:hidden on the panel also stops a hovered item's square
   background corner poking past the panel's rounded bottom corners.
   -------------------------------------------------------------------------- */
@media (min-width: 981px) {

  body #page-container .et_pb_menu .nav li ul.sub-menu li,
  body #page-container .et_pb_menu .nav li ul.sub-menu li:hover,
  body #page-container .et_pb_menu .et-menu li li,
  body #page-container .et_pb_menu .et-menu li li:hover,
  body .et-l--header .et_pb_menu .nav li ul.sub-menu li,
  body .et-l--header .et_pb_menu .nav li ul.sub-menu li:hover,
  body .et-l--header .et_pb_menu .et-menu li li,
  body .et-l--header .et_pb_menu .et-menu li li:hover {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
  }

  body #page-container .et_pb_menu .nav li ul.sub-menu,
  body .et-l--header .et_pb_menu .nav li ul.sub-menu {
    overflow: hidden;
  }
}
/* ===========================================================================
   Sanjeevani Healing — collapsible mobile sub-menus
   ---------------------------------------------------------------------------
   Divi renders mobile sub-menus EXPANDED by default and offers no toggle.
   This collapses them and adds a tappable arrow.

*/

@media (max-width: 980px) {

  @media (max-width: 980px) {

  /* beat Divi core's `display:block !important` on mobile sub-menus */
  body #page-container .et_mobile_menu li.menu-item-has-children > ul.sub-menu,
  body .et-l--header .et_mobile_menu li.menu-item-has-children > ul.sub-menu,
  body .et_mobile_menu li.menu-item-has-children > ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
  }

  body #page-container .et_mobile_menu li.menu-item-has-children.sjv-open > ul.sub-menu,
  body .et-l--header .et_mobile_menu li.menu-item-has-children.sjv-open > ul.sub-menu,
  body .et_mobile_menu li.menu-item-has-children.sjv-open > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
  }
}

  /* Divi prints its own arrow on parent items — hide it, the script
     adds a real tappable one */
  .et_mobile_menu .menu-item-has-children > a:after {
    display: none !important;
  }

  /* parent row: make room for the toggle on the right */
  .et_mobile_menu .menu-item-has-children > a {
    position: relative;
    padding-right: 56px !important;
  }

  /* the injected toggle */
  .sjv-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 54px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
  }

  .sjv-toggle:before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6E8672;
    border-bottom: 2px solid #6E8672;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

  /* arrow flips when open */
  .menu-item-has-children.sjv-open > a > .sjv-toggle:before,
  .menu-item-has-children.sjv-open .sjv-toggle:before {
    transform: rotate(-135deg) translate(-2px, -2px);
    border-color: #B8842C;
  }

  /* child rows sit indented and slightly quieter */
  .et_mobile_menu .sub-menu li a {
    padding-left: 40px !important;
    font-size: 14px;
    color: #4C5450;
  }
}

/*---- Contact Page ----*/

.sjv-form .et_pb_contact_main_title { 
	display: none; 
	}


/*---- Consent Form ----*/
.sjv-consent .wpcf7-checkbox .wpcf7-list-item {
  margin: 0 0 20px 0;
}
.sjv-consent .wpcf7-checkbox label {
  font-weight: 600;
  color: #24402F;
  cursor: pointer;
}
/* ==========================================================================
   Sanjeevani Healing — Consent Form styling

   Palette:  ink #24402F   gold #B8842C   sage #6E8672
             body #4C5450  cream #F7F4EC  line #DFE3D8
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. WRAPPER AND INTRO
   -------------------------------------------------------------------------- */
.sjv-consent {
  max-width: 1000px;
  font-family: 'Open Sans', -apple-system, "Segoe UI", sans-serif;
  color: #4C5450;
}

.sjv-consent .sjv-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #4C5450;
  margin: 0 0 34px 0;
  padding-bottom: 26px;
  border-bottom: 1px solid #E4E8DE;
}


/* --------------------------------------------------------------------------
   2. SECTION HEADINGS
   -------------------------------------------------------------------------- */
.sjv-consent h3 {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: #24402F;
  margin: 32px 0 14px 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #B8842C;
}

.sjv-consent h3:first-of-type {
  margin-top: 0;
}


/* --------------------------------------------------------------------------
   3. STATEMENT PARAGRAPHS AND NOTES
   -------------------------------------------------------------------------- */
.sjv-consent p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 12px 0;
}

/* small grey guidance text */
.sjv-consent .sjv-note {
  font-size: 13px;
  line-height: 1.7;
  color: #6E8672;
  margin: 0 0 18px 0;
}

/* scrollable block holding the legal wording */
.sjv-consent .sjv-terms {
  background: #F7F4EC;
  border-left: 3px solid #B8842C;
  border-radius: 0 4px 4px 0;
  padding: 20px 22px;
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4C5450;
  max-height: 160px;
  overflow-y: auto;
}

.sjv-consent .sjv-terms p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   4. TEXT INPUTS
   -------------------------------------------------------------------------- */
.sjv-consent label {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #24402F;
}

.sjv-consent input[type="text"],
.sjv-consent input[type="email"],
.sjv-consent input[type="tel"],
.sjv-consent input[type="date"],
.sjv-consent textarea {
  width: 100%;
  padding: 13px 15px;
  margin-top: 7px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #24402F;
  background: #F7F4EC;
  border: 1px solid #DFE3D8;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sjv-consent textarea {
  min-height: 80px;
  resize: vertical;
}

.sjv-consent input[type="text"]:focus,
.sjv-consent input[type="email"]:focus,
.sjv-consent input[type="tel"]:focus,
.sjv-consent input[type="date"]:focus,
.sjv-consent textarea:focus {
  outline: none;
  border-color: #B8842C;
  background: #FFFFFF;
}

/* date field: stop the native picker icon from being cramped */
.sjv-consent input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}


/* --------------------------------------------------------------------------
   4b. TWO-COLUMN FIELD GROUPS
   --------------------------------------------------------------------------
   Wrap groups of short fields in <div class="sjv-details"> in the form markup
   and they sit two across on desktop, halving the height of those sections.
   -------------------------------------------------------------------------- */
@media (min-width: 700px) {

  .sjv-consent .sjv-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0 26px;
  }

  .sjv-consent .sjv-details > label {
    width: calc(50% - 13px) !important;
    flex: 0 0 calc(50% - 13px);
    box-sizing: border-box;
  }

  .sjv-consent .sjv-details > label:has(textarea) {
    width: 100% !important;
    flex-basis: 100%;
  }

  .sjv-consent .sjv-details .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }

  .sjv-consent .sjv-details input,
  .sjv-consent .sjv-details textarea {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* --------------------------------------------------------------------------
   5. CHECKBOXES
   -------------------------------------------------------------------------- */
.sjv-consent .wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin: 0 0 20px 0;
}

.sjv-consent .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #24402F;
  cursor: pointer;
}

.sjv-consent .wpcf7-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  accent-color: #24402F;
  cursor: pointer;
  margin: 0;
}

/* the label text sits inside a span on some CF7 versions */
.sjv-consent .wpcf7-list-item-label {
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   6. SIGNATURE PAD
   --------------------------------------------------------------------------
   touch-action:none stops the page scrolling while a finger is drawing.
   Keep it even if signing works on your test device — behaviour varies.
   -------------------------------------------------------------------------- */
.sjv-consent canvas {
  border: 1px solid #DFE3D8 !important;
  border-radius: 4px;
  background: #F7F4EC !important;
  max-width: 100%;
  touch-action: none;
  display: block;
  margin-top: 7px;
}

/* clear / reset button the signature plugin renders */
.sjv-consent .dscf7-clear,
.sjv-consent button[class*="clear"] {
  background: transparent;
  border: 1px solid #DFE3D8;
  border-radius: 4px;
  color: #6E8672;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  padding: 7px 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sjv-consent .dscf7-clear:hover,
.sjv-consent button[class*="clear"]:hover {
  border-color: #B8842C;
  color: #B8842C;
}


/* --------------------------------------------------------------------------
   7. SUBMIT BUTTON
   -------------------------------------------------------------------------- */
.sjv-consent input[type="submit"] {
  background: #24402F;
  color: #FFFFFF;
  border: 0;
  border-radius: 4px;
  padding: 16px 38px;
  margin-top: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.sjv-consent input[type="submit"]:hover {
  background: #B8842C;
}

/* CF7's sending spinner */
.sjv-consent .wpcf7-spinner {
  margin-left: 12px;
}


/* --------------------------------------------------------------------------
   8. VALIDATION AND RESPONSE MESSAGES
   -------------------------------------------------------------------------- */
.sjv-consent .wpcf7-not-valid {
  border-color: #C0392B !important;
  background: #FDF6F5 !important;
}

.sjv-consent .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #C0392B;
}

.sjv-consent .wpcf7-response-output {
  margin: 26px 0 0 0 !important;
  padding: 15px 18px !important;
  border-width: 1px !important;
  border-radius: 4px !important;
  font-size: 14px;
  line-height: 1.6;
}

/* success */
.sjv-consent form.sent .wpcf7-response-output {
  border-color: #24402F !important;
  background: #F2F6F0;
  color: #24402F;
}

/* failure and validation */
.sjv-consent form.invalid .wpcf7-response-output,
.sjv-consent form.failed .wpcf7-response-output,
.sjv-consent form.aborted .wpcf7-response-output {
  border-color: #C0392B !important;
  background: #FDF6F5;
  color: #A5342A;
}


/* --------------------------------------------------------------------------
   9. MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {

  .sjv-consent h3 {
    font-size: 19px;
    margin-top: 32px;
  }

  .sjv-consent .sjv-terms {
    max-height: 220px;
    padding: 16px 18px;
    font-size: 13.5px;
  }

  .sjv-consent p {
    font-size: 14.5px;
  }

  .sjv-consent input[type="text"],
  .sjv-consent input[type="email"],
  .sjv-consent input[type="tel"],
  .sjv-consent input[type="date"],
  .sjv-consent textarea {
    font-size: 16px;   /* 16px stops iOS zooming in on focus */
  }

  .sjv-consent input[type="submit"] {
    width: 100%;
    padding: 17px 20px;
  }

  .sjv-consent .wpcf7-checkbox .wpcf7-list-item {
    margin-bottom: 22px;
  }
}
.sjv-consent .dscf7_signature {
  position: relative;
  display: inline-block;
}

.sjv-consent .dscf7_signature input.clearButton {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  top: 8px !important;
  right: 8px !important;
  background: rgba(36, 64, 47, 0.10) !important;
  border: 0 !important;
  color: #24402F !important;
  font-size: 18px !important;
  line-height: 1 !important;
  opacity: 0.75;
  transition: background 0.2s ease, opacity 0.2s ease !important;
}

.sjv-consent .dscf7_signature input.clearButton:hover {
  background: rgba(184, 132, 44, 0.22) !important;
  opacity: 1;
}