/*
Theme Name: 	Instituto Politécnico de Coimbra ISCAC Child
Author: 		  Jorge Pardal 
Template: 		ipc-multisite-theme-1.7.6
Description: 	Custom Child Theme for ISCAC
Version: 		  1.7.6
*/

/**
 * Reparação Menu Superior -> Login para Mobile
 **/
@media (max-width: 767px) {
  
  .module-site-header .top-menu {
    display: inline-block;
  }

  .module-site-header .top-menu .navigation li {
    display: none;
  }

  .module-site-header .top-menu .navigation li:last-child {
    display: inline-block;
  }
}

.term-description-wrap {
  display: block;
}


/********************/
/***  CBS|ISCAC   ***/
/********************/

/* opacidade dos quadros principais  */
.card-item.card-full:hover:after {
opacity: .7;
}
.card-item.card-full:after {
opacity: .4;
}



/* largura total da zona content  */
@media (min-width: 1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 1400px;
}
}





/** MENU ACESSOS RAPIDOS **/
/**
.module-site-header .top-row .ae-dropdown.is-open .ae-select {
color: #da2912;
background: #e6e6e6;
font-size: 12px;
}

.module-site-header .top-row .dropdown-menu a {
font-size: 12px;
}

.module-site-header .top-row .ae-select {
position: relative;
padding: 8px 16px;
height: 36px;
font-size: 12px;
line-height: 19px;
color: #000;
border: 1px solid #888;
cursor: pointer;
-webkit-transition: all 350ms linear;
-o-transition: all 350ms linear;
transition: all 350ms linear;
overflow: hidden;
}

.module-site-header .top-row .ae-dropdown.is-open .ae-select .down-icon {
border-color: #000000;
}

.module-site-header.site-header--no-image .top-row .dropdown-menu {
top: 0;
border: 1px solid #888;
}

// posicao inicial do menu dropdown
.module-site-header .top-row .ae-dropdown.is-open .dropdown-menu {
top: 35px;
opacity: 1;
pointer-events: auto;
}


.module-site-header .dropdown-menu a:hover {
text-decoration: none;
color: #fff;
background: #da291c;
}

**/


/** LINKS NAVEGACAO (subtitulo)  **/
.module-page--header .page-title .breadcrumbs {
display: inline-block;
width: 100%;
font-size: 14px;
// font-family: OpenSansRegular;
// font-family: NotoSans;
 // font-size: 20px;
 // font-weight: 400;
//color: #db3021;
text-align: left;
}

.module-page--header .page-title .breadcrumbs a{
color: #000;
}

@media (max-width: 767px) {
.module-page--header .page-title .breadcrumbs {
display: inline-block;
width: 100%;
font-size: 12px;
line-height: 14px;
 font-family: OpenSansRegular;
 font-family: NotoSans;
 // font-size: 20px;
 // font-weight: 400;
//color: #db3021;
text-align: left;
}
}





/**  MENU JSFULLMENU  **/
/***********************/

/*  posicao do menu  */
.module-site-header .sub-menu {
position: absolute;
top: 115px;
left: calc((200vw - (100% - 15px*2)) / 2);
width: 220px;
background: #fff;
border: 1px solid #ddd;
}

.module-site-header .sub-menu a {
float: left;
display: block;
width: 100%;
padding: 12px 10px 7px 25px;
font-size: 14px;
  //font-family: OpenSansRegular;
 // font-size: 16px;
color: #231f20;
text-align: left;
cursor: pointer;
}

/*  primeira linha  */
.module-site-header .sub-menu li:first-child {
font-size: 16px;
font-weight: 400;
color: #231f20;
background-color: #fff;
}

/*  hover sobre o menu principal  */
.module-site-header .sub-menu a:hover, a:focus {
color: #000;
background-color: #e8e8e8;
text-decoration: none;
}


/* submenu */
.module-site-header .sub-menu li li a {
padding: 7px 10px 7px 36px;
}


/*  cor menu selecionado */
.module-site-header .sub-menu a.is-active {
color: #fff;
background-color: #727070;
}

/*  linha dos menus  */
.module-site-header .sub-menu li {
border-bottom: 1px solid #d5d5d5;
}

/* distancia do menu hamb + lupa da dta   na primeira pagina*/
.module-site-header.site-header--no-image .top-row .inner {
    max-width: calc(100% - 30px* 1);
}

