﻿/*
    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.
*/



/* Add CSS to control the Device Menu to support other modes besides manual (practice mode, playback mode) etc...*/
/* creating Drop Down list and other needed constructs to input user info*/

/* this is the parent list of the dropdown, basically the main menu the user sees upon entering the Device Config Window */
/* the > says to only drop one child level down to li, any li two children down will not get affected.*/

/*Main Menu is encapsulated by this Div tag*/
.device-menu-full {	
	position:absolute;
	display:block;
	height:15px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:40px;
	background-color:rgba(230,255,255,.3);
}

.device-menu-table-class {
	display: table;   /* Allow the centering to work */
	/*margin: 0 auto;*/ /*setting this without the margin-left setting, will center the ul */
	margin-left:5%;
}

.horizontal-menu-list-class {
	margin:0px;
	padding:0px;
	margin-left:5px;
	position:relative;
	width:100%;
	list-style: none;
	font-size:9px;
	text-decoration:none;
}

.device-menu-full a {
    text-decoration: none;
    list-style: none;
	font-weight: bold;
    color: black;
}

.device-menu-full a:hover {
    background-color: lightsalmon;
}

/*This formats the dropdown list which pops down*/
.horizontal-menu-list-class ul.sub-class {
    background-color: lightcyan;
	list-style: none;
    text-align: left;
    line-height: 25px;
    text-indent: -35px;
    position: fixed;
	display:none;
	z-index: 2;
}

.horizontal-menu-list-class > li {	
	float:left;
	margin:0px;
	padding:0px;
	min-width:30px;
	width:40px;
}

#startstopimg {
    width: 15px;
    height: 100%;
    opacity: 1;
}

#ul-menu-random-dropdown {
    margin-top: -4px;
}

#randombuttonimg {
    width:20px;
    height: 100%;
    opacity: 1;
}

#ul-menu-shuffle-dropdown {
    margin-top: -4px;
}

#shufflebuttonimg {
    width:23px;
    height: 100%;
    opacity: 1;
}



/* Second Menu Line for Mode and Help
/* Adding a second line under the main menu to display Mode and Help Icons. This is a test and 
   will most likely move this down below somewhere. 
*/
#mode-display-bar {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #333;
	color: #fff;
	font-size: 11px;
	font-style: italic;
	margin-top:-7px;
	margin-left:6px;
	padding: 1px 1px 1px 1px;
	border-bottom: 1px solid #555;
	box-sizing: border-box;

	/* Limit width and center */
	width: 75%;
	/*max-width: 800px;*/
  }
  
  .mode-left {
	display: flex;
	align-items: center;
	gap: 6px;
  }
  
  
  .manualmode-pid-type-div-class label {
	display: flex;
	align-items: center;
	gap: 4px;
	font-style: normal;
	font-weight: normal;
	color: #eee;
  }



/*----------------------------------------------------*/


@media screen and (min-width: 200px) {
	.horizontal-menu-list-class {
		font-size:10px;
	}
	
	.horizontal-menu-list-class > li {
		width:40px;
	}
}


@media screen and (min-width: 325px) {
	.horizontal-menu-list-class {
		font-size:11px;
	}
	
	.horizontal-menu-list-class > li {
		width:45px;
	}	
}

@media screen and (min-width: 400px) {
	.horizontal-menu-list-class {
		font-size:12px;
	}
	
	.horizontal-menu-list-class > li {
		width:50px;
	}	

}


@media screen and (min-width: 520px) {
	

}


@media screen and (min-width: 620px) {

	
}










