/* Layout
--------------------------------------------- */
body {
    background-color: #fbfbfb;
}

.site-inner {
    padding-top: 0;
}

.narrow-col {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}



/* Header
--------------------------------------------- */
.site-header {
    background-color: #222;
    background-image: url(../../../wp-content/uploads/2019/08/banner_main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    min-height: 300px;
}

.site-title {
    font-family: futura-pt, Lato, sans-serif;
    height: 129px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    text-align: center;
    text-transform: none;
    width: 325px;
}

.site-title a:link,
.site-title a:visited,
.site-title a:hover,
.site-title a:focus,
.site-title a:active {
    color: rgba(255, 255, 255, 0);
    display: block;
    height: 183px;
    width: 325px;
}

/* Banner bg image for english version */
.site-title a {
    /*background: url(../../../wp-content/uploads/2020/02/treatyTitle-300px-1.png) no-repeat 0 0;  */
	background: url(../../../wp-content/uploads/2021/09/treatyTitle-300px-AN.png) no-repeat 0 0;
}

/* Banner bg image for french version */
.site-title a[href*="lang=fr"] {
    /*background: url(../../../wp-content/uploads/2020/02/treatyTitle-300px-fr-1.png) no-repeat 0 0;*/
    background: url(../../../wp-content/uploads/2021/09/treatyTitle-300px-FR.png) no-repeat 0 0;
}




/* Navigation
--------------------------------------------- */
.nav-primary {
    background-color: #300;
}

.nav-tertiary {
    background-color: #000;
}

.genesis-nav-menu > .menu-item > a {
    font-size: 1.2em;
    font-weight: bold;
}

.genesis-nav-menu .sub-menu a {
    font-size: 14px;
}


/* Page navigation styles */

.nav-pages {
	text-align: right;
}

.nav-pages a {
    margin: 1rem;
}

/* .nav-pages a img {
    border: 1px solid;
    border-color: rgba(204, 102, 0, 0.486);
} */

.nav-pages a img:hover {
    opacity: 0.8;
}




/* Sidebars
-------------------------- */
.sidebar.sidebar-primary .widget {
    background-color: transparent;
}

.sidebar-primary {
    margin-top: 2.5rem;
    padding-top: 39px;
}

.sidebar-primary section:last-of-type {
    margin-top: -39px;
}

.sidebar-primary .sub-menu {
    display: none;
}


.sidebar li.current-menu-item a {
    color: #B25136;
}

.sidebar li a {
    color: #ddd;
}


/* Sidebar TOC styles */

ul[id*="menu-grade-3-toc"] .menu-item-has-children .sub-menu li,
ul[id*="menu-grade-4-toc"] .menu-item-has-children .sub-menu li,
ul[id*="menu-grade-5-toc"] .menu-item-has-children .sub-menu li {
    font-weight: normal;
}
ul[id*="menu-grade-3-toc"] li,
ul[id*="menu-grade-4-toc"] li,
ul[id*="menu-grade-5-toc"] li {
    font-weight: bold;
}

.sidebar li.current-menu-item a:link,
.sidebar li.current-menu-item a:visited,
.sidebar li.current-menu-item a:hover,
.sidebar li.current-menu-item a:active {
    color: #B25136;
}

.sidebar li a:link,
.sidebar li a:visited {
    color: #262525;
}

.sidebar li a:hover {
	color: #B25136;
}

.sidebar li a:active {
	color: #262525;
}




/* Typography
-------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.home h1.entry-title {
    margin-bottom: 0.67em;
}

h1.entry-title {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75em; /* 28px */
    margin-top: 3rem;
}

.entry-content h2 {
    margin-bottom: 1.625rem; /* 26px */
}

.entry-content h2.no-margin-top {
	margin-top: 0;
}

.entry-content h2 + h3 {
	margin-top: 1rem;
}

.entry-content ol + h3 {
    margin-top: 0;
}

h3 {
    font-size: 1.25em; /* 20px */
    margin-top: 3rem;
    text-transform: none;
    margin-bottom: 1.2rem;
}

h4 {
	font-size: 1.125em; /* 18px */
}

h5 {
	font-size: 1em; /* 16px */
}

h6 {
	font-size: 1em; /* 16px */
}

.entry-content {
    font-size: 1.125em; /* 18px */
}

.has-drop-cap:not(:focus):first-letter {
    margin-bottom: 0.1em;
}

.entry-title,
.first-line {
    color: #672f25;
}

blockquote {
    color: dimgray;
    font-style: italic;
}

blockquote::before {
	content: "";
}

cite {
    display: block;
	text-align: right;
}

.note {
    border: 2px solid #B7B6B6;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.last-updated {
    text-align: center;
}


/* Language styles */
/* Mi'kmaq */
.lang-mi {
    color: #345d9d;
    font-weight: 700;
}

/* Passamaquoddy */
.lang-pa {
    color: #38d430;
    font-weight: 700;
}

/* Wabanaki */
.lang-wa {
    color: #533278;
    font-weight: 700;
}

