/*header*/
.container-header {
    background: #fff;
}

.container-nav {
    background: #153f76;
    width: 100%;
    margin: 0;
    max-width: 100%;
    padding: 20px !important;
}

.container-nav .mod-list {
    max-width: 1170px;
    margin: auto;
    justify-content: center;
}

.container-nav .mod-list li {
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255, 0.17);
    margin-left: 0 !important;
}

.container-nav .mod-list li.current,
.container-nav .mod-list li.active,
.container-nav .mod-list li:hover {
    color: rgba(255,255,255, 0.45);
}

.container-nav .mod-list li.current::after,
.container-nav .mod-list li.active::after,
.container-nav .mod-list li:hover::after {
    content: unset !important;
}

.container-topbar {
    display: flex;
    justify-content: space-between;
    max-width: 1170px;
    margin: auto;
    border-bottom: 1px solid rgba(51,51,51, 0.12);
    padding: 4px 0;    
}

.container-topbar img {
    width: 16px;
    height: auto;
    margin-left: 16px;
}

.container-topbar img:hover {
    filter: brightness(0) saturate(100%) invert(23%) sepia(25%) saturate(1234%) hue-rotate(176deg) brightness(89%) contrast(92%);
}

.container-topbar .mod-menu a {
    color: rgb(121, 121, 121) !important;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.container-topbar .mod-menu a:hover {
    text-decoration: underline !important;
}

.container-topbar .mod-menu a::after {
    content: ' | ';
    color: rgb(121, 121, 121) !important;
    position: absolute;
    bottom: 0;
    padding-left: 3px;
}

.container-topbar .mod-menu li {
    margin-left: 0 !important;
    margin-right: 8px;
}

.below-top-row {
    display: flex;
    justify-content: space-between;
    max-width: 1170px;
    margin: auto;
    padding: 0 !important;
}

.container-below-top {
    color: rgb(51, 51, 51);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.container-below-top img {
    width: 22px;
    height: auto;
    margin-right: 12px;
}

.container-below-top p {
    margin: 0;
    white-space: nowrap;
}

.container-below-top a {
    color: #153f76 !important; 
    text-decoration: none;
    display: block;
    margin-left: 34px;
}

.container-below-top a:hover {
    text-decoration: underline;
}

.container-below-top tr td:not(:last-child) {
    padding-right: 10px;
}

@media (max-width:529px) {
    .container-below-top {
        display: none;
    }
    .navbar-brand {
        margin: auto;
    }
}
/*header end*/

/*header mob*/
.hamburger-mobile {
    width: 22px;
    height: 16px;
    padding: 0;
    border: 0;
    background: none;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;    
}

.hamburger-mobile span {
    width: 22px;
    height: 2px;
    background: #fff;
}

@media (width < 768px) {
    .container-nav > .mod-menu {
        display: none;
    }

    .hamburger-mobile {
      display: flex;
    }
}

.container-mob-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #153f76;
    z-index: 9999;

    display: none;
    overflow-y: auto;
}

.container-mob-nav.is-open {
    display: block;
}

.container-mob-nav > div {
    width: 100%;
}

.container-mob-nav ul.mod-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.container-mob-nav ul.mod-menu > li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.container-mob-nav ul.mod-menu > li > a {
    display: block;
    width: 100%;
    padding: 18px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    box-sizing: border-box;
}

.container-mob-nav ul.mod-menu > li.current > a,
.container-mob-nav ul.mod-menu > li.active > a {    
    color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
    .container-mob-nav {
        display: none !important;
    }
}

body.mobile-menu-open {
    overflow: hidden;
}

.cross-mobile {    
  position: relative;   
    width: 30px;
    height: 30px;
    z-index: 10001;
    cursor: pointer;
    margin: 20px;
}

.cross-mobile span {
    position: absolute;
    top: 14px;
    left: 2px;
    width: 26px;
    height: 2px;
    background: #fff;
}

.cross-mobile span:first-child {
    transform: rotate(45deg);
}

.cross-mobile span:last-child {
    transform: rotate(-45deg);
}
/*header mob end*/

/*footer*/
.footer {
    background: #153f76;
}

.top-footer {
    max-width: 1170px;
    justify-content: space-evenly !important;
    padding: 20px 10px !important;
    flex-direction: row !important;
}

.top-footer > div {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

.top-footer > div p {
    margin: 0;
}

.top-footer > div a {
    text-decoration: none;
}

.top-footer > div a:hover {
    text-decoration: underline;
}

.bottom-footer {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
}
/*footer end*/

/*content*/
.content-container {
    /*max-width: 1290px;
    margin: auto;*/
}

.com-content-article {
    max-width: 1170px;
    margin: auto;
}

b,strong {
    font-weight: 600;
}

.container-component {
    width: 100%;
}

.site-grid {
    grid-gap: 0 !important;
    display: block;
}
/*content end*/

/*hero slider*/
.hero-slider {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    display: none;
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 20px 20px 20px 50px;
    background: rgba(243,243,243,0.5);
}

.hero-heading {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.5;
    text-transform: uppercase;
    color: #153f76;
}

.hero-text {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-slider {        
        height: 450px;
    }

    .hero-heading {
        font-size: 28px;
    }

    .hero-content {
        left: 5%;
        width: 90%;
    }

    .hero-text {
        font-size: 16px;
    }
}
/*hero slider end*/

/*stats block*/
.stats-block {
    background-color: rgba(21,63,118, 0.07); 
    width: 100%;
}

.stats-block > div {
    display: flex;
    justify-content: space-evenly;
    max-width: 1290px;
    padding: 50px 30px;
    box-sizing: border-box;    
    margin: auto;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    height: 50px;
    margin-bottom: 20px;
}

.stat-icon img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin: 0 auto;
}

.stat-number {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 15px;
    color: #153f76;
}

.stat-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #153f76;
}

