@import url(http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
@import url(http://fonts.googleapis.com/css?family=Nunito:400,700,300);


html,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  font-weight: 400;
  word-spacing: 0.5px;
}

html,
body {
  height: 100%;
}

a{
  color: #34495E;
  text-decoration: none;
}

/* hide Nacionais 2016 from main menu */
#menu-1477-1 {
  display: none;
}

/* hide Taça CNID from main menu */
#menu-1597-1 {
  display: none;
}

/* hide Inicidados 2016 from main menu */
#menu-1609-1 {
  display: none;
}

.node--article h2 {
  margin-bottom: 10px;
}

.l-page {
  width: 952px;
  margin-left: auto;
  margin-right: auto;
}

.l-main {
  padding-bottom: 6px !important;
}

.l-header,
.l-region--navigation,
.l-main {
  max-width: 952px !important;
  
}

.l-footer {
  margin-bottom: 0px;
}

.l-main {
  margin-bottom: 14px !important;
}

ul.breadcrumb {
  display: none;
}

.l-footer {
  max-width: 929px !important;
  clear:both;
}

.l-main {
  background: #F9F9F9;
  box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.2);
  margin-top: -2px;
}

.l-branding {
  position: relative;
  top: 15px;
  left: 2%;
}

.l-content {
  padding-left: 1.2%;
  padding-right: 1.2%;
  min-height: 439px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.left-content {
  float: left;
}


.not-front .left-content {
  width: 100%;
  padding-bottom: 20px;
}



.not-front .l-content {
  padding-left: 19px;
  padding-right: 19px;
  padding-top: 25px;
}

.l-header {
  margin-bottom: 0px !important;
}

.l-region--navigation {
  margin: 0 auto;
}

.front h1 {
  display: none;
}

.front .field--name-title h2 {
  display: none;
}

.governo {
  background: url("../images/governo.png");
  background-repeat: no-repeat;
  float: right;
  min-height: 50px;
  margin-top: 20px;
  text-indent: -9999px;
  width: 100%;
  max-width: 368px;
  margin-right: 1%;
}

.logos {
  width: 100%;
  float: right;
}

a.governo {
  max-width: 123px;
}

a.ministerio {
  max-width: 68px;
}

.ministerio {
  background: url("../images/ministerio.png");
  background-repeat: no-repeat;
  min-height: 50px;
  margin-top: 20px;
  text-indent: -9999px;
  width: 100%;
  max-width: 368px;
  margin-right: 1%;
  float:right;
}

.l-header {
  padding-top: 20px;
}

.l-header .l-region--header {
  height: 117px;
}   


/* CALENDAR */
.calendar-calendar td{
text-align: center;
}
.calendar-calendar td.has-events {
background: #008A5E;
}
.calendar-calendar td.has-events a{
color: white;
text-decoration: none;
font-size: 11px;
}

.view-calendar .date-heading h3 a {

color: #008A5E;
text-decoration: none;
}

.view-calendar .calendar-calendar th.days {
color: #34495E;
}
/* END CALENDAR */       
                                     /**************** SEARCH FORM ***************/

#block-search-form {
  float: right;
  padding-top: 5px;
  width: 100%;
  max-width: 165px;
}

.search-block-form input#edit-search-block-form--2 {
  border: none;
  background: #D1D5D8;
  color: white;
  font-size: 13px;
  min-width: 115px;
  float: left;
  width: 100%;
  max-width: 112px;
  border-radius: 0px;
}


::-webkit-input-placeholder { 
  color: white; 
  padding-left: 5px;
  font-size: 13px;

}
::-moz-placeholder { 
  color: white; 
  padding-left: 5px;
  font-size: 13px;

} /* firefox 19+ */
:-ms-input-placeholder { 
  color: white; 
  padding-left: 5px;
  font-size: 13px;

} /* ie */
input:-moz-placeholder { 
  color: white; 
  padding-left: 5px;
  font-size: 13px;

}

 #search-block-form input.form-submit {
  display: none;
}

#block-search-form input {
  height: 24px;
  position: relative;
}

.search-block-form .icon-search {
  border: 0px;
  background: #BDC3C7;
  color: white;
  font-size: 17px;
}

.search-block-form button[type="submit"] {
  border: none;
  background-color: #BDC3C7;
  position: relative;
  float: left;
  height: 24px;
}



                                     /**************** END SEARCH FORM ***************/


                                     /**************** HOMEPAGE SLIDER ***************/
#block-views-news-block h2 {
  background: #34495E;
  color: white;
  font-weight: 400;
  font-size: 15px;
  float:left;
  height: 28px;
  margin: 0px;
  padding-top: 5px;
  margin-bottom: 10px;
  padding-left: 2%;
  width: 100%;
  max-width: 572px;
}

#block-views-news-block {
  float: left;
  font-size: 14px;
  max-width: 603px;
}

#block-views-news-block a.more {
  background: #0B1523;
color: white;
font-size: 15px;
margin-left: 4px;
padding-left: 6px;
padding-right: 3px;
padding-bottom: 8px;
text-decoration: none;
text-align: center;
}


#block-views-news-block a.more i {
  position: relative;
  top: 4px;
}
.views-slideshow-controls-top.clearfix,
#views_slideshow_cycle_main_news-block {
  float: left;
}


