/* Landing Page List */
#dm-landingpages-menu {
  	display: flex;
  	flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}
#dm-landingpages-menu .area-list {
    width: clamp(250px,calc(25% - 10px),25%);
    flex-grow: 1;
    margin: 5px;
}
#lp_searchbar_holder {
    background: #f7f7f7;
    padding: 15px;
    margin-top: 15px;
}
#lp_searchbar_holder input {
    border: 1px solid #ddd;
    padding: 5px;
    min-width: 50%;
}

/* text-fade*/
@media(max-width:600px){ /* Changed this to 600px */
	div[class*="textfade"] .textwidget{
		position: relative;
		max-height: 200px;
		overflow: hidden;
		padding-bottom: 40px;
		transition:max-height 0.5s ease;
	}
	div[class*="textfade"] .textwidget.expand{
		max-height: 100% !important;
	}
	div[class*="textfade"] .textwidget::after{
		position: absolute;
		bottom: 0;
		right: 0;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		width:100%;
		height: 100px;
		padding-top:40px;
		content: '';
		background: linear-gradient(180deg, transparent, #fff 70%);
		transition: all 1s ease;
	}
	div[class*="textfade"] .textwidget.expand::after{
		content: '';
		height: 50px;
	}
	div[class*="textfade"] .textwidget::before {
		content: 'Read More';
		background: #aaa;
		padding: 0.2em 0.5em;
		display: inline-block;
		position: absolute;
		bottom: 0;
		z-index: 2;
		left: 50%;
		transform: translateX(-50%);
	}
	div[class*="textfade"] .textwidget.expand::before {
		content: 'Read Less';
	}
}

/* Cookie pop-up Obsolete Should remove all of this */
#sn-cookie-modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 999; /* Sit on top */
	left: 0;
	top: 0;
	width: 100vw; /* Full width */
	height: 100vh; /* 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 */
	align-items: center;
	justify-content: center;
  }
  
  /* Modal Content/Box */
  #sn-cookie-modal .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 500px;
	max-width: 95%;
	position: relative;
	overflow: auto;
	box-shadow: 0 10px 25px rgba(0,0,0,.5);
  }
  
  /* The Close Button */
  #sn-cookie-modal .sn-cookie-modal-close-button {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	top: 5px;
	right: 5px;
	line-height: 1;
  }
  
  .sn-cookie-modal-close-button:hover,
  .sn-cookie-modal-close-button:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  }
				  
#sn-cookie-bar {
	display: none;
	font-family: sans-serif;
	position: fixed; /* Stay in place */
	z-index: 99999; /* Sit on top */
	left: 0;
	top: 0;
	width: 100vw; /* Full width */
	height: 100vh; /* 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 */
	align-items: center;
	justify-content: center;
}
#sn-cookie-bar .sncc-inner {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 700px;
	max-width: 95%;
	position: relative;
	overflow: auto;
	box-shadow: 0 10px 25px rgba(0,0,0,.5);
	text-align: center;
	border-radius: 10px;
  }
  #sn-cookie-bar .sncc-inner h2{margin-top:0;} 
  #sn-cookie-bar .sncc-inner {
    color: #555;
}
.sncc-right-side {margin-top:1em; display: block;}
a.sncc-more-info-link {
	color: inherit;
	font-weight: bold;
	text-decoration: underline;
	white-space: nowrap;
}
button#snCookie {background: #28a745; color: #fff; font-weight: bold;}
button#snCookieC { font-weight: bold;}
/* customise cookies */
#cookie-customise > div {margin-top:10px; padding-top:10px; border-top:1px solid #ccc;}
#sn-cookie-modal-buttons { border-top: none; display:flex; justify-content: space-between;}

#cookie-customise small {color: #999; display:block;}
#cookie-customise .switch > span{
	font-weight:normal;
	font-size: 1em;
}

#cookie-customise .switch {
	position: relative;
	display: block;
	width: 30px;
	height: 20px;
	float: right;
}

/* Hide default HTML checkbox */
#cookie-customise .switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */
#cookie-customise .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
border-radius: 10px;
}

#cookie-customise .slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
border-radius: 50%;
}

#cookie-customise input:checked + .slider {
background-color: #28a745;
}

#cookie-customise input:focus + .slider {
box-shadow: 0 0 1px #28a745;
}

#cookie-customise input:checked + .slider:before {
transform: translateX(10px);
}