/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
.customSidebar div#sidebar {
    padding: 0;
    width: 100%;
    float: none;
}
/* Entry Content Adjustment */
.entry-content {
    padding-bottom: 35px;
}

.entry-content p a {
    text-decoration: underline;
}

/* Desktop Search */

.et_pb_fullwidth_menu .et_pb_menu__search-input, .et_pb_menu .et_pb_menu__search-input {
    color: #000 !important;
}

@media (min-width: 981px) {
    .et_pb_fullwidth_menu .et_pb_menu__search-input, .et_pb_menu .et_pb_menu__search-input {
        color: #EEE;
    }
}

/* Dropdown Adjustments */

.et-menu li li a {
    line-height: 1.5 !important;
    padding: 10px 20px;
}

/* Mobile Menu Adjustment */

.et_pb_row_2_tb_header .et_mobile_nav_menu:before {
    content: 'MENU';
    font-size: 14px;
    color: #000000;
    margin-right: 15px;
}

/* Mobile Header Edits */

@media (max-width: 980px) {
    .et_mobile_menu {
        max-height: 65vh!important;
        overflow-y: scroll !important;
    }
    .mobile_menu_bar:before {
        font-size: 56px;
    }
}

@media (max-width: 980px) and (min-width: 601px) {
    .et_pb_fullwidth_menu .et_pb_menu__wrap, .et_pb_menu .et_pb_menu__wrap {
        justify-content: flex-end;
    }
    .et_pb_row_2_tb_header {
        display: flex;
        flex-wrap: wrap;
    }
    .et_pb_row_2_tb_header .et_pb_column {
        width: 50%;
        margin-bottom: 30px;
        justify-content: center;
        align-content: center;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }
}

@media (max-width: 600px) {
    .et_pb_image_1_tb_header .et_pb_image_wrap img {
        max-width: 300px;
    }
}

/* Sidebar Gravity Forms Adjustments */

#sidebar div#input_10_1 > span {
    width: 100%;
    padding-right: 0;
}

#sidebar .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_below li.gfield {
    width: 100% !important;
}

#sidebar .ginput_container {
    width: 100% !important;
    white-space: initial !important;
}

#sidebar .gform_footer.top_label {
    width: 100% !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

#sidebar li#field_10_2 {
    width: 100% !important;
    display: inline-block !important;
}

#sidebar li#field_10_1 {
    display: inline-block;
}

#sidebar span#input_10_1_6_container {
    margin-top: -13px;
}

.et_pb_sidebar_0 div#input_10_1 > span {
    width: 100%;
    padding-right: 0;
}

.et_pb_sidebar_0 .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_below li.gfield {
    width: 100% !important;
}

.et_pb_sidebar_0 .ginput_container {
    width: 100% !important;
    white-space: initial !important;
}

.et_pb_sidebar_0 .gform_footer.top_label {
    width: 100% !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

.et_pb_sidebar_0 li#field_10_2 {
    width: 100% !important;
    display: inline-block !important;
}

.et_pb_sidebar_0 li#field_10_1 {
    display: inline-block;
}

.et_pb_sidebar_0 span#input_10_1_6_container {
    margin-top: -13px;
    display: block;
}

.et_pb_sidebar_0_tb_body div#input_10_1 > span {
    width: 100%;
    padding-right: 0;
}

.et_pb_sidebar_0_tb_body .gform_wrapper form.gf_simple_horizontal div.gform_body ul.top_label.form_sublabel_below li.gfield {
    width: 100% !important;
}

.et_pb_sidebar_0_tb_body .ginput_container {
    width: 100% !important;
    white-space: initial !important;
}

.et_pb_sidebar_0_tb_body .gform_footer.top_label {
    width: 100% !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

.et_pb_sidebar_0_tb_body li#field_10_2 {
    width: 100% !important;
    display: inline-block !important;
}

.et_pb_sidebar_0_tb_body li#field_10_1 {
    display: inline-block;
}

.et_pb_sidebar_0_tb_body span#input_10_1_6_container {
    margin-top: -13px;
    display: block;
}

/* Button Adjustment */

.et_pb_button {
    padding-left: 1.25em !important;
}

/* Memorial Slider Adjustment */

.pt-cv-view .carousel-control span {
    color: #325272;
    background-color: #fee430;
}

.pt-cv-view .carousel-control:hover span {
    color: #FFF;
}

.pt-cv-view .pt-cv-carousel-indicators li.active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #a4dff9 !important;
}

/* Adoptions Grid */
.homeAdoptionGrid > .et_pb_ajax_pagination_container {
    display: flex;
    justify-content: space-between;
}
.homeAdoptionGrid .et_pb_post {
    max-width: 23%;
}
.homeAdoptionGrid .entry-featured-image-url {
    box-shadow: none !important;
}
.homeAdoptionGrid .entry-featured-image-url img {
    max-height: 201px;
    width: auto;
    margin: 0 auto;
    text-align: center;
    display: block;
    box-shadow: 0px 12px 18px -6px rgb(0 0 0 / 30%);
}
.adoptablePetsGrid a.entry-featured-image-url,
.adoptablePetsGrid a.entry-featured-image-url img {
    max-width: 200px;
}
@media (max-width: 980px) {
    .adoptions-grid {
        column-count: 2;
        column-gap: 35px;
    }
}

