/*
Theme Name: Medicora Child
Theme URI: https://medicora.keydesign.xyz/
Description: Doctor & Medical Clinic Elementor WordPress Theme
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Template: medicora
Version: 1.0
License: Envato Standard License
License URI: https://themeforest.net/licenses/standard
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: medicora-child
*/

.banner-form {
    max-width: 500px;
    padding: 40px;
    border-radius: 9px;
    background-color: #ffffff52;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.link{color: #1eaeee;}
.featured-video {
    height: 600px;
    align-items: center;
    justify-content: center;
}


.service-img-thumb img {
    min-height: 250px;
    object-fit: cover;
    max-height: 250px;
}

@media(max-width: 992px) {
    .featured-video {
        
    height: 500px;
    }
}

@media(max-width: 767px) {
    .featured-video {
    height: 400px;
    }
}

/**
 * Cf7 Customisation 
**/
.cf7-form-container,
.cf7-input > p{
	
    display: grid;
}
.cf7-form-container {
    gap: 20px;
}
.cf7-input > p {
    gap: 10px;
}
.cf7-input > p > span.cf7-label {
    font-weight: 600;
}
.cf7-input > p > span.cf7-label.required:after {
    content: "*";
    color: red;
	padding-left: 5px;
}
.cf7-cols {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cf7-input {
    width: 100%;
}
.cf7-cols.col-2 > .cf7-input,
.cf7-cols.col-3 > .cf7-input{
	flex-grow: 1;
}
.cf7-cols.col-3 > .cf7-input {
    width: calc(33.33% - 20px);
}
.cf7-cols.col-2 > .cf7-input {
    width: calc(50% - 20px);
}
.chk-group {
    border: 1px dashed #dedede;
    padding: 15px;
    border-radius: 4px;
}

.chk-group > p {
    display: flex;
    flex-direction: column;
}

.chk-group > p span.wpcf7-checkbox,
.chk-group > p span.wpcf7-radio {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Checkbox item */
.chk-group .wpcf7-checkbox .wpcf7-list-item ,
.chk-group .wpcf7-radio > span{
    position: relative;
    margin: 0 !important;
    border: 1px solid #1eaeee;
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
}

/* Hide native checkbox */
.chk-group .wpcf7-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label text */
.chk-group .wpcf7-checkbox .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    margin: 0;
    cursor: pointer;
}

/* Custom checkbox */
.chk-group .wpcf7-checkbox .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 2px solid #1eaeee;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

/* Checked background */
.chk-group .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: #1eaeee;
    border-color: #1eaeee;
}

/* Check icon */
.chk-group .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 1px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
}

/* Optional active state */
.chk-group .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label {
    color: #1eaeee;
    font-weight: 600;
}

@media(max-width: 992px) {
	.cf7-cols.col-3 > .cf7-input {
		width: calc(50% - 20px);
	}
}

@media(max-width: 479px) {
	.cf7-cols.col-2 > .cf7-input,
	.cf7-cols.col-3 > .cf7-input {
		width: 100%;
	}	
}
/**
 * End of cf7
 * **/