/*!
Theme Name: OCIL
Theme URI: http://underscores.me/
Author: 366 Technology
Author URI: https://www.366technology.com/
Description: Custom Theme for OCIL
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ocil
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

OCIL is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Footer
# Header
# Universal
# Row 6
# Row 5
# Row 4
# Row 2
# Row 3
# Image Preload

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! 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;
	-webkit-text-size-adjust: 100%;
}

/* 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-family: "Lato", sans-serif;
    font-weight: 900;
    text-transform: uppercase;    
    font-size: 4.16666667vw;
    line-height: 1.125;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 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;
	font-size: 1em;
}

/* 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;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * 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;
	font-size: 1em;
}

/**
 * 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;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	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;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * 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;
	padding: 0;
}

/**
 * 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;
	outline-offset: -2px;
}

/**
 * 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;
	font: inherit;
}

/* 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;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1A1818;
	 font-family: "Open Sans", sans-serif;
	font-size: calc(10px + 0.52083333vw);
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
}

ul,
ol {
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
}

.page-links {
	clear: both;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#creditfooter {
    text-align: center;
  padding: 10px;
  font-size: 10px;
}
.site-info {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
#cgfoot {
    width: calc(108px + 5.625vw);
  display: inline-block;
  vertical-align: middle;
}
#ocilfoot {
    width: calc(133px + 6.92708333vw);
  display: inline-block;
    vertical-align: middle;
    margin-right: 5.20833333vw;
} 
#cgfoot img, #ocilfoot img {
    display: block;
}
#homefoot {
    padding: calc(10px + 0.52083333vw) 3.38541667vw;
    background-image: url(/wp-content/uploads/2025/06/backfoot.webp);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 41.66666667vw;
    background-color: #fff;
}
@media screen and (max-width: 659px) {
    #homefoot {
      background-size: 0;
        text-align: center;
    }
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#commissionervideo {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease-in-out; 
    margin: auto;
  left: 0;
  right: 0;
  width: 80vw;
  height: 45vw;
  position: fixed;
  top: 10vh;
  max-height: 80vh;
    z-index: 9999;
}
#commissionervideo iframe{
    width: 100%;
    height: 100%;
}
#commissionervideo.show-video {
    opacity: 1;
    visibility: visible;
   pointer-events: all;
}
.site-title a {
    color: #1A1818;
    text-decoration: none;
    cursor: text;
}
.site-title {
    width: 53vw;
  text-align: center;
  margin: 2vw auto;
}
#openingtext {
    width: 618px;
  margin: auto;
  text-align: center;
  max-width: 53vw;
        line-height: 1.2;
}
#commissionerimage {
width: calc(100px + 5.20833333vw);
  margin: 2vw auto 0;
  cursor: pointer;
}
#commissioner {
    width: calc(100% - 40px);
    margin: auto;
    position: relative;
}
#commissionertext {
    width: 300px;
  margin: auto;
  font-weight: bold;
  line-height: 1.11111111;
  max-width: 53vw;
  cursor: pointer;
    text-align: center;
}
#masthead {
    background-size: 100%;
  padding: 1px;
    height: 101vw;
    background-position: top center;
    overflow: hidden;
    background-repeat: no-repeat;
    position: relative;
}
html[lang="fr-FR"] .site-description{
  background-image: url(/wp-content/uploads/2025/08/ocil_french.png);
    width: calc(118px + 6.05128205vw);
    height: calc(87.5px + 4.5vw);
}
.site-description {
    text-indent: -9999px;
  background-image: url(/wp-content/uploads/2025/06/ocil.webp);
  background-repeat: no-repeat;
  width: calc(88px + 4.58333333vw);
  height: calc(108px + 5.625vw);
  background-size: contain;
  margin: auto;
}
#languageswitcher {
    text-align: center;
}
#languageswitcher a {
  font-size: calc(10px + 0.57291667vw);
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 100px;
  width: calc(25px + 0.57291667vw);
  display: inline-block;
  text-align: center;
  line-height: calc(25px + 0.5vw);
    margin-top: calc(3.5vw + 19px);
    margin-bottom: 2.25vw;
}
@media screen and (max-width: 1799px) {
        #masthead {
        background-size: 110%;
        height: 111.1vw;
    }
}
@media screen and (max-width: 1299px) {
        #masthead {
        background-size: 120%;
        height: 111.1vw;
    }
}
@media screen and (max-width: 1099px) {
        #masthead {
        background-size: 130%;
        height: 121.2vw;
    }
}
@media screen and (max-width: 999px) {
        #masthead {
        background-size: 140%;
        height: 141.4vw;
    }
}
@media screen and (max-width: 899px) {
        #masthead {
        background-size: 150%;
        height: 151.5vw;
    }
}
@media screen and (max-width: 799px) {
        #masthead {
        background-size: 160%;
        height: 161.6vw;
    }
}
@media screen and (max-width: 699px) {
        #masthead {
        background-size: 180%;
        height: 181.8vw;
    }
    #openingtext {
      max-width: calc(100% - 60px);
    }
    #commissionertext {
      max-width: 100%;
    }
}
@media screen and (max-width: 599px) {
        #masthead {
        background-size: 210%;
        height: 212.1vw;
    }
}
@media screen and (max-width: 499px) {
        #masthead {
        background-size: 222%;
        height: 224.22vw;
    }
}
@media screen and (max-width: 399px) {
        #commissioner {
            display: none; /*TEMPORARY*/
    }
}
/*--------------------------------------------------------------
# Universal
--------------------------------------------------------------*/
.closevideo {
    color: #fff;
  text-decoration: underline;
  position: absolute;
  right: 0;
  top: -40px;
  cursor: pointer;
    pointer-events: all;
}
.closevideo.popupsmapv {
  bottom: -40px;
  left: 0;
    top: auto;
}
.closevideo.popupsmapvtwo {
  left: 0;
}
.closevideo:hover {
    text-decoration: none;
}
.responsivelayer {
    display: contents;
    pointer-events: all;    
}
.grow { 
    transition: all .2s ease-in-out; 
}
.grow:hover { 
    transform: scale(1.1); 
}
h2 {
    color: #1B6A97;
  line-height: 1.42857143;
  margin-bottom: 3vw;
}
#blackback {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease-in-out; 
  left: 0;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
    z-index: 9998;
    background-color: rgba(0,0,0,0.8);
}
#blackback.show-bb {
    opacity: 1;
    visibility: visible;
   pointer-events: all;
}
/*--------------------------------------------------------------
# Row 6
--------------------------------------------------------------*/
#row6in {
  width: 1340px;
  margin: auto;
    max-width: calc(100% - 40px);
}
#row6in h2 {
    margin-bottom: 0;
}
#righttext {
    vertical-align: middle;
  display: inline-block;
  width: calc(48% - 2.5vw);
}
#lefttext {
    vertical-align: middle;
  display: inline-block;
  width: calc(52% - 2.5vw - 1px);
    margin-right: 5vw;
}
#row6 {
    background-color: #EBEFF4;
    padding: calc(10px + 2vw);    
}
@media screen and (max-width: 699px) {
    #righttext {
      display: block;
      width: 100%;
    }
    #lefttext {
      display: block;
      width: 100%;
        margin-right: 0;
        text-align: center;
    }
}
/*--------------------------------------------------------------
# Row 5
--------------------------------------------------------------*/
#row5in {
  width: 1340px;
  margin: auto;
    max-width: 100%;
    border-top: 1px solid #a3a2a2;
}
#row5in h2, #row4in h2 {
    width: 805px;
  margin: calc(20px + 2vw) auto;
  text-align: center;
    max-width: 100%;
}
#row5 {
    background-color: #fff;
    padding: calc(10px + 2vw);    
    background-image: url(/wp-content/uploads/2025/06/decoration.webp);
      background-repeat: no-repeat;
      background-size: 23vw;
      background-position: bottom -11.5vw center;
      padding-bottom: 10vw;
    display: none; /*THIS IS TEMPORARY*/
}
.videocolumn img {
    width: calc(4.47916667vw + 86px);
}
.videocolumn {
    margin-bottom: 4.6875vw;
    cursor: pointer;
}
#videostories {
    display: flex;
  column-gap: 4.6875vw;
  flex-wrap: wrap;
    justify-content: center;
}
.nameandage {
    font-size: calc(0.41666667vw + 10px);
}
.videoheritage {
    font-weight: bold;
    font-size: calc(10px + 0.10416667vw);
}
.videolocation {
    font-size: calc(10px + 0.10416667vw);
    margin-top: 0.5vw;
}
/*--------------------------------------------------------------
# Row 4
--------------------------------------------------------------*/
.pdfcolumn img{
    display: block;
}
.pdfcolumn {   
    width: calc(21% - 2.25vw);
    margin-bottom: 3vw;
}
#pdfs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 3vw;
    padding: 0 20px;
}
.pdfcolumn span {
    display:block;
}
#row4 {
    background-color: #fff;
    padding: calc(10px + 2vw);    
    background-image: url(/wp-content/uploads/2025/06/decoration.webp);
      background-repeat: no-repeat;
      background-size: 23vw;
      background-position: top -11.5vw center;
      padding-top: 10vw;
    padding-bottom: 0;
    display: none;/*THIS IS TEMPORARY*/
}
#row4in {
  width: 1340px;
  margin: auto;
    max-width: 100%;
    font-size: calc(0.41666667vw + 10px);
}
.pdftitle {
    font-weight: bold;
    line-height: 1.33333333;
}
.filetype {
    font-size: calc(10px + 0.10416667vw);
    margin-top: 5px;
}
#row4 a {
    text-decoration:none;
    color: #1A1818;
}
@media screen and (max-width: 799px) {
    .pdfcolumn {   
        width: calc(5.80729167vw + 111.5px);
    }
}
/*--------------------------------------------------------------
# Row 2
--------------------------------------------------------------*/
#leftimages2 {
    margin-top: -6.75vw;
    margin-bottom: 1vw;
}
#rightimages2 {
    margin-top: 3vw;
}
#leftrow2, #rightrow2 {
    width: 50%;
}
#leftrow2 {
    padding-right: 3vw; 
}
#rightrow2 {
    padding-left: 3vw;
}
#imageone2 {
    width: calc(14.55729167vw + 279.5px);
}
#imagethree2 {
    width: 21.5vw;
    position: relative;
    top: 4vw;
}
#imagetwo2 {
    width: calc(12.41666667vw + 180px);
    position: absolute;
    margin-left: 3vw;
    right: 2.5vw;
    bottom: 3vw;
  z-index: 999;
}
#row2in {   
  width: 1340px;
  margin: auto;
    max-width: calc(100% - 40px);
    display: flex;
}
#backrow {
   height: 200vh;
  background-color: #1b6a97;
  position: absolute;
  z-index: -1;
    width: 100%;
  left: 0;
  top: 0;
}
#row2 {
    margin-top: -35vw;
   background-image: url(/wp-content/uploads/2025/06/OCIL-block2-top.png);
  background-size: 100% 100%;
    padding: calc(10px + 2vw);   
    color: #fff;
    font-size: calc(10px + 0.9375vw);
    font-weight: bold;
    line-height: 1.42857143;
    position: relative;
}
#lpersonname2, #rpersonname2 {
    font-weight: normal;
    font-size: calc(10px + 0.52083333vw);
    margin-top: 7px;
}
@media screen and (max-width: 1799px) {
        #row2 {
            margin-top: -39vw;
        }
}
@media screen and (max-width: 1299px) {
        #row2 {
            margin-top: -33vw;
        }
}
@media screen and (max-width: 1099px) {
        #row2 {
            margin-top: -36vw;
        }
}
@media screen and (max-width: 999px) {
        #row2 {
            margin-top: -50vw;
        }
}
@media screen and (max-width: 899px) {
        #row2 {
            margin-top: -54vw;
        }
    #backrow {
       height: 100vh;
    }
}
@media screen and (max-width: 799px) {
        #row2 {
            margin-top: -57vw;
        }
}
@media screen and (max-width: 699px) {
        #row2 {
            margin-top: -64vw;
        }
}
@media screen and (max-width: 599px) {
        #row2 {
            margin-top: -75vw;
        }
}
@media screen and (max-width: 499px) {
        #row2 {
            margin-top: -79vw;
        }
}
/*--------------------------------------------------------------
# Row 3
--------------------------------------------------------------*/
#esriMapWrapper.is-fullscreen #esriMapFilters {
    max-height: 100%;
    overflow: auto;
}

