.detail-text, .detail-text p 
{
	text-align:right;
}

.detail-text ol li, .detail-text ul li
{
	list-style:revert;
	text-align:revert;
}

h1
{	
	color:white;
	margin:0px auto;

}

@media only screen and (min-width:769px)
{
	h1
	{
		width:1000px;
	}
}

a.footer-link {
	color: white;

}

a.footer-link.highlighted-link
{
	color:#00a5ba;
	font-weight:500;
}

nav.footer-link-container
{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;    
    gap: 1em;
}

          
p.disclaimer.logo
{
	margin-top:1em;
}

div.reut-page-design h2
{
	color:#00a5ba;
	text-align:right;
}

div.reut-page-design > .spu-content .detail-text p:first-of-type {
margin-bottom: unset;
}

/* Article grid */ 
.article-grid-container
{
	display:flex;
	flex-wrap:wrap;
	column-gap:5em;
	row-gap:3em;
	justify-content: space-between;
	margin-top:2em;
}

.article-link-entry a img
{
	width:400px;
}

.article-link-entry a
{
	color:#00a5ba;
	font-size:1.2em;
}

.link-container
{
	margin-top:0.8em;
	text-align:center;
	
}

@media only screen and (max-width: 600px) {
	.article-link-entry
	{
		margin-top:2.5em;
	}

	.article-link-entry a img
	{
		width:350px;
	}

	.article-grid-container
	{            
		margin-top:unset;
		row-gap:1em;
	}
}

/* Article page */

.article-author-line 
{
	color:white;
	display:flex;
	gap:0.5em;
	margin-top:0.5em;
}

div.main-article > p
{
	margin:unset;
	text-align:justify;
}

.main-article
{
	
}

.article-grid
{
	margin-top:2em;
	display:flex;
	
}


.article-pics
{
	text-align:center;
}

.article-pics > img
{
	margin-bottom: 1em;
}

.container
{
	/* border:1px solid white; */
}

/* .article-page > .spu-content > .detail-text */
div.simple-page-content.article-page > div.spu-content > div.container > div.detail-text
{
	max-width:unset;
}

.article-page > div.spu-content > div.container > h1
{
	width:unset;
}

div.detail-text p
{
	width:unset;
	padding-left:3em;
}

.article-main-image
{
	width:400px;
}

.article-link-container
{
	border:1px solid #00a5ba;
	padding:1em;
	display:inline-block;
	margin-top:2em;
}

.article-link-container a
{
	transition:0.5s ease-in-out;
	color:#ffffff;
	font-weight:bold;
}

.article-link-container:hover
{
	background-color: #00a5ba;        
}


@media only screen and (max-width: 600px) {
	.article-grid
	{
		flex-wrap:wrap;
	}

	div.detail-text p
	{

		padding-left:0.3em;
		padding-right:0.3em;
	}

	.article-main-image
	{
		width:350px;
	}

}
h1 
{
	color:#00a5ba;
}

.breadcrums-wraper .sep
{
	color:white;
	margin-left:0.3em;
	margin-right:0.3em;
}

.banner .banner-title.video-text {
	color: transparent;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #fff;
	font-size: 65px;
	font-family: 'Assistant', sans-serif;
	text-align: center;
	font-weight: 800;
	letter-spacing: -2px;
	line-height: 56px;
	text-transform: uppercase;
}

.inline-image
{
	vertical-align: unset;
}


/* about */

.two-column-grid
{
    grid-template-columns: 48.5% 3% 48.5%;
	row-gap:2em;
    display:grid;
	margin-top:1em;
}

.two-column-grid-no-padding-div
{
    grid-template-columns: 50% 50%;
	row-gap:2em;
    display:grid;
	margin-top:1em;
}


.about-image
{
    max-width:666px;
}

@media only screen and (max-width: 600px) {
	.two-column-grid
	{		
		row-gap:2em;
		display:flex;	
		flex-wrap:wrap;
	}	

	.about-image
	{
		max-width:95vw;
		text-align: center;
	}
}