@media (max-width: 600px) {
    .adoptions-grid {
        column-count: 1;
        column-gap: 0px;
    }
}

/* Gutenburg Button Overrides */

.wp-block-button__link {
    margin-top: 35px;
    color: #325272;
    background: #fee430;
    font-family: 'Bitter',Georgia,"Times New Roman",serif;
    font-weight: 700;
    border: 3px solid #fee430;
}

.wp-block-button__link:hover {
    background: rgba(254, 228, 48, .7);
    color: #325272;
}

.wp-block-button__link:after {
    content: "»";
    margin-left: .5em;
}

/* Gravity Forms Override - Homepage Email */

input#input_10_2 {
    margin-top: 1px;
}

#gform_fields_10 input {
    border-radius: 5px;
    padding: 5px 15px;
}

input.gform_button {
    color: #325272;
    background: #fee430;
    font-family: 'Bitter',Georgia,"Times New Roman",serif;
    font-weight: 700;
    border: 3px solid #fee430;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 50px;
}

input.gform_button:hover {
    background: rgba(254, 228, 48, .7);
    color: #325272;
}

label.gfield_label {
    background: #FFF !important;
    color: #000 !important;
}

/* Adoptions Page */

.adoption a.more-link {
    text-decoration: underline;
    line-height: 3em;
}

/* Square Blog Post Featured Image */

.entry-featured-image-url {
    border-radius: 999999px;
}

/*blog image aspect ratio landscape 16:9*/

.pa-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.pa-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/* Meet the Residents */

ul#residents {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
    margin-left: -35px;
    padding-bottom: 45px;
}

ul#residents li {
    flex: 1 1 auto;
    width: calc(25% - 35px);
    max-width: calc(25% - 35px);
    flex-direction: column;
    display: flex;
    margin-left: 35px;
    margin-bottom: 35px;
}


#residents li img {
    margin-bottom: 25px;
    border-radius: 99999px;
    box-shadow: 0px 12px 18px -6px rgb(0 0 0 / 30%);
}

#residents a.button {
    color: #325272;
    background: #fee430;
    font-family: 'Bitter',Georgia,"Times New Roman",serif;
    font-weight: 700;
    border: 3px solid #fee430;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 50px;
}

#residents a.button:hover {
    background: rgba(254, 228, 48, .7);
    color: #325272;
}

@media (max-width: 980px) {
    ul#residents li {
        width: calc(50% - 35px);
        max-width: calc(50% - 35px);
    }
    .et_pb_row_2_tb_header .et_pb_column {
        margin-top: -20px;
    }
}

@media (max-width: 600px) {
    ul#residents {
        margin-left: 0;
    }

    ul#residents li {
        width: 100%;
        max-width: 100%;
    }
}

/* sidebar Links */

.et_pb_widget #menu-quick-links li a:hover {
    text-decoration: underline !important;
}

/* Footer Links */

footer .et_pb_widget li a:hover {
    color: #EEE !important;
}

/* Footer Icons */

.et_pb_social_media_follow li a.icon {
    border-radius: 100px;
    background-color: #FFF !important;
}

.et_pb_social_media_follow_0_tb_footer li a.icon:before {
    color: #3f678f!important;
}

/* Homepage Adjustment */

.home .entry-content {
    padding-bottom: 0;
}
.adoptionPhoto {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
}
.adoptionItems {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.adoptionItem {
    flex: 1 100%;
    max-width: 24%;
}
h2.adoptionName {
    margin-top: 12px;
}
.adoptionInfo {
    font-weight: bold;
    text-align: center;
}
a.adoptionLink {
    text-align: center;
    display: block;
    margin-top: 10px;
    text-decoration: underline;
}
@media screen and (max-width: 1000px) {
    .adoptionItem {
        max-width: 49%;
    }
}
@media screen and (max-width: 767px) {
    .adoptionItem {
        max-width: 100%;
    }
}

/* Facebook Feed Adjustment */

#cff.cff-masonry .cff-load-more {
    background: rgb(254, 228, 48) !important;
    color: #3f678f !important;
    font-weight: 700;
    font-family: 'Bitter',Georgia,"Times New Roman",serif !important;
    font-size: 18px !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

#cff .cff-dot {
    color: #FFF;
}

#cff .cff-post-links a {
    font-weight: 700;
}

/* Memorials Page */
.memorial-quote {
    font-size: 1.5em;
    font-style: italic;
    text-align: center;
    margin-bottom: 65px;
    line-height: 1.5;
    font-family: "georgia", serif;
    color: #3f678f;
}
.memorial-quote span {
    font-size: .65em;
    font-family: 'Open Sans';
    font-style: normal;
    padding-top: 25px;
    display: block;
}
