/* Footer type scale measured on eli-estate.ru. Keep MDI content and grid. */
#contact{--footer-heading-size:20px;--footer-heading-line:23px;--footer-link-size:16px;--footer-link-line:19px;--footer-link-weight:400;--footer-small-size:12px;--footer-small-line:14px}
#contact .mdi-footer-group h2,#contact .mdi-footer-group h3{font-family:EliSourceJost,Jost,Arial,sans-serif;font-size:var(--footer-heading-size);line-height:var(--footer-heading-line);font-weight:500;text-transform:none;letter-spacing:normal;margin-bottom:24px}
#contact .mdi-footer-group li,#contact .mdi-footer-group li a:not([data-footer-media]),#contact [data-footer-social]{font-family:EliSourceJost,Jost,Arial,sans-serif;font-size:var(--footer-link-size);line-height:var(--footer-link-line);font-weight:var(--footer-link-weight);letter-spacing:.5px}
#contact .mdi-footer-group ul{gap:12px}
#contact address{font:300 var(--footer-link-size)/1.5 EliSourceJost,Jost,Arial,sans-serif;letter-spacing:.5px}
#contact .mdi-footer-route{font:400 var(--footer-link-size)/1 EliSourceJost,Jost,Arial,sans-serif;letter-spacing:.5px}
#contact .mdi-footer-bottom a,#contact .mdi-footer-company-details p,#contact .mdi-footer-legal li{font-family:EliSourceJost,Jost,Arial,sans-serif;font-size:var(--footer-small-size);line-height:var(--footer-small-line);font-weight:300;letter-spacing:normal}
#contact .mdi-footer-brand p{font-family:EliSourceForum,Forum,serif;font-size:15px;line-height:18px;font-weight:400}
#contact .mdi-footer-bottom .mdi-footer-phone{font-size:16px;line-height:16px}
#contact .mdi-footer-bottom .mdi-footer-email{font-size:13px;line-height:16px}
#contact .mdi-footer-tag{font:300 12px/16px EliSourceJost,Jost,Arial,sans-serif;letter-spacing:.5px}
#contact [data-footer-social]{min-height:0}
#contact [data-footer-social]::before{width:16px;height:16px;flex-basis:16px}
@media(min-width:1101px){
 #contact .mdi-footer-bottom>*{grid-column:auto}
 #contact .mdi-footer-company-details,#contact .mdi-footer-legal,#contact .mdi-footer-contact{padding-left:17px}
 #contact .mdi-footer-company-details::before,#contact .mdi-footer-legal::before,#contact .mdi-footer-contact::before{left:0}
 #contact [aria-labelledby="footer-useful-title"] ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 #contact .mdi-footer-brand{gap:12px}
 #contact .mdi-footer-brand p{font-size:13px;line-height:15px}
 #contact .mdi-footer-messengers{gap:8px}
 #contact .mdi-footer-messengers a{gap:4px}
}
@media(min-width:980px) and (max-width:1199px){
 #contact{--footer-heading-size:18px;--footer-heading-line:21px;--footer-link-size:13px;--footer-link-line:16px;--footer-small-size:10px;--footer-small-line:12px}
}
@media(max-width:979px){
 #contact{--footer-heading-size:19px;--footer-heading-line:23px;--footer-link-size:17px;--footer-link-line:20px;--footer-link-weight:300;--footer-small-size:12px;--footer-small-line:14px}
 #contact .mdi-footer-group h2,#contact .mdi-footer-group h3{font-weight:400}
}
@media(max-width:479px){#contact{--footer-link-size:13px;--footer-link-line:16px}}

/* The menu shares the footer typeface, with larger navigation targets. */
#mdi-menu,#mdi-menu .mdi-footer-group,#mdi-menu .mdi-footer-bottom>*,#mdi-menu address,#mdi-menu .mdi-footer-hint,#mdi-menu .mdi-footer-tag,#mdi-menu .mdi-menu-close{font-family:EliSourceJost,Jost,Arial,sans-serif}
#mdi-menu .mdi-footer-group h2,#mdi-menu .mdi-footer-group h3{font-family:EliSourceJost,Jost,Arial,sans-serif;font-size:20px;font-weight:500;line-height:23px;text-transform:none;letter-spacing:normal;color:#fff}
#mdi-menu .mdi-footer-group{font-size:20px;line-height:1.5;font-weight:400}
#mdi-menu .mdi-menu-brand img{width:116px;height:auto}
@media(max-width:650px){
 #mdi-menu .mdi-footer-group{font-size:18px}
 #mdi-menu .mdi-footer-group h2,#mdi-menu .mdi-footer-group h3{font-size:19px;font-weight:400;line-height:23px}
 #mdi-menu .mdi-menu-brand img{width:96px}
}
