/*	Default Layout
	92px columns, 24 px gutters, 72 px margins, 1234px total (extra space for scrollbars)
	-------------------------------------------------------------------------------
cols    1    2     3     4     5     6     7     8     9     10     11     12     13
px      68   160   252   344   436   528   620   712   804   896	988    1050   1142 */

/*---------Layout for Second and Third Level Pages---------*/

#container {
	width: 100%;
	background-color: #fff;
	border-radius: 5px;
	padding-bottom: 20px;
}
#page {
	width: 1172px;
	padding: 20px;
	margin: 0 auto;
}
.page-title {
	background: #E4E4E4; /* Old browsers */
	width: 100%;
    padding: 5px 0;
    box-shadow: 0 1px 4px rgba(50, 50, 50, 0.63);
}
.share {
	float: right;
	margin-right: 20px;	
}
.crumb {
	color: #666;
	width: 1172px;
    margin: 0 auto;
}
.crumb, .crumb a , .share a {
	font-size: 10px;
	font-weight: normal;
}

.crumb a {
    text-decoration: underline;
}

/**------ Searched used on the 404 page ------**/
.search {width: 70%;}
.search .gsc-clear-button {display: none !important;}
.search .gsc-search-button {
	color: inherit !important;
	text-shadow: inherit!important;
	text-transform: inherit;
	font-size: inherit;
	width: inherit !important;
}
/*---------Columns for Layout---------*/
.colRight {
	float: right;
	width: 22%;
	margin-left: 20px;
    padding: 0 15px 5px 5px;
}
.medCol { 
	padding: 5px;
	width: 260px;
	margin-right: 5px;
	float: left;	
}
.smallCol {
	padding: 5px;
	width: 164px;
    margin: 0 5px 5px 0;
	float: left;
}
.colMed { /* used mostly on second level pages */
	padding: 5px;
	width: 210px;
	margin-right: 5px;
	float: left;	
}
.column {
	padding: 5px;
	width: 370px;
    margin: 0 5px 15px;
	float: left;
}
.column2 {
	padding: 8px;
	width: 556px;
    margin: 0 5px 15px;
	float: left;
}
.column2right {
	padding: 5px 15px;
	width: 556px;
    margin: 0 5px 15px;
	float: right;
}
.column3 {
	padding: 8px;
	width: 360px;
    margin: 0 5px 15px;
	float: left;
}
.column3right {
	padding: 5px 15px;
	width: 330px;
    margin: 0 5px 15px;
	float: right;
}
.column4 {
	padding: 5px;
	width: 273px;
    margin: 0 5px 15px;
	float: left;
}
.colBox {
	padding: 5px;
	width: 368px;
	margin: 0 5px 15px;
	float: left;
	border: 1px solid #ddd;
}
.colBoxNoborder {
	padding: 5px;
	width: 360px;
	float: left;
	margin-bottom: 5px;
}
.colAlignBottom {
	position:absolute;
	bottom:4px;
	right:4px;
}
.sm-col {
	padding: 5px;
	width: 182px;
    margin: 15px 5px;
	float: left;
	text-align: center;
	height: 120px;
    background: url("//www.uen.org/missionus/images/grade.png") no-repeat right bottom;
	box-shadow: 2px 2px 2px rgba(0,0,0, .4);
	border-radius: 6px;
}
.colBoxShadeSm, .colShadePurpleSm {
	padding: 10px;
	width: 290px;
    margin: 0 5px 15px;
	float: right;
	border-radius: 3px;		
}
.colBoxShadefull, .colFull {
	padding: 10px;
	width: 97%;
	margin: 0 5px 15px;
	float: left;
	border-radius: 3px;
}
.colBoxintro {
	padding: 5px;
	width: 90%;
	margin: 0 auto 15px;
}
.colBoxShade, .colShadeGreen, .colShadePurple, .colShadePurplenoheight, .colBoxShadenoheight, .colShadeGreennoheight {
	padding: 10px;
	width: 358px;
    margin: 0 5px 15px;
	float: left;
	border-radius: 3px;
	position:relative;
}
.colBoxShade, .colBoxShadeSm, .colBoxShadefull, .colBoxShadenoheight {background: #f5f5f5;}
.colShadeGreen, .colShadeGreennoheight {background: rgba(221,247,197,0.25) 76%;}
.colShadePurple, .colShadePurpleSm, .colShadePurplenoheight {background: rgba(235,221,250,0.25);}
ul.BoxList {
	padding: 0;
	margin: 0;	
}
.BoxList li {
	position: relative;/* Keep :before contained */
	margin-top: 0;
	border-left:0;/* Hide left border */
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-top-color: #acc5ed;
	border-right-color: #acc5ed;
	border-bottom-color: #acc5ed;
	padding: 5px 0 5px 15px; 
	list-style-image: none;
	list-style-type: none;
	border-radius: 0 4px 4px 0;
}
.BoxList li:before {
	display:block;
	content:".";
	color:transparent;
	font-size:0;
	border-left-width: 10px;
	border-left-style: solid;
	border-left-color: #6689cc;
	height:100%;
	position:absolute;
	left: 0;
	padding: 1px 0;/* Top/bottom padding should equal top/bottom border of .BoxList */
	top: -1px; /* Should equal top border of .BoxList */
	bottom: -1px; /* Should equal bottom border of .BoxList */
}
#dist-ed-searchBox {position: relative;}
#dist-ed-position {
	position: absolute;
	right: 10px;
	top: 30px;	
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    /*padding-bottom: 56.25%;
    padding-top: 30px;*/
    height: 0;
    overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container2 {
    position: relative;
    padding-bottom: 47%;
    padding-top: 30px;
    height: 0;
	width: 80%;
    overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
.video-container2 iframe, .video-container2 object, .video-container2 embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*---------Pagination---------*/
#pagination {
	margin-top: 10px;
	width: 1150px;
	text-align: center;
	height: 30px;
	padding-top: 9px;
}
#pagination ul a {
	font-weight: bold;
	color: #346abd;
	text-decoration: none;
    padding: 4px 7px 4px 8px;
	transition: background 800ms ease-in-out;
}
#pagination ul a.current {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .4);
	background-color: #346abd;
}
#pagination ul a:hover {
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
	background-color: #346abd;
	box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#pagination ul {margin:2px 0 0;}
