/* New header for AR */

header.twenty-three {
	background-color:white;
	border-bottom:1px solid lightgray;
	padding:0.75rem 1rem;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999999;
}

header.twenty-three,
.twenty-three-spacer {
  height: 56px;
  display: block;
  box-sizing: border-box;
}


header.twenty-three .header-frame .logomain svg {
	width:260px;
	display:block;
	z-index:200;
  position: absolute;
  top: 1.1rem;
  left: 1rem;
}

header.twenty-three .header-frame {
	display:flex;
	align-content: center;
	align-items: center;
	justify-content: space-between;
}

header.twenty-three h1,h2 {
	margin:0;
	padding:0;
}

body.single-resident,
body.tax-organisation,
body.goodcaesar-2023  {
	background-color:white;
	overflow: hidden;
}

body.goodcaesar-2023 #container {
  margin: 0 auto;
  width: auto;
  float: none;
  background: white;
}

/* New footer for AR */

footer.twenty-three {
	text-align: center;
	padding:1.5rem 0.5rem;
}

footer.twenty-three small {
	font-size:1rem;
	line-height: 1.1;
}

/* NAVIGATION for AR */

.navigation {
	position: relative;
}

button#mobile-nav {
	background-color:black;
	color:white;
	z-index:100;
	position: relative;
	padding:0.5rem 0.75rem;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	border:none;
	-webkit-appearance: none;
	transition:all 0.25s ease-in-out;
}

button#mobile-nav:hover {
	cursor: pointer;
}

.nav-holder {
	position: fixed;
	top:0rem;
	padding:0;
	width:100%;
	height:100vh;
	right:-100%;
	opacity: 0;
	transition: opacity 0.15s ease-in-out;
	z-index:90;
}

.nav-holder nav {
	height:100vh;
	background-color:black;
	display:flex;
	flex-direction: column;
}

.nav-holder nav .searchform {
	padding-top:4rem;
	margin-bottom:0;
	
}

.nav-holder nav .searchform fieldset {
	background-color:white;
	border-top:4px solid white;
	display:inline-flex;
	width:100%;
	justify-content: space-around;
}

.nav-holder nav .searchform fieldset input[type="text"] {
	background-image:none;
	background-color:white;
	font-size:1.2rem;
	width:70%;
	color:black;
	padding:0.75rem;	
}

.nav-holder nav .searchform fieldset input[type="submit"] {
	background-color:black;
	color:white;
	border:none;
	margin-bottom:0.25rem;
	font-size:1rem;
}

.nav-holder nav .searchform fieldset input:focus {
	outline:none;
}

.nav-holder nav ul.menu {
	list-style: none;	
	border-top:1px solid white;
	margin:0;
	padding:0;
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:1px;	
	background-color: white;
}

.nav-holder nav ul.menu li {
	display:flex;
	justify-content: center;
	margin:0;
	background-color:black;
	text-align: center;
	align-items: center;
	align-content:center;	
	font-size:1.3rem;
	text-align: center;
	text-transform: uppercase;
}

.nav-holder nav ul.menu li:last-child {
  grid-column: span 2;
  border-bottom: 1px solid white;
}

.nav-holder nav ul li a {
	color:white;
	padding:1.5rem 0.5rem;
	font-weight: bold;
	display:block;
	text-decoration: underline;
}

.nav-holder nav ul.social {
	list-style: none;
	margin:0;
	padding:0;
	display:flex;
	flex-direction: column;
}

.nav-holder nav ul.social li a {
	color:white;
	font-size:1.3rem;
	border-bottom:1px solid white;
	display:block;
	text-align: center;
	padding:1rem 0.5rem;
}

body.active-menu .nav-holder {
	right:0rem;
	opacity: 1;
}

body.active-menu header .cls-1 {
	fill:white;
}

body.active-menu {
	overflow:hidden;
}

@media screen and (min-width: 850px) {	
	.nav-holder,
	button#mobile-nav {
		display:none;	
	}	
}

.desktop-nav {
	display:none;	
}

@media screen and (min-width: 850px) {	
	.desktop-nav {
		display:flex;
		align-content: center;
		align-items: center;
	}

	.desktop-nav .searchform {
		margin:0;
		margin-left:1rem;
	}
}

.desktop-nav ul {
	list-style: none;
	margin:0;
	display:flex;
}

.desktop-nav ul li {
	font-size:1.2rem;
	margin:0 0 0 0.5rem;	
	text-transform: uppercase;
}

.desktop-nav ul li a {
	color:black;
	display:block;
	line-height: 1;
	padding:0.35rem 0.25rem 0.25rem 0.25rem;
	border-radius: 0.25rem;
	font-weight: bold;
	text-decoration: none;		
}

