@media screen and (max-width: 999px){
    .agenda-container-index,
    .missa-container-index,
    .santo-container-index,
    .sacramento-container-index,
    .fotos-container-index{
        margin-right: 2%;
    }
}



/*==============================================================*/



@media screen and (max-width: 979px){
    .noticias-paroquia-container-index{
        max-width: 90%;
        margin: auto;
        float: none;
    }
    .noticia-paroquia-item-index, 
    .noticia-paroquia-item{
        max-width: 100%; 
        margin: auto;
        margin-bottom: 30px;
    }
    .noticia-paroquia-item-index figure, 
    .noticia-paroquia-item figure{
        float: left;
        margin-right: 10px;
    }
    
    
    
    
    .noticias-mundo-container-index{
        max-width: 90%;
        margin: auto;
        float: none;
    }
    .noticia-mundo-item-index,
    .noticia-mundo-item{
        max-width: 100%;
        margin: auto;
        margin-bottom: 30px;
    }
    
    
}



/*==============================================================*/



@media screen and (max-width: 969px){
                                     
    .fotos-container-index{
        max-width: 90%;
        margin: auto;
        margin-bottom: 30px;
        float: none;
    }
    .fotos-index{
        max-width: 100%;
    }
    
    .videos-container-index{
        margin: auto;
        margin-bottom: 30px;
        float: none;
        max-width: 90%;
    }
}



/*==============================================================*/



@media screen and (max-width: 939px){
    .agenda-container-index,
    .missa-container-index,
    .atendimento-container-index,
    .santo-container-index,
    .fotos-container-index{
        max-width: 90%;
        margin: auto;
        margin-bottom: 30px;
        float: none;
    }
    .agenda-item-index,
    .santo-index,
    .fotos-index{
        max-width: 100%;
    }
    
    .sacramento-container-index{
        margin-left: 15%;
    }
    
}



/*==============================================================*/



@media screen and (min-width: 831px){
    .menu{
        display: block !important;
    }
}
@media screen and (max-width: 830px){
    
/* MENU */
    .header-background{
        padding-top: 50px; /* libera espaço para o menu para não sobrepor a logo */
    }
    .menu{                              /* -------------- QUEBRA MENU */
        
    }
    #icon-menu{
        display: block;
    }
    
    #icon-menu:target{
        display: block;
    }
    
    
    .menu-container{
        position: fixed;
        top: 0px;
        z-index: 1000000;
        max-height: 100%;
        overflow-y: scroll;
    }
    .menu{
        width: 100%;
        padding-bottom: 0px;
        display: none;
    }
    .menu li{
        float: none;
        display: block;
        width: 100%; //165px
    }
    .menu > li:hover > a{
        box-shadow: inset 0px 4px 0px #8F2719;
        background-color: #CE3B16;
        color: #fff;
    }

    .menu > li > a{
        width: 100%;
        display: block;
        text-align: center;
        color: #fff;
        padding: 15px;
        font-weight: 700;
        /*border-right: 1px #305da2 solid;*/
    }

    /**/

    .sub-menu{
        text-align: center;
        display: none;
        margin-top: 0px;
        position: relative;
        visibility: visible;
        z-index: 10000;
        -webkit-transition: none;
           -moz-transition: none;
            -ms-transition: none;
             -o-transition: none;
                transition: none;
        border-bottom: 3px #8F2719 solid;
    }
    
    .menu > li:hover .sub-menu{
        opacity: 1;
        display: none;
        visibility: visible;
        margin-top: 0px;
    }
    
    .sub-menu li{
        float: none;
        width: 100%;
    }

    .sub-menu li a{
        width: 100%;
        border-bottom: 1px #f8f8f8 solid;
        color: #3a3a46;
        display: block;
        padding: 15px 10px;
        transition: all 0.2s ease-out;
        -moz-transition: all 0.2s ease-out;
        -webkit-transition: all 0.2s ease-out;
        -o-transition: all 0.2s ease-out;
        -ms-transition: all 0.2s ease-out;
    }
    .sub-menu li:hover a{
        min-width: 155px;
        margin-left: 0px;
    }

/* FIM menu */


/*Footer*/
    .footer .container{
        padding: 5px;
    }    
    .footerNews{
        float: none;
        display: table;
        margin: auto;
        text-align: center;
        margin-bottom: 30px;
    }
    .btn-contrast-2{
        margin: auto;
        width: 80%;
    }

    .footer-info{
        text-align: center;
        float: none;
        display: table;
        margin: auto;
    }
/* FIM footer */
    
}



/*==============================================================*/



@media screen and (max-width: 820px){
    .sacramento-container-index{
        margin-left: 10%;
    }
}



/*==============================================================*/



@media screen and (max-width: 800px){
   
/* buscar */
    .header-search{
        float: none;
        margin-top: 10px;
        margin: auto;
        width: 100%;
        max-width: 500px;
        margin-bottom: 10px;
        padding: 5px;
    }
    
    .header-search input[type='text']{
        width: 86%;
    }
    
    .header-search a{
        width: 15%; 
    }
/* FIM buscar */
    
}



/*==============================================================*/



@media screen and (max-width: 730px){
    .sacramento-container-index,
    .liturgia-container-index{
        margin-left: 0px;
        margin: auto;
        float: none;
        margin-bottom: 30px;
    }
}



/*==============================================================*/



@media screen and (max-width: 589px){
    .noticia-paroquia-item-index,
    .noticia-paroquia-item,
    .noticia-paroquia-item-index:nth-child(odd),
    .noticia-paroquia-item:nth-child(odd){
        max-width: 300px;
        float: none;
        margin: auto;
        display: block;
        margin-bottom: 30px;
    }
    
    
    
    .noticia-paroquia-item-index figure,
    .noticia-paroquia-item figure{
        float: none;
    }
}





/*==============================================================*/


@media screen and (max-width: 555px){
    .header{
        padding: 0px;
    }
/* logo e nome empresa */
    .empresa-info{
        text-align: center;
        margin-bottom: 5px;
    }
    .empresa-info li{
        display: block;
        margin-right: 0px;
    }
/* FIM logo e nome empresa */




/* info para contato-header */
    .header-contact{
        position: relative;
        text-align: center;
        margin-bottom: 5px;
    }
/* FIM info para contato-header */



/* social icons */
    .header-social{
        position: relative;
        display: table;
        margin: auto;
        margin-bottom: 10px;
    }
/* FIM social icons */


    .noticias-mundo-container-index{
        max-width: 98%;
    }

}


/*==============================================================*/



@media screen and (max-width: 540px){
    .padre-info{
        float: none !important;
        margin: auto;
    }
    
}



/*==============================================================*/



@media screen and (max-width: 526px){
    .videos-item-index{
        float: none;
        display: block;
        margin: auto;
        margin-bottom: 20px;
    }
    
    .noticia-horizontal-item{
        width: 100%;
        max-width: 300px;
        display: block;
        margin: auto;
    }
    
    .noticia-horizontal-item figure{
        height: 200px;
        overflow: hidden;
        width: 100%;
        max-width: 300px;
        float: none;
        display: block;
        margin: auto;
    }
}



/*==============================================================*/



@media screen and (max-width: 500px){
    .zebra-y td{
        display: block;
    }
}


@media screen and (max-width: 600px){
    
    .tbl-download tr td:first-child,
    .tbl-download tr th:first-child{
        display: none;
    }

}