/* 
    Document   : areas
    Created on : 24/Abr/2013, 16:36:45
    Author     : dmiguel
    Description:
        Purpose of the stylesheet follows.
*/


/************************ Area de noticias ******************/

section#menu_news_home{
    border-top:2px solid;
    line-height: 45px;
    cursor: pointer;
}
#menu_news_home h6{
    font-weight: 900;  
    line-height: inherit;
    text-transform: uppercase;
    color: #5d5d5d;
}

#menu_news_home .menuSubCatData {
    font-size: 15px;  
    font-weight: 900;  
    line-height: inherit;
    text-transform: uppercase;
    color: #333333;
    width: 245px;
}

#categoriasHomeContainer
{           
    background-color: #F9F7F3;   
    cursor: pointer;
    display: block;      
    margin: 0;
    padding: 0 15px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    width: auto;  
    display:none;      
    border-color: -moz-use-text-color #B7B2AE #B7B2AE;
    border-image: none;
    border: 1px solid #B7B2AE;    
    min-width: 213px;
    position: absolute;
    z-index: 1000;         
}

#categoriasHomeContainer ul li a{
    color: #333333;
}

.menuSubCatDataIcon{
    margin-left:19px;
    margin-right: 10px;
    float:right;
    margin-top:15px    
}



#categoriasHomeContainer ul li{
    line-height: 30x;
    border-bottom: 1px solid #B7B2AE;    
}

#categoriasHomeContainer ul li:last-of-type{    
    border-bottom: 0px;    
}


section#menu_news_home .menuSubCatData{
    text-align: right;
}


section#news_home{
    border-top:1px solid #DFDBDB;
}

section#news_legislacao_home article, 
section#news_exames_home article,
section#news_home article{
    padding:25px 15px 25px 15px;
    border-bottom: 1px solid #DFDBDB;
}

.n_hp_list_img{
    padding-right: 15px;    
}

.n_hp_resumo a{
    color: #333333;

}

/************************ Area de detalhe noticias ******************/

#news_detail .catDetalheDestaque{
    background-position: right bottom;
    background-repeat: no-repeat;
    min-height: 90px;
    padding: 15px;
    position: relative;  
    margin-bottom: 25px;
    background-color: #FF3B0C;
}

#news_detail .catDetalheDestaque:after {
    border-bottom: 20px solid transparent;
    border-image: none;
    border-right: 20px solid transparent;
    border-width: 20px;
    border-top: 20px solid #FF3B0C;    
    content: " ";
    height: 0;
    left: 0;
    position: absolute;
    top: 100%;
    width: 0;
      
}

#news_detail .catDetalheDestaque h1{
    color: #FFFFFF;
    font-size: 31px;
    text-transform: uppercase;
    width: 65%;
}
#news_detail h1.catDetalheHeader{
    margin: 0px;
}

#news_detail .catDetalheAutor{
    width: 60%;
}

#news_detail .nd-categoria h5{
    color:#FF3B0C;
    text-transform: uppercase;

}
#news_detail h1{
    margin: 0 0 35px;
}
#news_detail .nd-resumo{
    margin: 0 0 35px;
}
#news_detail .nd-resumo h5{
    font-weight: 400;
    line-height: 25.5px;
}
#news_detail .nd-autor h6,
#news_detail .nd-data h6
{
    margin-bottom: 0px;
    font-weight: 900;
}
#news_detail .nd-data h6{
    text-align: right;
    white-space:nowrap;
}
#news_detail .nd-autor{
    text-align: left;
    width: 100%

}
#news_detail .icon-autor{
    background-position: -1px -43px;
    width: 18px;
    height: 18px;
}
#news_detail .icon-data{
    background-position: -25px -46px;
    width: 17px;
    height: 16px;
}

#news_detail .icon-data.cell,
#news_detail .icon-autor.cell{
    margin-right: 7px;
}

#news_detail .sepAreas{
    border-bottom: 2px solid #DFDBDB;
    margin-top: 15px;
    margin-bottom:15px;    
}

#news_detail #nd-acoes-fonts li{
    display: inline-block;
    padding: 0px 5px;
    text-align: center;
}

#news_detail #nd-acoes-fonts li.nd-class-small{
    font-size: 25px;
}
#news_detail #nd-acoes-fonts li.nd-class-big{
    font-size: 35px;
}



#news_detail ul#nd-acoes{
    background-color: #F4F3F1;
    margin: 15px 0px 25px 0px;
    padding-top: 10px;
}
#news_detail ul#nd-acoes>li{
    display: inline-block;
    /*padding-left: 15px;*/
    /*padding-right: 15px; */       
    border-right: 1px solid #D8D8D7;
}

