/* 
    ATTENTION: Please avoid putting new CSS rules here and instead:
    - customize individual (bootstrap) components and place files into  ~\wwwroot\scss\components
    - customize individual views/pages and place files into  ~\wwwroot\scss\views
    Then register your files in ~\wwwroot\scss\custom.scss to include them in the global site.css
*/



:root,
html[data-theme='light'] {
    /* Backgrounds */
    --body-bg-main: #ffffff;
    --bg-grey-blog-events: #FAF9F8;
    --bg-card: #ffffff;
    --bg-accordion-btn: #ffffff;
    --bg-form-control: #ffffff;
    --video-hero-mask-bg: rgb(238, 238, 238);
    --video-hero-mask: linear-gradient(180deg, rgba(238, 238, 238, 0) 70%, rgba(238, 238, 238, 1) 100%);
    --theme-toggle-bg: #f2f2f2;
    /* Background Images */
    --home-bg: url("/_devcom/images/bg-home-light.png");
    --card-learn: url("/_devcom/images/card-learn-bg-light.png");
    --card-tools: url("/_devcom/images/card-tools-bg-light.png");
    --card-resources: url("/_devcom/images/card-resources-bg-light.png");
    /* Type */
    --type-primary: #323130;
    --type-secondary: #605E5C;
    --type-disabled: #A19F9D;
    /* Dividers & Borders */
    --body-divider: #EDEBE9;
    --input-border: #8A8886;
    --input-hover-border: #323130;
    --video-border-bottom: 0px solid #ebebeb;
    --form-control-border: #8A8886;
    --form-control-border-hover: #201F1E;
    /* Theme */
    --theme-primary: #0078D4;
    --theme-lighter-alt: #EFF6FC;
    --theme-lighter: #DEECF9;
    --theme-light: #C7E0F4;
    --theme-tertiary: #2B88D8;
    --theme-dark-alt: #106EBE;
    --theme-dark: #005A9E;
    --theme-darker: #004578;
    /*    Errors & Status*/
    --status-error: #A80000;
    --status-success: #107C10;
    /* Overlays */
    --overlay-light: #FFFFFF66;
    --overlay-dark: #00000066;
    /* Greys */
    --white: #ffffff;
    --grey10: #FAF9F8;
    --grey20: #F3F2F1;
    --grey30: #EDEBE9;
    --grey40: #E1DFDD;
    --grey50: #D2D0CE;
    --grey60: #C8C6C4;
    --grey90: #A19F9D;
    --grey110: #8A8886;
    --grey130: #605E5C;
    --grey150: #3B3A39;
    --grey160: #323130;
    --grey190: #201F1E;
    /* Card Box Shadows */
    --depth-4: 0px 0.3px 0.9px rgba(0, 0, 0, 0.1), 0px 1.6px 3.6px rgba(0, 0, 0, 0.13);
    --depth-8: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);
    --depth-16: 0px 1.2px 3.6px rgba(0, 0, 0, 0.1), 0px 6.4px 14.4px rgba(0, 0, 0, 0.13);
    --depth-64: 0px 4.8px 14.4px rgba(0, 0, 0, 0.18), 0px 25.6px 57.6px rgba(0, 0, 0, 0.22);
    /* Font Stack */
    --segoe-ui: Segoe UI, SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* Icons*/
    --accordion-icon: url("/_devcom/images/accordion-icon-light.svg");
    --accordion-icon-active: url("/_devcom/images/accordion-icon-active.svg");
}


