body{
    background: #eab0dc;
    font-family: ubuntu;
}

h1{
    color: #fff;
    font-size: 64px;
    letter-spacing: 2px;
    margin-top: 80px;
    text-align: center;
}

.content{
    background: #fff;
    max-width: 960px;
    margin: 30px auto;
    padding:  20px 30px;
    border-radius: 10px 110px 10px 10px;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.1)
}
.content p{
    font-family: ubuntu;
    font-size: large;
    line-height: 1.5;
}

ul{
    list-style-type: none;
    padding: 0;
}

li{
    padding: 20px;
    background: #f6f6f6;
    font-size: 20px;
    color: #555;
    position: relative;
    border-bottom: 1px solid #e6e6e6;
    /* height: 46px; */
}

li:nth-child(even){
    padding: 20px;
    background: #f2f2f2;
}

li span{
    display: block;
}

li span:nth-child(2){
    font-size: 16px;
    margin-top: 6px;
    color: #999;
}

li div{
    position: absolute;
    top: 0;
    right: 0px;
    background: rgba(255,255,255,0.6);
    width: 40px;
    text-align: center;
    padding: 10px 0;
    font-weight:  bold;
    cursor:  pointer;
}

form input{
    float: left;
    width: 38%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eee;
    margin: 0 1%;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    font-size: 18px;
}

form input:focus{
    outline: none;
    border-bottom: 3px solid #88236f;
    padding-bottom: 8px;
    transition: all ease 0.2s;
}

form:after{
    content: '';
    clear: both;
    display: block;
}
button{
    margin-top: 10px;
}
button{
    border: 0;
    background: #fff;
    border-radius: 10px;
    padding: 13px;
    width: 14%;
    box-shadow: -1px 0px 1px rgba(0,0,0,0.1);
    font-weight: bold;
    font-family: ubuntu;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}


.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
}
.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.close-button:hover {
    background-color: darkgray;
}
#mozchurches{
    height: 500px;
}
.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}
#mapid { height: 400px; }
@media only screen and (max-device-width: 1024px) {
    form input{
        width: 76%;
    }
}

@media only screen and (max-device-width: 669px) {
	form input{
        width: 100%;
        display: block;
    }
    button, a{
        display: block;
        width: 100%;
        margin-top: 10px;
    }
    #coordenadas{
        margin-top: 10px;
    }
    input[name=latitude]{
        margin-bottom: 15px;
    }
}

@media only screen and (max-device-width: 450px) {
    .content{
        border-top-right-radius: 50px;
    }
    h1{
        font-size: 30px;
        margin-top: 20px;
    }
}
@media only screen and (max-device-width: 414px) {
    .content{
        border-top-right-radius: 50px;
    }
    .modal-content{
        width: 21.5rem;;
    }
}
@media only screen and (max-device-width: 411px) {
    .content{
        border-top-right-radius: 50px;
    }
    .modal-content{
        width: 21rem;
    }
}
@media only screen and (max-device-width: 375px) {
    .content{
        border-top-right-radius: 60px;
    }
    .modal-content{
        width: 19rem;;
    }
}
@media only screen and (max-device-width: 360px) {
    .content{
        border-top-right-radius: 60px;
    }
    .modal-content{
        width: 18rem;;
    }
}

@media only screen and (max-device-width: 320px) {
    .content{
        border-top-right-radius: 60px;
    }
    .modal-content{
        width: 16rem;;
    }
}

@media only screen and (max-device-width: 280px) {
    .content{
        padding: 20px 10px;
        border-top-right-radius: 40px;
    }
    .modal-content{
        width: 13.5rem;;
    }
    h1{
        font-size: 30px;
        margin-top: 20px;
    }
}
