/*

Theme Name: Precision Health Alliance
Description: child theme from Master change theme name and description for project
Author: Peter Anderson
Version: 2.5.6
Template: master_parent


*/

@import url('../master_parent/style.css');

/* begin custom code */
/* in order for this to work you master parent needs to be also checkout into the
theme folder and place in a folder named "master_parent" */

/*jump index 
-- 1650 and 1218 : "maximum"
-- 801 to 1023 : "Between"
-- 800 : "tablets"
-- 500 : "phones"


*/


	
/* ---------------------------  GLOBAL  ------------------------------------- */

/* Fonts, headings, Div, Tables */


	h1,h2,h3,h4,h5,h6 {
		color:#1b1464;
		margin-bottom:14px;
		font-weight:500;
	}

	h1 {font-size:3.6rem;}

	h2 {font-size:2.8rem;}

	h3 {font-size:2.4rem;}

	h4 {font-size:2rem;}

	h5 {
		font-size:1.8rem;
		color:black;
		font-weight:700;
	}

	h6 {
		font-size:1.6rem;
		text-transform:uppercase;
		font-weight:700;
	}

	h1.entry-title {
		margin-top:15px;
		font-size:3.6rem;
		font-weight:500;
	}

	ul, ol {
		margin:0 0 1.5em 3em;
	}

/*default table colors*/
	
	.table .mobile {
		font-weight:bold; 
		text-transformation:uppercase;
		font-size:1.8rem;
	}

	table {
		background-color:#fff; 
		color:#135c6d; 
		border-top:1px solid #06809c; 
		height:auto !important;
	}

	thead {
		visibility:visible;
		display:table-header-group;
	}

	table th {
		background-color:#018fb0;
		color:#fff;
		text-align:left; 
		border-right:1px solid #fff;
		font-weight:normal;
		padding:8px 15px; 
		font-weight:bold;
	}

	table td {
		border-bottom:1px solid #b8ced3; 
		padding:14px; 
		text-align:left;
		display:table-cell;
		text-align:left;
		padding-left:0px;
		width:37%;
		border-right:1px solid #ccc;
	}

	
	table td.first {
		font-size:1.8rem;
		background-color:#72a5bf;
		color:#fff;
		width:200px;
	}

	tbody tr:nth-of-type(2n) {
		background-color: #e1f1f3;
	}

	table td.first.cell  {
		border-bottom:1px solid #fff;
		font-weight:bold;
		border-bottom:1px solid #b9ced3;
	}

	table th.first.cell, 
	table td.first.cell {
		padding-left:20px;
		text-align:left;
	} 




/* end default table design */

	#secondary, 
	.rightwidgets,
	.loginout {
		display:none;
	}

/*-------------------- Core Architecture */

/* turn off global browser user agents*/

	* {
		margin:0px;
		padding:0px;
		box-sizing:border-box;
	}

	body {
		background-color:white;
	}

	main {
		height: auto;
	}

	#primary {
		background-color:#fff;
		padding:0px;
	}


	div.centercol {
		padding:20px 40px;
		background-color:white;
	}

	article:focus, main:focus{
		outline:none;
	}

	main,
	#primary,
	#site-header,
	.search-area,
	.main-navigation,
	.entry-header, 
	.fl-builder header.site-header, 
	.fl-builder .entry-footer {
		width:100%;
		max-width:1330px;
		margin:0px auto;
	}


/* adjust title to align with default builder text*/

	.fl-builder 
	.entry-header {
		max-width:1320px;
	}
	
	.home .fl-col-small {
		max-width:900px;
	}

/*adjustments for beaver builder layouts */

	.fl-builder .centercol {
		padding:0px;
	}
	
	.fl-module-content {
		margin-left:40px;
		margin-right:40px;
	}

	.fl-builder h1.entry-title {
		max-width:1100px;
		width:100%;
		margin:0px auto;
		padding-left:60px;
		padding-top:40px;
	} 

	.fl-builder .entry-content {
		margin:0px;
	}


	.fl-builder article.hentry {
		width:100%;
		margin-bottom:0px;
		float:none;}

	.fl-row-fixed-width {
		padding:0px;
	}

	
/*--------------------- Header */

