/*
Theme Name:     Malmo Village
Theme URI:      https://www.malmovillage.com
Description:    Dt-the7 child theme.
Author:         CorproSystems
Author URI:     https://www.corprosystems.com
Template:       dt-the7
Version:        0.1.0
*/
.wpcf7-form p:nth-of-type(6) {
    margin-bottom: 0;
    /* or anything else */
}
.amenity-legend-link {
	text-decoration:none !important;
}
/* Apply consistent width to all inputs, selects, and textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    max-width: 500px !important;
    padding: 14px !important;
    border: 1px solid #fff !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
}

/* On focus – give a subtle glow */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #fff !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5) !important;
    outline: none !important;
}

/* Placeholder color */
.wpcf7-form ::placeholder {
    color: rgba(255, 255, 255) !important;
}

/* Checkbox styling and label color */
.wpcf7-form input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 8px !important;
    vertical-align: middle;
}

.wpcf7-form input[type="checkbox"] + span {
    color: #fff !important;
}

/* Modern minimal submit button */
.wpcf7-form .register-btn-contact {
    display: inline-block !important;
    width: 100% !important;
    max-width: 500px !important;
    background: transparent !important;
    text-align: center !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 6px !important;
    font-size: 22px !important;
    font-weight: normal !important;
	
    
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    line-height: normal !important;
	margin-top: 10px !important;
}

.wpcf7-form .register-btn-contact:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .wpcf7-form input,
    .wpcf7-form textarea,
    .wpcf7-form select,
    .wpcf7-form .register-btn-contact {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px !important;
        
    }
	
    .wpcf7-form .register-btn-contact {
	padding: 14px !important;
        font-size: 16px !important;
	}
}
/* Highlight invalid or unfilled required fields */
.wpcf7-form .wpcf7-not-valid {
    border-color: #ff0000 !important; /* Red border */
}

/* Optional: make the error message text visible and aligned */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #FFE500 !important;
    font-size: 20px !important;
    margin-top: 4px !important;
    display: block !important;
}

/* General response output styling */
.wpcf7 .wpcf7-response-output {
    width: 100% !important;
    max-width: 500px !important; /* match form inputs */
    margin: 15px 0 15px 0 !important; /* remove left/right margins */
    padding: 10px 15px !important;
    font-size: 16px !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 6px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

/* Remove extra spacing from wrapping paragraphs */
.wpcf7-response-output p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Validation errors (red) */
.wpcf7 .wpcf7-mail-sent-ng {
    color: #ff4d4d !important;
    background: rgba(255, 0, 0, 0.1) !important;
    border: 1px solid #ff4d4d !important;
    width: 100% !important;
    max-width: 500px !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
}

/* Success messages (green) */
.wpcf7 .wpcf7-mail-sent-ok {
    width: 100% !important;
    max-width: 500px !important;
    color: #fff !important;
    background: rgba(0, 128, 0, 0.6) !important;
    border: 1px solid #00b300 !important;
    box-sizing: border-box !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
}
.mobile-branding a img {
    width: 250px !important; /* Adjust this value as needed */
    height: auto;
}   

/******** GOOGLE MAP STYLE **********/


.gm-style-iw *:focus {
    outline: none !important;
}
.gm-style-iw {
  min-width: 210px !important;
	 outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.gm-style-iw-chr {
  display: block;
  position: absolute;
  top: -1.2em;
  right: 0;
}
.amenity-legend-list li.legend-icon {
   
    padding: 0;        /* remove padding */
   
}
/* -------------------------------
   INFO WINDOW BOX
--------------------------------- */
.amenity-map-info-window-container {
    width: 180px;
    padding: 6px 10px;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1em;
    color: #333;
    background: #fff;
    overflow: hidden;
}

.amenity-map-info-window-container .amenity-category {
    display: block;
    font-weight: 500;
    font-size: 0.8em;
    color: var(--medium-gray);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -------------------------------
   CONTAINER LAYOUT
--------------------------------- */
.amenity-container {
    display: flex;
    flex-direction: row;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    height: 80vh;
}

.amenity-legend {
    flex: 0 0 22%;
    background: #fff;
    padding: 16px;
    overflow-y: auto;
    border-right: 2px solid #eee;
}

.amenity-map {
    flex: 1;
}

.map-canvas {
    width: 100%;
    height: 100%;
}

/* -------------------------------
   LEGEND LIST
--------------------------------- */
.amenity-legend h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1em;
    color: #333;
}

.amenity-legend-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.amenity-legend-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 8px;
    font-size: 0.95em;
    line-height: 1.2em;
}

/* -------------------------------
   DOTS (LEGEND + MAP MARKERS)
--------------------------------- */
.marker-label-overlay {
    pointer-events: none;
}

gmp-advanced-marker {
    display: block !important;
}

gmp-advanced-marker .marker {
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

gmp-advanced-marker img {
    display: block;
}

/* Base dot for legend */
.amenity-legend-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 23px;
    border-radius: 50%;
    font-size: 0.75em;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
	.page-padding{
		display:none;
	}
/* Base dot for map markers (AdvancedMarkerView HTML) */
.map-marker-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 600;
    color: white !important;
    background: #777;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    pointer-events: auto;
}

/* Matching colors */
.amenity-legend-dot-medical,
.map-marker-dot.amenity-legend-dot-medical     { background-color: #c53535; }

.amenity-legend-dot-shopping,
.map-marker-dot.amenity-legend-dot-shopping    { background-color: #d38d10; color:white;}

.amenity-legend-dot-sports,
.map-marker-dot.amenity-legend-dot-sports      { background-color: #7a62b2; }

.amenity-legend-dot-ravine,
.map-marker-dot.amenity-legend-dot-ravine      { background-color: #798f9d; }

/* -------------------------------
   MOBILE
--------------------------------- */
@media (max-width: 768px) {

    .amenity-container {
        flex-direction: column;
        height: auto;
    }

    .amenity-legend,
    .amenity-map {
        flex: 0 0 100%;
    }

    .amenity-legend {
        height: 27vh;
        border-right: none;
        border-bottom: 2px solid #eee;
        padding: 12px;
    }

    .map-canvas {
        height: 60vh;
    }
	.page-padding{
		display:block;
	}
}
