/************ BASE  ************/
 @media only screen and (min-width: 1200px) { html {font-size: 100%;} }
 @media only screen and (min-width: 960px) and (max-width: 1199px) { html {font-size: 90%;} }
 @media only screen and (min-width: 768px) and (max-width: 959px) { html {font-size: 80%;} }
 
 /************ ABILITY TO HIDE on HOME  ************/
 .homelayout .hiddenhome {display: none; }
 
 /************ TABLES  ************/
 table {width: auto;}
 table, td {border: none; }
 .fancytable th {padding: 5px; }
 .fancytable td {padding: 5px 10px; }
 
 .equaltable, .masstimes-equaltable { width: 100%; display: table; table-layout: fixed;}
 table.flextable, .flextable tbody, .flextable tr { width: 100%; display: flex; flex-wrap: wrap; /*justify-content: space-around;*/}
 .equaltable td {width: 2%;}
 .equaltable td, .equaltable tr, table.equaltable, .flextable td, .flextable tr, table.flextable {border: none;}
 
 .flextable { display:flex; }
  
 @media only screen and (max-width: 767px){ 
   .equaltable, .equaltable div, .flextable, .flextable div, .fancytable, .fancytable div,  .fancytable tr, .fancytable td, .equaltable, .equaltable td, .flextable, .flextable td, .flextable tbody, .flextable tr, .equaltable tbody, .equaltable tr{ display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
   .masstimes-equaltable, .masstimes-equaltable div, .masstimes-equaltable, .masstimes-equaltable td, .masstimes-equaltable tbody, .masstimes-equaltable tr { display: block; table-layout:auto; width: 100%; border: none; margin: 0;}  
  .equaltable img { display: block; margin: 0 auto; width: 100%;}  
   .flextable { display:block; }
 }
 
 /********** EQUAL TABLES ********************/
.equaltables { width: 100%; display: table; table-layout: fixed;}
.equaltables > div  {	display: table-cell; margin: 10px; width: 2%; border: 10px solid rgba(0,0,0,0); vertical-align: top; word-break: break-word;}

@media only screen and (max-width: 767px){ 
	.equaltables, .equaltables div{ display: block; table-layout:auto; width: 100%; border: none; margin: 0;}
	.equaltables img { display: block; margin: 0 auto;}
}
 
 
 /************ DOCMAN ************/
 .docman_download__info {display: none;}
 .doclink .docman_download__info {display: none;}
 .k-ui-namespace .k-js-grid-controller koowa_table_list > .docman_block > h3.koowa_header { display: none; }
 .k-ui-namespace .mod_docman ul li .koowa_header { padding: 0 0 2px 15px;}
 .doclink span:last-child { display: none;}
 .table-striped tbody tr:nth-child(2n+1) td, .table-striped tbody tr:nth-child(2n+1) th { background: rgba(0,0,0,.1); }
 .k-ui-namespace .koowa_header:before, .k-ui-namespace .koowa_header:after { display: none; }
.k-ui-namespace .koowa_header, 
.k-ui-namespace .koowa_header__item,
.k-ui-namespace .koowa_wrapped_content,
/*.k-ui-namespace .mod_docman ul  { display: inline-block; width: auto;}*/
.k-ui-namespace .mod_docman ul li .koowa_header { padding: 0 0 2px 0;}
/*.k-ui-namespace .mod_docman ul .module_document__info { display: none; }*/
.k-ui-namespace .mod_docman.mod_docman--documents { display: flex; justify-content: center; }
.k-ui-namespace .mod_docman_icons { padding-bottom: 10px;}
.k-ui-namespace .mod_docman.mod_docman--documents ul li { margin-bottom: 4px;}
 
 
 /************ GET RID OF SIDE COLUMNS  ************/
 .g-block.remove-column { flex: 0%; width: 0%;}
 .g-block.fullwidth-column {  flex: 0 100%;  width: 100%;}
 
 /************ MAKE THE ROTATOR NOT JUMP  ************/
 .sprocket-features-img-container {width: 100%;}
 
 /************ CANIDATE FOR BASE STYLE  ************/
 .removecontentbuffer .g-content { margin: 0; padding: 0;}
 .rmtopbotcontentbuffer .g-content { margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0;}
 .rmleftrightcontentbuffer .g-content {margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;}
 
 /************ ALIGN IMAGES CORRECTLY  ************/
 img[align="left"], img[style*="float:left"], img[style*="float: left"], .pull-left  {padding-right: 10px;}
 img[align="right"], img[style*="float:right"], img[style*="float: right"], .pull-right {padding-left: 10px;}
 
 /************ BREADCRUMB  ************/
 .breadcrumb span.divider:before { line-height: 1.3; }
 .breadcrumb li:nth-child(2) .divider {display: inline-block; }
 
 .breadcrumb > li > .divider { margin-right: .25em; padding: 0 5px;}
 .moduletable .nav.menu li a:before, .moduletable .mostread li a:before, .moduletable .latestnews li a:before, .moduletable .archive-module li a:before, .moduletable .relateditems li a:before, .moduletable .categories-module li a:before, .moduletable .category-module li a:before, .moduletable .latestusers li a:before, .moduletable .unstyled li a:before {display: none;}
 
 /************ FIX FOR IFRAMES ON IOS Devices ************/
 @media only screen and (max-width: 767px) {
   iframe {width: 1px; min-width: 100%; }
 }
 
 /************ MODULE HELPERS  ************/
 .topright { position: absolute; right: 0; top: 0; }
 
 /************ MAKE FILEMAN LINKS HAVE ICON BEFORE TEXT  ************/
 a[href*="?option=com_fileman"]:before {    
   content: "\f1c1";
     font-family: FontAwesome;
     margin-right: 10px;
     display: inline;
   font-weight: normal;
 }
 
 /************ SMOOTH SCROLL  ************/
 html { scroll-behavior: smooth; }
 
.centertitle .g-title {text-align: center;}

.platform-content .moduletable.moveintoabovemodule { margin-top: -40px;}

[name="spacer"] { display: none; }

/************ HEIGHT CLASSES  ************/
.fullheight { height: 100vh;}
.ninetyheight { height: 90vh;}
.eightyheight { height: 80vh;}
.seventyheight { height: 70vh;}
.sixtyheight { height: 60vh;}
.fiftyheight { height: 50vh;}
.fortyheight { height: 40vh;}
.thirtyheight { height: 30vh;}
.twentyheight { height: 20vh;}
.tenheight { height: 10vh;}

/************ FLEX ITEM  ************/
.flexcolumn { display: flex; flex-direction: column; }
.flexcolumn > div { flex: 1;}
.flexcenter { display: flex; align-items: center; justify-content: center;}

/************ FLEX ITEM  ************/
.flexrow { display: flex;  }
.flexrow > div { flex: 1;}

@media only screen and (max-width: 767px) {
	.flexrow { display: block;   }
	.flexrow > div { padding-bottom: 20px;}
	
	.flexrow.force { display: flex; }
}

/************ FILEMAN PHOTO GALLERY - FOLDERS   ************/
.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__content {
	background: none;
	border: none;
	border-radius: 0; 
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content:not(.file) .koowa_media__item__link {
	box-shadow: 2px 2px 5px rgba(0,0,0,.2);
	position: relative;
	width: 20vw;
	height: 15vw;
	max-width: 400px;
	max-height: 300px;
	background: url(/images/stories/template/default-photo-gallery.jpg) 0 0 no-repeat;
    background-size: cover; 
	margin-bottom: 2vw;
	transition: all .4s ease-in-out;
}



.gallerycolorstrip .koowa_media {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item {
	padding: 0;
	width:  auto;
	max-width:  auto;
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-4 .koowa_media__item {
	width: auto;
}

.gallerycolorstrip .k-ui-namespace .koowa_header {     position: initial;}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .overflow_container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__content img:not(.k-js-image-preview) {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	object-fit: cover;
	object-position: center;
	width: 20vw;
	height: 15vw;
	max-width: 400px;
	max-height: 300px;
	z-index: 10; 
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content.file .koowa_media__item__link {
	box-shadow: 2px 2px 5px rgba(0,0,0,.2);
	position: relative;
	width: 15vw;
	max-width: 300px; 
    background-size: cover; 
	margin-bottom: 2vw;
	transition: all .4s ease-in-out; 
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__content img.k-js-image-preview {
	width: 15vw;
	max-width: 300px;
}

.k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-2 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-3 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-4 .koowa_media__item,.k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-5 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-6 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-7 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-8 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-9 .koowa_media__item {
	width: 16vw;
	max-width: 350px;
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content.file .koowa_media__item__link.js-lightbox-item {
	padding: 0;
	margin: 0 auto 1.2vw auto;
	border-radius: 1vw; 
	
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content.file .koowa_media__item__link.js-lightbox-item:hover {
	opacity: .8;
}


.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__link {
	padding: 0; 
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
}

.gallerycolorstrip .k-icon-document-folder.k-icon--size-medium { display: none; }

#g-page-surround .gallerycolorstrip .g-content { padding-left: 0; padding-right: 0px; margin-left: 0px; margin-right: 0px;}

/*
.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content:not(.file) .koowa_media__item__link :hover {
	opacity: 0.90;
	
}
*/

@media only screen and (max-width: 767px) {
	.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content:not(.file) .koowa_media__item__link, .gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__content img:not(.k-js-image-preview)	{
		width: 80vw;
		height: 60vw;
		max-width: auto;
		max-height: auto;
	}
	.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content:not(.file) .koowa_media__item__link {
		margin-bottom: 8vw;
	}
	
	.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__content.file .koowa_media__item__link {
		width: 40vw;
	}

	.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item__content img.k-js-image-preview {
		width: 40vw;
	}

	.k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-2 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-3 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-4 .koowa_media__item,.k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-5 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-6 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-7 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-8 .koowa_media__item, .k-ui-namespace .koowa_media--gallery .koowa_media_contents.columns-9 .koowa_media__item {
		width: 41vw;
	}

}
.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .overflow_container > span {
	z-index: 20;
	width:  100%;
	text-align: center;
	margin-bottom: 2vw;
	padding-top: .4vw;
	padding-bottom: .4vw;
	background: rgba(0,22,66,.8);
	color: white;
	transition: all .4s ease-in-out;
	font-weight: 400 !important;
}

.gallerycolorstrip .k-ui-namespace .koowa_media--gallery .koowa_media__item .koowa_media__item__link:hover .overflow_container > span {
	margin-bottom: 3vw;
	background: rgba(0,22,66,.8);
}
