body
{
	margin: 0px;
}

p, h1, h2, h3, a, span, label, input, ul, ol, table, div
{
    font-family: 'Montserrat', sans-serif;
	font-size: 1.0em;
}

/* Core Formatted Types */

h1 
{
	font-size: 3.0em;
	margin-top: 16px;
}

h2 
{
	font-size: 1.5em;
	margin-top: 4px;
}

h3
{
	font-size: 1.25em;
	margin-top: 4px;
}


p
{
	margin-bottom: 15px;
	margin-left: 5px;
	margin-right: 5px;
	text-align: justify;
	color: #222;
}

img
{
	margin: 0px;
}

/* Hyperlinks */
 a:link
{
	font-weight: bold;
	color:	#e0e1dd;
	text-decoration: none;
}

 a:active
{
	color:	#d0ac3c;
	text-decoration: none;
}

a:visited
{
	color:	#e0e1dd;
	text-decoration: none;
}

a:hover
{
	color:	#deb841;
	text-decoration: none;
}

hr
{
	width: 40%; 
	margin: 5px auto; 
	border-width: 1px;
	color: #ccc;
}

h1,h2,h3,h4,h5,h6
{
	font-family: 'Questrial', sans-serif;
	color: #3b516c;
	margin-bottom: 2px;
}

ol,ul,dl
{
	padding-bottom: 15px;
    padding-left:40px;
	margin-left: 5px;
	margin-right: 5px;
	text-align: left;
}

li
{
	color:	#222;
}

/* Forms and such */
form
{
}

table iframe
{
	width: 100%;
}

table
{
	color:	#222;
	width: 95%;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}

table
{
	width: 80% !important;
	border-collapse:collapse;
}

table, th, td 
{
    border: solid 1px #110c0f;
	padding: 15px;
}

tr
{
	background-color: #dddddd;
}

tr:nth-child(2n)
{
	background-color: #ffffff;
}

tr p
{
	text-align: left;
}

th
{
	font-size: 1.0em;
}

/****** Formatted Page ******/
div.FormattedPage
{
	width: 85%;
	margin: 0px auto;
}

div.FormattedPage div.PageTitle
{
	display: 100%;
	position: relative;
	margin-bottom: 20px;
}


div.FormattedPage .PageTitle h1
{
	display: block;
	font-family: 'Questrial', sans-serif;
	background-color: white;
	color: #3b516c;
	padding: 10px;
	padding-bottom: 0px;
	margin-bottom: 0px;
  
}

div.FormattedPage .PageTitle h2
{
	font-family: 'Questrial', sans-serif;
	display: block;
	font-weight: normal;
	line-height: 1.0;
	font-style: oblique;
	margin-top: 0px;
	color: #3b516c;
	padding: 10px;
	margin: 0px;
	padding-top: 0px;
	background-color: white;
	}

div.FormattedPage div.PageFooter
{
	display: 100%;
	position: relative;
	height: 30px;
	margin-bottom: 10px;
}

/* Links to the contact details */
div.FormattedPage  a:link
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.FormattedPage  a:active
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.FormattedPage  a:visited
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.FormattedPage a:hover
{
	color:	#deb841;
	text-decoration: none;
}

