/* ========================= 
    Lab Company Page Style
   =========================  */

/* Company Information */
.companyInformation {padding-bottom: 18px;margin-bottom: 19px;border-bottom: 1px solid #F1F0F6;}
.company-info-top {display: flex;align-items: center;flex-wrap: wrap;margin-bottom:15px;}
.company-info-top .companyInfo {width: calc(100% - 128px);padding-left:15px;}
.companyInformation .labAboutUs {margin: 0px;padding: 0px;border: 0px;}
.companyInformation .labAboutUs p {font-size: 14px;line-height: 24px;}
.companyInformation .companyLogo {width: 128px;height: 128px;background: #fff;border-radius: 100%;overflow:hidden;border: 5.5px solid #F1F0F6;}
.companyInformation .companyLogo img {width:80px;height:80px;object-fit: contain;object-position: center;}
.companyInformation .companyName {margin: 0px 0px 3px 0px;font-family: var(--font-heebo);color: var(--secondary-color);font-size: 25px;font-weight: 700;line-height: 37px;text-align: left;}
.companyInformation .lf-lab-ratings .rating-star span {width: 17px;height: 17px;}
.companyInformation .rating-number {margin-left: 7px;}
.companyInformation .totle-location-number {font-size: 14px;font-weight: 500;font-family: var(--font-mulish);color: #5B6B7D;line-height: 18px;}
.companyInformation .totle-rating-number {font-weight: 700;}
/* All Company Directions */
.map-directions #map {height: 256px;border-radius: 10px;margin: 0px !important;}
.allCompany-directions {border: 1px solid #EDECF0;}
.allCompany-directions .total-location {font-family: var(--font-mulish);font-size: 18px;font-weight: 700;line-height: 24px;letter-spacing: 0em;text-align: left;color: #5B6B7D;}
.map-bottom-inner {padding: 9px 18px;}
.allCompany-directions .locationName {color: var(--secondary-color);font-family: var(--font-mulish);font-size: 18px;font-weight: 600;line-height: 24px;letter-spacing: 0em;text-align: right;width:300px;}
.allCompany-directions .locationName img {width: 15px;vertical-align: middle;margin-right: 10px;}


/* Book an appointment for free */
.bookAppointmentFree .appointment_title_location {text-align: left;display: flex;align-items: center;justify-content: space-between;}
.bookAppointmentFree .appointment_title_location #location_mil {margin-right: 0px;font-family: var(--font-heebo);font-weight: 400;}
.bookAppointmentFree .appointment_title_location #location_mil i{width:15px;height:15px;}
.formBookAppointment {padding: 0px;}
.lab-item:not(:last-child) {margin-bottom: 20px;padding-bottom:13px;border-bottom: 0.84px solid #EDECF0;}
.lab-item .time-data a {font-size: 1.1em;}
.lab-item .time-data {width: 16.6%;}
.company-lab-info {margin-bottom: 15px;}
.company-lab-info .location-name {font-family: var(--font-mulish);color: var(--secondary-color);font-size: 14px;font-weight: 400;line-height: 18px;}
.company-lab-info h4 {font-size: 15px;font-weight:700;line-height: 22px;font-family: var(--font-heebo);color: #3F305C;margin: 0px;padding-right: 20px;max-width: calc(100% - 68px);}
.company-lab-info>.uk-flex {margin-bottom: 4px;}
.company-lab-info #location_mil.location-mil {line-height: 22px;margin-right:0px;}
.companyLab-timeSlot .viewMoreServices a {line-height: normal;}
.companyLab-timeSlot .viewMoreServices {margin-top: 29px;}

/* ==================================
          Responsive Style
   ================================== */

@media only screen and (max-width:960px){
  .companyInformation {margin: 0px;border: 0px;}
}

@media only screen and (max-width:479px){
  .companyInformation .companyLogo {width: 85px;height: 85px;border-width: 3px;} 
  .companyInformation .companyLogo img {width: 65px;height: 65px;}
  .companyInformation .companyName {font-size: 20px;line-height: 29px;}
  .companyLab-timeSlot .viewMoreServices {margin-top: 20px;}
  .map-bottom-inner {padding: 9px 10px;}
  .allCompany-directions .total-location,.allCompany-directions .locationName {font-size: 16px;}
  .allCompany-directions .locationName {max-width: 180px;}
  .companyInformation.lab-pull-data { margin-bottom: 32px;}
}

@media only screen and (max-width:375px){
    .allCompany-directions .total-location, .allCompany-directions .locationName {font-size: 14px;}
}

.companyInformation.lab-pull-data {
    /* Set a fixed height to prevent layout shift */
    height: 250px; /* Adjust the height based on your layout needs */
    /* Make the content scrollable if it exceeds the container's height */
    overflow-y: auto;
    /* Optional: Add padding or borders for better aesthetics */
    padding: 35px;
    border: 1px solid #ddd;
    /* Optional: Set a min-height to accommodate small screens */
    min-height: 250px;
}

.insurancesAccepted {
    min-height : 164px;
}
.insurances-item {
    min-height : 18px;
} 

/* Render div instead of iframe for youtube videos css */
.companyInformation .youtube-placeholder {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 375px;
    background: #000;
    cursor: pointer;
    margin-top: 20px;
}
.companyInformation .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.companyInformation .play-button::after {
    content: '▶';
    font-size: 30px;
    color: white;
    font-weight: bold;
}