.desktop-nav ul li a:hover {
	background-color:#efefef;
} 

/* LISTING PAGE AND INDIVIDUAL RESIDENT PROFILES */

.organisation-intro {
	margin:0 auto;
	text-align: center;
	text-align: center;
	padding:1rem;
	max-width:600px;
}

.organisation-logo-wrapper {
	max-width:400px;
	margin:0 auto;
}

.organisation-logo-wrapper img {
	max-width:100%;
	height:auto;
	margin-bottom:1rem;
}

.organisation-logo-wrapper figure {
	margin:0;
}

.logo-aside {
	float: right;
}

.organisation-intro p {
	font-size:1.15rem;
	line-height: 1.1;
}

.organisation-intro figure {
	width:100%;
	background-position: center center;
	padding-bottom:56.5%;
	background-repeat: no-repeat;
	background-size:contain;
}

.organisation-intro h1 {
	font-weight: bold;
	color:white;
	display:inline-block;
	text-align: center;
	background-color:black;
	border-radius: 0.25rem;
	padding:0;
	margin:0;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	font-size:4rem;
	line-height: 1.2;	
	padding:0.25rem 0.5rem 0 0.25rem;
}

.residents-grid article.resident-teaser:nth-child(even) {
	background-color:#efefef;
}

.residents-grid article.resident-teaser:nth-of-type(even) h1 a {
	color:black;
}

.residents-grid article.resident-teaser:nth-of-type(odd) {
	background-color:black;
	color:white;
}

.residents-grid article.resident-teaser:nth-of-type(odd) h1 a,
.residents-grid article.resident-teaser:nth-of-type(odd) h2,
.residents-grid article.resident-teaser:nth-of-type(odd) h3 {
	color:white;
}

.residents-grid article.resident-teaser:hover h1 a,
.residents-grid article.resident-teaser:hover h2,
.residents-grid article.resident-teaser:hover h3 {
}

.residents-grid article.resident-teaser.has-content:hover {
	cursor:pointer;
	background-color:#0069B4;
	color:white;
}

.residents-grid article.resident-teaser.has-content:hover h1 a {
	color:white;
}

article.resident-teaser {
	background-size:cover;
	background-image:none;	
	transition: all 0.25s ease-in-out;
	opacity: 0; 
	transform: translateX(-1rem);
}

article.resident-teaser.on-screen {
	opacity: 1;
	transform: translateX(0rem);
}

@media screen and (min-width: 850px) {	
	article.resident-teaser {
		display:flex;
		align-content: center;
		align-items: center;
	}
}

article.resident-teaser h1 {
	font-size:2rem;
	font-weight: bold;
	line-height: 1.2;
	padding:1rem 1rem 0 1rem;
	margin:0 0 0 0;	
}

@media screen and (min-width: 850px) {	
	article.resident-teaser h1 {
		padding:1rem;	
	}
}

@media screen and (min-width: 850px) {	
	article.resident-teaser h1 {
		width:30%;		
	}
}

article.resident-teaser .resident-teaser-details {
	text-align: left;
	padding:1rem;
}

@media screen and (min-width: 850px) {	
	article.resident-teaser .resident-teaser-details {
		width:30%;
	}
}

article.resident-tease figure {
}

article.resident-teaser h1 a {
	text-decoration: none;
	margin-bottom:0.5rem;
}

article.resident-teaser h2 {
	font-size:1.4rem;
	line-height: 1.2;
	margin-bottom:0.5rem;
} 

article.resident-teaser h3 {
	font-size:1.2rem;
	line-height: 1.2;
}

@media screen and (min-width: 850px) {	
	.figure-holder {
		width:25%;
		overflow: hidden;
	}
}

.resident-teaser-img {
	width:100%;
	margin:0;	
	padding-bottom:56.5%;
	background-repeat: no-repeat;
	background-image:url('default-bg.svg');
	background-size:30%;
	background-position: center center;
}

article.resident-teaser:hover {
}

article.resident-teaser.has-image:hover .resident-teaser-img {
	transform: scale(1.1);
}

article.resident-teaser.has-image .resident-teaser-img {
	background-size:cover;
	overflow: hidden;
	transform: scale(1);
	transition: all 0.25s ease-in-out;
	display:block;
}

article.resident-teaser.no-image .figure-holder {
	display:none;
}

@media screen and (min-width: 850px) {	
	article.resident-teaser.no-image .figure-holder {
		display:block;
	}
}

.navigation.pagination {
	margin-top:1.5rem;
	text-align: center;
}

.navigation.pagination .nav-links{
	display:flex;
	justify-content: center;	
}

