.footer_wrapper {
    margin-top: auto;
    margin-bottom: 0.75rem;
    border-top: 1px solid #d6d6d6;
    overflow: hidden;
}

@media all and (max-width: 991px){
    .footer_wrapper {
        margin-bottom: 0;
    }

    .footer_wrapper .footer_p_0 {
        padding: 0;
    }
}

.footer_block_bg {
    position: relative;
    overflow: hidden;
}

.footer_block_bg:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(at top right, #3A85B3 0%, transparent 60%, transparent 100%);
    -webkit-filter: blur(50px);
    filter: blur(50px);
}

.footer_top {
    position: relative;
    padding: 64px 0;
    border-bottom: 1px solid var(--color-brand-secondary);
}

.footer_top:after {
    position: absolute;
    content: '';
    bottom: 0;
    left: -100%;
    right: -100%;
    border-bottom: 1px solid #d6d6d6;
}

.footer_bottom {
    position: relative;
    padding: 64px 0;
}

@media all and (max-width: 767px){
    .footer_top,
    .footer_bottom {
        padding: 48px 0;
    }
}

.footer_wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 40px;
}

.footer_wrapper a {
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

/*footer_text*/
.footer_text {
    max-width: 750px;
    font-size: 32px;
    line-height: 0.9;
}

@media all and (max-width: 991px){
    .footer_text {
        max-width: 100%;
    }
}

@media all and (max-width: 575px){
    .footer_text {
        font-size: 20px;
    }
}

/*footer_logo*/
.footer_logo img {
    width: 100%;
    max-width: 100%;
}

/*footer__soc-icons*/
.footer_social {
    margin-top: 20px;
}

.footer_social .footer__soc-icons {
    margin: 0;
}

.footer_social .footer__soc-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    color: inherit;
    background: transparent;
    border-radius: 16px;
    border: 1px solid var(--color-brand-secondary);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.footer_social .footer__soc-icon:hover {
    color: var(--color-brand-primary) !important;
    background: var(--color-brand-secondary);
}

.footer_social .footer__soc-icon svg {
    width: 50%;
    min-width: 50%;
    height: auto;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

/*footer_top_content*/
.footer_top_content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-end;
    align-items: end;
    gap: 20px;
}

/*footer_phone*/
.footer_phone,
.footer_phone a {
    font-size: 60px;
    line-height: 0.9;
    color: inherit;
}

/*footer_email*/
.footer_email,
.footer_email a {
    font-size: 32px;
    line-height: 0.9;
    color: inherit;
}

@media all and (max-width: 1599px){
    .footer_phone,
    .footer_phone a {
        font-size: 48px;
    }
}

@media all and (max-width: 575px){
    .footer_phone,
    .footer_phone a {
        font-size: 32px;
    }

    .footer_email,
    .footer_email a {
        font-size: 28px;
    }
}

/*footer_menu*/
.footer_menu_title {
    font-size: 24px;
    color: var(--color-brand-secondary);
    margin-bottom: 1rem;
}

.footer_bottom ul.footer_menu {
    font-size: inherit;
}

@media all and (max-width: 767px){
    .footer_bottom ul.footer_menu.footer_menu_size {
        font-size: 1rem;
    }
}

/*footer_bottom_links*/
.footer_bottom_links {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 64px;
}

.footer_bottom_links_item {
    display: inline-block;
    font-size: inherit;
    color: inherit;
    margin: 0;
}

.footer_bottom_links_item:first-child {
    margin-right: auto;
}

.footer_bottom_links_item > * {
    opacity: 0.5;
}

.footer_bottom_links_item a {
    display: block;
    color: var(--color-brand-secondary);
}

.footer_bottom_links_item a:hover {
    color: var(--color-brand-secondary);
    opacity: 1;
}

.footer_bottom_links_item.dev_link {
    position: relative;
    top: -5px;
}

.footer_bottom_links_item.dev_link svg {
    width: auto;
    height: 24px;
}

/*THEME SETINGS*/
/*theme_footer_bg_color*/
.theme_footer_bg_color {
    background: var(--theme-f-bg-color);
}

/*theme_footer_block_bg_color*/
.theme_footer_block_bg_color {
    padding: 0 3rem;
    border-radius: 64px;
    background: var(--theme-f-block-bg-color);
}

.theme_footer_block_bg_color .footer_top:after {
    display: none;
}

@media all and (max-width: 991px){
    .theme_footer_block_bg_color {
        padding: 0 1rem;
        border-radius: 40px 40px 0 0;
    }
}

/*theme_footer_color*/
.theme_footer_color {
    color: var(--theme-f-color);
}

.theme_footer_color .footer_block_bg:not(.theme_footer_block_bg_color) .footer__soc-icon {
    background: var(--theme-f-color-opacity);
}

.theme_footer_color .footer_block_bg:not(.theme_footer_block_bg_color) .footer_search .form-control {
    color: var(--theme-f-color);
    border-color: transparent;
    background: var(--theme-f-color-opacity);
}

.theme_footer_color .footer_block_bg:not(.theme_footer_block_bg_color) .footer_search .form-control:focus {
    border-color: var(--theme-f-color);
}

/*theme_footer_color and theme_footer_block_bg_color  */
.block_bg_colored a:hover {
    color: var(--color-brand-secondary) !important;
}

.block_bg_colored .footer__soc-icons {
    color: #fff;
}

.block_bg_colored .footer_bottom_links_item {
    color: var(--color-brand-secondary)
}
