section:not(#header-banner):not(.footer-banner):not(.popup-warning).review-main {
    display: flex;
    width: 1180px;
    max-width: 99%;
    justify-content: center;
    align-items: stretch;
}

div.review-content {
    width: 885px;
    max-width: 80%;
}

div#review-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 45px 0;
    border: 1px solid #12979E;
    width: 245px;
    padding: 60px 20px 0;
}

ul.review-list {
	list-style: none;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
	padding: 0;
	flex-wrap: wrap;
}


li.review-list-item {
	border: 1px solid #12979E;
	flex-basis: 265px;
	max-width: 265px;
	margin: 30px 15px;
	position: relative;
	min-height: 250px;
	max-height: 250px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* li.review-list-item:nth-last-child(-n+2):nth-child(n+4):last-of-type { */
    /* margin-right: 640px; */
/* } */

li.review-list-item:nth-last-child(-n+2):nth-child(n+4):last-child {
	margin-right: auto;
}

a.review-item-link {
	text-decoration: none;
	color: unset;
	/* display: block; */
	width: 100%;
}

a.review-dl-link {
	text-decoration: none;
	color: unset;
	position: absolute;
	bottom: 10px;
	left: 10px;
}

/* div.review-img-wrapper { */
	/* height: 50%; */
/* } */



/* div.review-img-wrapper { */
	/* height: 160px; */
    /* width: 100%; */
    /* overflow: hidden; */
	/* background-color: #EAEAEA; */
/* } */


/* li.review-list-item:nth-of-type(odd) div.review-img-wrapper { */
	/* border-bottom: 4px solid #2A3162; */
/* } */

/* li.review-list-item:not(:nth-of-type(odd)) div.review-img-wrapper { */
	/* border-bottom: 4px solid #12979E; */
/* } */

/* div.review-img-wrapper img.review-thumbnail { */
    /* object-fit: cover; */
    /* max-height: 100%; */
    /* height: 100%; */
    /* width: 100%; */
/* } */



div.review-txt-container {
    height: 220px;
    padding: 10px;
    display: block;
}



li.review-list-item:nth-of-type(odd) {
	background-color: #12979E;
	color: #fff;
}

li.review-list-item:not(:nth-of-type(odd)) {
	background-color: #fff;
	border: 1px solid #12979E;
	color: #fff;
}

li.review-list-item h4 {
    font-family: "Poppins-Bold";
    font-size: 25px;
    line-height: 32px;
    text-transform: uppercase;
    margin: 0 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;	
	}

li.review-list-item a.review-dl-link {
    font-family: "Poppins-Bold";
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

li.review-list-item:not(:nth-of-type(odd)) h4 {
	color: #2A3162;
}

li.review-list-item:not(:nth-of-type(odd)) a.review-dl-link {
	color: #2A3162;
}

li.review-list-item p.review-date {
    font-family: "Poppins-Bold";
    font-size: 14px;
    margin: 0;
    text-align: justify;
}

li.review-list-item:not(:nth-of-type(odd)) p {
	color: #2A3162;
}

/* div.review-img-wrapper { */
	/* position: relative; */
/* } */

/* div.review-img-wrapper { */
	/* height: 150px; */
    /* width: 100%; */
    /* overflow: hidden; */
	/* background-color: #EAEAEA; */
/* } */

h2#review-nav-title {
	color: #12979E;
    padding: 0;
    margin: 0;
    font-family: "Poppins-Bold";
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    max-width: 80%;
    letter-spacing: 1px;
    line-height: 30px;
}

button.review-month {
	background-color: #fff;
	border: none;
	height: 140px;
	cursor: pointer;
	outline: none;
	width: 80%;
	font-family: "Poppins-Bold";
	color: #12979E;
	font-size: 22px;
	text-align: center;
}

button.review-month.hidden {
	display: none;
}

button.review-month:not(:first-of-type) {
	border-style: solid none none  none;
	border-width: 1px 0 0 0;
	border-color: #12979E;
}

div.see-more-wrapper {
	margin: 40px auto;
    display: block;
}

button#review-seemore  {
	display: block;
	margin: 40px auto;
	max-width: 80%;
	width: 180px;
	height: 60px;
	line-height: 60px;
	border: none;
	outline: none;
	border-radius: 0;
	font-family: "Poppins-Bold";
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	background-color: #293160;
	text-transform: uppercase;
}

@media screen and (max-width: 1159px) {
	
	section:not(#header-banner):not(.footer-banner):not(.popup-warning).review-main {
		flex-direction: column-reverse;
	}
	
	section:not(#header-banner):not(.footer-banner):not(.popup-warning).review-main div.review-content {
		width: 945px;
		max-width: 90%;
		margin: 40px auto;
	}
	
	section:not(#header-banner):not(.footer-banner):not(.popup-warning).review-main div#review-nav {
		width: 895px;
		max-width: 90%;
		margin: 0 auto;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
	}
	
	div#review-nav h2#review-nav-title {
		width: 100%;
		margin: 0 auto 40px;
		
	}
	
	div#review-nav button.review-month {
		width: 200px;
		border: none;
	    height: 60px;
	}
	
	div#review-nav div.see-more-wrapper {
		width: 100%;
	}
	
	button#review-seemore {
		margin: auto;
	}
	
	ul.review-list li.review-list-item {	
		margin: 25px;
	}
}

@media screen and (max-width: 1080px) {
	ul.review-list li.review-list-item:nth-last-child(-n+2):nth-child(n+4):last-child {
		margin-right: 20px;
	}
	
	ul.review-list li.review-list-item:nth-last-child(-n+2):nth-child(n+3):nth-child(odd):last-child {
		margin-right: 340px;
	}
}

@media screen and (max-width: 800px) {
	
	ul.review-list li.review-list-item {
		width: 400px;
		max-width: 90%;
		margin: 20px auto;
		min-height: 210px;
		max-height: unset;
	}
	
	div.review-content ul.review-list {
		flex-direction: column;
		align-items: center;
		flex-wrap: nowrap;
	}
	
	div.review-content ul.review-list li.review-list-item:nth-last-child(-n+2):nth-child(n+4):nth-child(n+3):nth-child(odd):last-child {
		margin-right: auto;
	}
	
	div.review-content ul.review-list li.review-list-item:nth-last-child(-n+2):nth-child(n+3):last-child {
		margin-right: auto;
	}
}


@media screen and (max-width: 400px) {
	ul.review-list li.review-list-item h4 {
		font-size: 20px;
	}
}
