/* Typography 
--------------------------------------------- */

/* Add spacing only when H1 is somewhere inside #main */
main#main_content h1:first-of-type {
  margin-top: clamp(5px, 2.5vw, 20px);
}

/* Cancel if a breadcrumb nav exists before the main */
@supports selector(:has(*)) {
  body:has(.zone-before-main .breadcrumb) main#main_content h1:first-of-type {
    margin-top: 0px;
  }
}


h1, h2, h3, h4, h5, h6 {
    color: #014c8b;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px 0;
    padding: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{
    color: #014c8b;
}
.home h1 {
    font-size: 1em;
}

#banner-title h1 {
    font-size: 1em;
    margin-top: 7px;
}

#banner-title h1 .site-title {
    line-height: 1.25rem;
}

#banner-title span.site-title {
    font-size: 1.05em;
    width: 100%;
}

.site-title {
    text-align: center;
    display: inline-block;
    font-size: 1.25rem;
}

#banner-title, #mobile-buttons {
    float: left;
}

#banner-title {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

#banner-title span.site-description {
    display: inline-block;
    text-align: center;
    font-size: 1.6rem;
    width: 100%;
}

#search-form fieldset {
    border: 0;
    padding-top: 8px;
}

.site-inner {
    clear: both;
    padding-bottom: 10px;
}

h2.entry-title {
    font-size: 1.125em;
}
h3 {
    font-size: 1.17em;
    margin: 8px 0 5px;
}
h4 {
    font-size: 1.12em;
}
h5 {
    font-size: .83em;
    padding: 1em 0 .25em;
}
h6 {
    font-size: .75em;
}

h1 span.site-description {
    text-transform: unset;
}
#mobile-buttons {
    width: 13%;
}

#search-form {
    margin: 10px 0 0;
    display: none;
}

#search_icon_placeholder {
    display: inline-block;
}

@media only screen and (min-width: 36em) {
    #search-form {
        display: inline-block;
    }

    #search_icon_placeholder {
        display: none;
    }
}

#aside-second {
    padding-right: 0;
}

#aside-second .list-group {
    margin-bottom: 0;
}

#aside-second .list-group-item {
    border-radius: 0;
}
#aside-second li.list-group-item {
    padding: 0;
}

#aside-second li.list-group-item a {
    display: block;
    padding: 10px 15px;
}

#aside-second li.list-group-item a:focus, #aside-second li.list-group-item a:hover {
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
}

.widget-aside-second h2,
.block-title {
    font-size: .95rem;
    border-bottom: 3px solid #ececec;
    background-color: #f5f5f5;
    padding: 8px 16px 8px 10px;
    margin-left: -1px;
    margin-bottom: 0;
}

.sidebar {
    font-size: .95rem;
}

input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

#menu-statewide-navigation {
    font-size: .75rem;
}

#menu-statewide-navigation, .search-form-expanded, .menu-main-menu {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
body {
    font-size: .95rem;
    line-height: 1.5rem;
}

.site-container {
    max-width: 63.158em;
}

h1 span.site-description {
    text-align: left;
}

header.site-header {
    padding-bottom: 0;
}


.first-menu, .secondary-menu {
    display: none;
}

@media only screen and (min-width: 36em) {
    #banner-title {
        padding-top: .5em;
        line-height: 1.25;
        margin-left: 10px;
        width: 80%;
    }

    #banner-title span.site-title {
        text-align: left;
        padding: 0;
        width: auto;
    }


    #banner-title span.site-description {
        text-align: left;
        width: 87%;
        padding-top: .5em;
        font-size: 1.55em;
        letter-spacing: 1px;
        margin: 0 0 8px 0;
        padding: 0;
        text-align: left;
        width: 100%;
        font-weight: 300;
    }


    h1 span.site-title {
        font-size: .563em;
        line-height: normal;
        margin-top: -10px;
        padding: 0 20px;
        vertical-align: middle;
    }

    h1 span.site-description, h1 span.site-title {
        float: left;
        text-align: center;
        width: 100%;
        font-weight: 300;
    }

    h1 span.site-description {
        text-align: left;
        width: 87%;
    }

    h1 span.site-description {
        font-size: .813em;
        letter-spacing: 1px;
        margin: 0 0 8px;
        padding: 0;
    }

    h1 span.site-description, h1 span.site-title {
        float: left;
        text-align: center;
        width: 100%;
        font-weight: 300;
    }

    .first-menu {
        display: block;
    }

}

.widget-menu-widget {
    clear: both;
}

.no-pad p {
    padding: 0;
    margin: 0;
}

@media only screen and (min-width: 36em) {
    #banner-title span.site-title {
        text-align: left;
        padding: 0;
        width: auto;
    }
    #banner-title span.site-description {
        text-align: left;
        width: 87%
    }
}