/* Wolastoqewikyik */
.lang-wo {
    color: #b2292e;
    font-weight: 700;
}

table[class*="lang-mi"] tbody tr td:first-of-type > span {
    background-color: #345d9d;
    border-radius: 50%;
    color: white;
    padding: 7px 12px;
}

table[class*="lang-wo"] tbody tr td:first-of-type > span {
    background-color: #b2292e;
    border-radius: 50%;
    color: white;
    padding: 9px;
}

.underline {
    text-decoration: underline;
}



/* Links
-------------------------- */
.content a[href] {
    word-wrap: break-word;
}

.content a:link {
    color: #600;
    text-decoration: underline;
}

.content a:visited {
    color: #c60;
    text-decoration: underline;
}

.content a:hover,
.content a:active {
    color: #600;
    text-decoration: none;
}

.content a.ab-button:link,
.content a.ab-button:visited,
.content a.ab-button:hover,
.content a.ab-button:focus,
.content a.ab-button:active {
    text-decoration: none;
}

.content a[rel*="modal"]:link,
.content a[rel*="modal"]:visited,
.content a[rel*="modal"]:hover,
.content a[rel*="modal"]:focus,
.content a[rel*="modal"]:active {
    text-decoration: none;
}




/* Lists
-------------------------- */
.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-content ol ol,
.entry-content ol ul,
.entry-content ul ul,
.entry-content ul ol {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.entry-content ul ul li {
list-style-type:circle;
}

.entry-content ol[type="A"] > li {
    list-style-type: upper-alpha;
    padding-bottom: 0.8rem;
}

.entry-content ol[type="A"] > li > ul {
    padding-bottom: 0.8rem;
}

/* Activity General Curriculum Outcomes lists */
.entry-content ul.general-curriculum-outcomes li {
    list-style: none;
}

.entry-content ul.general-curriculum-outcomes li span:not([class^='lang']) {
    margin-left: -18px;
}

ul.no-bullets li {
    list-style-type: none;
}

/* References */
.entry-content ul.references {
    margin-left: 1em;
    margin-top: -1em;
}

.entry-content ul.references > li {
    list-style: none;
    margin-bottom: 1em;
    text-indent: -1em;
}

.entry-content ol > li {
    padding-bottom: 0.5rem;
}



/* Tables
-------------------------- */
table {
    border-top: 1px solid #ddd;
}

table th {
    background-color: #d1c0bd;
    color: #672f25;
    font-weight: bold;
    text-transform: none;
}

table th,
table td {
    border: 1px solid #ddd;
    line-height: 1.6;
    padding: 0.5em;
    vertical-align: top;
}

table caption {
    color: #000;
    font-size: 1.125em; /* 18px */
    font-weight: 700;
}

.entry-content td ol,
.entry-content td ul {
    margin-left: 20px;
}

table.cols-halves td {
    width: 50%;
}

table.cols-thirds td {
    width: 33%;
}

table.cols-fourths td {
    width: 25%;
}

table.cols-fifths td {
    width: 20%;
}

table a[href] {
    word-break: break-all;
}

table[class*="communities-"]{
	color: #000;
	font-weight: normal;
}

table#communities-mi tbody tr td:first-of-type > span {
    background-color: #345d9d;
    border-radius: 50%;
    color: white;
    padding: 9px 14px;
}

table#communities-wo tbody tr td:first-of-type > span {
    background-color: #b2292e;
    border-radius: 50%;
    color: white;
    padding: 9px;
}




/* Images
-------------------------- */
.img-border figure img,
figure > img.img-border {
    border: 1px solid #222;
}

figure.wp-block-image {
    margin-bottom: 24px;
    margin-top: 24px;
}

.wp-block-image figcaption {
    color: #333;
    font-size: 0.8em;
}

/* Banners for lessons */
.banner-lesson.wp-block-cover {
    align-items: flex-end;
    min-height: 300px;
    margin: 0 0 2.5em;
    width: 100%;
}

.banner-lesson.wp-block-cover.wp-block-cover .wp-block-cover__inner-container {
    /*background-color: rgba(255,255,255,0.7);*/
    color: #000;
    font-weight: bold;
    padding: 24px 24px 0 24px;
    width: 100%;
}




/* Breadcrumbs
-------------------------- */
.breadcrumb {
    margin-top: 1.4rem;
}




/* Accordions
-------------------------- */
.ab-block-accordion {
    background-color: rgba(178, 81, 54, 0.1);
    margin-bottom: 3em;
}


.ab-block-accordion .ab-accordion-title {
	background: #b25136 url('images/angle-down-solid-white-down.svg') center right 10px no-repeat;
    background-size: 20px;
	color: #fff;
}

    .ab-block-accordion details[open] .ab-accordion-title {
    background-image: url('images/angle-down-solid-white-up.svg');
    }





/* Animations
-------------------------- */
.storyline-embed {
    border: none;
	height: 0;
	/* margin-top: 2em; */
	margin-bottom: 2em;
	padding-bottom: 65%;
	position: relative;
	width: 100%;
}

