/*

	Z-indexes
		- HEADER: 5000
		- PageOptions: 4000


*/


BODY
{
	margin: 0;
	padding: 0;
	font: normal normal 1vmax 'Segoe UI', Arial, Tahoma, sans-serif;
	color: var(--BODYtext); /* #444; */
}

A
{
	text-decoration: none;
}


.hover:hover
{
	background-color: #F2F2F2;
}

.clickable
{
	cursor: pointer;
}



HEADER
{
	width: 100%;
	background-color: var(--HEADERbackground); /* #555; */
	color: var(--HEADERtext); /* #F2F2F2; */
	padding: 0;
	margin: 0;
	box-shadow: var(--HEADERshadow); /* 0px 3px rgb(125,125,125,.8); */
	position: fixed;
	z-index: 5000;
	white-space: nowrap;
}

NAV
{
	padding: 0;
	margin: 0;
	font-size: 1vmax;
	display: inline-block;
	width: 60%;

}

	NAV A
	{
		padding: 1vmax 1vmax;
		max-height: 4vmax;
		display: inline-block;
		color: var(--HEADERa); /* #EEE; */
	}

	NAV A#gP_Logo
	{
		width: 1.5vmax;
		background: url(/_gPoint/art/template/icons/3x3dots-white.svg) no-repeat center center;
		background-size: 60%;
	}

	NAV #gP_Site #gP_Site_1
	{
		display: none; /* Hide Home Link */
	}

	NAV LI.gP_Site_pages
	{
		font-style: italic;
	}


	NAV A:hover
	{

	}

	NAV#gP_Profile
	{
		width: 39.5%;
		text-align: right;
	}

	NAV MENU
	{
		margin: 0;
		padding: 0;
		display: inline-block;

	}

	NAV LI
	{
		display: inline-block;
		margin: 0;
		padding: 0;
	}

	NAV > MENU > LI:not([DATA-CHILDREN="0"]) > A
	{
		background: url(/_gPoint/art/template/icons/nav-arrow-down-white.svg) no-repeat 90% center;
		background-size: .5vmax;
		padding-right: 2vmax;
	}

	NAV LI:hover:not(.nohover)
	{
		background-color: var(--HEADERbackgroundhover); /* #888!important; */
		position: relative;
	}

	NAV LI LI
	{
		border-bottom: 1px solid rgb(255,255,255,.5);
		width: 100%;
		font-size: .9vmax;
	}

	NAV LI UL
	{
		display: none;
		border-top: 4px solid  rgb(125,125,125,.8);
		background-color: var(--HEADERNAVbackground); /* #333; */
		min-width: 15vmax;
		margin: 0;
		padding: 0;
		white-space: normal;
	}

	NAV#gP_Profile LI UL
	{
		right: -1px;
	}


	NAV LI:hover UL
	{
		display: block;
		position: absolute;
	}

	NAV LI LI:hover
	{
		background-color: var(--HEADERNAVbackgroundhover); /* #777!important; */
	}

	NAV LI LI A
	{
		width: 100%;
	}


	#gP_UserBox
	{
		width:10vmax;
		padding-right: 1vmax;
	}
		#gP_UserBox UL
		{
			min-width: 11vmax;
		}

		#gP_UserBox UL LI
		{
			/* padding-right: 1vw; */
		}

		#gP_UserBox UL A
		{
			width: 9vw;
		}