@media (max-width: 767px) {
    .stat-item {
        width: 100%;
    }

    .stat-item:not(:last-child) {
        margin-bottom: 20px;
    }
}
/*stats block end*/

/*icon blocks*/
.bicon-blocks {
    width: 100%;
    margin: 20px 0;
}

.bicon-blocks > div {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1170px;
    padding: 50px 0;
    box-sizing: border-box;
    margin: auto;
}

.bicon-block {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 15px;
    align-content: start;
    width: calc(30% - 10px);
}

.bicon-block-img {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.bicon-block-img img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.bicon-block-title {
    grid-column: 2;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 5px;
}

.bicon-block-text {
    grid-column: 2;
    font-size: 18px;
}

@media (max-width: 767px) {
    .bicon-block {
        width: 100%;
    }
    .bicon-block:not(:last-child) {
        margin-bottom: 20px;
    }

    .bicon-blocks > div {
        padding-bottom: 10px;
    }
}
/*icon blocks end*/

/*team preview*/
.team-preview {
    width: 100%;
    padding: 50px 0;
    box-sizing: border-box;
    max-width: 1170px;
    margin: auto;
}

.team-preview-text-before {    
    margin: 0 auto 45px;
    text-align: center;
}

.team-preview-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

.team-preview-item {
    text-align: center;
}

.team-preview-img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
}

.team-preview-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-preview-text {
    margin-top: 12px;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    color: #153f76;
}

.team-preview-button {
    margin-top: 40px;
    text-align: center;
    background: #153f76;
    
    padding: 14px 42px;
    font-size: 15px;
    font-weight: 500;
    width: fit-content;
    margin: 40px auto 0 auto;
}

.team-preview-button a {    
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 155px;    
    box-sizing: border-box;
    text-decoration: none;
    color: #fff !important;
}

.team-preview-button a span {
    font-size: 1.3em;
    line-height: 1;
}
/*team preview end*/

/*testimonial slider*/
.testimonials-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #153f76;
    margin-top: 10px;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: auto;
    padding: 40px 90px;
    box-sizing: border-box;
}

.testimonial-viewport {
    width: 100%;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0 30px;
}

.testimonial-text {
    max-width: 1050px;
    margin: 0 auto;
    padding-left: 28px;
    border-left: 4px solid #153f76;
    box-sizing: border-box;
    line-height: 1.7;
    font-size: 16px;
    color: #153f76;
}