html[data-theme='dark'] {
    /* Backgrounds */
    --body-bg-main: #151515;
    --bg-grey-blog-events: #151515;
    --bg-card: #292929;
    --bg-accordion-btn: #292929;
    --bg-form-control: #292929;
    --video-hero-mask-bg: rgb(21, 21, 21);
    --video-hero-mask: linear-gradient(180deg, rgba(21, 21, 21, 0) 70%, rgba(21, 21, 21, 1) 100%);
    --theme-toggle-bg: #151515;
    /* Type */
    --type-primary: #ffffff;
    --type-secondary: #F3F2F1;
    --type-disabled: #A19F9D;
    /* Dividers & Borders */
    --body-divider: #EDEBE9;
    --input-border: #8A8886;
    --input-hover-border: #323130;
    --video-border-bottom: 0px solid #151515;
    --form-control-border: #8A8886;
    --form-control-border-hover: #F3F2F1;
    /* Background Images */
    --home-bg: url("/_devcom/images/bg-home-dark.png");
    --card-learn: url("/_devcom/images/card-learn-bg-dark.png");
    --card-tools: url("/_devcom/images/card-tools-bg-dark.png");
    --card-resources: url("/_devcom/images/card-resources-bg-dark.png");
    /* Theme */
    --theme-dark-alt: #479EF5;
    /* Icons*/
    --accordion-icon: url("/_devcom/images/accordion-icon-dark.svg");
    --accordion-icon-active: url("/_devcom/images/accordion-icon-active.svg");
}

/* A11y contrast pass = primary over white or theme-dark-alt over grey20  */

/* HTML & Body */


html {
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    background: var(--body-bg-main);
    font-family: Segoe UI, SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5rem;
    color: var(--type-primary);
    font-size: 1rem;
}