.about-text, .detail-text  .about-text  p{
    text-align:justify;
    margin: unset;
    padding-left: unset;
}

.main-article h3
{
	color: #00a5ba;
	text-align: unset;
	margin: unset;
	width: unset;	
}


.spu-bg
{
	background-color:transparent !important;
}

.tip_title
{
    color:white;
    font-size:1.8em;
    margin-top: 1em;
    margin-bottom: 0.7em;

}
.tip_container
{
    color:white;
    display: flex;
    justify-content: space-between;
}
.tip_side_container
{
    display: flex;
    border: 1px solid white;
    width: 48%;
}
.tip_text_container
{
    width: 22em;
    color: white;
    /* background-color: #002355; */
    padding-right: 1.5em;
    display: flex;
    /* height: 400px; */
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.25em;
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
}
.tip_image_container
{
    color:white;
    align-self: flex-end;
}
.tip_image_container img
{
     width:100%; 
}

.grade_container
{
    color:white;
}

.grade_container img
{
    color:white;
    width:50%;
}



@media only screen and (max-width: 600px) {
	.tip_side_container{
        width: 100%;
        margin-bottom:2em;
        display:flex;
        flex-direction: column;
    }

    .tip_image_container {
        color: white;
        align-self: unset; 
        position: relative;
    }

    .tip_image_container img
    {
        width:100%; 
    }

    .tip_container {
        flex-direction: column;    
    }

    .tip_text_container
    {
        width: unset;
    }

    .grade_container img
    {
        
        width:25%;
        filter: drop-shadow(0px 0px 5px #000000);
    }

    .grade_container
    {
        position: absolute;
        top: 10px;
        right: 10px;
    }

}

.contact-form{
	max-width:unset;
	margin-left:unset;
}

.contact-image
{
	padding: unset;
	max-width: unset;
	padding-left: 20px;
	padding-top: 20px;
	width: 924px;
	padding-bottom: 64px;
}

.contact-image .img-wraper {
	margin-right:20px;
}

.contact-form-container
{
	display:flex;
}


@media only screen and (max-width: 600px) {
	.contact-form-container
	{
		display:unset;
	}

}

.member-ship-wraper .member-ship-box h6 {	
	color: #00a5ba;	
	font-family: 'Rubik', sans-serif;
}

.member-ship-wraper .member-ship-box p {
	line-height: unset;
	font-size:2em;	
}


.helpie-faq.accordions .accordion .accordion__item .accordion__header {
	
	text-align: unset;
	
}

.helpie-faq.accordions .accordion__header:before, .helpie-faq.accordions .accordion__header:after {	
	margin-right: -14px;	
	right: unset;
	background-color:#00a5ba;
	margin-top:-0.1em;
}

.helpie-faq.accordions .accordion .accordion__item {	
	border-bottom: solid 1px #00a5ba;
}

.helpie-faq.accordions .accordion .accordion__item .accordion__body {	
	margin-right: 1.1em;
}

.helpie-faq.accordions .collection-title {
	margin-bottom: 20px;
	display: none;
}

.helpie-faq.accordions .accordion .accordion__item .accordion__body {
	padding: unset;
}


.spu-content .detail-text {
	max-width: unset;
}

/* remove the line for all */
.button-wraper a::after {	
	background-color: unset;
	display:none;	
}

@media only screen and (max-width: 600px) {
	.button-wraper a::after {	
		background-color: #00a5ba;	 /* Restore line for mobile only */ 
		display:unset;
	}
	.button-wraper a {	
		display: block;
		text-align:center;
		width:unset;
	}
		
}

.button-line-wrapper
{
	display:flex;
	justify-content: space-between;
}

.button-wraper {
	/* min-width: 16em; */
	padding-top: 2em;
	padding-bottom: 2em;
}

.button-wraper {
	width: unset;
}

@media only screen and (max-width: 600px) {
	.button-line-wrapper
	{
		flex-direction: column;
		align-items: center;
	}
	.button-wraper {	
		width: 80vw;
	}
}


#allow-communication > span > label > input
{
	margin-right:-1em;
}

#allow-communication > span > label > span  
{
   color:white;
   padding-right:0.3em;
}

span.wpcf7-form-control-wrap.allow-communication
{
	display: block;
}

@media screen and (max-width: 919px)
{
	.popup-second span {
		font-size: unset;

	}
}

@media screen and (max-width: 480px)
{
	.week-days-wraper ul .first
	{
		margin-bottom: 1em;
	}
}

.join_footer_communication
{
	color: white;
	/* margin-top: -0.3em; */
	margin-right: 0.5em;
}

@media screen and (max-width: 919px)
{
	.popup-first .detail-form span
	{
		font-size: unset;
	}

	.join_footer_communication
	{
		font-size: unset !important;
	}
}


div.button-line-wrapper div.button-wraper a
{
	text-align:center;
	width:14em;
}

#allow-communication > span > input[type=checkbox]
{
	height:unset;
}

.header nav ul li {
	padding: 0px 29px;
}


.metaslider .flex-direction-nav .flex-next, .flexslider:focus-within .flex-direction-nav .flex-next {
	background-position: left 0 !important;
	text-align: unset;
	text-indent: 9999px;
	right: 40px !important;
}

.metaslider .flex-direction-nav .flex-prev, .flexslider:focus-within .flex-direction-nav .flex-prev {
	background-position: right 0 !important;
	text-align: unset;
	text-indent: 9999px;
	
	left: 0px !important;
}

.metaslider .flexslider .flex-direction-nav li a 
{
	top:85% !important;
}

.wpcf7-list-item-label, div.customer_type_wrapper > p > span > span > span.wpcf7-list-item.first > span
{
	color:white;
}

div.customer_type_wrapper > p > span > span > span.wpcf7-list-item.first
{
	margin-right:0;
}

div.customer_allow_communication_wrapper
{
	flex-basis: 100%;
}

@media screen and (max-width: 360px) /* Samsung S8 */
{
	.popup-first .payment-detail h5 {
		font-size: 27px;
	}
}

@media screen and (min-width: 361px) and (max-width: 375px) /* iPhone SE */
{
	.popup-first .payment-detail h5 {
		font-size: 29px;
	}
}
@media screen and (min-width: 376px) and (max-width: 390px) /* iPhone 12 Pro */
{
	.popup-first .payment-detail h5 {
		font-size: 30px;
	}
}

@media screen and (min-width: 391px) and (max-width: 430px) /* iPhone 14 pro max */
{
	.popup-first .payment-detail h5 {
		font-size: 33px;
	}
}
@media screen and (max-width: 844px)
{
	div.col-lg-6.p-0.col-sm-12 ul
	{
		margin-right:0px;
		padding-right:0px;
		
	}
	
	div.col-lg-6.p-0.col-sm-12 ul li
	{
		margin-right:0px;
		padding-right:0px;
	}
} 

/*---------*/
.membership-grid 
{
	display: grid;
	grid-template-columns: repeat(3, 33fr);
	grid-column-gap: 2em;
}

.membership-grid .member-ship-box
{
	position: relative;
	min-height:19em;
}

.membership-grid .member-ship-box a
{
	position: absolute;
	bottom: 3em;
	left: 50%;
	transform: translateX(-50%);
}

/* iphone media query */
@media screen and (min-width: 375px) and (max-width: 430px) /* iPhone 14 pro max */
{
	.member-ship-wraper .member-ship-box p
	{
		font-size:1.6em !important;	
	}
}

@media screen and (min-width: 391px) and (max-width: 430px) /* iPhone 14 pro max */
{
	.membership-grid {
		grid-template-columns: 99%;
	}
	.membership-grid .member-ship-box
	{	
		min-height:unset !important;
		padding-bottom:8em;
	}
	
}