#search-field-big {
    color: black;
}

.home .content h1 {
    border-bottom: none;
}

.home .content article h2 {
    margin: 0;
}

.home article > div > p {
    padding: 0;
}

.content .home-top, .content sidebar, .content .sidebar-home, .content .bottom-block {
    padding: 0;
}

.home main.content {
    padding: 0 20px;
}

#home-top h2 {
    margin-left: 5px;
    font-size: 1.875em;
    font-weight: 400;
}

#home-top .list-group-item {
    width: 280px;
    text-align: center;
    font-size: 20px;
    padding: 0;
    margin-bottom: 5px;
}

#home-top ul {
    padding-left: 10px;
}

#home-top section.featured-content {
    float: left;
    width: 33%;
}

#home-top a {
    display:inline-block;
    width: 100%;
    padding: 10px 5px;
}

#home-top a:hover {
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
}

#sidebar {
    padding: 0;
}

.deed-tabs.nav-stacked > li {
    /* background-color: #014c8b; */
    border: 2px solid #245580;
    border-radius: 8px 0 0 8px;
}

.deed-tabs.nav-stacked > li.active {
    background-color: #337ab7;
    margin-left: -5px;
}


#department-footer {
    background-color: #EAF3F7;
    color: #26316B;
    line-height: 1.2rem;
}

#department-footer h1, #department-footer h2, #department-footer h3, #department-footer h4, #department-footer h5, #department-footer h6, #department-footer a {
    color: #26316B;
}

#department-footer h2 {
    font-size: 1.30em;
}

#department-footer h3 {
    font-size: 1em;
    font-weight: 700;
}

#department-footer h4 {
    font-size: .95em;
    margin-bottom: 3px;
}

#department-footer {
    font-size: .875em;
    letter-spacing: .8px;
    box-shadow: 0 0 6px -3px;
    max-width: 72.18em;
}

#department-footer ul {
    list-style-type: none;
    padding-left: 15px;
    margin-left: 0;
}

#department-footer li {
    margin: 2px 0;
    list-style-image: url("https://education.alaska.gov/images/chevron.gif");
}

#department-footer p {
    font-size: .875em;
}

#department-footer address {
    font-style: normal;
}

#department-footer a {
    text-decoration: none;
    font-style: normal;
    font-weight: 300;
    font-size: .85rem;
}

#department-footer a:hover {
    text-decoration: underline;
}

#phone-list {
    padding-left: 0;
}

/* Conent Area */
.entry-content .listing-item {
    margin: 5px;
    padding: 0 0;
    border-bottom: 1px solid #ececec;
}
.home .content > article, .content {
    background: #fff;
    max-width: 100%;
    width: auto;
	margin: 0;
}

/** Home Page Specific **/
.home .home-top h2 {
    font-size: 1em;
}
.home article .listing-item {
    margin: 0;
}
.home article .article-date {
    margin: 8px 0;
    font-weight: bold;
    font-size: .825em;
}
.home article .article-heading {
    padding: 0;
    font-weight: normal;
    text-transform: initial;
}
.entry-content h2 {
	font-size: 1.875em;
    font-weight: normal;
    border-width: 1px;
	padding: 0;
    border-bottom: 3px solid #ececec;
}
.home .content article h3 {
    font-size: 1em;
}

.photostream {
	list-style: none;
	margin: 0;
	padding: 0;
}
.photostream li{
	display: block;
	float: left;
	margin: 1%;
    width: 31.3333333333%;
    height: 31.3333333333%;
}
.photostream li img{
	display: block;
    width: 100%;
}
.home h3.block-title {
    font-weight: normal;
    padding: 0 0 8px;
    border-bottom: 1px solid #ececec;
    background: none;
}

.home h3.block-title {
    font-weight: normal;
    padding: 0 0 8px;
    border-bottom: 1px solid #ececec;
    background: none;
}

.responsive-menu {
    position: relative;
    width: 960px;
}


