/* CSS Document */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/** 
 *Start of my CSS.
 */

html {
    box-sizing: border-box;
    font-family:"Prompt", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    min-height: 100%;
    scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

:root {
    --color-body-bg: #F7f7f7;
	--color-wrapper-bg: #F7f7f7;
	--color-image-bg: #023047;
	--color-image-border: #219EBC;
    --color-nav-border: #FB8500;
    --color-nav-bg: #8ECAE6;
}

body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 100%;
    margin: 0;
    background-color: var(--color-body-bg);
}
    
.container{
    margin: 0 .625rem;
    overflow: hidden;
}

.wrapper {
    display: grid;
    grid-template-columns: minmax(auto, 1024px);
    justify-content: center;
    background: url("images/splat-1.svg") no-repeat;
    background-size: cover;
    margin: 0 auto;
}

.grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.nav-main{
    grid-column: 1/13;
    position: fixed;
    z-index: 200;
}


/* Navigation - Headroom JS Move Navigation on Scroll */
.headroom {
    will-change: transform;
    transition: all .5s linear;

}

.headroom--pinned {
    transform: translateY(0%);
    opacity: 1;
}

.headroom--unpinned {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-main-menu-toggle{
    display: none;
}

.nav-main-menu-toggle-icon{
    position: fixed;
    z-index: 200;
    width: 64px;
    height: 64px;
    top: 60px;
    left: 0;
    cursor: pointer;
}

.nav-main-menu-toggle-icon span{
    width: 80%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.nav-main-menu-toggle-icon span::before,
.nav-main-menu-toggle-icon span,
.nav-main-menu-toggle-icon span::after {
    background-color: var(--color-nav-border);
    height: 6px;
    position: absolute;
    content: '';
    transition: all .25s ease-in;
    border-radius: 3px;
}

.nav-main-menu-toggle-icon span::before {
    width: 100%;
    top: -10px;
}

.nav-main-menu-toggle-icon span::after {
    width: 100%;
    top: 10px;
}

.nav-main-menu-toggle:checked~.nav-main-menu-toggle-icon span {
    background-color: transparent;
}

.nav-main-menu-toggle:checked~.nav-main-menu-toggle-icon span::before,
.nav-main-menu-toggle:checked~.nav-main-menu-toggle-icon span::after {
    top: 0;
}

.nav-main-menu-toggle:checked~.nav-main-menu-toggle-icon span::before {
    transform: rotate(-135deg);
}

.nav-main-menu-toggle:checked~.nav-main-menu-toggle-icon span::after {
    transform: rotate(135deg);
}

.nav-main-menu-toggle:checked~.nav-main-menu {
    width: 70vw;
    box-shadow: 0 0 0 100vw hsla(210, 3%, 23%, 0.50);
    padding-left: 60px;
    padding-right: 5px;
}

.nav-main-menu {
    position: fixed;
    z-index: 50;
    left: 0;
    width: 0;
    height: calc(100vh - 3em);
    transition:
        width .5s .25s ease-in,
        box-shadow .25s ease-in;
    background-color: var(--color-image-border);
    box-shadow: none;
    overflow-y: auto;
    padding-top: 120px;
}

.nav-main-menu a {
    position: static;
    display:block;
    text-indent: 0;
    padding: 20px;
    color: #023047;
    border: 3px solid var(--color-nav-border);
    text-decoration: none;
    font-size: 1.2em;
    margin: 10px 0px 10px 0px;
    text-align: center;
}

.nav-main-menu a:hover {
    text-indent: 0;
    border: 2px solid var(--color-nav-border);
    background: var(--color-nav-bg);
        
}

.icon-home3, .icon-list2, .icon-phone-hang-up, .icon-folder{
    height: 1.0em;
    width: 1.0em;
    padding-right: 5px;
    vertical-align: bottom;
    fill: currentColor;
}

ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.header-main {
    grid-column: 1/13;
    z-index: 100;
    border-bottom: 2px solid #023047;
    background: #FFB703;
}

.header-main h1 {
    position: relative;
    line-height: 2em;
    text-align: center;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    color: #023047;
    background: transparent;
}

.header-main .large{
    opacity: 0;
    font-size: 0vw;
}

.page-id{
    display: grid;
    grid-column: 1/13
}

.page-id h3{
    display: grid;
    justify-content: center;
    
}

.programs{
    display:grid;
    align-content:  center;
    grid-column: 1/10;
    background: #023047;
    min-height: 500px;
    background-size: cover;
    margin: 50px 10px 50px;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    padding-bottom: 20px;
}

.programs h2{
    color: #FFB703;
    font-size: 1.8em;
    line-height: 1.5em;
    grid-column: 1/9;
}

.programs h4{
    opacity: 0;
    grid-column: 1/9;
    color:#FFB703;
    font-size: 0em;
}

.programs a{
    grid-column: span 8;
    border: 2px solid transparent;
}

.programs a:hover{
    border: 2px solid var(--color-image-border);
}

.programs img{
    max-height: 150px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.icon-printer, .icon-film, .icon-camera, .icon-display{
    height: 1.8em;
    width: 1.8em;
    padding-right: 5px;
    vertical-align: sub;
    fill: currentColor;
}

.map-search{
    display:grid;
    align-content:  center;
    grid-column: 1/13;
    background: #023047;
    min-height: 500px;
    background-size: cover;
   
}

.map-search h2{
    color: #FFB703;
    font-size: 2em;
    line-height: 1.5em;
}

.map-search form{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    
}

.search{
    grid-column: 5/9;
    padding-bottom: 40px;
    
}

.search label{
    color:#FFB703;
}

.search input{
}

.search .button{
    background: darkorange;
}

.contact-form{
    display: grid;
    font-size: 1em;
    grid-template-columns: repeat(12, 1fr);
}

fieldset{
    border-color: #023047;
    margin: 0 40px 40px 40px;
}

legend{
    font-size: 2em;
    padding: 15px;
}

.contact-form li{
    display: grid;
    grid-column: 4/9;
}

.contact-form label{
    display: grid;
    justify-content: flex-start;
    grid-column: span 4;
}

.contact-form input{
    display: grid;
    justify-content: flex-start;
    grid-column: span 4;
}

.contact-form .submit{
    margin-top: 10px;
    background-color: darkorange;
}

.contact-form-list{
    list-style: none;
}

.support{
    padding: 0 20px;
    list-style: none;
}

.support li{
    padding:0 20px 20px 20px;
    margin-top: 20px;
}

.main{
    display:grid;
    align-content:  center;
    grid-column: 1/11;
    background: url("images/showcase.jpg") no-repeat , var(--color-nav-border);
    min-height: 500px;
    background-size: cover;
    margin: 50px 10px 50px;
}

.main h2{
    
    background: hsla(200, 95%, 14%, 0.6);    
    color: #FFB703;
    font-size: 2em;
    line-height: 1.5em;
}

.hidden {
     display: none;
}

.aside{
    display:grid;
    align-content: center;
    grid-column: 4/13;
    color: var(--color-image-bg);
    text-align: center;
    line-height: 2;
    font-size: 1.4em;
    margin: 20px 0px 20px;
    background: var(--color-nav-bg);
}

.icon-quotes-left, .icon-quotes-right{
    height: 1.5em;
    width: 1.5em;
    fill: var(--color-image-border);
    padding-left: 10px;
    padding-right:10px;
}

.aside p{
    font-size: 0.6em;
    margin-top: 50px;
}

.aside-form{
    display:grid;
    align-content: start;
    grid-column: 1/13;
    color: var(--color-image-bg);
    text-align: center;
    line-height: 2;
    font-size: 1em;
    margin: 20px 0px 20px;
    background: var(--color-nav-bg);
}

.grid-cards{
    grid-column: 1/13;
    background: var(--color-nav-border)
}

.footer{
    grid-column: 1/13;
}


#gmap {
    clear: both;
    width: auto;
    height: 300px;
    overflow: hidden;
    background: url(../js/images/gmap.png) no-repeat center / cover;
}

#gmap h4 {
    font-size: 1.4em;
}

#gmap span {
    display: block;
    font-size: .8em;
}

