/* 2019 Redesign */
/* ================================================================================ */
/* Breadcrumbs (doesn't really belong here but until we're ready to integrate the   */
/* fullwidth stylesheet into all pages, we need some way to fix up breadcrumbs to   */
/* go with the new wide header.                                                     */
/* ================================================================================ */
.masthead #crumb_socialmedia > div,
.masthead #crumbs {
    left: unset;
    padding-left: 0;
}
#body .live-help-text-link-footer {
    color:  rgba(240,197,17,1) !important;
}
/* ================================================================================ */
/* Footer */
/* ================================================================================ */
.footer {
    color: white;
    background-color: #123456;
    background-image: none;
    margin-top: 0;
    padding: 20px;
}
#footer-block-address h3 {
    font-size: 1.8rem;
    margin-bottom: 7px;
    padding-top: 23px;
    text-transform: uppercase;
}
.footer .nav-section,
.footer {
    color: white;
    font-size: 1.4rem;
    line-height: 2.8;
}
.footer .row {
    margin: 0 auto;
    max-width: 1180px;
}
.footer .nav a {
    color: white !important;
    font-size: 1.4rem;
    line-height: 2.8;
}
#footer-block-address {
    display: block;
}
#footer-block-710,
#footer-block-712 {
    display: none;
}
/* Autotest blocks */
#footer-block-927 {
    display: none;
}
.footer p.text-center.tel {
    display:none;
}
.page-22 .footer #footer-block-address,
.page-78 .footer #footer-block-address {
    display:none;
}
.page-22 .footer .text-center.tel,
.page-78 .footer .text-center.tel {
    display:block;
    margin-top: 35px;
    margin-bottom: 0;
}
.page-22 .footer .copyright,
.page-78 .footer .copyright {
    text-align: center;
}
.footer .copyright {
    margin-top: 15px;
}

#footer-block-address h4 {
    padding-top: 20px;
}
#footer-block-address p {
    margin-bottom: 0;
}
#footer-block-address a:not(:hover) {
    color: #ffffff !important;
}
/*
#footer-block-address-other span {
    text-decoration: underline;
}
*/

.row .nav .footer-iso:not( li.proxima-nova-alt + .footer-iso ) {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid black;
  background-color: white;
  padding-right: 2px !important;
}

.footer-iso .iso-badges {
  float: left;
  position: relative;
  display: flex;
  flex-direction: row;
  padding-top: 2px;
  padding-bottom: 2px;
  justify-content: flex-start;
}

.footer-iso .iso-badges + a {
  dispaly: block;
  float: left;
  margin-left: 4px;
}

.footer-iso .iso-badges + a img {
  margin-top: 2px;
  height: 111px;
}

.footer-iso .iso-badges a {
  display: block;
  width: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid black;
  margin-left: 3px;
}

.footer-iso .iso-badges a img {
  width:72px;
}

.footer-horizontal ul > li.footer-tasi {
  display: block;
}

.footer-tasi img {
  display: inline;
  height: 25px;
  padding-right: 15px;
}

.footer-tasi a {
  text-decoration: underline;
}

@media (min-width: 1281px) {
    /* Footer */
    .footer-col {
        width: 20%;
    }
    #footer-block-address {
        width: 35%;
    }
    #footer-block-address {
        width: 40%;
    }
    #footer-block-address h4 {
        font-size: 1.8rem;
    }
    #footer-block-address p {
        font-size: 1.4rem;
        line-height: 1.7;
    }
    footer .nav-section {
        font-size: 1.8rem;
        font-weight: 500;
        text-transform: uppercase;
    }
    footer ul.nav {
        padding-top: 10px;
    }
    footer .nav a,
    footer .nav span {
        color: white;
        font-size: 1.4rem;
        line-height: 2.8;
    }
    .footer-col {
        margin-top: 23px;
    }
    .footer .row.footer-horizontal {
        border-top: 1px solid white;
        padding-top: 20px;
        margin-top: 40px;
    }
    .footer-horizontal ul {
        list-style: none;
        padding: 0;
    }
    .footer-horizontal ul > li a {
        display: inline;
    }
    .footer-horizontal ul > li:not(.footer-tasi) {
        display: inline-block;
        padding-right: 5px;
    }
    .footer-horizontal ul span {
        width: 220px;
        display: inline-block;
        float: right;
    }
    .footer-horizontal ul > li + span {
        padding-right: 50px;
    }

    .autotest .footer-horizontal ul > li:nth-child(2),
    .autotest .footer-horizontal ul > li:nth-child(3),
    .autotest .footer-horizontal ul > li:nth-child(7) {
        display:inline-block;
    }
    .footer-horizontal ul > li:nth-last-child(n+5):after {
        padding-left: 10px;
        content: "|";
    }
    .autotest .footer-horizontal ul > li:nth-last-child(n+3):after {
        padding-left: 10px;
        content: "|";
    }
    .footer .copyright {
        text-align: left;
    }
}
@media (min-width: 769px) and (max-width: 1280px) {
    /* Footer */
    .footer-col {
        width: 20%;
    }
    #footer-block-address {
        width: 40%;
    }
    #footer-block-address h3 {
        font-size: 1.8rem;
        text-transform: uppercase;
        padding-top: 25px;
        margin-bottom: 7px;
    }
    #footer-block-address h4 {
        font-size: 1.8rem;
    }
    #footer-block-address p {
        font-size: 1.4rem;
        line-height: 1.7;
    }
    footer .nav-section {
        font-size: 1.8rem;
        font-weight: 500;
        text-transform: uppercase;
    }
    footer ul.nav {
        padding-top: 10px;
    }
    footer .nav a,
    footer .nav span {
        color: white;
        font-size: 1.4rem;
        line-height: 2.8;
    }
    .footer-col {
        margin-top: 23px;
    }
    .footer .row.footer-horizontal {
        border-top: 1px solid white;
        padding-top: 20px;
        margin-top: 40px;
    }
    .footer-horizontal ul {
        list-style: none;
        padding: 0;
    }
    .footer-horizontal ul > li a {
        display: inline;
    }
    .footer-horizontal ul > li {
        display: inline-block;
        padding-right: 5px;
    }
    .footer-horizontal ul span {
        width: 220px;
        display: inline-block;
        float: right;
    }
    .footer-horizontal ul > li + span {
        padding-right: 50px;
    }

    .footer-horizontal ul > li:nth-last-child(n+5):after {
        padding-left: 10px;
        content: "|";
    }
    .footer .copyright {
        text-align: left;
    }
}
/* =======================================
 *      TABLET
 * ======================================= */
