/* CSS Document */

body:before{
	display: none;
}

#interior-header{
	position: relative;
	padding-top: 70px;
	padding-bottom: 20px;
}
#interior-header:before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: url(../images/svg-interior.svg) no-repeat top center;
	background-size: cover;
	z-index: 1;
}

.dynamicModal h4{
	font-size: 30px;
	color: var(--primary-color-hover);
}

.card.int picture{
	height: 250px;
	background: url(../images/placeholder.jpg) no-repeat center center;
}
picture.team{
	height: 200px;
}

#toggle-all span{
	display: inline-block;
}
#toggle-all > span{
	transition: all .3s ease;
	cursor: pointer;
}
#toggle-all > span:hover{
	color: var(--primary-color);
}
#toggle-all > span > span:nth-child(2),
#toggle-all > span > span:nth-child(4),
#toggle-all > span.click > span:first-child,
#toggle-all > span.click > span:nth-child(3){
	display: none;
}
#toggle-all > span.click > span:nth-child(2),
#toggle-all > span.click > span:nth-child(4){
	display: inline-block;
}
#toggle-all > span.click > span:nth-child(3){
	transform: rotate(-180deg);
}
#accordion .accordion-item{
    border: none;
    background-color: transparent;
}
#accordion .accordion-item .heading.collapsed{
	color: var(--black-color);
}
#accordion .accordion-item .heading,
#accordion .accordion-item:hover .heading,
#accordion .accordion-item:focus .heading{
	color: var(--primary-color);
}
#accordion .accordion-item .heading > div,
#accordion .accordion-item .heading > div:last-child > span{
	transition: all .2s linear;
}
#accordion .accordion-item .heading > div:last-child > span{
	transform: rotate(-180deg);
}
#accordion .accordion-item .heading.collapsed > div:last-child > span{
	transform: rotate(0);
}

.page-categories > a > div:first-child > div:nth-child(2),
.page-categories > a.active > div:first-child > div:first-child{
	display: none;
}
.page-categories > a.active > div:first-child > div:nth-child(2){
	display: block;
}
.page-categories > a{
	color: var(--gray-color);
}
.page-categories > a.active{
	color: var(--primary-color-hover);
}

.at-share-btn-elements{
    display: block;
    white-space: nowrap;
}

#partner-carousel .carousel .slides .item{
	max-height: 125px;
	max-width: 250px;
}
#partner-carousel .carousel .slides .item picture{
	height: 125px;
}
#partner-carousel .carousel .slides .item picture img{
	max-height: 100%;
	transition: all .3s ease;
}
#partner-carousel .carousel .slides .item a:hover picture img{
	opacity: .7;
}

.page-toggle .active{
	position: relative;
}
.page-toggle .active:after{
	content: '';
	position: absolute;
	bottom: -11px;
	left: -2px;
	width: 100%;
	height: 1px;
	background-color: var(--primary-color);
	z-index: 1;
}
.page-toggle .active > div:first-child{
	color: var(--primary-color);
}
.page-toggle .active > div:nth-child(2){
	color: var(--primary-color-hover);
}
.page-toggle a{
	color: var(--secondary-color);
}
.page-toggle a:hover{
	color: var(--secondary-color-hover);
}

.collapse-content a .icon{
	transition: all .3s cubic-bezier(.335,.015,.25,.995);
	transform: rotate(-180deg);
}
.collapse-content a.collapsed .icon{
	transform: rotate(0);
}

#article-list .article picture,
#article-list .article.sm picture{
	min-width: 90px;
	max-width: 90px;
}

.menu-filter{
	z-index: 1050 !important;
}

/* EVENT CSS */
#event-list a .bg-primary-color-hover{
	transition: all .3s cubic-bezier(.335,.015,.25,.995);
}
#event-list a:hover .bg-primary-color-hover,
#event-list a:focus .bg-primary-color-hover{
	background-color: var(--primary-color) !important;
}
.responsive-calendar .day.header{
	border-bottom: 1px solid var(--alternate-color) !important;
}
.responsive-calendar .day{
	border: 2px solid var(--alternate-color);
}
.responsive-calendar .day a{
	padding: 25% 0 !important;
	font-size: 20px;
	color: var(--primary-color) !important;
	font-weight: 700;
}
.responsive-calendar .day.active a,
.responsive-calendar .day.today a{
	color: var(--bs-white) !important;
}
.responsive-calendar .day.active a{
	background-color: var(--primary-color) !important;
}
.responsive-calendar .day.today a,
.responsive-calendar .day.today a:hover,
.responsive-calendar .day.today a:focus{
	background-color: var(--primary-color-hover) !important;
}
.responsive-calendar .day.active a:hover,
.responsive-calendar .day.active a:focus{
	background-color: var(--primary-color-hover) !important;
}
.responsive-calendar .day a:hover,
.responsive-calendar .day a:focus{
	background-color: var(--alternate-color) !important;
}

