body {
    font-family: 'Roboto', sans-serif;
    color: #312d46;
    background-color: #f8f8f8;
}

.alcenter {
    text-align: center;
}

.bgwhite {
    background-color: #ffffff;
}

.bglightred {
    background-color: #e8c9c9;
}

.bgwred {
    background-color: #a11e1f;
}

a {
    color: #312d46;
}

.bgwred a {
    color: #ffffff;
    display: block;
    margin-left: -15px;
    margin-right: -15px;
}

.bgwred a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #b52f30;
}

.bgwred.consumidor {
    background-color: #c9e182;
}

.bgwred.consumidor a {
    color: #ffffff;
    display: block;
    margin-left: -15px;
    margin-right: -15px;
}

.bgwred.consumidor a:hover {
    color: #b1d34b;
    text-decoration: none;
    background-color: #e0f69f;
}



.txtwhite {
    color: #ffffff;
}

sub {
    font-family: 'Roboto', sans-serif;
    font-size: 60%;
}


/*------------------------------------------------- index1 -------------------------------------------------------------------*/

.initmenu a {
    text-decoration: none;
    color: #8a0a0b;
    margin: 15px;
}

.initmenu a:hover {
    text-decoration: none;
    color: #333333;
}

.initmenu sup {
    top: -.35em;
    font-size: 100%;
}


/*------------------------------------------------- index2 -------------------------------------------------------------------*/

.initmenu1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #ffffff;
    width: 850px;
    text-shadow: 1px 1px #000000;
}


/*************************************************** Porto & Douro ************************************************************/

.topbar {
    background-color: #8a0a0b;
}

.topbar.consumidor{
    background-color: #b1d34b;
}

.topcol {
    line-height: 40px;
}

.menutop {
    text-align: center;
    border-left: 1px solid #8a0a0b;
    border-right: 1px solid #8a0a0b;
}

.menutop.consumidor {
    text-align: center;
    border-left: 1px solid #b1d34b;
    border-right: 1px solid #b1d34b;
}

.topcol i {
    margin-left: 5px;
}

.flag {
    margin-right: 5px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 2;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 12px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    text-transform: uppercase;
}

.navbar {
    margin-bottom: 0;
    border-bottom: 4px solid #8a0a0b;
    border-radius: 0;
    text-transform: uppercase;
    border:0;
    border-top: 1px solid transparent;
}

.navbar.consumidor {
    margin-bottom: 0;
    border-bottom: 4px solid #b1d34b;
    border-radius: 0;
    text-transform: uppercase;
}

.navbar-nav>li>.dropdown-menu {
    border-radius: 0;
}

.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background-color: #8a0a0b;
    color: #ffffff;
    background-image: none;
    filter: none;
    background-repeat: repeat-x;
}

.font12 {
    font-size: 12px;
}

.titulo {
    font-size: 14pt;
    color: #535353;
    font-weight: 500;
}

.ticker {
    background-color: #8a0a0b;
}

.ticker.consumidor {
    background-color: #b1d34b;
}

.tickerblack {
    background-color: #666666;
    border-top: 1px solid #999999;
}

.pesqgroup {
    margin-top: 6px;
    max-width: 250px;
}

.pesqelem {
    border-radius: 0;
    border: 0;
    height: 26px;
}

.errorpesq .pesqelem {
    border-radius: 0;
    border: 1px solid #cecece;
    height: 26px;
}

.menuerror li {
    line-height: 22px;
}

button.pesqelem {
    padding: 4px 12px;
}

.sombra {
    width: 100%;
    height: 19px;
}

.slick-prev {
    position: absolute;
    top: -35px;
    right: 40px;
    height: 30px;
    width: 30px;
    border: 1px solid #8a0a0b;
    background-color: #8a0a0b;
    color: #ffffff;
}

.slick-next {
    position: absolute;
    top: -35px;
    right: 5px;
    height: 30px;
    width: 30px;
    border: 1px solid #8a0a0b;
    background-color: #8a0a0b;
    color: #ffffff;
}

.eventCalendar-currentTitle {
    line-height: 35px;
    background-color: #8a0a0b;
}

.eventCalendar-monthWrap {
    border-radius: 0;
    top: 0;
    background-color: #ffffff;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
}

.eventCalendar-list-content {
    height: 248px;
    overflow-y: auto;
    padding: 0px;
}

.evtcontainer {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    background-color: #ffffff;
}

.eventCalendar-showAsWeek .eventCalendar-day {
    border: 1px #fff solid;
    background-color: #f5f5f5;
}

.eventCalendar-showAsWeek .eventCalendar-day:hover {
    border: 1px solid #8a0a0b;
}

.eventCalendar-daysList.eventCalendar-showAsWeek {
    margin: 15px 15px;
    width: auto;
    min-height: 230px;
}

.eventCalendar-currentTitle .eventCalendar-monthTitle {
    font-size: 100%;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    display: block;
    text-align: center;
}

