/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.background-image-page-header {
	background-color: transparent;
}

.page-header {
	padding: 50px 34px;
}

strong span, span strong, span b {
	/* color: #800020 !important; */
}

.wp-block-group {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.wp-block-button__link:hover {
	color: #fff;
	text-decoration: underline;
}

.wp-block-media-text {
	max-width: 1200px !important;
	margin: 0 auto;
}

.single-post.content-max-width nav.post-navigation, .single-post.content-max-width #related-posts {
	max-width: 1200px;
}

.tg-one-third {
	display: inline-grid;
	max-width: 400px;
	padding: 0 60px 0 0;
}

.call-to-action-content-wrapper {
	background: #fff;
	border-left: 3px solid #5ad057;
	padding: 20px;
	display: flex;
	border-radius: 10px;
	box-shadow: 0 0 5px gray;
}

.call-to-action-content {
	width: 90%;
}

.call-to-action-button {
  color: #fff;
  text-decoration: none !important;
  background: #ed7d3a;
  padding: 10px 20px;
  border-radius: 5px;
  float: right;
  width: fit-content;
}

.call-to-action-button:hover {
	color: #FFFFFF;
	background: #34495e;
}

.oceanwp-mobile-menu-icon a {
	line-height: 0 !important;
}

a:focus {
	outline: none !important;
}

#main #content-wrap {
	/*padding-top: 0;*/
	/*padding-bottom: 0;*/
}

.tg-one-fourth {
  float: left;
  /* display: inline-block; */
  width: 22%;
  margin: 0 2.46305419% 0 0;
  padding: 0 0 30px;
}

.corsi p.abstract {
  max-height: 180px;
  overflow: hidden;
  height: 180px;
}

/*.tg-one-third {
  float: left;
  width: 30%;
  margin: 0 2.46305419% 0 0;
  padding: 0 0 30px;
}*/

@media only screen and (max-width: 769px) {
	.slider-mobile article img {
		/* height: 30vh; */
		aspect-ratio: 4/5;
	}
	
	.oceanwp-swiper-container-horizontal > .oceanwp-swiper-scrollbar {
		background: transparent;
	}
	
	.oceanwp-post-list {
		background: #ffffff;
	}
	
	.oceanwp-post-list.one {
		border-radius: 10px;
		border: 1px solid #abb7c28a;
		/* box-shadow */: 0 0 5px #000;
	}
	.oceanwp-post-list.one .slide-overlay-wrap {
		position: relative;
		background: transparent;		
	}
	
	.oceanwp-post-list.one article:hover .slide-overlay-wrap {
		background: transparent;
	}
	
	.oceanwp-post-list.one .slide-overlay-wrap .slide-overlay {
		padding: 15px 0;
		text-align: left;
		width: 90%;
	}
	
	.oceanwp-post-list.one .oceanwp-post-category {
		background: #34495E !important; 
	}
	
	.oceanwp-post-list.one .slide-overlay-wrap .slide-overlay h2 {
		font-size: 20px;
	}
	
	.oceanwp-post-list.one .slide-overlay-wrap .slide-overlay h2 a {
		color: #34495E;
		text-transform: none;		
	}
	
	.oceanwp-post-list.one .oceanwp-post-date {
		display: none;
	}
	
	.oceanwp-post-list.one .readmore {
		/* display: none; */
		text-transform: none;
		color: #0FBE7C;
		border: none;
		padding: 0;
		font-size: 15px;
	}
	
	.oceanwp-post-list.two {
		border-radius: 10px;
		border: 1px solid #abb7c28a;
		/* box-shadow */: 0 0 5px #000;
	}
	.oceanwp-post-list.two .slide-overlay-wrap {
		position: relative;
		background: transparent;
		
	}
	
	.oceanwp-post-list.two .slide-overlay-wrap .slide-overlay h2 a {
		color: #34495E;
		text-transform: none;
	}
	
	.oceanwp-post-list.two .oceanwp-post-excerpt {
		display: none;
	}
	
	body:not(.home-wma) #site-header {
		position: sticky; 
		top: -120px;
		opacity: 0.97;		
		-webkit-transition-duration: 0.3s;
		transition-duration: 0.3s;
		-webkit-transition-property: transform;
		transition-property: transform;
		-webkit-transition-timing-function: ease-out;
		transition-timing-function: ease-out;
	}
}

.sticky-mobile-nav {
	position: fixed;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 30px;
    overflow: hidden;
	filter: invert(1);
    mix-blend-mode: difference;
}

.invert-sticky-mobile-nav {
	filter: invert(0);
    mix-blend-mode: normal;
}


.oceanwp-swiper-button-next::after, .oceanwp-swiper-button-prev::after {
	display: none;
}

.home-wma {
	overflow-y: scroll;
	overflow-x: hidden;
	scroll-snap-type: y mandatory;
	height: 100vh;
}