.mapvideo {
    display: none;
    margin: auto;
  left: 0;
  right: 0;
  width: 100vw;
  height: 80vh;
  position: fixed;
  top: 10vh;
  z-index: 9999;
  max-width: 90vw;
    text-align: center;
    pointer-events: none;
}
.maptext {
    display: inline-block;
  width: calc(100% - 40vh);
  vertical-align: top;
  max-width: 40vh;
  text-align: left;
  margin-right: 20px;
  background-color: #fff;
  padding: 20px;
  height: 100%;
  font-size: calc(10px + 0.25641026vw);
    overflow: auto;
}
.mapvideoin {
    width: 40vh;
    height: 100%;
    display: inline-block;
  margin: auto;
  vertical-align: top;
}
.mapvideo iframe{
    width: 100%;
    height: 100%;
}
.esri-popup__main-container, .esri-popup {
    max-width: 262px;
  border-radius: 30px;
    z-index: 2147483647 !important;
}
.esri-feature__content-element {
    margin-bottom: 0 !important;
}
.esri-widget__heading {
    background-color: #fff;
  line-height: 20px;
  position: absolute;
  margin-bottom: -20px;
  top: 40px;
  width: 300px;
  left: 0;
  text-indent: -9999px;
}
.esri-view-height-less-than-medium .esri-popup__main-container {
  max-height: 330px !important;
}
.esri-feature-content p:first-child {
    width: 171px;
}
.esri-feature-content img {
    cursor: pointer;
}
calcite-action-bar {
    display: none !important;
}
.is-fullscreen #esriMapFilters {
    top: 0;
}
.is-fullscreen #titlelegenddiv {
    padding-top: 0;
}
#titlelegenddiv {
    color: #1B6A97;
    font-weight: bold;
    font-size: calc(10px + 0.7vw);
    line-height: 1.28571429;
    padding-top: calc(100px + 5.20833333vw);
    display: block;
}
#legendbutton {
    position: absolute;
  top: 10px;
  right: 2.5vw;
  z-index: 999;
  color: #1B6A97;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
    background-color: #fff;
  padding: 3px 29px 3px 9px;
  background-image: url(/wp-content/uploads/2025/07/downarrow.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}
