/* 
Theme Name: Cardio Saúde - Hello-Elementor Child 
Theme URL: https://cardio-saude.pt
Description: Cardio Saúde 
Theme Author: Cognipharma
Author URL: https://cardio-saude.pt
Template: hello-elementor 
Version: 1.0.0 
Text Domain: hello-elementor 
*/

body {
	font-family: 'Open Sans', 'sans-serif';
}

.cs-admin-bar {
	background-color:#EFEFEF; 
	color:#aaa; 
	position:fixed; 
	right:10px;
	bottom: 2px;
	padding: 0px 20px;
	z-index:999999999999; 
	font-size:10px; 
	border-radius: 5px;
	font-family: monospace;
}

.elementor-widget-call-to-action {
    z-index:0;
}

@media screen and (min-width: 769px) {
	.menuCTA a {
		background-color: var(--e-global-color-388f883);
		color: white !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		margin-top: 24px;
		margin-bottom: 24px;
		margin-left: 15px;
		border-radius: 10px;
		/* opacity: 0.7; */
		margin-right: 15px;
	}
	.menuCTA a:hover {
		background-color: var(--e-global-color-accent);
	}
	.menuCTA a.elementor-item::after {
		display:none !important;
	}
}
@media screen and (min-width: 769px) and (max-width: 1450px) {
	.menu-item a {
		font-size: 12px !important;
		max-width: 115px;
		white-space: initial !important;
		text-align: right;
	}
	.sub-menu .menu-item a {
		max-width: 400px;
		white-space: nowrap !important;
	}
}
@media screen and (min-width: 1200px) and (max-width: 1490px) {
	.menu-item a {
		font-size: 13px !important;
		max-width: 130px;
		white-space: initial !important;
		text-align: right;
	}
	.sub-menu .menu-item a {
		max-width: 400px;
		white-space: nowrap !important;
	}
}

.um-half {
	width: 45%;
	margin:2%;
	display: inline-block;
}


.um-half .um-button {
	width: 100%;
}
.um-right .um-button {
	background-color: #e5e5e5;
	color: var(--e-global-color-388f883);
}

.cta_light.elementor-widget-icon-box a:after,
.cta_dark.elementor-widget-icon-box a:after { 
	content: ""; 
	display: block !important; 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	left: 0; 
	right: 0; 
	z-index: 1; 
}
.cta_dark.elementor-widget-icon-box a:hover { 
	color: white !important;
}
.cta_light.elementor-widget-icon-box a:hover { 
	color: #02539D !important;
}
.cta_dark, .cta_light {
	transition: transform 400ms ease;
}
.cta_dark:hover, .cta_light:hover {
	transform: scale(1.02);
}
/********************* category-news section ***************************/
/***********************************************************************/
/***********************************************************************/


#category-news-main h2,
#category-events-main h2,
#category-videos-main h2 {
	padding-left: 40px;
	font-size: 30px;
	font-weight: 300;
	color: #FFF;
	background: rgb(0,81,158);
	background: linear-gradient(63deg, rgba(0,81,158,1) 10%, rgba(49,191,93,1) 97%);
}

.posts-navigation {
	width: 100%;
	display: flex;
	justify-content: center;
}

.posts-navigation a {
	padding: 5px 20px;
	color: #FFF;
	background-color: #02539D;
}

.posts-navigation a:hover {
	background-color: #11ADE7;
}

.events-post button {
	width: 200px;
	padding: 6px 15px;
	color: #FFF;
	background-color: #004BA0;
}

.events-post .go-back button {
	margin-left: 40px;
}

.news-post .go-back {
	float: right;
	margin-right: 40px;
	margin-bottom: 40px;
}

/*
#category-news-main section{
	display: flex;
	flex-flow: row wrap;
}

#category-news-main h2 {
	padding-left: 15px;
	margin-bottom: 10px;
	text-align: center;
	color: #FFF;
	background-color: #02539D;
	border-radius: 3px;
}
*/
#category-news-main h1 {
	color: #02539D;
}
/*

#category-news-main article {
	display: flex;
	justify-content: flex-start;
	width: 50%;
	height: 160px; 
	margin-bottom: 0;
	padding-bottom: 0;
	background-color: rgb(240,240,240);
	border: 15px solid #FFF;
}

#category-news-main .article-container {
	display: flex;
	align-items: center;
	height: 100%;
	box-sizing: border-box;
	box-shadow: 1px 2px 2px rgba(0,0,0, 0.4);
	border: 1px solid rgba(2,83,157, 0.1);
}

#category-news-main .post-thumbnail {
	width: 30%;
	height: 100%;
}

#category-news-main .post-thumbnail a {
	width: 100%;
	height: 100%;
}

#category-news-main .post-thumbnail img {
	width: 100%;
	height: 100%;
}

#category-news-main .post-content {
	width: 70%;
	padding: 10px 30px;
	color: #333;
}

#category-news-main .post-title {
	margin-bottom: 7px;
}

#category-news-main .post-author, 
#category-news-main .post-date {
	padding: 2px 5px;
}

#category-news-main .post-author {
	margin: 0;
	background-color: #02539D;
	color: #FFF;
}
#category-news-main .post-date {
	margin: 0;
	background-color: #FFF;
}

@media screen and (max-width: 920px) {
	#category-news-main article {
		width: 100%;
		height: 175px; 
	}
	#category-news-main .post-content {
		padding: 10px 40px;
	}
}
*/


