#editModal button.btn-layout {
	width: 121px;
	height: 88px;
	margin-right: 13px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: bottom right;
	border: 1px solid #fff;
}
#editModal button.btn-layout.layout_0 {
	background: url("../img/profile/layout_0.png") 7px 7px no-repeat;
}
#editModal button.btn-layout.layout_1 {
	background: url("../img/profile/layout_1.png") 7px 7px no-repeat;
}
#editModal button.btn-layout.layout_2 {
	background: url("../img/profile/layout_2.png") 7px 7px no-repeat;
}
#editModal button.btn-layout.layout_3 {
	background: url("../img/profile/layout_3.png") 7px 7px no-repeat;
}
#editModal .btn-layout.active {
	border: 1px solid #5A3A9E;
	background-color: #eee!important;
}
#nav_tab {
	overflow: hidden;
	padding: 0px;
}
#nav_tab li {
	float: left;
	list-style: none;
	padding: 0px 13px;
}
#nav_tab li.active .nav-link {
	font-weight: bold;
	color: #3097D1;
}
#nav_tab li .nav-link .tab-name {
	font-size: 15px;
	cursor: pointer;
}
.btn-module.active {
	color: #fff;
	background-color: #5A3A9E;
	border-color: #3A197F;
}
#editModal .btn-displayType.selected {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}
/**
* Demo Page Styles
*/
*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
* {
	margin: 0px;
	padding: 0px;
	border: 0px;
	background: none;
	-webkit-text-size-adjust: 100%;
}
.ribbon {
	display: block;
	font-family: 'Source Sans Pro', sans-serif;
	background-color: #EB5F5A;
}
.ribbon a {
	display: block;
	padding: 10px 0;
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}
.ribbon a:hover {
	background-color: #d7544f;
}
header {
	background: #fff;
}
/**
* Slider specific styles
*/
.slider {
	position: relative;
	width: 100%;
	margin: 0px auto 0px auto;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	user-select: none;
}
.frame {
	position: relative;
	width: calc(100% - 20px);
	margin: 0px auto;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	white-space: nowrap;
}
.frame li {
	position: relative;
	display: inline-block;
	font-family: 'Source Sans Pro', sans-serif;
	text-align: center;
	font-size: 15px;
	line-height: 30px;
	background: none;
	color: #2E435A;
}
.slides {
	display: inline-block;
}
.simple > .frame li {
	width: 220px;
	height: auto;
	margin-right: 15px;
}
.simple > .frame li:last-child {}
.prev, .next {
	position: absolute;
	top: 50%;
	margin-top: -25px;
	display: block;
	cursor: pointer;
}
.next {
	right: -15px;
}
.prev {
	left: -15px;
}
.next.disabled, .prev.disabled {
	opacity: .3;
	pointer-events: none;
}
.next svg, .prev svg {
	width: 25px;
	transition: .4s;
}
.next svg:hover, .prev svg:hover {
	transform: scale(1.1);
}
.alligator-turtle {
	object-fit: cover;
	object-position: 100% 0;
	width: 100%;
	height: auto;
	margin-top: -25%;
}
.img-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0;
	position: relative;
}
.img-container img {
	width: 100%;
	height: 100%;
}
.toolbar .title {
	color: #3097D1;
}
#editModal .search_items_container {
	position: absolute;
	z-index: 1000;
}
#editModal .search_items_container .item_each {
	cursor: pointer;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
						  supported by Chrome, Opera and Firefox */
}
#editModal .search_items_container .item_each.chosen {
	background: #eee;
}
#editModal .search_interests_container {
	position: absolute;
	z-index: 1000;
}
#editModal .search_interests_container .item_each {
	cursor: pointer;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
						  supported by Chrome, Opera and Firefox */
}
#editModal .search_interests_container .item_each.chosen {
	background: #eee;
}
#sortable {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sortable li {
	margin: 0px 3px 3px 3px;
	padding: 0.4em;
	padding-left: 1.5em;
	font-size: 1.4em;
}
#sortable li span {
	position: absolute;
	margin-left: -1.3em;
}
#editModal .navtab .tab {
	cursor: move;
}
.modal-footer .btn-cancel {}
.btn-secondary {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d
}
.btn-secondary:hover {
	color: #fff;
	background-color: #5a6268;
	border-color: #545b62
}
.btn-secondary.focus, .btn-secondary:focus {
	box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
}
.btn-secondary.disabled, .btn-secondary:disabled {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
	color: #fff;
	background-color: #545b62;
	border-color: #4e555b
}
.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus {
	box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
}
#editModal .added_items_container {
	min-height: 380px;
	overflow-y: auto;
}
#editModal .added_items_container .added_item {
	cursor: move;
}
.card {
	border: 0px;
	margin-bottom: 13px;
}