#pagination li {
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;
}
#pagination .next {
	float: right;
	height: 25px;
	width: 50px;
	margin-right: 10px;
	position: relative;
	z-index: 5;
	font-size: 13px;
	color: #005fad;
	text-decoration: none;
	font-weight: bold;
}
#pagination .previous {
	float: left;
	height: 25px;
	width: 50px;
	margin-left: 10px;
	position: relative;
	z-index: 5;
	font-size: 13px;
	color: #005fad;
	text-decoration: none;
	font-weight: bold;
}
.inside-title {position: relative;}
.inside-title p {
	position: absolute;
	top: -75px;
	right: 0;	
}
/*----------- Grid Layout -------------*/

.grid-core {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 50px;  
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}
.video-grid img {width: 100%;}
.local-grid {
    display: grid;
    grid-template-columns:  1fr 1fr;
    grid-gap: 15px;
}
.local {padding: 12px;}
.grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 15px;  
}

.grid-1-3 {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 15px;  
}

.grid-1-4 {
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 15px;  
}

.grid-1-5 {
    display: grid;
    grid-template-columns: 1fr 5fr;
    grid-gap: 15px;  
}

.grid-1-2-1 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-gap: 15px;  
}

.grid-1-3-2 {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    grid-gap: 15px;  
}
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 15px;  
}

.grid-2-3 {
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-gap: 15px;  
}

.grid-3-1 {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 15px;  
}
.grid-3-2 {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 15px;  
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}
.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}
.grid-5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}


.grid-6 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.justify {
	display: flex;
  justify-content: center;
  align-items: center;
}

.align-relative {
	position: relative;
}
.align-bottom {
	position: absolute;
	bottom: 0;
}
/*		10 Column Layout: 992px. 
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

@media only screen and (min-width: 992px) and (max-width: 1221px) {
/*---------Layout for Second and Third Level Pages---------*/
#page {
	width: 920px;
	padding: 10px 15px 20px;	
}
.share {margin-right: 15px;}
.crumb {width: 920px;}
#dist-ed-position {top: 25px;}
/*---------Columns for Layout---------*/
.colMed {width: 173px;}
.medCol {width: 195px;}
.smallCol {width: 200px;}
.colBoxShade, .colShadeGreen, .colShadePurple, .colBox, .colBoxShadenoheight, .colShadeGreennoheight, .colShadePurplenoheight {width: 430px;}
.column {width: 438px;}
.column2 {width: 426px;}
.column2right {width: 426px;}
.column3 {width: 270px;}
.column4 {width: 210px}
.column3right {
	padding: 5px 10px;
	width: 280px;
}
.colBoxNoborder {width: 340px;}
/*---------Pagination---------*/
#pagination {width: 905px;}
.inside-title p {top: -65px;}
	
.grid-core {
    grid-gap: 35px;  
}

