/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*!
 * Writ v1.0.2
 *
 * Copyright Â© 2015, Curtis McEnroe <curtis@cmcenroe.me>
 *
 * https://cmcenroe.me/writ/LICENSE (ISC)
 */

/* Fonts, sizes & vertical rhythm */

html {
  font-family: liberationsans, sanserif;  
  font-size: 16px;
}

p, h1, h2, article ul, article ol {
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

code, pre, samp, kbd {
  font-family: Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 0.833rem;
}

kbd { font-weight: bold; }
h1, h2, h3, h4, h5, h6, th { font-weight: normal; }

/* Minor third */
h1 { font-size: 2.488em; }
h2 { font-size: 2.074em; }
h3 { font-size: 1.728em; }
h4 { font-size: 1.44em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }
small { font-size: 0.833em; }

h1, h2  { line-height: 3rem; }

/*
p, ul, ol, dl, table, blockquote, pre, h1, h2, h3, h4, h5, h6 {
  margin: 1.5rem 0 0;
}
ul ul, ol ol, ul ol, ol ul { margin: 0; }
*/

hr {
  margin: 0;
  border: none;
  padding: 1.5rem 0 0;
}

/* Accounting for borders */
table {
  line-height: calc(1.5rem - 1px);
  margin-bottom: -1px;
}
pre {
  margin-top: calc(1.5rem - 1px);
  margin-bottom: -1px;
}

img {
    max-width:100%;
    width:100%;
}

ol {
    list-style-type: decimal;
}

* {
    box-sizing: border-box; 
}

h3 {
   line-height: 2rem;
   margin-bottom: 0.5rem; 
}

h4 {
    line-height:1.6rem;
}

p~h3 {
    margin-top: 2rem;
}

.hide {
    display: none;
}

strong {
    font-weight:bold;
}

em {
   font-style: italic; 
}

@font-face {
   font-family : "bebas";
   src : url("bebas.ttf");
}

@font-face {
    font-family: "liberationsans";
    src : url("liberationsans.ttf");
}

 @font-face {
    font-family: "liberationsans";
    src : url("liberationsansb.ttf");
    font-weight: bold;
}   

@font-face {
    font-family: "liberationsans";
    src : url("liberationsansi.ttf");
    font-style: italic;
}   

@font-face {
    font-family: "liberationsans";
    src : url("liberationsansbi.ttf");
    font-weight: bold;
    font-style: italic;
}

:root {
    --orange : hsl(32.8, 95.7%, 63.3%);
    --blue: hsl(204.9, 53.4%, 34.5%);
}

html {
    font-family : "liberationsans";
    
}

header, .sitemap {
    font-family: bebas, serif;
    font-size:17px;
    background-color:whitesmoke;
    word-spacing:3px;
}

.info, .dropdown {
    background-color: #296087; /* rgb(76, 148, 33);*/
    color: whitesmoke;
}

.info a, .dropdown a {
    color: whitesmoke;
}

footer {
    background-color: whitesmoke;
    padding-top:6px;
    padding-bottom:6px;
    margin-top:6px;
}

#actions a {
    color: whitesmoke; /*white;*/
}

.dropdown {
   /* background-color: rgb(78, 133, 173);*/
}

    
article {
    background-color: whitesmoke;
}

article h2 {
        font-size: 1.728em;
}

.dropdown, .content {
    box-shadow: 0px 4px 10px -4px rgba(0,0,0,0.75);
}

article li {
    margin-bottom : 1rem;
    margin-left : 1rem;
}

article ul {
    list-style-type : disc;
}

article {
    padding : 14px;
}

header {
    position: fixed;
    top: 0;
}

main {
    margin-top:110px;
    margin-bottom:19px;
}

main .inner {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
}   

footer {
    /*position: fixed;*/
    bottom:0;
}

.outer {
    width: 100%;
}

.inner {
    min-width: 600px;
    max-width: 1000px;
    width: 80%;
    margin-left:auto;
    margin-right:auto;
}

article {
    -webkit-box-flex:4;
        -ms-flex:4;
            flex:4;
    margin-right:20px;
}

aside {
    
    -webkit-box-flex: 2;
    
        -ms-flex: 2;
    
            flex: 2;
    border: none;
}
.previous, .next {
    background-color: #296087;
    border-radius: 5px;
    font-family: bebas;
    word-spacing: 2px;
    text-decoration: none;
    color: whitesmoke;
    padding: 10px;
    padding-top:8px;
    box-shadow: 0 1px 3px 0px #000000ad;
}

.previous a, .next a {
   text-decoration: none;
   color: whitesmoke;
}

.previous {
    float:left;
}