.testimonial-name {
    text-align: center;
    border-left: 4px solid #153f76;
    padding-top: 30px;
    font-size: 16px;
    color: #153f76;
}


/* Navigation arrows */

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 60px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.testimonial-prev {
    left: 15px;
}

.testimonial-next {
    right: 15px;
}

.testimonial-prev span,
.testimonial-next span {
    position: absolute;
    top: 17px;
    width: 25px;
    height: 25px;
    border-top: 3px solid #dce3ec;
    border-right: 3px solid #dce3ec;
}

.testimonial-prev span {
    left: 5px;
    transform: rotate(-135deg);
}

.testimonial-next span {
    right: 5px;
    transform: rotate(45deg);
}

.testimonial-prev:hover span,
.testimonial-next:hover span {
    border-color: #2c6cff;
}

@media (max-width: 767px) {
    .testimonial-slider {
        padding: 20px;
    }    
}
/*testimonial slider end*/

/*email forms blocks*/
.contact-section {
    display: grid;
    grid-template-columns: 42% 18% 40%;
    gap: 0;
    align-items: start;
    margin-bottom: 20px;
}

.contact-section:not(.has-hours-image) {
    grid-template-columns: 30% 70%;
}

.hours-image {
    overflow: hidden;
}

.hours-image img {
    display: block;
    width: 100%;
    height: auto;
}

.hours-block {
    background: #e9edf2;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100%;
}

.hours-title {
    margin: 0 0 18px;
    text-align: center;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    color: #153f76;
    text-transform: none;
}

.hours-list {
    width: 100%;
}

.hours-row {
    padding: 13px 0;
    border-bottom: 2px solid #ccd5df;
    text-align: center;
}

.hours-row:last-child {
    border-bottom: 0;
}

.form-block {
    box-sizing: border-box;
}

/* Enquiry form */
.form-block-enquiry {
    background: #153f76;
    height: 100%;
}

.physio-form__form {
    display: flex;
    flex-direction: row;
    background: #153f76;
    flex-wrap: wrap;
    padding: 20px 40px;
    justify-content: space-between;
}
.physio-form__field
{
    width: 50%;
    
}

.physio-form__field input:not([type="radio"]),
.physio-form__field textarea
{
    width: 100%; 
    padding: 10px 20px;
}

.physio-form__field textarea
{
    min-height: 100px;
}

.physio-form__field input[type="radio"]
{
    margin-right: 10px;
}

.physio-form__field:nth-child(odd) {
    padding-right: 10px;
    padding-bottom: 10px;
}

.physio-form__field label {
    display: flex;
    color: #fff;
}

.physio-form__form button {
    padding: 14px 42px;
    background: rgba(255,255,255,0.98);
    color: #153f76;
    font-weight: 500;
    border: none;
}

.form-block-enquiry h3,
.form-block-enquiry a {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.5;
    color: #fff;
    text-align: center;
}

.form-block-enquiry h3 {
    margin: 10px 0;
}

.contact-section.contact-us {
    max-width: 1170px;    
    margin: 40px auto;
}

.form-block-contact {
    height: 100%;
    border: 1px solid#153f76;
    background: #fafbfc;
    margin-left: 20px;    
}

.form-block-contact .physio-form__form {
    position: relative;
    padding-bottom: 50px;
    background: #fafbfc;    
}

.form-block-contact .physio-form__field {
    overflow: visible;
}

.form-block-contact textarea {
    width: calc(200% + 20px);
}

.form-block-contact .physio-form__form button {    
    position: absolute;
    bottom: 0;
    background: #153f76;
    color: #fff;
}

.form-block-contact h3 {
    font-size: 22px;
    font-weight: 600;
    color: #153f76;
    text-align: center;
    padding-top: 20px;
}

.form-block-contact input,
.form-block-contact textarea {
    color: rgba(115, 119, 127, 0.7);
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(220, 222, 225, 1);
    box-shadow: none;
}

.form-block-enquiry .physio-form-message {
    padding: 0 40px;
    color: #fff;
}

.form-block-contact .physio-form-message {
    padding: 0 40px;
    color: #153f76;
}