/* distancia do slogan na primeira pagina*/
.module-site-header .top-row .title-sm {
margin-left: calc(40% + 8px - 50px);
}






/**  LINHA BRANCA TOPO (2a linha)  **/
/***********************************/

/*  slogan   */
/*
.module-site-header .top-row .title-sm {
display: inline-block;
margin: 15px 0;
width: auto;
color: #232323!important;
margin-left: calc(25% + 82px - 50px);
font-size: 14px;
}


.module-site-header.site-header--image-bg .top-row {
border-bottom: 1px solid #888;
//background: #000;
//background: #212529;
background: #fff;
}
*/
/*  posicao logo + acessos ...  */

.module-site-header.site-header--image-bg .top-row .inner {
//margin: 0px 0px 0px 0px;
width: 100%;
max-width: calc(100% - 0px*1);
//max-width: calc(100% - 30px*1);
}


/*  posicao logo + acessos ... em paginas sem a imagem bg   */
/*
.module-site-header.site-header--no-image .top-row .inner {
margin: 0 auto;
width: 100%;
//max-width: calc(100% - 95px*2);
max-width: calc(100% - 30px*1);
}
*/





.module-site-header.site-header--image-bg .icon-burger {
background: url(https://www.iscac.pt/wp-content/themes/ipc-multisite-theme-1.7.6/dist/images/icons/icon-burger-white.svg);
}

.module-site-header.site-header--image-bg .icon-search {
background: url(https://www.iscac.pt/wp-content/themes/ipc-multisite-theme-1.7.6/dist/images/icons/icon-search-white.svg);
}

.module-site-header.site-header--image-bg .top-row .ae-select {
color: #000;
}

.module-site-header.site-header--image-bg .top-row .ae-select .down-icon {
border-color: #000 transparent transparent;
}

/*
.module-site-header .top-row .site-options .icon.icon-burger {
margin-top: 8px;
}

.module-site-header .top-row .site-options .icon.icon-search {
margin-top: 7px;
}

*/

/***********************************/



/*  posicao titulo das paginas e links navegacao  */
/* z-index para "send-to-front"  */
.module-page--header .page-title {
position: static;
//margin-left: 100px;
margin-left: 5%;
top: calc(50% + 0px);
left: calc((100vw - 514px)/2);
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
//transform: translateY(-50%);
z-index: -1;
margin-top: 60px;
}

.module-page--header .page-title .title-lg {
// adicionei 22.03.2024
//display: inline-block;
margin-bottom: 16px;
width: 100%;
max-width: 90%;
font-weight: 700;
font-size: 34px;
line-height: 38px;
color: #dcdcdc;
text-align: left;
} 



@media (max-width: 767px){
.module-page--header .page-title .title-lg {
margin-top: 22px;
font-size: 24px;
line-height: 26px;
}
}

/*  titulo das paginas  */
@media (max-width: 767px){
.module-page--header .page-title {
top: auto;
bottom: 20px;
left: 32px;
margin-left:30px;
-webkit-transform: none;
-ms-transform: none;
transform: none;
display: -webkit-box;
display: -ms-flexbox;
display: inline-block;
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
margin-top: 0px;
}
}














/*  margin do logo */
.module-site-header .top-row .main-logo {
display: inline-block;
margin-top: 0px;
}


.module-site-header.site-header--image-bg .top-row .main-logo.small {
display: inline-block;
background-image: url("https://www.iscac.pt/wp-content/uploads/2026/10/Logo_CBS_ISCAC_interior-scaled.png");
width: 300px;
height: 60px;
background-size: contain;
background-repeat: no-repeat;
margin: 8px;
}


@media screen and (max-width:769px){
.module-site-header.site-header--image-bg .top-row .main-logo.small {
display: inline-block;
background-image: url("https://www.iscac.pt/wp-content/uploads/2023/11/logo_arco_vermelho.svg");
width: 300px;
height: 70px;
background-size: contain;
background-repeat: no-repeat;
}
}









/*  img bg  */
.module-page--header .image-bg {
position: absolute;
top: -134px;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 280px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
//z-index: revert-layer;
}





/**  IMAGEM BG PAGINAS INTERIORES  **/
.module-page--header {
position: relative;
margin-top: -15px;
margin-bottom: 0px;
}











/**  IMAGENS LINKS  **/
/*********************/
/*  Imagens Links de paginas  */
.card-item.card-simple .image img {
//:border-radius: 7px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
}

/* Altura das imagens */
.card-item.card-simple .image {
height: 100px;
}

/* altura do CARD */
.module-card-list .card-item {
height: 220px;
}


/* area imagens anteriors */
.module-card-list .inner {
margin-right: 15px;
margin-left: 15px;
max-width: 900px;
width: calc(100% + 30px);
}

/* numero de imagens e sombras*/
.card-item.card-simple {
display: inline-block;
float: left;
//margin-left: 30px;
//width: calc(25% - 30px);
box-shadow: 5px 10px 8px #eeeeee;
margin-bottom: 40px;
border-radius: 7px;
}

/*  fonte da card  */
.card-item.card-simple .text-editor p {
font-family: Inter,sans-serif;
//font-family: OpenSansRegular;
//font-size: 15px;
color: #000;
text-align: left;
font-weight:400;
/* afastar o texto da imagem em mobile */
padding-left: 8px;
padding-right: 8px;
  text-overflow: ellipsis;
  //white-space: nowrap;
  overflow: hidden;
  //display: inline-block;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
white-space: pre-wrap;
//  white-space: nowrap;
}












/* afastar o texto da imagem em mobile */
.card-item.card-simple .text-editor {
padding-left: 8px;
padding-right: 8px;
}


/*  altura */
.card-item-noticias {
height: 250px;
}


/*  CARD 767  */
@media (max-width: 767px){

.module-card-list .card-item {
height: 180px;
width: 90%;
}

/* Altura das imagens */
.card-item.card-simple .image {
height: 180px;
}

}






.module-site-header .top-row .title-sm-main {
display: inline-block;
margin-left: 6px;
width: auto;
margin-bottom: 0;
//font-family: Dosis;
//font-weight: 700;
font-size: 16px;
color: #fefefe!important;
text-align: left;
vertical-align: middle;
line-height: 1;
white-space: pre-line;
  background-image: url("https://www.iscac.pt/wp-content/uploads/2023/11/Logo4_Fundo_Negro.svg");
  background-color: #cccccc;
   background-repeat: no-repeat;
}

/*  area do conteudo cinza */
.module-article .inner {
//margin-left: 100px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
width: 100%;
max-width: 714px;
max-width: 900px;
}


.module-page--header.site-header--image-bg {
margin-bottom: 25px;
height: 150px;
}

/*  FAQs - tamanho titulo subgrupo  */
.first-layer, .second-layer, .third-layer {
position: relative;
padding: 20px 0;
width: 100%;
font-weight: 600;
font-size: 60px;
color: #000;
text-align: left;
cursor: pointer;
}












/*  FOOTER  */
/************/

/* tamanho dos links  */
.module-site-footer .big-footer nav>ul li a {
padding: 4px 0;
font-size: 13px;
   color: #fff;
//color: #b4b4b4;
text-decoration: none;
//text-decoration: underline;
}

/* hover links  */
.module-site-footer .big-footer nav>ul a:hover {
//color: #db3021;
   color: #fff;
//color: #23527c;
   text-decoration: underline;
}

/*   FOOTER - links uteis sem underline   */
.linksuteis a:link {
   text-decoration: underline;
}

.linksuteis a:hover {
   color: #b4b4b4;
   text-decoration: underline;
}






/*  morada IPC  */
.module-site-footer .big-footer nav>ul li {
font-size: 13px;
color: #b4b4b4;
text-align: left;
cursor: pointer;
max-width: 100%;
cursor: default;
}

/*  margens dos 4 blocos  */
.module-site-footer .big-footer nav>ul {
position: relative;
margin: 50px 10px 50px 0px;
width: calc(25% - 10px);
min-width: 150px;
-webkit-transition: all 200ms linear;
-o-transition: all 200ms linear;
transition: all 200ms linear;
}

/* NAV */
.module-site-footer .big-footer .sub-footer .legal {
margin-top: 6px;
padding: 6px 10px;
font-size: 12px;
color: #fefefe;
letter-spacing: 0.8px;
}

/* margens width no footer */
.module-site-footer .big-footer .container {
margin: 0 auto;
width: 100%;
//max-width: calc(100% - 65px*2);
max-width: calc(100% - 65px*0);
}


.module-site-footer .big-footer {
float: left;
display: inline-block;
padding: 0px 0 0;
width: 100%;
background: #282828;
}









/*  LOGO MASTER  */

.module-site-header .top-row .main-logo.big a {
position: absolute;
margin-top: 0;
width: 25%;
height: calc(100vw/4*3/4 + 74px);
background: #eeeeee;
background-image: url('http://iscac.ipc.intranet.ipc.pt/wp-content/uploads/2023/11/Logo_main_transparente.png');
background-size: contain;
resize: both;
overflow: scroll;
}

/**** FONTS  */

@font-face {
font-family: NotoSans;
src: url(fonts/Noto_Sans/NotoSans-Regular.ttf);
font-weight:400;
}


@font-face {
font-family: NunitoSans;
src: url(fonts/Nunito_Sans/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf);
font-weight:400;
}


@font-face {
font-family: Quicksand;
src: url(fonts/Quicksand/Quicksand-VariableFont_wght.ttf);
font-weight:400;
}

@font-face {
font-family: Rajdhani;
src: url(fonts/Rajdhani/Rajdhani-Regular.ttf);
font-weight:400;
}

@font-face {
font-family: Fontawesome;
src: url(fonts/Fontawesome/fontawesome-webfont.ttf);
font-weight:400;
}

@font-face {
font-family: OpenSansRegular;
src: url(fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf);
font-weight:400;
}

@font-face {
font-family: Dosis;
src: url(fonts/Dosis/Dosis-VariableFont_wght.ttf);
font-weight:400;
}

@font-face {
font-family: Roboto-Regular;
src: url(fonts/Roboto/Roboto-Regular.ttf);
font-weight:400;
}


@font-face {
font-family: Assistant;
src: url(fonts/Assistant/Assistant-VariableFont_wght.ttf);
font-weight:400;
}

body * {
font_family: NotoSans;
//font_family: Quicksand,sans-serif;
//font-family: Rajdhani;
//font-family: Fontawesome;
//font-family: OpenSansRegular;
//font-family: Dosis;
//font-family: Roboto-Regular;
//font-family: Assistant;
font-size:14px;
font-weight:400;
}

b strong{
font-weight:600;
}



/********* CARROUSSEL DESTAQUES  ******/
.module-carousel .carousel .slick-track {
padding-left: 10px;
//background-color: yellowgreen;
transform: translate3d(0px, 0px, 0px);
width: 900px;

}

module-carousel .title-row .view-all-link {
font-size: 13px;
color: #000;
text-decoration: none;
}

/* linha titulo destaques */
.module-carousel .title-row {
margin-bottom: 10px;
border-bottom: rgb(201, 201, 201);
border-bottom-style: solid;
border-bottom-width: 0.8px;
}

.module-carousel .title-row .view-all-link {
margin-left: 20px;
font-size: 13px;
color: #000;
text-align: left;
text-decoration: none;
}

/* titulo NOTICIAS EVENTOS */
.module-carousel .title-row .title-md {
width: 215px;
font-weight: 400;
color: #000;
//font-family: OpenSansRegular;
//font-size: 30px;
}


/* margem da seccao Texto  */
.module-article .content .text-editor{
margin-top: 0px;
margin-bottom: 10px;
}


/*  font no content */
.module-article .content .text-editor p {
margin-top: 0;
font-size: 14px;
line-height: 24px;
//letter-spacing: 0.5px;
text-align: justify;
}



/*  CONTENT :: ZONA CINZA   */
.module-article--header {
//margin-top: -80px;
//padding-top: 30px;
margin-top: 20px;
padding-top: 0px;
margin-bottom: 0px;
font-weight:400;
}

.module-article--header .inner {
padding: 50px 0 0px;
}





/*** CARROUSSEL  retira lef padding  */
.module-carousel .carousel .slick-track {
padding-left: 0px;
}


/*  NOTICIAS / EVENTOS  */

.card-item.card-simple .label-sm {
font-family: Inter,sans-serif;
font-size: 13px;
color: #000;
text-align: left;
padding: 5px;
}





/* data dos cards do carroussel NOTICIAS  EVENTOS  */

.card-item.card-simple .label-sm_iscac {
font-family: Inter,sans-serif;
font-size: 13px;
//color: #da291c;
color: #404040;
text-align: left;
padding: 5px;
text-decoration: none;
height: 220px;
}

/* Retirar o underline da data*/
.card-item.card-simple {
text-decoration: none;
}

.card-item.card-simple .text-editor_iscac p {
//font-family: OpenSansRegular;
//font-size: 13px;
//width:100px;
color: #404040;
text-align: left;
font-weight: 400;
/* afastar o texto da imagem em mobile */
padding-left: 8px;
padding-right: 8px;
  text-overflow: ellipsis;
  //white-space: nowrap;
  overflow: hidden; 
  //display: inline-block;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
white-space: pre-wrap;
//  white-space: nowrap;
}



.ellipse p{
          white-space: nowrap;
          display:inline-block;
          overflow: hidden;
          text-overflow: ellipsis;
       }
      .two-lines p{
          -webkit-line-clamp: 2;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          white-space: normal;
      }
      .width p{
          width:100px;
          border:1px solid hotpink;
      }




/***   ESCONDE O JS MENU na posicao 1024px.... ****/
@media screen and (max-width:1024px){
.sub-menu.js-subMenu{
idisplay:none!important;
}
}

/***   ESCONDE O JS MENU na posicao 1024px.... ****/
@media screen and (max-width:1224px){
.conteudo_left{
idisplay:none!important;
}


.conteudo_right{
width:100%;
float:none;
background-color: #db3021;
}

.module-site-header .top-menu {
display: none;
}

#mega-menu-wrap-topbar #mega-menu-topbar{
	display: none;
}



}









/*** TOP BAR  Fica com menus */ 
/*  subtitui a top-bar  */
/*  ver header  */
.topbar {
display: inline-block;
width: 100%;
height: 30px;
background: #000;
text-align: right;
padding-right: 40px;
padding-top: 7px;
color: #fff;
font-size: 12px;
}

.topbar a{
display: none!important;
}

/*** TOP BAR  Fica com menus */ 


/*  linha bottom na barra topo   */
.module-site-header.site-header--image-bg .top-row {
border-bottom: 1px solid #767676;
}

.module-site-header .top-menu {
/* display: inline-block; */
width: 100%;
height: 74px;
/*background: #505050;
background: #333;
*/

 background-image: url("http://www.iscac.pt/wp-content/uploads/2023/11/Logo_topo_paginas_interiores.png.gif");
 background-repeat: repeat;


background-color: transparent;
//border-bottom-style: solid;
border-bottom-color: #747474;
border-bottom-width: 0.3px;
/* vertical align */ 
    display: flex;             /* establish flex container */
    align-items: center;       /* center ul container vertically */
    justify-content: center;   /* center ul container horizontally (optional) */
}







/*  menu MegaMenu  */
#mega-menu-wrap-topbar {
//background: #505050;
background: none;
//top: 9px;
}

