body{
    font-family: "Montserrat", serif;
}

.radio-group {
    display: flex;
    align-items: center; /* Aligns items vertically */
    justify-content: flex-start; /* Aligns items to the start (left) of the container */
    width: 100%; /* Ensures the container takes full width of its parent */
	margin-bottom: 20px;
}

.radio-option {
    flex: 1; /* Ensures all options take equal space */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border: 2px solid var(--awb-color8); /* Default border color */
    border-radius: 20px;
    margin-right: 10px; /* Adds spacing between options */
    transition: background-color 0.3s, border-color 0.3s;
}

.radio-option:last-child {
    margin-right: 0; /* Removes margin from the last element */
}


.radio-option i {
    font-size: 20px;
    color: var(--awb-color8); /* Default icon color */
    transition: color 0.3s;
}

.radio-option span {
    font-size: 14px;
    color: #333; /* Default text color */
}
.radio-option.selected span{
	color: var(--awb-color1);
}

.radio-option input[type="radio"] {
    display: none; /* Hide the default radio button */
}

.radio-option.selected {
    background-color: var(--awb-color4); /* Background color when selected */
    border-color: #0044cc; /* Border color when selected */
    color: white; /* Text color when selected */
}

.radio-option.selected i {
    color: white; /* Icon color when selected */
}

.post-content .input-top-row{
    width: 100%;
    margin: auto;
}


.post-content .input-top-row .input-group {
    display: grid;
    gap: 16px;
	grid-template-columns: 1fr 1fr auto; /* Adjusts columns to place items side by side */
    align-items: center;
}
.post-content .input-top-row .input-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;;
}
.post-content .input-top-row .input-group input[type="text"],
.post-content .input-top-row .input-group select {
  
    width: 100%;
    padding: 8px 40px;
    box-sizing: border-box;
	border-color: var(--awb-color4);

}

.post-content .input-top-row .input-group button.btn.btn-search {
    align-self: flex-end;
    background: #003366;
    color: #fff;
    border: 0;
    height: 50px;
    padding: 0 30px;
	width: 100%; /* Full width to fit grid column */
}

.post-content .clinic-results-wrapper{
    display: grid; 
    margin-top: 40px;
    gap: 32px;
    align-items: flex-start;
}
.post-content .clinic-results-wrapper .asidd-filter {
    width: auto;
    display: grid;
    gap: 16px;
}
.post-content .clinic-results-wrapper .asidd-filter label{
    margin-bottom: 6px;
    display: block;
}
.post-content .clinic-results-wrapper .asidd-filter button.btn.btn-viewmap {
    align-self: flex-end;
    background: #003366;
    color: #fff;
    border: 0;
    width: auto;
    height: auto;
    padding: 10px 30px;
    width: 100%;
}
#distance{border-color: var(--awb-color4);}
.post-content .clinic-results-wrapper .asidd-filter select#distance {
    border: 1px solid #000;
    border-radius: 0;
    height: auto;
    padding: 7px 12px;
    display: block;
    width: 100%;
}

.post-content .clinic-results-wrapper .result-counts{
    margin-bottom: 12px;
	/*width: 100vw;*/
}
.post-content .clinic-results-wrapper .clinic-results-row {
    display: grid;
    gap: 16px;
	margin-bottom:10px;
}

.post-content .clinic-results-wrapper .clinic-results-row .result-item{
    border: 1px solid #000;
    border-radius: 5px;
    padding: 12px;
    display: grid;
	max-width: 1200px;
}
.post-content .clinic-results-wrapper .clinic-results-row .result-item .logo-wrap img{
    display: block;
    margin: auto;
    max-width: 75%;
    height: auto;
}
.post-content .clinic-results-wrapper .clinic-results-row .result-item .logo-wrap{
    margin: auto;
}

