/* Cor padrão do template #db3531 */
:root {
    --primary_color: #db3531;
    --primary_color_rgb: 215, 209, 27;
    --primary_color_contrast: #FFFFFF;
    --primary_color_contrast_rgb: 255, 255, 255;
    --headings_color: #181921;
    --text_color: #181921;
    --bg_color: #FFFFFF;
    --link_color: #181921;
    --link_hover_color: #db3531;
  	--link_active_color: #db3531;
    --header_bg_color: #ffffff;
    --topbar_bg_color: #000000;
    --topbar_text_color: #ffffff;
    --topbar_link_color: #db3531;
    --topbar_link_hover_color: #000000;
    --logo_text_color: #181921;
    --menu_text_color: #181921;
    --menu_text_hover_color: #db3531;
    --menu_text_active_color: #db3531;
    --menu_dropdown_bg_color: #ffffff;
    --menu_dropdown_text_color: #181921;
    --menu_dropdown_text_hover_color: #db3531;
    --menu_dropdown_text_active_color: #db3531;
    --footer_bg_color: #212129;
    --footer_text_color: #A4ACB3;
    --footer_link_color: #FFFFFF;
    --footer_link_hover_color: #db3531;
    --footer_headings_color: #FFFFFF;
    --black: #000000;
}
/* Barra de Menu - cor*/

#sp-header {
    background: #ffffff;
}

.sp-megamenu-parent>li>a {
    color: #000000;
	padding: 0 7px;
}

/* search icon menu principal cor */
i.fa.fa-search {
    color: #000;
}

/* color footer */

#sp-footer, #sp-bottom {
    background: #000000;
    color: #ffffff;
}

/* Eventos pagina inicial */

/*h2.eb-event-title-container {
    display: none;
}
*/

i.fa.fa-folder-open {
		display: none;
}
.fa.fa-calendar {
    content: "\f073";
}
.eb-event-category.row.clearfix {
		margin-top: 10px;
  	font-weight: bold;
}
.eb-event-short-description.clearfix {
	padding-top: 10px
}
.eb-event-short-description.clearfix p{
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 25px;
    height: 70px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* notícias página inicial */

#sppb-addon-1683198217108 h3 {
    font-size: 14px;
    padding-top: 10px;
    color: #000000;
}

.sppb-article-introtext {
    font-size: 14px;
}

/* quadrado ao lado dos títulos */
.sp-module-title:after {
    content: "";
    width: 0px;
    height: 0px;
    display: none;
    background: none;
    margin-left: 0px;
}

/* sinal de + nos Menus  */

body.ltr .sp-megamenu-parent .sp-dropdown .sp-dropdown-items .sp-has-child>a:after {
    content: "";
    float: right;
    margin-left: 0px;
    font-weight: 400;
  	display: none;
}

/* scrool */

.sp-scroll-up {
    display: none;
    position: fixed;
    bottom: 65px;
    /* right: 30px; */
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 20px;
    color: var(--primary_color_contrast);
    background: var(--primary_color);
    border-radius: 4px;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.9;
    left: 30px;
}

/* Eventos página agenda */

.eb-box-heading {
    FONT-WEIGHT: 500;
    border-radius: 7px 7px 0 0;
    color: #333;
    font-weight: 700;
    padding: 8px 10px;
    margin: 0;
    background: #ffffff;
    border: 1px solid #ffffff;
    font-size: 20px;
}
#eb-event-page h1.eb-page-heading {
    margin: 0;
    font-size: 20px;
    color: #db3531;
}
#eb-categories .eb-description, #eb-event-page .eb-description, #eb-events .eb-description {
    background: #fff;
    border-bottom: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-radius: 0 0 7px 7px;
    margin: 0;
    padding: 10px;
}
div#eb-event-info-left {
    display: none;
}
.eb-taskbar.eb-register-buttons-bottom.clearfix {
    display: none;
}

