/*
Theme Name: CM Gouveia
Theme URI:
Description: Theme By Celeuma.
Author: Jorge Oliveira @celeuma
Author URI: https://celeuma.pt
Version: 0.1
Tags: celeuma
*/

/* CSS clear */
html{margin: 0;padding: 0;height:100%;}
body{background-color: #fff;margin: 0;height:100%;font-variant-ligatures: no-common-ligatures;font-size: 14px;}
body, input, textarea{color: #222; font-family: 'Work Sans', sans-serif; line-height: 1.5; }
h1, h2, h3, h4, h5, h6{font-weight: normal;clear: both;}
hr{background-color: #999;border: 0;height: 1px;margin-bottom: 1.5em;}

p{margin: 4px 0 12px 0;}
a{color: #00b1e9;text-decoration: none;}
a:hover{color: #193C6C;}
.clear{clear:both}
.b{font-weight: 700;}


/* CSS top */

h1{font-size: 20px;}
h2{font-size: 38px;margin-top: 25px;font-weight: 700;margin-bottom: 5px;color:#0083CB;line-height: 40px;}
.wrapper{min-height:100%;position:relative;min-width: 350px;}
#documentcontent{
    padding-bottom:40px;  /* CSS FOOTER height */
}
.pwidth{max-width:1260px;margin: 0 auto;padding:0 25px;position: relative;}


/* CSS HEDER e MENU */
#header{width: 100%;position: fixed;z-index: 999;background: rgba(255,255,255,1);height: 80px; box-shadow:1px 1px 17px rgba(0,0,0,0.2);}
.headercontent{position: relative;margin: 0 auto;}
#header .logo{float:left;padding: 0px 10px 0px 0px;width:150px;}
#header .logo img{margin-top: 7px;width: 100%;}
.menubar{height: 60px;position: relative;z-index: 999;}
#menu{float: right;font-size: 12px;padding: 0px;margin: 0px;list-style: none;padding-top:25px;}
.menu-toggle{z-index:99;border:0px;position: relative;float: left;padding: 7px 10px 4px 10px;background-color: transparent;background-image: none;cursor: pointer;margin: 31px 0px 8px 0px;display: none;}
.sr-only {position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);border: 0;}
.menu-toggle .icon-bar {display: block;width: 22px;height: 2px;border-radius: 1px;background-color:#444;margin-bottom: 4px;}
.menuiten{float:left;position: relative;font-style: normal;}
.menuiten a{color:#000;display: block;padding: 18px 30px;text-transform: uppercase;font-weight: 700;color:#636363}
#menu .menuiten:hover{background-image: url(images/menu.png);background-position: center bottom;background-repeat: no-repeat;}
#menu .menuiten:hover a{color:#000;}
#header .active{background: #FFF;}
#header .active a{color:#000 !important;}
#header .active a:hover{color:#000;}
.mobile{display:none;background-color: rgba(255,255,255,1);padding: 10px 25px;top: 80px;right: 0px;position: absolute;width: 100%;    z-index: 5;max-height: calc(100vh - 20px);overflow-y: auto;}
.mobile .menuiten{float: none;height: auto;text-align: center;}
.mobile .submenu{position: relative;width:auto}

.submenu{list-style: none;position: absolute;background: #fff;padding: 5px 0px;font-size: 12px;display: none;width: 180px;}
.menuchild{float:right;color:#fff;font-size: 8px;padding: 10px 5px;cursor: pointer;}
#menu .menuiten .submenu{background: #0083CB}
#menu .menuiten .submenu a{color:#fff;padding: 4px 18px;float: left;width: 115px;font-size: 11px;}
#header .mobile .menuiten .submenu a{float:none;width:auto;}
.mobile .menuchild{position: absolute;top:4px;right:5px;}
.submenutitle{clear: both;position: relative;text-transform: uppercase;letter-spacing: 1px;font-weight: 400}
.submenutitle a{font-weight: 400}
#menu .menuiten .submenu .submenutitle:hover{color:#000;font-weight: 700;color:#193C6C;}
#menu .menuiten .submenu .submenutitle:hover a{}
#menu .menuiten .submenu:hover .menuchild{color:#193C6C;}
#menu .menuiten .submenu .lvl3menu{display:none;}
#menu .menuiten .submenu .lvl3menu ul{list-style: none;font-size: 10px;padding:0;margin: 0;}
#menu .menuiten .submenu .lvl3menu ul a{width:auto;float:none;background-color: rgba(255,255,255,0.5);font-size: 10px;text-transform: none;font-weight: 400}
#menu .menuiten .submenu .lvl3menu ul a:hover{padding-left: 25px}
.form_error{background-color: #ffcccc;}
.left{float: left;}
.right{float: right;}
#footer{width:100%;padding:5px 0px;font-size: 12px;color:#fff;font-style: normal;background: #0083CB;}
.bfooter{background: rgba(255,255,255,0.8);padding: 30px 0px;}
.colfooter{width: 26%;float: left;padding: 0 3%;color:#000}
.colfooter span{display: inline-block;width:20px;text-align: center;font-size: 14px}
.footersep{height: 200px;width: 2px;float: left;background: #fff;}
#back-to-top { box-shadow:1px 1px 17px rgba(0,0,0,0.2);transform:rotate(180deg);position: fixed;bottom: 40px;right: 40px;z-index: 9999;width: 32px;height: 11px;padding: 11px 0px;text-align: center;line-height: 30px;background: #f5f5f5;color: #444;cursor: pointer;border: 0;border-radius: 100%;text-decoration: none;transition: opacity 0.2s ease-out;opacity: 0;}
#back-to-top:hover {background: #e9ebec;}
#back-to-top.show {opacity: 1;}
.righthead{float: right;padding-top: 40px;position: relative;z-index: 20;}
.avisos{float: left;position: relative;font-size: 20px;margin-right: 10px;}
.avisos span{cursor: pointer;}
.navisos{position: absolute;top:-10px;right:-5px;border-radius: 100%;background: #00B1E9;color:#fff;font-size: 10px;padding: 3px;min-width: 10px; text-align: center;}
.avisoslist{left: -78px;background: #F3F3F3;position: absolute;top:35px;width:200px;font-size: 12px;z-index: 99;display: none;border-top:solid 2px #00B1E9}
.pickmenu{position: absolute;top:-15px;position: absolute;    left: 75px;}
.alertarea{padding: 10px;text-align: center;font-weight: 700;}
.alert{margin: 2px;padding: 10px;background: #fff;}
.allalerts{margin: 2px;text-align: center;padding: 10px;background: #fff;}
.allalerts a{background: #0083CB;color:#fff;padding: 3px 12px;border-radius: 15px;}
.search{float: right;position: relative;}
#submitsearch{position: absolute;background: transparent;border:0px;top:6px;right:3px;}


.search input{background: #fff;border-radius: 15px;width: 130px;border:1px solid #f5f5f5;padding: 3px 15px;}
.opensearchm{float: left;font-size: 20px;display:none;cursor:pointer;}

#load{position: fixed;width: 100%;height:100%;background-repeat: no-repeat; background-position: center;background-color: #ddd;z-index: 9999;}
#load .centerload{position: absolute;top:50%;left:50%;width:150px;height:150px;margin-top: -75px;margin-left: -75px;}
.centerload img{width:100%;}
/* CSS fix gallery */
.galeria{position: relative;margin-bottom: 25px;}
.galeria .owl-carousel .owl-item img{width: auto;display: inline;}
.galeria .owl-carousel .owl-item{text-align: center;}
.owl-buttons{position: absolute;top: 130px;width: 100%;}
.owl-nav{position: absolute;top: 50%;width:100%;margin-top: -12px}
.galeria .owl-nav button{position: absolute;padding: 10px !important;color:#fff !important;background: #0083CB !important;border-radius: 100%;width: 25px;height: 25px;;}
.owl-nav .owl-prev{left:5px}
.owl-nav .owl-next{right:5px;}

/* CSS pagination */
#wp_page_numbers ul, #wp_page_numbers li, #wp_page_numbers a {padding: 0;margin: 0;border: none;text-decoration: none;font-weight: normal;font-style: normal;list-style: none;text-transform: none;text-indent: 0px;font-variant: normal;text-align: left;line-height: 12px;letter-spacing: 0px;word-spacing: 0px;font-size: 11px;}
#wp_page_numbers {margin: 0 auto;margin-top: 30px;width: 100%;margin-bottom: 10px;}
#wp_page_numbers ul {width: 100%;text-align: center;}
#wp_page_numbers li {display: inline-block;margin-bottom: 2px;}
#wp_page_numbers a {text-align:center;width:10px;height:10px;padding: 3px;border-radius:100%;padding: 5px;margin-left: 2px;margin-right: 2px;display: block;color: #fff;border: 1px solid #bfbfbf;background: #0083CB;}
#wp_page_numbers li a:hover {border-color: #000;}
#wp_page_numbers li.space {padding: 6px;padding-left: 2px;padding-right: 2px;}
#wp_page_numbers li.first_last_page {font-style: italic;}
#wp_page_numbers li.active_page a {border-color: #0075b8;color:#000;background: #fff}
#wp_page_numbers li.active_page a:hover  {color: black;text-decoration: underline;border-color: #000;}
#wp_page_numbers li.page_info {padding: 3px;padding-left: 5px;padding-right: 5px;margin-right: 2px;color: #666;font-size: 11px;border: 1px solid #bfbfbf;background: #fff;}

/* CSS geral */
.fullbanner{height: 100%;width: 100%;min-height: 400px;background: url(images/intro.jpg);background-size: cover;background-position: center;position: relative;overflow: hidden;}
.readmore {z-index: 9;width: 124px;color:#fff;font-size: 26px;height: 31px;text-align: center;left: 50%;margin-left: -62px;position: absolute;bottom: 40px;cursor: pointer;}
#bgvid{position: absolute;top: 50%;left: 50%;min-width: 100%;min-height: 100%;width: auto;height: auto;z-index: 1;-ms-transform: translateX(-50%) translateY(-50%);-moz-transform: translateX(-50%) translateY(-50%);-webkit-transform: translateX(-50%) translateY(-50%);transform: translateX(-50%) translateY(-50%);background-size: cover;}
.intro{z-index: 8; text-align: center;width:500px;max-width:80%;position: absolute;top:50%;left:50%;-ms-transform: translateX(-50%) translateY(-50%);-moz-transform: translateX(-50%) translateY(-50%);-webkit-transform: translateX(-50%) translateY(-50%);transform: translateX(-50%) translateY(-50%);}
.intro img{width:100%;}

.servicoshome{height: 535px;position: relative;overflow: hidden;}
.layerhome{position: absolute;bottom: -10px;width:100%;left:0px;}
.layerhome img{width: 100%;}
.layer1{z-index: 9;}
.layer2{z-index: 8;}
.layer3{z-index: 6;}
.layer4{z-index: 5;}
.servicoshome h2{color:#fff;font-size: 38px;}
.servicoshome .pwidth{z-index: 7;height:100%}
.sercicosbox{height:100%;position: relative;padding:50px;text-align:center;color:#fff;background-color: #000;border-radius: 15px;background-image: url(images/servicos.jpg);background-size: cover;background-position: center;}
.agendahome{background: #0083CB;padding-top: 15px;}
.agendahome h2{color:#fff;}
#iconservicos{display: block;padding: 55px 0px;background-color: #fff;width:30px;margin: 10px auto;border-radius: 15px;-webkit-transform: rotate(-90deg);-moz-transform: rotate(-90deg);-o-transform: rotate(-90deg);-ms-transform: rotate(-90deg);transform: rotate(-90deg);}
.eventoshome a:last-child div.eventohome {
    margin-bottom: 0 !important
}
.agendahomelist{
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}
.agendahimages{
    border-radius: 15px;
    min-height: 300px;
}
.agendahimages img{width:100%;border-radius: 15px;}
.eventohomefixo {border: 1px #fff solid}
.eventohome{background: rgba(255,255,255,0.35);border-radius: 15px;margin-bottom: 15px;cursor:pointer;transition: all .3s ease-in-out;}
.eventohome:hover{-ms-transform: scale(1.02); -webkit-transform: scale(1.02);transform: scale(1.02);}
.dataeventohome{background: rgba(255,255,255,0.8); padding: 15px;width:50px;text-align: center;float: left;border-radius: 15px;}
a .dataeventohome{color:#000;}
.homeday{font-weight: 700;font-size: 36px;line-height: 38px;}
.homemonth{font-size: 20px;line-height: 20px;}
.homeeventtitle{float: left;color:#fff;font-size: 1.3em; line-height: 1.2em; font-weight: 700;width:calc(100% - 100px);padding: 10px 10px 5px 10px}
.local-do-evento{float: left; color: #fff !important; font-size: 1.1em; line-height: 1em; padding: 5px 10px 10px 10px; width:calc(100% - 100px); }
.headerheight{height: 120px;}
.verticalmenu{width:330px;float: left;background-color: #0083CB;margin-bottom: 25px;}
.verticalmenu a{color:#fff;}
.verticalmenu ul{list-style: none;padding:0;margin: 0px;}
.verticalmenu .submenutitle{font-weight: 600;padding: 5px 25px;font-size: 13px;}
.verticalmenu .submenutitle:hover{background: #0677BD}
.verticalmenu .lvl3menu{padding: 5px 0px;background-color: rgba(255,255,255,0.5);font-size: 12px;}
.verticalmenu .lvl3menu a{padding:2px 25px;display: block;transition: all .5s ease-in-out;}
.verticalmenu .lvl3menu a:hover{padding-left:32px}
.municipiovertical{}
.pagecontent{float: right;width:calc(100% - 400px)}
.pagecontent h1{color:#00B1E9;font-size: 30px;font-weight: 700;margin: 0px;margin-bottom: 10px;text-transform: uppercase; line-height: 120%;}
.content h2{font-size: 18px;font-weight: 700;}
.content img {max-width: 100%; height: auto}
.history{margin-bottom: 10px;}
.docszone{margin-bottom: 50px;}
.docszone h2{color:#565656;font-size: 36px;}
a .docpage{color:#fff}
.docpage{background-color:#0083CB;border-radius: 15px;float: left;width: 45%;margin-right: 5%;margin-bottom: 15px;}
.icondoc{box-shadow: 1px 1px 8px rgba(0,0,0,0.8);background: rgb(255,255,255); padding: 15px;width:50px;text-align: center;float: left;border-radius: 15px;font-size: 25px;}
.doctitle{float: left;padding: 15px;width: calc(100% - 110px);}
.noticiashome{margin-bottom: 70px;}
.newslist{margin-top: 40px;}
a .newhome{color:#4c4c4c;}
.newhome{background-color:#fff;background-position:center;background-size:cover;transition: all .5s ease-in-out;box-shadow: 1px 1px 17px rgba(0,0,0,0.2);margin-bottom:50px;float: left;font-weight: 700;font-size: 15px;line-height:18px;width:29%;border-radius: 15px;height: 200px;position: relative;}
.newhome:hover{-ms-transform: scale(1.02); -webkit-transform: scale(1.02);transform: scale(1.02);}
.newsspace{width: 6.49%;height: 200px;float: left;}
.newhtitle{position: absolute;bottom: 0px;left: 0px;right: 0px;padding:15px;background-color: rgba(255,255,255,0.7);border-bottom-left-radius: 15px;border-bottom-right-radius: 15px;}
.newhtitle .datasevento{font-size:12px;}
.newmore{display:none;position: absolute;color:#fff;left:50%;width:40px;height: 18px;padding:12px 0px;text-align: center;font-weight: 400;background: #00B1E9;font-size: 25px;border-radius: 100%;margin-left: -20px;margin-top: -20px}
.revistahome{background: rgba(255,255,255,0.1);padding:40px 0px;}
.revista{width: 20%;float:left;background: #fff;}
.revistaimage img{width:100%;}
.single{margin-bottom: 50px;}
.single .pagecontent{float: left;}
.expand{width: 30px;height: 14px;margin-left:-15px;padding:10px 0px;font-size: 15px;color:#fff;position: absolute;z-index: 99;bottom: 0px;left:50%;text-align: center;background: #0083CB; border-top-left-radius: 15px; border-top-right-radius: 15px;}
a .expand{color:#fff}
.archive{min-height: 700px;}
.bkposttype{position: absolute;top:0;height: 675px;background-size: cover;background-position: center;width:100%}
.bknoticias{background-image: url(images/noticias.jpg)}
.bkagenda{background-image: url(images/agenda.jpg)}
.contactosbk{background-image: url(images/contactos.jpg)}
.bksearch{background-image: url(images/search.jpg)}
.bkalertas{background-image: url(images/alerts.jpg)}
.archive h1{color:#fff;font-weight: 700;font-size: 46px;}
.tri{width: 100%;bottom: -5px;position: absolute;}
.tri img{width:100%; display: block}
.datasevento{font-size: 16px; margin: 0}
.others{float: right;width: 350px;}
.others .newhome{float:none;width:100%}
.others h3{font-weight: 700;font-size: 20px;}
.revistatitle{text-align: center;padding: 5px;font-weight: 700}
.contact{overflow: hidden;}
.contacttitle{background: #0083CB;color:#fff;padding: 10px}
.descontacts{font-weight: 400;padding: 10px;font-size: 12px;}
.descontacts span{color:#0083CB}
.links{text-align:center;padding:30px 0px; background: #1A90D0}
.links a{display: inline-block;padding: 15px;border-radius: 15px;background-color: #fff;width:150px;margin: 0 15px;margin-bottom: 5px; }
.links a img{width: 100%; transition: all .3s ease-in-out; }
.links a:hover img { -ms-transform: scale(1.1); -webkit-transform: scale(1.1);transform: scale(1.1); }
.subinpage a{display: inline-block;margin: 5px 20px 5px 0px;padding: 5px 18px;background: #C1C1C1;border-radius: 20px;color: #fff;font-size:12px;}
.subinpage a:hover{background: #00B1E9;}
.singleespaco{}
.singleespaco h1{clear: none;color:#000;font-size: 30px;}
.singleespaco .galeria{float: left;width:50%;border-radius: 15px;overflow: hidden;margin-right: 15px;}
.singleespaco .galeria .owl-carousel .owl-item img{max-width:100%;max-height: 305px;}
.taxespaco{color: #00B1E9;font-size: 48px;font-weight: 700;margin: 0px;margin-bottom: 10px;text-transform: uppercase;}
.ata{margin-bottom: 35px;}
.atatitle{cursor:pointer;display: inline-block;padding: 10px 15px;border-radius: 15px;font-size: 20px;box-shadow:1px 1px 17px rgba(0,0,0,0.2);font-weight: 700;}
.atatitleh{color:#fff;background: #0083CB;}
.atatitle span{margin-right: 15px;}
.ata .content{padding:10px 15px;display: none;}
.sata{height: 1px;background:#979797;margin-top: 5px;}
.mapadiv{margin-bottom: 25px }
.mapadiv img{width:100%;height: auto !important}
.freguesiabox{padding:25px; border-radius: 15px; box-shadow:1px 1px 17px rgba(0,0,0,0.2);margin-bottom: 25px;}

.fregexecutivo{font-size: 12px;}
.freglabel{width:80px;float: left;color: #0083CB}
.fregfield{margin-bottom: 10px;float: right;width: calc(100% - 80px);word-wrap:break-word;}
.freguesiabox h2{font-size: 16px;text-align: center;line-height: 18px;margin-top:0px;}
.fregbrasao{text-align: center}
.fregbrasao img{width: 100%; max-width: 300px; margin: auto}
.pageexecutivo h1{font-size: 20px;}
.pageexecutivo .content{float:left;width:60%;}
.executivobox{box-shadow:1px 1px 17px rgba(0,0,0,0.2);width: 31%;float: left;margin: 20px 1%;height:435px;min-width:268px}
.exeone{width:36%;float:right;min-width: auto;height:auto;}
.executivophoto{overflow: hidden;width:150px;height: 150px;margin:10px auto;border-radius: 100%;}
.executivophoto img{width:100%;}
.executivoname{font-size: 16px;color: #00B1E9;margin:5px 15px;border-bottom: 1px solid #00B1E9}
.executivodesc{font-size: 12px;padding:5px 15px;}
.executivodesc span{color: #00B1E9;}
.flink a{color:#222}
.fregmap{text-align: center;max-width: 500px;margin: 0 auto;margin-bottom: 20px;}
.fregmap img{max-width: 500px;width:100%;height: auto !important}
.error404{background: url(images/404.png);background-size: cover;height: 100%;width:100%;background-position: center;}
.center404{padding-top:300px;font-size: 30px; text-align: center;color:#fff}
.blue-modulo-header {
    display: grid;
    grid-template-columns: 1fr 130px;
    grid-column-gap: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 10px 0
}
.blue-modulo-header h2 {
    margin: 0 !important;    
}
.blue-modulo-header h1 {
    margin: 0 !important;    
    line-height: 1em
}

.fundo-modulo-header {
    display: grid;
    grid-template-columns: 1fr 130px;
    grid-column-gap: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px #434343 solid;
    padding: 10px 0
}
.fundo-modulo-header h3 {
    margin: 0 !important;
    font-size: 1.4em;
}
.proximos-eventos-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    margin-top: 30px;
    margin-bottom: 15px;        
    position: relative;
}
.proximos-eventos-horizontal article {
    background-color: #fff;
    background-position: center;
    background-size: cover;
    transition: all .5s ease-in-out;
    box-shadow: 1px 1px 17px rgba(0,0,0,0.2);
    margin-bottom: 50px;
    float: left;
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    border-radius: 15px;
    min-height: 150px;
    position: relative;
    
}
.proximos-eventos-horizontal .article-caption {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 15px;
    background-color: rgba(255,255,255,0.7);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.proximos-eventos-horizontal .article-caption h3 {
    font-size: 15px;
    line-height: 18px;
    margin: 0 0 3px 0
}
.proximos-eventos-horizontal .article-caption a {
    color: #4c4c4c;
    font-weight: 700;
}
.modulo-header {
    display: grid;
    grid-template-columns: 1fr 180px 130px 130px;
    grid-column-gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}
.modulo-header-agenda {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-column-gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}
.modulo-header-agenda > div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 15px;
    align-items: center;
}
.modulo-header h2 {
    margin: 0 !important;
    text-align: left
}
#pdfagenda, #agendavermais, #bilheteiraonline {
    background: #fff;
    display: block;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
}
.alertaarchive{padding:15px;background: rgba(255,255,255,0.3);margin-bottom: 15px;}
.alertatitle{font-size: 20px;font-weight: 700;}
.assembleiabox .executivodesc{color:#000;}

/*HOME CALL TO ACTION*/
.homepage-call-to-action {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 15px;
    align-items: center;
    padding: 20px;
    background: #f4f4f4;
    margin-top: 15px;
    border-radius: 20px;
    margin-top: 40px
}
.homepage-call-to-action-txt span {
    color: #0083CB;
    font-weight: bold
}
.homepage-call-to-action-txt h3 {
    font-weight: bold;
    font-size: 17px;
    line-height: 130%;
    margin: 0;
    color: #4c4c4c
}
.homepage-call-to-action-links {
    display: grid;
}
.homepage-call-to-action-links a {
    padding: 7px 10px
}
.home-sub-banner-txt h3 {
  display: flex;
  height: 100%;
  margin: 0;
  align-items: center;
  font-size: 1.3em;
  justify-content: left
}

.home-sub-banner {
    display: grid;
    grid-template-columns:  1fr 0px 110px;
    gap: 30px;
    align-items: center;
    justify-content: left;
    align-content: center;
}
.home-sub-banner-btn {
    background: #0677BD;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    flex-flow: column;
    font-size: 1.3em
}
.home-sub-banner-museu {
    float: left;
    padding: 25px;
    background: #f4f4f4;
        display: grid;
    grid-template-columns:  1fr 110px;
    gap: 30px;
    align-items: center;
    justify-content: left;
    align-content: center;
    width: 100%;
box-sizing: border-box;
}
.home-sub-banner-museu p {
    display: none !important
}
/*HOME CALL TO ACTION - FIM*/
/*BUTTONS*/
.blue-btn {
    background: #0677BD;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
    font-size: 1em;
    margin:0 5px 5px 0
}
/*BUTTONS - FIM*/

/* CSS mobile */
@media (min-width: 1200px){
    .blue-modulo-header-agenda {
        margin-bottom: 80px
    }
}
@media (max-width: 1200px){
    .menu-toggle{display: block;}
    #header .logo{position: absolute;top:0;left:25px;right:25px;width: auto;text-align: center;}
    #header .logo img{max-width: 150px;}
    h2{font-size: 40px;line-height: 45px;}
    .pagecontent h1{font-size: 25px;}
    .singleespaco .galeria{float: none;width:100%;}
    .pageexecutivo .content{float: none;width:100%;}
    .exeone{width:300px;margin: 20px auto;float:none;}    
    .header-freguesia-row {
        grid-template-columns: 1fr !important;
    }   
}

@media (max-width: 960px){
    .mapadiv {
        display: none !important
    }
    .modulo-header-agenda {
        grid-template-columns: 1fr !important;
    }
    .modulo-header-agenda > div {
        grid-template-columns: 1fr 1fr 1fr !important;
        align-items: stretch;
        justify-content: center
    }
    .modulo-header {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    .single-evento-image img {
        margin-top: 80px
    }
}
@media (max-width: 750px){
    .home-sub-banner-txt h3 {
  justify-content: center
}
    .home-sub-banner {    
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center
    }
    .homepage-call-to-action {
        grid-template-columns: 1fr;
    }
    
    .newhome{float: none;width:100%;}
    .servicoshome{height:340px;}
    .agendahimages{display: none; width: 100%}
    .others {width: 100%}
    .proximos-eventos-horizontal, .agendahomelist{grid-template-columns: 1fr}
    .eventoshome{float:none;width:100%;}
    .colfooter{float: none;width: 100%;margin: 20px 0px;padding: 0px;}
    .footersep{display: none;}
    .search{position: absolute;top:80px;right:0px;background: #fff;padding:10px;border-top:solid 2px #00B1E9;display: none;}
    .verticalmenu{display: none;}
    .pagecontent{float: none;width:100%;}
    .opensearchm{display:block;}
    .docpage{float: none;width:100%;margin-right:0px;clear: both;}
    .revista{width:45%;margin: 25px 2.5%;}
    .revistahome .newsspace{display: none;}
    #submitsearch{top: 17px;right: 12px;}
    .freguesiabox{min-width:95%;}
    .contactsarc .newsspace{display:none;}
}

@media (max-width: 450px){    
    .pagecontent h1{font-size: 20px;}
    .newhtitle{font-size: 14px;}
    #footer{height: auto;position: relative;margin-top: 68px;}    
    .revista{width:90%;margin: 15px 5%;}
    .fregexecutivo{width:100%;float: none;border:0}
    .fregbrasao{float: none;text-align: center;width:80%;margin: 0 auto;}
    .executivobox{float: none;width:100%;height:auto;}
    .exeone{width:100%}
}

/* ANIMATE */

@-webkit-keyframes rotating {
    from{
        -webkit-transform: rotate(0deg);
    }
    to{
        -webkit-transform: rotate(360deg);
    }
}

@keyframes jump {
    0%   {transform: translate3d(0,0,0) scale3d(1,1,1);}
    40%  {transform: translate3d(0,30%,0) scale3d(1,1,1);}
    100% {transform: translate3d(0,100%,0) scale3d(1,1,1);}
  }

.rotating {
    -webkit-animation: rotating 2s linear infinite;
}

.jump {
    transform-origin: 50% 50%;
    animation: jump 1s linear alternate infinite;
}

/*ALTERAÇÕES ADSI*/
.single-evento-image img {
    width: 100%;
    height: auto
}

.adsi-ae-warpper {  
    background: #fff
}
.event-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto;
    grid-column-gap: 5px;
    padding: 0;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    
}
.event-block > a {
    align-self: start;
    width: 100%;
    display: flex
}
.event-block > div {
    vertical-align: top;
    align-self: center;
    flex-direction: column 
}
.event-block h2 {
    font-weight: 600;
    margin: 0;
}
.event-block img {
    width: 100%
}
.event-loop-small-calendar {
    text-align: center;
    border-radius: 15px;
    background: #fff;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;     
    justify-items: center;
    box-shadow: 0 0 5px #ddd
}
.event-loop-small-calendar-dia {
    align-items: flex-end;
    display: flex;
    font-weight: bold;
    font-size: 1.6em
}
.event-loop-small-calendar-mes {
    display: flex;
    align-items: flex-start;
    font-size: 1.4em
}

.event-loop-text {
    padding: 10px
}

.ae-proximos-eventos-container .ae-article-evento {
    background: #f1f1f1;
    margin-top: 15px;
}

.event-loop-text h2 {
    font-size: 1.2em;
    line-height: 1.2em
}

.ae-proximos-eventos-container {
    margin-bottom: 15px
}

.view-more-btn {
    background: #36C1ED;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 15px;
    text-align: center;
}
.view-more-btn-white {
    background: #fff !important;
}
.page-numbers {
    display: inline-block;
    padding: 5px 0px;
    margin: 15px auto;	
    line-height: 1;
    text-decoration: none;    
    font-weight: 600;
}

.page-numbers li {
    display: inline-block;
    border-radius: 5px;
    border: 1px #f1f1f1 solid
}
.page-numbers li a, .page-numbers li span {
    margin: 0;
    padding: 10px 15px;
}

.page-numbers.current,
a.page-numbers:hover {
	background: #f1f1f1;
}



.header-freguesia-row {
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-column-gap: 30px;
    justify-items: center;
    align-items: center;
}


.responsive-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
	overflow: hidden;
        margin: 30px 0
}

.responsive-container iframe,
.responsive-container object,
.responsive-container embed,
.responsive-container video
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.cookie-notice-container {
    padding: 28px 10px !important;
}
.home-links-wrapper {
    background: #1A90D0;
    padding: 30px 0
}
.home-links-wrapper .owl-stage-outer {
    z-index: 9999
}

.home-links {
    display: block;
    padding: 15px;
    border-radius: 15px;
    background-color: #fff;    
}

.full-with-page-template-header {
    min-height: 400px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-content: flex-end 
}
.full-with-page-template-header h1 {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}
.full-with-page-template-header .pwidth {
  padding: 0 25px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.full-with-page-template .content {
    padding-top: 50px;
    padding-bottom: 50px;
}
.gform_button {
    color: #fff !important;
    background-color: #0083CB !important;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: 15px 20px !important;
    font-size: 1.125em;
    border: none !important
}
.gform_button:hover {
    background: #2DAFE5 !important;
    cursor: pointer
}
.button.button-primary {
    color: #fff;
    background-color: #0083CB;
    border-radius: 9999px;
    padding: 10px 15px !important;
    font-size: 1.125em;
    border: none !important  
}
@media only screen and (min-width: 768px) {
    .home-links-wrapper .owl-nav {
        display: block !important;
        height: 30px
    }
    .home-links-wrapper .owl-carousel {
        position: relative;
    }
    .home-links-wrapper .owl-nav .owl-prev, .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        margin-top: -25px
    }
    .home-links-wrapper .owl-nav .owl-prev span, .home-links-wrapper .owl-nav .owl-next span {
        display: block;
        color: #fff;
        background: #0083CB !important;
        font-size: 40px !important;
        padding: 2px 10px 8px;
        border-radius: 100px !important;
        border: 1px transparent solid !important;
        height: 30px !important;
        width: 22px !important;
        line-height: 30px;
    }
    .home-links-wrapper .owl-nav .owl-prev {
        left: -50px;
    }
    .home-links-wrapper .owl-nav .owl-next {
        right: -50px;
    }

}

.home-links-wrapper .owl-nav {
    display: none
}



.img-homepage-gva {
    object-fit: cover;
    width: 100%;
    height: 100%
}
.img-homepage-gva-banner {
    object-fit: contain;
    width: 100%;
    height: 100%
}
.menu-botoes-topo {
  display: block;
  text-align: center;
  padding: 20px;
  border: 1px #0677bd solid;
  background: #A1D9F7
}
.menu-botoes-topo h2 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 120%;
    font-size: 24px !important
}
.carousel-slider-12082 .owl-stage {
    display: flex;
    align-items: stretch;
}
.carousel-slider-12082 .owl-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden
}
.carousel-slider-12082 .carousel-slider__item { 
  display: flex;
  flex-flow: column;  
}
.carousel-slider-12082 .carousel-slider__item a {
    color: #333 !important;
    transition: all .5s ease-in-out;
}
.carousel-slider-12082 .carousel-slider__item a:hover {
-ms-transform: scale(1.02); -webkit-transform: scale(1.02);transform: scale(1.02);
}
.carousel-slider-12082 .carousel-slider__caption { 
  display: flex;
  flex-flow: column;
  background: #fff;
  padding: 20px;
  align-items: stretch;
  height: 100%
}
.carousel-slider-12082 .carousel-slider__caption .title {
  font-size: 18px !important;
  font-weight: bold !important;
  line-height: 120% !important
}
.link-piscinas-descobertas .home-sub-banner {
    grid-template-columns: 1fr auto !important;
}

/*splide*/
.splide-item a {
    object-fit: cover
}
.splide-item a img {
    width: 100%
}

/*diretorio*/
.diretorio-section {
    padding: 10px 0
}
.diretorio-section-inline {
  display: flex;
  gap: 10px;
  font-size: 30px;
}