/*! This file is auto-generated */
.dashicons-no{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAQAAAAngNWGAAAAcElEQVR4AdXRVxmEMBAGwJMQCUhAIhKQECmRsFJwMFfp7HfP/E8pk0173CuKpt/0R+WaBaaZqogLagBMuh+DdoKbyRCwqZ/SnM0R5oQuZ2UHS8Z6k23qPxZCTrV5UlHMi8bsfHVXP7K/GXZHaTO7S54CWLdHlN2YIwAAAABJRU5ErkJggg==)}.dashicons-admin-comments{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATUlEQVR4AWMYWqCpvUcAiA8A8X9iMFStAD4DG0AKScQNVDZw1MBRAwvIMLCA5jmFlCD4AMQGlOTtBgoNwzQQ3TCKDaTcMMxYN2AYVgAAYPKsEBxN0PIAAAAASUVORK5CYII=)}.wp-embed-comments a:hover .dashicons-admin-comments{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAATElEQVR4AWMYYqB4lQAQHwDi/8RgqFoBfAY2gBSSiBuobOCogaMGFpBhYAEdcwrhIPgAxAaU5O0GCg3DNBDdMIoNpNwwzFg3YBhWAABG71qAFYcFqgAAAABJRU5ErkJggg==)}.dashicons-share{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYfqCpvccAiBcA8X8gfgDEBZQaeAFkGBoOoMR1/7HgDeQa2ECZgQiDHID4AMwAor0MCmBoQP+HBnwAskFQdgBRkQJViGk7wiAHUr21AYdhDTA1dDOQHl6mPFLokmwoT9j0z3qUFw70L77oDwAiuzCIub1XpQAAAABJRU5ErkJggg==)}.wp-embed-share-dialog-open:hover .dashicons-share{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAc0lEQVR4AWMYhqB4lQEQLwDi/0D8AIgLKDXwAsgwNBxAiev+Y8EbyDWwgTIDEQY5APEBmAFEexkUwNCA/g8N+ABkg6DsAKIiBaoQ03aEQQ6kemsDDsMaYEroZiA9vEx5pNAl2VCesOmf9SgvHOhffNEfAAAMqPR5IEZH5wAAAABJRU5ErkJggg==)}


.IPLeiria strong{
    font-weight: 600;
}
.IPLeiria .post-banner-container{
    padding-bottom: 0;
}

.IPLeiria .wp-block-separator{
    border-bottom: 0 none;
    border-top: 0 none;
}

.IPLeiria #site-main-menu.megamenu .navbar-nav>.nav-item>.dropdown-menu{
    border-bottom: 1px solid #757575;
}

.IPLeiria .post-header-text {
    margin-bottom: 35px;
    display: block;
    visibility: visible;
}

.IPLeiria #ipleiria-main-menu.megamenu .megamenu-section-title, 
.IPLeiria #site-main-menu.megamenu .megamenu-section-title,
.IPLeiria #site-main-menu.megamenu .megamenu-section a.megamenu-section-title{
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5rem;
    display: block;
}

.IPLeiria .front-page .post-banner-container{
    margin-bottom: 0;
}

/* headings */

.IPLeiria .is-style-theme-title,
.IPLeiria .is-style-theme-title-caps,
.IPLeiria .is-style-theme-title-inherit-color,
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-title{
    font-size: 2.5em;
    font-weight: bold;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 3rem;
}


.IPLeiria .is-style-theme-title,
.IPLeiria .is-style-theme-title-caps,
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-title{
    color: #262626;
}

.IPLeiria .is-style-theme-subtitle,
.IPLeiria .is-style-theme-subtitle-inherit-color{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95em;
    padding: 0;
    margin-top: 15px;
    margin-bottom: 0;
}

.IPLeiria .gbib.is-style-theme-infobox-svg{
    line-height: 1rem;
}
.IPLeiria .gbib.is-style-theme-infobox-svg .gbib-image {
    max-width: 80px;
}

.IPLeiria .gbib.is-style-theme-infobox-svg .gbib-title{
    font-weight: 600;
    padding: 0;
    text-transform: uppercase;
    word-break: normal;
    font-size: 0.9rem;
}


.IPLeiria .is-style-theme-subtitle {
    color: #757575;
}
/*
.IPLeiria .is-style-theme-title-inherit-color,
.IPLeiria .is-style-theme-subtitle-inherit-color{
    color: inherit;
}*/

.IPLeiria .is-style-theme-title-caps,
.IPLeiria .is-style-theme-caps {
    text-transform: uppercase;
}

.IPLeiria h3{
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    
    
}

.IPLeiria h1.has-dark-title-text-color-color, 
.IPLeiria h2.has-dark-title-text-color-color, 
.IPLeiria h3.has-dark-title-text-color-color, 
.IPLeiria h4.has-dark-title-text-color-color, 
.IPLeiria h5.has-dark-title-text-color-color, 
.IPLeiria h6.has-dark-title-text-color-color {
    color: #FFFFFF;
}

/* buttons */

.IPLeiria .wp-block-button__link, 
.IPLeiria .wp-block-button__link:link, 
.IPLeiria .wp-block-button__link:visited,
.IPLeiria a.ipleiria-btn, 
.IPLeiria a.ipleiria-btn:link, 
.IPLeiria a.ipleiria-btn:visited,
.IPLeiria .is-style-theme-button-solid .wp-block-button__link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:visited,
.IPLeiria .is-style-theme-button-outline .wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:visited,
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:visited{
    display: inline-block;
    margin: 10px 0;
    padding: 8px 14px;
    border: 2px solid #1c1c1d;
    background-color: #1c1c1d;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 700;
    white-space: nowrap;
    min-width: 190px;
    border-radius: 0;
}

