.main--footer {
    padding: 67px 0 38px;
    font-family: "Lato", sans-serif;
}

.site-footer__top,
.site-footer__top h2,
.site-footer__top .nav-item .nav-link {
    color: #4a4a4a;
    font-size: 12px;
}

.site-footer__top .region,
.site-footer__top .region:first-child,
.site-footer__top .region:last-child {
    padding: 0 15px;
    width: calc(100%/5);
}

.site-footer__top h2,
.site-footer__top .nav-item {
    margin: 0 0 10px;
}

.site-footer__top h2 {
    border: none;
    font-weight: 700;
}

.site-footer__top .nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.site-footer__top .nav .nav-item .nav-link {
    border-bottom: 1px solid transparent;
    display: inline-block;
    padding: 0;
    -webkit-transition: border 0.2s ease-out;
    transition: border 0.2s ease-out;
    font-family: "Lato", sans-serif;
}

.site-footer__top .nav .nav-item .nav-link:hover,
.site-footer__top .nav .nav-item .nav-link.focus,
.site-footer__top .nav .nav-item .nav-link:focus,
.site-footer__top .nav .nav-item .nav-link:active {
    background: none;
    border-bottom-color: #4a4a4a;
}

.site-footer__bottom {
    border: none;
}

.app-links {
  padding-left: 0 !important;
}

.app-links a {
  padding: 0 !important;
}

.region-footer-bottom .block {
    border-top: 1px solid #c9c9c9;
    padding: 16px 0;
}

.region-footer-bottom .block:first-child {
    border-top-color: transparent;
}

.region-footer-bottom .social-links {
    padding: 16px 43px;
}

.main--footer .social-links .nav .nav-link {
    background: #4a4a4a;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
    padding: 0;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: center;
    width: 26px;
}

.main--footer .social-links .nav .nav-link i:before{
    font-size: 12px;
}

.main--footer .social-links .nav .nav-link i.flaticon-facebook:before{
    left:2px;
    position: relative;
}

.main--footer .social-links .nav li {
    margin-left: 8px;
}

.main--footer .social-links .nav li:first-of-type {
    margin-left: 0;
}
.main--footer .social-links .nav .nav-link:hover,
.main--footer .social-links .nav .nav-link.focus,
.main--footer .social-links .nav .nav-link:focus,
.main--footer .social-links .nav .nav-link:active {
    opacity: 0.8;
}

.footer--bottom--menu,
.footer--bottom--menu .nav .nav-link {
    color: #4a4a4a;
    font-size: 12px;
}

.region-footer-bottom .footer--bottom--menu {
    padding: 38px 0 0;
}

.footer--bottom--menu .nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: auto;
    float: right;
}

.footer--bottom--menu .nav .nav-item {
    border-right: 1px solid #4a4a4a;
}

.footer--bottom--menu .nav .nav-item:last-of-type {
    border-left-color: transparent;
}

.footer--bottom--menu .nav .nav-item .nav-link {
    background: none;
    border-bottom: 1px solid transparent;
    line-height: 1;
    margin: 0 5px;
    padding: 2px 0;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.footer--bottom--menu .nav .nav-item .nav-link:hover,
.footer--bottom--menu .nav .nav-item .nav-link.focus,
.footer--bottom--menu .nav .nav-item .nav-link:focus,
.footer--bottom--menu .nav .nav-item .nav-link:active {
    border-bottom-color: #4a4a4a;
}
.main--footer {
    background: #dbdbdb;
}
.main--footer .site-footer__top h2 {
    text-transform: uppercase;
}
.main--footer .sorrowful{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.main--footer .site-footer__top section.region {
    float: left;
}
.main--footer div.footer-container{
    margin:0 auto;
}
@media (min-width: 576px){
    .main--footer div.footer-container{
        max-width: 540px;
    }

    .region-footer-bottom .social-links {
        padding: 16px 20px 0 20px;
    }

    .app-links a {
        padding-bottom: 15px !important;
    }

    .social-links .nav li:first-of-type {
        margin-left: 8px;
    }
}
@media (min-width: 768px){
    .main--footer div.footer-container {
        max-width: 720px;
    }
}
@media (min-width: 992px){
    .main--footer div.footer-container {
        max-width: 960px;
    }
}
@media (min-width: 1200px){
    .main--footer div.footer-container {
        max-width: 1140px;
    }
}
.main--footer .site-footer__top section.region{
    width: 20%;
}
@media screen and (max-width:1200px){
    .main--footer .site-footer__top{
        display: grid;
        grid-template-columns: 33% 33% 33%;
    }
    .main--footer .site-footer__top section.region {
        width: 100% !important;
    }
}
@media screen and (max-width:767px){
    .footer--bottom--menu .nav {
        width: 100%;
    }
    .main--footer .site-footer__top{
        grid-template-columns: 50% 50%;
    }
}
@media screen and (max-width:360px){
    .main--footer .site-footer__top{
        grid-template-columns: 100%;
    }
}
/* HIGH CONTRAST footer */
body.wcag .main--footer{
    background-color:#000000;
}
body.wcag .main--footer h2,
body.wcag .site-footer__top .nav-item,
body.wcag .site-footer__top .nav-item .nav-link,
body.wcag .main-footer i:before,
body.wcag .footer--bottom--menu .nav-item .nav-link {
    color:#ff9035;
}
body.wcag .main--footer i{
    color:#000;
}
body.wcag .footer--bottom--menu .nav .nav-item{
    border-collapse: #ff9035;
}
body.wcag .footer--bottom--menu .nav .nav-item:first-child{
    border-left-color: transparent;
}
body.wcag .region-footer-bottom .footer--bottom--menu{
    border-top-color: #ff9035;
}
body.wcag .region-footer-bottom .social-links .nav .nav-link{
    background-color: #ff9035;
    color:#000000;
}

.row:before, .row:after {
  display: inline-block;
}