.eventCalendar-subtitle {
    background: #8a0a0b;
    color: #fff;
    margin: 0 !important;
    font-size: 100% !important;
    text-transform: uppercase;
    text-align: center;
    line-height: 35px;
    padding: 0;
}

.eventCalendar-prev {
    left: 16px;
}

.eventCalendar-next {
    right: 16px;
}

#cal-calendar {
    width: 60px;
    height: 60px;
    line-height: 100%;
    position: absolute;
    left: 0;
    background: #8a0a0b;
    color: #fff;
    padding: 5px;
}

#cal-calendar-title {
    height: 60px;
    padding: 10px 10px 10px 70px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 110%;
}

.eventCalendar-list li a.eventCalendar-eventTitle {
    color: #0E8EAB;
    width: 100%;
}

.eventCalendar-list li {
    display: block;
    position: relative;
    height: 60px;
    padding: 0;
    margin-top: 2px;
    background: #f0f0f0;
}

#cal-calendar-month {
    font-size: 12px;
    text-align: center;
    line-height: 17px;
}

#cal-calendar-day {
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    line-height: 17px;
}

#cal-calendar-year {
    font-size: 12px;
    text-align: center;
    line-height: 17px;
}

.eventCalendar-day-header {
    background: #c16c6d none repeat scroll 0 0;
    font-size: 10px;
    height: 27px !important;
    line-height: 27px;
    text-align: center;
    text-transform: uppercase;
    border: 1px #fff solid;
    color: #ffffff;
}

.textbox {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    border: 0;
}

.destaque {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    padding: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    border: 0;
    display: block;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
    -ms-transition: all .2s linear;
}

.destaque:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
}

.destaque img {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

a:hover {
    text-decoration: none;
}

.dtnot {
    color: #999999;
    font-size: 12px;
}

.titnot {
    color: #8a0a0b;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.titnot.consumidor {
    color: #b1d34b;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.titonot {
    color: #8a0a0b;
    line-height: 13px;
    margin: 0;
    font-size: 12px;
}

.divisoria {
    height: 30px;
}

.prefooter {
    background-color: #b6b7bc;
    padding-top: 30px;
    padding-bottom: 30px;
}

.colspace30 {
    margin-bottom: 30px;
}

.slick-slide {
    padding: 10px;
}

.skickevents .slick-slide {
    padding: 0;
    position: relative;
    cursor: pointer;
    text-align: center;
    color: #ffffff;
}

.skickevents .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.95), transparent);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.95), transparent);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.eventslider {
    background-color: #ffffff;
    padding: 0;
}

.skickevents .slick-slide img {
    width: 100%;
}

.skickevents .event-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
}

.skickevents .event-info a {
    width: auto;
    height: 40px;
    color: #fff;
    line-height: 39px;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 30px;
    background-color: #8a0a0b;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    display: inline-block;
    opacity: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

.skickevents .slick-slide:hover a {
    opacity: 1;
}

.skickevents .slick-slide:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
}

.skickevents .slick-slide:hover .event-info, .skickevents .slick-slide:focus .event-info {
    transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
}

.skickevents .event-info span {
    display: block;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px #000;
}

.skickevents .event-info h4 {
    color: #fff;
    max-width: 330px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.4em;
    text-transform: uppercase;
}

.skickevents .event-info p {
    color: #fff;
    margin-bottom: 0;
}

.footer {
    background-color: #4d4c5f;
    color: #ffffff;
}

.negrito {
    font-weight: 500;
}

.noradius {
    border-radius: 0;
}

.bgred {
    background-color: #8a0a0b;
}

.news .input-group-addon {
    padding: 2px 12px;
    font-weight: 500;
}

.news button {
    padding: 2px 12px;
    font-weight: 500;
}

.news input {
    height: 26px;
}

.footer li {
    margin-top: 3px;
    margin-bottom: 3px;
}

.centerimg {
    margin: 0 auto;
}

.initmenu {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
}

.desktop {
    display: block;
}

.smartph {
    display: none;
}

.btarea {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
    color: #999999;
}

.breadcrumb {
    padding: 8px 0;
    margin-bottom: 0;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    text-transform: uppercase;
    color: #cccccc;
}

.breadcrumb>.active {
    color: #666666;
}

.breadcrumb a {
    color: #cccccc;
}

.breadcrumb a:hover {
    color: #666666;
    text-decoration: none;
}

.pagetitle {
    color: #f5f5f5;
    font-size: 24px;
    font-style: italic;
    padding-top: 15px;
    padding-bottom: 15px;
    /*text-shadow: 1px 1px 2px rgba(255,255,255,0.4);*/
}

.aligncenter {
    text-align: center;
}

.alignright {
    text-align: right;
}

.alignjustify {
    text-align: justify;
}

.coltitle {
    text-align: left;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    width: 100%;
    padding-left: 15px;
    line-height: 43px;
    font-weight: 800;
    font-size: 16px;
}

.maintitle {
    text-align: left;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    width: 100%;
    padding-left: 15px;
    line-height: 43px;
    font-weight: bold;
    font-size: 20px;
}

