/*
Theme Name: IN Magazine
Author: Mouthmedia Inc.
Version: 1.0
*/

div.wpcf7 {
    position: relative !important;
    width: 100%;
}

div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -20px;
    right: 0;
}

.grecaptcha-badge {
    display: none !important;
}

.wpcf7-not-valid-tip {
    display: none !important;	
    color: white !important;
    background: #c82727 !important;
    font-size:12px !important;
    margin-bottom: 0px !important;
    padding:3px 5px !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-response-output {
    width: 100% !important;
    margin: 20px 0 0 !important;
    border: 0 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: white !important;
    padding: 10px !important;
    clear: both !important;
}

.sent .wpcf7-response-output {
    background: #398f14 !important;
}

.invalid .wpcf7-response-output {
    background: #c82727 !important;
}

.wpcf7-submit {
    margin-bottom: 0 !important;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #c82727 !important;
}
.community form .checkbox p,
.pride-event form .checkbox p {
    margin: 0;
}
.community form .checkbox .wpcf7-checkbox,
.pride-event form .checkbox .wpcf7-checkbox {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}
.community form .wpcf7-form-control-wrap.file-upload,
.pride-event form .wpcf7-form-control-wrap.file-upload {
    display: none;
}
.wpcf7 select[name="`v-input"] option:first-child,
.wpcf7 select[name="city-input"] option:first-child,
.wpcf7 select[name="type-input"] option:first-child {
    color: #aaa; 
}

/* ==================================== */
/* Images ----------------------------- */
.wp-caption .wp-caption-text {
    color: var(--grey);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* ==================================== */
/* Comments --------------------------- */

.comment-notes {
    display: none;
}

#commentform > p {
    margin: 0;
}

/* ==================================== */
/* Newsletter Form (FloDesk) ---------- */

.newsletter form.fd-focus-visible-applied {
    padding: 0 !important;
}
.newsletter form [class*="__title"],
.newsletter form [class*="__subtitle"] {
    display: none !important;
}
.newsletter [class*="__preference"] {
    margin: 0 !important;
}
.newsletter [class*="__container"] {
    background-color: var(--dark) !important;
    overflow: visible !important;
}
.newsletter form ::placeholder,
.newsletter form [class*="__fields"] .fd-form-label,
.newsletter form [class*="__fields"] [class*="__control"] {
    color: #fff !important;
    font-family: var(--body-font);
    font-size: 1.6rem;
    padding: 10px;
}
.newsletter form [class*="__fields"] [class*="__control"] {
    background: #000;
    border-color: #000;
}
.newsletter form [class*="__fields"] [class*="__control"]:focus {
    background: var(--grey);
}
.newsletter form [class*="__preference"] .fd-form-check__label {
    color: #fff !important;
    font-family: var(--body-font) !important;
}
.newsletter form [class*="__preference"] [class*="__preference-item"] {
    padding: 0;
}
.newsletter form [class*="__preference"] [class*="__form-check"] .fd-form-check__checkmark {
    background: var(--dark);
    border-radius: 0;
}
.newsletter form [class*="__preference"] [class*="__form-check"] .fd-form-check__checkmark:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' width='12' height='10' viewBox='0 0 11.51 8.2'%3e%3ctitle%3echeck%3c/title%3e%3cpath d='M4.05%2c8.2A.74.74%2c0%2c0%2c1%2c3.52%2c8L.22%2c4.68A.75.75%2c0%2c0%2c1%2c1.28%2c3.62l3.3%2c3.3A.75.75%2c0%2c0%2c1%2c4.58%2c8%2c.74.74%2c0%2c0%2c1%2c4.05%2c8.2Z'/%3e%3cpath d='M4.06%2c8.2A.74.74%2c0%2c0%2c1%2c3.53%2c8a.75.75%2c0%2c0%2c1%2c0-1.06l6.7-6.7a.75.75%2c0%2c0%2c1%2c1.06%2c1.06L4.59%2c8A.74.74%2c0%2c0%2c1%2c4.06%2c8.2Z'/%3e%3c/svg%3e");
}
.newsletter form [class*="__footer"] {
    text-align: left;
}
.newsletter [class*="__container"] .fd-form-success {
    color: #fff;
    font-family: var(--body-font);
}


/* ==================================== */
/* Popular Posts Plugin --------------- */

.popular-posts {
    background: var(--dark);
    padding: 2rem;
}
.popular-posts h2 {
    color: #fff;
    font-size: clamp(2.8rem,5vw,2.8rem);
}
.popular-posts .title {
    color: #fff;
}
.popular-posts .pop-posts {
    padding: 0;
}

/* ==================================== */
/* AJAX Load More Plugin -------------- */

.no-results {
    font-weight: 700;
}
.single-pride .ajax-load-more-wrap {
    margin-top: 5rem;
}

/* ==================================== */
/* WP Revive Ads ---------------------- */

.sidebar ins img {
    height: auto;
    width: 100%;
}

/* ==================================== */
/* WP Maps ---------------------------- */

.wpgmp_map .marker-title {
    font-weight: 700;
    margin-bottom: 10px;
}
.wpgmp_map .marker-title a {
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wpgmp_map .desc {
    font-style: italic;
    margin-top: 5px;
}