.polaris {
    font-family: "bt-regular", Arial, sans-serif;
}
.header-items-container {
    box-shadow: -6px 7px 19px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    border-bottom: 1px solid #ddd;  
}
.hide,
.small-hide {
    display: none;
}
.gw:before,
.gw:after,
.grid-wrapper:before,
.grid-wrapper:after,
.polaris-l1:before,
.polaris-l1:after {
    content: ' ';
    display: table;
}
.gw:after,
.grid-wrapper:after,
.polaris-l1:after {
    clear: both;
}
.gw,
.grid-wrapper {
    margin: 0 auto;
}
.g,
.grid {
    float: left;
    padding: 8px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.polaris {
    padding: 0;
    position: relative;
}
.polaris a {
    text-decoration: none;
    color: #3C3C3B;
}
.polaris-l1 > li > div,
.polaris-l2 > li > div,
.polaris-l3 > li > div {
    display: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.polaris-l1 > li.polaris-selected > div,
.polaris-l2 > li.polaris-selected > div,
.polaris-l3 > li.polaris-selected > div {
    display: block;
}
.polaris-l1 > li > div {
    padding: 0;
    height: 43px;
    left: 0;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 999;
}
.polaris-l1 > li > a {
    display: block;
    float: left;
    padding: 18px 24px 17px 24px;
    text-align: center;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 19px;
    height: 58px;
}
.polaris-l1 > li.polaris-selected > a {
    margin-top: 0;
    background: #3b3c3a;
    color: white;
}
.polaris-l2 > li a {
    background: #3b3c3a;
    color: white;
    border-bottom: #f6f6f8 1px solid;
}
.polaris-l2 > li > a {
    font-size: 16px;
    line-height: 22px;
    border-bottom: #616161 1px solid;
}
.polaris-l2 .g {
    padding: 0;
}
.polaris-l2 > li > a,
.polaris-l3 > li > a {
    display: block;
    padding: 20px 20px 20px 15px;
}
.polaris-l3 > li > span {
    font-size: 18px;
    line-height: 21px;
}

.polaris-l2 > li > a:before {
    display: inline-block;
    transition: all .2s;
    content: '+ ';
    margin-right: 10px;
    font-size: 20px;
}

.polaris-l2 > li.polaris-selected > a:before {
    transform: rotate(45deg);
}

#your-accout-mobile .polaris-l2 > li.polaris-selected > a:before {
    transform: none;
}

.polaris-l3 > li > a {
    background: #FFF;
    color: #3b3c3a;
    font-size: 16px;
    line-height: 19px;
}
.polaris-l1,
.polaris-l2,
.polaris-l3 {
    list-style: none;
    margin: 0;
    padding: 0;
}
.polaris-l1 li,
.polaris-l2 li,
.polaris-l3 li {
    list-style: none;
    background: #FFF;
}
/*MOBILE*/

@media only screen and (max-width: 63.9375em) {
    .polaris {
        margin-bottom: 0 !important;
    }
    .menu-button i {
        width: 18px;
        height: 13px;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/main_nav_m_s_black_burger.png");
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/main_nav_m_s_black_burger.svg");
        display: inline-block;
        margin-right: 17px;
    }
    .polaris-selected .menu-button i {
        /*background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/main_nav_m_s_white_burger.png");*/
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/main_nav_m_s_white_burger.svg");
    }
    .polaris-l1 {
        float: right;
    }
    .polaris-l2 {
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px 2px 5px rgba(0, 0, 0, 0.1);
    }
    .polaris-l1 > li {
        list-style: none;
        /*border-right: solid 1px #E1E1E1;  */
        
        float: left;
    }
    .polaris-l1 > li,
    .polaris-l2 > li {
        border-right: solid 1px #E1E1E1;
    }
    .polaris-l2 > li {
        float: none !important;
    }
    .polaris-l1 {
        border-left: solid 1px #E1E1E1;
    }
    .polaris-l1 > li > div {
        left: -69px;
        top: 58px;
    }
    .polaris-l2 #your-accout a {
        border-radius: 0 0 4px 4px;
    }
    li#your-accout-mobile > a {
        padding-left: 55px;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-account-link.png") 19px 17px no-repeat;
    }
    li#your-accout-mobile.polaris-selected > a {
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-account-link-white.png") 19px 17px no-repeat;
    }
    li#your-accout-mobile.polaris-selected {
        background-color: #3b3c3a;
    }
    #business-home-small a {
        background: none;
        color: #3C3C3B;
    }
    #your-accout-mobile .polaris-l2 li > div {
        display: block !important;
    }
}
@media only screen and (max-width: 28em) {
    #business-home-small {
        display: none;
    }
}
@media only screen and (max-width: 22em) {
    .menu-button i {
        margin-right: 0;
    }
    .menu-button span {
        display: none;
    }
}
/*Desktop*/