/*  alinhamento da navbar dos menus principais */
#mega-menu-wrap-topbar #mega-menu-topbar {
text-align: right;
}


/*
.article-content {
padding-bottom: 46px;
min-height: 30vh;
width: 60%;
background-color: antiquewhite;
}
*/


/* menu top-bar transparente  */
.module-site-header .top-menu {
//background: none;
}


/* megamenu: nao quebra antes de 767px  */
.module-site-header .inner {
max-width: calc(100% - 60px*2);
}


/* posicao do humburgeru menu topbar */
@media only screen and (max-width: 767px){
#mega-menu-wrap-topbar {
margin-top: -15px;
position: absolute;
}
}




/*  MegaMenu  -  botao current */
#mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
//background: #8f0b0b;
background: #da291c;
//background: #333;
//background: #505050;
}

/*  MegaMenu  -  botao hover com filhos */
#mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item.mega-toggle-on > a.mega-menu-link{
border-radius: 5px;
//background: #505050;
}
/*  MegaMenu  -  botao hover sem filhos */
#mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item > a.mega-menu-link{
border-radius: 5px;
}


#mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-topbar #mega-menu-topbar > li.mega-menu-item > a.mega-menu-link:focus {
border-radius: 5px;
background: #505050;
}

/*
//.module-article .inner {
//margin-left: 40px;
//}
*/