.grid-5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}
	
}
/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */
@media only screen and (min-width: 768px) and (max-width: 991px) {
/*---------Layout for Second and Third Level Pages---------*/
#page {
	width: 740px;
	padding: 10px 10px 20px;	
}
.share {margin-right: 10px;}
.crumb {width: 740px;}
#dist-ed-position {top: 20px;}
/*---------Columns for Layout---------*/
.column {width: 350px;}
.column2 {width: 336px;}
.column2right {
    padding: 5px 10px;
	width: 336px;
}
.column3 {width: 210px;}
.column3right {
    padding: 5px 10px;
	width: 255px;
}
.column4 {width: 160px}
.colMed {width: 230px;}
.medCol {width: 150px;}
.smallCol {width: 155px;}
.colBoxShade, .colShadeGreen, .colShadePurple, .colBox, .colBoxShadenoheight, .colShadeGreennoheight, .colShadePurplenoheight {width: 340px;}
.colBoxNoborder {width: 300px;}
/*---------Pagination---------*/
#pagination {width: 710px;}
.inside-title p {top: -65px;}
/*----------- Grid Layout -------------*/
.video-grid, .grid-5 {grid-template-columns: 1fr 1fr 1fr;}
.grid-3-2 {grid-template-columns: 1fr 1fr;}
	
	.grid-core {
    grid-gap: 20px;  
   
}
	

}
/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */
@media only screen and (max-width: 479px) {
/*---------Layout for Second and Third Level Pages---------*/
#page {
	width: 295px;
	padding: 5px 10px;
}
.page-title {
    width: 100%;
	padding-bottom: 10px;
}
.share {margin-right: 5px;}
.crumb {
	display: none;
	width: 100%;
}
.crumb, .crumb a , .share a {
	font-size: 9px;
	font-weight: normal;
}
.search {width: 100%;}
/*---------Columns for Layout---------*/
.colRight {
	width: 95%;
	margin: 10px 0;	
}
.column, .column2, .column3, .colBox, .colMed, .column4, .colBoxShade, .colShadeGreen, .colShadePurple, .colShadePurplenoheight, .colBoxShadenoheight, .colShadeGreennoheight {width: 270px;}
.column2right {
    padding: 5px 10px;
    width: 270px;
} 
.column3right {
    padding: 5px 10px;
    width: 250px;
}    
.medCol {width: 265px;}
.smallCol {width: 120px;}
.colBoxShadeSm, .colShadePurpleSm {
	width: 280px;
	float: left;
	margin-left: 0;
}
.colBoxNoborder {width: 260px;}
/*---------Pagination---------*/
#pagination {width: 270px;}
.inside-title p {
	position: relative;
	top: 0;
	left: 0;
}
/*----------- Grid Layout -------------*/
.video-grid, .local-grid, .grid-3, .grid-2, .grid-1-3-2, .grid-4, .grid-5, .grid-3-1, .grid-3-2, .grid-1-2, .grid-1-5, .grid-2-3, .grid-2-1, .grid-2  {grid-template-columns: 1fr;}
	
	.grid-core {
    grid-template-columns: 1fr;
		grid-gap: 15px;  
   
}

}
/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436   */
@media only screen and (min-width: 480px) and (max-width: 767px) {
/*---------Layout for Second and Third Level Pages---------*/
#page {
	width: 453px;
	padding: 5px 10px;
}
.page-title {
	width: 100%;
	padding-bottom: 10px;
}
.share {margin-right: 5px;}
.crumb {width: 453px;}
.crumb, .crumb a , .share a {
	font-size: 9px;
	font-weight: normal;
}
.search {width: 100%;}
/*---------Columns for Layout---------*/
.colRight {
	width: 95%;
	margin: 10px 0;	
}
.column {width: 205px;}
.column2, .column3, .colBox, .column4 {width: 430px;}
.column2right {
    padding: 5px 10px;
    width: 430px;
}  
.column3right {
    padding: 5px 10px;
    width: 410px;
}       
.colMed {width: 205px;}
.medCol {width: 200px;}
.smallCol {width: 200px;}
.colBoxShade, .colShadeGreen, .colShadePurple, .colShadePurplenoheight, .colBoxShadenoheight, .colShadeGreennoheight {width: 430px;}
.colBoxShadeSm, .colShadePurpleSm {
	width: 200px;
	margin-left: 0;
}
.colBoxNoborder {width: 195px;}
/*---------Pagination---------*/
#pagination {width: 270px;}
.inside-title p {
	position: relative;
	top: 0;
	left: 0;
}
/*----------- Grid Layout -------------*/
.video-grid, .grid-3, .grid-4, .grid-5 {grid-template-columns: 1fr 1fr;}
.local-grid, .grid-1-3-2, .grid-3-1, .grid-3-2, .grid-1-2, .grid-1-5, .grid-2-3, .grid-2-1, .grid-2  {grid-template-columns: 1fr;}
.local {padding: 10px;}    
	
.grid-core {
    grid-template-columns: 1fr;
	grid-gap: 15px;  
   
}
}
