body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}

body, html {
  height: 100%;
  line-height: 1.8;
}

.zz {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 1.2rem;
}

/*reset visibility of hamburger menu */
.w3-hide-medium .revised {

}


/* Full height image header */
.bgimg-1 {
  background-position: center;
  background-size: cover;
  background-image: url("/images/expavia_background.jpg");
  min-height: 100%;
}

/* Full height image header */
.bgimg-2 {
  background-position: center;
  background-size: cover; 
  min-height: 100%;
  border-radius: 8px;
  margin: 1em 0;
}

/* div background image  */
.div-image {
  background-image: url("/images/backgrounds/geometric.webp"); /* The image used */
  background-color: white; /* Used if the image is unavailable */
  height: 100%; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  
  padding: 25px;   
  color: white;  
  margin: auto;"
}

.left-align {
	text-align:left;
	padding: 0px 25px;
	}
	

.w3-bar .w3-button {
  padding: 16px;
}

.w3-row-padding {
padding: 0;
}

/* W3 row column with no padding */
.w3-row-padding>.w3-col.m6.nopad {
     padding: 0; 
}

/* W3 where side padding is required */
.pad2 {
padding: 0 8px;
}


/* Dummy images used to create mid-page banners*/
.dummy {
 visibility:hidden;
 height :90%;
 }

