/* Единый подвал сайта (rim_footer.php): регионы как на главной + подвал как на /presence/ */
.rim-footer { --rem: 10px; --primary-color: #ff9400; position: relative; z-index: 60; font-family: "Uni Neue", Arial, sans-serif; background: #13185c; }
@media only screen and (max-width: 1400px) { .rim-footer { --rem: 9px; } }
@media only screen and (max-width: 1200px) { .rim-footer { --rem: 8px; } }
@media only screen and (max-width: 1024px) { .rim-footer { --rem: 10px; } }
@media only screen and (max-width: 768px) { .rim-footer { --rem: 7px; } }
@media only screen and (max-width: 640px) { .rim-footer { --rem: 10px; } }
.rim-footer *, .rim-footer *::before, .rim-footer *::after { box-sizing: border-box; }
.rim-footer ul { list-style: none; margin: 0; padding: 0; }
.rim-footer a { color: inherit; text-decoration: none; }
.rim-footer a:hover { text-decoration: none; }
.rim-footer__container { padding: 0 5.9%; max-width: none; margin: 0 auto; }
@media only screen and (max-width: 640px) { .rim-footer__container { padding: 0 4.5%; } }
.rim-footer .new-main-regions { background-color: #13185c; overflow: hidden; }
.rim-footer .new-main-regions__heading { margin-top: 0; color: #fff; }
.rim-footer .new-main-regions__link:link, .rim-footer .new-main-regions__link:visited { color: #fff; }
.rim-footer .new-main-regions{color:#fff;padding-top:calc(13.5*var(--rem));padding-bottom:calc(13*var(--rem));background-image:url(/local/js/rim/build/img/new-main/new-regions-map.svg);background-size:calc(148*var(--rem)) auto;background-repeat:no-repeat;background-position:center bottom calc(-20*var(--rem))}
@media only screen and (max-width:640px){.rim-footer .new-main-regions{padding-bottom:calc(6*var(--rem));background-size:calc(107*var(--rem)) auto;padding-top:calc(12.2*var(--rem));background-position:center bottom}}
.rim-footer .new-main-regions__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
.rim-footer .new-main-regions__heading{font-style:normal;font-weight:800;font-size:calc(5.2*var(--rem));line-height:110%;margin-bottom:calc(6*var(--rem));position:relative;z-index:5}
@media only screen and (max-width:640px){.rim-footer .new-main-regions__heading{font-style:normal;font-weight:800;font-size:calc(3.2*var(--rem));line-height:110%;margin-bottom:calc(3.7*var(--rem));text-align:center}}
.rim-footer .new-main-regions__list{-webkit-column-count:5;-moz-column-count:5;column-count:5;-webkit-column-gap:calc(8*var(--rem));-moz-column-gap:calc(8*var(--rem));column-gap:calc(8*var(--rem));position:relative;z-index:1}
@media only screen and (max-width:640px){.rim-footer .new-main-regions__list{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:calc(4*var(--rem));-moz-column-gap:calc(4*var(--rem));column-gap:calc(4*var(--rem))}}
.rim-footer .new-main-regions__list::before{content:"";position:absolute;width:calc(177*var(--rem));height:calc(36*var(--rem));background:-webkit-gradient(linear,left top,left bottom,color-stop(32%,#5229a1),to(#1f49c4));background:linear-gradient(180deg,#5229a1 32%,#1f49c4 100%);opacity:.8;-webkit-filter:blur(250px);filter:blur(250px);z-index:-1;pointer-events:none}
@media only screen and (max-width:640px){.rim-footer .new-main-regions__list::before{width:calc(18.7*var(--rem));height:calc(91*var(--rem));background:-webkit-gradient(linear,left top,left bottom,color-stop(32%,#5229a1),to(#1f49c4));background:linear-gradient(180deg,#5229a1 32%,#1f49c4 100%);opacity:.5;-webkit-filter:blur(150px);filter:blur(150px);-webkit-transform:translateX(-50%) translateY(-50%) rotate(-33.59deg);transform:translateX(-50%) translateY(-50%) rotate(-33.59deg);z-index:-1}}
.rim-footer .new-main-regions__list-item{margin-bottom:calc(1.5*var(--rem))}
@media only screen and (max-width:640px){.rim-footer .new-main-regions__list-item{margin-bottom:calc(1*var(--rem))}}
.rim-footer .new-main-regions__link{display:block;font-style:normal;font-weight:500;font-size:calc(1.6*var(--rem));line-height:130%}
@media only screen and (max-width:640px){.rim-footer .new-main-regions__link{font-style:normal;font-weight:500;font-size:calc(1.2*var(--rem));line-height:130%}}
@media (hover:hover){.rim-footer .new-main-regions__link:hover{color:#ff5129}}
/* подвал: стили /presence/ (page-footer) */
.page-footer { background:linear-gradient(139.2deg,#000 1.7%,#5229a1 76.84%); color:#fff; padding-top:7rem; padding-bottom:5rem }
@media only screen and (max-width:640px) { 
.page-footer { padding-top:5.4rem; padding-bottom:4rem } }
.page-footer__bottom-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-gap:2rem }
@media only screen and (max-width:640px) { 
.page-footer__bottom-row { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-orient:vertical; -webkit-box-direction:normal; -ms-flex-direction:column; flex-direction:column; grid-gap:initial } }
.page-footer__col { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-orient:vertical; -webkit-box-direction:normal; -ms-flex-direction:column; flex-direction:column }
@media only screen and (max-width:640px) { 
.page-footer__col { display:contents } }
.page-footer__top-row { margin-bottom:4.5rem }
@media only screen and (max-width:640px) { 
.page-footer__top-row { margin-bottom:.5rem } }
.page-footer__nav-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-gap:2rem; grid-row-gap:.1rem }
@media only screen and (max-width:640px) { 
.page-footer__nav-list { grid-template-columns:repeat(1,minmax(0,1fr)); grid-gap:.3rem } }
.page-footer__nav-link { font-size:1.6rem; line-height:3rem }
.page-footer__copyright { font-size:1.6rem; line-height:2.2rem; margin-top:auto; margin-bottom:1rem }
@media only screen and (max-width:640px) { 
.page-footer__copyright { margin-bottom:2rem; -webkit-box-ordinal-group:6; -ms-flex-order:5; order:5 } }
.page-footer__made-by { font-size:1.6rem; line-height:2.2rem; color:#9a76e0; margin-top:auto; margin-bottom:1rem }
@media only screen and (max-width:640px) { 
.page-footer__made-by { margin-bottom:2rem; -webkit-box-ordinal-group:7; -ms-flex-order:6; order:6 } }
.page-footer__social-list { display:-webkit-box; display:-ms-flexbox; display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center }
@media only screen and (max-width:640px) { 
.page-footer__social-list { margin-bottom:0; -webkit-box-ordinal-group:8; -ms-flex-order:7; order:7; margin-top:2rem } }
.page-footer__social-list-item { margin-right:2rem; -ms-flex-negative:0; flex-shrink:0 }
.page-footer__social-list-item:last-child { margin-right:0 }
.page-footer__social-link { width:4rem; height:4rem; display:block }
.page-footer__social-link svg { width:100%; height:100%; display:block; fill:#fff }
.page-footer__phone-link { font-size:2.4rem; line-height:3rem; margin-bottom:4.5rem }
@media only screen and (max-width:640px) { 
.page-footer__phone-link { margin-top:1.5rem } }

.rim-footer .page-footer a { color: #fff; }
.rim-footer .page-footer__nav-list { margin: 0; padding: 0; }
.page-footer__social-link img { width: 100%; height: 100%; display: block; object-fit: contain; }
.page-footer__policy { display: block; font-size: 1.2rem; line-height: 1.6rem; opacity: .5; margin-bottom: 1rem; }
.page-footer__policy:hover { opacity: 1; color: var(--primary-color); }
.page-footer__col--rating { align-items: flex-start; }
@media only screen and (max-width: 640px) {
	.page-footer__policy { order: 5; margin-bottom: 2rem; }
	.page-footer__col--rating { display: flex; order: 8; margin-top: 2rem; }
}
