body:not(.template-slider) #Header_wrapper {
    background-image: url(../cs-img/banner.png);
    background-size:  cover;
    background-position: center center;
}

#Header .top_bar_left,
.header-classic #Top_bar, .header-plain #Top_bar, .header-stack #Top_bar, .header-split #Top_bar,
.header-fixed #Top_bar, .header-below #Top_bar, #Header_creative, #Top_bar #menu,
.sticky-tb-color #Top_bar.is-sticky,
#Footer .footer_copy {
    background-color: #054F77;
}

#Top_bar .menu > li ul {
    background-color: #054F77;
}

#Top_bar:not(.is-sticky) {
    border-bottom: 1px solid #054F77;
}


#Top_bar .menu > li ul li a {
    color: #fff;
}

#Top_bar .menu > li ul li a:hover, #Top_bar .menu > li ul li.hover > a {
    color: white;
}

#Top_bar .menu > li > a, #Top_bar #menu ul li.submenu .menu-toggle {
    color: #fff !important;
}

#Top_bar .menu > li ul li a:hover, #Top_bar .menu > li ul li.hover > a {
    text-decoration: none;
    background:     white);
}

#Top_bar .menu li ul li:hover {
    background-color: #054F77;
}

#Top_bar .menu > li a:after {
    background: #fff;
}

#Top_bar .menu li ul li a .menu-arrow {
    position:  absolute;
    right:     7px;
    top:       11px;
    font-size: 12px;
    color:   #fff;
}

#Top_bar .menu > li > a span:not(.description) {
    border-right-width: 2px !important;
    border-style:       solid;
    border-color:       #054F77;
}

.cs-name {
    color:     white;
    font-size: 20px;
}

.cs-ul-ficheiros {
    list-style: inside;
    color:      #054F77;
}

@media only screen and (max-width: 767px) {
    #Top_bar .logo #logo img {
        padding-right: 15px;
    }
}

#Top_bar .logo {
    /*float:  left !important;*/
    /*margin: 0 !important;*/
}

@media only screen and (min-width: 768px) {
    #Top_bar.is-sticky {
        height: 95px;
    }
}

@media only screen and (min-width: 1240px) {
    #Top_bar.is-sticky #logo img {
        max-height: 80px;
        width:      auto !important;
    }
}

@media only screen and (min-width: 768px) {
    #Top_bar.is-sticky .menu_wrapper {
        clear:      none;
        margin-top: 18px !important;
    }
}

.cs-conteudo-class1 {
    padding: 20px 2% 10px;
}

.cs-conteudo-img-class1 {
    margin-top: 50px
}

.cs-conteudo-img-class2 {
    margin-top: -50px
}

.cs-h-conteudo {
    text-align:    left;
    margin-bottom: 15px;

}

.entry-content .table td {
    border: none;
}

.cs-border {
    border-bottom:  3px solid #e7bd22;
    padding-bottom: 10px;
    display: inline-block;
}

.cs-shadow {
    box-shadow: 0 3px 5px 5px rgba(0, 0, 0, 0.1);
}

.cs-themecolor {
    color: #7495b6;
}

.cs-color span {
    border-bottom: 1px solid black;
}

#Subheader {
    padding:          75px;
    background-color: rgba(53, 53, 53, 0.5) !important;
    color:white;

}

#Subheader h4{
    color:white !important;
}

#Content {
    /*padding-top: 75px !important;*/
}

.custom-shadow {
    width:              65% !important;
    background-color:   #ffffffc4;
    padding:            30px;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(219, 219, 219, 1);
    -moz-box-shadow:    0px 0px 9px 1px rgba(219, 219, 219, 1);
    box-shadow:         0px 0px 9px 1px rgba(219, 219, 219, 1);
}

#Subheader .title {
    font-style:   initial;
    font-variant: all-small-caps;
}

#Top_bar .menu > li > a span {
    text-transform: uppercase;
}

.cs-bg-color {
    background-color:#333333!important;
}

.cs-bg-banner {
    background-color:        #ffffff;
    background-image:        linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.9)), url(../cs-img/banner.jpg);
    background-repeat:       no-repeat;
    background-position:     center;
    background-attachment:   scroll;
    background-size:         contain;
    -webkit-background-size: contain
}

.cs-border-radius {
    border-radius: 10px;
}

.text-white {
    color: white !important;
}

.bg-white {
    background-color: white !important;
}

.tparrows {
    background-color: #2c2c2c9a !important;
}

.pull-right {
    float: right;
}

#Footer .footer_copy {
    border-top: none !important;
}

#Footer .footer_copy .one {
    padding-top: 15px !important;
}

.portfolio_group.flat .portfolio-item {
    width:   22% !important;
    padding: 0 5px !important;
}