/********************* news-post section *******************************/
/***********************************************************************/
/***********************************************************************/
/*
.news-post .post-container {
	display: flex;
}
.news-post .col-1, 
.news-post .col-2 {
	border: 15px solid #FFF;
}
.news-post .col-1 {
	width: 30%;
}
.news-post .col-2 {
	width: 70%;
}
.news-post .col-2 h3 {
	margin-top: 0;
}
.news-post .post-thumbnail {
	display: flex;
	flex-direction: column;
}
.news-post .post-thumbnail img {
	height: 260px;
}
.news-post .post-thumbnail {
	width: 100%;
} */
/*

@media screen and (max-width: 980px) {
	.news-post .post-thumbnail img {
		height: auto;
	}
}

@media screen and (max-width: 900px) {
	.news-post .post-container {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.news-post .post-thumbnail {
		
	}
	.news-post .post-thumbnail img {
		display: block;
		margin: 0 auto;
		width: 100%;
	}
	.news-post .col-1 {
		width: 100%;
	}
	.news-post .col-2 {
		width: 100%;
	}
	.news-post .post-thumbnail img {
		margin-bottom: 20px;
	}
}
*/

/********************* category-events section *************************/
/***********************************************************************/
/***********************************************************************/

#category-events-main section {
	padding: 0 40px;
}


/*
#category-events-main h2 {
	padding-left: 40px;
	font-size: 30px;
	font-weight: 300;
	color: #FFF;
	background: rgb(0,81,158);
	background: linear-gradient(63deg, rgba(0,81,158,1) 10%, rgba(49,191,93,1) 97%);
}
*/
#category-events-main h3 {
	margin-bottom: 0;
	font-size: 40px;
	color: #004BA4
}

#category-events-main article {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	align-items: center;
	min-height: 130px; 
	margin-bottom: 0;
	padding-bottom: 0;
	background-color: #FFF;
}

#category-events-main article div:first-child {
	flex: 0 20%;
}

#category-events-main article div:last-child {
	flex: 0 80%;
}

#category-events-main .event-date {
	border-left: 5px solid #004BA2;
	padding-left: 30px;
}

#category-events-main .event-date span:first-child {
	font-size: 60px;
	color: #3BC15B;
}

#category-events-main .event-date span:last-child {
	font-size: 20px;
	color: #004BA4;
}

#category-events-main .event-info div {
	font-size: 25px;
	color: #004BA4;
}

#category-events-main .event-info div a:hover {
	text-decoration: underline;
}


@media screen and (max-width: 980px) {
	
	#category-events-main article {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		max-height: 130px;
	}
	
	#category-events-main .event-date span:first-child {
		font-size: 45px;
	}
	
	#category-events-main .event-date span:last-child {
		font-size: 10px;
	}
	
	#category-events-main .event-info div {
		font-size: 22px;
	}

}

@media screen and (max-width: 760px) {
	
	#category-events-main .event-date span:first-child {
		font-size: 30px;
	}
	
	#category-events-main .event-date span:last-child {
		font-size: 10px;
	}
	
	#category-events-main .event-info div {
		font-size: 18px;
	}
	
	#category-events-main .event-info {
		padding-left: 10px;
	}
	
	#category-events-main .event-date {
		padding-left: 10px;
	}

}

@media screen and (max-width: 480px) {
	
	#category-events-main article {
		margin-bottom: 20px;
		min-height: 50px !important;
	}
	
	#category-events-main h3 {
		margin-bottom: 15px;
		font-size: 30px;
	}
	
	#category-events-main .event-date span:first-child {
		font-size: 25px;
	}

}


/********************* single-event section ****************************/
/***********************************************************************/
/***********************************************************************/
.events-post header {
	display: flex;
	margin-bottom: 30px;
}