.article-content {
float: left;
display: grid;

//padding-top: 30px;
padding-bottom: 46px;
//padding-left: 10px;
min-height: 30vh;
}

.conteudo_left .sub-menu ul > li a {
    direction: rtl;
    list-style: circle;
    padding-right: 10px;
    text-decoration: none;
    color:#404040;
}

.conteudo_left .sub-menu ul > li a:hover {
    //color:#db3021;
    //color:#337ab7;
    color: #0d6efd;
    text-decoration: underline;
}



.conteudo_left ul li::marker , ol li::marker {
direction: ltfrtl;
list-style: circle;
padding-right: 10px;
}

/* margin 0 do carrousel das paginas interiores  */
.module-card-list {
margin-top: 0px;
}

.conteudo_left {
//max-width:25%;
//float:left;

background-color:rgb(250, 250, 250);
// text-align: right;
padding-left:0px;
padding-right:20px;
padding-top:10px;
padding-bottom:20px;

line-height: 25px;
border-right-width: 0.5px;
border-right-color:#e8e8e8;
border-right-style: none;
box-shadow: 5px 5px 8px #aaa;
margin-top: 0px;
margin-bottom: 20px;
}


.conteudo_right {
//width:75%;
float:left;
padding-top:30px;
padding-left:20px;
border-left-width: 0.5px;
border-left-color: #e8e8e8;
border-left-style: none;
}