MAIN
{
	padding: 3.4vmax 4% 8vmax 4%; /* FOOTER HEIGHT for bottom padding */
	min-height: 45vmax;
}


	MAIN #gP_PageOptions
	{
		position: fixed;
		top: 3vmax;
		left: 0;
		z-index: 4000;
		font-size: .8vmax;
	}

	MAIN #gP_PageOptions_Hamburger
	{
		width: 3vmax;
		height: 3vmax;
		display: inline-block;
	}

	MAIN #gP_PageOptions DIV
	{
		background-color: #DDD;
		color: #333;
		width: 15vmax;
		min-height: 70vmax;

		/* margin-top: -3vmax; */
		/* margin-left: -15vmax; */

		margin-top: -80vmax;

		padding: 3vmax 0 2vmax 0;
		/* position: relative; */
		/* display: none; */
	}

	MAIN #gP_PageOptions DIV H5
	{
		margin: 1vmax 1vmax .5vmax 1vmax;
		padding: 0;
		font-size: 1.3vmax;
		font-weight: normal;
	}

	MAIN #gP_PageOptions DIV UL
	{
		list-style: none;
		margin: 0;
		padding: 0;
	}

	MAIN #gP_PageOptions DIV UL LI
	{
		margin: 0;
		padding: 0;
	}

	MAIN #gP_PageOptions DIV UL LI A
	{
		text-decoration: none;
		padding: .2vmax 1.6vmax;
		display: block;
		color: #555;
		cursor: inherit;
	}

	MAIN #gP_PageOptions DIV UL LI A:not(.notclickable):hover
	{
		background-color: #AAA;
		cursor: pointer;
	}

	MAIN #gP_PageOptions DIV UL LI A.selected
	{
		font-weight: bold;
	}

	MAIN #gP_PageOptions DIV UL LI UL
	{
		list-style-type: disc;
		margin-left: 3vmax;
	}

	MAIN #gP_PageOptions DIV UL LI UL LI A
	{
		padding-left: 0!important;
	}


	MAIN #gP_PageHeader
	{
		background-color: #FFF;
		position: fixed;
		height: 4.2vmax; /* -AugAdjust- */
		width: 100%;
		z-index: 100;
		display: flex;
		align-items: flex-start;
		padding-bottom: .8vmax;
		transition: 0.3s ease;
	}

		.scrolled MAIN #gP_PageHeader
		{
			border-bottom: 1px solid #CCC;
			height: 2vmax;
			padding-bottom: .4vmax;
		}

	MAIN #gP_PageHeader H1
	{
		width: 55%;
		transition: 0.3s ease;
	}

		.scrolled MAIN #gP_PageHeader H1
		{
			font-size: 1.4vmax;
			margin: .4vmax 0 0 0;
		}



	#gP_FormOptions
	{
		width: 37%;
		text-align: right;
		padding-top: 2.5vmax;
		position: relative;
	}

	#global_overlay_content #gP_FormOptions
	{
		width: 100%;
		margin: -3vmax 0 1vmax 0;
	}

	MAIN #gP_PageHeader #gP_FormOptions BUTTON
	{
		margin-left: 2vmax;
	}

	MAIN #gP_PageHeaderSpacer
	{
		height: 5vmax; /* -AugAdjust- */
	}

	MAIN #gP_PageContainer
	{
		 margin-top: 0; /* 6vmax; */
	}






















	MAIN SECTION.gP_Section
	{
		margin: 0 0 3vmax 0;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: stretch;
		align-content: stretch;
		gap: .5vmax;
		width: 100%;
		/* border: 1px solid #800; */
	}

	MAIN SECTION SECTION
	{
		margin: 0 1vmax 0 0;
		width: 100%;
		/* border: 1px solid #CCC; */
	}

	MAIN #gP_PageContainer > SECTION > SECTION[data-type="Form"]
	{
		padding-top: 1.5vmax;
	}

	MAIN SECTION SECTION:last-child
	{
		margin-right: 0;
	}

	MAIN SECTION SECTION[DATA-TYPE="gP_Type_List"] A
	{
		text-decoration: underline;
	}


	MAIN H1
	{
		color: var(--H1text); /* #555; */
		font-size: 2.3vmax;
		font-weight: normal;
	}

	MAIN H2,
	.gP_TableGrid_Options
	{
		font-size: 1.6vmax;
		font-weight: normal;
		margin: 0 0 .8vmax 0;
	}

		SECTION[DATA-HIDETITLE="1"] H2.gP_Section_Heading
		{
			display: none;
		}

		[DATA-TYPE="Form"] H2
		{
		    border-radius: 2vmax 0 0 2vmax;
			 background-color: #EEE;
			 margin: 0 -1vmax 1.4vmax -1.8vmax;
			 padding: .4vmax 1vmax;
			 font-size: 1.2vmax;
		}

	MAIN H3
	{
		font-size: 1.5vmax;
	}

	MAIN H4
	{
		font-size: 1vmax;
	}

	.gP_Table_Options
	{
		margin: 0;
	}

	.gP_Table_Options BUTTON
	{
		margin-right: .5vw;
	}

	SECTION[DATA-HIDENAVIGATION="1"] .gP_Table_Options
	{
		display: none;
	}

	MAIN TABLE
	{
		font-size: .7vmax;
		width: 100%;
	}

	/* MAIN TABLE CAPTION,    Commented out August 11 2026 */
	.gP_TableGrid_Options
	{
		text-align: left;
		/* -AugAdjust-
		padding-bottom: 2vmax;
		margin-top: -5vmax;
		*/
		margin: 0;	/* -AugAdjust- */
	}

	MAIN TABLE TH
	{
		text-align: left;
		vertical-align: top;
		padding: .3em .2em;
		position: relative;
	}

		MAIN TABLE TH[DATA-SORT]
		{
			/* padding: .3em .2em .3em .7vmax; */
			padding: 1.3vmax .2vmax .3vmax .7vmax;
			background: url(/_gPoint/art/template/icons/nav-arrow-down-black.svg) no-repeat .1vmax 1.7vmax;
			background-size: .45vmax;
			cursor: pointer;
			color: #666;
		}

		MAIN TABLE TH[DATA-SORT]:hover
		{
			color: #444;
			background-color: #EEE;
		}

		MAIN TABLE TH B.gP_Table_Filter
		{
			position: absolute;
			right: .1vmax;
			display: none;
			color: #000;
			top: 0vmax;
		}

		MAIN TABLE TH:hover B.gP_Table_Filter
		{
			display: inline-block;
		}




	MAIN TABLE .gP_Table_Filter_Popup
	{
		display: none;
		position: absolute;
		background-color: #f9f9f9;
		border: 1px solid #ccc;
		padding: .5vmax;
		z-index: 1;
		left: 0;
		min-width: 14vmax;
		font-size: .7vmax;
	}

	MAIN TABLE .gP_Table_Filter_Popup P
	{
		margin: 0 0 .5em 0;
	}

	MAIN TABLE .gP_Table_Filter_Popup P.gP_Table_Filter_P
	{
		margin: 0 -.55vmax .5em -.45vmax;
	}

	MAIN TABLE .gP_Table_Filter_Popup INPUT.gP_Table_Filter_Text
	{
		padding: .4vmax 2%;
		border: 1px solid #999;
		border-left:0;
		border-right:0;
		border-radius: 0;
		outline: none;
	}

	MAIN TABLE .gP_Table_Filter_Popup .gP_Table_Filter_Distinct
	{
		max-height: 16vmax;
		overflow-y: auto;
		overflow-x: hidden;
	}

	MAIN TABLE .gP_Table_Filter_Popup .gP_Table_Filter_Distinct_Check SPAN
	{
		display: inline-block;
		padding: .2vmax .8vmax;
		color: #69C;
		cursor: pointer;
	}

	MAIN TABLE .gP_Table_Filter_Popup .gP_Table_Filter_Distinct_Check SPAN:hover
	{
		background-color: #E2E2E2;
	}

	MAIN TABLE .gP_Table_Filter_Popup LABEL
	{
		display: block;
		vertical-align: middle;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		width: 98%;
		font-size: .7vmax;
	}

	MAIN TABLE .gP_Table_Filter_Popup LABEL INPUT
	{
		vertical-align: sub;
		height: .9vmax;
		width: .9vmax;
	}



	MAIN TABLE TD
	{
		text-align: left;
		padding: 1em .2em;
		vertical-align: top;
		border-bottom: 1px solid #DDD;
	}

		MAIN TABLE TD:first-child
		{
			padding-left: .5em;
		}

		MAIN TABLE TR[data-groupby] TD:first-child
		{
			padding-left: 1.5vmax;
		}



	MAIN TABLE TR:hover TD
	{
		background-color: #F2F2F2;
	}

	MAIN TABLE TR.gP_row_selected,
	.tabulator-row.gP_row_selected
	{
		background-color: #DDD;
		color: #000;
	}

	MAIN TABLE TR.gP_row_selected:hover,
	.tabulator-row.gP_row_selected:hover
	{
		background-color: #CCC;
	}

	MAIN TABLE TR.gP_row_selected_deleting
	{
		background-color: #FCC;
	}