.events-post header div {
	padding: 0 10px;
	color: #FFF;
	background: rgb(0,81,158);
	background: linear-gradient(63deg, rgba(0,81,158,1) 10%, rgba(49,191,93,1) 97%);
}

.events-post header div:first-child {
	flex: 0 80%;
}

.events-post header .event-title {
	border-right: 10px solid #FFF;
}

.events-post header div:last-child {
	flex: 0 20%;
}

.events-post header h3 {
	padding: 0 40px;
	font-weight: 300;
	font-size: 25px;
}

.events-post header .event-date {
	display: flex;
	justify-content: center;
	align-items: center;
}

.events-post header .event-date div,
.events-post header .event-date span{
	background: none;
}
.events-post header .event-day{
	padding: 0;
	text-align: right;
	font-size: 60px;
	font-weight: 500;
}

.events-post header .event-date-details {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	padding: 0;
	font-size: 20px;
	font-weight: 500;
}

.events-post header .event-date-details div:last-child {
	display: flex;	
	font-size: 15px;
}

.events-post header .event-date-details div:last-child span {
	font-size: 20px;
	padding: 0 2px;
	font-weight: 300;
}

.events-post header .event-date-details .spliter {
	font-size: 20px;
	color: #FFF;
}

.events-post .details-section {
	display: flex;
	margin-bottom: 25px;
}

.events-post .main-content {
	padding: 0 40px;
}

.events-post .main-content div:first-child {
	margin-bottom: 20px;
}

.events-post .event-timing p {
	margin-bottom: 5px;
	color: #015EAB;
}

.events-post .details-section {
	padding-bottom: 30px;
	border-bottom: 3px solid #015EAB;
}

.events-post .details-section div:first-child {
	flex: 0 80%;
}

.events-post .details-section div:last-child {
	flex: 0 20%;
}

.google-maps-section {
	margin-bottom: 30px;
	padding: 0 40px;
}

.google-maps-section p {
	margin-bottom: 10px;
	color: #015EAB;
}

.google-maps-section .iframe-container {
	width: 480px;
	height: 280px;
	background-color: rgb(100,100,100);
}




@media screen and (max-width: 760px) {
	.events-post header {
		flex-direction: column;
		text-align: left;
	} 
	
	.events-post header div:first-child {
		flex: 0 100%;
	}

	.events-post header .event-title {
		border-right: none;
	}

	.events-post header div:last-child {
		flex: none;
	}
	
	.events-post .details-section {
		flex-direction: column;
	}
	
	.events-post .details-section div:first-child {
		flex: 0 100%;
		margin-bottom: 30px;
		text-align: left;
	}

	.events-post .details-section div:last-child {
			flex: 0 100%;
	}
	
	.events-post .go-back button {
		display: block;
		margin: 0 auto 30px auto;
	}
}


/********************* category-videos section ****************************/
/*************************************************************************/
/***********************************************************************/
#category-videos-main section {
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
}

/*
#category-videos-main h2 {
	padding-left: 40px;
	font-size: 30px;
	font-weight: 300;
	color: #FFF;
	background: rgb(0,81,158);
	background: linear-gradient(63deg, rgba(0,81,158,1) 10%, rgba(49,191,93,1) 97%);
}
*/

#category-videos-main article {
	flex: 0 50%;
	border: 5px solid #FFF;
}

/*
#category-videos-main .video-title {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 8px;
	height: 90px;
	font-size: 19px;
	text-align: center;
	background-color: #064B8F;
	color: #FFF;
}
*/

#category-videos-main .video-title {
	padding-top: 7px;
	font-size: 20px;
	color: #00469F;
}


/*
#category-videos-main .video-container {
	position: relative;
    overflow: hidden;
    padding-top: 56.25%;
	background-color: #064B8F;
}
*/

#category-videos-main .article-container {
	margin-bottom: 30px;
	padding-left: 25px;
	max-height: 350px;
	border-left: 5px solid #33C25B;
	border-right: 15px solid transparent;
}

#category-videos-main article {
	border-left: 45px solid transparent;
	border-right: 30px solid #FFF;
}


#category-videos-main .video-container {
	position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

@media screen and (max-width: 760px) {
	#category-videos-main article {
		flex: 0 100%;
		border: 5px solid #FFF;
	}
	#category-videos-main .article-container {
		margin-bottom: 30px;
		padding-left: 25px;
		max-height: 550px;
		border-left: 5px solid #33C25B;
		border-right: 15px solid transparent;
	}
}