/* site branding */ 

	header {
		display:flex;
	}

	.home header {

	}


	.site-branding {
		height:auto;
		background-color:white;
		background-image:none;
		padding-top:0px;
	}

	#site-header {
		position: absolute;
		top:90%; /* previous 0px */
		left:0px;
		padding-left:42px;
		width:40%;
		flex:4;
		z-index:1;
	}

	.home #site-header {
		width:50%;
		padding-left:0px;
		height:300px;
		z-index:10;
	}

	.home #site-header img {
		display:none;
	}

	.home #site-header img {
		background:url("images/logo_space.svg");
	}

/* navigation */

	.main-navigation {
		flex:8;
		float:none;
		display:flex;
		justify-content: flex-end;
		background-color:white;
		margin-top:0px; 
	}

	.main-navigation li a {
		background-color:white;
		color:#1b1464;
		font-size:2rem;
	}


/* set the current background menu color:*/

	.main-navigation .current_page_item > a, 
	.main-navigation .current-menu-item > a, 
	.main-navigation .current_page_item > a:hover, 
	.main-navigation .current-menu-item > a:hover {
		background-color:#e7e7e7 !important;
		border-bottom:4px solid #fbb03b;
	}

	.main-navigation .current_page_item > a:link {
		color:white!important;
	}

	.nav-menu {
		display:flex;
		justify-content: flex-start;
	}

	.main-navigation ul ul {
		background-color:rgba(165,165,165,0.92);
		float:none;
		right:0px;
		width:300px;
		left:auto;
	}

	.main-navigation ul ul a {
		width:300px;
		text-transform: none;
	}

	.main-navigation ul ul li:hover {
		background-color:#ccc;
	}


	button#nav-toggle {
		height: 32px;
		border:none; 
		box-shadow:none;
		text-shadow:none; 
		background:transparent; 
		font-size:3rem; 
		cursor: pointer; 
		padding:0px 2px 4px; 
		margin:10px;width:39px;
	}

	#nav-toggle span:before {top: -10px;}

	#nav-toggle span:after {bottom: -10px;}

	#nav-toggle span, 
	#nav-toggle span:before, 
	#nav-toggle span:after {
		cursor:pointer; 
		border-radius:1px; 
		height:4px; 
		width:35px;
		background:#fff;
		position:absolute;
		display:block;
		content:''; 
		transition: all 200ms ease-in-out;
	}


	.toggled #nav-toggle span {
		background-color: transparent;
	}

	.toggled #nav-toggle span:before, 
	.toggled #nav-toggle span:after {top: 0;}

	.toggled #nav-toggle span:before {transform: rotate(45deg);}

	.toggled #nav-toggle span:after {transform: rotate(-45deg);}


/* Search Components */

	.searches {
		display:flex;
		justify-content: flex-end;
	}

	.fa-search {font-size:2.4rem;}

	.search-box-wrapper {
		margin-top:5px;
		display:none;}

	.search-box {
		border: solid #666; 
		border-radius:0 5px 5px 0;
	}

	.search-area {
		display:none;
		position:relative;
		width:48px; 
		transition: width 0.5s;
		overflow: hidden;
	}

	.search-area.toggled{
		width:265px;
	}

	.search-toggle {
		top:40px;
		background:rgba(0,0,0,0.6); 
		border-radius:20px 0px 0px 20px; 
		margin: 7px 0px;
	}

	.search-toggle:hover {
		background:#652f6c;
	}

	.toggled .search-toggle {
		float: none; 
		position: static; 
		margin-top: 1px; 
		height: 49px; 
		display: inline-block;
	}
	

	.search-box-wrapper.toggled  {
		animation-name:search-animation;
		animation-duration: .2s;
		animation-timing-function: linear;
		display:block;
		width:auto;
	}
	
	
	.search_again {
		padding: 14px 0px 0px 20px;
		background-color:#f5e7dc;
		width:100%;
		border-top:4px solid #ccc;
		margin-top:32px;
		margin-bottom:32px;
	}

	.search_again strong {
		float:left;
		padding-top:7px;
		margin-left:32px;
		text-transform:uppercase;
		font-size:2rem;
	}

	.search_again #s {
		width:50%;
		margin-left:32px;
	}

	.search_again #searchsubmit {
		margin-left:12px;
		width:100px;
		height:30px;
	}

	.search_again form {
		padding-top:6px;
	}

	/* ----------------------Footer */

	.site-footer {
		background-color:#474141;
		clear:both;
		position: relative;
	}

	.site-footer a {
		color: #DDD !important;
	}

	.footer_logo {
		width:25%;
		margin:0px auto;
	}

	.footer_email {
		position:absolute;
		top:20px;
		right:40px;
		width:50px;
	}


	
