/*
 Theme Name: Arrow Health
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Arrow Health
 Author: Nat Rowe
 Author URI: https://natrowe.au
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
@media only screen and (min-width: 1080px) {
    .ah-blog .et_pb_post.has-post-thumbnail .entry-featured-image-url {
        float: left;
        width: 30%;
        margin-right: 4%;
    }
    .ah-blog .et_pb_post.has-post-thumbnail:not(.format-gallery) > .post-content {
        padding-left: 34%;
    }
}

/*-------------------*/
/*--- wpcf7       ---*/
/*-------------------*/
.infinite-body span.wpcf7-not-valid-tip{ font-size: 13px; margin-bottom: 15px; }
.infinite-body div.wpcf7-response-output{ font-size: 13px; padding: 6px 20px; clear: both; margin: 0px; }

.wpcf7 input{ font-size: 15px; padding: 15px 22px; width: 100%; display: block; }
.wpcf7 input[type="button"], .wpcf7 input[type="submit"], input[type="reset"]{ width: auto; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"]{ width: auto; display: inline; }
.wpcf7 .wpcf7-form-control .wpcf7-list-item{ display: block; margin-bottom: 5px; }
.wpcf7 textarea{ font-size: 15px; padding: 18px 22px; height: 120px; width: 100%; }
.wpcf7 input[type="button"] {
    background-color: #0293a6 !important;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0px;
    color: #ffffff;
    padding: 15px 80px 15px 80px;
    text-transform: none;
    border-radius: 30px;
	border:none;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    margin-left: auto;
    margin-right: auto;
}
.wpcf7 input[type="button"]:hover {
    background-color: #017686 !important;
}

strong {
  font-weight: bold;
  color:#333333;
}
blockquote {
 margin: 20px 0px 10px;
}
h3.addon-name {
    font-size: 16px;
}
abbr[title] {
    text-decoration: none;
}

:root :where(a:where(:not(.wp-block-navigation))),

:root :where(a:where(:not(.wp-element-button))){

text-decoration: initial;

}


/* FP CSS START */

#read-more {
    display:none;
}

div#read-more strong, div#fp-faqs strong {
    font-weight:500;
}

#read-more h2 {
    margin:40px 0px 10px;
}

#read-more h3 {
    margin:20px 0px 10px;
}



:root {
    --fp-border-color:  #5f725c;
    --fp-faq-margins: 5px;
    --fp-hover-color: rgba(0, 0, 0, 0.05);
    --fp-open-character: "+";
    --fp-closed-character: "-";
    --fp-transition: all 0.2s ease;
	--fp-block-transition: all 5s ease;
  }

#fp-faqs h2.fp-faq{
    text-align:center;
}

.firstpage-custom-collection {
    margin: 30px auto 70px;
    width: 80%;
}

	summary h2 {
		font-size: 20px;
    		width:90%;

	}
	
	#fp-faqs div[itemprop="text"] {
    padding-bottom: 30px;
}

	details a { 
		color:#5f725c;
	}

	div.firstpage-custom-collection > div > details:last-child{
		border-bottom: 1px solid var(--fp-border-color);
	}
  .firstpage-custom-collection summary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-top: 1px solid var(--fp-border-color);
    padding: 15px var(--fp-faq-margins);
    box-sizing: border-box;
    transition: var(--fp-transition);
    position: relative;
  }

  .firstpage-custom-collection summary > * {
    margin: 0;
  }

  .firstpage-custom-collection .answer {
    margin: 0 var(--fp-faq-margins);
    transform: translateY(-5px);
    opacity: 0;
    transition: var(--fp-transition);
  }

  .firstpage-custom-collection details[open] > .answer {
    transform: translateY(0px);
    opacity: 1;
  }

  .firstpage-custom-collection summary::after,
  .firstpage-custom-collection summary::before {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    margin-right: 30px;
    width: 2px;
    height: 15px;
    background: var(--fp-border-color);
    transition: var(--fp-transition);
  }

  .firstpage-custom-collection summary:hover {
    background: var(--fp-hover-color);
  }

  .firstpage-custom-collection summary::before {
    transform: rotate(0deg);
  }

  .firstpage-custom-collection details[open] summary::before {
    transform: rotate(90deg);
  }

  .firstpage-custom-collection summary::after {
    transform: rotate(90deg);
  }

  .firstpage-custom-collection details[open] summary::after {
    transform: rotate(270deg);
  }

  .firstpage-custom-collection details summary::-webkit-details-marker {
    display: none;
  }

  .firstpage-custom-collection [type="checkbox"] {
    display: none;
  }

  .firstpage-custom-collection .content {
    margin-top: var(--fp-faq-margins);
    transition: var(--fp-block-transition);
  }

  .firstpage-custom-collection label {
    display: block;
    cursor: pointer;
  }

  .firstpage-custom-collection input[type="checkbox"] ~ .content {
    width: 100%;
    overflow: hidden;
    transform: translateY(-5px);
    opacity: 0;
    max-height: 0px;
  }

  .firstpage-custom-collection [type="checkbox"]:checked ~ .content {
    transform: translateY(0px);
    opacity: 1;
    max-height: 100vh;
  }

  .firstpage-custom-collection [type="checkbox"]:checked + label {
    top: 100%;
  }

  .firstpage-custom-collection label:before {
    content: "Read More";
    text-decoration: underline;
  }

  .firstpage-custom-collection [type="checkbox"]:checked + label:before {
    content: "Read Less";
  }


/* FP CSS END */