.navigation.pagination a,
.navigation.pagination span {
	display:block;
	font-size:1.15rem;
	padding:0.5rem;
	color:white;
	line-height: 1.1;
	background-color:black;
}

/* INDIVIDUAL RESIDENTS PROFILES */

article.resident-profile {	
	margin-left:auto;
	margin-right: auto;
	
}

.resident-intro {
	margin-left:auto;
	margin-right: auto;
	max-width:650px;
	text-align: center;
	padding:0.5rem;
}

.resident-intro h1 {
	font-size:4rem;
	line-height: 1.1;
	margin-bottom:0.5rem;
}

.resident-intro .org-logo {
	margin:0.5rem auto;
	max-width:400px;
	text-align: center;
	text-transform: uppercase;
}

.resident-intro .org-logo a {
	padding:0.5rem;
	border:2px solid white;
	display:block;	
}

.resident-intro .org-logo a:focus {
	border-color:red;
}

.resident-intro .org-logo img {
	max-width:100%;
	height:auto;
}

.resident-intro .org-label {
	font-size:2rem;
	line-height: 1;
	margin-top:1rem;
	margin-bottom:1rem;
	text-align: center;
	text-transform: uppercase;
}

.resident-intro .org-label a {
	display:inline-block;
	padding:0.3rem 0.25rem 0.1rem 0.2rem;
	border-radius: 0.25rem;
	text-decoration: none;
	background-color:black;
	color:#efefef;
	line-height: 1;
	transition: all 0.25s ease-in-out;
}

.resident-intro .org-label a:hover {
	background-color:#666;
	color:white;
}

.resident-intro h2 {
	font-size:2rem;
	line-height: 1.1;
	margin-bottom:1.5rem;	
}

.resident-intro h3 {
	font-size:1.3rem;
	line-height: 1.1;
	text-transform: none;
	margin-bottom:1rem;
}

.resident-intro h3 b {
	display:block;
	font-size:1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
}

article.resident-profile .story-wrapper {
	color:white;
	width:100%;
	margin-left:auto;
	margin-right: auto;
	background-color:black;
	margin-bottom:1rem;
	/* border-radius: 1rem; */
	position: relative;	
	margin-top:1.5rem;
}

article.resident-profile h2.section-title {
	text-align: center;
	padding:2rem 0 1rem 0;
	font-size:2rem;
}

article.resident-profile .story-wrapper.no-image {
	min-height: auto;
}

article.resident-profile .story-wrapper.no-image .resident-img {
	display:none;	
}

@media screen and (min-width: 850px) {	
	article.resident-profile .story-wrapper.no-image .the-story {
		margin-left:auto;
		margin-right: auto;
		width:50%;
	}
}

@media screen and (min-width: 850px) {	
	article.resident-profile .story-wrapper {
		display:flex;
		min-height:500px;	
	}
}

figure.resident-img {
	width:100%;
	margin:0;
	background-size:cover;
	padding-bottom:100%;
}

@media screen and (min-width: 850px) {	
	figure.resident-img {
		width:50%;	
		position: absolute;
		height:100%;
		margin:0;		
		background-position: center center;
		padding-bottom:0;
		background-size:cover;			
	}
	
	.the-story {
		margin-left:50%;
	}
	
}

/* article.resident-profile .story-wrapper img {
	border-top-right-radius: 1rem;
	border-top-left-radius: 1rem;
} */


article.resident-profile .the-story {
	padding:1rem;
}

/* article.resident-profile .story-wrapper:before {
	position: absolute;
	top:-20px;
	left:calc(50% - 50px);
	width:100px;
	display:block;
	height:30px;	
	background-size:contain;
	background-repeat: no-repeat;
	background-image:url('speech-bubble-triangle.svg');
	content:'';
}


article.resident-profile .story-wrapper:after {
	position: absolute;
	bottom:-20px;
	left:calc(50% - 50px);
	width:100px;
	display:block;
	transform:rotate(180deg);
	height:30px;	
	background-size:contain;
	background-repeat: no-repeat;
	background-image:url('speech-bubble-triangle.svg');
	content:'';
} */

article.resident-profile .story-wrapper p:last-of-type {
	padding-bottom:0;	
	margin-bottom:0;
}

article.resident-profile p,
article.resident-profile li {
	font-size:1.3rem;
	color:white;
	line-height: 1.25;
}

/* SLIDESHOW */

.carousel-cell {
	width: 80%;
	//height:300px;
	margin-right: 10px;
	background: black;
	counter-increment: carousel-cell;
}


@media screen and (min-width: 850px) {	
	.carousel-cell {
		width: 66%;		
		position: relative;
	}
}

.carousel-cell img {
	width:100%;
	position: absolute;
	top:0;
	height:100%;
	object-fit: contain;
	left:0;
	right:0;
	bottom:0;
}

