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

/*The actual Menu "option" button which is on the main menu bar is formatted in menu.css*/
/*This keeps all the menu formatting together. Only the Overlay is coded here.*/


/*Practice Overlay*/
	.pr-overlay {
		margin-left: 23px;
		margin-top: 140px;
		left: 0;
		top: 0;
		position: fixed; /* Stay in place */
		height: 70%;
		max-height:475px;
		width: 0;
		max-width:360px;
		z-index: 5; /* Sit on top */
		background-color: rgb(242,242,242); /* Black fallback color */
		background-color: rgba(242, 242, 242, 1); /* Black w/opacity */
		overflow: auto; /* Disable horizontal scroll */	
		overflow-y: n-resize;
		transition: 0.3s; /* 0.5 second transition effect to slide in or slide down the */
	}


/* Position the close button (top right corner) */
	.pr-overlay .pr-closebtn {
		position: absolute;
		top: 0px;
		margin:-4px;
		padding:0;
		right: 8px;
		font-size: 22px;
		color:white;
	}

/* Practice Overlay Header*/
	.pr-overlay-header-class {
		background-color:rgba(0, 89, 179, .7);
		border-style:solid;
		border-width:1px;
		border-color:grey;
		color:white;
		text-align:center;
		padding-top:1px;
		padding-bottom:1px;
	}

/*Practice Assist checkbox and Save button*/
	.pr-assist-save-full-class {	
		position:relative;
		display:block;
		height:25px;
		margin-bottom:0px;
		width: 100%;
		margin:0px;
		padding:0px;
		margin-top:1px;
		background-color:rgba(230,255,255,.3);
	}

	.pr-horizontal-assist-save-list-class {
		margin:0px;
		padding:0px;
		margin-left:3px;
		width:100%;
		list-style: none;
		font-size:10px;
		text-decoration:none;
	}

	.pr-assist-floatleft-class {
		display:block;
		position:relative;
		margin-left:3px;
		float:left;
	}

	.pr-save-floatright-class {
		display:block;
		position:relative;
		margin-right:40px;
		float:right;
	}

	.pr-save-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))
		);					
	}
	
/*Saved Defenses and Create New Defenses*/
	.pr-saveddefense-createnewdefense-full-class {	
		position:relative;
		display:block;
		height:40px;
		margin-bottom:5px;
		width: 100%;
		margin:0px;
		padding:0px;
		background-color:rgba(230,255,255,.3);
	}

	.pr-saveddefense-createnewdefense-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
		font-size:10px;	
	}
	
	.pr-horizontal-saveddefense-createnewdefense-ul-class {
		margin:0px;
		padding:0px;
		margin-left:3px;
		list-style: none;
		font-size:10px;
		text-decoration:none;
	}

	.pr-horizontal-saveddefense-createnewdefense-ul-class > li {
		/*float:left;*/
		margin:0px;
		padding:0px;
	}

	.pr-saveddefense-dropdown-list-class {
		text-decoration:none;
		font-weight:normal;
		color: white;
		border:1px solid rgb(173,171,171);
		background-color: rgb(186, 115, 174);
		border-radius: 1px;
		margin-bottom:6px;
	}

	.pr-saveddefense-select-class {
		font-size:10px;
		max-width:100px;
		overflow: scroll; /* Disable horizontal scroll */	
	}

	.pr-deletedefense-button-class {
		font-size:10px;
		width:12px;
		text-align:center;
		margin:0px;
		padding:0px;
		padding-top:2px;
		margin-left:23px;
	}

	.pr-createnewdefense-input-class {
		font-size:10px;
		margin:0;
		padding:0;
		width:136px;
	}
	
	.pr-createnewdefense-button-class {
		font-size:9px;
		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))
		);					
	}

/*Radio Buttons for Fakes, Sound, Range, Speed*/	
	.pr-horizontal-radio-div-class {
		display:block;
		position:relative;
		margin:0;
		padding:0;
		margin-left:-35px;
		font-size:10px;
	}

	.pr-horizontal-radio-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
		font-size:10px;			
	}
	
	.pr-horizontal-radio-ul-class li{
		text-decoration: none;
		list-style: none;	
	}

	/*by doing the arrow, we are only floating the first level Radio list. The inner*/
	/*li list will be stacked*/
	.pr-horizontal-radio-ul-class > li {
		float: left;
		height: 100%;
		text-decoration: none;
		margin-top:5px;
		margin-right:3px;
		background-color:rgb(204, 230, 255);
	}

	.pr-horizontal-radio-ul-class > a {
		text-decoration:none;
		list-style:none;
	}
	
	#pr-fakes-header-id {
		font-weight:bold;
	}

	#pr-sound-header-id {
		font-weight:bold;
	}
	
	#pr-range-header-id {
		font-weight:bold;
	}
	
	#pr-speed-header-id {
		font-weight:bold;
	}
	
	.pr-ul-of-fakes-class {
		margin:0;
		padding:0;
	}

	.pr-ul-of-sound-class {
		margin:0;
		padding:0;	
	}

	.pr-ul-of-range-class {
		margin:0;
		padding:0;
	}

	.pr-ul-of-speed-class {
		margin:0;
		padding:0;	
	}

	.pr-ul-of-rodset-class {
		margin:0;
		padding:0;	
	}