/* Accordian Group By */

		MAIN TABLE TR.gP_row_groupby
		{
			cursor: pointer;
		}

		MAIN TABLE TR.gP_row_groupby TD
		{
			font-weight: bold;
			font-size: .9vw;
			padding: 1.4em 0 .4em 0;
		}


		MAIN TABLE TR.gP_row_groupby.gP_row_collapsed TD
		{

		}

		MAIN TABLE TR.gP_row_groupby:hover TD
		{
			background-color: #EEE;
		}



/* Table resize */

	  MAIN TABLE .gP_Table_Resize
	  {
			position: absolute;
			top: 0;
			right: 0;
			width: 5px;
			cursor: col-resize;
			user-select: none;
	  }


/* Table Drag Columns */

		MAIN TABLE .gP_Table_drag
		{
			background-color: #DDD!important;
		}

		MAIN TABLE .gP_Table_over
		{
			background-color: #EEE!important;
		}








	.gP_List_pagination
	{
		margin: 2vmax 0 0 0;
		display: flex;
	}

	.gP_List_pagination_prev
	{
		width: 10%;
		text-align: right;
		justify-content: flex-start;
		flex-wrap: nowrap;
		flex-direction: row;
		align-items: stretch;
		column-gap: 1vw;
	}

	.gP_List_pagination_next
	{
		width: 10%;
	}

	.gP_List_pagination_numbers
	{
		width: 80%;
		text-align: center;
	}

	.gP_List_pagination_Selected
	{
		border: 1px solid #999;
		border-radius: 5vmax;
		padding: .1vmax .5vmax .2vmax .5vmax;
		background-color: #F2F2F2;
	}


