td, th {
	border: none !important;
}
#reviewForm .modal-header .close {
    margin-top: -2px;
    margin-right: -12px;
}
#myModal, #reviewForm{
	margin-top : 90px;
}
/*#reviewForm.fade.in{
	opacity : 1;
}*/
#reviewForm .modal-dialog{
	 max-height: calc(100vh - 210px);
     overflow-y: auto;
}
.Clint-image{
	float:left; 
	width:12%;
}
.error{
	color:red;
}
#btn-image-upload{
	width: 100%;
	background-color:transparent;
	color:#000;
	border: 1px dashed #ccc;
	text-decoration: none;
	padding:21px 10px;
}
.modal-header .modal-cross{
	margin-right:16px;	
}
.modal-header .close{
	background-color:#ffffff ;
	color:#000;
	opacity:1;
	opacity:1;
}
.graph-left{
	width:100%;
	float:left;
	position: relative;
}

.modal-close{
	margin-right:20px;
	margin-right: 20px;
	float: right;
	background-color:#000;
	border: 0;
	border-radius: 5px;
}
.table-heading{
	text-align: left;
    font-size: 20px;
}
.user-image{
	height:110px !important;
	width:90px;
}
.clint-review{
	width: 85%;
	float: right;
}
.clint-reply{
	float:right;
	width:85%;
}
.review-date{
	font-size: 12px; 
	margin-bottom:0px;
	color:gray;
}
.load-more-button{
	padding: 10px;
	font-size: 14px;
	border-radius: 4px;
	text-decoration: none;
	background-color:gray !important;
	text-decoration: none !important;
	color: #fff;
	border: solid 1px;
	font-weight: bold;
}
#my-review{
	width:100%; 
	border-style: none;
}
.review-booster-block{
	width:100%; 
	padding: 1% 2%;
}



/* New css*/

.left-part{
	width:20%;
	float:left;
	padding-top: 4%;
	padding-left: 3%;
}
.left-part .review-average{
	padding: 20px;
    background: grey;
	border-radius: 5px;
	color:#fff;
	font-weight: bold;
}
.right-part{
	width:55% !important;
	float:left;
	margin-bottom: 60px;
}
.write-review{
	width:20%;
	float: left;
}
.heading {
  font-size: 25px;
   font-weight: bold;
}
.icon{
	font-size: 21px;
}
.fa {
  font-size: 18px;
}
.checked {
  color: orange;
}

/* Three column layout */
.side {
  float: left;
  width: 15%;
}

.middle {
  margin-top:10px;
  float: left;
  width: 56%;
}

/* Place text to the right */
.right {
  color:gray;
  padding-left: 12px;
  padding-top: 4px;
}

/* Clear floats after the columns */
.row{
	display: block !important;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The bar container */
.bar-container {
  width: 100%;
  background-color: #f1f1f1;
  text-align: center;
  color: white;
  border-radius: 5px;
}

/* Individual bars */
.bar{height: 10px; background-color: orange;border-radius: 5px;}

.add-review {
padding: 6px 12px;
background: gray;
color:#fff;
text-decoration: none;
border-radius: 3px;
font-size:18px;
float: right;
}
.write-review a:hover, .write-review a:focus{
	color:#fff;
	text-decoration: none;
}


.modal-header{border-bottom:0px; padding-bottom: 0px; padding-top: 3px;}
.modal-footer{border-top:0px; padding-bottom: 3px; padding-top: 0px;}
.checked{color:orange;}
	input#code {
	height: calc(1.5em + .5rem + 1px);
	line-height: 1;
	padding: 0rem .75rem;
}
    .modal-dialog{margin: 0 auto;}
    .modal-footer{display: contents;}
    button.btn.btn-submit {
    background: #39332e;
    width: 150px;
    display: flex;
    margin: 0px auto;
    color: white;
    margin-bottom: 15px;
}
#reviewForm .btn-submit{
	border-radius: 3px;
	padding: 6px 1.75rem;
	line-height: 1.5;
	font-weight: bold;
}
#reviewForm input[type="text"].form-control, #reviewForm input[type="email"].form-control{
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 8px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
	background-color:#fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#reviewForm .text-block{
	float: left; 
	padding-left:0px;
}
#show-image img{
	width:100%;
	height:61px;
}
#reviewForm, .modal-title{
	color:#000;
}
.average-graph{
	width:100%;
}
.one-line{
	width:100%;
	float:left;
}