h3.eb-tabbed-plugin-header.eb-plugin-map {
    display: none;
}
/* ítens do Phoca Gallery */
.phoca body .btn-success, body .sppb-btn-success {
    color: #fff;
    background-color: #db3531;
    border-color: #db3531;
}
.phoca .pagination.pagination-centered {
    display: none;
}
.phoca .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    text-align: center;
    justify-content: center;
    align-items: center;
}
body .btn-primary, body .sppb-btn-primary {
    background: #db3531;
    color: #FFFFFF;
    border: 1px solid #db3531;
    border-radius: 0;
}
body .btn-success, body .sppb-btn-success {
    color: #fff;
    background-color: #db3531;
    border-color: #db3531;
    border-radius: 0;
}
body .btn-success:hover {
    color: #fff;
    background-color: #db3531;
    border-color: #db3531;
    border-radius: 0;
}
body .btn-primary:hover {
    color: #fff;
    background-color: #db3531;
    border-color: #db3531;
    border-radius: 0;
}

.eb-event-box .eb-event-date-time {
  margin-top: 0px;
  font-weight: 500;
  font-size: 14px;
}

/* freguesias */
.freguesias .article-list .article {
    margin-bottom: 50px;
    padding: 30px;
    border: none;
    background: var(--bg_color);
    text-align: center;
}
.freguesias .article-social-share .social-share-icon ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: none;
}

.associativismo .article-social-share .social-share-icon ul {
    padding: 0;
    list-style: none;
    margin: 0;
    display: none;
}
.associativismo .ublog.ublog-style-1 .article {
    box-shadow: none;
}
.associativismo .article-list .article {
    padding-top: 30px;
    border: none;
    background: var(--bg_color);
    text-align: center;
}

  /* calendario */
  
  .extcal_minical .extcal_navbar {
      background: #ffffff;
  }
  
  .extcal_minical .extcal_month_label a {
      color: #000000;
      font-weight: 700;
        font-size: 16px
  }
  
  .mod_eb_mincalendar_table td {
      border: none;
  }
  
  .mod_eb_mincalendar_td_dayname {
      background: #fff;
      color: #000000;
      font-weight: 700;
      line-height: 15px;
      text-align: center!important;
      
  }

div#eb-minicalendar-container {
  border: 0.5px solid #e2e2e2;
  padding: 15px 0;
}
div#eb-minicalendar-container table tbody tr{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.mod_eb_mincalendar_table tbody td {
    font-weight: 500;
    padding: 10px!important;
    height: 36px!important;
    width: 36px!important;
    display: flex;
    align-items: center;
    justify-content: center;
  	border-radius: 50%;
}
.extcal_minical .extcal_navbar td.extcal_month_label {
    width: 50%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}
  
  /* calendario - eventos */
.mod_eb_minicalendar_link a, .mod_eb_minicalendar_link i, .mod_eb_minicalendar_link i:before, a.mod_eb_minicalendar_link{
  color: var(--black);
}
td.mod_eb_mincalendar_event{
  background: #db3531;
}

/* eventos futuros - eventos */
.ebm-upcoming-events .ebm-event-link,
.ebm-event-categories a{
  color: var(--black);
}
.ebm-upcoming-events .ebm-event-link:hover,
.ebm-upcoming-events .ebm-event-link:active,
.ebm-event-categories a:hover,
.ebm-event-categories a:active{
  color: var(--link_color);
}
.ebm-upcoming-events .ebm-event-link+br+i{
    display: none;
}

/* descricao - eventos */
.eb-description-details .eb-box-heading{
  margin: 30px 0 20px;
    padding: 0;
}
.eb-description-details a{
    color: var(--black);
    font-weight: 600;
}
.eb-description-details a:hover,
.eb-description-details a:active,
.eb-description-details a:focus{
    color: var(--link_color);
}
.eb-description-details .img.eb-thumb-left{
  margin: 0 0 20px;
    float: none;
}


.eb-columns-layout-container .eb-event-wrapper {
    background-color: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 0px 0px 0px #ffffff;
    position: relative;
    overflow: hidden!important;
    margin: 0px 0px 5px 0px;
}

#extcalendar .tablec {
    padding: 3px 11px;
    border-top: 1px solid #fff;
    color: #fff;
    background-color: #db3531;
}
.left_calendar.col-md-7 {
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
  	padding-bottom: 30px;
}
.field-calendar {
    margin-left: 20px;
}

.btn-secondary {
    color: #fff;
    background-color: #db3531;
    border-color: #db3531;
}