/*RodSet is a checkbox by itself under the other Radio buttons to fit better*/
	.pr-vertical-radio-div-class {
		display:block;
		position:relative;
		margin:0;
		padding:0;
		margin-left:3px;
		margin-right:3px;
		font-size:10px;
	}

	.pr-vertical-radio-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
		font-size:10px;
	}
	
	.pr-vertical-radio-ul-class li{
		float: left;
		text-decoration: none;
		list-style: none;
	}

	.pr-vertical-radio-ul-class > li {
		height: 100%;
		text-decoration: none;
		margin-top:5px;
		margin-left:-25px;
		padding-left:3px;
		padding-right:3px;
		background-color:rgb(204, 230, 255);
	}

	.pr-vertical-radio-ul-class > a {
		text-decoration:none;
		list-style:none;
	}
	
	#pr-rodset-header-id {
		font-weight:bolder;
	}



/*Shot Clock, Time Delay, level of difficulty*/
	.pr-tdr-setup-lvldiff-div-class {
		display:block;
		position:relative;
		margin:0;
		padding:0;
		width:100%;
		min-height:60px;
		margin-top:3px;
		margin-left:10px;
		font-size:10px;
		background-color:rgb(240, 240, 245);

	}
	
	.pr-tdr-setup-lvldiff-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
		font-size:10px;		
	}

	.pr-tdr-setup-lvldiff-ul-class {
		margin:0;
		padding:0;
		font-size:10px;
	}
	
	.pr-tdr-setup-lvldiff-ul-class > li {
		float: left;
		height: 100%;
		text-decoration: none;
		list-style: none;
		margin-top:5px;
		margin-right:13px;
		margin-bottom:5px;
		padding:2px;
		background-color:rgb(209, 209, 224);

	}

	/*tdr on the leftside*/
	#pr-tdr-label-id {
		font-weight:bold;
		margin-bottom:2px;
		margin-left:0px;
		text-align:center;
	}

	.pr-tdr-div-class {
		display:block;
		position:relative;
		height: 100%;		
	}
	
	.pr-tdr-min-div-class {
		display:flex;
		position:relative;
		margin-bottom:2px;
	}
	
	.pr-tdr-min-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:30px;
		margin-right:3px;
	}

	.pr-tdr-max-div-class {
		display:flex;
		position:relative;
	}
	
	.pr-tdr-max-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:30px;
		margin-right:3px;
	}
	
	#pr-tdr-input-label-id {
		display:block;
		text-align:center;
		margin:0;
		padding:0;
		margin-right:2px;
		width:70px;
		background-color:rgb(255, 230, 153);  /*rgba(203,210,171,1); */
	}


	
	/*Setup time and Lvl of Diff*/
	#pr-setup-lvldiff-label-id {
		font-weight:bold;
		margin-bottom:2px;
		margin-left:8px;
		text-align:center;

	}

	.pr-setup-lvldiff-div-class {
		display:block;
		position:relative;
		height: 100%;
	}
	
	.pr-start-delay-div-class {
		display:flex;
		position:relative;
		margin-bottom:2px;
	}
	
	.pr-start-delay-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:30px;
		margin-right:3px;
	}	
	
	.pr-lvldiff-div-class {
		display:flex;
		position:relative;
	}
	
	.pr-lvldiff-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:30px;
		margin-right:3px;
	}		
		
	#pr-setup-input-label-id {
		display:block;
		text-align:center;
		margin:0;
		padding:0;
		margin-right:2px;
		width:70px;
		background-color:rgb(255, 230, 153);
	}

	#pr-lvldiff-input-label-id {
		display:block;
		text-align:center;
		margin:0;
		padding:0;
		margin-right:2px;
		width:70px;
		background-color:rgb(255, 230, 153);
	}

