/*
Theme Name:     Utmost Base -- My Utmost Simplified
Theme URI:      http: //rbc.org/
Description:    Utmost Base -- My Utmost Simplified 2023
Author:         RBC Ministries
Author URI:     http: //rbc.org/about/
Version:        1.0
Template:      	utmost-base
*/

/* Styling for header */
@import url("./css/header.css");
@import url("./css/cf7-forms.css");
@import url("./css/footer.css");

:root {
    --banner: #5398b7;
    --bannerhover: #79A1AD;
    --header:
        --menuhover: #62B4D9;
    --submenu: #5398B7;
    --donation: #BD4B30;
    --donationhover: #BD694E;
    --borderheader: #557B86;
    --audioback: #557B86;
    --audiobar: #A6C4CF;
    --line: #5398B7;
    --link: #557B86;
    --footertitle: #188C6B;
    --subsbutton: #BD4B30;
    --subsbuttonhover: #BD694E;
    --footer: #557B86;
}

/* Change all Fonts */
body {
	font-family: 'PT Serif', sans-serif;
}
#content p,
.body-content p {
	font-family: 'PT Serif', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'PT Serif', sans-serif;
}


.rbc-profiles-wrap .btn.fb-btn,
#utmost-signin-page .sign-in-content div.rbc-profiles-wrap,
.rbc-profiles-wrap,
.rbc-profiles-wrap .rbc-profiles-field,
.rbc-profiles-wrap.rbc-profiles-login a.rbc-profiles-login-forgot-link,
.rbc-profiles-wrap.rbc-profiles-login .rbc-profiles-rememberme,
.rbc-profiles-wrap.rbc-profiles-login a.rbc-profiles-login-register-link {
	font-family: 'PT Serif', sans-serif;
}

.form-validate .input-row .error-message .message {
	font-family: 'PT Serif', sans-serif;
}

.email-text {
	font-family: "PT Serif", sans-serif;
}

#main-nav.navbar-default .navbar-nav li a {
	font-family: "PT Serif", sans-serif;
}

.navbar .btn-donate,
.navbar .btn-donate:hover {
	font-family: 'PT Serif', sans-serif;
}

.search-container .gsc-control-cse .gs-spelling,
.search-container .gsc-control-cse .gs-result .gs-title,
.search-container .gsc-control-cse .gs-result .gs-title *,
.search-container .gsc-result .gs-snippet {
	font-family: 'PT Serif', sans-serif;
}

.search-container .gs-result .gs-visibleUrl {
	font-family: 'PT Serif', sans-serif;
}

.page-utmost-container.profile-container h2 {
	font-family: 'PT Serif', sans-serif;
}

.utmost-profile-form input,
.utmost-profile-form select,
.profile-container .input {
	font-family: 'PT Serif', sans-serif;
}

.register-container .terms-conditions {
	font-family: 'PT Serif', sans-serif;
}

.utmost-profile-form select.disabled,
.utmost-profile-form input::placeholder {
	font-family: 'PT Serif', sans-serif;
}

.entry-date .calendar-toggle {
	font-family: 'PT Serif', sans-serif;
}

#home-calendar #wp-calendar caption {
	font-family: 'PT Serif', sans-serif;
}

#home-calendar #wp-calendar th,
#home-calendar #wp-calendar td,
#home-calendar #wp-calendar td a {
	font-family: 'PT Serif', sans-serif;
}

.timeline-item-content p,
.timeline-item-content h4 {
	font-family: 'PT Serif', sans-serif;
}

.page-utmost-content p,
.page-utmost-content h2 {
	font-family: 'PT Serif', sans-serif;
}

.page-utmost-banner-quotes,
.page-utmost-banner-quotes p {
    font-family: 'PT Serif', sans-serif;
}

.user-engagement-group form .form-control,
#notes-accordion form .form-control,
.user-engagement h2,
.journal-title-wrap,
p.journal-lesson-title,
.btn.btn-primary,
#notes-accordion .form-control,
.sign-up-text h3,
.menu-footer-nav-container,
#footer-meta a,
.featured-text,
.featured-title,
#content .wisdom-content p,
#content .wisdom-author,
#utmost-reviews .reviews-icon p,
#utmost-reviews .reviews-title h3,
#utmost-reviews .reviews-content p,
.signup-banner-text h1.signup-text-1,
.signup-banner-text h2.signup-text-2
{
	font-family: 'PT Serif', sans-serif;
}

@media only screen and (min-width: 992px) {
    .bookmark-journal li a
    {
        font-family: 'PT Serif', sans-serif;
    }
}