.home-wma header, .home-wma footer, .home-wma .wma-section {
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

html:has(.home-wma) {
	scroll-behavior: smooth;
	-ms-overflow-style: none; 
	scrollbar-width: none;  
}

html:has(.home-wma)::-webkit-scrollbar {
	display: none;
}

.custom-header-nav .oceanwp-mobile-menu-icon {
  float: right !important;
}

.pulse .elementor-icon svg {
  animation: pulse-animation 1s infinite alternate-reverse ease;
  border-radius: 50px;
}

@keyframes pulse-animation {
  0% {
    /* box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2); */
	
  }
  100% {
    /* box-shadow: 0 0 0 20px rgba(0, 0, 0, 0); */
	opacity: 0.5;
  }
}

.wma-footer h5 {
	color: #0FBE7C;
	font-size: 18px;
}

.wma-footer ul {
	list-style-type: none;
	margin: 15px 0;
}

.wma-footer li a {
	color: #ffffff;
}


#footer li {
	border: none;
}

#icon-searchform-dropdown {
	border-top: 3px solid #0FBE7C;
}

#searchform-header-replace input {
	/* color: #34495e; */
}

.logo-wma img {
	width: auto;
	height: 100px;
}

.event_single {
	margin: 0 auto;
	max-width: 1300px;
	border-left: none;
	padding: 0 20px;
	background: transparent !important;
}

.eventpost-status, .event_categories {
	display: none;
}

.eventpost-address {
	margin: 10px 0;
}

.gallery {
	text-align: center;
}

.gallery-item {
	width: 250px;
	margin: 20px 35px;	
}

.thumb-news .cl-template {
	/* box-shadow */: 0 0 5px #aaa;
	/* background: #3a3d4029; */
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.thumb-news .cl-template:hover, .thumb-news .cl-template:focus, .thumb-news .cl-template:active {
	/* box-shadow */: 0 0 5px #777;
	background: #00000011;
	color: #000000;
	-webkit-transform: translateY(8px);
	transform: translateY(8px);	
}

.thumb-news .cl-template a:hover {
	text-decoration: none !important;
}

.thumb-news .cl-layout__item {
	padding-bottom: 50px;
}

.thumb-news .cl-element-featured_media__image {
	background-size: 100% 100% !important;	
}

.thumb-news .cl-element-featured_media--sizing-aspect_ratio {
	aspect-ratio: 4/5 !important;
}

.thumb-news .cl-element-link {

}

/* .thumb-news {
	overflow-y: scroll;
	overflow-x: hidden;
	scroll-snap-type: y mandatory;
}

.cl-layout__item {
	scroll-snap-align: start;
	scroll-snap-stop: always;
} */

iframe {
	/* border-radius: 20px; */
	/* box-shadow */: 0 0 5px rgba(0,0,0,0.5);
}

.blog-entry.post .thumbnail img {
	border-radius: 20px 20px 0 0;
	/* box-shadow */: 0 0 5px rgba(0,0,0,0.5);
}

.blog-entry.post .thumbnail .overlay {
	border-radius: 20px 20px 0 0;
}

.wp-block-latest-posts__featured-image.alignleft {
	margin-right: 2em;
}

.single img { 
	/* box-shadow: 0 0 5px rgba(0,0,0,0.5);  */
}

.single-page-article img {
  /* border-radius: 20px; */
  /* box-shadow */: 0 0 5px rgba(0,0,0,0.5);
  -webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

html:has(.team-wma) .single-page-article img:hover {
	-webkit-transform: translateY(-5px);
	transform: translateY(-5px);	
}

.blog-entry.grid-entry .blog-entry-inner {
  border-radius: 20px;
  /* box-shadow */: 0 0 5px #aaa;
  background: #ffffff;
}

.blog-entry.grid-entry .blog-entry-readmore a {
	text-transform: none;
}

.background-image-page-header-overlay {
	background: radial-gradient(circle, rgb(47, 24, 0) 0%, rgb(26, 14, 1) 100%);
}

.owp-social-share.style-minimal li a .owpss-icon{
  fill: #110000;
}

.button-wma {
	background: #CC7722;
	color: #ffffff;
	text-decoration: none !important;
	padding: 10px 20px;
	border-radius: 10px;
	/* box-shadow: 0 0 5px rgba(0,0,0,0.5); */
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;	
	width: fit-content;
	text align: center;
	margin: 0 auto;
	display: block !important;	
}
.button-wma:hover {
	color: #ffffff;
	-webkit-transform: translateY(5px);
	transform: translateY(5px);
}

.button-wma a {
	display: block;	
	color: #ffffff;
	text-decoration: none !important;
}

.button-wma a:hover {
	color: #ffffff;
}

.hide {
	display: none;
}

#sb_instagram .sbi_photo img {
	border-radius: 10px;
}

.footer-menu ul {
	list-style: disclosure-closed;
}

.footer-menu li {
	float: left;
	margin: 0 15px;
}