:root {
    --cor1: #8a1839;
    --cor2: #FCB315
}

img {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    max-height: auto;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1; }

.grid {
    max-width: 1155px;
    margin: 0 auto;
    display: block;
    width: 90%;
}

.mingrid {
    max-width: 900px;
    margin: 0 auto;
    display: block;
    width: 90%;
}

.xmingrid {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    width: 90%;
}

/* columns */
.w1, .w2, .w3 , .w4, .w3-2, .w5, .w6, .w7, .w8, .g1, .g2, .g3, .g4, .g5, .g6, .g7, .g8, .g9, .g10, .g11, .g12 {
    white-space: normal;
    word-wrap: normal;
    word-spacing: normal;
    word-break: normal;
    display: inline-block;
    vertical-align: top;
}

/* the w[*] split the content in equals pieces */
.w1 {
    width: 100%;
}

.w2 {
    width: 50%;
}

.w3 {
    width: 33.33333%;
}

.w3-2 {
    width: 66.66666%;
}

.w4 {
    width: 25%;
}

.w5 {
    width: 20%;
}

.w6 {
    width: 16.66666%;
}

.w7 {
    width: 14.28571428571429%;
}

.w8 {
    width: 12.5%;
}

/* the g[*] class is based in 12 columns grid */
.g1 {
    width: 8.333333%;
}

.g2 {
    width: 16.666666%;
}

.g3 {
    width: 25%;
}

.g4 {
    width: 33.333333%;
}

.g5 {
    width: 41.666666%;
}

.g6 {
    width: 50%;
}

.g7 {
    width: 58.333333%;
}

.g8 {
    width: 66.666666%;
}

.g9 {
    width: 75%;
}

.g10 {
    width: 83.333333%;
}

.g11 {
    width: 91.666666%;
}

.g12 {
    width: 100%;
    position: relative
}

.rowfix {
    word-break: keep-all;
    word-spacing: -0.3em;
}
.v-align-middle {
	vertical-align: middle
}
.t-left {
    text-align: left;
}
.t-right {
    text-align: right;
}
.t-center {
    text-align: center;
}
.botoes-home > * {
    background: var(--cor1);
    border-radius: 10px;
    padding: 15px 0;
    width: calc(25% - 12px);
    margin-right: 15px;
    height: 178px;
}
.botoes-home > * img {
    height: 93px;
}
.botoes-home > *:nth-child(4) {
    margin-right: 0;
}
.botoes-home > *:last-child {
    width: 100%;
    margin-right: 0;
    margin-top: 15px;
    height: auto;
    cursor: pointer;
}
.botoes-home > *:last-child p {
    margin: 0 auto!important;
}
.botoes-home > * p {
    color: var(--cor2)!important;
    font-size: 20px;
    margin-top: 18px;
    line-height: 1.15em;
    margin-bottom: 0;
}
.botoes-home > *:first-child p {
    margin-top: 8px;
}
#options .w1.t-center h1 {
    font-weight: bold;
    color: var(--cor1);
}
#options .w1.t-center p {
    font-size: 23px;
    color: var(--cor1);
    margin-bottom: 30px;
}
#navbar-catalogo {
    font-weight: bold;
    padding: 10px 0;
}
.capitalize {
    text-transform: capitalize;
}
#head-busca h1 {
    font-weight: bold;
    color: var(--cor1);
}
#head-busca p {
    color: var(--cor1);
    font-size: 20px;
}
#busca-catalogo {
    font-size: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #00000029;
    color: var(--cor1);
    border: 0;
    padding: 10px 40px 10px 20px;
    margin-top: 15px;
    background-image: url('../img/lupa.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;

}
#busca-catalogo::placeholder {
    color: var(--cor1);
}
#listagem > p {
    margin: 15px 0;
    font-size: 16px;
}
#listagem {
    margin-bottom: 160px;
}
#listagem-table, #listagem-table * {
    font-size: 18px;
    text-align: left;
}
#listagem-table {
    border-radius: 10px;
}
#listagem-table thead th {
    background: var(--cor2);
    border: 2px solid #fff;
    color: var(--cor1);
    padding: 10px
}
#listagem-table tbody td {
    padding: 10px;
    color: #6c6e72;
}
#listagem-table tbody td a {
    color: #6c6e72;
}
#listagem-table tbody td a:hover {
    text-decoration: none;
}
#listagem-table tbody tr > td:first-child a {
    color: var(--cor1);
}
#listagem-table tbody > tr:nth-child(even) {
    background: #ebebeb;
}
#dados-instituicao h1 {
    font-weight: bold;
    color: var(--cor1);
    font-size: 24px;
}
#dados-instituicao .card {
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 15px;
    background: #f1f1f1;
    font-size: 16px;
}
#dados-instituicao .card img {
    margin: 0 5px;
    vertical-align: middle;
}
#dados-instituicao .photo-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #00000029;
}
#dados-instituicao .photo-card img {
    border-radius: 10px;
    margin: 0;
}
#dados-instituicao .photo-card .text {
    width: calc(100% - 100px);
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: bold;
    font-size: 18px;
    color: var(--cor1);
}
#dados-instituicao h2 {
    font-size: 18px;
    font-weight: bold;
    color: var(--cor1);
    margin-top: 0;
}
#dados-instituicao > .w2:nth-child(2) {
    padding-right: 7px;
}
#dados-instituicao > .w2:nth-child(3) {
    padding-left: 7px;
}
.resultado-proxima-missa {
    position: fixed;
    top: -102%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #ffffffb3;
    z-index: 99999999;
    backdrop-filter: blur(15px);
    pointer-events: all;
    transition: 0.5s all;
}
.resultado-proxima-missa.ok {
    top: 0;
    pointer-events: all;
}
.resultado-proxima-missa .content {
    position: absolute;
    width: 1200px;
    max-width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    overflow: auto;
    font-size: 17px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 #78787829;
    padding: 10px;
}
.resultado-proxima-missa .content .card {
    box-shadow: 0 0 15px 0 #78787829;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 15px;
}
.resultado-proxima-missa .close {
    position: absolute;
    z-index: 9999999999999999999;
    right: 10px;
    top: 10px;
    background: var(--cor1);
    color: var(--cor2);
    opacity: 1;
    padding: 6px 9px;
    width: 28px;
    height: 28px;
    line-height: 15px;
    border-radius: 100px;
    text-shadow: none;
    font-weight: 500;
    cursor: pointer;
}
@media screen and (max-width: 1100px) {
    .botoes-home > * {
        width: 100%;
        margin-bottom: 15px;
        height: auto;
    }
    .botoes-home > * img {
        height: 65px;
    }
    #options .w1.t-center p {
        padding: 15px;
    }
    .botoes-home > *:last-child {
        margin-top: 0;
    }
    #options .w1.t-center h1 {
        font-size: 24px;
        margin-bottom: -10px;
    }
    #options .w1.t-center:nth-child(1) p {
        margin-bottom: 10px;
    }
    #head-busca h1 {
        font-size: 28px;
    }
    #listagem {
        overflow-x: scroll;
    }
    #listagem-table {
        min-width: 1100px;
    }
    #dados-instituicao > .w2 {
        width: 100%;
        padding: 0!important;
    }
}