.content-sections > div:not(:last-child),
.content-sections > section:not(:last-child) {
	margin-bottom: 6rem;
}

#recent-photos a {
	height: 150px;
	overflow: hidden;
}
#recent-photos a img {
	height: 100%;
	object-fit: cover;
}

/********************************************************** MEDIA QUERRIES ******************************************************************/

/* Phone (landscape) */
@media (min-width: 576px){
    
	.card.int picture{
		height: 200px;
	}
	picture.team{
		height: 225px;
	}

	#interior-header{
		padding-bottom: 40px;
	}
	#interior-header:before{
		height: 40px;
	}

	#partner-carousel .carousel .slides .item{
		max-height: 150px;
		max-width: inherit;
	}
	#partner-carousel .carousel .slides .item picture{
		height: 150px;
	}

	#article-list .article picture{
		min-width: 175px;
		max-width: 175px;
	}

	#recent-photos a {
		height: 175px;
	}

}

/* Tablet (portrait) */
@media(min-width:768px){
    
	.card.int picture{
		height: 250px;
	}
    .card.int.sm picture{
		height: 200px;
	}
	picture.team{
		height: 275px;
	}

	#interior-header{
		padding-bottom: 50px;
	}
	#interior-header:before{
		height: 50px;
	}

	#article-list .article picture{
		min-width: 200px;
		max-width: 200px;
	}

	#recent-photos a {
		height: 200px;
	}
	
}

/* Tablet (landscape) */
@media(min-width:992px){
    
	.dynamicModal h4{
		font-size: 34px;
	}
	
    .card.int picture{
		height: 200px;
	}
    .card.int.sm picture{
		height: 175px;
	}
	picture.team{
		height: 250px;
	}

	#interior-header{
		padding-bottom: 60px;
	}
	#interior-header:before{
		height: 60px;
	}

	#article-list .article picture{
		min-width: 250px;
		max-width: 250px;
	}

	#recent-photos a {
		height: 250px;
	}
	
}

/* Desktop */
@media(min-width:1200px){
    
	.dynamicModal h4{
		font-size: 40px;
	}
    
	.card.int picture{
		height: 250px;
	}
    .card.int.sm picture{
		height: 225px;
	}
	picture.team{
		height: 300px;
	}

	#interior-header{
		padding-top: 100px;
		padding-bottom: 65px;
	}
	#interior-header:before{
		height: 65px;
	}

	#partner-carousel .carousel .slides .item{
		max-height: 150px;
	}
	#partner-carousel .carousel .slides .item picture{
		height: 150px;
	}

	.content-sections > div:not(:last-child),
	.content-sections > section:not(:last-child) {
		margin-bottom: 7.5rem;
	}

	#recent-photos a {
		height: 300px;
	}

}

@media(min-width:1400px){

	#interior-header{
		padding-bottom: 75px;
	}
	#interior-header:before{
		height: 75px;
	}

	#partner-carousel .carousel .slides .item{
		max-height: 175px;
	}
	#partner-carousel .carousel .slides .item picture{
		height: 175px;
	}

	.content-sections > div:not(:last-child),
	.content-sections > section:not(:last-child) {
		margin-bottom: 10.5rem;
	}

	#recent-photos a {
		height: 200px;
	}

}

@media(min-width:1600px){

	#interior-header{
		padding-bottom: 90px;
	}
	#interior-header:before{
		height: 90px;
	}

	#recent-photos a {
		height: 225px;
	}
	
}

@media(min-width:1800px){

	#interior-header{
		padding-bottom: 100px;
	}
	#interior-header:before{
		height: 100px;
	}

	#recent-photos a {
		height: 250px;
	}
	
}

@media(min-width:2000px){

	#interior-header{
		padding-bottom: 110px;
	}
	#interior-header:before{
		height: 110px;
	}

	#recent-photos a {
		height: 275px;
	}

}