#extcalendar .currentmonth, #extcalendar .currentday, #extcalendar .currentweek, #extcalendar .previousday, #extcalendar .previousweek, #extcalendar .nextday, #extcalendar .nextweek {
    background-color: #db3531;
}

#eb-event-page h1.eb-page-heading {
    margin: 0;
    font-size: 20px;
    color: #181921;
}

/* Logo da página de erro 404 */
html.error-page .error-logo {
    display: inline-block;
    margin-bottom: 2rem;
    width: 300px;
}

/* Event Thumb */
.eb-event-item-grid-default-layout .eb-event-thumb-container img {
    height: 252px;
    width: 100%;
    border: none;
    box-shadow: none;
}

/* Botão prosseguir página do calendário */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 2;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #db3531;
    border: 1px solid transparent;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* Hover Botão da Página de Downloads de PDFs */
.btn-success {
    color: #fff;
    background-color: #da1d20;
    border-color: #da1d20;
}

/* Página de Avisos PDF */
#phoca-dl-category-box .pd-subcategory, #phoca-dl-file-box .pd-file {
    margin: 35px;
}
#phoca-dl-categories-box .pd-subcategory, #phoca-dl-category-box .pd-subcategory {
    padding-left: 70px;
    background: transparent url(https://mediotejo.qs.pt/joomla/ourem/images/folder.png) 0 center no-repeat;
}

/* Título do PhocaGallery PDFs */
#phoca-dl-category-box .pd-category h3.pd-ctitle, #phoca-dl-file-box .pd-file h3.pd-ctitle, #phoca-dl-download-box .pd-file h3.pd-ctitle {
    margin: 0;
    padding: 5px;
    background: #ffffff;
    border: 0;
    margin-bottom: 15px;
}

.article-info {
    align-items: center;
}
.ublog.ublog-style-6 .has-media .article-info .category-name a {
    color: #db3531;
}
.ublog.ublog-style-6 .has-media .article-info .category-name {
    background: #db3531;
    color: #db3531;
    padding: 3px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    position: absolute;
    right: 30px;
    top: -87px;
    margin-left: 0;
    display: contents;
}
.pagination__wrapper .pagination {
    margin-bottom: 0 !important;
    justify-content: center;
    padding-top: 80px;
}

.regpro-calendarMonthHeader {
    background-color: #db3531;
}
input[type="text"]:not(.form-control), input[type="email"]:not(.form-control), input[type="url"]:not(.form-control), input[type="date"]:not(.form-control), input[type="password"]:not(.form-control), input[type="search"]:not(.form-control), input[type="tel"]:not(.form-control), input[type="number"]:not(.form-control), select:not(.form-control) {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 2;
    background-color: transparent;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(164, 172, 179, 0.4);
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    color: #db3531;
}
.eb-calendar ul.eb-weekdays li {
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    padding: 10px 6px!important;
    color: #222d38;
    font-size: 13px;
    background-color: #ffffff;
}
.regpro-calendarWeekDayHeader {
    border-left: 1px solid #ccc;
  	border-right: 1px solid #ccc;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}
/* Links Menu Left */
#sp-left .sp-module ul>li>a:active {
    color: #db3531;
}

#sp-left .sp-module ul>li>a a:active{
    color: #db3531;
  	background-color:#db3531;
}
.sppb-addon-accordion .sppb-addon-content .sppb-panel-group .sppb-panel.sppb-panel-faq .sppb-panel-heading .sppb-toggle-direction {
    width: 49px;
    line-height: 50px;
    text-align: center;
    top: 0;
    right: auto;
    left: 0;
    background: #ffffff;
    color: #212129;
    transform: none !important;
    -webkit-transform: none !important;
    transition: all 0.4s ease-in-out;
}
/*Links dos documentos sublinhados */
.atasedemais .sppb-addon-content a {
    padding: 0;
    color: var(--link_color);
    text-decoration: underline!important;
}
.atasedemais .sppb-addon-content a:hover {
    padding: 0;
    color: #db3531;
    text-decoration: underline!important;
}