.views-slideshow-pager-field-item {
  cursor: pointer;
}

#widget_pager_top_news-block .views-slideshow-pager-field-item {
  height: 72px;
  margin-bottom: 4px;
  max-width: 222px;
}

#widget_pager_top_news-block .views-field-title{
  font-size: 12px;
  padding-top: 10px;
  padding-left: 7%;
  padding-right: 7%;
  line-height: 15px;
  color: white;
  text-transform: uppercase;
  max-height: 55px;
  overflow: hidden;
}


#widget_pager_top_news-block .views-content-body {
  display: none;
}

.views-slideshow-pager-field-item.active {
  position: relative;
  background: #306F5A;
  z-index: 100;
}

#widget_pager_top_news-block .views-content-created {
  color: #2ECC71;
  padding-left: 7%;
  font-size: 11px;
  padding-top: 1px;
}



.views-slideshow-pager-field-item {
  background: #008A5E;
}

.views-slideshow-cycle-main-frame-row-item .views-field-title {
  position: absolute;
  width: 100%;
  padding-left: 19%;
  top: 217px;
  z-index: 1;
  left: -35px;
  font-size: 13px;
  text-transform: uppercase;
  height: 35px;
  overflow: hidden;
}

.views-slideshow-cycle-main-frame-row-item .views-field-body {
  position: absolute;
  width: 100%;
  top: 283px;
  padding-left: 10%;
  font-size: 13px;
}

.views-slideshow-cycle-main-frame-row-item .views-field-created {
  position: absolute;
  width: 100%;
  top: 260px;
  font-size: 10px;
  z-index: 1;
  font-size: 12px;
  
}

.views-slideshow-cycle-main-frame-row-item a {
  color: white;
  opacity: 1;
  text-decoration: none;
}

.views-slideshow-cycle-main-frame-row-item .views-field-title a {
  color: #2ECC71;
}

.views-slideshow-cycle-main-frame-row-item .views-field-created span {
  color: #2ECC71;
  padding-left: 10%;
}

.views-slideshow-cycle-main-frame-row-item .views-field-created span {
  font-size: 11px;
}

.views-slideshow-cycle-main-frame-row-item > .views-field-body {
  background: #192831;
  position: absolute;
  min-height: 186px; 
  top: 190px;
  opacity: 0.8;

}
.views-slideshow-cycle-main-frame-row-item > .views-field-body a p  {
  color: white;
  margin-top: 94px;
  padding-right: 8%;
  height: 50px;
  overflow: hidden;
}

.views-slideshow-cycle-main-frame-row-item > .views-field-view-node  {
  position: absolute;
  bottom: 20px;
  left: 10%;
  font-size: 11px;
}

                                             /**************** END HOMEPAGE SLIDER ***************/

                                             /**************** Superfish Menu ***************/

#open-menu {
  
}

#block-superfish-1 {
  display: table;
  text-align: center;
  text-transform: uppercase;
 }

 #block-superfish-1 .active-trail.first {
  box-shadow: -2px -2px 5px 0px rgba(0,0,0,0.1);
 }

 #block-superfish-1 .active-trail.last {
  box-shadow: 2px -2px 8px rgba(0,0,0,0.1);
  margin-right: 0px;
 }
  #block-superfish-1 li.last {
  margin-right: 0px !important;
 }

#block-superfish-1 .sf-menu a {
  text-decoration: none;
}

#block-superfish-1 .sf-menu > li {
  float: left;
  padding: 0;
  margin-right: 3.01px;
  max-width: 156px;
  width: 100%;
}

.sf-menu {
  -webkit-margin-before: 0em;
-webkit-margin-after: 0em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
-webkit-padding-start: 0px;
}

#block-superfish-1 ul li a.sf-depth-1:hover {
  background: whitesmoke !important;
  color: #008A5E !important;
}

#block-superfish-1 .sf-menu li.active-trail.sf-depth-1 > a,
#block-superfish-1 .sf-menu li.sfHover.sf-depth-1 > a {
  background: whitesmoke !important;
  color: #008A5E; 
}

#block-superfish-1.sf-menu .sf-depth-1:hover > a{
  background: #F9F9F9 !important;
  color: #008A5E !important; 
}
#block-superfish-1 .sf-menu.sf-navbar {  width: 100% }



#block-superfish-1 li.sf-depth-1 a{
  font-size: 15px;
  font-weight: 400;
}

#block-superfish-1 .sf-menu a {
  background: #008A5E  !important;
  color: white;
  padding: 0.75em;
  text-align: center;
}

#block-superfish-1 .sf-menu .last a {
  margin-right: 0px;
}

#block-superfish-1 .sf-menu ul li:hover {  color: #008A5E }

#block-superfish-1 .sf-menu ul > li a:hover {
  background: #F9F9F9 !important;
  color: #008A5E;
 }

#block-superfish-1 .sf-menu ul > li a {  color: white }

#block-superfish-1 .sf-menu a.sf-depth-1 {   }

#block-superfish-1 .sf-menu a.sf-with-ul {  padding-right: 2em }

#block-superfish-1 .sf-menu.rtl a.sf-with-ul {
  padding-left: 2.25em;
  padding-right: 1em;
}

#block-superfish-1 .sf-menu.sf-navbar a {  border: 0 }