div.FormattedPage div.PageNumbers p 
{
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

div.FormattedPage div.PageNumbers
{
	text-align: center;
}

div.FormattedPage div.PageNumbers span
{
	padding: 2px;
}

div.FormattedPage img
{
	margin: 20px;
}

table.EditTable
{
	background-color: gray;
	width: 80%;
	margin: auto;
}
table.EditTable input
{
	width: 100%;
}

table.EditTable iframe
{
	width: 100%;
}

blockquote
{
	font-style: italic;
	font-family: 'Montserrat', sans-serif;
	padding: 2px 0;
	border-style: solid;
	border-color: #ccc;
	border-width: 0;
	padding-left: 20px;
	padding-right: 8px;
	border-left-width: 5px;
	margin-bottom: 15px;
}

.cke_contents_ltr blockquote
{
	padding-left: 20px;
	padding-right: 8px;
	border-left-width: 5px;
}

.cke_contents_rtl blockquote
{
	padding-left: 8px;
	padding-right: 20px;
	border-right-width: 5px;
}

.clearfix 
{
  overflow: auto;
}

div.Notification p
{
	color: white;
	text-align: center;
	margin: 10px;
}
div.ImportantNotice p
{
	color: white;
	text-align: center;
	margin: 10px;
}

div.MainContainer
{
	padding: 0px;
}

div.Header
{
	position: absolute;
	top: 0;
	width: 100%;
}

div.Header div.KJName
{
	display: inline-block;
	height: 100%;
	text-align: center;
}

div.Header div.KJName h1 
{
	font-family: 'Questrial', sans-serif;
	color: #ffffff;
	font-size: 41px;
	line-height: 35px;
	width: 245px;
	margin-top: 10px;
	margin-bottom: 10px;
}
div.Header div.KJName h1 a:link, div.Header div.KJName h1 a:hover, div.Header div.KJName h1 a:visited,
div.Header div.KJName h3 a:link, div.Header div.KJName h3 a:hover, div.Header div.KJName h3 a:visited
{
	font-family: 'Questrial', sans-serif;
	color: #ffffff;
	font-weight: normal;
}
/* Element | http://kingjames1academy.com/boxtest/ */

div.Header div.KJName h3.LearningTo 
{
  color: white;
  font-style: italic;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: normal;
  font-size: 1.0em;
  line-height: 0px;
  opacity: 0;
}

div.Header div.KJName h3.LearningTo:nth-child(2)
{
	opacity: 1;
}



div.UpperRightPanel
{
	height:100%;
	display: inline-block;
	float: right;
	color: #e0e1dd;
}

div.UpperRightPanels
{
	display: inline-block;
	color: #e0e1dd;
	text-align: right;
	vertical-align: top;
}


/* Hyperlinks */
 div.UpperRightPanel a:link
{
	font-weight: bold;
	color:	#e0e1dd;
	text-decoration: none;
}

 div.UpperRightPanel a:active
{
	color:	#d0ac3c;
	text-decoration: none;
}

div.UpperRightPanel a:visited
{
	color:	#e0e1dd;
	text-decoration: none;
}

div.UpperRightPanel a:hover
{
	color:	#deb841;
	text-decoration: none;
}


div.HeaderTop
{
	height: 108px;
	background-color: rgba(17, 12, 15, 0.75);
}

div.HeaderBottom
{
	background-color: #110c0f;
}

/* style2019.css | http://kingjames1academy.com/style2019.css?1234 */


div.HeaderBottom .FlexBox
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
}

div.HeaderTop img.Logo
{
	float: left;
	width: 151px;
	margin: 0px 28px;
}

div.UpperRightPanel img
{
	height: 108px;
	width: 108px;
	margin: 0px 0px;
}

div.UpperRightPanel ul
{
	display: inline-block;
	list-style: none;
	margin: 0px;
	padding: 5px;
	vertical-align: top;
}

div.UpperRightPanel ul li
{
	display:inline-block;
}

div.UpperRightPanel a
{
	color: #e0e1dd;
	text-decoration: none;
	font-weight: bold;
}

div.QuickLaunchMobile
{
	display: none;
	background-color: rgba(17, 12, 15, 0.75);
	color: #e0e1dd;
	height: 40px;
	
}

div.QuickLaunchMobile ul
{
	float: right;
	display: inline-block;
	list-style: none;
	margin: 0px;
	vertical-align: top;
	padding: 10px;
	white-space: nowrap;
}

div.QuickLaunchMobile a
{
	color: #e0e1dd;
	text-decoration: none;
	font-weight: bold;
}


div.QuickLaunchMobile ul li
{
	display:inline-block;
}

div.Banners
{
	display: block;
	width: 100%;
	height: calc(33vw + 260px);
	background-color: #e0e1dd;
	position: relative;
	overflow: hidden;
}


div.ResizableBanner
{
	display: block;
	width: 100%;
	height: calc(33vw + 260px );
	position: absolute;
}

div.ResizableBannerContents
{
	color: white;
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-size:     cover; 
	background-position: center 50%
}

div.Banners h2
{
	color: white;
}
div.ResizableBannerContents .Controls
{
	padding: 2px;
	padding-top: 170px;
	color: black;
	overflow: scroll;
	overflow-x: scroll;
	overflow-x: hidden;
	background: rgba(255,255,255,0.6);
	
	display: -ms-grid;
	
	display: grid;
	-ms-grid-columns: 1fr 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 20px 20px;
}