.texttools {
    text-align: right;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    width: 100%;
    padding: 5px;
}

.texttools i {
    font-size: 18px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    padding: 5px;
    background-color: #ffffff;
    color: #666666;
    min-width: 36px;
    min-height: 33px;
    text-align: center;
}

.texttools i span {
    font-size: 15px;
    vertical-align: super;
}

.texttools a {
    margin-left: 5px;
}

.titevts {
    color: #8a0a0b;
    font-weight: 800;
}

.rightgreyborder {
    border-right: 1px solid #999999;
    padding-top: 15px;
    padding-bottom: 15px;
}

.errorlinks {
    padding-top: 15px;
    padding-bottom: 15px;
}

.h5, h5 {
    font-size: 20px;
}

.imgnoticias {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    max-width: 50%;
}

.outrasnoticias {
    margin: 0;
    min-height: 300px;
    position: relative;
}

.outrasnoticias .celimg {
    border: 2px solid #ffffff;
    width: 20%;
    display: table-cell;
}

.outrasnoticias .tabela {
    display: table;
    margin-bottom: 15px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    -ms-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    width: 100%;
}

.outrasnoticias .celtexto {
    width: 80%;
    display: table-cell;
    padding: 5px;
    padding-left: 15px;
    padding-right: 10px;
    text-align: justify;
}

.outrasnoticias .tabela:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 10px 0;
    border-radius: 0;
}

.pagination>li:first-child>a, .pagination>li:first-child>span {
    margin-left: 0;
    border-radius: 0;
}

.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-radius: 0;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 10px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #8a0a0b;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #8a0a0b;
    border-color: #8a0a0b;
}

.loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #8a0a0b;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin .7s linear infinite;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nomargin {
    margin: 0;
}

.mapa {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
    height: 250px;
}

.frm input, .frm textarea, .frm select {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-enviar {
    color: #ffffff;
    background-color: #8a0a0b;
    border-radius: 0;
    float: right;
    width: 100%;
}

.btn-enviar:hover, .btn-enviar:focus {
    color: #ffffff;
    background-color: #a92b2c;
}

#progress {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.loader {
    border: 8px solid #f3f3f3;
    /* Light grey */
    border-top: 8px solid #8a0a0b;
    /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin .7s linear infinite;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.footerlink{
    color:#ffffff;
}

.footerlink:hover{
    color:#8a0a0b;
}

.eventos{
    background-color: #eeeeee;
}

.vermais {
    width: auto;
    height: 40px;
    color: #fff;
    line-height: 39px;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #8a0a0b;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    display: inline-block;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

.vermais:hover,.vermais:focus {
    background-color: #a92b2c !important;
    color:#ffffff;
}

.bgselo{
    background: url(/images/logobg.png) right bottom no-repeat;
}

.logolink{
    margin: 15px;
    display: block;
    color: #333333;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#harm-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    display: none;
    background-color: rgba(0,0,0,.9);
}

#harm-close {
    position: absolute;
    right: 15px;
    top: 15px;
    padding: 3px;
}

.secopt{
    min-height:112px;
    line-height:112px;
    text-align:center;
    position: relative;
    transition: all 0.3s ease-out;
    overflow: hidden;
}

.secopt a{
    display: block;
    position: absolute;
    z-index: 2;
    top:0;
    left:0;
    width:100%;
    height:100%;
    transition: all 0.3s ease-out;
}

.secopt a:hover{
    color:#fff;
}

.secopt .secopt-overlay{
    position: absolute;
    background-color: rgba(0,0,0,.5);
    top:100%;
    left:0;
    width: 100%;
    height:100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.secopt:hover .secopt-overlay{
    top:0;
    opacity:1;
}

.fancybox-active {
    height: 100%;
}

.text-center{
    text-align:center;
}

.fancybox-content{
	max-width: 1024px;
}

.imgflag{
	border: 1px solid #cccccc;
}

@media (max-width: 1200px) {
    .skickevents .event-info h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }
    .navbar .navbar-collapse {
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    .rightgreyborder {
        border-bottom: 1px solid #999999;
        border-right: 0;
    }
    .secopt{
        min-height:30px;
        line-height:30px;
        text-align:center;
    }
}

@media only screen and (max-width: 480px) {
    .desktop {
        display: none !important;
    }
    .smartph {
        display: block;
    }
    .initmenu a {
        width: 100%;
        float: left;
        margin: 0;
        padding: 5px;
        border-bottom: 1px solid #cecece;
    }
    .initmenu a:last-child {
        border: 0;
    }
    .btarea {
        top: 15px;
        text-align: right;
        position: relative;
        margin-bottom: 15px;
    }
    .imgnoticias {
        float: none;
        margin-right: 0;
        max-width: 100%;
    }
    .frm input, .frm textarea, .frm select {
        font-size: 16px;
    }
    #RecaptchaField0>div {
        margin-left: -20px;
    }
}

html, body{
    width:100%;
    height:100%;
    margin:0;
    padding:0;
}