.IPLeiria .no-min-width  .wp-block-button__link{
    min-width: 0 !important;
}

.IPLeiria .has-dark-title-text-color-background-color {
    background-color:#1c1c1c;
}

/*.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color,*/ 
.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color:link, 
.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color:visited,
.IPLeiria a.ipleiria-btn.has-dark-title-text-color-background-color, 
.IPLeiria a.ipleiria-btn:link.has-dark-title-text-color-background-color, 
.IPLeiria a.ipleiria-btn:visited.has-dark-title-text-color-background-color,
.IPLeiria .is-style-theme-button-solid.has-dark-title-text-color-background-color .wp-block-button__link, 
.IPLeiria .is-style-theme-button-solid.has-dark-title-text-color-background-color .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-solid.has-dark-title-text-color-background-color .wp-block-button__link:visited,
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link:visited,

.IPLeiria .is-style-theme-button-solid .wp-block-button__link.has-dark-title-text-color-background-color, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link.has-dark-title-text-color-background-color:link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link.has-dark-title-text-color-background-color:visited,
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color:link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color:visited{
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.IPLeiria .ipleiria-btn+.ipleiria-btn,
.IPLeiria .wp-block-button__link+.wp-block-button__link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link+.wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link+.wp-block-button__link{
    margin-left: 10px;
}

.IPLeiria .wp-block-button__link, 
.IPLeiria .wp-block-button__link:link, 
.IPLeiria .wp-block-button__link:visited,
.IPLeiria a.ipleiria-btn:active, 
.IPLeiria a.ipleiria-btn:focus, 
.IPLeiria a.ipleiria-btn:hover,
.IPLeiria .is-style-theme-button-outline .wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:visited,
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:visited{
    background-color: transparent;
    border: 2px solid #1c1c1d;
    color: #1c1c1d;
}


.IPLeiria .wp-block-button__link:active, 
.IPLeiria .wp-block-button__link:focus, 
.IPLeiria .wp-block-button__link:hover,
.IPLeiria a.ipleiria-btn:active, 
.IPLeiria a.ipleiria-btn:focus, 
.IPLeiria a.ipleiria-btn:hover, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:active, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:focus, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link:hover,
.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color:active, 
.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color:focus, 
.IPLeiria .wp-block-button__link.has-dark-title-text-color-background-color:hover,
.IPLeiria a.ipleiria-btn.has-dark-title-text-color-background-color:active, 
.IPLeiria a.ipleiria-btn.has-dark-title-text-color-background-color:focus, 
.IPLeiria a.ipleiria-btn.has-dark-title-text-color-background-color:hover, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color:active, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color:focus, 
.IPLeiria .is-style-theme-button-outline .wp-block-button__link.has-dark-title-text-color-background-color:hover, 
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link:active, 
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link:focus, 
.IPLeiria .is-style-theme-button-outline.has-dark-title-text-color-background-color .wp-block-button__link:hover{
    color: #78b800;
    border-color: #78b800;
    text-decoration: none;
}

.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:active, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:focus, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link:hover,
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link.has-dark-title-text-color-background-color:active, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link.has-dark-title-text-color-background-color:focus, 
.IPLeiria .is-style-theme-button-outline-white .wp-block-button__link.has-dark-title-text-color-background-color:hover, 
.IPLeiria .is-style-theme-button-outline-white.has-dark-title-text-color-background-color .wp-block-button__link:active, 
.IPLeiria .is-style-theme-button-outline-white.has-dark-title-text-color-background-color .wp-block-button__link:focus, 
.IPLeiria .is-style-theme-button-outline-white.has-dark-title-text-color-background-color .wp-block-button__link:hover{
    color: #FFFFFF ;
    border-color: #FFFFFF;
}

.IPLeiria .is-style-theme-button-solid .wp-block-button__link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:link, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:visited {
    color: #fffffc;
    background-color: #1c1c1d;
    border-color: #1c1c1d;
}

.IPLeiria .is-style-theme-button-solid .wp-block-button__link:active, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:focus, 
.IPLeiria .is-style-theme-button-solid .wp-block-button__link:hover {
    color: #FFFFFF;
    background-color: #78b800;
    border-color: #78b800;
    text-decoration: none;
}

.IPLeiria .gbib.is-style-theme-infobox-card{
    padding: 20px;
}

.IPLeiria .gbib.is-style-theme-infobox-card,
.IPLeiria .card-cts .card-ct .entry-link{
    margin: 5px 0;
    text-align: left;
    background-color: #FFFFFF;
    border: 1px solid #ECEDED;
}

.IPLeiria .gbib.is-style-theme-infobox-card .gbib-image,
.IPLeiria .card-cts .card-ct .entry-thumbnail{
    padding: 0;
    margin: 0;
}

.IPLeiria .card-cts .card-ct{
    margin-top: 15px;
    margin-bottom: 15px;
}


.IPLeiria .card-cts .card-ct .entry-link .entry-title{
    padding-top: 10px;
    padding-bottom: 5px;
}
.IPLeiria .card-cts .card-ct .entry-link .entry-title,
.IPLeiria .card-cts .card-ct .entry-link .card-ct-scope,
.IPLeiria .card-cts .card-ct .entry-link .card-ct-entities,
.IPLeiria .card-cts .card-ct .entry-link .entry-excerpt{
    padding-left: 20px;
    padding-right: 20px;
}

.IPLeiria .card-cts .card-ct .entry-link .card-ct-entities{
    font-size: 0.7rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    border-top: 1px solid #EDECEC;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
}

.IPLeiria .card-cts .card-ct .entry-link .entry-title,
.IPLeiria .card-cts .card-ct .entry-link .entry-excerpt,
.IPLeiria .card-cts .card-ct .entry-link .card-ct-scope,
.IPLeiria .card-cts .card-ct .entry-link .card-ct-entities{
    overflow: hidden;
    text-overflow: ellipsis;
}

.IPLeiria .card-cts .card-ct .entry-link .card-ct-scope,
.IPLeiria .card-cts .card-ct .entry-link .card-ct-entities{
    white-space: nowrap;
}

.IPLeiria .card-cts .card-ct .entry-link .entry-title,
.IPLeiria .card-cts .card-ct .entry-link .entry-excerpt{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.IPLeiria .card-cts .card-ct .entry-link .entry-excerpt{
    font-size: 0.9rem;
    line-height: 1.5rem;
    -webkit-line-clamp: 3;
}
.IPLeiria .card-cts .card-ct .entry-link .card-ct-scope{
    text-transform: uppercase;
    font-weight: bold;    
    padding-top: 20px;
    font-size: 0.9rem;
}

.IPLeiria .gbib.is-style-theme-infobox-card .gbib-title{
    padding: 10px 0 5px;
    text-transform: uppercase;
    font-weight: 600;
}
.IPLeiria .gbib.is-style-theme-infobox-card .gbib-description{
    line-height: 1rem;
}

/* move upstream */

.IPLeiria .list-inline-block li{
    display: inline-block;
}

.IPLeiria .list-inline-block li:not(:last-child) {
    margin-right: .5rem;
}


.IPLeiria .pages-list .page-item-thumbnail{
    top: 0;
}

.IPLeiria .news.pages-list .page-item-link .page-item-thumbnail-wrapper:after{
    background-color: #1c1c1c;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}
.IPLeiria .news.pages-list .page-item-link .page-item-title{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 15px;
}
.IPLeiria .news.pages-list .page-item-link:hover .page-item-thumbnail-wrapper:after,
.IPLeiria .news.pages-list .page-item-link:focus .page-item-thumbnail-wrapper:after,
.IPLeiria .news.pages-list .page-item-link:active .page-item-thumbnail-wrapper:after{
    opacity: 0.95;
}
.IPLeiria .news.pages-list .page-item-link:hover .page-item-title,
.IPLeiria .news.pages-list .page-item-link:focus .page-item-title,
.IPLeiria .news.pages-list .page-item-link:active .page-item-title{
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    opacity: 1;
}
.IPLeiria .news.pages-list a.page-item-link:active, 
.IPLeiria .news.pages-list a.page-item-link:focus, 
.IPLeiria .news.pages-list a.page-item-link:hover {
    background-color: transparent;
}
.IPLeiria .entry-excerpt{
    line-height: 1.7rem;
}

#content *:not(.no-icon)>a:not(.no-icon)[href$=".pdf"],
#content *:not(.no-icon)>a:not(.no-icon)[href^="https://dre.pt/application/"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".doc"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".docx"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".ppt"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pptx"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zip"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zipx"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".rar"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".tar"],
#content *:not(.no-icon)>a:not(.no-icon)[href$=".gz"],
#content a:not(.no-icon)[href$=".dmg"],
#content .external-link a
/*,#content a:not(.no-icon)[target="_blank"]*/{
    display: inline-block;
    vertical-align: middle;
    line-height: 1.5rem;
    /*margin: .2rem 0;*/
    margin-left: 40px;
    position: relative;
}

.IPLeiria #content .is-style-theme-link-with-icon{
    padding-left: 40px;
/*    line-heig*:not(.no-icon) ht: 1.5rem;*/
}

#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".pdf"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href^="https://dre.pt/application/"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".doc"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".docx"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".ppt"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".pptx"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".zip"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".zipx"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".rar"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".tar"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".gz"],
#content .is-style-theme-link-with-icon a:not(.no-icon)[href$=".dmg"],
#content .is-style-theme-link-with-icon .external-link a
/*,#content .is-style-theme-link-with-icon a:not(.no-icon)[target="_blank"]*/{
    margin-left: 0;
}

/*,#content a:not(.no-icon)[target="_blank"]:before*/
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pdf"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href^="https://dre.pt/application/"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".doc"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".docx"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".ppt"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pptx"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zip"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zipx"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".rar"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".tar"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".gz"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".dmg"]:before,
#content *:not(.no-icon)>a.external-link:before,
#content .external-link a:before{
    background: transparent no-repeat center center;
    content: ' ';
    display: block;
    width: 28px;
    height: 36px;
    vertical-align: middle;
    margin-right: 12px;
    position: absolute;
    top: calc( 1.5rem/2 - 36px/2 );
    left: -40px;
}
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pdf"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href^="https://dre.pt/application/"]:before{
    background-image: url("https://www.ipleiria.pt/wp-content/uploads/2019/05/pdf.png");
}
#content *:not(.no-icon)>a:not(.no-icon)[href$=".doc"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".docx"]:before{
    background-image: url("https://www.ipleiria.pt/wp-content/uploads/2019/05/doc.png");
}
#content *:not(.no-icon)>a:not(.no-icon)[href$=".ppt"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pptx"]:before{
    background-image: url("https://www.ipleiria.pt/wp-content/uploads/2019/05/ppt.png");
}
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zip"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zipx"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".rar"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".tar"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".gz"]:before,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".dmg"]:before{
    background-image: url("https://www.ipleiria.pt/wp-content/uploads/2019/05/zip.png");
}