#legendbutton.visible {
    background-image: url(/wp-content/uploads/2025/07/uparrow.png);
}
.languagepopup {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    position: absolute;
    top: 0;
    right: calc(15vw + 185px);
    z-index: 998;
    width: 400px;
  background-color: #fff;
  padding: 25px;
    border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
    font-size: calc(10px + 0.52083333vw);
    background-image: url(/wp-content/uploads/2025/06/backfoot.webp);
  background-size: 200%;
  background-repeat: no-repeat;
  background-position: bottom -200px center;
  min-height: 400px;
}
.languagepopup.showpop {
    opacity: 1;
    visibility: visible;
   pointer-events: all;
    display: block;
    transition: all .25s ease-in-out; 
}
.languagepopup h2{
    font-size: calc(10px + 0.9375vw);
    margin-bottom: 0;
}
.closepopups {
    cursor: pointer;
    width: 30px;
    position: relative;
    top: 5px;
}
#row3 {
    background-image: url(/wp-content/uploads/2025/06/mapback.webp);
    background-size: cover;
    position: relative;
}
#row3in {
}
#viewDiv {
    height: 100%;
}
.esri-attribution, .esricolon {
    display: none !important;
}
#row3after {
    background-image: url(/wp-content/uploads/2025/06/semi-scaled.webp);
  background-position: top center;
  background-size: cover;
  color: #fff;
}
#row3afterin {
    width: 660px;
  margin: auto;
  padding: 60px 20px;
    max-width: 100%;
}
#row3afterin h2 {
    color: #fff;
  margin-bottom: 0;
  font-size: calc(10px + 0.9375vw);
}
#esriMapFilters div:nth-child(2) label:after{
    display: inline-block;
  content: "";
  width: 22px;
  height: 24px;
  background-image: url(/wp-content/uploads/2025/07/question.webp);
  position: absolute;
  right: 5vw;
    top: 6px;
  background-repeat: no-repeat;
  background-size: contain;
    cursor: pointer;
    pointer-events: all;
    display: none; /*TEMPORARY*/
}
#esriMapFilters div:last-child{
    display: flex;
  flex-wrap: wrap;
    column-gap: 20px;
    border-top: 1px solid #1A1818;
  margin-top: 20px;
    font-size: calc(10px + 0.2vw);
    line-height: 2;
}
#esriMapFilters div:last-child h2{
    width: 100%;
}
#esriMapFilters div:last-child .radio-esri-filter-item:first-child  {
    order: 0;
}
#esriMapFilters div:last-child.radio-esri-filter-item:nth-child(2n)  {
    order: 2;
}
#esriMapFilters div:last-child .radio-esri-filter-item:nth-child(3n)  {
    order: 2;
}
#esriMapFilters div:last-child .radio-esri-filter-item:nth-child(4n)  {
    order: 4;
}
#esriMapFilters div:last-child .radio-esri-filter-item:nth-child(5n)  {
    order: 1;
}
#esriMapFilters {
      position: absolute;
    top: calc(-120px - 8vw);
  right: 2.5vw;
    background-color: #fff !important;
    width: calc(12.41666667vw + 180px);
    border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
    padding: 25px !important;
}
.checkbox-esri-filter-item {
    margin-left: -15px;
    margin-bottom: 10px;
  display: block;
    position: relative;
}
.checkbox-esri-filter-item label{
    margin-left: 44px;
    pointer-events: none;
}