.previous canvas {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
    width:35px;
    padding-left:5px;
}

.next canvas {
    width:35px;
    padding-left: 5px;
}

.next {
    float:right;
}

form textarea {
    width:500px;
    height:100px;
}

header {
    width:100%
}

header > .outer {
    padding-top: 7px;
    padding-bottom: 7px;
}

header a {
    color:black;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline; 
}

header a.current {
    text-decoration: underline;
}

header .inner {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;  

}

header .inner ul {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}

#actions li:nth-child(1n+2) {
    margin-left: 15px;
}

header .spacer {
    display: inline-block;
    width: 50px;
}
header .inner > :nth-child(2n+1) {
    width: 44%;
}
#actions ul {
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
}

#details ul, #pathway ul {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}   
.dropdown ul li+li {
    margin-left:2em;
} 

/*
.dropdown ul:first-child {
    justify-content: flex-start;
}


.dropdown ul:first-child li+li {
    margin-left:2em;
}

.dropdown ul:nth-child(3) {
    justify-content: flex-end;
}
*/
@media (max-width: 670px) {

    header { 
        display: none;
    }

}
#logo {
    position:relative;
    right: 0px;
    transition: right 0.3s;
}

#logo a {
    position:fixed;
    top:10px;
    z-index:20;
    display:inline-block;
    transition: top 0.3s;
}

#logo {
    width:50px;
}

#logo img {
    width: 50px;
    height:100%;
    transition: width 0.3s;
}
#logo.small {
    right:-8px;
    transition: right 0.3s;
}

#logo.small a {
    top: 7.5px;
    transition: top 0.3s;
}

#logo.small img {
    width: 34px;
    transition: width 0.3s;
}

@media (max-width: 900px) {
   .inner {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
   }
}

@media (max-width: 670px) {
    #logo {
        position:fixed;
        right:-5px; 
    }
    #logo a {
        top:-1px;
    }
    #logo img {
        width:31px;
    }
}
.sitemap > ul {
    background-color: #296087; 
    color: whitesmoke;
    position: relative;
    padding:5px;
    padding-left: 19px;
}

.sitemap a {
    text-decoration:none;
    color:whitesmoke;
}
    

.sitemap img {
    width: 16px;
    position: fixed;
    top: 6px;
    left: 59px;
}
.sitemap p {
    margin: 0px;
    color: #CEB1B1;
}

#sitemap-model, #sitemap-school {
    padding-bottom:23px;
}

.sitemap ul ul li, .sitemap ul:nth-child(2) > li:nth-child(n+4) {
    padding-top: 6px;
}

@media (min-width: 671px) {
    .sitemap.js {
        display:none;
    }
    
    .sitemap ul:first-child {
        display:none;
    }

}

@media (max-width: 670px) {

   #menu {
        background-color:whitesmoke;
        color: black;
        border-radius:5px; 
        padding: 5px;
        padding-bottom:4px;
        padding-top:2px;
   }

   .sitemap > ul:first-child > li:first-child {
    padding-top:3px; 
   }

   .sitemap.js {
        position: fixed;
        top:0;
        width:100%
   }

   .sitemap .off { 
        right:-180px;
        transition: right 0.8s;
   }
   
   .sitemap > ul:first-child {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-pack:justify;
            -ms-flex-pack:justify;
                justify-content:space-between; 
    }

    .sitemap > ul:nth-child(2) {
        width: 150px;
        position: fixed;
        height:100%;
        overflow:auto;
    }

    .sitemap .on {
        right:0px;
        transition: right 0.8s;
        padding-bottom: 46px;
    }

    .sitemap .amp {
       padding-left: 2px;
       padding-right: 1.5px; 
    }

    .site-drop {
        max-height:0;
        overflow:hidden;
        transition: max-height 1s;
    }

    .site-drop.active {
        max-height:8em;
        transition: max-height 1s;
    }
    .sitemap .off .site-drop {
        transition-delay:  0.7s;
        tansition: max-height 0.1s;
    }

}
.dropdown.outer {
    height:0px;
    padding:0px;
    overflow-y:hidden;
    transition: height 0.2s;
    /*transition: padding 0.2s;*/
}

.dropdown .inner > :nth-child(n+2) {
    display:none;
}   

.dropdown .inner {
    padding-top:7px;
    padding-bottom:7px;
}

.dropdown.active {
    height:32px;
    /*padding:4px;
    transition: padding 0.4s;*/
    transition: height 0.4s;
}

.arrow canvas {
    width:10px;
    height:10px;
    vertical-align:middle;
    margin-left:3px;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s ;
    transition: transform 0.3s, -webkit-transform 0.3s;
}


#details .active a {
    text-decoration: underline;
}

