/*
 * Tryg Norway site footer styles extracted from the live tryg.no Drupal theme.
 * Scoped to CMS footer markup in _SiteFooterTrygNo.cshtml.
 */

body.theme-tryg-no #Footer.footer {
    background-color: #ce0303;
    color: #fff;
}

body.theme-tryg-no #Footer.footer a {
    color: #fff;
    text-decoration: underline;
}

body.theme-tryg-no #Footer.footer a:hover,
body.theme-tryg-no #Footer.footer a:focus {
    text-decoration: none;
}

body.theme-tryg-no #Footer .footer-wrapper {
    padding-inline: 4.375rem;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .footer-wrapper {
        padding-inline: 2.5rem;
    }
}

body.theme-tryg-no #Footer .footer-wrapper .container {
    max-width: 1320px;
    margin-inline: auto;
    padding-block: 3rem;
    width: 100%;
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .footer-wrapper .container .menu {
        flex-direction: column;
    }
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu > li {
    list-style: none;
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu > li > a {
    display: none;
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu > li ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu > li ul li {
    padding-block: 0.5rem;
}

body.theme-tryg-no #Footer .footer-wrapper .container .menu > li ul li a {
    display: inline-block;
    position: relative;
    font-size: 1rem;
}

body.theme-tryg-no #Footer .footer-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5rem;
}

body.theme-tryg-no #Footer .footer-text p {
    margin: 0 0 0.5rem;
}

body.theme-tryg-no #Footer .footer-text p:last-child {
    margin-bottom: 0;
}

body.theme-tryg-no #Footer .footer-text strong {
    font-weight: 600;
}

body.theme-tryg-no #Footer .sub-footer-wrapper {
    background-color: #9c0202;
    padding-inline: 4.375rem;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .sub-footer-wrapper {
        padding-inline: 2.5rem;
    }
}

body.theme-tryg-no #Footer .sub-footer-wrapper .container {
    max-width: 1320px;
    margin-inline: auto;
    padding-block: 0.9375rem;
    font-size: 1rem;
    line-height: 1.25rem;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .sub-footer-wrapper .container {
        padding-block: 2.5rem;
    }
}

body.theme-tryg-no #Footer .block-tryg-copyright {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .block-tryg-copyright {
        flex-wrap: wrap;
    }
}

body.theme-tryg-no #Footer .block-tryg-copyright .copyright,
body.theme-tryg-no #Footer .block-tryg-copyright .address {
    flex-grow: 0;
    margin-right: 2.5rem;
    line-height: 1.5rem;
}

@media all and (max-width: 61.9375em) {
    body.theme-tryg-no #Footer .block-tryg-copyright .copyright,
    body.theme-tryg-no #Footer .block-tryg-copyright .address {
        order: 5;
        width: 100%;
    }
}

body.theme-tryg-no #Footer .visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