.noticias .sppb-article-introtext {
  	font-size: 0.9rem;
}
.noticias .sppb-addon-articles .sppb-article-meta>span {
    display: inline-block;
    margin: 5px;
    color: #181921;
    font-size: 13px;
  	padding: 15px 0 15px 0;
}
.noticias span.sppb-meta-category a{
    color: #db3531;
}

.noticias h2 a{
    padding-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 27px;
    height: 67px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Títulos dos Eventos */

/* Title */
.eventos h2.eb-event-title-container {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: px;
    height: 41px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
}

.eb-event-date-time.clearfix {
    font-size: 14px;
    color: #000000;
    font-weight: 500;
  	padding-top:5px;
}
/*
.eventos .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
    border-right: solid 0.5px #CBCBCB;
}


body.ltr .sp-megamenu-parent .sp-dropdown.sp-dropdown-sub {
    left: 100%;
    visibility: hidden;
}

.menuon body.ltr .sp-megamenu-parent .sp-dropdown.sp-dropdown-sub {
    left: 100%;
    visibility: visible;
}
*/

.article-social-share {
    float: right;
  	display: flex;
  	flex-direction: row;
}
.article-social-share:before {
    content:"Partilhar:";
  	padding: 10px 20px 10px 10px;
  	justify-content:center;
  	text-align: center;
  	align-items: center;
}

/* Tamanho da imagem das capas dos artigos */
#sppb-addon-1684937402710 img.sppb-img-responsive {
    height: 160px;
    width: 100%;
    border: none;
    box-shadow: none;
  	object-fit: cover;
}

.article-list .article .article-intro-image img, .article-list .article .article-featured-video img, .article-list .article .article-featured-audio img, .article-list .article .article-feature-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

#sppb-addon-1683211209855 .clearfix img {
    height: 252px;
    width: 100%;
    border: none;
    box-shadow: none;
  	object-fit: contain;
}

img.eb-thumb-left {
    border: 0;
    max-height: 250px;
    object-fit: contain;
}

#sppb-addon-1684937402710 h3 a {
    padding-top: 19px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 25px;
    height: 70px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#sppb-addon-1683211209855 h2 {
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 25px;
    height: 52px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*TABS*/

div.jwts_toggleControlContainer a.jwts_toggleControl {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  	color: #000000;
    display: block;
    border: 1px solid #ccc;
    background: url(images/tab_bg.jpg) repeat-x;
    background-position-y: 40%;
    padding: 8px;
    line-height: normal;
    border-radius: 4px;
    cursor: pointer;
	
}
  
div.jwts_toggleControlContainer a.jwts_toggleOn span.jwts_toggleControlNotice {
    color: #FFFFFF;
    font-size: 8px;
    display: block;
    float: right;
    line-height: 14px;
    vertical-align: bottom;
}

div.jwts_content {
    padding: 4px 8px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 0 0 2px 2px;
    border-top: 0;
}

a.jwts_toggleOff span.jwts_toggleControlTitle {
    line-height: normal;
    background: url(images/arrows.png) no-repeat 0 -1px;
    padding-left: 30px;
}

div.jwts_toggleControlContainer a.jwts_toggleOff span.jwts_toggleControlTitle {
    padding-left: 30px;
}
div.jwts_toggleControlContainer a.jwts_toggleOn span.jwts_toggleControlTitle {
    padding-left: 30px;
}


.sppb-panel-heading {
    padding: 6px 30px 6px 15px;
    cursor: pointer;
    position: relative;
    background: url(images/tab_bg.jpg) repeat-x;
}
#sppb-addon-KiUQSCc22rqUJhUKRvHsB .sppb-panel.sppb-panel-custom {
    background: url(images/tab_bg.jpg) repeat-x;
  	background-color: #E8E8E8;
    border: 1px solid #ccc;
    border-radius: 10px;
	cursor: pointer;
}
.sppb-panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bolder;
    color: #000000;
    padding-left: 20px;
}


/*Links*/
a {
  color: #bd3531; 
  text-decoration: none;
}

a:hover {
  text-decoration: underline; 
  color: #bd3531;
}
 
/*Itens do Menu*/
@media (max-width: 1200px)
.sp-megamenu-parent>li>a, .sp-megamenu-parent>li span {
    padding: 0 6px;
}