/*#content a:not(.no-icon)[target="_blank"]:before,*/
#content a.external-link:before,
#content .external-link a:before{
    background-image: url("https://www.ipleiria.pt/wp-content/uploads/2019/05/link.png");
}


#content a:not(.no-icon)[target="_blank"]:after{
    display: inline-block;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 10' fill='%231B7B3E'%3E%3Cpath d='M9.33 10.03H0V.7h5.43v1H1v7.32h7.33v-4.1h1v5.1zM4.252 3.486L8.806.932l.707.707L4.96 6.193zM7.15 0h3.35v3.35'/%3E%3C/svg%3E") center center no-repeat;
    content: ' ';
    width: 10px;
    height: 1rem;
    vertical-align: middle;
    margin: 0 2px 0 4px;
    color: #545454;
}
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pdf"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href^="https://dre.pt/application/"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".doc"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".docx"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".ppt"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".pptx"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zip"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".zipx"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".rar"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".tar"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".gz"]:after,
#content *:not(.no-icon)>a:not(.no-icon)[href$=".dmg"]:after,
#content *:not(.no-icon)>a.external-link:after,
#content .external-link a:after,
#content .external-link a:not(.no-icon):after,
#content .wp-block-button a:not(.no-icon)[target="_blank"]:after,

#content .wp-block-table.no-icon a:before,
#content .no-icon a:before,

