.wrapper-1 {
    padding: 4% 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    background-image: url(/view/img/wrapper-empty.png);
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 25pt;
}

.wrapper-white {
    padding: 40px 0;
    background-color: white;
}

.wrapper-gray .content p {
    text-align: center;
}

.wrapper-gray {
    padding: 40px 0;
    background-color: #f1f1f1;
}

h2 {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 24px;
}

.content p {
    font-family: Arial, sans-serif;
    font-size: 13pt;
    text-align: justify;
    margin: 15px 0;
}

#prayer_form {
    background-color: #dddddd;
    border: 1px solid #9f9f9f;
    margin: 40px auto;
    max-width: 540px;
    border-radius: 7px;
}

#prayer_form .form_title {
    border-top: 1px solid #9f9f9f;
    border-bottom: 1px solid #9f9f9f;
    font-size: 18px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    padding: 10px 30px;
}

#prayer_form .form_title:first-child {
    border-top: 0;
}

.form_body {
    padding: 10px 50px 20px 50px;
}

.form_body .field {
    margin-bottom: 5px;
}

.form_body .field label {
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
    width: 90px;
}

.form_body .field input, .form_body .field select {
    font-family: Arial, sans-serif;
    font-size: 15px;
    outline: none;
    border: 0;
    width: calc(100% - 90px);
    padding: 7px 12px;
}

.form_body .textarea-field {
    margin-top: 15px;
}

.form_body .textarea-field label {
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.form_body .textarea-field textarea {
    width: 100%;
    display: block;
    border: 0;
    outline: none;
    padding: 7px 10px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    height: 100px;
}

.form_body .checkbox-field {
    margin: 20px 0;
    text-align: center;
}

.form_body .checkbox-field label {
    font-family: Arial, sans-serif;
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    width: calc(100% - 27px);
    max-width: 360px;
}

.form_body .checkbox-field input {
    margin: 0;
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: middle;
}

.form_body .small_description {
    color: #6e6e6e;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
    margin-left: 90px;
}

.form_body .submit {
    background-color: #ffe100;
    font-weight: bold;
    font-size: 20px;
    margin: auto;
    display: block;
    padding: 10px 20px;
    border-radius: 7px;
    border-color: #ffe100;
    cursor: pointer;
}

.form_body .submit:hover {
    border-style: inset;
}

.petition-wrapper .petition {
    background-color: #e7d5a3;
    padding: 10px;
    border-radius: 7px;
    margin-top: 15px;
}

.petition-wrapper .petition:nth-child(even) {
    background-color: #eddfb8;
}

.petition .petition-title .main-info, .petition .petition-footer .footer-info {
    font-size: 16px;
    padding: 5px 0 0 10px;
    display: inline-block;
    vertical-align: middle;
    width: 50%;
}

.petition .petition-title .petition-date, .petition .petition-footer .petition-country {
    font-size: 16px;
    padding: 5px 10px 0 0;
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    text-align: right;
}

.petition .petition-body {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    margin: 5px 0;
    padding: 15px;
    font-size: 16px;
    text-align: justify;
}

.load-more {
    background-color: #4683b6;
    color: white;
    font-size: 20px;
    padding: 15px 0;
    border-radius: 10px;
    width: 230px;
    text-align: center;
    cursor: pointer;
    margin: 40px auto 0;
    transition: 0.2s;
}

.load-more:hover {
    background-color: #1f5d90;
}

.loading i {
    animation: fa-spin 2s linear infinite;
}
.error label {
    color: red !important;
}
.error input, .error select, .error textarea {
    border: 1px solid red !important;
}
.success {
    color: #077e00;
    background-color: rgba(7, 126, 0, 0.3);
    border: 1px solid #056300;
    text-align: center;
    font-size: 15pt;
    padding: 10px;
    border-radius: 10px;
    margin: 20px auto;
}
.captcha_error {
    font-size: 14px;
    color: red;
    margin: 5px 0;
    text-align: center;
}
.g-recaptcha {
    width: 304px;
    margin: 0 auto 10px;
}

@media (max-width: 768px) {
    .success {
        font-size: 12pt;
    }
    .wrapper-1, .wrapper-white, .wrapper-gray {
        padding: 20px 0;
    }

    h1 {
        font-size: 21pt;
    }

    .content p {
        font-size: 11pt;
        margin: 10px 0;
    }

    #prayer_form {
        max-width: 430px;
        margin: 20px auto;
    }

    .form_body {
        padding: 10px 30px 15px;
    }

    #prayer_form .form_title {
        font-size: 15px;
        padding: 7px 15px;
    }

    .form_body .field label {
        font-size: 14px;
        width: 80px;
    }

    .form_body .field input, .form_body .field select {
        font-size: 13px;
        padding: 5px 8px;
        width: calc(100% - 80px);
    }

    .form_body .textarea-field label {
        font-size: 14px;
    }

    .form_body .textarea-field textarea {
        font-size: 13px;
        padding: 5px 8px;
    }

    .form_body .submit {
        font-size: 16px;
        padding: 7px 15px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .petition .petition-title .main-info, .petition .petition-footer .footer-info, .petition .petition-title .petition-date, .petition .petition-footer .petition-country {
        font-size: 13px;
    }

    .petition .petition-body {
        font-size: 14px;
        padding: 10px;
    }

    .load-more {
        font-size: 17px;
        width: 200px;
        padding: 12px 0;
        margin-top: 30px;
    }
}

@media (max-width: 424px) {
    .content p, .petition .petition-body {
        text-align: left;
    }
}

@media (max-width: 374px) {
    .form_body {
        padding: 10px;
    }
}
