﻿/*
	SUB NAVIGATION
*************************** */
.sub_nav {
    display: none;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.3;
    overflow: visible;
    padding-bottom: 3rem;
}

    .sub_nav .sub_nav_heading {
        margin-left: 28px;
        margin-top: 20.5px;
        font-size: 18px;
        font-weight: bold;
        line-height: 1.33;
    }

    .sub_nav ul {
        display: block;
        list-style-type: none;
        list-style-position: inside;
        margin: 0;
        padding: 0;
        width: auto;
    }

        .sub_nav ul.parent > li {
            display: block;
        }

            .sub_nav ul.parent > li:first-child {
                padding-top: .5em;
            }

            .sub_nav ul.parent > li:first-of-type > a {
                border-top: 0 none;
            }

    .sub_nav a {
        display: block;
        padding: 1em .5em;
        color: #222;
        font-size: 14px;
        line-height: normal;
        text-decoration: none;
        border-left: 6px solid transparent;
        -ms-word-break: break-all;
        word-break: break-all;
        word-break: break-word;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }

        .sub_nav a:not(.show-more):focus,
        .sub_nav a:not(.show-more):hover,
        .sub_nav a:not(.show-more):active {
            border-left: 6px solid #27769f;
        }

    .sub_nav li.opened > a,
    .sub_nav li.closed > a {
        position: relative;
        padding-right: 1.8em;
    }

    .sub_nav li > a.show-more {
        padding: 10px !important;
        position: absolute;
        top: 0;
        height: 24px;
    }

    .sub_nav li {
        font-weight: normal;
    }

        .sub_nav li > a.show-more:before {
            font-family: fontello;
            font-size: 10px;
            position: absolute;
            top: 18px;
            left: 5px;
            speak: none;
        }

        .sub_nav li.closed > a.show-more:before {
            color: #222;
            font-family: fontello;
            font-size: 10px;
        }

        .sub_nav li a.show-more[aria-expanded="false"]:before {
            content: "\E809";
        }

        .sub_nav li a.show-more[aria-expanded="true"]:before {
            content: "\E80C";
        }

    .sub_nav ul.parent > li:first-of-type > a.show-more {
        top: 8px;
    }

        .sub_nav ul.parent > li:first-of-type > a.show-more:before {
            top: 18px;
        }

    .sub_nav li.current_parent {
        position: relative;
    }

        .sub_nav li.current_parent.opened {
            font-weight: bold;
        }

    .sub_nav li.opened li a {
        padding-left: 2em;
    }

    .sub_nav li.current > a:not(.show-more) {
        background: #e3e1df;
        border-left-color: #27769f;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
        color: #000000;
        font-weight: bold;
    }

    .sub_nav .secondLevel li.current:before {
        border: none;
    }

    .sub_nav li.current .child,
    .sub_nav li.opened .child {
        display: block;
    }

    .sub_nav li .child,
    .sub_nav li.current .child,
    .sub_nav li.opened .child {
        margin-left: 15px;
    }

        .sub_nav li .child li a {
            padding: 12.5px 22px 12.5px 26px;
            text-transform: none;
        }

    .sub_nav a:not(.show-more) {
        padding: 12.5px 22px;
    }

.no-js .sub_nav li.closed ul.child {
    display: block;
}

.js .sub_nav li.closed ul.child {
    display: none;
}

/* Tablet portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait), only screen and (min-width: 768px) {
    .sub_nav {
        display: block;
        margin: 0 1.592356688%;
        width: 30.815286624%;
    }
}

/* Tablet landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape), only screen and (min-width: 1024px) {
    .sub_nav {
        font-size: 16px;
        width: 25.815286624%;
    }
}

/* Large desktop up */
@media only screen and (min-width: 1280px) {
    .sub_nav {
        width: 21.815286624%;
    }
}
