/*Location Style*/
.tecta_location_map .acf-map {
    width: 100%;
    height: 689px;
    border: #ccc solid 1px;
    /*margin: 20px 0;*/
}
.tecta_location_map .acf-map img {
    max-width: inherit !important;
}
.marker_infowindow a:hover {
    text-decoration: underline;
}

/**/
.tecta_other_location {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.tecta_other_location a{
    color:var(--e-global-color-primary) !important;
    font-weight:bold;
}
.tecta_other_location a:hover{
    text-decoration: underline !important;
}
.tecta_other_location a.active{
    color:var(--e-global-color-ce088db) !important;
    font-weight:bold
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.community_loop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    justify-content: center;
}

.community_loop .img_wrap {
    max-width: calc( 50% - 20px );
    position: relative;
}
.img_wrap img {
    max-width: 500px !important;
    object-fit: cover;
    height: 400px !important;
}
.community_loop .description{
    display: none !important;
}
.community_loop .img_wrap:hover > .description{
    display: block !important;
}
.community_loop .description {
    color: white;
    position: absolute;
    top: 0;
    padding: 40px;
    background: var(--e-global-color-primary);
    height: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.community_loop .description p{
    font-size: 18px
}

.featuredServices {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 100px
}

.featuredSingle {
    width: calc( 50% - 20px );
}

.featuredSingle img {
    height: 300px !important;
    width: 100%;
}

.featuredSingle h4 {
    margin: 10px 0;
}

.charity_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.charity_wrapper .charity_single {
    width: calc( 25% - 20px );
    margin-bottom: 50px;
	text-align: center;
}

.charity_wrapper .charity_single h4 {
    margin: 5px 0;
    font-size: 20px !important;
}

.charity_single p {
    font-size: 16px;
    margin-top: 10px;
}

.charity_single img {
    width: auto;
    height: 180px !important;
    object-fit: contain;
}
span.readMore {
    font-size: 16px;
    color: var(--e-global-color-ce088db);
}
.awardReadMore_wrapper {
    max-width: 800px !important;
}
button.fancybox-button.fancybox-close-small {
    background: none !important;
}
.awardReadMore_wrapper p{
    font-size: 18px !important;
}
/*Location Style END*/

/*Table Responsive*/
@media (max-width: 1200px) {
    .charity_wrapper .charity_single {
        width: 45%;
        margin-bottom: 10px !important;
    }
}
@media (max-width: 575px) {
    .community_loop .img_wrap {
        max-width: 100%;

    }
    .community_loop .description {
        padding: 20px;
        overflow: scroll;
    }
    .featuredSingle {
        width: 100%;
    }
    .charity_wrapper .charity_single {
        width: 100%;
        margin-bottom: 0 !important;
    }
    /* CSS Responsive table */
    table.responsive,
    table.responsive thead,
    table.responsive tbody,
    table.responsive th,
    table.responsive td,
    table.responsive tr {
        display:block;
    }
    table.responsive thead tr {
        position:absolute;
        top:-9999px;
        left:-9999px;
    }
    table.responsive tr {
        border:1px solid #ccc;
        margin-bottom:10px;
    }
    table.responsive td {
        border:none;
        border-bottom:1px solid #eee;
        position:relative;
        padding:12px 5%;
        width:96%;
    }
    table.responsive td::before{
        float:left;
        width:30%;
    }
    table.responsive td .td-text {
        float:left;
        width:70%;
        word-break: break-all;
    }
    table.responsive td::before {
        padding-right:15px;
        text-align:left;
        content:attr(data-content);
        display:block;
        font-weight: 700;
    }
    table.responsive td::after {
        content:"";
        display:table;
        clear:both;
    }
}


/*Timeline Style*/
#timeline {
    scroll-behavior: smooth;
    position: relative;
    overflow-x:hidden;
}
.timeline_wrap {
    overflow:hidden;
}
#timeline_slider {
    display:flex;
    overflow-x:scroll;
    padding-bottom:20px;
    transform:translatey(20px)
}
.timeline_line {
    position:absolute;
    max-width:92%;
    right:0;
    height:2px;
    top:87px;
    background:#002868;
    width:100%;
}
.timeline_slide {
    min-width:300px;

    max-width:10px;
    cursor:grab;
}
.timeline_nav {
    margin:auto;
    position:absolute;
    right:10%;
    z-index:99999;
    top:22px;
    width:fit-content;
}
.timeline_nav button span {
    /*  Keep the user from selecting the chevrons. You could just use an image instead of an icon instead.   */
    pointer-events:none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius:100%;
    pointer-events:none;
    border:2px solid white;
    font-size:40px;
    color:white;
}
.timeline_nav button {
    background:transparent;
    border:none;
}
.timeline_nav button:hover {
    transform:scale(1.1)
}
.timeline_dot {
    background: transparent;
    width: 40px;
    height: 40px;
    border: 2px solid #002868;
    border-radius: 100%;
    padding: 5px;
    margin: 0px;
}
.timeline_dot_center {
    width: 25px;
    height: 26px;
    border-radius: 100%;
    background: #002868;
}
.timeline_item_content {
    border:1px solid rgba(255,255,255,.8);
    border-radius:10px;
    padding:40px;
    background:#ffffff;
}
.timeline_item_content .timeline-year{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
.timeline_item_content .timeline-title{
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.timeline_item_content .company-found{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}
.timeline_item_content .categories ul{
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.timeline_item_content .categories ul li{
    display: inline-block;
    border-radius: 50px;
    background: #F5F9FF;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
}

.location_section_title {
    text-align: center;
    margin: 0 0 var(--s-30);
    color: var(--e-global-color-primary);
}

.location_desc_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.inner.location_desc_left {
    width: 50%;
    background-color: var(--e-global-color-primary);
    padding: 50px;
    border-radius: 20px;
}

.inner.location_desc_right {
    padding: 50px;
}

.title_desc_sec  .desc_wrap{
	text-align:center;
}

.location_desc_right h3 {
    text-align: center;
    font-size: var(--e-global-typography-4975986-font-size);
    font-weight: var(--e-global-typography-4975986-font-weight);
    text-transform: var(--e-global-typography-4975986-text-transform);
    font-style: var(--e-global-typography-4975986-font-style);
    line-height: var(--e-global-typography-4975986-line-height);
    color: var(--e-global-color-primary);
}

@media only screen and (max-width:1320px) {
    .inner.location_desc_left {
        width: 100%;
    }
}

@media only screen and (max-width:1200px) {
    .timeline_nav {
        width:90%;
        z-index:999999;
        left:5%;
        display:flex;
        justify-content:space-between;
    }
}
@media only screen and (max-width:768px) {
    .timeline_line {
        min-width:100%;
        background: #002868;
        background: linear-gradient(-90deg, rgba(255,255,255,0) 0%, #002868 10%, #002868 90%, rgba(255,255,255,0) 100%);
    }
    .timeline_nav span {
        background:transparent;
    }
    .timeline_item_content{
        padding: 20px;
    }
}
@media only screen and (min-width:768px) {
    #timeline_slider {
        padding-left:5%;
    }
    .timeline_header {
        position:relative;
        width:fit-content;
        padding:0 20px;
        margin-left:10%
    }
    .timeline_top {
        height:100px
    }
    .tl_line {
        position:absolute;
        background:white;
    }
}
/*Timeline Style END*/