#content a.gbib[href$=".pdf"]:before,
#content a.gbib[href^="https://dre.pt/application/"]:before,
#content a.gbib[href$=".doc"]:before,
#content a.gbib[href$=".docx"]:before,
#content a.gbib[href$=".ppt"]:before,
#content a.gbib[href$=".pptx"]:before,
#content a.gbib[href$=".zip"]:before,
#content a.gbib[href$=".zipx"]:before,
#content a.gbib[href$=".rar"]:before,
#content a.gbib[href$=".tar"]:before,
#content a.gbib[href$=".gz"]:before,
#content a.gbib[href$=".dmg"]:before{
    display: none !important;
}

#content .wp-block-button.no-icon > a[href$=".pdf"],
#content .wp-block-button.no-icon > a[href^="https://dre.pt/application/"],
#content .wp-block-button.no-icon > a[href$=".doc"],
#content .wp-block-button.no-icon > a[href$=".docx"],
#content .wp-block-button.no-icon > a[href$=".ppt"],
#content .wp-block-button.no-icon > a[href$=".pptx"],
#content .wp-block-button.no-icon > a[href$=".zip"],
#content .wp-block-button.no-icon > a[href$=".zipx"],
#content .wp-block-button.no-icon > a[href$=".rar"],
#content .wp-block-button.no-icon > a[href$=".tar"],
#content .wp-block-button.no-icon > a[href$=".gz"],
#content .wp-block-button.no-icon > a[href$=".dmg"],
#content .wp-block-table.no-icon a[href],
#content .no-icon a[href]{
    margin-left: 0 !important;
    line-height: inherit !important;
    vertical-align: inherit !important;
}

/* infobox */
.IPLeiria .is-style-theme-title-caps,
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-title{
    font-size: 2rem;
}
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-title-wrapper{
    line-height: 2rem;
}
.IPLeiria .is-style-theme-infobox-caps.gbib .gbib-title,
.IPLeiria .is-style-theme-infobox-caps-left-arrow.gbib .gbib-title,
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-title,
.IPLeiria .custom-meta-field .custom-meta-field-title{
    text-transform: uppercase;
}

.IPLeiria .field-title{
    padding-top: 0;
}

.IPLeiria .is-style-theme-infobox-caps.gbib .gbib-title,
.IPLeiria .is-style-theme-infobox-caps-left-arrow.gbib .gbib-title,
.IPLeiria .custom-meta-field .custom-meta-field-title{
    font-weight: 600;
    padding: 0;
}

.IPLeiria .is-style-theme-infobox-caps.gbib,
.IPLeiria .is-style-theme-infobox-caps-left-arrow.gbib,
.IPLeiria .is-style-theme-infobox-caps-center-arrow-heading-title.gbib,
.IPLeiria .custom-meta-field{
    line-height: 1.5rem;
    text-decoration: none;
    color: #545454;
}

.IPLeiria a.is-style-theme-infobox-caps.gbib,
.IPLeiria a.is-style-theme-infobox-caps-center-arrow-heading-title.gbib{
    text-align: center;
}

.IPLeiria .is-style-theme-infobox-caps-left-arrow.gbib,
.IPLeiria .custom-meta-field{
    text-align: left;
}

