/* Review Rating Star */
:root {
	--ttbm-star-size: 18px;
	--ttbm-star-color: #b2b1b1;
}
.ttbm-rating-stars {
	--percent: calc(var(--ttbm-rating) / 5 * 100%);
	display: inline-block;
	font-size: var(--ttbm-star-size);
	line-height: 1;
}
.ttbm-rating-stars::before {
	content: "★★★★★";
	letter-spacing: 1px;
	background: linear-gradient(90deg, var(--color_theme) var(--percent), var(--ttbm-star-color) var(--percent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
/* Review Rating Star END */
.ttbm-review-submitted-msg {
	color: white;
	font-weight: 700;
	background: #2ECC17;
	display: inline-block;
	padding: 10px;
	border-radius: 5px;
}
.ttbm-review-submitted-msg.success {
	background: #2ECC17;
	color: white;
}
.ttbm-review-submitted-msg.error {
	background: #DC3545;
	color: white;
}
div.flora .ttbm-rating-stars{display: none !important;}
/* ===================== */
table.ui-datepicker-calendar th{
	background-color: var(--color_theme);
	color: var(--color_theme_alter);
	font-weight: 500;
	font-size: 14px;
}
td.ui-datepicker-unselectable.ui-state-disabled{
	color: #ddd;
	background-color: #ddd;
}





/****************************** Review Form ******************************/

.ttbm_review_container {
	margin-top: 50px;
}

.ttbm-avg-review-header {
	border: 1px solid #ededed;
	background-color: #f5f5f5;
	padding: 10px;
	font-weight: bold;
	border-radius: var(--dbr_d);
	margin-bottom: var(--dmp);
}

h4.ttbm-review-title {
	/*font-size: var(--fs_h4);*/
	font-weight: var(--fw-bold) !important;
}

.quicktags-toolbar {
	display: flex;
}

.ttbm-tour-review-item {
	margin-bottom: 45px;
}

.ttbm-tour-review-rating-with-title {
	display: flex;
	align-items: center;
	color: #2a2d32;
}

.ttbm-tour-rating {
	width: 99px;
}

.ttbm-tour-rating .ttbm-rating-stars {
	margin-top: 0;
}

.ttbm-tour-review-name {
	font-weight: 700;
	font-size: 17px;
	line-height: 1;
	margin-left: 10px;
}

.ttbm-tour-review-info {
	margin-top: 13px;
	color: #2a2d32;
	font-size: 14px;
}

.ttbm-tour-review-content {
	margin-top: 18px;
}

.ttbm-tour-review-content p {
	color: #2a2d32;
	font-size: 16px;
	line-height: 1.6em;
}

/* The mage-Modal (background) */
#give-review-btn {
	background-color: #0a0a0a;
	padding: 10px 15px;
	border-radius: 5px;
	text-transform: capitalize;
	border: none;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

#give-review-btn:hover {
	text-decoration: none;
}

.mage-modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 9999;
	/* Sit on top */
	/*padding-top: 100px;*/
	/* Location of the box */
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* mage-Modal Content */
.mage-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 700px;
	border-radius: 5px;
	max-width: 700px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-webkit-animation-name: fadeIn;
	-webkit-animation-duration: 0.4s;
	animation-name: fadeIn;
	animation-duration: 0.4s
}

@media (max-width: 767px) {
	.mage-modal-content {
		width: 90%;
		max-width: 90%;
		top: 20px;
		transform: translateX(-50%);
	}

}


@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Add Animation */
@-webkit-keyframes animatetop {
	from {
		top: -300px;
		opacity: 0
	}
	to {
		top: 0;
		opacity: 1
	}
}

@keyframes animatetop {
	from {
		top: -300px;
		opacity: 0
	}
	to {
		top: 0;
		opacity: 1
	}
}

/* The Close Button */
.close {
	color: #565656;
	float: right;
	font-size: 19px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.mage-modal-header {
	padding: 10px 16px;
	color: #565656;
	border-bottom: 1px solid #ddd;
}

.mage-modal-header h3 {
	font-size: 1em;
}

.mage-modal-body {
	padding: 2px 16px;
}

.mage-modal-footer {
	padding: 10px 16px;
	color: #565656;
	border-top: 1px solid #ddd;
}

.mage-modal-footer h3 {
	font-size: 1em;
}

/* Mage Modal */
.ttbm-tour-review-form .group {
	margin-bottom: 20px;
}

.ttbm-tour-review-form .group input {
	margin-bottom: 0 !important;
}

.ttbm-tour-review-form .group.col-tow {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.ttbm-tour-review-form .group.col-tow > div {
	flex-basis: 48%;
}

.ttbm-tour-review-form .group::after {
	display: none;
}

.ttbm-tour-review-form p {
	margin-bottom: 10px;
}

.ttbm-tour-review-form .ttbm-tour-review-heading {
	margin-bottom: 25px;
}

/*.ttbm-tour-review-form .ttbm-tour-review-heading p {*/
/*    color: var(--color_black);*/
/*}*/

.ttbm-tour-review-form .label {
	font-weight: 700;
	font-size: 14px;
	display: block;
	color: var(--color_black);
	margin-bottom: 15px;
}

.ttbm-tour-review-form--content {
	width: 100%;
}

.ttbm-tour-review-form .radio-inline {
	display: inline;
	margin-right: 10px;
}

.ttbm-tour-review-form input[type="submit"],
.ttbm-tour-review-form button[type="submit"] {
	background: var(--color_theme);
	padding: 14px 35px;
	/*text-transform: uppercase;*/
	font-weight: 600;
	color: #fff;
	border: none;
	width: auto;
	height: auto;
	line-height: 1.4;
}

.ttbm-tour-review-form input[type="submit"]:hover,
.ttbm-tour-review-form button[type="submit"]:hover {
	background: var(--color_theme_secondary);
}

.ttbm-tour-review-form {
	width: 100%;
	margin: 0 auto;
	padding: 20px 0;
}

.ttbm-review-rating-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}



.ttbm-tour-review-rating-info {
	padding: 20px 0;
	width: 15%;
}

.ttbm-tour-review-rating-info strong {
	font-size: 26px;
	margin-bottom: 10px;
}

.ttbm-tour-review-list .ttbm-tour-review-item {
	margin-bottom: 20px;
	padding: 22px 0 10px;
	border-radius: 3px;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-img {
	flex-basis: 10%;
	margin-right: 3%;
	text-align: center;
	align-self: flex-start;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-img img {
	max-width: 100%;
	height: 95px;
	border-radius: 50%;
	width: 95px;
	margin: 0 auto;
	border: 2px solid #333;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-name {
	font-weight: 700;
	font-size: 16px;
	text-transform: capitalize;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info {
	flex-basis: 85%;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-tour-review-rating img {
	width: 100px;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-review-title {
	font-weight: 700;
	color: #32323d;
}

.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-tour-review-content {
	margin: 10px 0;
	color: #32323d;
	font-size: 1em;
	line-height: 1.4em;
}

.ttbm-tour-review-list--heading {
	margin-bottom: 40px;
}

.review_form_error {
	color: #cd2653;
	font-size: .9em;
	margin-top: 5px !important;
	display: block;
}

/* .ttbm-avg-review-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
} */
.ttbm-avg-review-header h4 {
	font-size: 26px;
	margin-bottom: 0;
}

/* average */
.ttbm-tour-review-avg {
	width: 85%;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 2px;
}

@media(max-width: 575px) {
	.ttbm-review-rating-container {
		flex-direction: column;
	}

	.ttbm-tour-review-avg {
		padding: 0;
	}
}

.ttbm-tour-review-avg .ttbm-avg-review-header {
	margin-bottom: 20px;
}

.ttbm-avg-review-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.ttbm-avg-review-header > * {
	flex: 1;
	min-width: 0;
}

.ttbm-avg-review-header > :only-child {
	justify-content: center;
}

/*.ttbm-avg-review-header > :first-child,*/
/*.ttbm-avg-review-header > :last-child {*/
/*	justify-content: flex-start;*/
/*}*/

/*.ttbm-avg-review-header > :first-child + * {*/
/*	justify-content: flex-end;*/
/*}*/

.ttbm-tour-review-avg .ttbm-avg-review-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 7px;
}

.ttbm-tour-review-avg .ttbm-avg-review-item .rating-text {
	flex-basis: 12%;
	font-size: 1em;
	min-width: 80px;
}

.ttbm-tour-review-avg .ttbm-avg-review-item .rating-bar {
	background: #DFE0E2;
	height: 14px;
	box-shadow: inset 1px 3px 0 rgba(0, 0, 0, 0.04);
	border-radius: 15px;
	flex-basis: 80%;
}

.ttbm-tour-review-avg .ttbm-avg-review-item .rating-bar span {
	display: block;
	height: 100%;
	background: #FD3722;
	border-radius: 15px;
}

.ttbm-tour-review-avg .ttbm-avg-review-item .rating-percent {
	flex-basis: 10%;
	text-align: right;
	font-size: .8em;
	color: #755e5e;
}

.ttbm-tour-review-avg .ttbm-avg-review-item.r-4 .rating-bar span {
	background: #FE8623;
}

.ttbm-tour-review-avg .ttbm-avg-review-item.r-3 .rating-bar span {
	background: #FFCE01;
}

.ttbm-tour-review-avg .ttbm-avg-review-item.r-2 .rating-bar span {
	background: #73CF12;
}

.ttbm-tour-review-avg .ttbm-avg-review-item.r-1 .rating-bar span {
	background: #1AB67A;
}

/* average ENd */
.mce-widget.mce-btn {
	display: inline-block;
}



.ttbm-avg-review-header {
	align-items: center;
}

#give-review-btn {
	padding: 12px 15px !important;
	max-width: 200px;
	line-height: 1.8;
	font-size: var(--fs);
	transition: all 0.3s ease-in-out;
	border-radius: var(--dbr_d) !important;
	background-color: var(--color_theme) !important;

}

#give-review-btn:hover {
	background-color: var(--color_theme_secondary) !important;
}

#give-review-btn:hover {
	background-color: var(--color_theme);
}

.mage-modal-header h3 {
	font-size: 1.5em;
	font-weight: 700;
}

#ttbm_review_form {
	margin-top: 20px;
}

#ttbm_review_form #ttbm-tour-review-form--title {
	/*width: calc(100% - 33px);*/
	/*height: 40px;*/
	border-radius: 8px;
	border: 1px solid var(--color_border);
	padding: 6px 15px;
	max-width: 100%;
	width: 100%
}

.mage-modal-content .mage-modal-header h3 {
	font-size: 1.5em;
	font-weight: 700;
	margin: 0;
	color: var(--color_black);
}

.ttbm-tour-review-form .ttbm-tour-review-heading {
	margin-bottom: 0 !important;
}

/***************** Rating Stars *********************************/
.rating-group {
	display: flex;
	/*direction: rtl; !* Reverses the stars display order *!*/
	margin-bottom: 30px;
}

div.ttbm_style .rating-group label {
	font-size: 22px;
	color: #d3d3d3;
	cursor: pointer;
	transition: color 0.3s ease;
}

.rating-group input {
	display: none; /* Hide the radio buttons */
}

/* Hover effect */
.rating-group label:hover,
.rating-group label:hover ~ label {
	color: gold;
}

/* If a radio input is checked, make the corresponding stars gold */
.rating-group input:checked ~ label {
	color: gold;
}

.mage-modal-header {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	justify-content: space-between;
}

.close {
	color: var(--color_black) !important;
	font-size: 30px !important;
	opacity: 1 !important;
	transition: all 0.3s ease-in-out;
}

.close:hover {
	color: var(--color_theme) !important;
	opacity: 1 !important;
}


@media(max-width: 1199px) {
	.ttbm-tour-review-form, .ttbm-tour-review-list-wrapper {
		padding: 20px 0 0 !important;
	}
}

@media only screen and (max-width: 1199px) {
	.ttbm-tour-review-form,
	.ttbm-tour-review-list-wrapper {
		/* width: 100%; */
		display: flex;
		flex-direction: column;
		/* justify-content: space-between; */
		padding: 20px;
	}
}

@media only screen and (max-width: 768px) {
	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-img img {
		height: 77px;
		width: 77px;
	}

	/*.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-name {*/
	/*	font-size: .7em;*/
	/*}*/

	/*.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-tour-review-content p {*/
	/*	font-size: .9em;*/
	/*}*/
}

@media only screen and (max-width: 425px) {
	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-img {
		flex-basis: 15%;
		margin-right: 4%;
	}

	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info {
		flex-basis: 81%;
	}

	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-img img {
		height: auto;
		width: 61px;
	}

	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-name {
		font-size: .7em;
	}

	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-tour-review-content p {
		font-size: .9em;
	}

	.ttbm-tour-review-avg .ttbm-avg-review-item .rating-text {
		flex-basis: 25%;
	}

	.ttbm-tour-review-avg .ttbm-avg-review-item .rating-percent {
		flex-basis: 13%;
	}

	#give-review-btn {
		margin-bottom: 18px;
		padding: 7px 12px;
		font-size: .9em;
		font-weight: 400;
		border-radius: 5px;
	}

	.ttbm-tour-review-list .ttbm-tour-review-item .ttbm-tour-review-info .ttbm-tour-review-content {
		font-size: .9em;
	}
}