/* --------------Posts and Category pages */

	.category_page h1.page-title {
		margin-left:38px;
	}

/* -----------------------  CUSTOMIZATIONS    --------------------------------*/

	.clear {
		clear:both;
	}

	.clearboth {
		height:0px;
	}
	
	.hide {
		display:none;
	}

	.unhide {
		display:block;
	}

	.fl-builder-edit .hide {
		display:block;
	}

	.featured_block {
		background-color:blue;
	}

	@keyframes drawer_animation {
	  from {
		margin-right:-300px;
		
	  }
	  to {
		margin-right:0px;
	  }
	}

	@keyframes search-animation {
	  from {
		margin-top:-100px;
		
	  }
	  to {
		margin-top:0px;
	  }
	}

/*use to hide from sighted users but have item read by screen readers, best in use with aria-labeledby */

	.element-invisible {
	  position: absolute;
	  top: -999999em;
	  left: auto;
	  width: 1px;
	  height: 1px;
	  overflow:hidden;
	}


/*508 fix*/
/*hide empty paragraphs */

	p:empty, h1:empty, h2:empty, h3:empty, h4:empty {
		display: none;
	} 

	Table:focus, 
	caption:focus, 
	tbody:focus, 
	tfoot:focus, 
	thead:focus, 
	tr:focus, 
	th:focus, 
	td:focus {
		outline: #00569d dotted 2px;
	}

	.fl-row.fl-row-full-width {
		max-width:100%;
	}

	.fl-row:first-child .fl-row-content-wrap {
		padding-top:0px;
	}

	.fl-builder #primary {
		margin:0px;
		max-width:100%;
		background-color:transparent;
	}

	.fl-row, 
	.fl-builder .entry-footer {
		background-color:white;
	}

	.fl-builder .entry-header {
		background-color:white;
	}

	.fl-accordion .fl-accordion-item {
		padding:20px 32px;
	}

	.fl-accordion-button-icon {
		text-decoration:none;
	}

/*singing cat code*/
/*code for making videos responsive -- wrap the iframe in a div with wrapper class if you need to control the width of the video do a second parent div around the wrapper and set width on that. */

	.wrapper {
		position: relative;
		padding-bottom: 56.25%; /* 16:9 */
		padding-top: 25px;
		height: 0;

	}
	.wrapper iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/*feataured image space with fixed height and variable image */


		/* Adjust this breakpoint as needed */
	  .image-shifter {
		width: 100%; /* or a specific width, e.g., 836px (1336px - 500px) */
		height:240px;
		overflow: hidden; /* Hide the cropped part of the image */
	  }

	  .image-shifter img {
		 min-width:1250px;
		object-fit: cover;
		
	  }

	.home .image-shifter {
		height:330px;
	}

	.bullets ul {
		list-style-type: none;
		padding-left: 0;
		margin-left:30px;
	}

	.bullets  ul li {
		position: relative;
		padding-left:25px;
		margin-bottom:13px;
	}

	.bullets ul li::before {
		content: '';
		position: absolute;
		left: 0;
		top: 6px;
		width: 10px; /* Adjust size as needed, prev 15px */
		height: 10px; /* Adjust size as needed, prev 15px */
		background-color:#FFC100;
		border-radius:12px;
	}




/* -----------------------  Plug-in CUSTOMIZATIONS    -------------------------*/

	.fl-module-testimonials {
		border-left:4px solid #171E6A;
	}

	.fl-module-testimonials::before {
		content:' ';
		width:20px;
		height:20px;
		border-radius:14px;
		background-color:#171E6A;
		margin-left:-12px;
	}

	.fl-testimonial h4:last-child {
		font-weight:700;
		font-size:1.8rem;
	}

	.fl-testimonial h4:first-child {
		font-style:italic;
		font-weight:400;
		font-size:2.2rem;
	}