/*  com flex enconlhe os cards  */
.module-card-list .container {
//display: inline;
}

/*  primeira linha  do sub-menu esquerda */
.sub-menu li:first-child {
list-style: disclosure-open;
font-size: 16px;
font-weight: 400;
//background-color:#db3021;
margin-left: 15px;
border-bottom-style: solid;
border-bottom-color: #db3021;
border-bottom-width: 0.5px;
}

/*  primeiro nivel do sub-menu esquerda */
.sub-menu li {
direction: ltr;
margin-left: 35px;
list-style: disc;
}

/*  segundo nivel do sub-menu esquerda */
.sub-menu li li {
margin-left: 20px;
list-style: circle;
}


.module-article .container{
//justify-content: left;
}

/* margin left content */
.module-article .inner {
margin-left: 0px;
}

/* margin top content */
.module-article--header .inner{
padding-top: 45px;
padding-top: 15px;
}


.hr_docentes{
margin-top: 2px;
margin-bottom: 2px;
border: 0;
border-top: 1px solid #b3b3b3;
}


h2{
font-size: 28px;
font-weight: 600;
}

h3{
font-size: 22px;
font-weight: 600;
}


/*  LINK GERAL  */
a:hover, a:focus {
//color: #337ab7;
color: #0d6efd;
text-decoration-line: underline;
}