/* Responsive layout - make the columns stack on top of each other instead of next to each other */
@media (min-width:320px) and (max-width:414px){
	.modal-header .modal-cross{
		margin-right:0px;
	}
	.modal-close{
		margin-right:0;
	}
	.Clint-image {
		margin-right : 15px;
		width:30%;
	}
	#reviewForm .email-block{
		padding-left: 0;
	}
	#show-image img{
		height:53px;
	}
	.side {
		width: 15%;
	}
	.right {
		 width: 5%;
	}
	.add-review{
		  float:left;
		  margin-top:0px;
		  margin-bottom: 20px;
	 }
	.right-part{
		width:70%;
	}
	.left-part{
		padding-top: 10%;
	}
	
	.left-part {
    width: 50%;
    float: initial;
    padding-top: 4%;
    padding-left: 3%;
	}
	.right-part {
		width: 100% !important;
		/* float: left; */
		margin-bottom: 0px;
		padding-top: 60px;
	}
	.write-review {
		position: absolute !important;
		right:0px !important;
		top: 0px !important;
		display: block;
		width: 50%;
	}
	.middle{width:74%;}
	
	
	
}
@media (min-width:768px) and (max-width:800px){
	.Clint-image {
		margin-right : 15px;
		width:14%;
	}
	.clint-review{
		padding-right: 50px;
	}
	.review-booster-block {
		padding: 2% 8%;
	}
}

@media (min-width:769px) and (max-width:800px){
	.clint-review {
		width: 84%;
	}
	.clint-reply{
		width: 82%;
	}
	.add-review {
		padding: 6px 8px;
		font-size: 13px;
	}
	.write-review{width:25%;}
}
@media (min-width:320px) and (max-width:968px){
	
	.review-booster-block{
		width:100%; 
	}
	
	.clint-review{
		width: 100%;
		float: none;
	}
	.review-date{
		display : block;
	}
	.clint-reply{
		width: 100%;
		float: none;
	}
}

/*soham css */
@media (min-width:415px) and (max-width:768px){
	.left-part {
    width: 50%;
    float: initial;
    padding-top: 4%;
    padding-left: 3%;
}
.right-part {
    width: 100% !important;
    /* float: left; */
    margin-bottom: 0px;
    padding-top: 60px;
}
.write-review {
    position: absolute !important;
    right: 0px !important;
    top: 0px !important;
    display: block;
    width: 100%;
}
.middle{width:70%;}
}

@media (max-width: 414px) and (min-width: 320px){
.write-review{top:0px;}
.add-review{margin-top:0px;}
}
@media (min-width: 576px){
	#reviewForm .modal-dialog {
   		 max-width: 600px;
		 max-height: calc(100vh - 100px);
    	 overflow-y: auto;
	}
	
}



/* layout 2 css */
.layout_two .graph-left{
	display: flex;
	gap: 50px;
	align-items: center;
}
.clint-image-top-wrapper .clint-image-top {
	max-width: 250px;
}
.left-part-2 .review-stars{
    color: orange;
    font-size: 20px;
}
.review-total{
	color: #3d9ab9;
    font-weight: 600;
}
.layout_two .client-top{
	display: flex;
	align-items: center;
	gap: 20px;
}
.layout_two .Clint-image {
	width: 50px;
    height: 53px;
}
.layout_two .Clint-image img{
	border-radius: 100%;
}
.review-layout2 {
    background: #bfbfbf36;
    padding: 20px 30px;
    border-radius: 5px;
}
.load-more-button.layout-two{
	/* background: #bfbfbf36 !important;
	color: #000; */
	border-color: #bfbfbf36;
	padding: 10px 20px;
}
.layout_two .submit-form{
	/* background: #6baae2; */
	padding:20px 30px;
	margin-top:30px;
}
.layout_two .submit-form .submit-title{
	color: #fff;
	padding:0 15px 20px;
}
.layout_two .submit-form .write-review{
	width: auto;
	margin: 10px 0;
}
.layout_two .submit-form .star-block{
	padding:10px 15px 0;
}
.layout_two .submit-form .write-review .add-review{
	padding: 10px 30px;
    background: deeppink;
}
.layout_two button.btn.btn-submit {
    padding: 10px 30px;
    /* background: deeppink;
    color: #fff; */
    text-decoration: none;
    border-radius: 3px;
    font-size: 18px;
    float: left;
    width: auto;
	margin: 10px 0 0;
    outline: none;
	text-align: center;
}
/* Add spacing between form fields */
.layout_two .mb-3 {
    margin-bottom: 15px;
}