div.ResizableBannerContents label
{
	display: block;
}
div.ResizableBannerContents input
{
	width: 100%;
}

div.ResizableBannerContents textarea
{
	width: 100%;
	resize: none;
}



div.ResizableBannerContents .BannerTextBox
{
  left: 20px;
   width: 30%;
  position: absolute;
  bottom: 20px;
  background: -o-linear-gradient(290deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.2) 100%);
  background: linear-gradient(160deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.2) 100%);
  margin: 10px;
}



div.ResizableBannerContents .BannerTextBox h2
{
	font-family: 'Questrial', sans-serif;
	line-height: 32px;
	margin: 10px;
	font-size: 2em;
}



div.ResizableBannerContents .BannerTextBox p
{
	margin: 10px;
	font-size: 1em;
	text-align: justify;
	color: white;
}

div.ResizableBannerContents .BannerTextBox li
{
	margin: 10px;
	font-size: 1em;
	text-align: justify;
	color: white;
}


div.ResizableBannerContents .BannerTextBox a
{
	margin: 10px;
	font-size: 1em;
	color: white;
}

div.Notification
{
	background-color: #110c0f;
	color: white;
    	text-align: center;
   	padding: 5px;
	font-size: 1em;

}

div.Notification h2
{
	margin: 10px;
	font-size: 1.4em;
	color: white;

}


/* Important notice for displaying weather warnings and such */
div.ImportantNotice
{
	display: flex;
	background-color: red;
	color: white;
	padding: 10px;
	font-size: 1em;
}

div.ResizableBox
{
	display: inline-block;
}

div.ResizableBox a, div.ResizableBox p, div.ResizableBox h1, div.ResizableBox h2, div.ResizableBox h3, div.ResizableBox a:visited, div.ResizableBox a:link
{
	color: white;
	margin: 0px;
	text-align: left;
	margin-bottom: 10px;
	
}

div.ResizableBox a:hover
{
	color: orange;
}

div.ResizableBox h2
{
	margin: 0px;
	max-height: 50px;
	overflow: hidden;
	margin-bottom: 5px;
}

/*1: Small image only
2: Small text only
3: Small mixed
4: Small mixed reverse
5: Medium image only
6: Medium text only
7: Medium mixed
8: Medium mixed reverse
9: Large image only
10: Large text only
11: Large mixed
12: Large mixed reverse*/


div.Boxes
{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	grid-gap: 20px 20px;
	grid-auto-rows: 1fr;	
	margin: 20px 0px;
}

div.ResizableBox
{
	width: 100%;
	height: 100%;
}
div.ResizableBox1
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 1;
	grid-row: span 1;
}

div.ResizableBox2
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 1;
	grid-row: span 1;
}

div.ResizableBox3
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 1;
	grid-row: span 1;
}

div.ResizableBox4
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 1;
	grid-row: span 1;
}

div.ResizableBox5
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox6
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox7
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox8
{
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox9
{
	-ms-grid-column-span: 3;
	grid-column: span 2;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox10
{
	-ms-grid-column-span: 3;
	grid-column: span 2;
	-ms-grid-row-span: 3;
	grid-row: span 2;
	
}

div.ResizableBox11
{
	-ms-grid-column-span: 3;
	grid-column: span 2;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}

div.ResizableBox12
{
	-ms-grid-column-span: 3;
	grid-column: span 2;
	-ms-grid-row-span: 3;
	grid-row: span 2;
}



div.ResizableBox
{
	width: 100%;
	height: 100%;
	position: relative;
}


div.ResizableBoxContents
{
	color: #ffffff;
	height: 100%;
	width: 100%;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 50% 50%;
	grid-template-columns: 50% 50%;
}

div.IEDiv
{
	height: 100%;
	position: relative;
}

@media all and (-ms-high-contrast:none)
{
     div.IEDiv
	{
		height: 100%;
		margin-right: 20px;
		margin-bottom: 20px;
	}
}

div.ResizableBox2 .ResizableBoxContents > *:nth-child(1), div.ResizableBox3 .ResizableBoxContents > *:nth-child(1) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}	 

div.ResizableBox2 .ResizableBoxContents > *:nth-child(2), div.ResizableBox3 .ResizableBoxContents > *:nth-child(2) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 2;
}	 