/* --------------------------  PAGE SPECIFIC  --------------------------------- */ 



/*-----------------------Home Page */


/*-----------------------404 Page */

	.error404 #primary {
		padding: 20px;
	}

	.error404 .page-content .search-form {
		margin: 20px 0;
	}

/* maximum */
@media screen and (max-width: 1650px){

}

@media screen and (max-width: 1218px){
	
	/* Adjust this breakpoint as needed */
	  .image-shifter {
		width: 100%; /* or a specific width, e.g., 836px (1336px - 500px) */
		height:240px;
		overflow: hidden; /* Hide the cropped part of the image */
	  }

	
	#site-header {
		left:20px;
	}
	
	.home #site-header {
		width:45%;
	}
	
}

/* betweener */

@media (min-width: 801px) and (max-width:1023px) {

}

/* tablets */


	

@media screen and (max-width: 1023px) {
	
	  .image-shifter img {
		object-fit: cover;
		
	  }
	
	

}


@media screen and (max-width: 800px) {
	
	
/* ---------------------------  GLOBAL  ------------------------------------- */


/*-------------------- Core Architecture */

	div.centercol {
		padding:20px 0px;
	}

	.fl-module-content {
		margin-left:0px;
		margin-right:0px;
	}
	
	.fl-module-testimonials .fl-module-content  {
		margin-left:40px;
	}
	
	.fl-row-fixed-width {
		padding:0px 25px;
	}
	

	
/*--------------------- Header */

/* site branding */ 
	
	#site-header {
		left:20px;
	}
	


	 /* Adjust this breakpoint as needed */
	  .image-shifter {
		height:200px;
	  }

	



/* navigation */
	
	 .menu-toggle {display:block;}


/* Search Components */


/* ----------------------Footer */
	.footer-widgets .widget, .loginout {
		float: right;
		padding: 0 30px;
		width: auto;
	}
		
/* Fonts, headings, Div, Tables */

	
	h1,h2,h3,h4,h5,h6 {
		margin-bottom:14px;
	}
	
	h1 {font-size:2.8rem;}
	
	h2 {font-size:2rem;}
	
	h3 {font-size:1.8rem;}
	
	h4 {font-size:1.6rem;}
	
	h5 {
		font-size:1.6rem;
		color:black;
		font-weight:700;
	}
	
	h6 {
		font-size:1.6rem;
		text-transform:uppercase;
		font-weight:700;
	}
	
	.fl-builder h1.entry-title {
		font-size:2.8rem;
		font-weight:500;
		padding-left:70px;
	}

	ul, ol {margin:0 0 1.5em 2em;}
	
	

/*table in mobile definition*/

	.mobile {display:block;}

	thead {
		visibility: hidden; 
		display:none;
	}

	table td  {
		display: block; 
		text-align:left;
		padding-left:34px; 
		width:99%;
	}

	table td.first {
		font-size:1.8rem;
		background-color:#72a5bf;
		color:#fff;
		width:99%;
	}
	

	/*animated drawer code right align */
	.main-navigation {
		position:static;
		overflow: hidden;
		height:auto;
		display:block;
	}
	
	.main-navigation li {
		border-top:0px solid transparent;
	}
	
	.main-navigation .current_page_item > a, 
	.main-navigation .current-menu-item > a, 
	.main-navigation .current_page_item > a:hover, 
	.main-navigation .current-menu-item > a:hover, .main-navigation li a {
		background-color:#1f2237!important;
		color:#fff !important;
	}
	
	.main-navigation .current_page_item > a, 
	.main-navigation .current_page_item > a:hover, 
	.main-navigation .current_page_item li:hover, 
	.main-navigation .current_page_parent .current_page_item > a {
		
	}
	
	.menu-toggle {
		position:relative;
		float:right;
		top:5px;
		right:20px;
		z-index:22;
	}
	
	.toggled button#nav-toggle {
		background-color:transparent;
	}
	
	
	#nav-toggle span, 
	#nav-toggle span:before, 
	#nav-toggle span:after
	{
		background:black;
	}
	
	.toggled #nav-toggle span:before, 
	.toggled #nav-toggle span:after
	{
		background:white;
	}
	
	
	.menu-menu-1-container {
		display:none;
		position:absolute;
		top:0px;
		right:0px;
		transform: translateX(100%);
		width:300px;
		background-color:#1f2237;
		height:100vh;
		z-index:20;
		transition: all 0.8s ease;
		
	}
	
	.toggled .menu-menu-1-container {
		display:block;
		transform: translateX(0);
	}
	
	.main-navigation ul.nav-menu {
		width:100%;
		margin-top:58px;
	}
	
	.main-navigation ul li a {
		padding:10px 20px 10px 40px;
		text-transform: capitalize;
	}
	
	
	
	
	
	
