/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: A child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-child
*/

.posts h2 {
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 25px;
	font-weight: 600;
}

.posts h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.8em;
    margin-bottom: 5px;
	font-weight: 600;
}

.posts h4 {
    color: #000 !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts h5 {
    color: #000 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 0;
    margin-top: 20px;
}

.posts p[style*="text-align: center"] {
    background-color: #f2f5f5;
    border-right: 6px solid var(--e-global-color-primary);
    margin: 10px 0;
    border-radius: 5px;
    padding: 6px;
    text-align: right !important;

}

.posts p[style*="text-align: center"] span {
    background-color: transparent !important;
    color: #565663 !important;

}

.posts img {
    border-radius: 10px !important;
	  margin-bottom: 10px;
}

.posts p {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 2.4;
    margin-block-end: unset;
    margin-bottom: 5px;
    text-align: justify;
    font-weight: 400;
    font-size: 17px;
}



.posts a {
	font-size: 17px;
    font-weight: 600;
    background-color: transparent !important;
}

.posts ul {
    padding: 0px 7px 0px 7px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-top: 10px;
}

.posts ul li {
    align-items: baseline;
    position: relative;
    padding: 0px 15px 5px 0px;
	list-style: none;
}

.posts ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.95em;
    width: 7px;
    height: 7px;
    background-color: var(--e-global-color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgb(66 172 255 / 35%;
}

.posts ol {
	 padding: 0px 7px 0px 7px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.posts p:has(img) {
    display: flex;
    justify-content: center;
}


@media only screen and (max-width: 600px) {
    .posts h2 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.7em;
        margin-bottom: 0px;
        margin-top: 3px;

    }
}

@media only screen and (max-width: 600px) {
    .posts h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 0px;
    }
}

@media only screen and (max-width: 600px) {
    .posts h4 {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5em;
        margin-bottom: 0px;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .posts p {
        font-size: 15px;
        margin-bottom: 0px;
        margin-top: 3px;
    }

    .posts p[style*="text-align: center"] span {
        font-size: 12px !important;
        font-weight: 700;
    }
}

.posts .ez-toc-list li:before {
	display: none;
}

.posts ul li b {
	    color: black;
}
.posts ol li {
    align-items: baseline;
    position: relative;
    padding: 5px 0px 5px 0px;
}

.form-container h2 {
    font-size: 22px;
    text-align: center;
    color: #2c3e50;
        margin-top: 25px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
    min-width: 250px; 
    display: flex;
    flex-direction: column;
}

.form-group label,
.form-guarentee label {
    display: block;
    font-weight: 600;
    color: #555;
}

.leaflet-control-attribution {
    display:none;
}

.required-label {
    color: #aaa;
    font-weight: normal;
    font-size: 12px;
}

.list {
    padding: 10px;
    cursor: pointer;
}

.list:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007cba; 
    outline: none;
}

.validation-error {
    color: #dc3232; 
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group input:invalid,
.form-group textarea:invalid {
    
}

.guarentee-row {
    margin-bottom: 15px;
}

.form-guarentee {
    width: 100%;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    margin-bottom: 0;
}

#map {
    width: 100%;
    height: 250px;
    background-color: #e9e9e9;
    margin-bottom: 10px;
    border-radius: 4px;
}

.location-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.location-actions button {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.location-actions button img {
    display:none !important;
}

.location-actions button#clear-location-btn {
    background-color: #dc3232;
}

.status.success {
    color: #46b450;
}

.dropdown-container {
    position: relative;
}

.dropdown {
display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    appearance: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown::after {
    content: '▼';
    font-size: 12px;
}

.dropdown-container .list-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    z-index: 9999;
    padding: 10px;
}

#deviceSearchBox, #brandSearchBox {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #eee;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-submit button {
    width: 100%;
    padding: 12px 25px;
background-color: var(--e-global-color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit button:hover {
background-color: var(--e-global-color-primary);
}

#messageBox {
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
        gap: 0; 
    }
    
    .form-group {
        min-width: 100%; 
        margin-bottom: 20px;
    }
    
    .form-row .form-group:last-child {
        margin-bottom: 0;
    }

    .location-actions {
        flex-direction: column;
        align-items: stretch; 
        gap: 10px;
    }
    

    .form-submit button {
        width: 100%;
    }
    .form-row.no-stack {
        flex-direction: row; 
        gap: 15px;
    }
    #location-status {
        text-align:center;
    }
}