#esriMapFilters h2{
    margin-bottom: 10px;
    font-size: calc(10px + 0.52083333vw);
}
#esriMapFilters input[type="checkbox"] {
    appearance: none;
  cursor: pointer;
  width: 33px;
  height: 27px;
  background-image: url(/wp-content/uploads/2025/07/eyec.webp);
  background-size: contain;
    top: 5px;
    margin-right: 10px !important;
    position: relative;
}
#esriMapFilters input[type="checkbox"]:checked {
  background-image: url(/wp-content/uploads/2025/07/eyeo-2.webp);
}
#esriMapFilters input[type="radio"] {
    accent-color: #000;
  transform: scale(1.7);
    margin-right: 15px !important;
    top: -2px;
}
.radio-esri-filter-item {
    width: 50%;
    display: inline-block;
    margin-bottom: 5px;
    margin-left: -10px;
}
#esriMapFilters .checkbox-esri-filter-item input:after {
    content: "";
    width: 32px !important;
  height: 32px !important;
  border-radius: 32px;
  position: absolute;
  margin-left: 46px;
  margin-top: -3px;
}
#esriMapFilters input[value="Algonquian"]:after {
  background-color: #248332;
}
#esriMapFilters input[value="Athabaskan"]:after {
  background-color: #E46D14;
}
#esriMapFilters input[value="Iroquoian"]:after {
  background-color: #17AA9D;
}
#esriMapFilters input[value="Siouan"]:after {
  background-color:#FFB400;
}
#esriMapFilters input[value="Salish"]:after {
  background-color: #83D1E4;
}
#esriMapFilters input[value="Michif"]:after {
  background-color: #E82727;
}
#esriMapFilters input[value="Tsimshian"]:after {
  background-color: #1B6A97;
}
#esriMapFilters input[value="Wakashan"]:after {
  background-color: #1E6D5C;
}
#esriMapFilters input[value="Tlingit"]:after {
  background-color: #AE0721;
}
#esriMapFilters input[value="Kutenai"]:after {
  background-color: #A70A5E;
}
#esriMapFilters input[value="Haida"]:after {
  background-color: #FA1B95;
}
#esriMapFilters input[value="Inuit"]:after {
  background-color: #9EDD23;
}
@media screen and (max-width: 1023px) {
    #imagetwo2 {
        width: 21%;
    }
    #legendbutton.show {
        display: block;
    }
        #row3in {
        }
    #esriMapWrapper {
        height: 50vh !important;
    }
    #esriMapFilters {
        top: 0;
    }
    #titlelegenddiv {
        padding-top: 20px;
    }
    #row3afterin {
        text-align: center;
    }
    #esriMapFilters {
        display: none;
        width: 307px;
    }
    #esriMapFilters.visible {
        display: block;
    }
    .languagepopup {
        right: calc(2.5vw + 312px);
        width: 307px;
    }
}
@media screen and (max-width: 699px) {
    .radio-esri-filter-item {
        margin-bottom: 10px;
    }
    .languagepopup {
        right: 2.5vw;
    }
    .responsivelayer {
        display: flex;
      flex-wrap: wrap;
      overflow: scroll;
      height: 90vh;
    }
    .maptext {
        width: 100%;
      order: 1;
      margin: 10px auto;
      max-width: inherit;
      height: auto;
    }
    .mapvideoin {
        width: 100%;
      height: 80vh;
      order: 0;
    }
    .closevideo.popupsmapv {
        display: none;
    }
    html body #row3in #esriMap .esri-ui .esri-popup {
        bottom: 0 !important;
      left: 0 !important;
        inset: auto !important;
    }
}
@media screen and (max-width: 499px) {
    #row2in {
        max-width: 100%;
    }
    #imagethree2 {
      width: calc(63px + 17vw);
    }
    #leftimages2 {
      margin-top: -12vw;
    }
    #rightquote2 {
        margin-top: 19vw;
    position: relative;
    top: -10vw;
    }
    #imagetwo2 {
        position: absolute;
  left: 0;
  bottom: -2vw;
    width: 126px;
    }
}
/*--------------------------------------------------------------
# Image Preload
--------------------------------------------------------------*/
body::before {
  position: absolute;
    top: -9999px;
    left: -9999px;
  background-image: url(/wp-content/uploads/2025/07/eyec.webp), url(/wp-content/uploads/2025/07/downarrow.png);
    content: ""
}