.active canvas {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}

.dropdown .inner ul {
    width: 100%;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
}

.dropdown li {
    width:100px;
}

.dropdown li:nth-child(n+2) {
    text-align:center;
}

.dropdown li:nth-last-child(1) {
    text-align:right;
}

@media (max-width: 670px) {
    .dropdown.active {
        height:40px;
    }
}

footer img {
    width:12px;
}

footer {
    bottom:0;
    width:100%;
}

footer.fix {
    position:fixed;
}
.footer-top {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    margin-left:0;
    margin-right:auto;
    padding-top:3px;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
}

.footer-logos {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
}

.footer-logos li + li {
    margin-left : 8px;
}
.next span {
    font-family:bebas, serif;
}
@media (min-width: 954px) {
    .footer-top > li:nth-child(2) {
        display:none;
    }
}

@media (max-width: 953px) {
    .footer-top > li:nth-child(1) {
        display:none;
    }
}

@media (max-width: 670px) {
    footer .long {
        display:none;
    }
    .footer-top > li:nth-child(2) {
        display:none;
    }
    .footer-top > li:nth-child(1n+3) {
        list-style-type:none;
       /* margin-left:9px;*/
    }
}
@media (max-width: 430px) {
    .footer-top > li:nth-child(2n+3) {
        margin-right:50px;
        padding-left:7px;
    }

    .footer-top > li:nth-child(2n+4) {
        padding-right:12px;
    }




}

.brief .abstract {
    background-color: #c1e0ea;
    padding: 5px;
    border-radius: 5px;
    margin-bottom:16px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.abstract p {
    width: 90%;
}

.brief div button{
    background-color: whitesmoke;
    border-radius: 6px;
    border-style:none;
    padding: 4px;
    margin: 3px;
    font-size: 17px;
    font-family: bebas;
}

main > h2 {
    font-family: bebas;
    word-spacing:7px;
    text-align: center;
    color: whitesmoke;
    background: gray;
    margin-top: -47px;
    padding-top: 36px;
    padding-bottom: 36px;
    background-image: url("img/banner1.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

}

@media (max-width: 670px) {
    main > h2 {
        margin-top: -20px;
    }
}

figure {
    margin-bottom:1.5rem;
}

figure.left, figure.right {
    width: 50%;
    margin-right: 14px;
    margin-bottom: 14px;
    margin-left:14px;
}

figure.staff {
    width: 50%;
    float: left;
    margin-right: 10px;
    margin-bottom: 2px;
}

figure.left {
    float:left;
}

figure.right {
    float:right;
}
article h2 {
    clear:both;
}

aside .announce a {
    color: #D2B777;
}

aside .side-story, aside .announce  {
    border:14px solid white;
    
}

@media (max-width: 670px) {
    aside .side-story, aside .announce  {
        border: initial; 
    }
}

aside .announce {
    border-top:0px;
}

aside .side-story .call, aside .announce {
   font-size: 20px;
   background-color: #296087;
   padding: 15px;
   color:whitesmoke;
   line-height: 1.1;
   text-align: center;
}

aside figure {
    margin-bottom: 0;
}

aside .text {
    display: none;
}

aside .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

aside .video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

aside .ref a:link {
    color: #d2b777;
}



aside .ref {
   color: whitesmoke;
   text-align: center;
   font-size: 14px;
   background-color: black;
}

.danger, .warning, .okay, .custom, .hiring, .openhouse {
    padding-top:5px;
    padding-bottom:3px;
    text-align:center;
}
.danger  { background-color: red; }
.warning, .hiring  { background-color: yellow; color:black; }
.hiring.hiring a {color: #1d8f95;}
.okay  { background-color: green;color:whitesmoke;}
.custom { background-color:blue; color:whitesmoke;}
.openhouse {background-color:rgb(0, 160, 200); color:whitesmoke;}

@media print {

    header, footer, .sitemap {
        display:none;
    }

   img {
        width:200px;
        margin-left:auto;
        margin-right:auto;
   }

   main > h2 {
    display:none;
   }


}

@media (max-width: 670px) {
    
    .inner {
        min-width:50px;
        -webkit-box-orient:vertical;
        -webkit-box-direction:normal;
            -ms-flex-direction:column;
                flex-direction:column;
        width:auto;
        /*margin-left:10px;
        margin-right:10px;*/
        margin-left:0;
        margin-right:0;
    }

    /*undo*/
    article {
        margin-right:initial;
    }

    form textarea {
        width:90vw;
    }

    iframe {
        width:90vw;
    }
    
    main {
        margin-top:30px;
    }

    h2 {
        margin-bottom: 0;
    }

}