div.ResizableBox1 .ResizableBoxContents, div.ResizableBox4 .ResizableBoxContents 
{
	-ms-grid-columns: 2fr;
	grid-template-columns: 2fr;
	-ms-grid-rows: 1fr;
	grid-template-rows: 1fr;
}

div.ResizableBox1 .ResizableBoxContents > *:nth-child(1), div.ResizableBox4 .ResizableBoxContents > *:nth-child(1) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

div.ResizableBox5 .ResizableBoxContents, div.ResizableBox6 .ResizableBoxContents, div.ResizableBox7 .ResizableBoxContents, div.ResizableBox8 .ResizableBoxContents
{
	-ms-grid-columns: 1fr;
	grid-template-columns: 1fr;
	-ms-grid-rows: calc(100% / 2 + 10px) 1fr;
	grid-template-rows: calc(100% / 2 + 10px) 1fr;
}

div.ResizableBox5 .ResizableBoxContents > *:nth-child(1), div.ResizableBox6 .ResizableBoxContents > *:nth-child(1), div.ResizableBox7 .ResizableBoxContents > *:nth-child(1), div.ResizableBox8 .ResizableBoxContents > *:nth-child(1)
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

div.ResizableBox5 .ResizableBoxContents > *:nth-child(2), div.ResizableBox6 .ResizableBoxContents > *:nth-child(2), div.ResizableBox7 .ResizableBoxContents > *:nth-child(2), div.ResizableBox8 .ResizableBoxContents > *:nth-child(2)
{
	-ms-grid-row: 2;
	-ms-grid-column: 1;
}

div.ResizableBox5 .ResizableBoxContents, div.ResizableBox8 .ResizableBoxContents 
{
	-ms-grid-columns: 2fr;
	grid-template-columns: 2fr;
	-ms-grid-rows: 1fr;
	grid-template-rows: 1fr;
}

div.ResizableBox5 .ResizableBoxContents > *:nth-child(1), div.ResizableBox8 .ResizableBoxContents > *:nth-child(1) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

div.ResizableBox9 .ResizableBoxContents, div.ResizableBox12 .ResizableBoxContents 
{
	-ms-grid-columns: 2fr;
	grid-template-columns: 2fr;
	-ms-grid-rows: 1fr;
	grid-template-rows: 1fr;
}

div.ResizableBox9 .ResizableBoxContents > *:nth-child(1), div.ResizableBox12 .ResizableBoxContents > *:nth-child(1) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

div.ResizableBox10 .ResizableBoxContents, div.ResizableBox11 .ResizableBoxContents 
{
	-ms-grid-columns: calc(100% / 2 + 10px) 1fr;
	grid-template-columns: calc(100% / 2 + 10px) 1fr;
	-ms-grid-rows: 1fr;
	grid-template-rows: 1fr;
}

div.ResizableBox10 .ResizableBoxContents > *:nth-child(1), div.ResizableBox11 .ResizableBoxContents > *:nth-child(1) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

div.ResizableBox10 .ResizableBoxContents > *:nth-child(2), div.ResizableBox11 .ResizableBoxContents > *:nth-child(2) 
{
	-ms-grid-row: 1;
	-ms-grid-column: 2;
}

div.ResizableBoxContents h2
{
	line-height: 1.0em;
}
div.ResizableBoxContents p
{
	overflow: hidden;
	max-height: 300px;
}

div.ResizableBox10.ResizableBoxContents p
{
	background-color: orange;
	max-height: 300px;
}

div.PanelA
{
	vertical-align: top;
	background-color: #e0e1dd;
	background-repeat: no-repeat;
	background-size:     cover; 
	background-position: center center; 
	padding: 2px;
	min-height: 200px;
  
}

div.PanelB
{
	overflow: hidden;
	vertical-align: top;
	padding: 10px;
	background: -o-linear-gradient(290deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.1) 100%);
	background: linear-gradient(160deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.1) 100%);
	min-height: 164px
}

div.PanelA .Controls
{
	color: black;
	max-height: 220px;
	overflow: scroll;
	overflow-x: scroll;
	overflow-x: hidden;
	background: rgba(255,255,255,0.6);
	padding: 2px;
}