#block-superfish-1 .sf-menu span.sf-description {
  color: #ffffff;
  display: block;
  font-size: 0.8em;
  line-height: 1.5em;
  margin: 5px 0 0 5px;
  padding: 0;
}

#block-superfish-1 .sf-menu li,
#block-superfish-1 .sf-menu.sf-navbar {  
background: white;
}

#block-superfish-1 .sf-menu li li {  background: #008A5E; }

#block-superfish-1 .sf-menu li li:hover {
  background: white;
  color: #008A5E;
}

#block-superfish-1 .sf-menu li li li {  background: #00478f }

#block-superfish-1 .sf-menu  li.sfHover,
#block-superfish-1 .sf-menu  li.active a,
#block-superfish-1 .sf-menu  a:focus,
#block-superfish-1 .sf-menu  a:active {
  background: #008A5E;
  color: white;
}

#block-superfish-1 .sf-menu  li.sfHover a {  color: white }

#block-superfish-1 .sf-menu.sf-navbar li ul {  background-color: #3270c5 }

#block-superfish-1 .sf-menu.sf-navbar li ul li ul {  background-color: transparent }

#block-superfish-1 {
  position: relative;
  width:100%;
}

 #block-superfish-1 ul li ul {
  display: none !important;
 }

#superfish-1 ul {
  position: absolute;
  left: 1px;
}

#superfish-1 ul li {
  position: static;
}



                                             /**************** END SUPERFISH ***************/


                                              /***** SUPERFISH 2 SIDE MENU *****/


#block-superfish-2 {
max-width: 205px !important;
width: 100%;
}

.page-search-node #block-superfish-2 {
  display: none;
}

.node-type-article #block-superfish-2 {
  display: none;
}

.node--article .field--name-field-image img {
  max-width: 685px;
}

.section-nacionais-2016 #block-superfish-2 {
  display: block;
}

.section-taca-desporto-escolarcnid #block-superfish-2 {
  display: block;
}

.section-iniciados-2016 #block-superfish-2 {
  display: block;
}


.section-event-created #block-superfish-2 {
  display: none;
}

#block-superfish-2 a{
 text-decoration: none;
}

#block-superfish-2 .active-trail a.sf-depth-1.menuparent.sf-depth-1.menuparent {
  display: none;
}

#block-superfish-2 h2,
#block-superfish-2 .sf-accordion-toggle {
    display: none;
  }

  #block-superfish-2 ul li ul li {
  line-height: 25px;
  text-align: center;
}

  #superfish-2-accordion li.sf-depth-1 {
    height: auto;
    width: 100%;
    display: none;
  }


  #block-superfish-2 li li:hover > ul {
    left: 0em;
  }

  #superfish-2-accordion li.sf-expanded > ul {
    display: block !important;
    clear: both !important;
    position: relative !important;
    top: 0 !important;
  }


  #block-superfish-2 ul li ul li {
    line-height: 30px;
    text-align: left;
  }

  #block-superfish-2 ul li ul li.sf-depth-3 {
    line-height: 30px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

      #block-superfish-2 ul li ul li.active-trail > a.menuparent,
      #block-superfish-2 ul li ul li.active-trail a{
    color: #34495E !important;
  }

   /* #block-superfish-2 ul li ul li.sf-expanded > a.menuparent {
    color: #34495E !important;
  }
*/


  #block-superfish-2 ul li ul li ul li {
    font-size: 12px;
  }

  #block-superfish-2 ul {
  float: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
 }

  #block-superfish-2 li {
  text-align: center;
 }

#block-superfish-2 li.active-trail .sf-clone-parent {
  display: none;
}

#superfish-2-accordion li.active-trail > ul.sf-hidden {
  left: 0 !important;
  top: 0 !important;
  position: relative;
}

#block-superfish-2 li.active-trail.sf-depth-1{
  display: block;
}

#block-superfish-2 li.active-trail.sf-depth-2 > .sf-expanded ul{
  display: block;
}

#block-superfish-2 li.active-trail.sf-depth-2.sf-expanded > ul.sf-hidden li,
#block-superfish-2 li.active-trail.sf-depth-2.sf-expanded > ul.sf-has-clone-parent li {
  display: none !important;
}


#block-superfish-2 li.active-trail.sf-depth-3 li.sf-depth-4 {
  display: block;
}

#block-superfish-2 li.active-trail.sf-depth-3.sf-expanded li.sf-depth-4
{
  display: none !important;
}









#block-superfish-2 ul.sf-hidden li.sf-depth-4 a{
  color: rgb(90,90,90) !important;
}

#block-superfish-2 ul.sf-hidden li.sf-depth-4 a.active{
  text-decoration: underline;
}

