@font-face {
    font-family: BrowserAssets;
    src: url(/content/BroMDL2.1.28.ttf);
    src: url(/content/BroMDL2.1.28.woff);
}

@font-face {
    font-family: SegoeMDL2;
    src: url(/content/SegMDL2.1.39.ttf);
    src: url(/content/SegMDL2.1.39.woff);
}

@font-face {
    font-family: BandMDL2;
    src: url(/content/BandMDL2.1.41.ttf);
    src: url(/content/BandMDL2.1.41.woff);
}

html, body { height: 100%; }

body { margin: 0; }

/* Read-only styles */
.disabled.btn,
[disabled].btn,
button.disabled,
button[disabled],
fieldset[disabled] .btn,
fieldset[disabled] button,
fieldset[disabled] input[type=button],
fieldset[disabled] input[type=reset],
fieldset[disabled] input[type=submit],
input[type=button].disabled,
input[type=button][disabled],
input[type=reset].disabled,
input[type=reset][disabled],
input[type=submit].disabled,
input[type=submit][disabled],
input[type=text][disabled],
input[disabled],
select[disabled],
fieldset[disabled],
textarea[disabled],
button[disabled],
input[type="button"][disabled] {
    color: rgba(0,0,0,.6) !important;
    cursor: not-allowed !important;
}

#contentWrapper, #contentWrapper.container { 
    padding-bottom: 160px;
    margin: 0 auto; 
    box-sizing: border-box;
    min-height: calc(100% - 110px);
}

#previewForBuild { 
    position: absolute; 
    top: 118px;
    color: #999999;
    font-size: 23px;
    font-weight: 300;
    padding: 6px 8px 5px 8px;
    background-color: rgba(255,255,255,0.90);
    left: calc(50% + 510px);
    line-height: 19px;
}

#previewForBuild span { font-size: 12px; font-weight: normal; display: block; }

#insiderProgramBadge {
    position: absolute;
    top: 125px;
    color: #999999;
    font-size: 14px;
    right: calc(50% - 720px);
    background-color: #ffffff;
    padding: 3px 5px;
    border-radius: 3px;
    border: solid 1px #E6E6E6;
}

.clear {clear: both;}

.shell-footer h4 { line-height: 1.1rem; }

/*** ADA ***/

#firstRun { background-color: rgba(255,255,255,0.75);}

#firstRun .modal-body {
    overflow: auto;
    max-height: 220px;    
}
#firstRun.modal .btn { width: auto; }

/*** Icons ***/

.icon-win-Notification:before { 
    font-family: SegoeMDL2; 
    content: "\E91C";
    display: inline-block;
}
.icon-win-NotificationActive:before { 
    font-family: SegoeMDL2; 
    content: "\E7E7";
    display: inline-block;
}
.icon-pin:before {
    font-family: SegoeMDL2; 
    content: "\E718";
}
.icon-unpin:before {
    font-family: SegoeMDL2; 
    content: "\E196";
}
.icon-Facebook:before {
    font-family: BandMDL2; 
    content: "\ECB3";
    color: #3B5998;
}
.icon-win-Settings:before {
    font-family: BrowserAssets; 
    content: "\E713";
    display: inline-block;
}

/*** Feedback Dialog ***/

#feedbackDialog.modal { position: absolute; overflow: visible; }
#feedbackDialog.modal .modal-dialog { z-index: 1040; }
.overlay { 
    position: fixed;  
    background-color: rgba(255,255,255,0.75); 
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1039;
}

#feedbackEntry {
    position: fixed;
    bottom: 0px;
    right: 20px;
    background-color: #f2f2f2;
    border-top: solid 1px #999;
    border-left: solid 1px #999;
    border-right: solid 1px #999;
    color: #36b;
    cursor: pointer;
    padding: 0 10px 2px 10px;
    line-height: 22px;
    text-align: center;
    font-size: 14px;
}
#feedbackEntry:focus {
    border-top-color: #36b;
    border-left-color: #36b;
    border-right-color: #36b;
}
.icon-win-TypedNoteFill:before { 
    font-family: BrowserAssets; 
    content: "\E98D";
    display: inline-block;
    padding-right: 10px;
    position: relative;
    top: 3px;
}
#feedbackDialog h2, #npsFeedback h2 { color: #0078d7; margin-bottom: 12px; }
#feedbackDialog .radio { display: inline-block; margin-right: 1em; }
#feedbackDialog .form-group { margin-top: 24px; }

