/*
Theme Name: My Church Child
Theme URI: http://cmsmasters.net/my-church-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: My Church Child Theme
Template: my-church
Version: 1.0.0
License:
License URI:
Text Domain: my-church-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Pulled from theme settings */
.cmsmasters_homepage_slider {
    overflow: hidden;
}
/* Forms */
#page .cmsmasters-form-builder textarea {
    min-height: 100px;
    height: 100px;
    overflow: hidden;
}
#page .cmsmasters_custom_give_form .wpcf7-form > p {
    max-width: 100%;
    width: 465px;
}
#page .cmsmasters_custom_give_form .wpcf7-form input[type="submit"] {
    margin-top: 20px;
}
/* Mailpoet */
.widget_wysija_homepage .wysija-paragraph .formError {
    left: auto !important;
    right: 0 !important;
}
.widget_wysija_homepage .widget_wysija {
    text-align: right;
    padding: 0;
}
.widget_wysija .wysija-paragraph {
    float: left;
}
.widget_wysija .widget_wysija_cont {
    display: inline-block;
}
.widget_wysija .widgettitle {
    display: none;
}
#page .widget_wysija .wysija-paragraph input {
    height: 56px;
    padding: 0px 22px !important;
    background-color: #393d44;
    border-color: #5a5d63;
    margin: 0 -1px 0 0;
}
#page .widget_wysija .wysija-paragraph input:focus {
    border-color: #feea8c;
}
.widget_wysija .wysija-submit {
    border: 0px;
    line-height: 56px;
    color: #23272f;
    background-color: #feea8c;
    float: left;
}
/* Adaptive */
@media only screen and (min-width: 1440px) {
    .widget_wysija .wysija-paragraph {
        width: 450px;
        max-width: 100%;
    }
    .widget_wysija .wysija-submit {
        width: 200px;
        max-width: 100%;
    }
}
@media only screen and (max-width: 1024px) {
    #page .cmsmasters_homepage_quotes .featured_block_inner {
        width: 100%;
    }
    .widget_wysija .wysija-submit {
        padding: 0 15px;
    }
}
@media only screen and (max-width: 768px) {
    .widget_wysija_homepage .widget_wysija {
        text-align: center;
    }
    .widget_wysija .wysija-submit {
        padding: 0 35px;
    }
    .widget_wysija .widget_wysija_cont {
        display: block;
    }
    .widget_wysija .wysija-paragraph {
        width: 100%;
    }
    .widget_wysija .wysija-submit {
        float: none;
    }
    #page .сmsmasters_heading_center_tablet {
        text-align: center;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .cmsmasters_homepage_fb_puzzle .cmsmasters_column.one_half {
        width: 100%;
    }
    .cmsmasters_homepage_fb_puzzle .cmsmasters_column.one_fourth {
        width: 50%;
    }
}
/* Instagram */
@media only screen and (min-width: 640px) and (max-width: 1024px) {
    #page #sb_instagram.sbi_col_3 #sbi_images .sbi_item,
    #page #sb_instagram.sbi_col_4 #sbi_images .sbi_item,
    #page #sb_instagram.sbi_col_5 #sbi_images .sbi_item,
    #page #sb_instagram.sbi_col_6 #sbi_images .sbi_item {
        width: 50%;
    }
}

/* Pulled from WordPress customizer */
.text-justify p {
    text-align: justify !important;
}

@media only screen and (max-width: 600px) {
    h2.tp-caption {
        font-size: 46px !important;
        line-height: 50px !important;
    }
}

.footer_logo img {
    width: 250px;
    height: 150px;
}

.bible-studies-row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.home-featured-main .cmsmasters_featured_block {
    min-height: 720px;
}
.home-featured .cmsmasters_featured_block {
    min-height: 360px;
}
.home-featured .cmsmasters_featured_block .featured_block_inner {
    margin-top: 80px !important;
}

.home-featured-main .cmsmasters_featured_block .featured_block_inner {
    margin-top: 280px !important;
}

.footer_inner_right {
    margin: 10px 5% 10px 0;
}

#af-body-1373793626 .af-element #awf_field-106700214 {
    display: block;
    width: 75%;
    float: left;
}

input:not([type='submit']):not([type='button']):not([type='radio']):not([type='checkbox']) {
    height: 52px;
}

#af-body-1373793626 .af-element.buttonContainer {
    float: left;
    width: 20%;
    margin-left: 10px;
    text-align: center;
    border: 0px;
}

#af-body-1373793626 .af-element.buttonContainer input[type='submit'] {
    height: 52px;
}

.ecs-event-list {
    width: 50%;
    margin: 10px auto;
}

.ecs-event-list li {
    margin: 0 0 30px 25%;
}

.ecs-event-list li img {
    margin-right: 25px;
}
.ecs-event-list > li::before {
    content: none;
}

#wpcf7-f19176-p16083-o1 .wpcf7-textarea,
#wpcf7-f19176-p15790-o1 .wpcf7-textarea,
#wpcf7-f19176-p16083-o1 .wpcf7-email,
#wpcf7-f19176-p15790-o1 .wpcf7-email {
    height: 56px;
}

#wpcf7-f19176-p16083-o1 input[type='submit'],
#wpcf7-f19176-p15790-o1 input[type='submit'] {
    margin-top: 30px;
}

.home .cf7-smart-grid.has-grid .wpcf7-form-control:not(img) {
    margin-top: 13%;
}

@media only screen and (min-device-width: 769px) and (max-device-width: 810px) {
    .home .cf7-smart-grid.has-grid .wpcf7-form-control:not(img) {
        margin-top: 23%;
    }
}

span.wpcf7-list-item-label::before {
    border: 1px solid #999999 !important;
}

/* style GravityForm buttons */
* {
    --gf-local-shadow: none !important;
    --gf-local-radius: 0 !important;
    --gf-local-border-width: 2px !important;
    --gf-local-border-color: #eaeaea !important;
    --gf-local-line-height: 26px !important;
    --gf-local-height: 52px !important;
}
.gfield-choice-input {
    --gf-local-height: var(--gf-ctrl-choice-size) !important;
}
.gform_button,
.gform_body .print-form-button {
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
    min-height: 34px;
    width: 100% !important;
    border-color: #00a79d !important;
    font-family: 'Roboto', Arial, Helvetica, 'Nimbus Sans L', sans-serif !important;
    font-size: 15px;
    line-height: 52px !important;
    font-weight: 900 !important;
    font-style: normal;
    text-transform: uppercase !important;
    cursor: pointer;
    display: inline-block;
    padding: 0 35px;
    position: relative;
    white-space: nowrap;
    text-align: center;
    border-width: 2px !important;
    border-style: solid;
    background-color: #00a79d !important;
}
.gform_button:hover,
.gform_body .print-form-button:hover,
.gform_button:focus,
.gform_body .print-form-button:focus {
    background-color: #ffffff !important;
    color: #00a79d !important;
    outline: none !important;
}

/* style GravityForm fields */
.gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus,
.gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):focus {
    --gf-local-border-color: #00a79d !important;
    outline: none;
}