#block-superfish-2 ul.sf-hidden li.sf-depth-4{
  padding-left: 5px;
  padding-top: 5px;
}
#block-superfish-2 ul.sf-hidden li.sf-depth-4 a{
  font-size: 11px;
  line-height: 15px;
  padding: 3px;
}
#block-superfish-2 ul.sf-hidden li.sf-depth-4 a:hover{
  color: #34495E !important;
}
#block-superfish-2 li.menuparent a {
  position: relative;
 }

  #block-superfish-2 li.active-trail > .sf-depth-3:before {
  background-image: url('../images/barra-activa.png');
  background-repeat: no-repeat;
  content: '';
  padding-right: 12px;
 }



  #block-superfish-2 li.sf-depth-1 a {
  color: white !important;
 }


  #block-superfish-2 li.sf-depth-2 a {
  color: #008A5E !important;
  font-size: 15px;
  font-weight: 600;
 }

  #block-superfish-2 li.sf-depth-2 a:hover {
  color: #34495E !important;
 }


 #block-superfish-2 li.sf-depth-3 {
  background: none !important;
 }
 #block-superfish-2 li.sf-depth-3 a {
  color: #34495E !important;
  font-size: 12px;
  line-height: 15px;
 }
  #block-superfish-2 li.sf-depth-3 a:hover{
  color: #008A5E !important;
 }




/***** END SUPERFISH 2 *****/
                                                          /*****  SUPERFISH 3 *****/


  #block-superfish-3 {
    color: white;
    height:30px;
    background: #34495E;
    font-size: 12px;
    padding: 9px;
    width: 100%;
    float: left;
    max-width: 680px;
  }
    #block-superfish-3 ul {
    float: right;
  }   

    #block-superfish-3 li {
   padding-right: 8px;
   border-right: 1px solid white;
   padding-left: 8px;
     }                                            
      #block-superfish-3 li.last{
    border-right: none;
     }                                                        /***** END SUPERFISH 3 *****/

                                             /**************** FRONT Destaques ***************/

.front .l-region--sidebar h2 {
  background: #34495E;
  color: white;
  font-size: 15px;
  height: 28px;
  margin: 0px;
  padding-top: 5px;
  margin-bottom: 9px;
  padding-left: 2%;
  margin-top: 14px;
}

.front .l-region--sidebar {
  float: right;
}

.front .l-region--sidebar .views-row {
  position: relative;
}
.front .l-region--sidebar .views-row-1{
  padding-top: 2px;
}

.front .l-region--sidebar .views-field-title a {
background: #008A5E;
color: white;
padding-left: 3%;
padding-bottom: 2px;
padding-right: 5%;
padding-top: 2px;
text-decoration: none;
position: absolute;
font-size: 13px;
max-height: 20px;
overflow: hidden;
}

.front #block-views-news-block-1 .views-field-views-ifempty {
  border-top: 4px solid #008A5E;
}
                                             /**************** END FRONT Destaques ***************/

                                             /**************** NOT FRONT Destaques ***************/


.not-front .block-views-news-block-2 {
  max-width: 220px;
}

#block-views-calendar-block-1 {
  padding-bottom: 25px;
  float: right;
}    

#block-views-calendar-block-2 {
  padding-bottom: 25px;
}   
#block-views-calendar-block-2 .block__content{
  padding-bottom: 25px;
  padding-top: 25px;
} 

#block-views-calendar-block-2 .views-row{
  padding-bottom: 15px;
  padding-left: 15px;
}

#block-views-calendar-block-2 .views-row .views-field-title-1{
  padding-bottom: 5px;
}   
#block-views-calendar-block-2 .views-row .views-field-title-1 a,
#block-views-calendar-block-2 .views-row .views-field-edit-node a
{
  text-decoration: none;
  color: #34495E;
}

#block-views-calendar-block-2 .views-row .views-field-field-body,
#block-views-calendar-block-2 .views-row .views-field-field-place,
#block-views-calendar-block-2 .views-row .views-field-field-date {
  font-size: 12px;
}

#block-views-calendar-block-1 .ajax-progress-throbber { display: none; }                             
#block-views-calendar-block-1 .date-nav-wrapper li.date-prev a,
#block-views-calendar-block-1 .date-nav-wrapper li.date-next a {
font-size: 20px !important;
color: white !important;
}
#block-views-calendar-block-1 .date-nav-wrapper li.date-prev {
  right: 90% !important;
  top: -5px;
}
#block-views-calendar-block-1 .date-nav-wrapper li.date-next {
  top:-5px;
}

#block-views-calendar-block-1 .view-calendar table
{
  font-size: 11px;
} 

#block-views-calendar-block-1 .view .date-nav-wrapper .date-nav {
  margin-bottom: 20px !important;
  height: 26px !important;
  min-height: 0px !important;
}

#block-views-calendar-block-1 .view .date-nav-wrapper {
  margin-top: 0px !important;
}

#block-views-calendar-block-1 .view .date-nav-wrapper .date-heading h3 {
  height: 27px;
  background: #34495E;
  line-height: 22px !important;
}

#block-views-calendar-block-1 .view .date-nav-wrapper .date-heading h3 a {
  color: white;
  font-size: 16px;
}

.view-calendar .date-nav-wrapper ul { list-style: none; }
.view-calendar .date-nav-wrapper li { background: none !important;}
.view-calendar .date-nav-wrapper li.date-prev { right: 85%;}
.view-calendar .date-nav-wrapper li.date-prev a,
.view-calendar .date-nav-wrapper li.date-next a {
font-size: 15px !important;
color: #34495E !important;
}