div.ResizableBox5 .PanelA .Controls, div.ResizableBox8 .PanelA .Controls, div.ResizableBox9 .PanelA .Controls, div.ResizableBox10 .PanelA .Controls, div.ResizableBox11 .PanelA .Controls, div.ResizableBox12 .PanelA .Controls
{
	max-height: 400px;
}

div.ResizableBox5
{
	min-height: 428px;
}

div.PanelA input
{
	width: 100%;
}
div.PanelA textarea
{
	width: 100%;
	resize: none;
}

span.BoxButton
{
	background-color: gray;
	cursor: pointer; 
	padding: 3px;
	line-height: 27px;
}

span.EditButton
{
	cursor: pointer; 
	position: absolute;
	bottom: 0;
	right: 0;
	color: white;
	text-decoration: underline;
	padding: 3px;
	background-color: rgba(17, 12, 15, 0.5);
}

span.PositionStats
{
	position: absolute;
	bottom: 0;
	left: 0;
	color: white;
	text-decoration: underline;
	padding: 3px;
	background-color: rgba(17, 12, 15, 0.5);
}

#DeleteBox
{
	color: red;
}

.HeaderBottom nav 
{
	display: inline-block;
}


nav ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	white-space: nowrap;	
	background-color: #110c0f;
}

nav li
{
	color: 	white;
	display: inline;
}

nav li a
{
	margin: 0px;
	line-height: 2.3em;
	padding: 4px 8px;
	border-right: solid 1px #ccc;
	color: #e0e1dd;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	border-bottom: solid 0.2em #110c0f;
	vertical-align: bottom;
}

nav li a:hover
{
	border-bottom: solid 0.2em #deb841;
	cursor: pointer;
}

nav#SideBar.NavBar
{
	width: 200px;
	padding: 20px 0px;
	background-color: #110c0f;
	border-top: solid #e0e1dd 1px;
	border-bottom: solid #e0e1dd 1px;
}
nav#SideBar.NavBar ul
{
	white-space: unset;
	text-align: center;
}

nav#SideBar.NavBar ul li
{

	display: block;
}

nav#SideBar.NavBar ul li a
{
	border-bottom: none;
	border-right: solid 0.2em #110c0f;
	line-height: 1.4em;
	padding: 10px 20px;
	display: block;
}

nav#SideBar.NavBar ul li a:hover
{
	border-right: solid 0.2em #deb841;
	cursor: pointer;
}


.Hamburger div 
{
   width: 24px;
  height: 3px;
  background-color: #e0e1dd;
  margin: 5px 0;
}

.SearchBarDiv
{
	-webkit-box-flex: 200px;
	    -ms-flex: 200px;
	        flex: 200px;
	overflow: hidden;
	position: relative;
}

.SearchIcon
{
	background: url('/images/searchicon.png') no-repeat;
	width: 25px;
	height: 25px;
	display: inline-block;
	position: absolute;
	 left: 8px;
	top: 10px;
}
.Search 
{
	line-height: 30px;
	border: none;
	background-color: #110c0f;
	color: #e0e1dd;
	margin-right: 4px;
	width: calc(100% - 35px);
	 left: 36px;
  top: 6px;
	position: absolute;
}

div.MorePanel
{
	display: none;
	background-color: #110c0f;
}

div.MorePanel ul
{
	/*display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr;*/
	display: block;
	margin: 0px;
	white-space: pre-wrap;
}
div.MorePanel li
{
	display: inline-block;
	width: 30%;width: 30%;
	color: #110c0f;
	text-align: center;
	border-right: solid 6px #110c0f;
}
div.MorePanel li:hover
{
	border-right: solid 6px #ffa600;
}

div.MorePanel li a
{
	color: white;
	border: none 0px #ccc;
}
div.MorePanel li a
{
	line-height: 1.6em;
}

div.PageAndSideBar
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
}




div.Footer
{
	text-align: center;
	font-size: 1.0em;
	text-decoration: none;
	background-color: #110c0f;
	color: #e0e1dd;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9em;
}

div.Footer a
{
	margin: 10px;
	font-size: 1em;
	color: #e0e1dd;
}

div.Footer a:link
{
	font-weight: bold;
	color:	#e0e1dd;
	text-decoration: none;
}

div.Footer a:active
{
	color:	#d0ac3c;
	text-decoration: none;
}

