﻿/*
    FoosFit Progressive Web App
	Developed by Aptus Engineering, Inc. for WeFoos LLC
	Author(s): Narendran Muraleedharan <narendran.m@aptus.aero>
			   Rakshith Subramanyam <rakshith.s@aptus.aero>
			   James Guerra <james.g@aptus.aero>

	__DISCLAIMER__
	THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
	REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
	SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
	PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
	OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
	WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
	OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
	ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/*Overlay For Database Control*/

/* Database span is for Control Button (to open overlay)*/


#database-span-id {
	position:fixed;
	display:block;
	margin-top:0px;
	left: 65%;
	top: 37px;

}

.database-control-overlay-button-class {
	font-size:10px;
	color:white;
	
	background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
 
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0, rgb(73,132,180)),
		color-stop(1, rgb(97,155,203))
	);				
}

.database-control-overlay-class {
    position:fixed;
	display:block;
    left: 0;
    top: 0;
	font-size:12px;
	margin-left: 4%;
    margin-top: 90px;
    height: 200px;
    width: 0;
	max-width:90%;
    z-index: 5; /* Sit on top */
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(255,255,255, 1);
    /*overflow: auto;  /* Enable or Disable horizontal scroll */
	overflow:auto;
    transition: 0.3s; /* 0.5 second transition effect to slide in or slide down the */
		
}


.database-control-action-header-class {
	width:98%;
	margin:0px;
	padding:0px;
	margin-left:1%;
	margin-top:2%;
	text-decoration:none;
	font-weight:bold;
	font-size:11px;
}


.database-control-checkbox-class {
	margin-left:2%;
}

/* Position the close button (top right corner) */
.database-control-overlay-class .closeDatabaseControlbtn {
    position: absolute;
	display:block;
	color:black;
    top: 0px;
    right: 5px;
    font-size: 25px;
	text-decoration:none;
}

.database-control-current-view-span-class {
	display: block;
    width: 100%;
	text-align:center;
	font-weight: bold;
}

.database-menu-full-class {
    position: relative;
	display:block;
	height:25px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:10px;
	background-color:rgba(247, 247, 247, 1);
}

.database-menu-table-class {
	display: table;   /* Allow the centering to work */
	margin: 0 auto;
}


.database-horiz-ul-menu-list-class {
	margin:0px;
	padding:0px;
	position:relative;
	width:100%;
	list-style: none;
	font-size:9px;
	text-decoration:none;
}

.database-horiz-ul-menu-list-class > li {
    float:left;
	margin:0px;
	padding:0px;
	margin-top:5px;
}

#database-foosevents-dropdown-id {
	text-decoration:none;
	font-weight:normal;
	color: white;
	border:1px solid rgb(173,171,171);
	background-color: rgb(186, 115, 174);
	border-radius: 1px;
	padding:0px 2px 0px 2px;
	box-shadow: 1px 1px 1px 1px darkred;
}

#database-foosevents-dropdown-id:hover {
	background-color:grey;
}

.select-datadict-tables-class {
	margin:0px;
	padding:0px;
	font-size:9px;
	color: white;
	border:1px solid rgb(173,171,171);
	background-color: rgb(186, 115, 174);
	border-radius: 1px;
	padding:0px 2px 0px 2px;
	box-shadow: 1px 1px 1px 1px darkred;
}

.select-datadict-tables-class:hover {
	background-color:grey;
}


#database-attempts-dropdown-id {
	text-decoration:none;
	font-weight:normal;
	color: white;
	border:1px solid rgb(173,171,171);
	background-color: rgb(186, 115, 174);
	border-radius: 1px;
	padding:0px 2px 0px 2px;
	box-shadow: 1px 1px 1px 1px darkred;
}

#database-attempts-dropdown-id:hover {
	background-color:grey;
}


#database-foosplayer-dropdown-id {
	text-decoration:none;
	font-weight:normal;
	color: white;
	border:1px solid rgb(173,171,171);
	background-color: rgb(186, 115, 174);
	border-radius: 1px;
	padding:0px 2px 0px 2px;
	box-shadow: 1px 1px 1px 1px darkred;
}

#database-foosplayer-dropdown-id:hover {
	background-color:grey;
}


#database-kpi-dropdown-id {
	text-decoration:none;
	font-weight:normal;
	color: white;
	border:1px solid rgb(173,171,171);
	background-color: rgb(186, 115, 174);
	border-radius: 1px;
	padding:0px 2px 0px 2px;
	box-shadow: 1px 1px 1px 1px darkred;
}

#database-kpi-dropdown-id:hover {
	background-color:grey;
}



/* Dynamic Database Overlay portion for Inserting and Modifying the Tables            */
/* --------------------------------------------------------------------------------   */
/* This is a dynamic overlay which is built for each Database-Control Menu Item.      */
/* Below we divided the CSS into several categorys for each menu item.                */
/* Foosevents, Attempts, Data Dictionary, FoosPlayer, maybe more in the future.       */
/* Below you will see BEGIN and END for each dynamic section to keep things organized */
/*------------------------------------------------------------------------------------*/

.test-dynamic-database-overlay-class {
	position:relative;
	display:block;
	padding:0;
}


.dynamic-database-overlay-class {
	position:relative;
	display:block;
	overflow:auto;
	padding:0;
	margin:0;
}

#database-init-logo-img-id {
	height:200px;
	width:200px;
}

.dynamic2-database-overlay-class {
	position:relative;
	display:block;
	overflow:auto;
	padding:0;
	margin:0;
}

.dynamic3-database-overlay-class {
	position:relative;
	display:block;
	overflow:auto;
	padding:0;
	margin:0;
}

/******************************************************************************/
/********** REPSONSIVE SECTION BELOW ******************************************/
/******************************************************************************/

	
@media screen and (min-width: 200px) {
 
	.database-horiz-ul-menu-list-class {
		font-size:9px;
	}

	.database-horiz-ul-menu-list-class > li {
		margin-right:2px;
	} 

	.select-datadict-tables-class {
		font-size:9px;
	} 

}


@media screen and (min-width: 320px) {

	.database-horiz-ul-menu-list-class {
		font-size:10px;
	}

	.database-horiz-ul-menu-list-class > li {
		margin-right:8px;
	} 

	.select-datadict-tables-class {
		font-size:10px;	
	} 


	/* dynamic Database area*/

}


@media screen and (min-width: 375px) {

	.database-control-overlay-button-class {
		font-size:11px;
	}

	#database-span-id {
		left: 65%;
	}

	.database-horiz-ul-menu-list-class {
		font-size:10px;
	}

	.select-datadict-tables-class {
		font-size:10px;	
	} 

}


@media screen and (min-width: 405px) {

	.database-horiz-ul-menu-list-class {
		font-size:11px;
	}

	.select-datadict-tables-class {
		font-size:11px;	
	} 

}


@media screen and (min-width: 520px) {

	.database-control-overlay-button-class {
		font-size:12px;
	}

	#database-span-id {
		left: 70%;
	}
	
	.database-horiz-ul-menu-list-class {
		font-size:11px;
	}

	.database-horiz-ul-menu-list-class > li {
		margin-right:25px;

	} 

	.select-datadict-tables-class {
		font-size:11px;	
	}

}

@media screen and (min-width: 560px) {
	



}