.node-type-calendar #block-superfish-2 {
  display: none;
}
/*
.not-front .l-region--sidebar h2,
.not-front .l-content h2 {
  background-color: #34495E;
  color: white;
  font-size: 17px;
  padding-left: 3%;
  padding-right: 1%;
  padding-top: 3px;
  padding-bottom: 3px;
}

.not-front .l-region--sidebar {
  float: right;
  max-width: 220px;
}

.not-front .l-region--sidebar a {
color: white;
font-weight: 400;
text-decoration: none;
font-size: 14px;
margin-bottom: 12px;
}

.not-front .l-region--sidebar .views-row {
  margin-top: 8px;
}

.not-front .views-field-title {
  background-color: #008A5E;
  padding-left: 7%;
  padding-bottom: 1%;
  padding-top: 1%;
}/*
                                             /**************** NOT FRONT Destaques ***************/                                     
                                             /**************** CONTENT ***************/
.not-front .node--page {
max-width: 690px;
width:100%;
float: left;
padding-left: 25px;
}

.not-front.node-type-article .left-content {
  max-width: 470px;
  width:100%;
}

.not-front.node-type-article.section-nacionais-2016 .left-content {
  max-width: 100%;
  width:100%;
}

.not-front.node-type-article.section-taca-desporto-escolarcnid .left-content {
  max-width: 100%;
  width:100%;
}

.not-front.node-type-article.section-iniciados-2016 .left-content {
  max-width: 100%;
  width:100%;
}

.not-front .node--page .field__item h2{
float: left;
margin-top:0px;
width: 100%;
margin-bottom: 25px;
}

.not-front.section-ligacoes .node--page .field__item h2,
.not-front.section-magazine-de .node--page .field__item h2
{
margin-top: 0px !important;
}

.not-front.section-agenda .left-content,
.not-front.section-newsletter .left-content{
max-width: 680px !important;
}

.not-front.section-newsletter .node--page,
.not-front.section-ligacoes .node--page
{
padding-left: 0px;
}
.not-front.section-ligacoes .node--page
{
max-width: 100%;
}

.not-front.section-agenda .views-field-title-1 {
  padding-bottom: 5px;
  clear: left;
  font-size: 12px;
}
.not-front.section-agenda .views-field-field-date,
.node-type-calendar .field--type-datetime  {
  font-size: 12px;
}

.node-type-calendar .field--name-body {
  font-size: 14px;
}

.not-front.section-agenda .views-field-field-place,
.node-type-calendar .field--name-field-place{
  font-size: 12px;
  float: left;
}
.not-front.section-agenda .views-field-edit-node {
  font-size: 12px;
  float: left;
  padding-left: 10px;
}

.not-front.section-agenda aside {
  margin-top: -5px;
}


.not-front .node--article {
  float:left;
}

.not-front.section-nacionais-2016 .node--article {
  float: left;
  max-width: 690px;
  padding-left: 25px;
  width: 100%;
}

.not-front.section-taca-desporto-escolarcnid .node--article {
  float: left;
  max-width: 690px;
  padding-left: 25px;
  width: 100%;
}

.not-front.section-iniciados-2016 .node--article {
  float: left;
  max-width: 690px;
  padding-left: 25px;
  width: 100%;
}

.not-front .node--article p img {
width: 100%;
}


.view-header h2 {
  margin-bottom: 10px;
}

.l-content h1 {
  display: none;
}

.not-front .l-content h2 {
  background-color: #34495E;
  color: white;
  font-size: 17px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  clear: both;
}

#block-views-galeria-block  span.views-label{
  background-color: #34495E;
  color: white;
  font-size: 17px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  clear: both;
  width: 100%;
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
}




.not-front .l-content .node--page .field--name-title {
  padding-bottom: 5px;
}

.node--page .field--name-body {
  color: #34495E;
  font-size: 14px;
}


                                             /**************** END CONTENT ***************/

                                             /**************** FOOTER ***************/
#block-block-1 {
  background: #34495E;
  float: left;
  font-size: 12px;
  height: 30px;
  width: 100%;
max-width: 239px;
}

#block-block-3 {
  height: 60px;
}

#block-block-3 .red-topics {
  float: left;
  clear: both;
  line-height: 45px;
  margin-bottom: 11px;
  min-height: 45px;
  font-size: 15px;
  width: 100%;
}

.l-region--footer {
  color: white;
  height: auto;
}
.l-region--footer a {
  color: white;
  text-decoration: none;
}

.l-region--footer .facebook {
  float: left;
  position: relative;
  padding-bottom: 6px;
  max-width: 239px;
}

.l-region--footer p.facebook{
    margin: 0px;
    padding-left: 15px;
}

.l-region--footer a.facebook-text{
  position: relative;
  top:-2px;
  left: -11px;
  }
.l-region--footer a.facebook-icon{
  padding-right: 8px;
  }


.l-region--footer #block-block-4{
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  top:10px;
  max-height: 30px;
  clear:both;
  margin-left: auto;
  margin-right: auto;
  }
.l-region--footer #block-block-4 a {
  color: #5681AC;
}
.l-region--footer #block-block-4 p {
  margin: 0px;
}

#block-views-news-block-4 {
  display: none;
}


.l-region--footer i.fa-facebook-square{
    margin-top: 4px;
    margin-right: 5px;
    font-size: 20px;
}
.l-region--footer .contactos {
  float: right;
  margin-right: 2%;
}

.red-topics div a {
  display: block;
  text-align: center;
  padding-left: 45px;
}