#gmap ul {
    list-style: disc;
    padding: 5px 20px;
    font-size: 1.2em;
}

main{
    margin-left:10px;
    margin-right: 10px;
    color: #023047;
}

section {
    border: 2px solid #023047;
    padding: 10px;
    margin: 15px;
    background:  #FB8500;
    color: #023047;
}
.header-cards{
    border-radius: 10px;
    border: 2px solid var(--color-image-border);
    background: #FB8500;
    margin: 15px;
    text-align: center;
    font-size: 1.5em;
}

.cards{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    background:  var(--color-body-bg);
    list-style-type: none;
    list-style: none;
    padding: 0;
}

.cards .card {
    
    grid-column: span 6;
    margin: 10px 1px 10px;
    min-width: 0;
    background: var(--color-image-border);
}

a.card-link {
    text-decoration: none;
    color: #f7f7f7;
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
}

figure.card-figure {
    position: relative;
    margin: 3px;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.card-figure-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transform-origin: 80% 12%;
    transform: scale(2);
    transition: all 2s;
    overflow: hidden;
    padding-top: 15px;
    background-color: var(--color-image-bg);
    border:1px var(--color-image-border);
}

.cards .card-link:hover .card-figure-image {
    transform: scale(1);
}

.cards .card-link:hover .card-section-button{
    border: 1px solid var(--color-nav-border);
}