a:link {
color: #337ab7;
text-decoration: none;
}



/*  LINK GERAL  DENTRO DOS CONTENTS */
.text-editor a:link {
color: #337ab7;
text-decoration: none;
}

.text-editor a:hover {
//color: #337ab7;
color: #0d6efd;
text-decoration-line: underline;
}

.text-editor a:visited {
color: #337ab7;
text-decoration: none;
}



.iscac_nav_btn{
color: #fff;
background-color: #6c757d;
border-color: #6c757d;
margin: 2px;
font-size: inherit;

background-color: #6c757d;
border-color: #6c757d;

cursor: pointer;

display: inline-block;
font-weight: 400;
line-height: 1.5;
text-align: center;
text-decoration: none;
vertical-align: middle;
-webkit-user-select: none;
border: 1px solid transparent;
padding: .375rem 2rem;
border-radius: .4rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/*  BOOTSTRAP - botao dropdown dos acessos rapidos  */
.module-site-header .top-row .dropdown-menu {
    position: absolute;
    font-size: 20px;
    top: 0;
    opacity: 1;
    background: #e2e2e2;
    z-index: 1;
    // z-index: -1;  -- a primeira linha do menu nao respondia ao on hover
    -webkit-transition: all 250ms linear;
    -o-transition: all 250ms linear;
    transition: all 250ms linear;
    pointer-events: auto;
}

/*  BOOTSTAP - links dos acessos rapidos  */
.module-site-header .top-row .dropdown-menu a {
    font-size: 12px;
//    background: #e2e2e2;
   padding: 6px 6px;
}

.module-site-header .top-row .dropdown-menu a:hover {
    font-size: 12px;
    background: #6c757d;
   padding: 6px 6px;
}







.btn_acessos {
   color: #fff;
   width: 180px !important;
   border: #fff;
   //border: #000000;
   border-radius: 0.2px;
   border-color: #ffffff;
   height: 35px;
margin-right:30px;
}

.btn_acessos_rapidos {
color: #fff;
width: 160px !important;
border-radius: 4px;
border-color: #ffffff;
height: 36px;
padding: 6px;
border-style: solid;
border-width: 0.5px;
cursor: pointer;
text-align: center;
}

.btn_acessos_rapidos_black {
color: #000;
width: 160px !important;
border-radius: 4px;
border-color: #000;
height: 36px;
padding: 6px;
border-style: solid;
border-width: 0.5px;
cursor: pointer;
text-align: center;
}



.btn_acessos2 {
padding: 0 20px;
height: 48px;
line-height: 48px;
font-weight: 600;
font-size: 14px;
color: #d40000;
text-align: center;
background: #ffffff;
border-color: #6c757d;
border-radius: 0px;
}




/* =========================*/

/*  BOOTSTAP - links dos acessos rapidos  */

#btn-entrar {
width: 70px;
height: 36px;
border-radius: 5px;
border: 1px solid #6c757d;
float: right;
background-color: #fff;
text-align: center;
font-style: normal;
font-weight: normal;
//font-size: 12px;
color: #6c757d;
margin-top: 0px;
margin-right: 0px;
margin-left: 20px;
line-height: 230%;
//position:relative;
}

