/*
Theme Name: Enfold Child
Description: Child theme for the Enfold theme
Author: Richard Hamel
Author URI: http://doww.org
Version: 1.0
Template: enfold
*/


/*Add your own styles here:*/

/** Note: devices setting rules: desktop: 990+ | tablet (landscape): 768-989 | tablet (portrait) 480-767 |  phone 479 or smaller **/

/** Colors: green=#97ce00; red=#fa6646; grey=#8f8f8f; BG bright=#f7f9f4  **/
/********* ALL PAGES ***********/

/* Limits the entire website width (duplicate of this on styles.css) */
html {max-width: 1920px; margin: 0 auto; background-color: #CCCCCC; } 
#header {max-width: 1920px;}
header#header {}
/** Headers **/

h1, h2, h3, h4, h5, h6 { 
	font-family:  Helvetica, Arial, sans-serif; 
	font-weight: normal;
	line-height: 120%;
}

	 	@media (max-width: 767px) {
		h1 {font-size: 26px}
		h2 {font-size: 18px}
		}
.main_color strong {color: inherit}
.announcetxt {color: #8f8f8f; font-size: 60px; font-size: 4.5vw; margin-left: -20%}

	@media (max-width: 989px) {
	.announcetxt {margin-left: inherit}
	}

	/* makes thumbs over image smaller */
	@media (max-width: 479px) {
	.halfsize .wp-caption {width: 50% !important; height: auto }
	.halfsize .wp-caption-text {display: none}
	div#ovrimgimg .avia-image-overlay-wrap {width: 50% !important; height: auto }
	body.page.page-id-3584 div#ovrimgimg .avia-image-overlay-wrap {width: 90% !important; height: auto } /* Cascade Books style only */
	}
	


/** Main Menu **/
#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a {
    font-size: 24px;
    color: #8f8f8f !important;/*#0097ce */ 
	font-family: Arial, Helvetica, sans-serif !important;
}



/************ HOME PAGE ************/
  
#head-main4 h2 {font-size: 2.8vw; font-weight:200; }
	 	@media (max-width: 767px) {
		#head-main4 h2 {font-size: 22px ;  }
		#top-pic-left {min-height: 200px;}
		}
#head-main4 p { font-size: 1.0em !important; }
		@media (min-width: 767px) {
		#head-main4 p{width: 80% !important; } 
		}
#head-mainbtn .avia-button.avia-size-large {
    padding: 60px 12px 7px;
    font-size: 16px;
    min-width: 139px;
}
		@media (max-width: 1134px) {
		#head-mainbtn .avia-button.avia-size-large {
		padding: 4px 4px 4px;
		font-size: 14px;
		min-width: 120px;
		}
		}

#toptier h2 {border: 1px solid #ce0097;}
#howhelp p.toggler {text-align: center;}
#howhelp .toggle_icon {display: none;}


#overlay-m {
display: flex;
  align-items: center;
  justify-content: center;
}

/** Services Gallery **/
@media only screen and (max-width: 768px) {
#gallerysrv .av-masonry-entry {width: 50% !important;}
}

.providers h3.av-masonry-entry-title.entry-title {
	color: #777777; 
	font-family:'roboto', Helvetica, Arial, sans-serif; 
	text-transform: uppercase; 
	font-size: 14px; 
	text-align: center; 
} 

#about-cc {border-top: 10px solid #97ce00; } 

#about-cc .av-subheading_below p {
	color: #fa6646; 
	font-size: 120%; 
	font-weight: bold;
}

#leftpan {margin-right: 190px !important;}
div#leftpan.flex_column {  right: -16% !important;  transform: scale(.9);}
#asidestuff {background-color: #ffffff; padding: 40px; box-shadow: 0 0 2px 0 rgba(0,0,0,0.2);}
#asidestuff p {font-weight: bold; color: #777777;}

	@media (min-width: 989px) {
	#healthitem {left: -46%}
	}
	@media (max-width: 479px) { 
	#pan2 .av-special-heading {margin-top: 20px;}
	}
	@media (min-width: 767px) {
	#resources {margin-top: 50px;}
	}

/* -ba is for before-after slider */
div#leftpan-ba.flex_column {  right: -3% !important;  transform: scale(1.0);}
#head-full {max-height: 700px;}
#head-full .container {padding: 0 0;}
.ba-h1 h1.av-special-heading-tag{ /* This is for RH Corporte Giving/new template */
	font-family: 'Caveat', 'Roboto Slab', 'Lora', Georgia, "Times New Roman", Times, serif; 
	font-weight: 400; color: #E46B4F; 
	text-transform: inherit; 
	font-size: 3vw;
	}
.av-img-diff-label {top: 20px !important;}
/*** news blog image overlay ***/

	@media only screen and (min-width: 768px) { 
	.grid-column-hmblog{
		display: grid;
		grid-template-columns: repeat(12,1fr);
		grid-template-rows: auto;
		grid-column-gap: 1pc;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.grid-image-right-hmblog {
		display: grid;
		grid-column-start: 4;
		grid-column-end: span 9;
		grid-row: 1;
	}
	.grid-column-hmblog #avia-magazine-1{
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 5;
		grid-row: 1;
		padding: 5%;
		color: #000;
		background-color: #fff;
		z-index: 1;
	}
	}