.post-content .clinic-results-wrapper .clinic-results-row .contnet-row{
    display: grid;
    gap: 16px
}
.post-content .clinic-results-wrapper .clinic-results-row .contnet-row .result-content{
    display: grid;
    gap: 6px;
}
.post-content .clinic-results-wrapper .clinic-results-row .contnet-row h3{
    margin: 0; 
}
.post-content .clinic-results-wrapper .clinic-results-row .contnet-row .website-link{
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}
.post-content .clinic-results-wrapper .clinic-results-row .contnet-row .address{
    margin: 0;
}
.post-content .clinic-results-wrapper .clinic-results-row .inner-col-second {
    display: grid;
    gap: 6px;
}
.post-content .clinic-results-wrapper .clinic-results-row .inner-col-second .btn{
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #003366;
    color: #fff;
    border: 0;
    width: auto;
    height: 50px;
    padding: 0 30px;
    text-align: center;
    justify-content: center;
    border-radius: 6px;
}

.input-element {
    position: relative;
}

.input-element i {
    position: absolute;
    left: 10px; /* Adjust this value as needed */
    top: 40%;
    transform: translateY(-50%);
    color: #555; /* Icon color */
}

.input-element input::placeholder {
    color: #aaa; /* Placeholder text color */
    opacity: 1; /* Adjust placeholder opacity */
}

/*.result-counts{width:100vw;}*/

.clinic-results-wrapper {width:90vw;margin:auto;}
#clinic-results-row {width: 75vw;}
#clinic_search_form_data{width:1200px;max-width: calc(100vw - 60px);}


.inner-col {
    display: flex;
    flex-direction: column;  /* Aligns children vertically */
    text-align: left;      /* Ensures text within the column is centered */
    height: 100%;            /* Optional: Adjust height as needed */
}

.inner-col-second {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;             /* Takes full width of the parent container */
}

.btn {
    padding: 10px 20px;      /* Adds padding around the text for better touch */
    text-decoration: none;   /* Removes underline from the link */
    background-color: #0073e6; /* Example button color, adjust as necessary */
    color: white;            /* Button text color */
    border-radius: 5px;      /* Rounded corners for the button */
    text-align: center;
}

.finance-options{
	font-weight: bold;
	font-style: italic;
	margin-top: 20px !important;
	margin-bottom: 0px !important;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-element {
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.input-top-row {
    position: relative;
    width: 100%;
    height: auto; /* Adjust based on your input height */
}

.input-element {
    width: 100%;
    transition: all 0.2s ease-in-out;
    position: relative; /* default position */
}
#toggleElements{	
    background: var(--awb-color4);
    color: #fff;
    border: 0;
    height: 25px;
    padding: 0 15px;
}
#toggleElements:hover{
	cursor:pointer;
}

#search_title_element {
    position: absolute;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s, visibility 0s 0.5s, left 0.5s ease-in-out;
}

#search_postcode_element {
    z-index: 1;
}




.fusion-footer h3{color: var(--awb-color1) !important;}

@media (max-width: 849px) {
    
	#clinic-results-row{width: 89vw;}
}

@media (max-width: 768px) {
    .inner-col {
        flex-direction: column;
    }
	#clinic-results-row{width: 84vw;}

    .post-content .input-top-row .input-group {
        grid-template-columns: 1fr 1fr; /* Button will wrap to the next line */
        grid-template-rows: auto auto; /* Define rows for wrapping */
    }

    .post-content .input-top-row .input-group button.btn.btn-search {
        grid-column: 1 / -1; /* Button takes full width of the grid */
    }
}

@media (max-width: 480px) {
    .inner-col-second {
        width: auto;
        padding: 20px;
    }
	#clinic-results-row{width: 84vw;}
	.radio-option span{font-size: 11px;}
}

@media (max-width: 520px) {
.post-content .input-top-row .input-group {
        grid-template-columns: 1fr; /* Make all items stack vertically */
        grid-template-rows: repeat(3, auto); /* Define three rows, one for each element */
    }
}

@media(min-width: 992px){
    .post-content .clinic-results-wrapper .clinic-results-row .contnet-row{
        grid-template-columns: 230px 1fr; 
    }
    .post-content .input-top-row .input-group {
        grid-template-columns: repeat(3, 1fr) auto;
        } 
        .post-content .clinic-results-wrapper{
            grid-template-columns: 300px 1fr;
        }
        .post-content .clinic-results-wrapper .clinic-results-row .result-item{
        grid-template-columns: 1fr 200px;
    }
        }
@media(max-width: 800px){
	.post-content .input-top-row{
	max-width: 100%;
	margin: auto;
	}

}