@media only screen and (min-width: 64em) {
    .small-hide,
    .medium-hide {
        display: block !important;
    }
    .large-hide {
        display: none !important;
    }
    .gw,
    .grid-wrapper,
    .polaris {
        margin: 0 auto;
    }
    .polaris {
        
        z-index: 999;
        clear: both;
        margin-bottom: 47px;
        display: block;
    }
    .polaris .polaris-l1 > li.polaris-selected > div,
    .polaris .polaris-l2 > li.polaris-selected > div,
    .polaris .polaris-l3 > li.polaris-selected > div {
        display: block;
    }
    .polaris .polaris-l3 > li > div {
        display: block;
    }
    .polaris .polaris-l2 > li > input ~ div,
    .polaris .polaris-l2 > li > input:checked ~ div {
        display: none;
    }
    .polaris-l1 > li:first-child,
    .polaris-l1 > li > div {
        display: block;
    }
    .polaris-l1 > li > div {
        display: block;
    }
    .polaris-l2 {
        float: right;
    }
    .polaris-l2 > li {
        display: block;
        width: auto;
        float: left;
    }
    .polaris-l2 > li > a {
        display: block;
        float: left;
        padding: 12px 9px 12px 12px;
        text-align: center;
        width: 50%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 16px;
        line-height: 19px;
        line-height: 19px;
        width: 100%;
        background: white;
        color: #3b3c3a;
        border-bottom: none;
    }
    .polaris-l2 > li > a:hover {
        text-decoration: underline;
    }
    .polaris-l2 > li > a:after {
        float: right;
        padding: 0px 0 3px 6px;
    }


    .polaris-l2 li > a i {
        display: inline-block;
        width: 11px;
        height: 6px;
        margin-bottom: 2px;
        margin-left: 12px;
        background: url("../img/main_nav_l_chevron_dropdown_normal.png");
        background: url("../img/main_nav_l_chevron_dropdown_normal.svg");
    }

}

    .polaris-l3 > li > a i {
        display: inline-block;
        width: 5px;
        height: 10px;
        margin-left: 10px;
        background: url("../img/main_nav_l_chevron_link_normal.png");
        background: url("../img/main_nav_l_chevron_link_normal.svg");
    }

    .polaris-l2 li  div.columns {
        padding-left: 12px;
        padding-right: 12px;
    }


@media only screen and (min-width: 64em) {
    .polaris-l2 > li > a:before {
        display: none;
    }
    .polaris-l2 > li.polaris-selected > a {
        margin-top: 0;
    }
    .polaris-l2 > li.selected > a {
        margin-top: 0;
        background-color: #F6F6F8;
    }
    .polaris-l2 > li > div {
        position: absolute;
        width: auto;
        min-width: 200px;
        z-index: 999;
        top: 100%;
        padding: 0;
    }
    .polaris-l2 > li#your-accout > div {
        right: 0;
    }
    .polaris-l2 > li > div > .gw {
        background: #FFF;
        padding: 0 0 12px 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        border: 1px solid #CCC;
        border-top: none;
        border-bottom: 2px solid #32205A;
    }
    .polaris-l2 > li > div > .gw .g {
        padding: 0 8px 8px 8px;
        *padding: 0;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .no-boxshadow .polaris-l2 > li > div > .gw {
        border: 1px solid #E2E2E2;
        border-top: 0;
    }
    .g > div > ul:first-child > li {
        padding-top: 10px;
    }
    .polaris-l3 {
        padding: 0 6px;
    }
    .polaris-l3 > li {
        padding-top: 15px;
    }
    .polaris-l3 > li > a {
        font-size: 16px;
        line-height: 21px;
    }
/*    .polaris-l3 > li > a:first-child i {
        font-size: 11px;
    }*/
    .polaris-l3 > li > a,
    .phoneline-packages .first-child a {
        border: 0;
        transition-property: all;
        transition-duration: 0.2s;
        position: relative;
        padding: 0 2px 0 13px;
        *padding: 0 2px 2px 13px;
    }
    .polaris-l3 > li > a.polaris-static-title:hover {
        text-decoration: none;
    }
    .polaris-l3 > li > a:hover {
        text-decoration: underline;
    }
    .polaris-l3 > li > a:before,
    .polaris-l3 > li > a:after {
        display: none;
    }
}
@media print {
    .polaris {
        display: none;
        visibility: hidden;
    }
}
/* NEW STYLES FOR POLARIS - WEBSITE REDESIGN JAN 2016 */