.centerx {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
   /* background-color: white!important; */
   color:navy;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*----------------Directors cards and directors pages ------------------------------------------------*/

.director {
  background: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border: 1px solid navy;
  overflow: hidden;
  margin-top: 1rem;
}

.director-image {
  width:90%;
   display: block;
  margin-left: auto;
  margin-right: auto; 
}

.w3-quarter.director {
    padding: 20px 0px 0 0;
    /*float: none;*/
	width: 44%;
    max-width: 250px;
    margin: 30px 10px;
	color:navy;
}

.w3-quarter.director a{
	/*color:#fff; */
	text-decoration:none;
}
	
button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.director-page {
	width:45%; 
	max-width:200px; 
	float:right; 
	padding:20px;

}


/*----------------          OUR SERVICES CARDS       ------------------------------------------------*/	

.services {
width: 50.99999%;
}

.thumb-image {
  width:100%; 
  height:120px; 
  float:left; 
  border: 2px solid black; 
  border-radius:10px;
  margin-right: 0px;
  padding:0px;
  /* make a card effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  background: #fff;
  overflow: hidden;
}

.w3-col.m6{
    margin: 5px 0px;
	}
	
	
.phone-text a{
	/*color:#fff; */
	text-decoration:none;
}

/*----------------          OUR SERVICES PAGES STYLING       ------------------------------------------------*/	
.right_float_img {
	width:150px;
	height:auto;
	margin-left:16px; 
	float:right;
	}



/*============================================== media queries amendments ======================================================== */


@media (max-width: 900px) {
    .fa-user, .fa-th, .fa-newspaper-o, .fa-info-circle {
        display:none;
    }
	
	.w3-hide-small {
    display: none!important;
}
	
}


/*reset visibility of hamburger menu */
@media (max-width: 900px) {
.w3-hide-medium.revised {
     display: block!important; 
}
}


@media (max-width: 680px) {	
	.widex-image {
        display:none;	
	}
}


@media (max-width: 680px) and (min-width:601px) {
    .expavia-logo {
        width:110px;
    }
}



/*==================================================== small screens==============================================*/


	@media (max-width: 600px) and (min-width:320px) {

		.w3-col.m6.services {
			width: 43.99999%;
			margin: 5px 5px;
		}
		
		.w3-col.m6.xx {
		width: 90%;
		}

		.right_float_img {
		width:100%;
		height:auto;

		}
				
	}

	
/*====================================================Tablet screens==============================================*/


	@media (min-width: 601px) {
	
		.w3-col.m6 {
			padding: 10px 20px;
			}	
	
		.w3-col.m6.services {
			width: 22.99999%;
			padding: 5px;
			}
		
			
		.w3-image.w3-round-large.center-image.dummy	 {
		height :225px;
		}

		.w3-quarter  {
			width: 44.99999%;
			margin: 1rem;
		}
		
		.w3-quarter.director  {
			width: 27.99999%;
			margin: 1rem;
			float:left;
		}
		

		.w3-quarter.card{
		width: 28.99999%;
		margin: 1rem;
		}
		
		.w3-col.m6.xx {
		
		}		

		.w3-col.m6.xx.child.child-1 {
		width: 75%;
		}
		
		.right_float_img {
		width:40%;
		height:auto;
		margin-left:30px; 
		float:right;
		}
	
	}	

/*====================================================Large screens==============================================*/
	@media (min-width: 1021px) {
		
		.w3-col.m6 {
			padding: 18px 30px;
			}	

		.w3-col.m6.services {
			width: 14.99999%;
			margin: 5px 5px;
		}
			
		.w3-image.w3-round-large.center-image.dummy	 {
		height :200px;
		}

		.center-image {
			display: block;
			margin-left: auto;
			margin-right: unset; 
		}

		body, html {
			max-width: 1200px;
			margin: auto;
		}

		.w3-top, .w3-bottom {
			max-width: 1200px;
		}
		
		.w3-quarter {
			width: 21.99999%;
		}		
		
		.w3-quarter.director{
		width: 21.99999%;
		margin: 1rem;
		}	
			
		.w3-quarter.card{
		width: 27.99999%;
		margin: 1rem;
		}

		.right_float_img {
		width:40%;
		height:auto;
		margin-left:50px; 
		float:right;
		}		

	
	}


/*================================================ footer flex block ==================================================== */

.flex-container {
  display: flex;
  flex-direction: column;
   justify-content: space-around;
  margin:auto;
}

/* Responsive layout - makes a one column layout instead of a 3-column layout */
@media (min-width: 901px) {
  .flex-container {
    flex-direction: row;
	margin:auto;
	text-align:left;
  }    
}


.flex-container > div {
  margin: 10px auto;
  padding: 20px;

}

/*======================================================table for our locations in footer =========================================== */

table, td, th {
  border: 0px solid grey;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td {
  text-align: left;
}

/*===========================================================cards================================================================ */
.card-container-xx  {
  display: flex;
   flex-wrap: wrap;
  flex-direction: column;
   justify-content: space-around;
  margin:auto;
}

.card--avatar {
  height: 5rem;
  margin-top: 10px;
}
 

.card {
    height: 12rem;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    border-radius: 10px;
	margin: 1rem auto;
	width: 80%;
;
	
}

/***************************************************************************************************************************************************/
/*												RESPONSIVE MEDIA QUERY																			 */
/***************************************************************************************************************************************************/


/******** Responsive layout ******************************/
@media (min-width: 301px) {
  .card-container-xx {
    flex-direction: row;
	margin:auto;
	text-align:left;
  } 
}

/******** Responsive layout ******************************/

@media (min-width: 601px) {
  .card-container-xx {
    flex-direction: row;
	margin:auto;
	text-align:left;
  } 
}

/******** Responsive layout ******************************/

@media (min-width: 1021px) {
  .card-container-xx {
    flex-direction: row;
	margin:auto;
	text-align:left;
  } 
}

/*===========================================================test stacking================================================================ */
.child {
position :absolute;
top:0;
}

.child-1 {
left: 0;
height:350px;
}

.child-2 {
    right: 5%;
    top: 25%;
    height: 150px;
}



.parent {
position: relative;
border: 1px solid red;
height:350px;
}

@media (max-width: 600px) and (min-width:320px) {
		
		.child-1 {
			width: 100%;
			left: 0;
			height: 350px;
		}
		
		.child-2 {
			display: none;
		}

	
}

/*===========================================================test flip card================================================================ */
