/* GENERAL */
.return {
  margin-bottom: 10px;
}
		
.general-enquiries p {
	margin: 0;
}

.general-enquiries h2 {
	font-size: 1.2em;
}
		
.inline-list li {
	display: inline;
	font-size: 1.3em;
}

.inline-list li:not(:last-child) {
	margin-right: 10px;
}
		
/* FILTERS */
    
#profile-filters {
  padding-top: 8px;
}

#profile-filters h2 {
  margin-bottom: 0px;
}
    
#filter-type {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  margin-bottom: 5px;
}

#filter-type label {
  display: block;
  margin: 5px;
}

#filter-accordion>.card {
  border: 1px solid #ddd;
  margin: 5px 0;
}

#filter-accordion button {
  text-align: left;
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 0;
}

#filter-accordion button:focus {
  outline: 0;
}

#filter-accordion .card-body {
  border-top: 1px solid #ddd;
  padding: 15px;
}

#filter-accordion li {
  margin: 0;
}
    
/* SPINNING LOADER */
    
.loader {
	border: 5px solid #f3f3f3;
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
	border-top: 5px solid #555;
	border-radius: 50%;
	width: 50px;
	height: 50px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
    

/* PROFILE LIST */
.category-header {
	margin: 0;
}

.headered-list:not(:first-child) {
	margin-top: 40px;
}
		
.profile-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
}

.profile-list .profile {
  width: auto;
  padding: 0;
  margin: 0;
}

.profile-list .profile {
  background-color: #efefef;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
  transition-duration: 0.5s;
}

.profile-list .profile:hover {
  transition-duration: 0.5s;
}

.profile-list .profile:hover {
  background-color: #9A1310;
  color: white;
  outline: 4px solid #9A1310;
  transition-duration: 0s;
  box-shadow: 0 8px 16px 2px rgb(0 0 0 / 50%);
}

.profile-list .profile:hover a {
  color: white;
  transition-duration: 0s;
}

.profile-image {
  width: 100%;
}
    
.profile-info {
  padding: 4px;
}
    
.profile-name {
  font-size: 1.2em;
  margin: 10px 0px !important;
}

.profile-text {
  font-size: 0.90em;
}
    
.profile ul {
  list-style: none;
  padding: 0;
}

.profile .icon-list {
  margin: 10px 0px;
  padding-left: 20px;
}

.profile li {
  position: relative;
}

.profile li:before {
  font-family: "Font Awesome\ 5 Pro";
  font-weight: 900;
  position: absolute;
  left: -20px;
}

.profile-title {
  font-weight: bold;
}
    
.profile-email:before {
  content: "\f0e0";
}
		
.profile-email {
  word-wrap: break-word;
}
		
.profile-room:before {
  content: "\f3c5";
}
.profile-phone:before {
  content: "\f095";
} 

.profile-keywords {
  padding-top: 5px;
  border-top: 1px solid rgba(0,0,0, 0.1);
}
		
/* PROFILE LIST MEDIA SIZES */
    
@media (max-width: 1199px) {
  .profile-list {
    grid-template-columns: repeat(2,minmax(0, 1fr));
  }
}

@media (max-width: 530px) {
  .profile-list {
    grid-template-columns: repeat(1,minmax(0, 1fr));    
  }
  .profile-list .profile {
    font-size: 1.4em;
  }
}

@media (max-width: 375px) {
  .profile-list .profile {
    font-size: 1.2em;
  }
}