#btn-entrar:hover {
background-color: #da291c;
border: 1px solid #da291c;
color: #fff;
}


/*  ====================================== */ 
/* acessos rap + search + hamburg  */
.module-site-header .top-row .site-options {
    float: right;
    margin-top: 19px;
    margin-bottom: 19px;
    margin-right: 10px;
    height: 36px;
}

/* rapidos search menu  li */
.module-site-header .top-row .site-options li {
display: inline-block;
float: left;
margin-left: 0px;
margin-right: 10px;
height: 36px;
}

/* rapidos li */
.site-options-margin {
margin-left: 0px;
margin-right: 0px;
}

/* para anular o pre-definido */
.module-site-header .top-row .site-options li:last-child {
margin-left: 0px;
}

/* para anular o pre-definido */
@media (max-width: 767px){
.module-site-header .top-row .site-options {
margin-top: 19px;
margin-bottom: 19px;
width: auto; 
margin-right: 10px;
height: 36px;
}
}
/*  ====================================== */ 




/*  ========================*/


.module-site-header .top-row .site-options li.search-li {
//float: right;
}

.module-site-header .top-row .site-options li.menu-li {
//float: right;
}

.module-site-header.site-header--no-image .top-row {
    height: 74px;
}

.module-site-header.site-header--image-bg .top-row {
    height: 74px;
}

.module {
float: none;
}

.module-page--header.site-header--image-bg {
margin-top: -20px; 
}


}




/* =========================*/





/*    =====    PESQUISA    ======   */
/* botao Pesquisar */
.module-search .btn-full {
padding: 0 20px;
height: 48px;
line-height: 48px;
font-weight: 600;
font-size: 14px;
color: #fff;
text-align: center;
background: #6c757d;
border-color: #6c757d;
border-radius: 0px;
}

.module-search .btn-border.is-active {
color: #fff;
background: #6c757d;
}

.module-search .btn:hover {
border-color: #6c757d; 
}

/*  botao search  */
.module-search .btn-full:hover {
border-color: #6c757d; 
background: #da291c;
color: #fff;
}

/*  numeracao da paginacao  */
.helper-pagination a {
padding: 10px;
font-family: Inter,sans-serif;
font-weight: 300;
font-size: 14px;
color: #0d6efd;
text-align: center;
}

/*  numeracao das paginas visitadas  */
.helper-pagination a:visited {
padding: 10px;
font-family: Inter,sans-serif;
font-weight: 300;
font-size: 14px;
color: #0d6efd;
text-align: center;
}

/*  numero da pagina actual  */
.helper-pagination .current {
padding: 10px;
font-family: Inter,sans-serif;
font-weight: 700;
font-size: 16px;
//color: #000;
text-align: center;
}
/*    =====    FIM PESQUISA    ======   */





/*    =====    CARDS   FOOTER    ======   */
/*  CARD FOOTER  */
/* vi ../ipc-multisite-theme-1.7.6/templates/footer/core-pages.php   */

/*  big cards do footer  */
.module-site-footer .big-cards_f {
display: inline-block;
float: left;
width: 100%;
//padding: 10x 10px 10px 10px;
}

/*  redimensionar para 5 quandrados  */
.module-site-footer .card-item_f {
height: calc(100vw / 5* 4 / 5);
//    min-height: 200px;
line-height: 40px;
}

.card-item_f.card-full_f {
position: relative;
display: inline-block;
float: left;
width: 20%;
//height: 95px;
background: #fff;
overflow: hidden;
}

.card-item_f.card-full_f .ctx {
position: absolute;
top: calc(50% - 20px);
left: 10%;
width: 90%;
z-index: 2;
}


