.ap-footer-small {
    background-color: #000000;
    padding: 56px 0;
}
.ap-footer-small .ap-container {
    display: block !important;
}
.ap-footer-small .nav_bottom_menu {
    text-align: center;
    padding: 0 !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    /*width: auto;*/
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.ap-footer-small .nav_bottom_menu li {
    display: inline-block;
    position: relative;
    padding: 0 8px;
    margin-bottom: 10px;
    margin-left: -1px;
}
.ap-footer-small .nav_bottom_menu li:before {
    content: "";
    display: block;
    width: 1px;
    background-color: #ff0000;
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 2px;
}
.ap-footer-small .nav_bottom_menu li:after {
    content: "";
    display: block;
    width: 1px;
    background-color: #ff0000;
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 2px;
}
.ap-footer-small .nav_bottom_menu a {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.2;
    color: #dfdfdf;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color .3s, opacity .3s;
}
.ap-footer-small .nav_bottom_menu a:after {
    content: '';
    display: block;
    height: 1px;
    left: 50%;
    right: 50%;
    position: absolute;
    bottom: -2px;
    background-color: #ff0000;
    /*opacity: 0;*/
    transition: left .3s, right .3s;
}
ul.nav_bottom_menu li a:hover {
    text-decoration: none;
    color: #dfdfdf;
    /*color: #ff0000;*/
}
ul.nav_bottom_menu li a:hover:after {
    left: 0;
    right: 0;
    /*opacity: 1;*/
}
.ap-footer-small .soc_button_block {
    display: block;
    width: auto;
    text-align: center;
    margin-top: 24px;
}
.ap-footer-small .soc_button_block ul {
    display: inline-block;
    vertical-align: top;
}
.ap-footer-small .soc_button_block li {
    padding: 0;
}
.ap-footer-small .soc_button_block li:not(:last-child) {
    margin-right: 8px;
}
.ap-footer-small .soc_button_block li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background-image: url(/bitrix/templates/archiprofi_v2015/img/soc_button_shape_36.png);
}
.ap-footer-small .soc_button_block li a:hover {
    background-image: url(/bitrix/templates/archiprofi_v2015/img/soc_button_shape_36_2.png);
}
.ap-footer-small .soc_button_block li a.facebook {
    background-position: 0 0;
    background-image: none;
    background-color: #515151;
}
.ap-footer-small .soc_button_block li a.facebook:hover {
    background-image: linear-gradient(to bottom, #3f5699, #7185b3);
}
.ap-footer-small .soc_button_block li a.vk {
    background-position: -41px 0;
}
.ap-footer-small .soc_button_block li a.odnoklassniki {
    background-position: -81px 0;
}
.ap-footer-small .soc_button_block li a.youtube {
    background-position: -121px 0;
}
.ap-footer-small .soc_button_block li a.nz {
    background-position: -162px 0;
}
.ap-footer-small .soc_button_block li a.pinterest {
    background-position: -201px 0;
}
.ap-footer-small .soc_button_block li a.twitter {
    background-position: -242px 0;
}
.ap-footer-small .soc_button_block li a.instagram {
    background-position: -242px 0;
    background-image: none;
    background-color: #515151;
}
.ap-footer-small .soc_button_block li a.instagram:hover {
    background: #f09433;
    background: -moz-linear-gradient(180deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(180deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(180deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

.footer-menu-item-profi {
    color: #ffff00 !important;
}
.footer-menu-item-profi:after {
    background-color: #ffff00 !important;
}
.footer-menu-item-profi:hover {
    color: #ffff00 !important;
}