/*
.card-body {
	padding: 8px 15px!important;
}
*/
.card-body {
	padding: 8px 4px!important;
}
#btn-upload-photo {
	position: absolute;
	top: 0px;
	left: 0px;
}
.profile_photo {
	width: 180px;
	height: 180px;
	border: 1px solid #ccc;
}
.responsive-banner {
  width: 100%; /* Ensure it takes full width of the container */
  height: 300px; /* Initial fixed height */

	/*
	background-image: url('https://www.localhost/townmore/data/members/1/images/banner/1660760463.png');  
	*/
  background-size: cover; /* Cover the entire space without losing aspect ratio */
  background-position: center; /* Center the background image */
}

/* Adjustments for different screen sizes */
@media (max-width: 768px) {
  .responsive-banner {
	height: 150px; /* Smaller height for smaller screens */
  }
}

@media (max-width: 480px) {
  .responsive-banner {
	height: 100px; /* Even smaller height for mobile screens */
  }
}
.photo-view-container .profile-photo.circle {
	border-radius: 50%;
}
.photo-view-container .profile-photo.square {
	border-radius: 4px;
}
.btn-profile-photo-uploader {
	width: 30px;
	height: 30px;
	padding: 0px;
	padding-top: 0px;
	padding-left: 3px;
	text-align: center;
}
.gallery-photos-container {
	overflow: hidden;
}
.gallery-photos-container .gallery-item {
	width: 136px;
	overflow: hidden;
	text-align: center;
}
.gallery-photos-container .photo-thumbnail {
	border: 1px solid #aaa;
	padding: 3px;
	width: 130px;
	height: 130px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.gallery-photos-container .photo-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-albums-container {
	overflow: hidden;
}
.gallery-albums-container .gallery-item{
	width: 136px;
	overflow: hidden;
	text-align: center;
}
.gallery-albums-container .album-thumbnail {
	border: 1px solid #aaa;
	padding: 3px;
	width: 130px;
	height: 130px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.gallery-albums-container .album-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.col-list {
	overflow: hidden;
}
.dynamic-ul {
	width: 100%;
	list-style: none;
}
.dynamic-ul li {
	width: 100%;
}
.dynamic-ul li .thumbnail {
    width: 80px;
    display: inline-block;
	margin-right: 11px;
}

.dynamic-ul li .title {
    width: 160px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	
}

.dynamic-ul li .price {
    /*
		min-width: 120px;
		max-width: 150px;
	*/
	width: 160px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hide other .item divs by default */


/* Show thumbnail and title at all widths */
.dynamic-ul li .thumbnail,
.dynamic-ul li .title {
    display: inline-block;
}
.dynamic-ul li .item {
    display: none;
	width: 160px;
}
/* Classes to show items based on parent width */
.show-0 li .item:nth-child(2),
.show-1 li .item:nth-child(3),
.show-2 li .item:nth-child(4),
.show-3 li .item:nth-child(5),
.show-all li .item {
    display: inline-block;
}

.grid-container {
	
}
.grid-container .grid-item {
	width: 180px;
}
.dynamic-block {
	width: 100%;
}
.dynamic-block li {
	width: 100%;
	display: flex!important;
}
.dynamic-block li .thumbnail-block {
	width: 150px;
	display: inline-block;
	vertical-align: top;
}
.dynamic-block li .cont {
	flex: 1; /* Take up remaining space */
	width: calc(100%-150px);
	display: inline-block;
	padding-left: 13px;
	vertical-align: top;
}