.storyline-embed iframe {
    border: none;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.storyline-fullscreen {
	margin-top: -2em;
	padding-right: 2em;
	text-align: center;
}




/* Home page Grades Navigation
-------------------------- */
.home-grades-nav figure img {
    border: 3px solid #fff;
}

.home-grades-nav figure img:hover {
    border-color: #B7B6B6;
}






/* Misc
-------------------------- */
.apps-download {
    margin-bottom: 3em;
    margin-top: 3em;
}

.mt-0 {
	margin-top:0 !important;
}




/* Widgets
-------------------------- */
.widget-title {
    color: #262525;
}




/* Sub-Footer
-------------------------- */
.sub-footer {
    background-color: #fbfbfb;
}

.sub-footer-left,
.sub-footer-middle,
.sub-footer-right {
    text-align: center;
}



/* Footer
-------------------------- */
.site-footer {
    background-color: #fbfbfb;
    border-top: none;
}




/* Buttons
-------------------------- */
.btn-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    background-color: #b25136;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 4.9rem;
    outline: none;
    padding: 15px;
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.btn-top:hover {
    background-color: #BC6850;
}

/* Modal
-------------------------- */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    /* width: 80%; */
    max-width: 700px;
}



/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
/* .modal a[rel="modal:close"] {
    display: block;
    text-align: center;
} */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Spacing
-------------------------- */
.block-quote-slim {
    margin: -20px 40px 40px 40px !important;
}
.p-slim {
    margin-bottom: 0.2rem !important;
}



/*
 *************************
 Media queries
 *************************
*/


@media only screen and (max-width: 600px) {
    .genesis-nav-menu.responsive-menu .sub-menu li a,
    .genesis-nav-menu.responsive-menu .sub-menu li a:hover {
		color: #000;
		line-height: 1.4;
	}
}


@media only screen and (min-width: 861px) {
    .nav-tertiary .genesis-nav-menu {
        text-align: right;
    }

    .sidebar-primary .sub-menu .menu-item {
        margin-left: 40px;
        text-indent: -15px;
    }

    .jquery-modal .modal {
        max-width: none;
        width: auto;
    }

    /* Sub-Footer */
    .sub-footer-left,
    .sub-footer-middle,
    .sub-footer-right {
        float: left;
        width: 33%;
    }

    .sub-footer-left {
        text-align: right;
    }

    .sub-footer-middle {
        text-align: center;
    }

    .sub-footer-right {
        text-align: left;
    }

    .sub-footer-middle img,
    .sub-footer-right img {
        margin-top: 13px;
    }

}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}


/* Primary navigation styles */

@media only screen and (min-width: 601px) {
    #menu-primary-navigation.genesis-nav-menu {
        text-align: left;
    }
}


@media only screen and (max-width: 860px) {
	.nav-primary .wrap {
			padding-left: 0;
			padding-right: 0;
	}

	.genesis-nav-menu.responsive-menu .sub-menu {
		background-color: #eee;
	}
}

@media only screen and (min-width: 861px) {

    .genesis-nav-menu > .menu-item > a {
        font-size: 1.2em;
        padding: 18px 32px;
    }

    /* Site Banner */
    .site-title {
        width: 791px;
    }

    .site-title a:link,
    .site-title a:visited,
    .site-title a:hover,
    .site-title a:focus,
    .site-title a:active {
        height: 183px;
        width: 791px;
    }

    /* Banner bg image for english version */
    .site-title a {
        background: url(../../../wp-content/uploads/2020/02/treatyTitle.png) no-repeat 0 0;
    }

    /* Banner bg image for french version */
    .site-title a[href*="lang=fr"] {
        background: url(../../../wp-content/uploads/2020/02/treatyTitle-fr.png) no-repeat 0 0;

    }


    ul[id*="menu-primary-navigation"].genesis-nav-menu .sub-menu {
        width: 350px;
    }

    ul[id*="menu-primary-navigation"].genesis-nav-menu .sub-menu .sub-menu {
        margin: -94px 0 0 349px;
    }

    ul[id*="menu-primary-navigation"].genesis-nav-menu .sub-menu a {
        width: 350px;
    }
}




.icon-ia { background:url(../../../wp-content/uploads/2021/09/icon-Interactives-activities.svg) top left no-repeat; background-size:contain; }
li.icon-ia { padding-left:24px; }
h1.icon-ia { padding-left:36px; }

.well { border:1px solid #aaa; margin-bottom:26px; padding:30px; }
.well.bc-brown { border:2px solid #b25136 !important; }
.well.no-border { border:0 !important; }
.well :first-child { margin-top:0 !important; }
.well :last-child { margin-bottom:0 !important; }



.wp-block-embed-youtube.aligncenter iframe { display:block; margin:0 auto; }

.white-links a { color:#fff !important; }



.mb-0 { margin-bottom:0 !important; }
.mt-0 { margin-top:0 !important; }