#npsFeedback .radio { width: 20%; margin-top: 5px; margin-bottom: 0px; text-align: center; }
#npsFeedback .radio label span:before { left: calc(50% - 18px); }
#npsFeedback .ratingLabel { font-size: 12px; color: #898989; text-align: center; }

/*** Service Outage Notifications ***/

#serviceOutage .alert { margin: 0px auto; padding: 12px 0px; min-height: auto; line-height: normal; }
#serviceOutage .alert.alert-warning { color: #000000; }
#serviceOutage .win-icon-IncidentTriangle { position: relative; top: 2px; color: #c50500; vertical-align: top; margin-right: 1em; }
#serviceOutage td { padding-bottom: 10px; }
#serviceOutage tr:last-child td { padding: 0px; }

/*** Set Footer styles to not wrap ***/
#headerWrapper, #footerWrapper { line-height: 0px; }
.shell-header-wrapper, .shell-footer-wrapper, .shell-category-nav{ max-width: 1440px !important; }
.container { max-width: 1440px !important; }

/*** Notifications Gleam ***/
#gleam { position: absolute; top: -72px; left: calc(50% + 648px); z-index: 1002; }
#accountId { display: none; }
#notificationEntry { 
    cursor: pointer; 
    display: block;
    position: relative; 
    height: 72px; 
    width: 72px;
    text-align: center;
    color: #FFFFFF;
    border-top: solid 1px transparent;
    border-left: solid 1px transparent;
    border-right: solid 1px transparent;
}
#notificationEntry:focus { background-color: #006cc1; }
#notificationEntry:hover, #notificationEntry.opened { background-color: #FFFFFF; color: #0079d4; border-top: solid 1px #cccccc; border-right: solid 1px #cccccc; }
#notificationIcon {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#notificationIcon .hasNotifications { 
    background-color: #c50500; 
    color: #ffffff; 
    border-radius: 50%;
    height: 17px; 
    width: 17px; 
    position: absolute;
    top: 15px;
    right: 17px;
    font-size: 11px;
}
.hasNotifications span { 
    position: relative; 
    top: 8px;
    height: 17px;
    width: 17px;
    text-align: center;
}
#notificationIcon span.icon-win-Notification, #notificationIcon span.icon-win-NotificationActive { 
    display: block; 
    text-align: center; 
    font-size: 16px; 
    padding-top: 35px;
}