/*Shot Type and Defense Configuration*/
	.pr-shottype-defconfig-full-class {	
		position:relative;
		display:block;
		margin-bottom:5px;
		width: 100%;
		margin:0px;
		padding:0px;
		background-color:rgba(230,255,255,.3);
	}

	.pr-shottype-defconfig-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
		font-size:10px;	
	}
	
	.pr-horizontal-shottype-defconfig-ul-class {
		margin:0px;
		padding:0px;
		margin-left:3px;
		width:100%;
		list-style: none;
		font-size:10px;
		text-decoration:none;
	}

	.pr-horizontal-shottype-defconfig-ul-class > li {
		float:left;
		margin:0px;
		padding:0px;
		margin-right:5px;
		margin-bottom:5px;
	}

	.pr-shottype-dropdown-list-class {
		text-decoration:none;
		font-weight:normal;
		color: white;
		border:1px solid rgb(173,171,171);
		background-color: rgb(186, 115, 174);
		border-radius: 1px;
	}

	.pr-shottype-select-class {
		font-size:10px;
		max-width:75px;
	}

	.pr-defconfig-dropdown-list-class {
		text-decoration:none;
		font-weight:normal;
		color: white;
		border:1px solid rgb(173,171,171);
		background-color: rgb(186, 115, 174);
		border-radius: 1px;
	}

	.pr-defconfig-select-class {
		font-size:10px;
		max-width:75px;
	}

/*Direction and Weight Per Rod*/
	.pr-direction-full-class {	
		position:relative;
		display:block;
		font-size:8px;
		margin:0px;
		padding:0px;
		margin-top:8px;
		margin-right:1px;
		border:solid;
		border-width:2px;
		border-radius:5px;
		background-color:rgba(230,255,255,.3);
	}

	.pr-direction-table-class {
		display: table;   /* Allow the centering to work */
		margin: 0 auto;
	}

	.pr-direction-header-div-class {
		text-align:center;
		font-weight:bolder;
		margin-top:2px;
		margin-bottom:5px;
		font-size:12px;
	}
	
	#pr-direction-label-id {
		font-weight:bolder;
	}
	
	.pr-direction-ul-class {
		margin:0px;
		padding:0px;
		margin-left:1px;
		width:100%;
		list-style: none;
		text-decoration:none;
	}

	.pr-direction-ul-class > li {
		float:left;
		margin:0px;
		padding:0px;
		/*margin-right:5px;*/
		margin-bottom:5px;
	}

	/*common across all Rods for Weight Input*/
	.pr-weight-class {
		font-size:8px;
		margin:0;
		padding:0;
		background-color:rgb(204, 230, 255);
		width:22px;
		margin-right:1px;
	}		
	
	.pr-direction-label1-class {
		display:inline-block;
		background-color:rgb(255, 230, 153);
		width:39px;
		padding:1px;
	}
	
	.pr-direction-label2-class {
		background-color:rgb(255, 230, 153);
		padding:1px;
	}	
	
	

@media screen and (min-width: 200px) {	
	.pr-vertical-radio-table-class {
		margin-left:14px;
	}

}

@media screen and (min-width: 281px) {
	.pr-overlay {
		margin-top: 140px;
		height: 68%;
	}
	
}

@media screen and (min-width: 301px) {	
	.pr-vertical-radio-ul-class > li {
		margin-left:-10px;
	}
}

@media screen and (min-width: 325px) {	
	.pr-horizontal-radio-ul-class > li {
		width:65px;
	}
	
	.pr-saveddefense-select-class {
		font-size:10px;
		max-width:95px;
	}
	
	.pr-vertical-radio-ul-class > li {
		margin-left:1px;
	}

	.pr-tdr-setup-lvldiff-ul-class > li {
		margin-right:28px;
	}



	.pr-direction-full-class {	
		font-size:10px;
	}
	
	.pr-direction-ul-class > li {
		margin-right:5px;
	}

	.pr-weight-class {
		font-size:10px;
		width:22px;
		margin-right:3px;	
	}
	
	.pr-direction-label1-class {
		display:inline-block;
		background-color:rgb(255, 230, 153);
		width:52px;
		padding:3px;
	}

	.pr-direction-label2-class {
		padding:3px;
	}		
}

@media screen and (min-width: 357px) {	
	.pr-vertical-radio-ul-class > li {
		margin-left:13px;
	}
}

@media screen and (min-width: 370px) {	
	.pr-horizontal-radio-ul-class > li {
		width:75px;
	}
	
	.pr-vertical-radio-ul-class > li {
		margin-left:21px;
	}
	
	.pr-tdr-setup-lvldiff-ul-class > li {
		margin-right:40px;
	}
}

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

	.pr-vertical-radio-ul-class > li {
		margin-left:25px;
	}

	.pr-tdr-min-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:44px;
		margin-right:3px;
	}

	.pr-tdr-max-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:44px;
		margin-right:3px;
	}

	.pr-start-delay-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:44px;
		margin-right:3px;
	}
	
	.pr-lvldiff-div-class input{
		font-size:10px;
		margin:0;
		padding:0;
		width:44px;
		margin-right:3px;
	}		

	.pr-weight-class {
		font-size:10px;
		width:35px;
		margin-right:3px;	
	}
}

@media screen and (min-width: 435px) {	
	.pr-overlay {
		margin-left: 50px;
}

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


}

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


}

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


}