.sign-up-text h3,
.menu-footer-nav-container,
#footer-meta a,
.featured-text,
.featured-title,
#content .wisdom-content p,
#content .wisdom-author,
#utmost-reviews .reviews-icon p,
#utmost-reviews .reviews-title h3,
#utmost-reviews .reviews-content p,
.signup-banner-text h1.signup-text-1,
.signup-banner-text h2.signup-text-2,
h3.signup-text-3
{
    font-family: 'PT Serif', sans-serif;
}
@media only screen and (min-width: 992px) {
    .bookmark-journal li a,
    .featured-title-mobile
    { 
        font-family: 'PT Serif', sans-serif;
    }
}

/* Change all Fonts End */

#utmost-reviews {
    margin-bottom: 50px;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(100px, 380px));
    gap: 10px;
    width: max-content;
}

#utmost-reviews .reviews-excerpt {
    margin-top: 50px;
    text-align: justify;
}



a {
    color: var(--link);
}

.navbar-brand {
    background: transparent url(./images/sc-utmost-header-logo.svg) no-repeat 50% 50%;
    height: 45px;
    top: 10px;
}

#login-modal .navbar-brand {
    background: transparent url(./images/sc-utmost-header-logo.svg) no-repeat 50% 50%;
}

/* Oswald Bio */
.page-utmost-content p {
    font-size: 17px;
    text-align: justify;
}

.container-fluid.page-utmost-wrapper {
    background-image: url('./images/about-back-desktop.jpg');
    padding-bottom: 80px;
}

.page-utmost-banner {
    background-color: transparent;
    height: 280px;
}

.page-utmost-banner-quotes {
    color: black;
}

.page-utmost-banner-quotes h1 {
    color: black;
    margin-bottom: 0px;
    font-family: 'Crimson Text', serif;
}

.page-utmost-content {
    max-width: 917px;
    background-color: #fff;
    padding: 0px;
    margin-top: -43px;
}

/* End Oswald Bio */


/* Header Banner */

.utmost-banner-text p,
.utmost-banner-text h2 {
    max-width: 36rem;
    color: #000000;
    margin: 20px 0 20px 0 !important;
    font-weight: bold;
}

.utmost-banner-text-1 {
    font-size: 3rem !important;
    line-height: 38px !important;
}

.utmost-home-banner {
    background-size: cover;
    background-repeat: unset;
    background-position: center 50%;
    height: 33rem;
    padding-left: 15px;
    background-color: #ddd;
}

.utmost-banner-btn {
    background: var(--borderheader) !important;
}

.utmost-banner-btn:hover {
    background-color: var(--bannerhover) !important;
    color: #fff;
    text-decoration: none;
    border: none;
}

.loaf-button.small.support:hover {
    background-color: var(--donationhover) !important;
    color: #fff;
    text-decoration: none;
}

p.utmost-banner-text-1 {
    max-width: 100%;
}

/* End Header Banner */


/* Devotional Section */
.devo-body .utmost-layout {
    padding-top: 40px;
}

.entry-date {
    padding-bottom: 0px;
}

.post-content p {
    line-height: 2em;
    text-align: justify;
    margin-top: 1.2em;
    margin-bottom: 1.2em;
}

.devo-body {
    background-image: none;
}

.entry-date .calendar-toggle {
    border: #cccccc solid 1px !important;
    color: #9a9a9a;
}

.calendar-icon {
    color: #cccccc;
    ;
}

.odb-bookmark {
    display: none !important;
}

#key-verse-box {
    border-top: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
}

#content .wisdom-wrapper {
    text-align: center;
    border: 2px solid;
    border-color: #5398b7;
    padding: 45px 25px;
    margin-top: 30px;
    margin-bottom: 50px;
    line-height: 31px;
}

#content .wisdom-content p {
    line-height: 46px;
}

#content .wisdom-title {
    font-size: 33px;
}

#bible-in-a-year-box a,
#key-verse-box a {
    color: var(--link);
}

/* End Devotional Section */

/* User's Review Section */

.load-spin i {
    display: none;
}

.utmost-signup-banner.container-fluid,
.container.utmost-engagement {
    display: none;
}

#utmost-reviews .reviews-title h3 {
    color: #000;
    font-weight: 400;
}

#utmost-reviews .reviews-title h3 {
    margin-bottom: -15px;
}

.reviews-description h4 {
    color: black;
    font-weight: normal;
}

/* #utmost-reviews{
        display: -webkit-flex;
        gap: 10px;
        grid-template-columns: repeat(3,1fr);
        margin-bottom: 50px;
    } */