/* --------------Posts and Category pages */



/* -----------------------  CUSTOMIZATIONS    --------------------------------*/



/* -----------------------  Plug-in CUSTOMIZATIONS    -------------------------*/



/* --------------------------  PAGE SPECIFIC  --------------------------------- */ 



/*-----------------------Home Page */




}
	
@media screen and (max-width: 768px){

	.fl-builder h1.entry-title {padding-left:50px;}
}


/* phones */

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



	
/* ---------------------------  GLOBAL  ------------------------------------- */


	
	.fl-row-fixed-width {
		padding:0px 12px;
	}
		
/*-------------------- Core Architecture */

/*--------------------- Header */

/* site branding */ 
	
	header {
		display:block;
	}
	
	.site-branding {padding-top:0px;}
	
	#site-header {
		margin:0px auto;
		width:78%;
		padding-left:0px;
		position:relative;
		height:auto;
		left:0px;
	}

	.home #site-header img,
	#site-header img {
		display:none;
	}

	.home #site-header img,
	#site-header img {
		display:block;
		content:url("images/logo_finalv2.svg");
	}

		
	.home #site-header {
		width:70%;
		height:auto;
	}
	

/* navigation */
	
	.main-navigation {
		background-color:#ccc;
		height:58px;
		display:block;
		margin:0px;
	}
	
	.main-navigation.toggled {
		height:auto;
	}
	
	.menu-toggle {
		top:0px;
	}
	
	.menu-menu-1-container {
		width:100%;
		padding-top:165px;
		background-color:#1f2237;
	}


/* Search Components */


/* ----------------------Footer */
	
		
/* Fonts, headings, Div, Tables */

	.fl-builder h1.entry-title {padding-left:25px;}
	
	.footer_logo {
		width:50%;
		margin:0px auto;
	}
	
	.loginout {
		display:none;
	}
	
	
/* --------------Posts and Category pages */



/* -----------------------  CUSTOMIZATIONS    --------------------------------*/

	 /* Adjust this breakpoint as needed */
	  .image-shifter {
		height:250px;
	  }

	  .image-shifter img {
		object-position: -740px center; /* Shift the image to the left */
	  }

/* -----------------------  Plug-in CUSTOMIZATIONS    -------------------------*/



/* --------------------------  PAGE SPECIFIC  --------------------------------- */ 



/*-----------------------Home Page */



	
}

/* Tone down the animation to avoid vestibular motion triggers like scaling or panning large objects. SEE: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion */

@media (prefers-reduced-motion) {
	
}

/* Alternate Custom Animated nav drawer for mobile opens from the right 

	.main-navigation {position:initial;}

	.main-navigation.toggled .menu-menu-1-container {
		display:block;
	}
	
	button#nav-toggle {
		position:absolute;
		top:20px;
		right:50px;
		height: 3px;
		border:none; 
		box-shadow:none;
		text-shadow:none; 
		background:transparent; 
		font-size:3rem; 
		cursor: pointer; 
		padding:0px 2px 4px; 
		margin:10px;
		width:31px;
		z-index:1000;
	}

@media screen and (max-width: 800px){
	
	.searches {
		position:absolute;
		top:0px;
		right:0px;
		z-index:2;
		margin-right:0px;
		width:100%;
	}
	
	.searches.search_mod {
		z-index:11!important;
	}
	
	.menu-menu-1-container {
		animation-name: drawer_animation;
  		animation-duration: .2s;
  		animation-timing-function: linear;
		background-color:#00385a;
		padding-top:70px;
		display:none;
		position:absolute;
		top:0px;
		right:0px;
		z-index:10;
		width:66%;;
		height: calc(100vh);
	}
	
	
	
}

*/