@media (max-width: 768px) {
    /* Footer */
    /*
    #horiz-footer-block-712 { display: none; }
    #footer-block-712 { display: block; }
    #horiz-footer-block-927 { display: none; }
    #footer-block-927 { display: block; }
    */
    .footer {
        border-top: 4px solid #ED1B2F;
    }
    .footer .container-fluid {
        padding: 0;
    }
    div[id^="footer-block-"] {
        padding: 15px 20px 10px;
        width: 100%;
        border-top: 1px solid #ffffff;
    }
    #footer-block-address {
        margin-left: 25px;
        padding-top: 23px;
        padding-left: 0;
        padding-bottom: 20px;
        border-top: none;
    }
    #footer-block-address h3,
    #footer-block-address h4,
    .footer .nav-section {
        font-size: 2.4rem !important;
        font-weight: 400;
    }
    #footer-block-address h3 span {
        text-transform: uppercase;
    }
    #footer-block-address p,
    .footer .nav a,
    .footer .nav span {
        font-size: 1.6rem;
    }
    .footer .nav-section {
        text-transform: capitalize;
        user-select: none;
    }
    .footer-col > ul.nav {
        transition: 0.25s ease-out all;
        overflow: hidden;
        display: block;
    }
    .footer-col:not(.open) > ul.nav {
        opacity: 0;
        max-height: 0;
    }
    .footer-col.open > ul.nav {
        display: block;
        opacity: 1;
        max-height: 700px;
    }
    .footer .row>div>span::after {
        float:right;
        top: unset;
        margin-top: 25px;
        content: "\e259";
        -moz-osx-font-smoothing: grayscale;
        display: inline-block;
        font-family: "Glyphicons Halflings";
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        position: relative;
        font-size: 90%;
        margin-left: 3px;
    }
    .footer .row>div.open>span::after {
        content: "\e260";
    }
    #footer-block-712 { display: block; }
    #footer-block-712 ul span,
    #footer-block-712 .footer-iso,
    #footer-block-712 .footer-tasi,
    #horiz-footer-block-712 .nav-section,
    #horiz-footer-block-712 ul > li { display: none; }
    #horiz-footer-block-712 .footer-iso { display: table-cell; }
    #horiz-footer-block-712 .footer-tasi { display: block; padding-left: 20px; padding-top: 20px; }
    #footer-block-927 { display: block; }
    #footer-block-927 ul span,
    #footer-block-927 .footer-iso,
    #footer-block-927 .footer-tasi,
    #horiz-footer-block-927 .nav-section,
    #horiz-footer-block-927 ul > li { display: none; }
    #horiz-footer-block-927 .footer-iso { display: table-cell; }
    #horiz-footer-block-927 .footer-tasi { display: block; padding-left: 20px; padding-top: 20px; }
    .footer {
        border-top: 4px solid #ED1B2F;
    }
    .footer .container-fluid {
        padding: 0;
    }
    div[id^="footer-block-"] {
        padding: 15px 20px 10px;
        width: 100%;
        border-top: 1px solid #ffffff;
    }
    div[id^="horiz-footer-block-"] {
        margin-left: 20px !important;
    }
    #body div[id^="horiz-footer-block-"] a.ico-social {
        line-height: 25px;
        min-height: 25px;
        margin-left: 20px;
    }
    div[id^="horiz-footer-block-"] .footer-iso {
        padding-top: 10px;
    }
    div[id^="horiz-footer-block-"] .footer-iso a {
        line-height: 25px;
        padding-left: 20px;
    }
    #footer-block-address h3,
    #footer-block-address h4,
    .nav-section {
        font-size: 2.4rem !important;
        font-weight: 400;
    }
    #footer-block-address h3 span {
        text-transform: uppercase;
    }
    #footer-block-address p,
    .footer .nav a,
    .footer .nav span {
        font-size: 1.6rem;
    }
    .nav-section {
        text-transform: capitalize;
    }
    .nav-section:after {
        float:right;
    }
}
