#everything {
    width: 100vw;
}

#menu_mobile { z-index: 51;}
#header { z-index: 50;}
    #abrir_menu { z-index: 50;}
#middle { z-index: 40;}
#footer { z-index: 20;}

/*------------------------------------*/

#header {
    margin-bottom: 20px;
    text-align: center;
}

    #header > .background {
        padding-top: 15px;
        background-image: url(../images/header-background.jpg);
        background-position: 0px 0px;
        background-repeat: repeat;
        background-attachment: fixed;
        background-color: #fff;
    }

    #logo {
        z-index: 5;
        width: 348px;
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    /*-------*/

    #menu {
        z-index: 1;
        border-top: solid 1px #ededed;
        margin: 0px;
        font-size: 0px;
        line-height: 0px;
        text-align: center;

        background-image: url(../images/header-background.jpg);
        background-position: 0px 0px;
        background-repeat: repeat;
        background-attachment: fixed; 
    }

    .page-home #menu {
        background-image: none;
    }

        #menu .background {            
            background-color: rgba(0, 0, 0, 0.7);
        }


        #menu ul { }

            #menu li {
                position: static;
                display: inline-block;
                vertical-align: top;
                width: auto;
                margin: 0px;
            }

                #menu li a {
                    display: block;
                    padding: 8px 10px;
                    font-size: 20px;
                    line-height: 1em;
                    color: #fff;

                    transition-property: color;
                    transition-duration: 0.3s;
                }

                #menu li a:hover {
                    background-color: #7b0021;
                }

    /*--------------*/

    #abrir_menu {
        display: none;
        position: absolute;
        left: 0px;
        bottom: 0px;
        width: 100%;
        padding: 10px;

        font-size: 20px;
        line-height: 1em;
        color: #fff;
        font-weight: 900;
        text-align: center;
        background-color: #7b0021;
    }

    #abrir_menu:before {
        display: inline-block;
        vertical-align: top;
        width: 31px;
        height: 20px;
        margin-right: 15px;

        content: '';

        background-image: url(../images/menu-mobile.png);
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center center;
    }

    #abrir_menu.fixo {
        position: fixed;
        top: 0px;
        bottom: auto;
        box-shadow: 0px 2px 19px rgba(0, 0, 0, 0.25);
    }

/*------------------------------------*/

#menu_mobile {
    display: none;
    position: fixed;
    right: 0px;
    top: 0px;

    width: 0px;
    height: 100vh;
    overflow: hidden;
    text-align: left;

    transition-property: width;
    transition-duration: 0.5s;
}

#menu_mobile.aberto {
    width: 200px;
}
    #menu_mobile .conteudo {
        width: 200px;
        height: 100vh;
    }

    #menu_mobile a, 
    #menu_mobile span.inert {
        display: block;
        padding: 10px 10px 10px 15px;
        color: #bbb;
        font-size: 14px;
        line-height: 1em;
    }

    #menu_mobile .fechar {
        border-left: solid 1px #022a40; 
        text-align: center;
        color: #fff;
        font-size: 14px;
        line-height: 20px;
        background-color: #656565;
    }

    #menu_mobile .fechar:before {
        display: inline-block;
        vertical-align: top;
        width: 14px;
        height: 14px;   
        margin-right: 7px;
        margin-top: 3px;

        content: '';

        background-image: url(../images/menu-fechar.png);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center center;
    }

    #menu_mobile ul {
        list-style: none;
        
        margin: 0px;
        
        width: 100%;
        height: calc(100% - 34px);
        border-left: solid 1px #232121;
    
        overflow-x: hidden;
        overflow-y: auto;

        background-color: #343434;
    }
    
        #menu_mobile li {
            border-bottom: solid 1px #232121;
            margin: 0px;
        }

        #menu_mobile li:last-child {
            border-bottom: none;
        }

        #menu_mobile a {
            font-family: 'Roboto';
            font-weight: 300;
        }
        
        #menu_mobile li ul li {
            border-bottom: none;
        }

            #menu_mobile li ul a {
                padding-left: 25px;
            }
        
            #menu_mobile li ul a:before {
                content: '- ';
            }

/*------------------------------------*/

#middle {
    min-height: 700px;
    margin-bottom: 20px;
}

/*------------------------------------*/

#footer {
    padding-top: 10px;
    border-top: solid 1px #868a95;
    margin-top: 40px;
}

    #creditos {
        z-index: 1;
        display: block;
        padding: 7px;
        text-align: center;
        font-size: 12px;
        line-height: 1em;
        color: #fff;
        background-color: #868a95;
    }

    #creditos:first-child {
        margin-top: -10px;
    }

/*------------------------------------*/

#slider {
    margin: -60px auto 0px auto;
}

/*-----------------------------------*/

#bem_vindo {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
    background: -webkit-linear-gradient(top, #e3e3d9, #f5f5f5);
}

/*-----------------------------------*/

#noticias_home {
    padding: 10px 0px;
    margin: 20px 0px;
    background-color: #ebebeb;
}

/*-----------------------------------*/

#depoimentos_home {
    margin: 20px 0px;
}

/*-----------------------------------*/

#eventos_home .background {
    padding: 30px 0px;
    background-image: url(../images/header-background.jpg);
    background-position: 0px 0px;
    background-repeat: repeat;
    background-attachment: fixed;
}

/*-----------------------------------*/

#detalha_noticia .data {
    display: block;
    margin: -15px 0px 20px 0px;
    text-align: center;
}

/*-----------------------------------*/

#formulario_de_contato {
    margin: 20px 0px;
}

#formulario_de_contato address, 
#formulario_de_contato form {
    width: 50%;
    margin-bottom: 20px;
}

#formulario_de_contato address {
    padding-left: 10px;
    font-style: italic;
    font-size: 19px;
    line-height: 1.3em;
}

    #formulario_de_contato address h3 {
        margin-left: -10px;
        margin-bottom: 5px;
        text-align: left;
        font-family: 'Courier';
        font-weight: 600;
        font-size: 22px;
        line-height: 1.3em;
        color: #333;
    }

    #formulario_de_contato address * + h3 {
        margin-top: 50px;
    }

    #formulario_de_contato .social-icon {
        width: 40px;
        height: 40px;
    }

    #formulario_de_contato address .telefone {
        font-size: 21px;
        line-height: 1em;
    }

    #formulario_de_contato address .cidade {
        display: block;
    }

    #formulario_de_contato address .cep:before {
        content: 'CEP: ';
    }

    #formulario_de_contato address .estado:before, 
    #formulario_de_contato address .bairro:before {
        content: ' - ';
    }

#formulario_de_contato form { }

    #formulario_de_contato form textarea {
        min-height: 100px;
    }

/*-----------------------------------*/