div.Footer a:visited
{
	color:	#e0e1dd;
	text-decoration: none;
}

div.Footer a:hover
{
	color:	#deb841;
	text-decoration: none;
}

div.Footer2
{
	text-align: right;
}
div.Footer2 a, div.Footer2 a:visited, div.Footer2 a:active, div.Footer2 a:link
{
	margin: 10px;
	font-size: 1em;
	color: #2f282c;
}

div.Footer h3
{
	text-align: center;
	color: #e0e1dd;
	font-size: 1.5em;
	margin: 10px;
}

div.Footer .FooterFlex
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-webkit-box-pack: space-evenly;
	    -ms-flex-pack: space-evenly;
	        justify-content: space-evenly;
	padding: 20px 0px;
}

div.Footer .FooterFlex .FooterFlexItem
{
	 
	  padding: 10px;
}

div.Articles
{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 20px 20px;
	grid-auto-rows: 1fr;	
}

div.Article
{
	color: #ffffff;
	background-color: red;
	-ms-grid-column-span: 1;
	grid-column: span 1;
	-ms-grid-row-span: 2;
	grid-row: span 2;
}

div.Article p
{
	color: #ffffff;	
	margin: 0px;
}

div.Article h2
{
	font-size: 1.4em;
	margin: 5px 0px;
	color: white;
	font-weight: bold;
	line-height: 1em;
	max-height: 58px;
	overflow: hidden;
}


div.Article a:link
{
	color: white;
	
	text-decoration: none;
}


div.Article a:visited
{
	color: white;	
	text-decoration: none;
}

div.Article:nth-child(8n+1), div.Article:nth-child(8n+7)
{
	background-color: #110c0f;
}

div.Article:nth-child(8n+2), div.Article:nth-child(8n+8)
{
	background-color: #415a77;
}

div.Article:nth-child(8n+4), div.Article:nth-child(8n+5)
{
	background-color: #094465;
}

div.Article:nth-child(8n+3), div.Article:nth-child(8n+6)
{
	background-color: #deb841;
}

div.Article .PanelA
{
	vertical-align: top;
	background-color: #e0e1dd;
	background-repeat: no-repeat;
	background-size:     cover; 
	background-position: center center; 
	padding: 2px;
	min-height: 200px;
  
}

div.Article .PanelB
{
	overflow: hidden;
	vertical-align: top;
	padding: 10px;
	background: -o-linear-gradient(290deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.1) 100%);
	background: linear-gradient(160deg, rgba(0,0,0,0.0) 0%, rgb(0, 0, 0, 0.1) 100%);
	min-height: 200px;
	height: 1vh;
}

div.ShortNewsArticle
{
	text-align: left;
	width: 100%;
	display: inline-block;
	vertical-align: text-top;
	margin-bottom: 10px;
	border-color: rgb(148, 174, 234);
	border-width: 1px;
	position: relative;
}

div.ShortNewsArticle div.LeftImageThumbnail 
{
	border-style: solid;
	border-width: 1px;
	border-color: #ffffff;
	float: left;
	margin: 5px;
	width: 200px;
	
}

div.ShortNewsArticle div.LeftImageThumbnail img
{
	width: 200px;
	margin: 0px;
}

div.ShortNewsArticle h2
{
	color: #3b516c;
	display: inline-block;
	font-size: 1.15em;
	/*padding-left: 2px;*/
	margin-left: 0px;
	width: 450px;
}

div.ShortNewsArticle  div.ShortBody
{
	padding-top: 5px;
	padding-bottom:5px;
}

div.ShortNewsArticle div.ShortBody p
{
	text-align:justify;
	text-justify:inter-word;
	display: block;
	padding-bottom: 5px;
	margin-left: 10px;
	margin-right: 10px;
}


div.ShortNewsArticle div.Date
{
	display: inline-block;
	float: right;
	color: #3b516c;
}

div.ShortNewsArticle div.ReadMore
{
	text-align: right;
	position: absolute;
	right: 0px;
	bottom: 0px;
}

/* Links to the contact details */
div.ShortNewsArticle  a:link
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.ShortNewsArticle  a:active
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.ShortNewsArticle  a:visited
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.ShortNewsArticle a:hover
{
	color:	#deb841;
	text-decoration: none;
}