.IPLeiria .is-style-theme-infobox-caps.gbib .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-left-arrow.gbib .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-center-arrow-heading-title.gbib .gbib-read-more:after{
    display: inline-block;
    width: 10px;
    height: 10px;
    background: transparent url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='340.034px' height='340.034px' viewBox='0 0 340.034 340.034' style='enable-background:new 0 0 340.034 340.034;' xml:space='preserve'%3E%3Cg%3E%3Cpolygon fill='%231B7B3E' points='222.814,52.783 200.902,74.686 280.748,154.528 0,154.528 0,185.513 280.748,185.513 200.902,265.353 222.814,287.252 340.034,170.023 '/%3E%3C/g%3E%3C/svg%3E") no-repeat center center;
    background-size: 100%;
    content: " ";
    margin-left: 3px;
}

.IPLeiria .is-style-theme-infobox-caps.gbib:hover .gbib-read-more:after,
.IPLeiria .is-style-theme-infobox-caps.gbib:focus .gbib-read-more:after,
.IPLeiria .is-style-theme-infobox-caps.gbib:active .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-left-arrow.gbib:hover .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-left-arrow.gbib:focus .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-left-arrow.gbib:active .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-center-arrow-heading-title.gbib:hover .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-center-arrow-heading-title.gbib:focus .gbib-read-more:after,
.IPLeiria a.is-style-theme-infobox-caps-center-arrow-heading-title.gbib:active .gbib-read-more:after{
    background: transparent url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='340.034px' height='340.034px' viewBox='0 0 340.034 340.034' style='enable-background:new 0 0 340.034 340.034;' xml:space='preserve'%3E%3Cg%3E%3Cpolygon fill='%2378b800' points='222.814,52.783 200.902,74.686 280.748,154.528 0,154.528 0,185.513 280.748,185.513 200.902,265.353 222.814,287.252 340.034,170.023 '/%3E%3C/g%3E%3C/svg%3E") no-repeat center center;
    background-size: 100%;
}

.IPLeiria .custom-meta-field .custom-meta-field-title{
    font-size: 1rem;
    margin-top: 1rem;
}
.IPLeiria .custom-meta-field .custom-meta-field-value{
    font-size: 1rem;
}

.IPLeiria .custom-meta-field p{
    line-height: 2em;
    margin-top: .5rem;
}

.IPLeiria .custom-meta-field p+p{
    margin-top: .5rem;
}



/* move upstream */
/*copied*/

.wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-collapse-pane .wp-block-table{
    margin: 0;
}

.text-pre{
    white-space: pre;
}

.wp-block-table th,
.wp-block-table td {
    padding: 14px 14px;
    line-height: 1.5rem;
}

.wp-block-table th,
.wp-block-table tbody tr:first-child td{
    background-color: #F2F2F2;
    border-bottom: none;
    font-size: 1rem;
    font-weight: 600;
}
.wp-block-table tbody tr td,
.wp-block-table thead+tbody tr:first-child td{
    border-bottom: 1px solid #999999;
    background-color: transparent;
    font-size: 1rem;
    font-weight: normal;
}


.wp-block-table thead tr,
.wp-block-table tbody tr:first-child {
    background-color: #F2F2F2;
}

.wp-block-table thead + tbody tr:first-child {
    background-color: transparent;
}

.wp-block-table thead tr th,
.wp-block-table tbody tr:first-child td{
    border-bottom: 0 none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even),
.wp-block-table.is-style-stripes thead + tbody tr:nth-child(odd){
    background-color: transparent;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.wp-block-table.is-style-stripes thead + tbody tr:nth-child(even) {
    background-color: #F2F2F2;
}

.wp-block-table.is-style-stripes tbody tr td, 
.wp-block-table.is-style-stripes thead+tbody tr:first-child td{
    border-bottom: 0 none;
}

.IPLeiria .card{
    border:  0 none;
}

.IPLeiria .card-header,
.IPLeiria .gba-view .wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-collapse-pane .card-header{
    background-color: #F2F2F2;
}
.IPLeiria .card-header,
.IPLeiria .gba-view .wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-collapse-pane .card-header,
.IPLeiria .gba-view .wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-collapse-pane .card-header+.panel-content{
    border: 1px solid #F2F2F2;
}
.IPLeiria .gba-pane+.gba-pane{
    margin-top: 14px;
}

.IPLeiria .card-header .btn-link{
    color: #545454;
    text-decoration: none;
}

.IPLeiria .card-header .btn-link:before {
    color: #545454;
    display: block;
    width: 10px;
    float: right;
	height: 1.5rem;
    line-height: 2rem;
    content: url("data:image/svg+xml;utf8,<svg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512' ><path fill='currentColor' d='M136.5 185.1l116 117.8c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L128 224.7 27.6 326.9c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.7-4.7-12.3 0-17l116-117.8c4.7-4.6 12.3-4.6 17 .1z'></path></svg>");
}
.IPLeiria .card-header .btn-link.collapsed:before {
    content: url("data:image/svg+xml;utf8,<svg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512' ><path fill='currentColor' d='M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z'></path></svg>");   
}

.IPLeiria .gba-view{
    margin: 34px 0;
}

.IPLeiria .gba-view+.gba-view{
    margin-top: -20px;
}
a.gbib-read-more {
    line-height: 1.5rem;
    display: block;
    font-size: 0.9rem;
}
.gbib-wrapper{
    display: block;
}
.gbmoc{
    overflow: auto;
}
.gbmoc-menu-toggle{
    align-self: center;
}
.gbmoc-menu-container{
    height: auto;
    min-height: 100%;
    align-self: flex-start;
    background-color: #DEDEDE;
}

@media (min-width: 1690px){
    .gbmoc {
        margin-right: calc(max(200px, calc( (100vw - 1140px) / 2) ) * -1 - 10px);
        background-color: rgba(255,255,255,0.75);
        /* background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 1%, rgba(255,255,255,0.75) 99%, rgba(255,255,255,0) 100%);*/
    }
    .gbmoc-menu-container{
        background-color: transparent;
        width: max(50px, calc( (100vw - 1140px) / 2 - 50px ));
    }
}

.gbmoc-menu-container a.gbmoc-scroll-to-top, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:link, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:visited,
.gbmoc-menu-container .gbmoc-title{
    color: #808080;
    font-weight: 600;
}

.gbmoc-menu-container a.gbmoc-scroll-to-top:after{
    display: inline-block;
    width: 10px;
    height: 10px;
    background: transparent no-repeat center center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23808080' width='340.034' height='340.034'%3E%3Cpath d='M154.527 340.035h30.985V59.287l79.84 79.846 21.9-21.912L170.022.001 52.782 117.22l21.903 21.912 79.842-79.846z'/%3E%3C/svg%3E");
    background-size: 100%;
    content: " ";
    margin-left: 3px;
}

.gbmoc-menuitems a.active.gbmoc-scroll-to-top, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:active, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:focus, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:hover{
    color: #1b7b3e;
}

.gbmoc-menu-container a.gbmoc-scroll-to-top:active:after, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:focus:after, 
.gbmoc-menu-container a.gbmoc-scroll-to-top:hover:after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231B7B3E' width='340.034' height='340.034'%3E%3Cpath d='M154.527 340.035h30.985V59.287l79.84 79.846 21.9-21.912L170.022.001 52.782 117.22l21.903 21.912 79.842-79.846z'/%3E%3C/svg%3E");
}