.cards .card-figure-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    color: hsla(0, 0%, 100%, 1);
    line-height: 2;
    font-style: italic;
    padding: 0 10px;
    background: hsl(0deg 0% 0% / 40%)
}

.cards .card-section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px;
    background-color: #8ECAE6;
    border-radius: 0px;
}

.cards .card-section-title {
    margin-bottom: 0;
    border-bottom: 1px solid;
    font-size: 4.5vw;
}

.cards .card-section-button {
    margin: 10px;
    padding: 0 1em;
    border-radius: .5em;
    border: 1px solid;
    line-height: 2;
    align-content: flex-end;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    position: relative;
    text-align: center;
    overflow: hidden;
}


p {
    margin: 10px 5px 10px;
    line-height: 1.4;
}

footer {
    color: var(--color-image-bg);
    margin-left: 10px;
    margin-right: 10px;
    height: 40px;
}

footer a[href^=index] {
    float: left;
}

footer a[href^=javascript] {
    float: right;
}

footer a{
    text-decoration: none;
    color: var(--color-image-bg);
    padding: 5px;
}

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

h6{
    margin-left: 15px;
    font-size: .3em;
    color: var(--color-image-bg);
}

@media (min-width: 48rem) {
    
    .wrapper {
        width: 96%;
        margin: 20px auto;
}
    
    .header-main {
        position: static;
        height: 100px;
}

    .header-main h1 {
        line-height: 2;
        font-size: 2em;
        align-self: flex-end;        
 }
    
    .header-main .large{
        opacity: 1;
        font-size: 1.8em;
}
    
    .header-main .small{
        opacity: 0;
        font-size: 0vw;
    }
    
    .nav-main{
        position: relative;
    }
    
    .nav-main-menu-toggle,
    .nav-main-menu-toggle-icon {
        display: none;
    }
    
    .nav-main-menu-toggle:checked~.nav-main-menu {
        width: auto;
        box-shadow: none;
    }
    
    .nav-main-menu {
        display: flex;
        justify-content: space-between;
        position: relative;
        z-index: 0;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        transition: none;
        background-color: transparent;
        box-shadow: none;
        overflow: hidden;
        padding: 0 20px;
    }
    
    ul.nav-main-menu{
        display: flex; 
        margin-top: 0px;
        margin-left: 10px;
        margin-right: 10px;
}
    
    nav ul li:first-child{
        margin-right: auto;
    }
    
    .nav-main-menu a {
        border: 2px solid transparent;
}
    .icon-home3, .icon-list2, .icon-phone-hang-up, .icon-folder{
        display:none;
}
    
    .main{
       grid-column: 1/9;
       margin: 100px 10px 100px;
    }
    
    .main h2{    
       font-size: 2.5em;
       line-height: 2em;
}
    
    .aside{
       grid-column: 9/13; 
    }
    
    .aside p{
       margin-top: 80px;
}
    
    .programs{
        grid-column: 1/9;
        margin: 100px 10px 100px;
    }
    
    .programs a{
       grid-column: span 4;
}
    
    .search{
      margin-left: 50px;  
    }
    
    .contact-form li{
       display: grid;
       grid-column: 5/9;
}

    .cards .card {
        grid-column: span 3;
        margin: 100px 1px 100px;
} 
    .card-figure-image {
        width: 100%;
        padding: 0;
        margin: 0;
}
   
    .cards .card-section-title{
        font-size: 1.8vw;
    }
    
    img {
        width: auto;
        
    }
    
    
}

@media (min-width: 1025px){
    .wrapper{
        max-width: 1020px;
    }
    
    .header-main .large{
        font-size: 2.2em;
}
  
    .search{
      margin-left: 60px;  
    }
    
    .cards .card-section-title{
        font-size: 1.8em;
    }
    
      
}

@media (pointer: coarse){
    .programs h4{
        opacity: 1;
        font-size: 0.5em;
        padding-left: 15px;
    }
}