/* Hide Table rows */

	.gP_TRH, .gP_TFH
	{
		display: none;
	}




	.gP_pulldown
	{
		display: none;
		position: absolute;
		border: 1px solid #ccc;
		background: #fff;
		padding: 0;
		/* boxShadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
		z-index: 5100;
		font-size: .85vmax;
		color: #444;
		min-width: 10vmax;
	}

	.gP_pulldown DIV
	{
		padding: .8em 1.2em;
		cursor: pointer;
		position: relative;
	}

	.gP_pulldown DIV:hover
	{
		background-color: #EEE;
	}

	.gP_pulldown DIV.seperator
	{
		border-bottom: 1px solid #CCC;
	}

	.gP_pulldown DIV.selected
	{
		font-weight: bold;
	}

	.gP_pulldown DIV.pulldownedit
	{
		padding-right: 2.4vw;
	}





/* Iframe in <SECTION> */

	MAIN SECTION .gP_Iframe_Container
	{
			position: relative;
			width: 100%;
			/*
				padding-bottom: 56.25%;
				height: 0;
			*/
			height: 92%;
			overflow: hidden;
	}

		MAIN SECTION .gP_Iframe_Container IFRAME
		{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			border: 0;
		}








/* List of children pages in <SECTION> */

	MAIN SECTION SECTION[DATA-TYPE="Children"]
	{

	}

		MAIN SECTION SECTION[DATA-TYPE="Children"] UL
		{
			max-width: 24vmax;
			width: 95%;
			margin: 0;
			padding: 0;
		}

			MAIN SECTION SECTION[DATA-TYPE="Children"] LI
			{
				list-style: none;
			}


			MAIN SECTION SECTION[DATA-TYPE="Children"] :not(.gP_editpage_section_options) A
			{
				text-decoration: none;
				display: block;
				padding: .8vmax 1.2vmax .8vmax 3vmax;
				background: url(/_gPoint/art/template/icons/nav-arrow-right-black.svg) #FFF no-repeat .8vmax 1vmax;
				color: #222;
				background-size: 1.2vmax;
			}

				MAIN SECTION SECTION[DATA-TYPE="Children"] A:hover
				{
					background-image: url(/_gPoint/art/template/icons/nav-arrow-right-white.svg);
					background-color: #555;
					color: #FFF;
				}






	MAIN .gP_Items
	{
		display: flex;
		width: 100%;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: stretch;
		align-content: flex-start;
		gap: .5vmax;
	}

	MAIN .gP_Item
	{
		border: 1px solid #CCC;
		height: 11vmax;
		width: 10vmax;
		text-align: center;
		position: relative;
		transition: transform .5s ease;
		cursor: pointer;
		display: inline-block;
	}

		MAIN .gP_Items_Thumbs .gP_Item
		{
			/* height: 10vmax; */
		}

		MAIN .gP_Item:hover
		{
			transform: scale(1.1);
			border-color: #999;
		}

	MAIN .gP_Item STRONG
	{
		background: url() #EEE no-repeat top center;
		background-size: cover;
		display: block;
		height: 4.5vmax;
	}

		MAIN .gP_Items_Thumbs .gP_Item STRONG
		{
			height: 9.5vmax;
		}

	MAIN .gP_Item H5
	{
		font-size: .8vmax;
		font-weight: normal;
		color: #000;
		padding: 0 2%;
		margin: .75vmax 0 0 0;
	}

		MAIN .gP_Items_Thumbs .gP_Item H5
		{
			display: none;
		}

	MAIN .gP_Item P
	{
		color: #666;
		font-size: .6vmax;
		padding: 0 2%;
		height: 2.2vmax;
		max-height: 2.2vmax;
		overflow: hidden;
		line-height: 1.2em;
		margin: .2em 4% 0 4%;
	}

		MAIN .gP_Items_Thumbs .gP_Item P
		{
			display: none;
		}

	MAIN .gP_Item SPAN.icon
	{
		display: block;
		position: absolute;
		width: 1.6vmax;
		height: 2vmax;
		top: 3.3vmax;
		right: 4%;
		background-color: #FFF;
		border-radius: 2vmax;
		border: 1px solid #666;
		opacity: 1;
		background-size: 75%;
	}

		MAIN .gP_Items_Thumbs .gP_Item SPAN.icon
		{
			top: 7vmax;
		}


	MAIN .gP_Item A.icon
	{
		display: block;
		position: absolute;
		width: .3vmax;
		height: .5vmax;
		bottom: .3vmax;
	}

	MAIN .gP_Item A.icon.delete
	{
		left: 5%;
	}


	MAIN .gP_Item A.icon.edit
	{
		right: 4%;
		left: inherit;
	}





FOOTER
{
	width: 96%;
	border-top: 2px solid #EEE;
	background-color: #333;
	color: #EEE;
	height: 3vmax;
	padding: 1vmax 2%;
	margin: 0;
	box-shadow: 0px -.5vmax rgb(125,125,125,.6);
	position: relative;
/*
	z-index: 5000;
	position: fixed;
	bottom: 0;
*/
}

	FOOTER #gP_copyright
	{
		position: absolute;
		bottom: 2vmax;
		right: 2%;
	}



@media screen and (max-width: 950px)
{
	BODY
	{
		/* font-size: 2vmax; */
	}

	MAIN TABLE
	{
		font-size: .9vmax;
	}

}

@media screen and (max-width: 600px)
{
	BODY
	{
		/* font-size: 3vmax; */
	}

	MAIN SECTION.gP_Section, MAIN SECTION SECTION
	{
		display: block;
		margin-bottom: 1vmax;
		width: 100%!important;
	}



}





.gP_scrollbox
{
	overflow-x: hidden;
	overflow-y: auto;
}

#gP_select_field_container P
{
	margin: 0;
	padding: .5vw;
	border-bottom: 1px solid #F2F2F2;
	display: flex;
	font-size: .8vmax;
}

#gP_select_field_container P:hover
{
	background-color: #EEE;
	cursor: pointer;
}

#gP_select_field_container P SPAN:first-child
{
	width: 75%;
}


/* Hierarchy */

	#gP_move_page_hierarchy
	{
		/*
		height: 200px;
		overflow-x: none;
		overflow-y: auto;
		 */
	}

	.gP_hierarchy_select
	{
		margin: 0;
		padding: 0 0 0 1vw;
	}

	.gP_hierarchy_select UL
	{
		padding: 0 0 0 2vw;
		margin: .2vw 0 0 0;
	}

	.gP_hierarchy_select LI
	{
		margin: 0 0 .3vw 0;
		list-style: none;
	}

	.gP_hierarchy_select LI SPAN
	{
		padding: 0 0 0 .4vw;
		display: inline-block;
		vertical-align: top;
	}

	.gP_hierarchy_select LI[DATA-HIERARCHYPID] > SPAN:hover
	{
		cursor: pointer;
	}

	.gP_hierarchy_current SPAN
	{
		color: #069;
		cursor: not-allowed!important;
	}



/* Thumbnail Slideshow */

	#global_overlay_thumbnail
	{
		width: 100%;
		margin: 0 auto;
	}

	#global_thumbnail_image
	{
		overflow-y: auto;
	}

	#global_thumbnail_image IMG
	{
		max-width: 100%;
	}

	#global_thumbnail_options
	{
		position: absolute;
		top: 0;
		right: 4vw;
		padding-top: 1.3%;
	}

	#global_overlay_content #global_thumbnail_options
	{
		padding-top: .3em;
	}



/* Image Library */

	#gP_select_Image_Library_container
	{
		display: flex;
		gap: 1vmax;
		flex-wrap: wrap;
	}

	#gP_select_Image_Library_container .gPthumbnail
	{
		height: 8vmax!important;
		width: 8vmax!important;
		margin: 0!important;
	}

	#gP_select_Image_Library_container .gPthumbnail.image_selected
	{
		height: 7.6vmax!important;
		width: 7.6vmax!important;
		border: .2vmax solid #0C0;
		box-shadow: 1px 1px 10px rgba(0,0,0,.8)
	}

	#gP_select_Image_Library_submit
	{
		text-align: right;
		padding-top: 1vmax;
	}

	#gP_select_Image_Button
	{
		display: none;
	}

	#gP_select_Image_Library_container .gPimagehidden
	{
		display:none!important;
	}

/* grid */
	.gP_grid
	{
		margin-top: 1.5vw;
	}





/* multi select */

.ui-sortable-handle.selected
{
	background-color: #CDF;
}



/* -- Crop Image -- */

		#global_thumbnail_image
		{
		  position: relative;
		  display: inline-block;
		  border: 0;
		  overflow: hidden;
		}

		#global_thumbnail_current
		{
		  display: block;
		  max-width: 100%;
		  height: auto;
		}

		#gP_CropImageBox
		{
		  position: absolute;
		  border: 2px dashed #00bfff;
		  box-sizing: border-box;
		  cursor: move;
		  aspect-ratio: 570 / 320;
		  width: 200px;
		  top: 20px;
		  left: 20px;
		  z-index: 10;
		  display: none;
		}

				.ui-resizable-handle {
				  position: absolute;
				  width: 12px;
				  height: 12px;
				  background: #00bfff;
				  border: 2px solid #fff;
				  border-radius: 50%;
				  box-shadow: 0 0 2px rgba(0,0,0,0.4);
				  z-index: 20;
				  pointer-events: auto;
				}


				.ui-resizable-n { top: -8px; left: 50%; transform: translateX(-50%); cursor: n-resize; }
				.ui-resizable-s { bottom: -8px; left: 50%; transform: translateX(-50%); cursor: s-resize; }
				.ui-resizable-e { right: -8px; top: 50%; transform: translateY(-50%); cursor: e-resize; }
				.ui-resizable-w { left: -8px; top: 50%; transform: translateY(-50%); cursor: w-resize; }


				.ui-resizable-ne { top: -8px; right: -8px; cursor: ne-resize; }
				.ui-resizable-nw { top: -8px; left: -8px; cursor: nw-resize; }
				.ui-resizable-se { bottom: -8px; right: -8px; cursor: se-resize; }
				.ui-resizable-sw { bottom: -8px; left: -8px; cursor: sw-resize; }


				.ui-resizable-handle::after{
				  content: "";
				  position: absolute;
				  left: 50%;
				  top: 50%;
				  transform: translate(-50%,-50%);
				  width: 28px; height: 28px;
				  background: transparent;
				  border-radius: 50%;
				}

		#global_thumbnail_image::after
		{
		  content: "";
		  position: absolute;
		  inset: 0;
		  background-color: rgba(0, 0, 0, 0.3);
		  pointer-events: none;
		  z-index: 1;
		}

		#gP_CropImageBox
		{
		  z-index: 2;
		}







@media print
{
	#gP_PageOptions
	{
		display: none;
	}
}