.gbmoc-menu-container .gbmoc-title{
    color: #545454;
}

/* copy to theme */
.wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-container.gbc.gbc-view{
    overflow: hidden;
}
.wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-container .wp-block-embed{
    margin: 0;
}

@media screen and (min-width: 576px) {
    .IPLeiria .scrollable-content,
    .IPLeiria .scrollable-content>.gbc-wrapper{
        height: 100%;
    }
    .IPLeiria .scrollable-content>.gbc-wrapper{
        position: relative;
    }
    .IPLeiria .scrollable-content>.gbc-wrapper>.inner-container,
    .IPLeiria .wp-block-pt-ipleiria-ued-wp-theme-ipleiria-gutenbergblocks-container.gbc.scrollable-content>.gbc-wrapper>.inner-container{
        position: absolute;
    }
    .IPLeiria .scrollable-content>.gbc-wrapper>.inner-container {
        top: 0;
        left: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        --overflow-mask-image: linear-gradient( to bottom, transparent, white 50px, white calc(100% - 50px), transparent );
        mask-image: var(--overflow-mask-image);
        -webkit-mask-image: var(--overflow-mask-image);
        mask-repeat: no-repeat;
        mask-position: 0 0;
    }
    .IPLeiria .scrollable-content.to-the-left>.gbc-wrapper>.inner-container{
        left: auto;
        right: 0;
    }
    .IPLeiria .scrollable-content>.gbc-wrapper>.inner-container::-webkit-scrollbar{
        width: 0;
        height: 0;
    }
    .IPLeiria .img-cover img{
        object-fit: cover;
        width: 100%;
    }
}
.IPLeiria .wp-block-columns{
    margin-bottom: 0;
}

.post-header-thumbnail{
	max-width: 100%;
    height: auto;
}

@media screen and (min-width: 576px) {
	.post-header-thumbnail{
		width: 100%;
        height: auto;
	}
}

/*.IPLeiria .breadcrumb-wrapper{
    position: sticky;
    top: 0;
    right: 0;
    background-color: #FFFFFF;
    z-index: 100;
}
.IPLeiria .gbmoc{
    z-index: 200;
}*/

.IPLeiria figcaption{
    font-size: small;
}

.IPLeiria .wp-block-image img{
    height: auto;
}
hr{
    border-top: 0 none;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.1);
}

.IPLeiria .gbib .gbib-image{
    padding: 10px 0;
}

.IPLeiria .gbmoc-menu-toggle{
    background-color: #1b7b3e;
}

.IPLeiria .wp-block-spacer {
    clear: none;
}

/* safari fix */
@media (min-width: 1690px){
    .gbmoc {
        position: -webkit-sticky;
    }
}

.IPLeiria .sr-only{
    color: white;
    background-color: black;
}
.IPLeiria ul.horizontal li{
}
.IPLeiria ul.horizontal li:after{
    content: '|';
    display: inline-block;
    padding: 0 10px;
}
.IPLeiria ul.horizontal li:last-child:after{
    display: none;
    content: '';
}

/* Testemunhos */
.IPLeiria q{
    font-style: italic;
    quotes: "“" "”" "‘" "’";
    line-height: 1.6rem;
}
.IPLeiria .quote-icon{
    background: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23f5b321' d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z' class=''%3E%3C/path%3E%3C/svg%3E") left center no-repeat;
    display: block;
    height: 1rem;
    margin: 10px 0 5px;
}
.IPLeiria .testimonial .info{
    margin-left: 30px;
    line-height: 1.6rem;
}
.IPLeiria .testimonial .author {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 10px;
}
.IPLeiria .testimonial .meta {
    font-size: 0.8rem;
    /*color: #7b7b7b;*/
    color: #4F4F4F !important;
}