#utmost-reviews {
    margin-bottom: 50px;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(100px, 380px));
    gap: 10px;
    width: max-content;
}

.container:before,
.container:after {
    content: unset;
}

#utmost-reviews .reviews-excerpt {
    margin-top: 50px;
    text-align: justify;
}



/* End User's Review Section */

/* Form Page */

.page-template-page-form-subscribe .subscription-section {
    height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
}

.page-template-page-form-subscribe .form-banner {
    height: 40vh !important;
    text-align: center;
}

.page-template-page-form-subscribe .text-form {
    margin-top: 20px !important;
}

.page-template-page-form-subscribe .footer-form-field-utmost-template {
    padding: 23px;
    width: 90%;
    margin: -10px auto;
    color: black;
    border-radius: 0px;
    font-size: 16px;
}

.page-template-page-form-subscribe .footer-form-field-select-utmost-template {
    height: 48px;
    width: 90%;
    margin: -10px auto;
    color: #aeaead;
    border-radius: 0px;
    font-size: 16px;
}

.page-template-page-form-subscribe .footer-form-field-select-utmost-template {
    width: 90%;
    margin: -5px auto;
}

/* End Form Page */

/* Footer Section */
.page-template-page-form-subscribe .subscribe-container {
    align-content: center;
    padding-top: 60px;
}

.subscribe-container {
    background-image: url(https://d197n5kam3wa4q.cloudfront.net/wp-content/uploads/sites/27/2023/11/20235938/footer-subscription-desktop-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sr-only {
    display: none;
}

#utmost-signup-wrapper .first-name input {
    margin-left: unset;
}

#utmost-signup-wrapper .last-name input {
    margin-right: unset;
}

#utmost-signup-wrapper .first-name input,
#utmost-signup-wrapper .last-name input {
    display: inline-block;
    border-radius: 0px;
    width: 19.5%;
}

.edition-select {
    display: none;
}

#container_EMAIL input {
    border-radius: 0px;
}

#footer-meta {
    background-color: var(--footer);
    color: #ffffff;
}

#footer-meta a {
    color: #ffffff;
}

#page-footer {
    height: 550px;
}

.sign-up-text h3 {
    font-size: 30px;
}

.sign-up-text h4 {
    font-size: 20px;
}

/* End Footer Section */

/* Form Page */

.page-template-page-form-subscribe .subscription-section {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
}

.container-image,
.container-app {
    padding-top: 35px;
}

.container-image-two,
.container-text {
    padding-top: 70px;
}

.container-image .wrapper-image-desktop img,
.container-image-two .wrapper-image-desktop img {
    max-width: 80%;
}

.container-image .wrapper-image-mobile img,
.container-image-two .wrapper-image-mobile img {
    max-width: 100%;
}

.wrapper-text {
    text-align: center;
    justify-self: center;
}

.wrapper-text h3 {
    color: #5398b7;
}

.wrapper-text p {
    font-size: 20px;
}

.wrapper-text li {
    margin: 30px;
    font-size: 18px;
}

.wrapper-image-desktop {
    display: block;
}

.wrapper-image-mobile {
    display: none;
}

.page-template-page-form-subscribe .form-banner {
    height: auto !important;
    text-align: center;
}

.page-template-page-form-subscribe .text-form {
    margin-top: 20px !important;
}

.page-template-page-form-subscribe .footer-form-field-utmost-template {
    padding: 23px;
    width: 90%;
    margin: -10px auto;
    color: black;
    border-radius: 0px;
    font-size: 16px;
}

.page-template-page-form-subscribe .footer-form-field-select-utmost-template {
    height: 48px;
    width: 90%;
    margin: -10px auto;
    color: #aeaead;
    border-radius: 0px;
    font-size: 16px;
}

.page-template-page-form-subscribe .footer-form-field-select-utmost-template {
    width: 90%;
    margin: -5px auto;
}

/* End Form Page */

/* Sharing */
.bottom-sharing {
    margin: 0px auto 50px auto !important;
}

/* End of Sharing */

.utmost-bottom-sidebar .utmost-sidebar .row {
    margin-right: 0px;
    margin-left: 0px;
}

.utmost-bottom-sidebar-tc .row {
    margin: 0px;
}

.full-width-ad {
    padding: 0px !important;
}


/* Custom field design */

.audio-link {
    width: 80%;
}