/* Align star rating label and stars in one line */
.layout_two .d-flex {
    display: flex;
    align-items: center;
}

.layout_two .gap-2 {
    gap: 10px; /* Adjust spacing between label and stars */
}

/* Center align the submit button */
.layout_two .text-center {
    text-align: center;
}

/* Improve button styling */
.layout_two .btn-submit {
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.layout_two .btn-submit:hover {
    background-color: #0056b3;
}

/* Star rating styling */
.layout_two .star-rating-2 {
    display: flex;
    gap: 5px;
}

.star-rating-wrapper {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.stars-outer {
    position: relative;
    display: inline-block;
    color: #ccc; /* Empty star color */
    font-family: Arial, sans-serif;
    line-height: 1;
}

.stars-outer::before {
    content: "★★★★★"; /* Empty stars */
    letter-spacing: 2px;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #fbbc04; /* Google-style filled color */
    width: 0;
}

.stars-inner::before {
    content: "★★★★★"; /* Full stars overlaid */
    letter-spacing: 2px;
}

.review-average-2 {
    margin-left: 10px;
    font-size: 1rem;
    color: #444;
}

.layout_two input, .layout_two textarea, .layout_two button {
    border: none !important;
    border-radius: 5px !important;
}

.layout_two input::placeholder, 
.layout_two textarea::placeholder {
    color: black !important;
    opacity: 1; /* Ensures full color visibility across browsers */
}

/* For better browser support */
.layout_two input:-ms-input-placeholder, 
.layout_two textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: black !important;
}

.layout_two input::-ms-input-placeholder, 
.layout_two textarea::-ms-input-placeholder { /* Microsoft Edge */
    color: black !important;
}

.layout_two .star-block label {
    color: #000;
}

.layout_two .star-block span.fa.fa-star {
    color: #fff; /* Default star color */
    cursor: pointer;
}

.layout_two .star-block span.fa.fa-star.checked {
    color: #e6ab35; /* Change color when selected */
}
.layout_two .star-rating-2 span{
	overflow: visible;
	font-family: 'FontAwesome' !important;
	font-size: 14px;
	font-weight: 400;
}
.review-layout2 .heding-content strong {
    font-size: 15px;
}

.review-layout2 .heding-content .review-date {
    padding: 0;
    line-height: 12px;
}

.review-layout2 .heding-content br {
    display: none;
}

.review-layout2 .heding-content {
    margin-top: -7px;
}

.layout_two .review-booster-block {
    max-width: 800px !important;
}

.layout_two .graph-left {
    margin: 15px 0px;
}

@media (max-width: 767px){
	.layout_two .client-top{
		gap:10px;
	}
	.layout_two .review-layout2{
		padding: 20px;
	}
	.layout_two .Clint-image{
		margin:0;
		width: 80px;
		height: 80px;
	}
	.layout_two .heading{
		font-size: 20px;
	}
	.layout_two .submit-form .write-review{
		position: static !important;
	}
	.layout_two .form-control{
		margin-top:5px;
	}
	.layout_two .submit-form{
		padding: 15px;
	}
}

/* Make input fields and textarea full width on small screens */
@media (max-width: 768px) {
    .layout_two .col-md-6, 
    .layout_two .col-md-12 {
        width: 100%;
    }
	.layout_two .graph-left {
        flex-wrap: wrap;
        gap: 0;
		margin: 25px 0px 15px 0px;
    }
    .layout_two .review-booster-block {
        padding: 15px;
    }
	.layout_two .left-part-2 {
		margin-right: 15px;
	}
}