.bannersearch {
    display: none;
}
@media only screen and (max-width: 63.9375em) {
    .logo-container img {
        display: block;
        margin: 12px 20px;
        max-width: none;
    }
    .C001-masthead {
        background: #FFF;
        display: block;
    }
    li.business-search {
        padding-left: 10px;
        padding-right: 10px;
    }
    li.business-search a {
        height: 58px;
    }
    li.business-search a:link,
    li.business-search a:visited,
    li.business-search a:active {
        font-size: 0;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-search-link.png") center center no-repeat;
    }
    li.business-search a:hover {
        font-size: 0;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-search-hover.png") center center no-repeat;
    }
    li.business-search a:after {
        display: none;
    }
}
/*tablet*/

@media only screen and (min-width: 40em) {
    /* MASTHEAD */
    
    .masthead-wrap {
        box-shadow: inset 0px 40px 0px 0px #ddd, -6px 7px 19px -6px rgba(0, 0, 0, 0.1);
        background: #FFF;
    }
    .C001-masthead {
        border-bottom: 0;
        box-shadow: inset 0px 40px 0px 0px #ddd, -6px 7px 19px -6px rgba(0, 0, 0, 0.1);
        background: #FFF;
        display: block;
    }
    .masthead div.row > div.columns:first-child {
        height: 40px;
    }
    .logo-container img {
        display: block;
        margin: 15px 25px 15px 25px;
    }
    /* BTNAV */
    
    .btnav {
        border: 0 !important;
        height: 40px;
        border-top: 1px solid #ddd !important;
        border-bottom: 1px solid #ccc;
        border-radius: 0 !important;
        background: #ddd !important;
        font-family: "bt-regular", tahoma, sans-serif;
        margin-top: 0;
    }
    .btnav a {
        float: left !important;
        font-size: 14px;
        padding: 13px 15px 13px 10px;
        text-decoration: none !important;
        line-height: 14px;
    }
    .btnav li a:link,
    .btnav li a:visited,
    .btnav li a:active {
        border: none;
        height: 30px;
        color: #333 !important;
        border-radius: 0;
    }
    .btnav li {
        list-style: none;
    }
    .btnav li a:hover {
        text-decoration: underline !important;
    }
    .btnav li.selected a {
        text-decoration: underline !important;
    }
    .btnav li.selected a:hover {
        
    }
    /* NAV */
    
    .polaris-l2 > li > div > .gw {
        border: 1px solid #E1E1E1;
        border-top: none;
    }
    .polaris-l2 > li.active {
        box-shadow: inset 0px -3px 0px 0px #55379b;
    }
    .polaris-l2 > li:after {
        float: right;
        padding: 0px 0 3px 8px;
    }
    .polaris-l2 > li > a {
        padding: 18px 24px 17px 24px;
    }
    .polaris-l2 > li > div {
        margin-left: -1px;
    }
    .polaris-l2 > li#your-accout > div {
        right: 15px;
    }
    .polaris-l3 > li > a:hover {
        color: #55379b;
        text-decoration: underline;
    }
/*    .polaris-l3 > li > a i {
        margin-left: 10px;
        position: static;
    }*/
    .polaris-l3 > li:not(:last-child) > a {
        border-bottom: solid 1px #e1e1e1;
        padding-bottom: 16px;
    }
    li.business-search {
        padding-left: 10px;
        padding-right: 10px;
    }
    li.business-search a {
        height: 58px;
    }
    li.business-search a:link,
    li.business-search a:visited,
    li.business-search a:active {
        font-size: 0;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-search-link.png") center center no-repeat;
    }
    li.business-search a:hover {
        font-size: 0;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-search-hover.png") center center no-repeat;
    }
    li.business-search a:after {
        display: none;
    }
}
/*desktop*/

@media only screen and (min-width: 64em) {
    .gw {
        margin-top: 15px;
    }
    li#your-accout {
        padding-left: 20px;
    }
    li#your-accout > a:link,
    li#your-accout > a:visited,
    li#your-accout > a:hover,
    li#your-accout > a:active {
        padding-left: 30px;
        background: url("https://btbsecure.business.bt.com/CommonContent/v3/img/polaris-account-link.png") left center no-repeat;
    }
    .polaris-l2 > li > a:hover {
        color: #55379b;
    }
    .polaris-l2 > li {
        height: 58px;
        border-left: solid 1px #E1E1E1;
    }
    .polaris-l2 > li > div {
        min-width: 246px;
    }
    .polaris-l2 > li > div > .gw {
        border-bottom: none;
        border-bottom-left-radius: 7px !important;
        border-bottom-right-radius: 7px !important;
        box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.1), -2px 3px 5px rgba(0, 0, 0, 0.1) !important;
    }
    .polaris-l2 {
        margin-right: 15px;
        border-right: solid 1px #E1E1E1;
    }
    .polaris-l3 > li:last-child > a {
        padding-bottom: 5px;
    }
}