.notificationList { 
    position: absolute;
    top: 100%;
    right: 0px;
    background-color: #FFFFFF;
    width: 470px;
    margin: 0px; 
    color: #000000;
    line-height: 1.5em;
    display: none;
    border-left: solid 1px #cccccc;
    border-right: solid 1px #cccccc;
    border-bottom: solid 3px #0079d4;
}
.notificationList a, ul.notificationList a:link, ul.notificationList a { 
    color: #000000; 
    display: block;
    padding: 20px 60px 20px 8px;
}
.notificationList .notificationHead { border-bottom: solid 2px #cccccc; color: #0079d4; padding: 8px 20px; }
.notificationList .notificationHead a:hover { text-decoration: underline; }

.notificationRemove { 
    position: absolute; 
    top: 0px; 
    left: 0px; 
    background-color: #ffffff; 
    color: #000000;
    padding: 10px 20px; 
    text-align: center; 
    width: 100%;
    height: 100%;
    cursor: default;
}
.notificationRemove .notificationFeedback { margin: 0 auto; }
.notificationRemove a { padding: 0px 20px 0px 0px; display: inline-block; color: #0079d4; cursor: pointer; }
.notificationRemove .notificationThanks{
    animation:notificationThanks 0.5s 1;
    -webkit-animation:notificationThanks 0.5s 1;
    animation-fill-mode: forwards;

    animation-delay:2s;
    -webkit-animation-delay:1s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-delay:1s; 
    -moz-animation-fill-mode: forwards;
    -ms-animation-delay:1s; 
    -ms-animation-fill-mode: forwards;
}
@keyframes notificationThanks{
    from {opacity :1;}
    to {opacity :0;}
}

@-webkit-keyframes notificationThanks{
    from {opacity :1;}
    to {opacity :0;}
}

.notificationList ul { margin: 0px; padding: 0px; overflow: auto; }
.notificationList li:last-child { border-bottom: none; }

li.singleNotification { 
    position: relative; 
    display: table; 
    width: 100%; 
    margin: 0px; 
    border-bottom: solid 1px #cccccc; 
}
li.singleNotification a:focus .notificationMessage { outline: 1px dotted; }
li.singleNotification.unread { background-color: #f2f2f2; }
li.singleNotification .notificationType { display: table-cell; vertical-align: middle; width: 40px; font-size: 24px; }
li.singleNotification .notificationType .win-icon-Warning { color: #c50500; }
li.singleNotification .notificationType .win-icon-Flag { color: #f84e29; }
li.singleNotification .notificationType .win-icon-Info { color: #3076bc; }
li.singleNotification .notificationMessage { display: table-cell; vertical-align: middle; }

li.singleNotification .notificationDismissal { 
    position: absolute; 
    top: calc(50% - 10px); 
    right: 20px; 
    width: 40px; 
    text-align: right; 
    font-size: 20px; 
    cursor: pointer; 
}
li.singleNotification .notificationDismissal a { padding: 0px; }
li.singleNotification:hover .notificationDismissal a { text-decoration: none; }

li.singleNotification:hover { background-color: #0079d4; color: #ffffff; }
li.singleNotification:hover a { color: #FFFFFF; }
li.singleNotification:hover .notificationRemove a { color: #0079d4; text-decoration: none; }
li.singleNotification:hover .notificationRemove a:hover { text-decoration: underline; }
li.singleNotification:hover .notificationType .win-icon-Warning { color: #ffffff; }
li.singleNotification:hover .notificationType .win-icon-Flag { color: #ffffff; }
li.singleNotification:hover .notificationType .win-icon-Info { color: #ffffff; }

@media (max-width: 1635px) {
    #gleam { left: auto; right: 5%; }
    #insiderProgramBadge { right: 5%; }
}

@media (max-width: 1475px) {
     #gleam { left: auto; right: 0px; }
     #insiderProgramBadge { right: 5px; }
}

@media (max-width: 1399px) {
    .leftMenu { padding-top: 57px; }
}

@media (max-width: 898px) {
    #contentWrapper, #contentWrapper.container { width: auto; }
    #gleam { right: 150px; }
    #notificationEntry { height: 48px; width: 44px; border-top: none; border-right: none; color: #7f7f7f; }
    #notificationEntry:focus { background-color: #F2F2F2; border-top: none; border-right: none; }
    #notificationEntry:hover { background-color: #F2F2F2; border-top: none; border-right: none; }
    #notificationEntry.opened { background-color: #F2F2F2; border-top: none; border-right: none; }
    .notificationList { background-color: #F2F2F2 }
    #notificationIcon span.icon-win-Notification, #notificationIcon span.icon-win-NotificationActive { padding-top: 27px; }
    #notificationIcon .hasNotifications { top: 8px; right: 5px; }
    li.singleNotification.unread { background-color: #e2e2e2; }
    li.singleNotification:hover { background-color: #0079d4; color: #ffffff; }
    #insiderProgramBadge { top: 63px; right: 10px; color: #ffffff; z-index: 999; font-size: 12px; background-color: transparent; border: 0px; padding: 0px; border-radius: 0px; }
}

@media (max-height: 760px) {
    #feedbackDialog .overlay { background-color: #ffffff; position:absolute; }
    #feedbackDialog.modal .modal-dialog { margin: 0px auto; border: none; }
    #feedbackDialog.modal .modal-content { position: absolute; top: 0px; left: 0px; border: solid 2px #0078d7; }
}

@media (max-width: 636px) {
    .notificationList {
        position: absolute;
        right: calc(0vw - 154px);
        top: 48px;
        width: 98vw;
        border-left: none;
        border-right: none;
        border-top: none;
    }
}

@media (max-width: 539px) {
    #gleam { right: 89px; }
    .notificationList { width: 97vw; right: calc(0vw - 89px);}
}

@media (max-width: 435px) {
    .notificationList { width: 96vw; }
}