@media only screen and (max-width: 575px) {

    .menu-footer-nav-utmost-footer-nav-utmost-footer-nav-container,
    .menu-footer-nav-utmost-footer-nav-container {
        margin-left: 67px;
        margin-right: 67px;
    }

    .utmost-banner-text {
        width: 95%;
    }

    .page-utmost-content img.img-responsive {
        max-width: 90%;
    }

    #content .wisdom-content p {
        line-height: 38px;
        font-size: 19px;
    }

    #content .wisdom-title {
        font-size: 30px;
    }

    .page-template-page-form-subscribe .text-form {
        margin-bottom: 30px;
    }

    .page-template-page-form-subscribe .footer-form-field-utmost-template {
        width: 100%;
        margin: 0px auto;
    }

    .page-template-page-form-subscribe .footer-form-field-select-utmost-template {
        width: 100%;
        margin: 0px auto;
    }

    input.wpcf7-form-control.wpcf7-submit.btn.btn-primary {
        min-width: 100%;
        margin: 0 auto;
    }



}

@media only screen and (min-width: 768px) {
    #bible-in-a-year-box {
        padding-top: 0px;
        margin-top: 15px;
        margin-bottom: 30px;
        bottom: 0px;
    }
}

@media only screen and (max-width: 767px) {


    .page-utmost-content.container {
        margin-left: 0px;
        margin-right: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .page-utmost-content.container {
        width: 90%;
        margin: auto;
    }

    .container-fluid.page-utmost-wrapper {
        background-image: url('./images/about-back-mobile.jpg');
    }

    /* Header Banner */

    .utmost-banner-text {
        width: 95%;
    }

    .utmost-banner-text p,
    .utmost-banner-text h2 {
        width: auto;
        max-width: 37rem;
    }

    .utmost-banner-text h2.utmost-banner-text-2 {
        font-size: 17px !important;
        width: auto !important;
    }

    .utmost-home-banner {
        background-size: auto;
        background-repeat: no-repeat;
        background-position: -726px 0px;
    }

    .utmost-banner-btn {
        font-size: 15px;
        position: relative;
        margin: auto;
        right: 0px;
        width: 150px;
        height: 40px;
        float: left;
        text-align: center;
        padding: 10px 10px;
    }

    .utmost-banner-text h2.utmost-banner-text-2 {
        font-size: 15px;
        width: 33rem;
    }

    /* End Header Banner */

    .utmost-devo-title {
        text-align: center;
    }

    .devo-body .utmost-layout {
        margin-top: 0px;
        background-image: none;
    }

    .utmost-devo-title h4 {
        left: 0px;
    }

    /* Footer */

    #utmost-reviews {
        margin-bottom: 0px;
    }

    #footer-menu {
        margin-top: 0px;
        padding-top: 25px;
    }

    .sign-up-text {
        display: block;
        margin-top: 85px;
    }

    /* Subscription Form */

    .footer-form-field-utmost,
    .footer-form-field-select-utmost {
        width: 60%;
        margin: -5px auto;
    }

    .sign-up-text h3 {
        font-size: 20px;
    }

    #footer-menu {
        margin-top: 0px;
    }

    /* End Subscription Form */

    /* End Footer */

    .bible-year-wrap {
        position: relative;
        bottom: 6px;
        margin-top: 15px;
    }

}

@media only screen and (max-width: 991px) {

    .page-utmost-banner {
        padding-top: 115px;
    }

    .page-utmost-banner-quotes p {
        font-size: 40px;
        font-weight: bolder;
    }

    .page-utmost-banner-quotes h1 {
        margin-top: 0;
    }

    .author-bio-desc-first {
        padding: 0 55px 0 55px !important;
    }

    .author-bio-row-first {
        display: flex;
        flex-direction: column-reverse;
    }

    .author-bio-desc-first p {
        margin-top: 0px !important;
    }

    .author-img-first,
    .page-utmost-content.container {
        padding: 0px !important;
    }

    .author-img-second img {
        height: 100% !important;
        width: -webkit-fill-available;
        max-width: 70%;
    }

    .author-bio-desc-second p {
        padding: 10px 0 10px 55px !important;
    }

    .author-bio-desc-third,
    .author-bio-desc-fourth {
        padding: 10px 55px !important;

    }

    .container-fluid.page-utmost-wrapper {
        padding-bottom: 0;
    }

    #utmost-reviews {
        grid-template-columns: repeat(1, 1fr);
        display: flex;
        flex-wrap: wrap;
        width: auto;
    }

    .utmost-header-nav {
        margin-top: -5px !important;
    }

    .utmost-mobile-close {
        background: transparent url(../utmost-base/images/icon-close-tc.png) no-repeat 50% 50%;
    }


}