/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 *
*/

.alphabet-nav-wrapper {
    margin-bottom: 1rem;
    text-align: center;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #f2f2f2;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alphabet-link {
    display: inline-block;
    padding: 0.6rem 0.9rem;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.alphabet-link:hover,
.alphabet-link.active {
    background-color: #0073e6;
    color: white;
    border-color: #0073e6;
}

#town-names-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

#town-names-wrapper .town-name {
    width: calc(20% - 10px);
    background: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    border: 1px solid #e0e0e0;
}

#town-names-wrapper .town-name:hover {
    background-color: #0073e6;
}

#town-names-wrapper .town-name:hover a {
    color: #ffffff;
}

#town-names-wrapper a {
    font-size: 16px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
}

.reset-button {
    text-align: center;
    margin-bottom: 1rem;
}

.reset-button a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff4b4b;
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.reset-button a:hover {
    background-color: #e04141;
}

.reset-button i {
    margin-right: 8px;
}



/* CSS for Clinic List View */

.comp-container {
    width: 100%;
    margin: auto;
}

.flex-container {
    display: inline-flex;
    width: 100%;
}
.company-area {
    width: 100%;

}

.company-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.company-card-left {
    width: 100%;
    max-width: 20%;
    overflow: hidden;
    flex-shrink: 0;
}

.company-card-left img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.company-card-left img:hover {
    filter: grayscale(0%);
}

.company-card-center {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
}

.company-name a {
    font-size: 20px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.company-category {
    display: inline-block;
    background-color: #e0f3ff;
    color: #0077b6;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 15px;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.company-address {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 15px;
}

.company-status {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.company-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007B5E;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    width: fit-content;
}

.company-btn:hover {
    background-color: #005f47;
    color: white;
}

.company-card-map {
    width: 100%;
    max-width: 35%;
    flex-shrink: 0;
    border-left: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-card {
        flex-direction: column;
    }

    .company-card-left,
    .company-card-map {
        width: 100%;
        max-width: 100%;
    }

    .company-card-map {
        height: 200px;
        border-left: none;
        border-top: 1px solid #eee;
    }

    .company-card-center {
        padding: 15px;
    }
}


/* Css for Clinic Page */

.comp-facebook::before {
    content: "\f09a";
    font-family: Fontawesome;
    font-size: 14px;
    color: black;
    margin-right: 10px;
}

.comp-phone::before {
    content: "\f095";
    font-family: Fontawesome;
    font-size: 14px;
    color: black;
    margin-right: 10px;
}

.comp-website::before {
    content: "\f0ac";
    font-family: Fontawesome;
    font-size: 14px;
    color: black;
    margin-right: 10px;
}

a.town-link {
    color: green;
    font-size: 22px;
    font-weight: 600;
}

a.town-link::before {
    content: ">";
    border: solid 1px #ccc;
    color: #838383;
    padding: 0px 10px 1px 10px;
    vertical-align: middle;
    border-radius: 5px;
    margin-right: 10px;
}

div#details {
    font-size: 16px;
    width: 100%;
}

.toggle-btn-wrapper button#toggleButton {
    background: #f9f9f9;
    font-size: 16px;
    padding: 5px 10px 5px 15px;
    font-weight: 500;
    border-width: 1px;
    border-style: solid;
    border-color: #e6e6e6;
    width: 100%;
    text-align: left;
    color: #0d0d0d;
    border-radius: 5px;
    box-shadow: 0px 3px 5px #a6a6a6;
}


.contact-info-data {
  
    border-radius: 4px;
    border: 1px solid #dee2e6;
    background: #fff;
}
.div-container {
    width: 100%;
    margin: auto;
    border: solid 1px #ccc4;
    margin-top: 30px;
    padding: 10px;
}
.heading-area {
    width: 100%;
    display: flex;
}
.company-picture {
    padding-right: 20px;
    width: 40%;
}

.description-area {
    padding-top: 20px;
}
.flex-columns {
    display: flex;
    width: auto;
    background: whitesmoke;
    padding: 20px;
    border-radius: 5px;
}

.col-sm-4 {
    width: 25%;
    padding: 15px;
    border-left: solid 1px #d6d6d6;
}
.full-description {
    padding-top: 20px;
    padding-bottom: 20px;
}

.contact-info-data .btn {
   
    background: green;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}
.contact-info-data .btn a{
	color:#fff;
	text-decoration:none;

}


.no-schedule-available-header {
    font-size: 14px;
  
}