#news_detail li#nd-comu,#news_detail li#nd-come,#news_detail li#nd-print,#news_detail li .nd-class-big,#news_detail li .nd-class-small{
    cursor: pointer;   
}

#news_detail ul#nd-acoes>li{
    width: 24%;
    text-align: center
}

#news_detail ul#nd-acoes>li:last-of-type{
    border-right: none;
}

#news_detail .nd-icon-label{
    font: 11px;
}



#news_detail .nd-print-icon{
    background-position: -114px -42.99998474121094px ;
    width: 28px;
    height: 24px;
    margin: auto;
}
#news_detail .nd-comu-icon{
    background-position: -49px -42px ;
    width: 23px;
    height: 23px;
    margin: auto;
}    
#news_detail .nd-come-icon{
    background-position: -79px -42.99998474121094px ;
    width: 28px;
    height: 26px;
    margin: auto;
}                         

#news_detail .nd-noticia{
    margin-bottom: 25px;
    line-height: 23.5px;
}

#news_detail .nd-bio-dados{
    border-top: 1px solid #DFDBDB;
    margin-bottom: 25px;
    padding-top: 14px;
}

#news_detail .nd-bio-nome{
    margin-right: 10px;
    font-weight: 700;
    text-transform: uppercase;           
}

#news_detail_inner_content .news-disclaimer{
    margin-bottom: 10px;
}
/******************* comentarios *************/
section#news_comments{
    margin-bottom: 20px;
}

.fancy .nc_display h5{
    width: 100%;
    border-bottom:1px solid #DFDBDB;
    padding-bottom: 5px;
}

#news_comments .nc_label{
    padding: 10px;
    position: relative;
    background-color: #ECEBE9;
    margin-bottom: 10px;
}

#news_comments .nc_label:after {
    border-bottom: 11px solid transparent;
    border-image: none;
    border-right: 25px solid transparent;
    border-top: 11px solid #ECEBE9;
    border-width: 11px 25px 11px 11px;
    content: " ";
    height: 0;
    left: 0;
    position: absolute;
    top: 100%;
    width: 0;
}

.nc_display .table{
    border-bottom: 1px solid #DFDBDB;
    padding-bottom: 25px;
    padding-top:25px;    
}

.nc_display .nc_comment,
.nc_display .nc_data,
.nc_display .nc_autor h6{
    color:#5d5d5d;
}


.nc_display .nc_titulo h6{
    font-weight: 900;    
}

.nc_display .nc_autor{
    font-weight: 700;
}

.nc_display .nc_data{
    font-weight: 700;
}

.nc_display .coment_foto_icon{
    background-position: 0 -114px;
    width: 54px;
    height: 54px;    
} 

.nc_display .nc_foto{
    width: 54px;
}

.nc_display .nc_content{
    padding: 0px 15px;
}
/** Form comentários */
#nc_form_box{
    margin-top: 25px;
    display: none;
}
#nc_form_box h6{
    color:#5D5D5D;
    font-weight: 900;
    margin-bottom: 15px;
}
#nc_form_box input, #nc_form_box textarea{
    margin-bottom: 10px;    
    width: 98%;
    color:#5D5D5D;
    font-family: inherit;
    font-size: inherit;    
} 
ul#nc_form_actions{    
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #DFDBDB;
}
#nc_form_actions li{
    width: 32%;   
    display: inline-block;
    text-align: center;
    height: 40px;       
    margin-left: 0.3%;
    margin-right: 0.3%;  
    margin-bottom: 22px;
    cursor: pointer;
}

#nc_form_actions li:first-of-type{
    margin-left: 0px;
}
#nc_form_actions li:last-of-type{
    margin-right: 0px;
}
#nc_form_box li .nc-submit-icon{
    background-position: -59px -114px;
    width: 27px;
    height: 20px;
}
#nc_form_box li .nc-cancel-icon{
    background-position: -92px -114px;
    width: 20px;
    height: 20px;
}
#nc_form_box li .nc-preview-icon{
    background-position: -118px -114px;
    width: 34px;
    height: 20px;       
}
#nc_form_box li .nc-submit-icon,
#nc_form_box li .nc-cancel-icon,
#nc_form_box li .nc-preview-icon,   
#nc_submit .cell,
#nc_cancel .cell,
#nc_preview .cell{    
    margin: 10px 5px 10px 10px;
    text-transform: uppercase;
}
#nc_submit h5,#nc_cancel h5,#nc_preview h5{
    padding: 10px 10px 10px 0;
}

#nc_msg_empty{
    margin-top: 15px;
}

/************************ Area Alunos e professores ******************/

