.contacts_section_in {
    width: 80%;
    margin:auto;
    margin-bottom: 60px;
}
.switch_btns_wrap {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 20px;
    width: 100%;
}



.switch_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 34px;
    background-color: #D5D5D5;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;

}

.switch_btn svg {
    fill: #000000;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.switch_btn.active {
    background-color: #5C8B80;
    color: #fff;
}
.switch_btn.active svg{
    fill: #ffffff;
}
.contacts-content {
    display: flex;
}
.contacts-map {
    display: none;
}

.panToMap {
    color: #5C8B80;
}

.contact-location-icon,
.contact-phone-icon,
.contact-clock-icon,
.contact-message-icon
 {
    position: relative;
    padding-left: 27px;
}
.contact-location-icon:before,
.contact-phone-icon:before,
.contact-clock-icon:before,
.contact-message-icon:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 1px;
}

.contact-location-icon:before {
    background-image: url('/assets/img/eva_pin-fill.svg');
    background-size: 100%;
}
.contact-phone-icon:before {
    background-image: url('/assets/img/mdi_phone.svg');
    background-size: 100%;
}

.contact-clock-icon:before {
    background-image: url('/assets/img/mdi_clock.svg');
    background-size: 100%;
}

.contact-message-icon:before {
    background-image: url('/assets/img/tabler_mail-filled.svg');
    background-size: 100%;
}
.contacts-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;


}
.contacts-content-data__name {
    padding-top: 20px;
    margin-bottom: 10px;
}
.contacts-content__item {
    /* flex: 1 0 21%; */
    width: calc(100% * (1/3) - 33px - 1px);
    /* padding: 4%; */
}
.contacts-content__item, .contacts-content-data__name {
    color: #62635E;
    font-size: 16px;
    font-weight: 600;
    
}
.contacts-content-data__item, .contacts-content-data__name{
    margin: 5px 0;
}
.contacts-content-data__item.contact-clock-icon {
    font-weight: 400;
}
.contacts-content-data__item.contact-message-icon {
    font-weight: 400;
}
.contacts-content-data__item.contact-clock-icon span{
    display: block;
    margin: 4px 0;
}
.contacts-content__img {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 0;
    padding-top: 100%;
    /* width: calc(100% * (1/1) - 50px - 1px); */
    /* height: calc(100% * (1/1) - 50px - 1px); */
}
.contacts-content__img img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
}

.marker-content {
    padding: 20px;
    min-width: 240px;
}

.map-icon {
    margin: 8px 0;
}
.map-icon:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

@media only screen and (max-width: 470px){
    .switch_btn{
        padding: 14px 20px;
        font-size: 14px;
    }
    .switch_btn svg {
        width: 18px;
        height: 18px;
        margin-right: 7px;
    }
}

@media only screen and (max-width: 578px){
    .switch_btns_wrap{
        justify-content: space-between;
        gap: 20px;
    }
}

@media only screen and (max-width: 800px){
    .contacts-content__item {
        /* flex: 1 0 21%; */
        width: calc(100% * (1/2) - 33px - 1px);
        /* padding: 4%; */
    }
}
@media only screen and (max-width: 671px){
    .contacts-content__item {
        /* flex: 1 0 21%; */
        width: 100%;
        /* padding: 4%; */
    }
}
@media only screen and (max-width: 400px){
    .marker-content {
        padding: 5px!important;
        min-width: unset;
        width: 100%;
    }
   .marker-content .contacts-content-data__item, .marker-content .contacts-content-data__name {
        color: #62635E;
        font-size: 8px;
        font-weight: 600;
        
    }
    .marker-content .contacts-content-data__name {
        padding-top: 10px;
        margin-bottom: 5px;
    }
    
    .marker-content .contact-location-icon:before,
    .marker-content .contact-phone-icon:before,
    .marker-content .contact-clock-icon:before,
    .marker-content .contact-message-icon:before {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        position: absolute;
        left: 0;
        top: -1px;
    }
    
    .marker-content .contact-location-icon,
    .marker-content .contact-phone-icon,
    .marker-content .contact-clock-icon,
    .marker-content .contact-message-icon
     {
        position: relative;
        padding-left: 15px;
    }
    
    .marker-content .contacts-content__img img{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        max-width: 100%;
    }
}