.red-topics .magazine,
.red-topics .newsletter,
.red-topics .ligacoes,
.red-topics .agenda,
.red-topics .media {
  background: #E74B3C;
  width: 100%;
  max-width: 174px;
  float: left;
  height: 45px;
}

.red-topics .magazine,
.red-topics .newsletter,
.red-topics .ligacoes,
.red-topics .agenda {
  margin-right: 12px;
}

.red-topics .newsletter:before {
  background: #C41F26;
  content: "\f0e0";
  font-family: "FontAwesome";
  font-size: 25px;
  width: 45px;
  text-align: center;
  position: absolute;

}
.red-topics .magazine:before {
  background: #C41F26;
  content: "\f108";
  font-family: "FontAwesome";
  font-size: 25px;
  width: 45px;
  text-align: center;
  position: absolute;

}
.red-topics .ligacoes:before {
  background: #C41F26;
  content: "\f0c1";
  font-family: "FontAwesome";
  font-size: 25px;
  width: 45px;
  text-align: center;
  position: absolute;
}
.red-topics .agenda:before {
  background: #C41F26;
  content: "\f133";
  font-family: "FontAwesome";
  font-size: 25px;
  width: 45px;
  text-align: center;
  position: absolute;
}
.red-topics .media:before {
  background: #C41F26;
  content: "\f030";
  font-family: "FontAwesome";
  font-size: 25px;
  width: 45px;
  text-align: center;
  position: absolute;
}



                                             /**************** END FOOTER ***************/



   div.field--name-field-galeria {
    padding-top: 15px;
   }

  .field--name-field-galeria div.field__item.even,
  .field--name-field-galeria div.field__item.odd {
    float: left;
    padding-right: 5px;
    padding-bottom: 15px;
   }


                                                   /**************** Magazine ***************/

.view-magazine .views-field-field-thumbnail {
  float: left;
width: 100%;
max-width: 180px;
min-height: 135px;
position: relative;
}
.view-magazine .views-field-field-thumbnail img {
  width: 180px;
  height: 135px;
}


.view-magazine .views-field-title {
background: none;
padding-bottom: 0%;
position: relative;
padding-left: 5%;
font-size: 13px;
width: 100%;
padding-top: 5px;
float: left;
max-height: 37px;
overflow: hidden;
max-width: 260px;
}

.page-magazine .left-content{
  max-width: 100%;
}

.view-magazine .views-field-body {
padding-left: 5%;
font-size: 12px;
width: 100%;
float: left;
min-height: 95px;
max-height: 95px;
max-width: 260px;
overflow: hidden;
}

.view-magazine .views-row {
  padding-bottom: 25px;
  border-bottom: 1px solid silver;
  padding-top: 25px;
  min-height: 185px;
  max-width: 50%;
  float: left;
  width: 100%;
}

.view-magazine .views-row-last {
  border-bottom: none;
}


                                                   /**************** END Magazine ***************/ 
                                                   /**************** MailChimp ***************/


#block-mailchimp-lists-desporto-escolar h2 {
  background: none;
  color: #008A5E;
  padding-top: 25px;
  padding-left: 0px;
  padding-bottom: 25px;
}

#block-mailchimp-lists-desporto-escolar label {
  color: #34495E;
  padding-bottom: 5px;
}

#block-mailchimp-lists-desporto-escolar input[type="submit"] {
  border: none;
  color: white;
  background: #008A5E;
  font-weight: normal;
}


#block-mailchimp-lists-desporto-escolar .form-type-textfield  label {
  display: none;
}

#block-mailchimp-lists-desporto-escolar #edit-mailchimp-lists-mailchimp-desporto-escolar-title {
    color: #34495E;
}


                                                   /**************** END MailChimp ***************/                                     
                                         
                                                     /**************** Mais Noticias ***************/


.section-noticias #block-superfish-2 {
  display: none;
}

.not-front.section-noticias .view-display-id-page_1 .views-row {
padding-bottom: 20px;
border-bottom: 1px solid silver;
}
.not-front.section-magazine-de .view-display-id-page .views-row-last,
.not-front.section-noticias .view-display-id-page_1 .views-row-last {
border-bottom: 0px solid silver;
padding-bottom: 80px;
}


.not-front.section-noticias .view-display-id-page_1 .views-field-title {
  background-color: #34495E;
  color: white;
  font-size: 17px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  clear: both;
  margin-bottom: 15px;
}

.not-front.section-noticias .view-news .views-field-body {
font-size: 15px;
color: black;
}

.not-front.section-noticias .view-news .views-field.views-field-created {
font-size: 12px;
margin-top: 5px;
padding-bottom: 5px;
}




                                                   /**************** END Mais Noticias ***************/  
                                                   /**************** SEARCH ***************/  


.search-results article.search-result {
  padding-top: 15px;
  padding-bottom: 15px;
}

.search-results article.search-result h3{
  font-size: 15px;
}
.search-results .search-result__snippet{
  font-size: 13px;
  margin: 0em;
  padding-left: 0em;
  padding-top: 5px;
}
.search-results .search-result__info {
  display: none;
}
form.search-form {
   padding-bottom: 25px;
}
form.search-form input[type="Submit"] {
  border: none;
  color: white;
  background: #008A5E !important;
  font-weight: normal;
}
form.search-form label {
color: #34495E;
padding-bottom: 5px;
}



                                                    /**************** END SEARCH ***************/  
                                                    /**************** Modalidades ***************/