.company-picture img {
    width: 100%;
    height: 275px;
    object-fit: cover;
}

.opening-hours-wrapper table td {
    border: solid 1px #bdbdbd;
    font-size: 16px;
}

.opening-hours-wrapper table {
    margin: 0 0 1.5em;
    width: 100%;
    background: whitesmoke;
    border: solid 0px #fff;

}

@media screen and (max-width: 500px) { 
		.div-container {
			width: 100%;
			margin: auto;
			border: solid 1px #ccc4;
			margin-top: 30px;
			padding: 10px;
		}
		.heading-area {
			width: 100%;
			display: block;
		}
		.company-picture {
			padding-right: 20px;
			width: 100%;
		}
		.company-data-area {
			width: 100%;
		}
	.heading-area .company-picture {
		padding-right:0px;
	}
	
	.alignleft, .alignright {
		float: left;
		display: block;
		margin-left: 1px;
		margin-right: 1px;
	}
	.opening-hours-wrapper table td 	{
		border: solid 1px #bdbdbd;
		font-size: 16px;
		width: 33.3%;
	}
}

@media screen and (min-width:501px ) and ( max-width: 769px) {
		.alignleft, .alignright {
			float: left;
			display: block;
			margin-left: 1px;
			margin-right: 1px;
		}
		.opening-hours-wrapper table td {
		border: solid 1px #bdbdbd;
		font-size: 16px;
		width: 33.3%;
	}
}
.company-profile {
    padding: 20px;
    background: #f8f9fa;
    font-family: "Segoe UI", sans-serif;
}

.company-profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sidebar */
.company-sidebar {
    flex: 1 1 300px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.company-thumbnail img {
    width: 100%;
    border-radius: 6px;
}

.company-hours,
.company-contact-info,
.company-contact-btn,
.company-rating,
.company-nearby {
    margin-top: 20px;
}

.company-contact-info p {
    font-size: 14px;
    margin: 5px 0;
}

.company-contact-btn .btn {
    background: #00ab36;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    display: block;
    text-decoration: none;
}

.company-rating label {
    font-weight: bold;
    font-size: 14px;
    display: block;
}

.company-rating .stars {
    color: #f1c40f;
}

.company-nearby h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Main Content */
.company-main {
    flex: 2 1 600px;
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.company-header h1 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.btn-claim {
    display: inline-block;
    margin: 10px 0;
    background: #0069d9;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
}

.claimed-badge {
    display: inline-block;
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
}

.company-category-badge {
    display: inline-block;
    background: #f1f1f1;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 5px;
}

.company-content {
    font-size: 15px;
    line-height: 1.6;
    margin: 20px 0;
}

.company-opening-hours,
.company-extra,
.company-map {
    margin-top: 30px;
}

.company-opening-hours h2,
.company-extra h2,
.company-map h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.company-footer-note {
    font-size: 14px;
    font-style: italic;
    margin-top: 30px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.company-footer-note a {
    color: #007BFF;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .company-profile-grid {
        flex-direction: column;
    }

    .company-contact-btn .btn,
    .btn-claim {
        width: 100%;
        text-align: center;
    }

    .company-header h1 {
        font-size: 22px;
    }
}


.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination-wrapper a {
    padding: 10px;
    text-decoration: none;
    background-color: #f2f2f2;
    margin: 0 5px;
    border-radius: 5px;
    color: #333;
}

.pagination-wrapper a:hover {
    background-color: #0073e5;
    color: #fff;
}

.pagination-wrapper .current {
    background-color: #0073e5;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin: 0 5px;
}

.pagination-wrapper .dots {
    padding: 10px;
}

.firma-schedule-today {
    border-radius: 4px;
    border: 1px solid #dee2e6;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
}
.comp-phone {
    margin-bottom: 15px;
}
.comp-website {
    margin-bottom: 15px;
}

.comp-facebook {
    margin-bottom: 15px;
}

.firma-schedule-today i {
    margin-right: 15px;
}

.comp-btn a:hover, .claim-listing-btn a:hover {
    color: white !important;
}

body.search-results {
    padding: 0 !important;
}

input#s {
    width: 85%;
}
.search-radios {
    display: flex;
    flex-wrap: wrap;
}

.radio-wrap {
    padding: 15px 30px 15px 0;
}

.radio-wrap label {
    font-size: 20px;
}

.alert {
    padding: 15px;
    border: 1px solid;
    border-radius: 4px;
    margin: 20px;
}
.alert-success {
    color: green;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-failed {
    color: red;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