.first-menu {
    background-color: #194a6b;
    clear: both;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.first-menu h2 {
    color: #FFC405;
    float: left; 
    display: block; 
    font-style: italic; 
    padding-left: 15px;
    font-weight: 300;
    font-size: 1.45rem;
}

.first-menu ul {
    margin-top: 5px;
}

.first-menu a,
.first-menu a:link,
.first-menu a:visited {
    color: #FFFFFF;
    font-size: .9em;
}

.first-menu a:hover,
.first-menu a.default:hover {
    text-decoration: underline;
}

/* Keyboard focus: white text and a white outline on the #194a6b bar (9.40:1).
   background-color: transparent cancels the statewide pale-yellow a:focus fill,
   which would otherwise put white text on #ffffe0 at 1.02:1. */
.first-menu a:focus,
.first-menu a.default:focus {
    background-color: transparent;
    color: #FFFFFF;
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
    text-decoration: underline;
}

/* Header title link on interior pages: the link wraps block elements inside a
   clipped container, so give it a box and an inset pale-yellow outline (9.25:1). */
header.site-header .title-area a {
    display: block;
}

header.site-header .title-area a:focus {
    background-color: transparent;
    outline: 3px solid #ffffe0;
    outline-offset: -3px;
}


.carousel-inner img {
  margin: auto;
}

.row {
    margin-bottom: 10px;
}

.home-icon-label {
    display: block;
    position: absolute;
    font-size: .84em;
    font-weight: bold;
    width: 101px;
    text-align: center;
    line-height: 1rem;
}

 .home-icon-single-line {
     top: 9px;
 }

.reportcard-label {
    font-size: .80em;
    font-weight: 600;
    width: 114px;
}

.carousel-indicators li, .carousel-indicators li.active {
    height: 9px;
    width: 9px;
    top: 30px;
}

.carousel-indicators li {
    margin: 0;
}

.carousel-separator {
    margin-top: 18px;
}

.page .socialmedia-icons ul li a {
    color: #FFFFFF;
    background-color: #1A5D86;
}

a.carousel-control:focus {
    background-color: transparent;
}

.breadcrumb > li {
    font-size: .9rem;
}

.tcert-connect {
    margin-top: 15px;
}

.tcert-connect h2{
    font-size: 1.3rem;
}

article.taxonomy ol, .sidebar ol {
    padding-left: 20px;
}

article.content-item ul, .sidebar ul{
    list-style-type: none;
    padding-left: 0;
}

article.content-item ul ul, .sidebar ul ul {
    padding-left: 10px;
}

article.taxonomy .showdisc, article ul.show-disc {
    list-style-type: disc;
    padding-left: 15px;
}

/*Collapsible Section Styling*/

.deed-collapse .collapse-section {
    width: 100%;
}

.deed-collapse .collapser {
    background-color: #3f78a7;
    cursor: pointer;
    border-radius: .5em;
    border: 1px solid white;
    padding: 1% 0 1% 0;
}

.deed-collapse .collapser a {
    color: white;
    margin-left: 1em;
}

.deed-collapse .collapser a:focus {
    outline: dotted 1px lightgray;
    color: red;
}

.deed-collapse .collapse, .collapsing {
    padding: 1% 2% 1% 2%;
    border: 1px solid #3f78a7;
    border-radius: .5em;
    overflow: hidden;
}

.data-center.clickable[aria-expanded="false"]::before {
    content: "> ";
}

.data-center.clickable[aria-expanded="true"]::before {
    content: "\2228  ";
}

.data-center.collapsing {
    text-indent: 3%;
    margin-top: 1%;
    margin-bottom: 1%;
    border: none;
}

.data-center.collapse[aria-expanded="true"] {
    text-indent: 3%;
    margin-top: 1%;
    margin-bottom: 1%;
    border: none;
}

@media print {
    header.site-header, footer, .zone-navigation, .zone-footer {
        display: none !important;
    }
}

#search-content blockquote {
    font-size: 15.2px;
}

.important-message {
    font-weight: bold;
    font-size: 1.4em;
}

.outline-blue {
    border-color: #194a6b;
    border: #194a6b solid 2px;
}

#required-greeting dl#language-greeting dt a {
    font-weight: 300;
}

#required-greeting dl#language-greeting dt a:focus {
    color: black;
}

@media only screen and (min-width: 40em) {
    #required-greeting dd.speaker button {
        background-image: url(https://webcontent.alaska.gov/style/soa/20180912/greetingassets/speaker.png);
    }
}

#form-submit-success {
    display: none
}

#form-submit-success:target {
    display: block;
}

/*
Homepage - Spotlight Trio styles
*/
.spotlight-image {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-right: auto;
    margin-left: auto;
}
.spotlight-trio {
    margin: 10px 3px 5px 3px;
    border-radius: 5px;
}

#st-one:hover, #st-two:hover, #st-zero:hover {
    background-color: #fbcf06;
    transform: translateY(-5px);
    box-shadow: 0px 3px 5px 3px gray;
}
#st-one, #st-two, #st-zero {
    transition-property: background-color, transform, box-shadow;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    background-color: #005c8b;
}

/* END Homepage - Spotlight Trio styles*/


/* ------------------------------------------------------------------
   Accessibility remediation, 2026-10
   See .github/OCR-ACCESSIBILITY-REMEDIATION-PLAN.md for the findings.
   ------------------------------------------------------------------ */