div.NewsArticle
{
	text-align: left;
	width: 100%;
	display: inline-block;
	vertical-align: text-top;
	margin-bottom: 10px;
	border-color: rgb(148, 174, 234);
	border-width: 1px;
	position: relative;
}

div.NewsArticle div.LeftImage
{
	border-style: solid;
	border-width: 1px;
	border-color: #ffffff;
	float: right;
	margin: 10px;
	width: 400px;
	margin-bottom: 50px;
	text-align: center;
}


div.NewsArticle div.LeftImage p.Caption
{
	text-align: center;
	font-style: italic;
	color: rgb(36, 89, 148);
}

div.NewsArticle div.LeftImage img
{
	width: 400px;
	margin: 0px;
}

div.NewsArticle h2
{
	color: #3b516c;
	display: inline-block;
	padding-left: 2px;
}

div.NewsArticle  div.Body
{
	padding-top: 5px;
	padding-bottom:5px;
}


div.NewsArticle  div.NewsHeader
{
	display: block;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom:5px;
}

div.NewsArticle  div.NewsHeader div.NewsTitle
{
	display: inline-block;
}

div.NewsArticle  div.NewsHeader div.NewsTitle
{
	display: inline-block;
}

div.NewsArticle div.Body
{
	text-align: justify;
	text-justify: inter-word;
}

div.NewsArticle div.Date
{
	display: inline-block;
	float: right;
	color: #3b516c;
}

div.NewsArticle div.ReadMore
{
	text-align: right;
	position: absolute;
	right: 0px;
	bottom: 0px;
}

div.NewsArticle div.PageLinks
{
	display: solid;
	width: 100%;
	overflow: hidden;
}

div.NewsArticle div.PageLinks a.Prev
{
	float: left;
	max-width: 400px;
	text-align: left;
	margin-left:10px;
	margin-bottom: 10px;
}

div.NewsArticle div.PageLinks a.Next
{
	float: right;
	max-width: 400px;
	text-align: right;
	margin-right:10px;
	margin-bottom: 10px;
}

/* Links to the contact details */
div.NewsArticle  a:link
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.NewsArticle  a:active
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.NewsArticle  a:visited
{
	color:	#3b516c;
	text-decoration: none;
}

/* Links to the contact details */
div.NewsArticle a:hover
{
	color:	#deb841;
	text-decoration: none;
}

div.GalleryGrid
{
	display: inline-block;
	width: 760px;
	height: 338px;
	text-align: left;
	font-size: 1.0em;
	position: relative;
	overflow: hidden;
}

div.GalleryGrid div.Gallery
{
	width: 100%;
	height: 302px;
	position: absolute;
}

div.GalleryGrid div.Tile
{
	position: relative;
	width: 246px;
	height: 164px;
	margin-right: 10px;
	margin-bottom: 10px;
	display: inline-block;
	vertical-align: bottom;
	cursor: pointer;
}

div.GalleryGrid div.Tile:hover
{
	-webkit-box-shadow: inset 0px 0px 0px 5px #deb841;
	box-shadow: inset 0px 0px 0px 5px #deb841;
}

div.GalleryGrid div.Tile img
{
	z-index: -1;
}

div.GalleryGrid div.Tile h2
{
	float: left;
	font-family: "URW Gothic L", "Century Gothic", sans-serif;
	color: white;
	
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	cursor: pointer;
	font-size: 2em;
	
	position: absolute;
	bottom: 0px;
}

div.GalleryGrid  #RightMost
{
	margin-bottom: 10px;
	margin-right: 0px;
}

p.GalleryCaption
{
	font-size: 1em;
	font-style: italic;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(36, 89, 148);
	padding: 5px;
	margin-top: 10px;
}

div.SubjectButtons
{
	text-align: center;
	margin-top: 10px;
	width: 760px;
}


/* Tiny button to go to a specific news article */
div.GoToGallery
{
	display: inline-block;
	background-color: #3b516c;
	width: 14px;
	height: 14px;
	margin-left: 4px;
	
}

/* Tiny button to go to a specific news article */
div.GoToGallery:hover
{
	background-color: #deb841;
}

/* Tiny button to go to a previous news article */
div.PreviousGallery
{
	display: inline-block;
	width: 0px; 
	height: 0px; 
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 14px solid #3b516c;
}