.IPLeiria .wide{
    margin-left: calc( -100vw / 2 + 100% / 2 );
    margin-right: calc( -100vw / 2 + 100% / 2 );
}

.IPLeiria .carousel-indicators li{
    background-color: #262626;
}

.IPLeiria .post-field img {
    max-width: 100%;
    height: auto;
}

.IPLeiria .aligncenter, 
.IPLeiria div.aligncenter{
    text-align: center;
}

.IPLeiria .course_curriculum .carousel-indicators{
    margin-left: 0;
    margin-right: 0;
    justify-content: space-evenly !important;
}

/* front-page */
/*      news */
.posts.news{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.IPLeiria .posts a.entry-link{
    border: 0 none;
}
@media screen and (min-width: 400px){
    .posts.news {
        display: grid; 
        grid-template-columns: 1fr 1fr;
        grid-gap: 4px; 
        grid-auto-flow: dense;
        width: 100%;
    }
}
@media screen and (min-width: 620px){
    .posts.news {
        grid-template-columns: repeat(auto-fill,minmax(300px, 1fr));
    }
}
/*      schools */
.grid-template-schools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    grid-auto-rows: minmax(230px, auto);
    grid-auto-flow: dense;
    list-style: none;
    padding: 0;
} 

.grid-template-schools .school-texts{
    display:block;
    font-size: 1rem;
    line-height: 1.3rem;
    color: white;
    position: relative;
    z-index: 2;
    padding: 80px 60px;
}
.grid-template-schools .school-shortname{
    font-weight: 600;
    font-size: 2rem;
}
.grid-template-schools .school-full-name{
    font-size: 0.9rem;
    padding-top: 7px;
}
.grid-template-schools .school-location{
    display:block;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 20px;
    font-weight: 600;
}
.grid-template-schools .school-btn{
    display:block;
    background: #1c1c1c center center no-repeat;
    background-size: cover;
    position: relative;
    text-decoration: none;
    height: 100%;
}
.grid-template-schools .school-btn:before{
    content:" ";
    display:block;
    background-color: #1c1c1c;
    opacity: .7;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index:1;
}
.grid-template-schools .school-btn:hover,
.grid-template-schools .school-btn:focus,
.grid-template-schools .school-btn:active{
    background-color: #78b800;
}
.grid-template-schools .school-btn:hover:before,
.grid-template-schools .school-btn:focus:before,
.grid-template-schools .school-btn:active:before{
    opacity: 0.2;
}
/*      awards */
.grid-container-awards > .award{
    width: auto;
    max-width: none;
}
.grid-container-awards{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px 10px;
}
@media only screen and (min-width: 576px){
    .grid-container-awards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px){
    .grid-container-awards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 992px) and (max-width: 1200px){
    .grid-container-awards {
        grid-template-columns: repeat(2, 1fr);
    }
}   
@media only screen and (min-width: 1200px) {
    .grid-container-awards {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/*
.IPLeiria .wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: auto;
}*/

/* bot chat */
.IPLeiria #botframework-bot a[href$=".pdf"]:before,
.IPLeiria #botframework-bot a[href^="https://dre.pt/application/"]:before,
.IPLeiria #botframework-bot a[href$=".doc"]:before,
.IPLeiria #botframework-bot a[href$=".docx"]:before,
.IPLeiria #botframework-bot a[href$=".ppt"]:before,
.IPLeiria #botframework-bot a[href$=".pptx"]:before,
.IPLeiria #botframework-bot a[href$=".zip"]:before,
.IPLeiria #botframework-bot a[href$=".zipx"]:before,
.IPLeiria #botframework-bot a[href$=".rar"]:before,
.IPLeiria #botframework-bot a[href$=".tar"]:before,
.IPLeiria #botframework-bot a[href$=".gz"]:before,
.IPLeiria #botframework-bot a[href$=".dmg"]:before {
    display: none !important;
}
.IPLeiria #botframework-bot a[href$=".pdf"],
.IPLeiria #botframework-bot a[href^="https://dre.pt/application/"],
.IPLeiria #botframework-bot a[href$=".doc"],
.IPLeiria #botframework-bot a[href$=".docx"],
.IPLeiria #botframework-bot a[href$=".ppt"],
.IPLeiria #botframework-bot a[href$=".pptx"],
.IPLeiria #botframework-bot a[href$=".zip"],
.IPLeiria #botframework-bot a[href$=".zipx"],
.IPLeiria #botframework-bot a[href$=".rar"],
.IPLeiria #botframework-bot a[href$=".tar"],
.IPLeiria #botframework-bot a[href$=".gz"],
.IPLeiria #botframework-bot a[href$=".dmg"]{
    margin-left: 0 !important;
    line-height: inherit !important;
    vertical-align: inherit !important;
}
.IPLeiria .botfoundry-bot .botfoundry-bot-toggleBtn,
.IPLeiria .botfoundry-bot .botfoundry-bot-toggleBtn .botfoundry-bot-description{
    color: #fff;
    background-color: #1c1c1c;
}

/* custom colors */
.IPLeiria #header,
.IPLeiria body {
    background-color: #fffffe;
    color: #1c1c1c;
}
.IPLeiria svg#logo{
    /*fill: #78b800;*/
    fill: #262626;
}

@media only screen and (min-width: 768px) {
    .IPLeiria #logo-container{
        width: calc(100vw - 75px);
    }
}

