/***BODY***/
html {scroll-behavior: smooth;}
body {
  font-family: 'Linotype Didot';
  color: #566f6e;
  font-size: 12pt;
  margin: 0;
  position: relative;
	background: url("homeimages/background.png") top center no-repeat;
}

h1, h2, h3 {font-family: 'Linotype Didot'; color: #688785; font-weight:normal}
div.wrapper {width:1123px; margin:0 auto;}

/***HEADER***/

div.header {height:160px;}
div.header .logo img {width:150px; margin-top: 20px;}
div.header ul {margin-left:50px; margin-top:90px;}
div.header ul, div.header img {float:left;}
div.header ul li {display:inline-block; margin-left:40px; }
div.header ul li a {text-decoration: none; color:#566f6e; }
div.header ul li a:hover {color:#98c4c1;}
div.header ul li.join-us {margin-left:90px;  text-align: center;}
div.header ul li.join-us a {display:block; width: 150px; background-color: #688785;padding: 10px; border-radius: 50px; color:#ffffff;}
div.header ul li.join-us a:hover {background-color: #98c4c1;}

/***END HEADER***/

/*CONTENT CTA FOR HOME PAGE*/

div.CTA {width:1123px; height: 720px; margin:0 auto; position:relative; z-index:10; }

div.column1of2 {float: left; width: 430px} 

	div.heading2 {text-align: left; font-size: 15pt;font-style: normal; margin-top: 120px; }
	
	div.classes a {text-decoration: none; text-align: center; display:block; width: 250px; background-color: #688785;padding: 10px; border-radius: 50px; color:#ffffff; margin-top: 30px}
	div.classes a:hover {background-color: #98c4c1;}
	
	div.review {width: 350px; height: 200px; margin-top: 150px; margin-left:-50px;}
	div.review h3 {text-align: center; font-size: 20pt; font-style: normal; }
	div.review p {text-align: center; font-style: italic; } 
	div.review p.name {text-align: right; font-style: normal;}
	img.stars {margin-left:60px; margin-top: -20px}
	
		div.review div.slideshow-container {max-width: 500px;position: relative; margin: auto; }
				div.mySlides {padding:0 50px;}
				a.prev, .next {
				  cursor: pointer;
				  position:absolute;
				  top: 25%;
				  width: auto;
				  color: #688785;
				}

				a.prev {left: 20px; /* bring buttons closer or move them further apart */}

				a.next {right: 20px;} /* Position the "next button" to the right */
				
				a.prev:hover, .next:hover {color: #98c4c1;}


div.column2of2 {float: left; width: 675px; height: 720px; background:url("homeimages/model.png")bottom right no-repeat;} 
	
	div.heading1 {text-align: center; font-size: 20pt; margin-right: 450px; margin-top: 115px;}
	div.heading1 span {line-height:80px; font-family: modish; font-size: 50pt;}

/*END CONTENT CTA FOR HOME PAGE*/


/* CONTENT FOR ABOUT*/

div.about h2 {font-family: modish; font-size: 40px; } 
div.about p{font-size: 19px; line-height: 1.3; text-align: justify; /*width: 600px;*/}

div.owner, .mission, .history {display:flex; margin-top: 100px; margin-bottom: 200px;}

div.owner div, div.owner img {flex: 1;}
div.owner img {width:68%;}

div.mission div, div.mission img {flex: 1; }
div.mission img {width:70%;}

div.history div, div.history img {flex: 1; }
div.history img {width:70%; }

div.owner img, .history img, .mission img {margin-left: 50px;}
div.mission img {margin-left: 130px;}



/* END CONTENT FOR ABOUT*/



/*CONTENT FOR CLASSES*/

div.classes h2 {text-align: center; font-family: modish; font-size: 40px; } 
div.classes h3 {font-size: 20px; font-weight: bold}


.classic-yoga, .meditation, .hatha, .vinyasa1, .vinyasa2, .yin {float: left; width: 300px; height: 200px; margin: 30px; }
div.class-description p {font-size: 17px; text-align: justify} 
div.class-description h2 {margin-bottom: 0px} 
div.class-description h4 {font-style: italic}


div.membership {margin-top: 614px;}

div.membership p {font-size: 17px; font-style: italic}



      /*FLIP CARDS Membership*/

.monthly, .annual, .new, .ten, .couples, .family, .private, .single {float: left; width: 250px; height: 200px; margin-bottom: 35px; perspective: 1000px; }
.annual, .new, .ten, .family, .private, .single {margin-left: 35px;}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 10px; 

}

.monthly:hover .flip-card-inner, .annual:hover .flip-card-inner, .new:hover .flip-card-inner, .ten:hover .flip-card-inner, .couples:hover .flip-card-inner, .family:hover .flip-card-inner, .private:hover .flip-card-inner, .single:hover .flip-card-inner {transform: rotateY(180deg); }

.flip-card-front, .flip-card-back {
  border-radius: 10px;	
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color:rgba(151,196,194,.3); 

}

.flip-card-back {
  background-color:rgba(86,111,110,.5);
  transform: rotateY(180deg); 
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.price {color: white; text-align: center; /*margin: 50px 0 0 0;*/  
   }

.flip-card-front p, .flip-card-back p {padding:0 30px; }
.flip-card-back h3 {padding: 30px;}

    /*END FLIP CARDS*/

/* BUTTONS */

.CTA-contact {clear:both; margin-top: 550px;}
div.CTA-contact a {margin: 0 auto; text-decoration: none; text-align: center; display:block; width: 200px; background-color: #688785; padding: 10px; border-radius: 50px; color:#ffffff; margin-top: 30px}
div.CTA-contact a:hover {background-color: #98c4c1;}

.CTA-instructors {clear:both; margin-top: 70px;margin-bottom: 70px;}
div.CTA-instructors a {margin: 0 auto; text-decoration: none; text-align: center; display:block; width: 270px; background-color: #688785; padding: 10px; border-radius: 50px; color:#ffffff; margin-top: 30px}
div.CTA-instructors a:hover {background-color: #98c4c1;}


/*SCHEDULE TABLE*/

div.schedule { margin-top: 90px; margin-bottom: 50px}
table {margin: 0 auto; border-spacing: 5px; overflow: hidden;}
th,td {border-radius: 5px; padding: 9px; font-size: 80%; margin: 0px; text-align: center; background-color: rgba(151,196,194,.2); position: relative;}
th[scope="row"], th[scope="col"]{background-color: rgba(151,196,194); color: white; letter-spacing: 0.07em}
/*tr:hover {background-color: rgba(151,196,194,.3);}*/
td:hover::after {
    background-color: rgba(151,196,194,.15);
    content: ''; 
    height: 10000px;   
    left: 0;
    position: absolute; 
    top: -5000px;
    width: 100%;
    z-index: -1;
}


/* END CONTENT FOR CLASSES*/

/* CONTENT INSTRUCTORS*/

div.instructorgrid{display:flex; justify-content: space-around; margin-top: 60px; margin-bottom: 60px;}
div.instructor {width:25%;}
div.instructor img {width:100%;}
/*.sofia, .skylar {margin-right: 67px;}
.aria, .zoe {margin-left: 67px;}*/

div.instructors h2 {text-align: center; font-family: modish; font-size: 40px; } 
div.instructors h3 {font-size: 20px; font-weight: bold}
div.instructors h4 {font-style: italic}
div.instructors p {font-size: 17px; text-align: justify} 



/* END CONTENT INSTRUCTORS*/


/* CONTENT GALLERY*/

div.gallery h2 {text-align: center; font-family: modish; font-size: 40px; } 
div.gallery .CTA-contact {margin: 70px 0px 70px 0px;}

* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.gallery-container {
  position: relative;
}

/* Hide the images by default */
.gallery-slides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.gallery-prev,
.gallery-next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.gallery-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(86,111,110,.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: white;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color:rgba(151,196,194,0.3);
  padding: 2px 16px;
  color: #566f6e;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* END CONTENT GALLERY*/

/* CONTENT CONTACT*/

.contact-content {
        display: flex;
        flex-wrap: wrap;
		margin-bottom: 150px;
    }

    .map {
        flex: 1;
    }

    .contact-details {
        flex: 1;
    }

    .map {
        margin-right: 50px; 
    }
    iframe {border-radius: 25px;}



div.contact h2 {text-align: center; font-family: modish; font-size: 40px; } 
div.contact h3 {font-size: 20px; font-weight: bold; line-height: 1.5}
div.contact h4 {font-style: italic;}
div.contact span {font-weight: bolder; }
div.email-button p {text-align: center; margin-top: 30px;}


div.email-button {clear:both; margin-top: 50px;margin-bottom: 50px;}
div.email-button a {margin: 0 auto; text-decoration: none; text-align: center; display:block; width: 200px; background-color: #688785; padding: 10px; border-radius: 50px; color:#ffffff; margin-top: 30px}
div.email-button a:hover {background-color: #98c4c1;}


/* END CONTENT CONTACT*/


/***FOOTER***/

div.footer {clear: both; position:relative; z-index:1; margin-top:0; height: 160px; background-image: url("homeimages/footer.jpg"); background-size:auto;}
div.footer.home {clear: none; position:relative; z-index:1; margin-top:-20px; height: 160px; background-image: url("homeimages/footer.jpg"); background-size: auto;}
div.footer div.wrapper div {display:inline-block; }
	div.column1of3 {margin-top: 40px; width: 200px;}

div.footer.home div.column1of3 {margin-top:20px;}
	div.column1of3 a {text-decoration: none; color: #ffffff; line-height: 2.5; display:block;}
	div.column1of3 a:hover {color: #566f6e;}
		
	div.column2of3 p {text-align: center; color: #ffffff; text-transform: uppercase; width: 720px; margin-top: 0;}
	
	div.column3of3 a{width: 70px; display:inline-block; transition:transform .3s; }
	div.column3of3 a:hover { -ms-transform: scale(1.5); -webkit-transform: scale(1.5); transform: scale(1.1);  }
	