/* Tiny button to go to a previous news article */
div.PreviousGallery:hover
{
	border-right-color: #deb841;
}

/* Tiny button to go to a next news article */
div.NextGallery
 {
	display: inline-block;
	width: 0px; 
	height: 0px; 
	margin-left: 4px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 14px solid #3b516c;
}

/* Tiny button to go to a next news article */
div.NextNewsArticle:hover
{
	border-left-color: #deb841;
}

@media only screen and (max-width: 1640px) 
{
  /* For mobile phones: */
  div.Boxes 
  {
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr 0px 0px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
} 
@media only screen and (max-width: 1340px) 
{
	div.Footer .FooterFlex .FooterFlexItem
	{
		-webkit-box-flex: 1;
		    -ms-flex: 1 0 41%;
		        flex: 1 0 41%;
	}
	div.Articles
	{
		-ms-grid-columns: 1fr 20px 1fr 20px 1fr;
		grid-template-columns: 1fr 1fr 1fr;
	}

	div.Boxes 
	{
		-ms-grid-columns: 1fr 20px 1fr 20px 1fr 0px 0px 0px 0px;
		grid-template-columns: 1fr 1fr 1fr;
	}
	div.ResizableBannerContents .BannerTextBox 
	{
	  width: 40%;
	}
} 

@media only screen and (max-width: 900px) 
{
div.QuickLaunchMobile
	{
		display: block;
	}
	div.UpperRightPanel
	{
		display: none;
	}

  /* For mobile phones: */
  div.Boxes 
  {
    -ms-grid-columns: 1fr 20px 1fr 0px 0px 0px 0px 0px 0px;
    grid-template-columns: 1fr 1fr;
  }
  div.MorePanel li
	{	
		width: 48%;
		
	}
  div.HeaderTop img.Logo 
	{
	  width: 57px;
	  margin: 0px 12px;
	}

	div.Header div.KJName h1 
	{
	  font-size: 31px;
	  line-height: 27px;
	  width: 328px;
	}

	div.HeaderTop 
	{
	  height: 60px;
	}
	

	div.ResizableBannerContents .BannerTextBox 
	{
	  width: initial;
	  left: 0px;
	  bottom: 0px;
	}
	
	div.Articles
	{
		-ms-grid-columns: 1fr 20px 1fr;
		grid-template-columns: 1fr 1fr;
	}
	div.FormattedPage img
	{
		width: 30% !important;
		height: 30% !important;
		border: 1px solid #0f0a0d;
		margin: 20px auto;
	}

}
@media only screen and (max-width: 440px) 
{
	/* For mobile phones: */
	div.Boxes 
	{
		-ms-grid-columns: 1fr 0px 0px 0px 0px 0px 0px 0px 0px;
		grid-template-columns: 1fr;
	}
	div[class*="ResizableBox"]
	{
		-ms-grid-column-span: 1;
		grid-column: span 1;
		-ms-grid-row-span: 1;
		grid-row: span 1;
	}
	div.Articles
	{
		-ms-grid-columns: 1fr;
		grid-template-columns: 1fr;
	}
	div.MorePanel ul li
	{	
		width: 98%;
	}
	div.Header div.KJName h1 
	{
		font-size: 26px;
		line-height: 11px;
	}
	div.HeaderTop img.Logo 
	{
		width: 38px;
	}
	div.HeaderTop 
	{
		height: 42px;
	}
	div.Header div.KJName 
	{
		text-align: left;
		display: block;
		overflow: hidden;
	}	
	div.Footer .FooterFlex .FooterFlexItem
	{
		-webkit-box-flex: 1;
		    -ms-flex: 1 0 90%;
		        flex: 1 0 90%;
	}
	div.QuickLaunchMobile ul
	{
		padding: 2px;
	}
	div.QuickLaunchMobile
	{
		height: 24px;
	}
	div.FormattedPage img
	{
		float: none;
		width: 80% !important;
		height: 80% !important;
		border: 1px solid #0f0a0d;
		margin: 20px auto;
	}
}


#fullVideo{
   width: 100%;
  height: 100%;
  object-fit: cover;
object-position: top;
}

#fullscreenModal
{
	min-width: 80vw;
}

#fullscreenModal img
{
	width: 100%;
}