.navbar-dark .navbar-toggler {
    color: #1c1c1c;
    border-color: rgba(28,28,28,0.1);
}

.navbar-dark .navbar-toggler:hover,
.navbar-dark .navbar-toggler:focus,
.navbar-dark .navbar-toggler:active {
    color: #78b800;
    color: rgba(17,126,169,1);
    border-color: rgba(68,93,0,0.1);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(28,28,28,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler:hover .navbar-toggler-icon,
.navbar-dark .navbar-toggler:focus .navbar-toggler-icon,
.navbar-dark .navbar-toggler:active .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(17,126,169,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item, 
.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a, 
.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a:link, 
.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a:visited, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a:link, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a:visited{
    color: #1c1c1c;
    white-space: nowrap;
}

.IPLeiria #ipleiria-main-menu.megamenu .navbar-nav .nav-link.show, 
.IPLeiria #ipleiria-main-menu.megamenu .navbar-nav .show>.nav-link, 
.IPLeiria #ipleiria-main-menu.megamenu a:active, 
.IPLeiria #ipleiria-main-menu.megamenu a:focus, 
.IPLeiria #ipleiria-main-menu.megamenu a:hover, 
.IPLeiria #site-main-menu.megamenu .navbar-nav .nav-link.show, 
.IPLeiria #site-main-menu.megamenu .navbar-nav .show>.nav-link, 
.IPLeiria #site-main-menu.megamenu a:active, 
.IPLeiria #site-main-menu.megamenu a:focus, 
.IPLeiria #site-main-menu.megamenu a:hover,
.IPLeiria #ipleiria-main-menu.megamenu .navbar-nav .menu-item .nav-link.show, 
.IPLeiria #ipleiria-main-menu.megamenu .navbar-nav .menu-item .show>.nav-link, 
.IPLeiria #ipleiria-main-menu.megamenu .menu .menu-item a:active, 
.IPLeiria #ipleiria-main-menu.megamenu .menu .menu-item a:focus, 
.IPLeiria #ipleiria-main-menu.megamenu .menu .menu-item a:hover, 
.IPLeiria #site-main-menu.megamenu .navbar-nav .menu-item .nav-link.show, 
.IPLeiria #site-main-menu.megamenu .navbar-nav .menu-item .show>.nav-link, 
.IPLeiria #site-main-menu.megamenu .menu .menu-item a:active, 
.IPLeiria #site-main-menu.megamenu .menu .menu-item a:focus, 
.IPLeiria #site-main-menu.megamenu .menu .menu-item a:hover,
.IPLeiria #footer a:active, .IPLeiria #footer a:focus, .IPLeiria #footer a:hover,
.IPLeiria #footer #about a:active, .IPLeiria #footer #about a:focus,  .IPLeiria #footer #about a:hover{
    color: #74C32C;
}

.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a:active, 
.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a:focus, 
.IPLeiria #ipleiria-main-menu.megamenu > .menu > .menu-item > a:hover, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a:active, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a:focus, 
.IPLeiria #site-main-menu.megamenu > .menu > .menu-item > a:hover,
.IPLeiria a{
    color: #78b800;
}

.IPLeiria a{
    color: #1B7B3E;
}

.IPLeiria .gbmoc-menuitems a.active, 
.IPLeiria .gbmoc-menu-container a:active, 
.IPLeiria .gbmoc-menu-container a:focus, 
.IPLeiria .gbmoc-menu-container a:hover {
    color: #1b7b3e;
}

.IPLeiria #sitemap a:active, 
.IPLeiria #sitemap a:focus, 
.IPLeiria #sitemap a:hover {
    color: #1B7B3E;
}

.IPLeiria #sitemap a:after {
    background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='340.034px' height='340.034px' viewBox='0 0 340.034 340.034' style='enable-background:new 0 0 340.034 340.034;' xml:space='preserve'%3E%3Cg%3E%3Cpolygon fill='%231B7B3E' points='222.814,52.783 200.902,74.686 280.748,154.528 0,154.528 0,185.513 280.748,185.513 200.902,265.353 222.814,287.252 340.034,170.023 '/%3E%3C/g%3E%3C/svg%3E");
}


/*
claro #74C32C -> fundo escuro
escuro #78b800 > fundo branco
*/

.teste{
  font-size: 2.5em !important;
  font-weight: bold;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 3rem;
}/* d1bb75730e5e7d3c4b3053e3e8a22898 */.has-regular-text-color-background-color{background-color: #757575;}.has-regular-text-color-color{color: #757575;}.has-title-text-color-background-color{background-color: #262626;}.has-title-text-color-color{color: #262626;}.has-background-dark-color-background-color{background-color: #1A1A1A;}.has-background-dark-color-color{color: #1A1A1A;}.has-dark-text-color-background-color{background-color: #999999;}.has-dark-text-color-color{color: #999999;}.has-dark-title-text-color-background-color{background-color: #FFFFFF;}.has-dark-title-text-color-color{color: #FFFFFF;}.has-background-grey-color-background-color{background-color: #F3F3F3;}.has-background-grey-color-color{color: #F3F3F3;}.has-estg-background-color{background-color: #78b800;}.has-estg-color{color: #78b800;}.has-small-font-size{font-size: 13px;}.has-normal-font-size{font-size: 16px;}.has-medium-font-size{font-size: 20px;}.has-large-font-size{font-size: 36px;}.has-huge-font-size{font-size: 48px;}