.menu_banner_ap{
    background-color: #FF3B0C;   
    background-position: right bottom;
    background-repeat: no-repeat;
    min-height: 105px;
    padding: 15px;
    position: relative; 
}

.menu_banner_ap{
    background-image: url("/assets/areas/topo_ap_exames.png");   
}

.menu_banner_ap.professores,
.menu_banner_ap.alunos,
.menu_banner_ap.estrutura-curricular,
.menu_banner_ap.organizacao-escolar{
    background-image: url("/assets/areas/topo_ap_legislacao.png");   
}

.menu_banner_ap.ano-letivo{
    background-image: url("/assets/areas/topo_ap_anoletivo.png");   
}

.menu_banner_ap.contactos{
    background-image: url("/assets/areas/topo_ap_contactos.png");   
}

.menu_banner_ap.ap_clean{
    margin-bottom: 15px;
}

ul#SubNavMenuSubCatCMS,
ul#SubNavMenuSubCat{
    margin: 15px 0;    
}
ul#SubNavMenuSubCatCMS li,
ul#SubNavMenuSubCat li,
ul#SubNavMenuCat li{
    display: inline-block;    
    margin-bottom: 0px;
    padding: 0;
    width: 24%; 
    vertical-align: top;
    text-transform: uppercase;
    text-align: center;
}

ul#SubNavMenuSubCatCMS li,
ul#SubNavMenuSubCat li{
    vertical-align: top;
}

ul#SubNavMenuCat li{
    vertical-align: bottom;
}

/*ul#SubNavMenuSubCat li:last-of-type,
ul#SubNavMenuCat li:last-of-type{
    float: right;
}*/

ul#SubNavMenuSubCat li ,
ul#SubNavMenuSubCat li a
ul#SubNavMenuCat li h6,
ul#SubNavMenuCat li h6 a{
    margin-bottom: 0px;     
}

ul#SubNavMenuSubCat li ,
ul#SubNavMenuSubCat li a{
    color: #333333;
    font-weight: 700;
}
ul#SubNavMenuSubCat li.current a{
    color: #FF3B0C;
    text-decoration: underline;
    font-weight: 900;
}



ul#SubNavMenuSubCatCMS li.current a{
     color: #FF3B0C;
}

ul#SubNavMenuCat li.section,
ul#SubNavMenuCat li.section h6 a,
ul#SubNavMenuCat li.current,
ul#SubNavMenuCat li.current h6 a{
    color:#FFFFFF;
    background-color: #FF3B0C;        
}
 

#SubNavMenuSubCatCMS span,
#SubNavMenuCat span {
    display: block;
    padding: 5px 10px;   
}

/************** subcategory menu *************/
   

 #selectedMenuSubCat .cell{
        width: 100%; 
        text-transform: uppercase;
    }
    
    #selectedMenuSubCat span{
        text-align: right;
        padding-right: 15px;
        text-transform: uppercase;
    }
    
#selectedMenuSubCat h6{
        padding-left: 15px;
    }        

#selectedMenuSubCat{
    display: none;
    margin: 20px 0 ; 
    cursor: pointer;
}
/*************** Exames ***************/

#selectedMenuSubCat.stExames{
    display: block;
    padding: 10px 0;
    background-color: #DFDBDB;
    margin-bottom: 0px;
}


ul#SubNavMenuSubCat.stExames{
 background-color: #F9F7F3;     
 border: 1px solid #B7B2AE; 
 display: none;
 margin: 0px;
}

 ul#SubNavMenuSubCat.stExames li{
        display: inline-block;
        width: 47%;
        text-align: left;
        text-decoration: none;                                    
        float: none;
        line-height: 44px;
        margin:0px;    
    }
 
  ul#SubNavMenuSubCat.stExames li a span{
        border-bottom: 1px solid #B7B2AE; 
        overflow: hidden;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        white-space: nowrap;
        width: 97%;
   }
    
    
    ul#SubNavMenuSubCat.stExames li span{
     padding-left: 15px; 
     display: block;
    }

    ul#SubNavMenuSubCat.stExames li.current a span{
        background-color: #ff9900;        
    }
    
    ul#SubNavMenuSubCat.stExames li  {
        padding: 0px 5px;        
    }
            
    ul#SubNavMenuSubCat.stExames li:nth-child(odd)  {        
        border-right: 1px solid #B7B2AE; 
    }
    
                
    ul#SubNavMenuSubCat.stExames li.current a {
        color: #333333;        
        text-decoration: none;
    }
    
    ul#SubNavMenuSubCat.stExames li:last-child span{
         border-bottom: none;         
    }
    
    ul#SubNavMenuSubCat.stExames li:nth-last-child(2):nth-child(odd) span{
         border-bottom: none;         
    }
    
    
    