/* Homepage carousel: solid navy arrow discs with a white ring, so arrow contrast
   no longer depends on the slide image (white on #16375b = 12.13:1). */
.carousel-control {
    opacity: 1;
    background-image: none;
    width: 12%;
}

.carousel-control .glyphicon {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    line-height: 44px;
    font-size: 20px;
    border-radius: 50%;
    color: #FFFFFF;
    background-color: #16375b;
    box-shadow: 0 0 0 2px #FFFFFF;
    text-shadow: none;
}

.carousel-control.left .glyphicon {
    left: 20px;
    margin-left: 0;
}

.carousel-control.right .glyphicon {
    right: 20px;
    margin-right: 0;
}

a.carousel-control:focus .glyphicon,
a.carousel-control:hover .glyphicon {
    outline: 3px solid #FFC405;
    outline-offset: 3px;
}

/* The accessibility plugin's Pause/Play button: keep it on screen for everyone,
   not only while it has keyboard focus (SC 2.2.2). */
.carousel .carousel-pause-button,
.carousel .carousel-pause-button.focus {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    left: auto;
    z-index: 5;
    padding: 0.4em 0.9em;
    font-size: 1rem;
    color: #FFFFFF;
    background-color: #16375b;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
}

.carousel .carousel-pause-button:focus {
    outline: 3px solid #FFC405;
    outline-offset: 2px;
}

/* Linked images: draw the focus ring on the image itself, so it is visible even
   where the anchor's own box has collapsed around a block-level image. */
a:has(> img) {
    display: inline-block;
}

a:focus > img,
a:focus-visible > img {
    outline: 3px solid #194a6b;
    outline-offset: 3px;
    box-shadow: 0 0 0 7px #FFC405;
}

.page .col-md-3 > p > a > img {
    display: block;
    margin: 0 auto;
}

/* Native-language greeting: an in-flow bar above the statewide nav instead of the
   statewide stylesheet's pixel-pinned overlay, so it reflows at any zoom or text
   size without overlapping the State of Alaska logo, and stays visible under 40em. */
#required-greeting,
#required-greeting dl#language-greeting {
    position: static;
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
}

#required-greeting {
    background-color: #072f49;
    color: #FFFFFF;
    border-top: 3px solid #edbd03;   /* the gold line stays across the very top of the page */
}

/* The statewide nav carries that gold line as its own top border; drop it when the
   greeting band sits directly above, so greeting and nav read as one dark region. */
#required-greeting + .global-nav-menu {
    border-top: 0;
}

#required-greeting .zone-required-greeting {
    max-width: 960px;        /* same width as the statewide nav's .inline-div and the site header; em here would be 22px-based */
    margin: 0 auto;
    padding: 6px 10px 2px;
    text-align: center;      /* centered, like the statewide template's greeting */
}

#required-greeting dl#language-greeting dt,
#required-greeting dl#language-greeting dd {
    float: none;
    clear: none;
    display: inline;
    width: auto;
    max-width: none;
    margin: 0 0.35em 0 0;
    padding: 0;
    text-align: inherit;
}

#required-greeting dl#language-greeting dt {
    font-size: 1.375rem;
    line-height: 1.3;
}

#required-greeting dl#language-greeting dd {
    font-size: 0.75rem;
}

#required-greeting dl#language-greeting dd.speaker button {
    vertical-align: middle;
}

/* Two centered lines, as on other alaska.gov sites: the greeting with its speaker
   button, then the language name and translation beneath it. */
#required-greeting dl#language-greeting dd.language::before {
    content: "";
    display: block;
}

/* Desktop widths: one compact band, as on other alaska.gov sites. The greeting stays
   centered at the top and the State of Alaska logo / statewide links row is lifted up
   beside it; the greeting band paints the background for both. Below 60em the two rows
   simply stack, which is what keeps the greeting readable at high zoom. */
@media only screen and (min-width: 60em) {
    #required-greeting .zone-required-greeting {
        max-width: 400px;          /* centered between the logo on the left and the links on the right */
        min-height: 58px;
        box-sizing: border-box;
        padding: 8px 0 4px;
    }

    #required-greeting + .global-nav-menu {
        height: 48px;
        box-sizing: border-box;
        margin-top: -48px;         /* overlap the lower part of the greeting band */
        background: transparent;
        pointer-events: none;      /* the transparent nav box must not swallow clicks meant for the greeting */
    }

    #required-greeting + .global-nav-menu li,
    #required-greeting + .global-nav-menu a {
        pointer-events: auto;
    }
}

/* Narrower than 60em the greeting is hidden altogether, as on other alaska.gov sites,
   rather than wrapping into the logo row. */
@media only screen and (max-width: 59.99em) {
    #required-greeting {
        display: none;
    }
}