#Side_slide {
    background-color: #fff;
    border-color:     #fff;
}

#Side_slide #menu ul li.current-menu-item > a, #Side_slide #menu ul li.current_page_item > a,
#Side_slide #menu ul li.current-menu-parent > a, #Side_slide #menu ul li.current-page-parent > a,
#Side_slide #menu ul li.current-menu-ancestor > a, #Side_slide #menu ul li.current-page-ancestor > a,
#Side_slide #menu ul li.current_page_ancestor > a, #Side_slide #menu ul li.hover > a,
#Side_slide #menu ul li:hover > a {
    color: black;
}

#Footer .footer_copy a#back_to_top :before {
    color: white;
}

#Footer {
    bottom:   0;
    position: relative;
    left:     0;
    right:    0;
}

#Wrapper {
    -webkit-box-shadow: none !important;
    box-shadow:         none !important;
}

@media only screen and (max-width: 767px) {
    #Top_bar {
        background-color: #054F77 !important;
    }

    .cs-name {
        font-size: 12px !important;
    }

    .portfolio_group.flat .portfolio-item {
        width:   100% !important;
        padding: 5px 0 !important;
    }

    .minimalist-header-no #Subheader {
        padding: 45px 0 !important;
    }

    .tparrows {
        width:  15px !important;
        height: 15px !important;
    }

    .tparrows:before {
        font-size:   5px !important;
        line-height: 15px !important;
    }

    #logo img.scale-with-grid, #logo img {
        max-width: 65%;
    }

    .cs-conteudo-logo {
        background-position:     80% 56% !important;
        -webkit-background-size: 17% 10% !important;
    }
}

#Footer .widgets_wrapper {
    background-color:   #222;
    padding:          0px 0;
    color:            white;
}

.column-margin-30px .column {
    margin-bottom: 15px !important;
}

#Content .content_wrapper {
    padding: 15px 0 25px 0;
}

.cs-ul-ficheiros-grid {
    list-style: none1;
}

.cs-box-file {
    border:  0.2px dotted rgba(184,0,38,.75);
    padding: 25px 10px;
    margin:  15px 0;
}

.cs-box-file:hover {
    background-color: rgba(184,0,38,.75);
}

.cs-box-file a,
.cs-box-file a:visited,
.cs-box-file a:focus {
    color:           black;
    outline:         none;
    text-decoration: none;
}

.cs-box-file a:hover,
.cs-box-file:hover a {
    color: white;
}

.cs-box-file span {
    font-size:      30px;
    line-height:    40px;
    font-weight:    700;
    letter-spacing: 0px;
}

.cs-box-file img {
    max-width:      3% !important;
    vertical-align: middle;
    float:          left;
    padding:        0 15px;
}

.cs-box-file button {
    float:            right;
    background-color: rgba(184,0,38,.75);
    font-size:        medium;
    text-transform:   uppercase;
}

.cs-box-file:hover button {
    background-color: white;
    color:            rgba(184,0,38,.75);
}

.cs-color {
    color: #e7bd22 !important;
}

.text-center {
    text-align: center;
}

.section-post-related .post-related .image_frame {
    margin-left: 0px !important;
}

.section-post-related .section-related-adjustment {
    border: none;
}

.custom-shadow-index-contacto {
    background-color:   #fffffff2;
    padding:            30px;
    -webkit-box-shadow: 0px 0px 9px 1px rgba(219, 219, 219, 1);
    -moz-box-shadow:    0px 0px 9px 1px rgba(219, 219, 219, 1);
    box-shadow:         0px 0px 9px 1px rgba(219, 219, 219, 1);
}

.cs-line-theme {
    display:    block;
    width:      20%;
    height:     5px;
    background: #b80026;
    margin:     0 auto;
}

.cs-background-overlay-white {
    background-color: rgba(255, 255, 255, 0.67) !important;
}

.p-t-50 {
    padding-top: 50px !important;
}

.p-b-50 {
    padding-bottom: 50px !important;
}

.p-t-100 {
    padding-top: 100px !important;
}

.p-b-100 {
    padding-bottom: 100px !important;
}

.p-t-150 {
    padding-top: 150px !important;
}

.p-b-150 {
    padding-bottom: 150px !important;
}

.logo-footer {
    max-height: 150px;
    float:      left;
    margin:     10px 35px 10px;
}

.cs-contact-footer {
    text-align: left;
    float:      right;
}

.image_frame {
    border: none;
}

.cs-text-upper {
    text-transform: uppercase;
}

.cs-bg-color-img {
    padding-top: 50px;
    padding-bottom: 0px;
    background-repeat: repeat-y;
    background-position: center top
}
.cs-bg-color-img-right{
    padding-top: 50px;
    padding-bottom: 0px;
    background-image: url(../cs-img/sectionbg1_right.png);
    background-repeat: repeat-y;
    background-position: center top
}