.card-item_f.card-full_f:hover img {
-webkit-transform: scale(1.08) rotate(1deg);
-ms-transform: scale(1.08) rotate(1deg);
transform: scale(1.08) rotate(1deg);
}





.card-item_f {
    position: relative;
    display: inline-block;
    float: left;
    width: 20%;
    height: 95px;
    //background: #282828;
    background: #fff;
    overflow: hidden;
}
.card-item_f .title-sm_f {
//display: inline-block;
margin-bottom: 15px;
width: 100%;
font-family: Inter,sans-serif;
font-weight: 600;
font-size: 1.3vw;
color: #fefefe;
text-align: left;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

.img_f {
position: absolute;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
z-index: 0;
-webkit-transition: all 350ms linear;
-o-transition: all 350ms linear;
transition: all 350ms linear;
//margin-top: 9px;
//margin-left: 10px;

//border-top-left-radius: 10px;
//border-top-right-radius: 10px;
//border-bottom-left-radius: 10px;
//border-bottom-right-radius: 10px;
}

.card-item_f.card-full_f:hover:after {
opacity: .6;
}

.card-item_f.card-full_f:after {
content: '';
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
background: black;
opacity: .4;
z-index: 1;
-webkit-transition: all 350ms linear;
-o-transition: all 350ms linear;
transition: all 350ms linear;
///border-radius: 10px 10px 10px 10px;
///width: 92%;
}





@media (max-width: 767px){
.module-site-footer .card-item_f {
height: calc(100vw/2*4/5);
min-height: 150px;
}

.card-item_f.card-full_f {
width: 50%;
//height: 166px;
}

.module-site-footer .card-item_f .title-sm_f {
font-size: 16px;
font-weight: 500;
}

}





@media only screen and (max-width: 768px){
#mega-menu-wrap-topbar .mega-menu-toggle {
margin-left: -45px;
background-color: #da291c;
display: inline-flex;
}
}




/* cor que sobrepoe o gradient da imagem banner  */
/*
.module-page--header .image-bg:after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,.55);
z-index: -1;
}
*/



.main-logo-small:focus{
background-color: transparent !important;
}


@media only screen and (max-width: 767px){
.module-site-header.site-header--no-image .top-row {
  height: 148px;
}

.module-site-header.site-header .top-row {
height: 148px;
}
}


/*  pagina front */
/*****************/
@media (max-width: 767px){
.module-carousel .carousel-item .image, .module-carousel.carousel-items-2 .carousel-item .image {
height: 90px;
//height: 160px;
}

.module-carousel .carousel-item, .module-carousel.carousel-items-2 .carousel-item {
margin-bottom: 20px;
//height: 160px;
height: 90px;
}

.card-item.card-simple .image img {
border-bottom-left-radius: 7px;
border-top-right-radius: 0px;
}
}

.module-site-header.site-header--no-image {
margin-bottom: 40px;
}

.module-carousel {
margin-bottom: 10px;
}

/*****************/


.module-site-header .top-row .main-logo.big.logo-big-iscac {
position: absolute;
margin-top: 0;
width: 33%;
height: calc(100vw/3*2/3 + 74px);
background-image: url('https://bs.iscac.pt/wp-content/uploads/2025/07/logo-cbse-2.png');
background-size: cover;
resize: both;
background-repeat: no-repeat;
background-position: center;
border-width: 60px;
border-width: 0px;
border-color: #0734b8;
border-style: solid;
background-color: #0734b8;
}

@media (max-width: 767px){
.module-site-header .top-row .main-logo.big.logo-big-iscac {
display: none;
}
}

@media (max-width: 767px){
.logo-big-iscac-sm {
display: inline-block;
background-image: url("https://www.iscac.pt/wp-content/uploads/2023/11/Logo_topo_paginas_interiores.png");
width: 300px;
height: 56px;
background-size: contain;
background-repeat: no-repeat;
margin: 8px;
}
}



/*****   SITEMAP   *****/
/*  sitemap is open  */
.module-full-menu.is-open {
top: 0px;
}

/*  sitemap botao close  */
.module-full-menu .btn-close {
top: 25px;
}

.module-article {
    margin-bottom: 5px;
}


.module-site-header .card-item:first-child {
margin-left: 33%;
}


.card-item.card-full.card-big {
    height: calc(100vw /3*2/3);
}

.card-item.card-full {
width: 33%;
}