.body-bg-bottom {
    background-image: var(--home-bg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-grey {
    background-color: var(--grey10);
}

.bg-grey-blogs-events {
    background-color: var(--bg-grey-blog-events);
}

.bg-light-grey {
    background-color: var(--grey10);
}

.bg-blue-light-alt {
    background-color: var(--theme-lighter-alt);
}

.bg-blue-light {
    background-color: var(--theme-dark);
}

.bg-blue-darker {
    background-color: var(--theme-darker);
}

.status-error {
    color: var(--status-error);
}

.bg-blogs-events {
    background-color: var(--grey10);
}

/* Type */

p {
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.greeting-title,
.page-title,
.pane-header,
.header,
.subject-title {
    margin: 0 0 1rem 0;
    font-family: Segoe UI, SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

h1,
#hero h2 {
    font-size: 2.625rem;
    line-height: 3.25rem;
}

h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 2.25rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

h5 {
    font-size: 1.125rem;
    line-height: 1.5rem;
}

h6 {
    font-size: 1rem;
    line-height: 1.375rem;
}

.hero-title {
    font-size: 2.625rem;
    line-height: 3.25rem;
}

.greeting-title {
    font-size: 2rem;
    line-height: 2.5rem;
}

.page-title {
    font-size: 1.75rem;
    line-height: 2.25rem;
}

.pane-header {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.header {
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.subject-title {
    font-size: 1rem;
    line-height: 1.375rem;
}

small,
.text_small {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-caps {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .175rem;
    text-transform: uppercase;
}

.fw-600 {
    font-weight: 600;
}

/* Links */
a {
    color: var(--theme-dark-alt);
    transition: all 200ms ease-in-out;
    text-decoration: underline;
    font-weight: 600;
}

a:hover {
    color: var(--theme-dark-alt);
}

a:visited {
    color: var(--theme-dark-alt);
}

.hero a:visited {
    color: white;
}

a.cardLink {
    color: var(--type-primary);
    text-decoration: none;
    font-weight: 400;
}

a.card-title {
    color: var(--theme-dark-alt);
    transition: all 200ms ease-in-out;
    text-decoration: none;
    font-weight: 600;
}

a.card-title:hover {
    color: var(--theme-dark-alt);
    text-decoration: underline;
}

a.card-title:visited {
    color: var(--theme-primary);
}

a.social {
    color: var(--type-primary);
    text-decoration: none;
}

a.social:hover {
    color: var(--type-primary);
}

a.social:visited {
    color: var(--type-primary);
}

/* Hero */

.hero {
    background-color: transparent;
    min-height: 449px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: justify-content .25s linear;
}

.hero-dev-home {
    background-image: url("/_devcom/images/hero-dev-home.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Cards */

.card {
    background: var(--bg-card);
    box-shadow: var(--depth-4);
    border-radius: 12px;
    border: 0;
    transition: box-shadow 200ms ease-in-out;
}

.card:hover {
    box-shadow: var(--depth-16);
    border: 0;
}

.card-header {
    padding: 0;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 0px solid rgba(0, 0, 0, 0);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-body {
    padding: 1.5rem;

    /* Workaround for v5.3.3 bug: https://github.com/twbs/bootstrap/issues/38852 */
    color: var(--type-primary)
}

.card-footer,
.card-footer:last-child {
    padding: 1.5rem;
    color: var(--bs-card-cap-color);
    background-color: var(--bg-card);
    border-top: 0;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-img-bottom {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.border-radius-24 {
    border-radius: 24px;
}

.card-bg-grey {
    background-color: #f2f2f2;
}

.scrolling-wrapper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

/* Card Images */

.learn-card.lazyloaded {
    background-image: var(--card-learn);
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.tools-card.lazyloaded {
    background-image: var(--card-tools);
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.resources-card.lazyloaded {
    background-image: var(--card-resources);
    background-position: right bottom;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.banner-card.lazyloaded {
    background-position: 15% center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 24px;
    background-color: var(--grey190);
    padding-left: 3.625rem !important;
}

.home-three-column-card-height {
    min-height: 242px;
    transition: all 200ms ease-in-out;
}

/* Buttons */

.btn:focus {
    box-shadow: 0 0 0 0px rgb(0 0 0);
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 200ms ease-in-out;
}

.btn:hover {
    text-decoration: underline;
}

.btn-primary {
    color: white;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    padding: 8px 20px;
    position: relative;
    border: 2px solid transparent;
    outline: 1px solid transparent;
    outline-offset: -3px;
    max-width: fit-content;
    display: inline-flex;
    overflow: hidden;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 4px 8px 0 transparent;
}

.btn-primary:hover,
.btn-primary:active {
    color: white;
    background-color: var(--theme-dark);
    border-color: var(--theme-dark);
    text-decoration: none;
}

.btn-outline-light:hover,
.btn-outline-light:active,
.btn-outline-light:focus-visible,
.btn-outline-light:focus {
    background-color: inherit;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: white;
    background-color: var(--theme-dark);
    border-color: var(--theme-dark);
    box-shadow: 0 0 0 0px rgb(0 0 0);
}

.btn-primary:focus,
.btn-primary:active:focus {
    color: white;
    background-color: var(--theme-dark);
    border-color: var(--theme-dark);
    box-shadow: 0 0 0 0px rgb(0 0 0);
    outline: 0.1875rem dotted;
    outline-offset: -0.375rem;
}

.btn-light:focus,
.btn-light:active:focus {
    border-color: var(--theme-dark);
    outline: 0.1875rem dotted;
    outline-offset: -0.375rem;
}

.btn-outline-light:focus,
.btn-outline-light:active:focus {
    border-color: var(--theme-dark);
    outline: 0.1875rem dotted;
    outline-offset: -0.375rem;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0rem rgb(38 143 255 / 50%);
}

.btn-primary:visited {
    color: white;
}

.btn-link {
    border-radius: 0;
    padding: 8px 0;
    color: var(--theme-dark-alt);
    text-decoration: none;
    max-width: fit-content;
    display: inline-flex;
    text-align: left;
}

.btn-link:after {
    content: url(/_devcom/images/chevron-blue.svg);
    margin-left: .5rem;
    margin-right: .5rem;
    transition: all 200ms ease-in-out;
}

.btn-link:hover {
    color: var(--theme-dark-alt);
}

.btn-link:hover::after {
    content: url(/_devcom/images/chevron-blue.svg);
    margin-left: .75rem;
}

.btn-link:focus {
    color: var(--theme-dark-alt);
    outline: 0.1875rem dotted currentColor;
}

/* Form */

label {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: .5rem;
}

legend {
    margin-bottom: 0rem;
    font-size: 1rem;
    font-weight: 600;
}

.danger {
    color: var(--status-error);
}

.required-label {
    color: var(--status-error);
    font-size: 1.125rem;
    font-weight: 600;
}

.required-field {
    color: var(--type-primary);
}

.required-field::after {
    content: '*';
    color: var(--status-error);
    margin-left: .25rem;
    font-size: 1.125rem;
}

input.req+span::after,
select.req+span::after {
    display: inline-block;
    content: "*";
    color: var(--type-primary);
    font-size: 19px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 0;
}

.form-control {
    font-size: 1rem;
    color: var(--type-secondary);
    background-color: var(--bg-form-control);
    border: 1px solid var(--form-control-border);
    transition: all 200ms ease-in-out;
}

.form-control:hover {
    color: var(--type-secondary);
    background-color: var(--bg-form-control);
    border: 1px solid var(--form-control-border-hover);
    box-shadow: 0 0 0 0rem rgb(0 123 255 / 25%);
}

.form-control:focus {
    color: var(--type-secondary);
    background-color: var(--bg-form-control);
    border: 1px solid var(--theme-primary);
    box-shadow: 0 0 0 1px var(--theme-primary);
}

.form-control:invalid {
    color: var(--grey190);
    background-color: var(--bg-form-control);
    border: 2px solid var(--status-error);
    box-shadow: 0 0 0 0rem rgb(0 123 255 / 25%);
}

.form-control-lg {
    padding: 1rem;
}

.form-text {
    color: var(--type-primary);
}




.form-check-input {
    margin-top: 0;
}

.form-check-input:checked[type=radio] {
    background-image: none;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10%;
    min-width: 1.25rem;
    height: 1.25rem;
    border: 1px solid var(--grey190);
    transition: all 200ms ease-out;
    margin-right: 1rem;
    background-color: white;
    position: relative;
}

input[type="checkbox"]:checked {
    border: 1px solid var(--theme-primary);
    background-color: var(--theme-primary);
    outline: 3.5px solid white;
    outline-offset: -4.5px;
}

.form-check-input:checked[type=checkbox] {
    background-image: none;
}

input[type="checkbox"]:hover {
    border: 1px solid var(--grey190);
    background-color: var(--grey190);
    outline: 3.5px solid white;
    outline-offset: -4.5px;
}


.form-check-input:focus {
    box-shadow: 0 0 0 0rem rgb(13 110 253 / 0%);
    margin-top: 0;
    filter: brightness(100%);
    outline: 3.5px solid white;
    outline-offset: -4.5px;
}

input[type="checkbox"]:focus::after {
    content: '';
    position: absolute;
    outline: 2px dotted var(--input-border);
    width: 1.5rem;
    height: 1.5rem;
    left: -0.140625rem;
    top: -0.171875rem;
    border-radius: 10%;
}

.input-validation-error {
    color: var(--grey190);
    background-color: #fff;
    border: 2px solid var(--status-error);
    box-shadow: 0 0 0 0rem rgb(0 123 255 / 25%);
}

.field-validation-error {
    padding-top: .5rem;
}


.break {
    opacity: 1;
}

.break::after {
    content: '\a';
    white-space: pre;
}


/*Accordions*/

.accordion-button {
    font-size: 1.25rem;
    color: var(--type-primary);
    background-color: var(--bg-accordion-btn);
    font-weight: 600;

}

.accordion-button::after {
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-left: auto;
    content: "";
    background-image: var(--accordion-icon);
    background-repeat: no-repeat;
    background-size: var(--bs-accordion-btn-icon-width);
    transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--bs-accordion-btn-focus-border-color);
    box-shadow: 0 0 0 2px var(--theme-primary);
    outline: 0;
}

.accordion-button:not(.collapsed) {
    color: var(--theme-primary);
    background-color: var(--bg-accordion-btn);
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--accordion-icon-active);
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-body {
    background-color: var(--bg-accordion-btn);
}

.accordion-item {
    color: var(--type-primary);
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}


/*Cards*/

.blog-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.event-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* Pagination */

.skip-link {
    /* not including a focus style for this */
    white-space: nowrap;
    margin: 1em auto;
    top: 0;
    position: fixed;
    left: 50%;
    margin-left: -72px;
    opacity: 0;
}

.pagination {
    --bs-pagination-border-width: 0px;
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.25rem;
    cursor: pointer;
}

.page-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--type-primary);
    text-decoration: none;
    background-color: transparent;
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.page-link:hover {
    color: var(--theme-primary);
    background-color: transparent;
    border-color: transparent;
    text-decoration: underline;
}

.page-link:focus {
    background-color: transparent;
    box-shadow: 0 0 0 0rem rgb(0 123 255 / 25%);
    border: 0;
    border-radius: 8px;
    outline: 0.1875rem dotted;
    outline-offset: -0.25rem;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: white;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    border-radius: 8px;
}


.page-item:first-child .page-link {
    color: var(--theme-primary);
    text-decoration: none;
    border-radius: 8px;
}

.page-item:last-child .page-link {
    color: var(--theme-primary);
    text-decoration: none;
    border-radius: 8px;
}

/*404*/

.four-o-four {
    background-color: var(--bg-grey-blog-events);
    min-height: calc(100vh - 126px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-grey-light {
    background-color: #f2f2f2;
}

/* Video */

.background-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.video-hero {
    position: relative;
    overflow: hidden;
    min-height: 449px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: var(--video-border-bottom);
    /*    transition: all .25s linear;*/
    z-index: 2;
}

.video-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    background: var(--video-hero-mask-bg);
    background: var(--video-hero-mask);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-video-content {
    position: relative;
    z-index: 1;
}

video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*Theme Toggle*/

.theme-toggle-bg {
    background-color: #f2f2f2;
}

/* Misc Adjustments */

.azure-static-icon-height {
    margin-top: 14px;
    transition: all 200ms ease-in-out;
}

.locale-page-height {
    min-height: calc(100vh - 126px);
}

/* Media Queries */

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1230px;
    }
}

@media (max-width: 576px) {
    .home-hero-mobile {
        padding-top: 5rem;
    }

    .padding-x-collapse {
        padding-left: 0px;
        padding-right: 0px;
    }

    .padding-end-collapse {
        padding-right: 0px;
    }

    .border-radius-collapse {
        border-radius: 0px !important;
    }

    .scroll-row {
        flex-wrap: unset;
        overflow-x: scroll;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        padding-bottom: 1rem;
    }

    .body,
    html {
        overflow-x: hidden;
    }

    .home-three-column-card-height {
        min-height: 0;
    }

    .banner-card.lazyloaded {
        background-position: center center;
        min-height: 480px;
        padding-left: 1.5rem !important;
    }

    .banner-card-mobile {
        justify-content: start;
    }

    .azure-static-icon-height {
        margin-top: 0px;
    }
}


@media (forced-colors: active) {

    li.active>a.page-link:focus,
    li.active>a.page-link {
        outline: 0.1875rem solid;
        outline-offset: -0.25rem;
    }

    .btn-link {
        border: 0;
    }

    .accordion-icon-high-contrast {
        fill: LinkText;
    }

    .accordion-button::after {
        content: "";
        background-image: url("/_devcom/images/accordion-icon-high-contrast.svg");
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("/_devcom/images/accordion-icon-high-contrast.svg");
        transform: var(--bs-accordion-btn-icon-transform);
    }
}

@media (max-width: 767px) {
    .video-hero {
        justify-content: end;
    }
}