.cs-tag{
    border: 1px solid rgba(184,0,38,.75);
    border-radius: 25px;
    display: inline;
    padding: 15px;
    margin: 25px;
    background-color: rgba(184,0,38,.75);
    color: white;
}

.cs-contact-form{
    background-color:#fddfdf;
    padding:80px 15% 40px;
    border-radius: 8px
}

#Subheader h4 span{
    padding-left: 15px;
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
}


.cs-box-file-grid {
    border:  0.2px dotted rgba(184,0,38,.75);
    padding: 25px 10px;
    margin:  15px 0;
}

.cs-box-file-grid:hover {
    background-color: rgba(184,0,38,.75);
}

.cs-box-file-grid a,
.cs-box-file-grid a:visited,
.cs-box-file-grid a:focus {
    color:           black;
    outline:         none;
    text-decoration: none;
}

.cs-box-file-grid a:hover,
.cs-box-file-grid:hover a {
    color: white;
}

.cs-box-file-grid span {
    font-size: 18px;
    line-height: 35px;
    font-weight: 600;
    letter-spacing: 0px;
}

.cs-box-file-grid img {
    max-width:      15% !important;
    vertical-align: middle;
    float:          left;
    padding:        0 15px;
}

.cs-box-file-grid button {
    float:            right;
    background-color: rgba(184,0,38,.75);
    font-size:        medium;
    text-transform:   uppercase;
}

.cs-box-file-grid:hover button {
    background-color: white;
    color:         rgba(184,0,38,.75);
}


.cs-list-file {
    border:  0.2px dotted rgba(184,0,38,.75);
    padding: 20px 10px;
    margin:  0;
    min-height: 25px;
}

.cs-list-file:hover {
    background-color: rgba(184,0,38,.75);
}

.cs-list-file a,
.cs-list-file a:visited,
.cs-list-file a:focus {
    color:           black;
    outline:         none;
    text-decoration: none;
}

.cs-list-file a:hover,
.cs-list-file:hover a {
    color: white;
}

.cs-list-file span {
    font-size: 25px;
    line-height: 35px;
    font-weight: 600;
    letter-spacing: 0px;
}

.cs-list-file img {
    max-width:      15% !important;
    vertical-align: middle;
    float:          left;
    padding:        0 15px;
}

.cs-list-file button {
    float:            right;
    background-color: rgba(184,0,38,.75);;
    font-size:        medium;
    text-transform:   uppercase;
    padding: 5px;
}

.cs-list-file:hover button {
    background-color: white;
    color:            rgba(184,0,38,.75);;
}

.tp-bannertimer .tp-bottom{
    height: 5px;
    background-color: rgba(184,0,38,.75);;
    /*background-color: rgba(166, 216, 236, 1.00);*/
}

.tp-mask-wrap{
    color:white;
}

.tp-mask-wrap a,
.tp-mask-wrap a:hover{
    text-decoration: none!important;
    color:white;
}


.tp-tab-title,
.tp-tab-desc{
    color:white;
}

.rev_slider .tp-mask-wrap *:last-child{

}

.Newspaper-Button:hover{
    background-color: rgba(184,0,38,.75); !important;
    color:white !important;
}



/*CUSTOM*/

/*notícias*/
.item-noticias{
    position: relative;
    background-size: cover;
    background: #054F77;
    margin-bottom:20px !important;
}


.item-noticias .item-noticias-overlay{
    background-color: rgba(0, 0, 0, 0.4);
    margin:0px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 9998;  

}

@media only screen and (max-width: 768px) {
    .item-noticias .item-noticias-overlay{
        background-color: transparent !important; 
    }
}

.item-noticias .item-noticias-overlay:hover{
    background-color: rgba(0, 0, 0, 0.0);
    cursor: pointer;
}

.item-noticias .item-noticias-overlay:hover + .item-noticias-left{
    background-color:rgba(5,79,119,.75);
    cursor: pointer;
}


.item-noticias .item-noticias-left{
    background-color:rgba(5,79,119,.75);
    margin:0px;
    height: 25vh !important;    
    width: 50% !important;
    position: relative;
    color:white;  
    padding:20px;
}




.item-noticias .item-noticias-left a{
    position: absolute;
    bottom:1vh;
    left:1vw;
    color:white;
    z-index: 9999; 
    text-decoration: none;      
}


.item-noticias .item-noticias-left h3{
    font-size:18px;
    line-height: 25px;
    margin-bottom:10px;
}


.ver-mais-link{
text-align:right;
margin-right:10px;
padding-top: 35px;
cursor: pointer;
font-weight: bold;
color:#054F77;

}