.node-type-modalidades .field--name-field-galeria-modalidades img {
  float: left;
  padding: 10px;
}

.node-type-modalidades .field--name-body {
  font-size: 14px;
  color: rgb(52,73,94);
}

.page-modalidades table td {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.page-modalidades table{
  padding-bottom: 25px;
}

.page-modalidades .views-field-title{
  background: #34495E;
  border-radius: 5px;
  min-height: 58px;
  max-height: 58px;
}
.page-modalidades .views-field-title a{
  color: white !important;
  display: block;
  padding: 10px;
}

#block-views-news-block-1 a.homepage-youtube,
a.homepage-youtube{
    width: 100%;
    background-image: url('/sites/all/themes/de/images/youtube-step1.png');
    background-repeat: no-repeat;
    background-size: 42px 30px;
    background-position: center;
    top:0;
    height:100%;
    position: absolute;
    display: block;
}
#block-views-news-block-1 a.homepage-youtube:hover,
a.homepage-youtube:hover{
    background-image: url('/sites/all/themes/de/images/youtube-step2.png');
}

.page-galerias .left-content {
  max-width: none;
}

.page-galerias .views-row {
  clear: both;
  padding-bottom: 15px;
}
.page-galerias .views-field-title {
  padding-top: 10px;
  padding-bottom: 10px;
}
.page-galerias .views-field-field-video .video,
.node-type-galeria-videos .views-field-field-video .video {
float: left;
position: relative;
}
.page-galerias .views-field-field-video .video,
.node-type-galeria-videos .views-field-field-video .video,
.page-galerias .views-field-field-imagem a,
.node-type-galeria-videos .views-field-field-imagem a{
padding: 2px;
float: left;
}

.node-type-galeria-videos .views-row {
  padding-top: 20px;

}

.page-galerias .views-field.views-field-title-1{
clear: both;
font-size: 12px;
text-align: right;
}

.page-galerias .views-field-field-video a.video-button,
.node-type-galeria-videos .views-field-field-video a.video-button {
background-image: url('/sites/all/themes/de/images/youtube-step2.png');
background-size: 20px 15px;
z-index: 900 !important;
display: block;
height: 15px;
width: 20px;
position: absolute;
cursor: pointer;
background-size: 20px 15px;
z-index: 900 !important;
display: block;
height: 15px;
width: 20px;
position: absolute;
cursor: pointer;
bottom: 15px;
right: 15px;
}

.view-news li {
  list-style: none;
}

#block-views-news-block-3,
#block-views-news-block-2
 {
float:right;
max-width: 205px;
}
#block-views-news-block-3,
#block-views-news-block-2{
font-size: 14px;
}
#block-views-news-block-3 p,
#block-views-news-block-2 p{
margin: 0px;
}
#block-views-news-block-3 .views-row,
#block-views-news-block-2 .views-row{
padding-bottom: 15px;
}

#block-views-news-block-3 .views-field-title,
#block-views-news-block-2 .views-field-title,
#block-views-news-block-3 .views-field-body,
#block-views-news-block-2 .views-field-body,
#block-views-news-block-2 .views-field-created,
#block-views-news-block-3 .views-field-created{
font-size: 12px;
padding-top: 3px;
}

.page-noticias img {
  max-width: 100%;
}

                                                     /**************** END Modalidades ***************/ 

                                                     /**************** Slider Entity ***************/ 
#block-views-links-block,
#block-views-documentos-block  {
  max-width: 205px;
  float: right;
  clear: right;
  width: 100%;
}                                                    

#block-views-modalidades-block {
  float: right;
  width: 100%;
  max-width: 205px;
}

#block-views-modalidades-block-1 .views-field-field-documentos img,
#block-views-newsletter-block .views-field-field-document img
{
  display: none;
}

#block-views-documentos-block li,
#block-views-links-block li,
#block-views-modalidades-block .views-field-field-link li
{
  list-style: none;
}

#block-views-documentos-block .view-documentos ul,
#block-views-links-block .view-links ul
{
padding: 5px;
padding-bottom: 0px;
margin-top: 3px;
margin-bottom: 0.7em;
}

#block-views-documentos-block .views-field-field-documentos a,
#block-views-links-block .views-field-field-link a,
#block-views-modalidades-block .views-field-field-link a
{
display: block;
font-size: 13px;
padding-bottom: 1.1em;
padding-left: 5px; 
}


#block-views-modalidades-block h2{
  margin-bottom: 1em;
}

#block-views-modalidades-block .view-galeria .field-content a{
  padding: 5px;
}
#block-views-modalidades-block .views-field-nid span a {
 display: block;
margin-top: 5px;
margin-bottom: 2.2em;
}

                                                     /**************** END Slider Entity ***************/ 
                                                     /**************** FLEXSLIDER ***************/ 
    .not-front.page-galeria .left-content,
    .not-front.page-modalidades .left-content
     {
      max-width: 100% !important;
    }
                                                     /**************** END FLEXSLIDER ***************/ 
                                                     /**************** Modalidades ***************/ 