@media (max-width: 1199px) {
    .hours-image {
        display: none !important;
    }
    .contact-section {
        grid-template-columns: 30% 70% !important;
    }
}

@media (max-width: 767px) {    

    .contact-section {
        grid-template-columns: 100% !important;
    }

    .form-block-contact {
        margin-left: 0;
        padding-bottom: 20px;
    }

    .physio-form__field {
        width: 100% !important;
        padding-right: 0 !important;
        padding-bottom: 10px;
    }

    .form-block-contact textarea {
        width: 100% !important;
    }
}

/*email forms blocks end*/

/*company slider*/
.company-slider {
    width: 100%;
    max-width: 1290px;
    overflow: hidden;
    margin: 20px auto;
}

.company-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.company-slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.company-slide-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
}

.company-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.company-slide img {
    display: block;
    max-width: 100%;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.company-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.company-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid #16477e;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.company-slider-dot.active {
    background: #16477e;
}
/*company slider end*/

/*big team*/
.team-section {
    max-width: 1170px;
    margin: auto;
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 100px;
}

.team-member-image {
    width: 300px;
    height: auto;
    margin: auto;
}

.team-member-card {
    background: unset;
    border: unset;
}

.team-member-name {
    font-size: 18px;
    font-weight: 600;
    color: #153f76;
    margin-top: 20px;
}

@media (max-width: 1304px) {
    .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 0px;
    }
}

@media (max-width: 991px) {
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0px;
    }
}

@media (max-width: 669px) {
    .team-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px 0;
    }
}

.team-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    background: rgba(12, 31, 52, 0.92);
}

.team-modal.shown {
    display: flex;
}

.team-modal-content {
    position: relative;
    width: 100%;
    max-width: 790px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 25px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 5px;
}

.team-modal-content h2 {
    margin: 0 0 25px;
    color: #153f76;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 500;
}

.team-modal-text {
    color: #153f76;
    font-size: 18px;
    line-height: 1.6;
}

.team-modal-text p {
    margin: 0 0 25px;
}

.team-modal-text p:last-child {
    margin-bottom: 0;
}

.team-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: #153f76;
    font-size: 32px;
    line-height: 30px;
    cursor: pointer;
}

@media (max-width: 767px) {

    .team-modal {
        padding: 20px;
    }

    .team-modal-content {
        max-height: calc(100vh - 40px);
        padding: 25px 20px;
    }

    .team-modal-content h2 {
        font-size: 30px;
    }

    .team-modal-text {
        font-size: 16px;
    }
}

/*big team end*/

/*image gallery*/
.image-gallery {
    border-collapse: separate !important;
    border-spacing: 10px !important;
    width: calc(100% + 20px) !important;
    margin-left: -10px;
    margin-right: -10px;
    table-layout: fixed !important;
}

.image-gallery col {
    width: unset !important;
}

.image-gallery td {
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
}

.image-gallery td img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.image-gallery figcaption {
    position: absolute;    
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 10px;
    text-shadow: 0 0 1.5px #000;
    color: #fff;
}

@media (max-width: 767px) {

    .image-gallery tr {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;

        height: auto !important;
    }

    .image-gallery td {
        flex: 0 0 auto !important;

        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;

        height: auto !important;
    }

    .image-gallery td img,
    .image-gallery tr td:not(:first-child) img {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding-bottom: 10px;
    }

    .image-gallery colgroup {
      display: none;
    }

    .image-gallery figcaption {
      bottom: 30px;
    }

    figure {
      height: 100%;
      margin: 0;      
    }
}
/*image gallery end*/

/*content*/
strong, b, h1, h2, h3, h4, h5 {
    font-weight: 600;
}
table td {
    vertical-align: top;
}

.content-container a {
    text-decoration: none;
}

.content-container a:hover {
    text-decoration: underline;
}

.container-header .mod-menu {
    flex: unset;
    flex-direction: row !important;
}

@media (max-width: 1199px) {
    .container-topbar,
    .below-top-row,
    .com-content-article,
    .bicon-blocks,
    .team-preview,
    .company-slider {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/*content end*/