/************** Listagem Noticias **************/     
    
    #news_legislacao_home{
        border-top: 3px solid #FF3B0C; 
    }
    
    #news_exames_home ul li {
        display: inline-block;
        vertical-align: top;    
    }
    
    #news_exames_home ul li.n_hp_titulo {
        width: 40%; 
    }
   
    #news_exames_home ul li.n_hp_exames {
        width: 20%;
        text-align: right;
    }
 
    #news_exames_home div[data-legenda^="Exame"].ap-sprite{ 
        background-position: -140px 0;    
    }   
    
    #news_exames_home div[data-legenda^="Correcao"].ap-sprite{ 
        background-position: 0 0;        
    }
    
    #news_exames_home div[data-legenda^="Criterios"].ap-sprite{ 
        background-position: -70px 0;
    }
    
    #news_exames_home ul li.n_hp_exames .n_hp_ex_label{         
        margin-top: 10px;
        font-weight: 700;
        color:#333333;
        text-transform: uppercase;
        width: 80%;
        text-align: left;
    }
    

   @media only screen and (max-width:980px) { 
   
     #menu_news_home h6{
        display: none;
    }
    
    section#menu_news_home .menuSubCatData {
        padding-left: 15px;
        text-align: left;
    }
    
    #categoriasHomeContainer {
        margin-left: -15px;
    }    
    
    
}
    


@media only screen and (max-width: 640px) { 
   
   /************** Toggle Menu *************/
    #selectedMenuSubCat{         
        display: block;         
    }  
    
    #SubNavMenuSubCatCMS,
    #SubNavMenuSubCat{
        display: none;
    }        
                  
   
    /************** Toggle Menu Fim *************/
    
    /************** subcategory menu *************/
    
    ul#SubNavMenuSubCatCMS,
    ul#SubNavMenuSubCat{
        margin: 0 0 15px 0;    
    }            
    
    ul#SubNavMenuSubCatCMS li,
    ul#SubNavMenuSubCat li
    {
        display: block;
        width: 100%;
        text-align: left;
        text-decoration: none;                
        border-top: 1px solid #B7B2AE;
        background-color: #F9F7F3;           
        float: none;
        line-height: 44px;
        margin:0px;    
    }
    
    ul#SubNavMenuSubCatCMS h6 a {        
        line-height: 44px;
    }
    
    ul#SubNavMenuSubCatCMS h6 {
        margin-bottom: 0;    
    }
    
    
  
        

    
    ul#SubNavMenuSubCatCMS li span,
    ul#SubNavMenuSubCat li span{
     padding: 0 0 0 15px; 
     display: block;
    }

    ul#SubNavMenuSubCatCMS li.current,
    ul#SubNavMenuSubCat li.current{
        background-color: #ff9900;          
    }
    
    
    
    ul#SubNavMenuSubCatCMS li.current a,
    ul#SubNavMenuSubCat li.current a {
        color: #333333;        
        text-decoration: none;
        font-weight: 900;
}
    ul#SubNavMenuSubCatCMS li:last-of-type,
    ul#SubNavMenuSubCat li:last-of-type{
        border-bottom: 1px solid #B7B2AE;
        float:none;
    }
    
    /************************ Area de detalhe noticias ******************/
    #news_detail .nd-icon-label{
       display: none;
    }
    /*comentários*/
    #nc_form_actions li{
        display:block;
        width: 50%;   
    }
    
    
    
    
    /************** subcategory menu fim *************/
    /************** Listagem Noticias **************/     
    
    
    /********Exames***************/
    
   
    
    
    ul#SubNavMenuSubCat.stExames{
        border:none;
        
    }
    
    
    ul#SubNavMenuSubCat.stExames li{      
        width: 100%;
        padding: 0;
        border-top: none;        
    }
    
    
    
    ul#SubNavMenuSubCat.stExames li:nth-child(odd)  {        
        border-right: none;
    }
    
    ul#SubNavMenuSubCatstExames li:last-of-type {
       border-bottom: none;
    float: none;
    }
    
     ul#SubNavMenuSubCat.stExames li:nth-last-child(2):nth-child(odd) span{
          border-bottom: 1px solid #B7B2AE;     
    }
    
    #news_exames_home ul li.n_hp_titulo {
        width: 100%; 
    }
   
    #news_exames_home ul li.n_hp_exames {
        width: 33%;
        text-align: right;
    }
    
    
}


@media only screen and (max-width: 500px) { 
    ul#SubNavMenuCat li{       
        display: block;
        width: 100%;
    }           
    
}