.ver-mais-link:hover{
    color: rgba(184,0,38,.75);
    cursor: pointer;
}

/*Positions*/

.text-right{
    text-align:right;
}

.text-center{
    text-align:center;
}


/* CUSTOM */

*TOP BAR */
#top-bar-wrap {
    position: relative;
    font-size: 12px;
    border-bottom: 1px solid #f1f1f1;
    z-index: 101;
    background-color:#ccc;
}
#top-bar-social.top-bar-right {
    position: absolute;
    right: 0;
    top: 50%;
    height: 20px;
    line-height: 20px;
    
}

#top-bar {
    padding: 8px 0;
    
}

#top-bar-social li {
    float: left;
}

#top-bar-social li a {
    display: block;
    float: left;
    font-size: 14px;
    color: #bbb;
    padding: 0 6px;    
}

#top-bar-social.top-bar-right {
    position: absolute;
    right: 0;
    top: 50%;
    height: 20px;
    line-height: 20px;
   
}

#top-bar-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#top-bar-social.top-bar-right li:last-child a {
    padding-right: 0;
}

#top-bar-inner {
    position: relative;
}

.top-bar-right {
    float: right;
}

.top-bar-left {
    float: left;
}

/*SOCIAL*/

.social-share{
    display: -ms-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 1;
    border-radius: 30px;
    overflow: hidden;
}


.owpss-icon {
    fill: #bbb;
}

.social-share.style-minimal .facebook a:hover {
    color: #3b5998;
    border-color: #3b5998;
}

#footer-widgets .footer-box a:hover {
    color: #720a09;
}
     
a:hover {
    color: #720a09;
}


.scroll-down-link {
    margin: 0px 0 0 -20px;
    line-height: 40px;
    position: absolute;
    left: 50.4%;
    bottom: 10px;
    color: (83,116,135,.75);
    text-align: center;
    font-size: 25px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
    -webkit-animation: avia_fade_move_down 2s ease-in-out infinite;
    animation: avia_fade_move_down 2s ease-in-out infinite;
}

@-webkit-keyframes
avia_fade_move_down{0%{-webkit-transform:translate(0,-20px);opacity:0}50%{opacity:1}100%{-webkit-transform:translate(0,20px);opacity:0}}@keyframes
avia_fade_move_down{0%{transform:translate(0,-20px);opacity:0}50%{opacity:1}100%{transform:translate(0,20px);opacity:0}}@-webkit-keyframes
avia_slide_down{0%{height:0%}100%{height:100%}}

/*SOCIAL*/

.social-share.style-minimal {
    border: 1px solid #e9e9e9;
}

.social-share{
    display: -ms-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    line-height: 1;
    border-radius: 30px;
    overflow: hidden;
}

.owpss-icon {
    fill: #bbb;
}

.social-share.style-minimal .facebook a:hover {
    color: #3b5998;
    border-color: #3b5998;
}

#footer-widgets .footer-box a:hover {
    color: #13aff0;
}
     
a:hover {
    color: #13aff0;
}

.widget-title {
    display: block;
    line-height: 1;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    border-width: 0 0 0 3px;
    border-style: solid;
    border-color: #13aff0;
    letter-spacing: 1px;
    padding-left: 15px;
    margin: 0 0 20px;
    text-transform: capitalize;
}

/*RGPD*/

.forms-field-label-inline {
    display: inline;
    vertical-align: baseline;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.widget-title {
    display: block;
    line-height: 1;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    border-width: 0 0 0 3px;
    border-style: solid;
    border-color: #13aff0;
    letter-spacing: 1px;
    padding-left: 15px;
    margin: 0 0 20px;
    text-transform: capitalize;
    border-color: #ec3642;
}

#footer-widgets .footer-box .widget-title {
    color: #fff;
}


@media only screen and (max-width: 767px) {
	#Footer {
		margin: 0;
		width: 100%!important;
		clear: both;
		text-align: center;
    }
    
    .logo-footer{
       margin: 0 auto;
       float:none;
    }

    #top-bar-content, #top-bar-social-alt {
        float: none;
        text-align: center;
    }
    #top-bar-social.top-bar-left, #top-bar-social.top-bar-right {
        position: inherit;
        left: auto;
        right: auto;
        float: none;
        height: auto;
        line-height: 1.5em;
        margin-top: 0;
        
    }

    #top-bar-social li {
        float: none;
        display: inline-block;
 }
    #top-bar-social {
        text-align: center;
    }

    .top-bar-right {
        float: none;
        text-align: center;
    }

    #Top_bar {
        background-color: #fff !important;
    }


    .elementor-element.hero-btn {
        text-align: center !important;
    }
}
  