/***** TEST PAGE ONLY. CAN DELETE IF NOT USED *****/

#nogapgridcol .container {padding: 0px 0px;}

	@media only screen and (min-width: 1200px) { 
	}
	@media only screen and (min-width: 768px) { /* 1200px */
	.grid-column-test{
		display: grid;
		grid-template-columns: repeat(12,1fr);
		grid-template-rows: auto;
		grid-column-gap: 0pc;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.grid-column-test .avia-image-container.avia-align-center {
    margin: 0 auto 0px auto;
	}
	.grid-image-right-test {
		display: grid;
		grid-column-start: 6;
		grid-column-end: span 12;
		grid-row: 1;
	}


	#leftcontentgrid {
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 5;
		grid-row: 1;
		/padding: 10%;
		color: #ffffff;
		z-index: 1;
		/background-color: #f1f1f1;
		margin: 0 5%;
		padding: 5%;
	}
	}

@media only screen and (max-width: 1200px) {
		#leftcontentgrid .avia_image {
		height: 50% !important;
		width: 50% !important;
	}
}

/** End of Test Page **/


#readmore .av_textblock_section {margin-top: -50px;}

/*** Top Needs ***/

	@media only screen and (min-width: 768px) { 
.splashcaption {
	position: absolute;
	bottom: -150px !important;
	left: 20px;
	z-index: 120;
	background-color: transparent;  /* #f9f9f9 */
	padding: 40px;
	max-width: 40%;
	
	}
	.splashcaption .tagline {
	font-family: "Lora", "Times New Roman", Times, serif;
	padding: 0 30px 10px 30px;
	}
}


	@media only screen and (min-width: 768px) { 
.needscaption {
	position: absolute;
	bottom: -40px !important;
	left: 20px;
	z-index: 120;
	background-color: #E3F3F6;  /*  #f9f9f9 */
	padding: 40px;
	max-width: 300px;
	}
}

.headcaption { /* This is for RH Corporte Giving/new template */
	position: absolute;
	bottom: -40px !important;
	left: 40px;
	z-index: 120;
	background-color: #ffffff;  /* E3F3F6 #f9f9f9 */
	padding: 40px;
	max-width: 400px;
	border: 1px solid #cccccc !important;
	}
}



	@media only screen and (min-width: 768px) { 
.aplacetag {
	position: relative;
	top: -30px !important;
	right: 50px;
	z-index: 120;
	/background-color: #ffffff;  /* E3F3F6 #f9f9f9 */
	/padding: 40px;
	/max-width: 300px;
	/border: 1px solid #666666;
	}
}
#nogap .container {padding: 0 !important }
   
@media only screen and (max-width: 767px){
#nogap  .container {width: 100% !important; max-width: 100% !important; }
}

/*** splash image overlay ***/
#splash-outter .container {
    padding: 0px 0px;
}
	@media only screen and (min-width: 768px) { 
	.grid-column-hmsplash{
		display: grid;
		grid-template-columns: repeat(12,1fr);
		grid-template-rows: auto;
		grid-column-gap: 1pc;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		padding: 0px;
	}
	.grid-image-right-hmsplash {
		display: grid;
		grid-column-start: 5; /* indicates width postion */
		grid-column-end: span 9;
		grid-row: 1;
	}

	/* .grid-column-hmsplash #avia-magazine-1{
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 5;
		grid-row: 1;
		padding: 5%;
		color: #000;
		background-color: #fff;
		z-index: 100;
	} */
	.grid-column-hmsplash #splash-content{
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 5;
		grid-row: 1;
		margin-top: -25%;
		padding: 5%;
		color: #000;
		background-color: #fff;
		z-index: 100;
		font-size: 150%;
	}
	}
/********* OTHER PAGES **********/

/*** Dental Page ***/

#after_grid_row_1 .content  {padding-bottom: 10px}
#wservices {}
#dentalvalue {/margin-top: -5%}
#dentalvalue .dentalvalue-l  {padding: 0 6% }
	 	@media (max-width: 767px) {
		div#ovrimgimg.avia-image-container {left: 0 !important; }
		}
		
#iconboxsqz.avia-icon-list-container {
    margin: 0 !important;
    clear: both;
}		

#wsrvimgr.avia-image-container.avia-align-center {margin: auto 0px auto; }


/********* FOOTER **********/

/* Google Translator */

#glt-translate-trigger {text-shadow: none!important}



/***** Project Artemisia ****/

.splashsubhead h1 {background-color: rgba(225, 232, 230, 0.5); letter-spacing: 2px; text-shadow: 1px 1px white; font-family: 'Rockwell', 'helvetica', Arial, Helvetica, sans-serif }