.page-modalidades .view-modalidade li {
  float: left;
  width: 28%;
  list-style: none;
  margin-left: 20px;
  margin-right: 20px;
  padding-bottom: 10px;
  text-align: center;
}

                                                      /**************** END Modalidades***************/                                                     
                                                      /**************** Newsletter Sidebar***************/   
#block-views-newsletter-block {
  float: right;
  max-width: 205px;
  width: 100%;
}
#block-views-newsletter-block .views-field-title
{
  padding-top: 10px;
  font-size: 14px;
}

#block-views-newsletter-block .views-field-field-document
{
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding: 10px;
}

#block-views-newsletter-block .views-field-field-document a:before
{
content: "\f0f6";
font-family: "FontAwesome";
font-size: 20px;
width: 45px;
text-align: center;
color: #34495E;
margin-right: 5px;
}
                                                       /**************** END Newsletter Sidebar ***************/
                                                       /**************** Clipping & Comunicados ***************/
#block-views-media-sidebars-block-1,
#block-views-media-sidebars-block
 {
  float: right;
  max-width: 205px;
  z-index: 10;
}

#block-views-media-sidebars-block-1 .views-field-title,
#block-views-media-sidebars-block .views-field-title
 {
  padding-top: 10px;
  font-size: 13px;
}

  #block-views-media-sidebars-block a.active {
  background-image: url('../images/barra-activa.png');
  background-repeat: no-repeat;
  content: '';
  padding-left: 12px;
 }
                                                       /**************** END Clipping & Comunicados ***************/
                                                       /**************** Galeria e conteudo do Media ***************/
.node-type-gallery .left-content {
  max-width: none !important;
}


.page-media-galerias .file-video-youtube,
.node-type-gallery .file-video-youtube{
  position: relative;
 }


 .page-media-galerias .views-field-field-media a,
 .node-type-gallery .views-field-field-media a{
    display: block;
    max-width: 205px;
 }
 .page-media-galerias .file-video-youtube .youtube-media-video,
 .node-type-modalidade .file-video-youtube .youtube-media-video,
 .node-type-gallery .file-video-youtube .youtube-media-video {
    width: 100%;
    background-image: url('/sites/all/themes/de/images/youtube-step1.png');
    background-repeat: no-repeat;
    background-size: 42px 30px;
    background-position: center;
    top:0;
    height:100%;
    position: absolute;
    display: block;
 }
.page-media-galerias .file-video-youtube .youtube-media-video:hover,
.node-type-modalidade .file-video-youtube .youtube-media-video:hover,
.node-type-gallery .file-video-youtube .youtube-media-video:hover{
    background-image: url('/sites/all/themes/de/images/youtube-step2.png');
 }
 .page-media-galerias .views-field-field-media a,
 .node-type-gallery .views-field-field-media a
 {
    float: left;
    margin-top: 15px;
    margin-bottom: 5px;
    margin-right: 20px;
 }

  .node-type-modalidade .views-field-nid {
    font-size: 12px;
    text-align: right;
}

.node-type-gallery .views-row {
  margin-left: 4px;
}

.page-media-galerias .views-row{
max-width: 215px;
float: left;
padding: 5px;
width: 100%;
padding-bottom: 20px;
}

.page-media-galerias h2{
min-height: 82px;
font-size: 14px !important;
max-height: 82px;
overflow: hidden;
}

  .page-media-galerias .views-field.views-field-view-node {
    clear: left;
    font-size: 12px;
    text-align: right;
    position: relative;
    top: -5px;
    }
  .page-media-galerias .views-field.views-field-view-node a:hover {
    text-decoration: underline;
    }

  .page-media-galerias .left-content {
    max-width: none !important;
 } 
                                   /****************  FIM Galeria e conteudo do Media ***************/                                                                                    
.views-slideshow-pager-fields div {
  display: block;
}

#widget_pager_top_news-block .views-field-title a {
    font-size: 12px;
    padding-top: 10px;
    line-height: 15px;
    color: white;
    text-transform: uppercase;
    max-height: 55px;
    overflow: hidden;
}

#widget_pager_top_news-block .views-content-created a {
    color: #2ECC71;
    font-size: 11px;
    padding-top: 1px;
}

.views-slideshow-pager-fields .active {
    text-decoration: none;
}



#views_slideshow_cycle_main_news-block_1{
    float: left;
}

#widget_pager_top_news-block_1 .views-slideshow-pager-field-item{
    padding-top: 10px;
    padding-left: 7%;
    padding-right: 7%;
    height: 72px;
    margin-bottom: 4px;
    max-width: 222px;
}

#widget_pager_top_news-block_1 .views-slideshow-pager-field-item .views-field-body{
    display: none;
}

#widget_pager_top_news-block_1 .views-field-title{
    line-height: 10px;
}
#widget_pager_top_news-block_1 .views-content-title{
    max-height: 40px;
    overflow: hidden;
}

#widget_pager_top_news-block_1 .views-field-title a {
    font-size: 12px;
    padding-top: 10px;
    line-height: 13px;
    color: white;
    text-transform: uppercase;
    max-height: 55px;
    overflow: hidden;
}

#widget_pager_top_news-block_1 .views-content-created a {
    color: #2ECC71;
    font-size: 11px;
    padding-top: 1px;
}