.slide {
	position:relative;
	width:100%;
	height: 300px;
}

@media screen and (min-width: 850px) {	
	.slide {
		position:relative;
		width:100%;
		height: 600px;
	}
}

.slide figcaption {
	background-color:white;
	color:black;
	position: absolute;
	z-index:200;
	bottom:0.5rem;
	left:0.5rem;
}

.slide figcaption p {
	color:black;
	padding:0.25rem;
	margin:0;
	font-size:1rem;
}

.slide img {
	/* position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	object-fit: contain;
	object-position: center center; */
}

/* SOCIAL LINKS */

ul.social-links {
	display:flex;
	list-style: none;
	margin:5vh 0 0 0;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
}

ul.social-links li {
	width:6rem;
	margin:0.5rem;
	text-align: center;
	font-size:0.9rem;
	color:black;
	line-height: 1.1;
}

ul.social-links li a {
	width:2rem;
	height:2rem;
	margin:0 auto 0.5rem auto;
	display:block;	
	padding:0.5rem;
	background-image:url('web-link.svg');
	background-position: center center;
	background-size:contain;
	background-color:white;
	border-radius: 0.25rem;
}

ul.social-links li a[href*="facebook"] {
	background-image:url('facebook-link.svg');
}

ul.social-links li a[href*="instagram"] {
	background-image:url('instagram-link.svg');
}

ul.social-links li a:hover {
	background-color:#efefef;	
}

/* DONATION */

.widget_wc-donation-widget {
	margin-bottom:1rem;
	padding:1rem 1rem 3rem 1rem;
	border:1px solid #666;
	border-radius: 0.75rem;
	background-color:#efefef;
	background-position: 1rem calc(100% - 1rem);
	background-size:contain;
	background-size:90%;
	background-repeat: no-repeat;
	background-image:url(https://artistsatrisk.org/wp-content/uploads/2023/02/payment-line.png);
}

.widget_wc-donation-widget button {
	margin-top:1rem;
	font-size:1.2rem;
	background-color:white;
	border:2px solid black;
	padding:0.5rem;
	font-weight: bold;	
}

.widget_wc-donation-widget button:hover {
	background-color:white;
	color:black;
}

.widget_wc-donation-widget .row1 label {
	font-size:1.2rem;
	font-weight: bold;	
	color:black;
	border-radius: 0.25rem;
}

.widget_wc-donation-widget .row1 input[type=text] {
	width:50%;
	border:2px solid black;
	padding:0.5rem;
	font-size:1.2rem;
}

.widget_wc-donation-widget .row1 input[type=text]:active {
	background-color:#efefef;	
	outline: none;
}

.widget_wc-donation-widget ::-webkit-input-placeholder {
	font-size:1.2rem;
	color:black;
	font-weight: bold;
}

.widget_wc-donation-widget .row3 label {
	font-size:1.2rem;
	color:black;
}

.widget_wc-donation-widget .row3 select {
	border:2px solid black;
	font-size:1.2rem;	
}

.widget_wc-donation-widget label[for=donation-price] {
	font-size:1.2rem;
	color:black;
	transition: all 0.25s ease-in-out;
	font-weight: bold;
}

.widget_wc-donation-widget label.wc-label-button:hover {
	background-color:#efefef;
}

.widget_wc-donation-widget label.wc-label-button:hover input {
	color:white !important;	
}

.widget_wc-donation-widget .row1 label input {
	border:2px solid black;
}

.widget_wc-donation-widget button {
	border-radius: 0.25rem;	
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	padding:0.5rem 0.75rem;
	font-size:1rem;
}

.widget_wc-donation-widget button:hover {
	cursor: pointer;	
	background-color:white;
}

#_subscription_length {
  opacity: 0;
}

#popmake-36340 {
	border: 10px solid #4d8400;
	background: white;
	text-align: center;
	
}

#popmake-36340 .pum-content {
	text-align: center;
}

#popmake-36340 * {
	color: #2e4f00 ;
}

#popmake-36340 p {
	display: flex;
	flex-direction: row;	
}

#popmake-36340 a {
	flex: 1 1 50%;
	display: block;
	text-decoration: none;
	padding: .25rem .5rem;
	color: white !important;
	max-height: 40px;
}

#popmake-36340 a:hover {
	opacity: .9;
}

#popmake-36340 a img {
	display: inline-block;
	max-height: 40px;
}


/* DEFAILT WOOCOMMERCE STUFF */

.nav-holder nav ul.social  {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: none;
}

.nav-holder nav ul.social li * {
  border: none !important;
}

.nav-holder nav ul.social li img {
  max-width: 36px;
  cursor: pointer;
}