#herotag {text-align: center; margin-bottom: 40px;}
#herotag .cursive .tight {
    font-size: 200%;
	font-size: 2.6vw;
	color: #ffffff !important;
    background-color: #FB674A;
    background-color: rgba(251, 58, 18, 0.5);
    padding: 2px 2px;
}

#srvgallery { margin: -20px 0 20px 0; background-color: transparent !important}

#numbergrid {}



/******* ROSE HAVEN ONLY STYLES ***********/
/** design 14-b: MAIN COLORS: med blue: #8ec0c7 | light blue: #aed1d7 | fuchsia: #ED39C4 | orange: #ff9f60 | pink: #F7AABB  **/


#nogaprh .container {padding: 0 !important }
   
@media only screen and (max-width: 767px){
#nogaprh  .container {width: 100% !important; max-width: 100% !important; }
}

#overlayrh-m {
display: flex;
  align-items: center;
  justify-content: center;
}

.btnoverlayhm-m {
	position: absolute;
	bottom: -20px !important;
	border-radius: 10em 10em 10em 10em;
	z-index: 120;
	background-color: #ffffff;  
	padding: 10px 20px;
	border: 1px solid #666666;
	}
	
#srvgalleryrh { margin: -20px 0 20px 0; background-color: transparent !important}

#guestservices {}

@media (max-width: 767px) {
#guestservices .srvhours  {text-align: center;}
}

	@media only screen and (min-width: 768px) { 
.needscaption2 {
	position: absolute;
	bottom: -40px !important;
	left: 20px;
	z-index: 120;
	background-color: #ffffff;  
	padding: 0px 20px;
	max-width: 300px;
	border: 1px solid #666666;
	box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2);
	}
}
	@media only screen and (min-width: 200px) { 
.needscaption2 {
	/padding: 10px 40px !important;
	}
}

	@media only screen and (min-width: 768px) { 
	.grid-column-hmblogrh{
		display: grid;
		grid-template-columns: repeat(12,1fr);
		grid-template-rows: auto;
		grid-column-gap: 1pc;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.grid-image-right-hmblogrh {
		display: grid;
		grid-column-start: 4;
		grid-column-end: span 9;
		grid-row: 1;
	}
	.grid-column-hmblogrh #avia-magazine-1{
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 5;
		grid-row: 1;
		padding: 5%;
		color: #000;
		background-color: #fff;
		z-index: 1;
	}
	}
	
#involvement {}
#involvesub {}
#numbersrh {}
#numbersgrid {}
#rhreport {}


/*** About Rose Haven (and test template)  ***/

/** Hero header **/
#nogapgridcolrh .container {padding: 0px 0px;}
	@media only screen and (min-width: 768px) { 
	.grid-column-hero{
		display: grid;
		grid-template-columns: repeat(12,1fr);
		grid-template-rows: auto;
		grid-column-gap: 1pc;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		background-color: #f1edea;
	}
	.grid-image-right-hero {
		display: grid;
		grid-column-start: 4;
		grid-column-end: span 12;
		grid-row: 1;
		z-index: 1;
	}
	
	.grid-image-right-hero-2 {
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 10;
		grid-row: 1;
		z-index: 1;
	}
	.grid-column-hero #leftoverlay{
		display: grid;
		grid-column-start: 1;
		grid-column-end: span 4;
		grid-row: 1;
		padding: 3% 5%;
		margin-right: 50px;
		color: #000;
		z-index: 2;
		margin-left: 40px;
		background-color: rgba(255, 255, 255, 1.0); padding: 40px; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2);
		/border-radius: 5px;
		min-width: 320px;
	}
	
	.grid-column-hero #leftoverlay-2{
		display: grid;
		grid-column-start: 10;
		grid-column-end: span 3;
		grid-row: 1;
		padding: 3% 5%;
		margin-right: 50px;
		color: #000;
		z-index: 2;
		margin-left: -10px;
		background-color: rgba(212, 133, 136, 1.0); padding: 40px; box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2);
		/border-radius: 5px;
		min-width: 300px;
	}
	.grid-column-hero #leftoverlay h1{
	font-family: Roboto, Helvetica, Arial, sans-serif, serif;
	font-weight: 400; 
	color: #E46B4F; 
	text-transform: none !important; 
	font-size: 2.0vw;
	}
	.grid-column-hero #leftoverlay p {font-weight: bold; color: #777777; }
	.grid-column-hero #leftoverlay hr {
    border: solid #aed1d7;
    border-width: 2px 0 0;
    clear: both;
    margin: 10px 0;
}
	.grid-column-hero #leftoverlay small {font-weight: normal; color: #777777; font-size: 12px;}
	}

/* Below Header */

#mid-section {}


/*** Corp Helping Page ***/
.sans-h1 h1.av-special-heading-tag{ /* old styles: font-family: 'Caveat', 'Roboto Slab', 'Lora', Georgia, "Times New Roman", Times, serif; */
	font-family: Roboto, Helvetica, Arial, sans-serif, serif; font-weight: 400; color: #E46B4F; text-transform: inherit;
	}

/********** END OF ROSE HAVEN ONLY STYLES ***********/