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

/* Render Overlay Menu */
.render-overlay {
	display:block;
	position:fixed;
	margin:0px;
	padding:0px;
	left:0;	
	margin-top:25px;
    width:0;
    z-index: 5; /* Sit on top */
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, .8); /* Black w/opacity */
    overflow: hidden;  /* Enable or Disable horizontal scroll */
    transition: 0.3s; /* 0.5 second transition effect to slide in or slide down the */
}


/* Position the close button (top right corner) */


#render-title-id {
    display:block;
	position:relative;
	font-size:10px;
    padding-top:0px;
	color: white;
    width:100%;
	height:14px;
	text-align:center;
}

.closerenderbtn {
	margin:0px;
	padding:0px;
}

.render-overlay .closerenderbtn {
    position: absolute;
	color:white;
    top: -6px;
    right: 5px;
    font-size: 20px;
}

/***************************************************/
/* Render Menu*/

.render-full-panel-class {
	position:relative;
	display:block;
	width:100%;
}

.render-menu-full-class {	
	position:relative;
	display:block;
	height:28px;
	margin-bottom:5px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:1px;
	background-color:rgba(230,255,255,.3);
}

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

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

.render-menu-full-class a {
    text-decoration: none;
    list-style: none;
    color: white;
}

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

.render-horizontal-menu-list-class > li {	
	float:left;
	margin:0px;
	padding:0px;
}

#render-filename-dropdown-id {
	margin-top:0px;
	width:100px;
}

#render-filename-input-id {
	background-color:lightblue;
	width:70px;
	margin:0px;
	padding:0px;
	margin-top:1px;
	margin-left:-6px;
	font-size:9px;
}

#render-start-dropdown-id {
	margin-left:-28px;
	width:30px;
}

#render-stop-dropdown-id {
	width:30px;
}

#render-marker-dropdown-id {
	margin:0px;
	padding:0px;
	color:white;
	width:73px;
}

#render-marker-hour-id {
	margin:0px;
	padding:0px;
	width:13px;
	font-size:9px;
}

#render-marker-minute-id {
	margin:0px;
	padding:0px;
	width:13px;
	font-size:9px;
}

#render-marker-second-id {
	margin:0px;
	padding:0px;
	width:13px;
	font-size:9px;
}

#render-marked-button-dropdown-id {
	margin-left:2px;
	margin-top:3px;
	color:white;
	width:15px;
}

#render-marked-button-id {
	width:12px;
	border-radius:3px;
	height:10px;
	border-width:1px;
	border-color:white;
	background-color:blue;
}



/* Second upper menu due to space concerns*/
.render-menu2-full-class {	
	position:relative;
	display:block;
	height:28px;
	margin-bottom:5px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:1px;
	background-color:rgba(230,255,255,.3);
}

.render-menu2-table-class {
	display: table;   /* Allow the centering to work */
	/*margin: 0 auto;*/ /*setting this without the margin-left setting, will center the ul */
	padding:0px;
	margin-left:2%;
}

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

.render-menu2-full-class a {
    text-decoration: none;
    list-style: none;
    color: white;
}

.render-menu2-full-class a:hover {
    background-color: lightsalmon;
}

.render-horizontal-menu2-list-class > li {	
	float:left;
	margin:0px;
	padding:0px;
}

#render-choosevideo-dropdown-id {
	margin-top:7px;
	margin-left:-5px;
	width:200px;
	color:white;
}

.render-choosevideo-input-class {
	background-color:lightblue;
	margin:0px;
	padding:0px;
	margin-right:7px;
	font-size:9px;
	width:160px;
	color:black;
}

#render-videocheckbox-dropdown-id {
	margin-top:5px;
	margin-left:-1px;
	width:30px;
}


.render-upper-defenseplayers-class {
	display:block;
	position:relative;
	margin:0;
	padding:0;	
}

.render-upper-defenseplayer1-class {
	display:inline-block;
	vertical-align:top;
	position:relative;
	width:99px;
	margin-top:5px;
	margin-bottom:2px;
	padding-right:0px;
	text-align:left;
	color:white;
	font-size:9px;
}

.render-upper-defenseplayer2-class {
	display:inline-block;
	position:relative;
	width:99px;
	margin-top:5px;
	margin-bottom:2px;
	text-align:left;
	margin-left:1px;
	color:white;
	font-size:9px;
}

.render-defplayer1-input-class {
	padding-left:2px;
	padding-right:0px;
	width:90px;
	background-color:rgb(255,219,148);
	font-size:8px;
}

.render-defplayer2-input-class {
	padding-left:2px;
	width:90px;
	background-color:rgb(255,219,148);
	font-size:8px;

}

.render-upper-switchpositions-button-class {
	margin:0;
	padding:0;
	font-size:8px;
	width:15px;
}


/***************************************************/
/* Render Controls*/

/*this is affecting spacing above for padding between menu. not sure why the div doesn't*/
#render-controls-id {
	display:block;
	position: relative;

	/*background-image: url("http://localhost/foosfit-pwa/assets/img/render-yellowside-stretched_tornado_table.png");*/
	/*background-image: url("https://foosfit.com/assets/img/render-yellowside-stretched_tornado_table.png");*/
	background-size:contain;
	background-repeat:no-repeat;
	background-size: 100% 100%;

	height:200px;
	width: 100%;
}

/*Render Headers for Controls*/
.render-controls-menu-class {	
	display:block;
	position:relative;
	height:15px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:0px;
	padding-top:18px;
}

.render-controls-horiz-ul-class {
	margin:0px;
	padding:0px;
	margin-left:5px;
	width:100%;
	list-style: none;
	font-size:9px;
	text-decoration:none;
}

.render-controls-horiz-ul-class > li {	
	float:left;
}


/* trying to force width of buttons and div here to get what we need as far*/
/* as spacing and easier user experience as the screen grows*/

.render1-upperbutton-class {
	width:10px;
}

.render1-lowerbutton-class {
	width:10px;
	margin-top:55px;
}

.render2-upperbutton-class {
	width:10px;
}

.render2-lowerbutton-class {
	width:10px;
	margin-top:55px;
}

.render3-upperbutton-class {
	width:10px;
}

.render3-lowerbutton-class {
	width:10px;
	margin-top:55px;
}

.render4-upperbutton-class {
	width:10px;
}

.render4-lowerbutton-class {
	width:10px;
	margin-top:55px;
}

.render5-upperbutton-class {
	width:10px;
}

.render5-lowerbutton-class {
	width:10px;
	margin-top:55px;
}

.render6-upperbutton-class {
	width:10px;
}

.render6-lowerbutton-class {
	width:10px;
	margin-top:55px;
}


/*Lower Defense Players*/
.render-lower-defenseplayers-class {
	display:block;
	position:relative;
	margin:0;
	padding:0;	
}

.render-lower-switchpositions-button-class {
	margin:0;
	padding:0;
	font-size:8px;
	width:15px;
}

.render-lower-defenseplayer3-class {
	display:inline-block;
	position:relative;
	width:100px;
	margin-top:2px;
	margin-bottom:8px;
	text-align:left;
	color:white;
	font-size:9px;
}

.render-lower-defenseplayer4-class {
	display:inline-block;
	position:relative;
	width:100px;
	margin-top:2px;
	margin-bottom:8px;
	text-align:left;
	margin-left:-2px;
	margin-right:1px;
	color:white;
	font-size:9px;
}

.render-defplayer3-input-class {
	padding-left:2px;
	width:90px;
	background-color:rgb(255,219,148);
	font-size:8px;
}

.render-defplayer4-input-class {
	padding-left:2px;
	width:90px;
	background-color:rgb(255,219,148);
	font-size:8px;
}



/*Bottom Menu*/
.render-bottommenu-full-class {	
	display:block;
	position:relative;
	height:25px;
	margin-bottom:5px;
    width: 100%;
	margin:0px;
	padding:0px;
    margin-top:1px;
	background-color:rgba(230,255,255,.3);
}

.render-bottommenu-table-class {
	/*display: table;*/   /* Allow the centering to work */
	/*margin: 0 auto;*/ /*setting this without the margin-left setting, will center the ul */
	padding:0px;
	margin-left:2%;
}

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

.render-bottommenu-full-class a {
    text-decoration: none;
    list-style: none;
    color: white;
}

.render-bottommenu-full-class a:hover {
    background-color: lightsalmon;
}

.render-horizontal-bottommenu-list-class > li {	
	float:left;
	margin:0px;
	padding:0px;
}

#render-switchsides-dropdown-id {
	margin-top:2px;
	margin-bottom:4px;
	width:62px;
}

#render-game-dropdown-id {
	color:white;
	width:75px;
}

#render-game-button-id {
	padding-top:0px;
	width:30px;
	font-size:10px;
}

#render-active-indicator-dropdown-id {
	margin-left:5px;
	margin-top:-1px;
	width:20px;
}

#render-active-indicator-id {
	width:13px;
	border-radius:6px;
	height:13px;
	border-width:1px;
	border-color:white;
	background-color:grey;
}

#render-flipview-dropdown-id {
	margin-top:1px;
	margin-left:5px;
	width:45px;
}

#render-portls-dropdown-id {
	margin-top:1px;
	margin-left:5px;
	color:white;
	width:40px;	
}





/*@media only screen and (min-width: 300px)  {...}*/
/*What this query really means, is “If [device width] is greater than or equal to 200px, then do {…}” */
/*so, as we grow we will always hit every media query below. but the next one will override the one previous*/


@media screen and (min-width: 200px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:18px;
	}
	
	/*Render Header Menu*/
	.render-controls1-li-class {
		margin-left:7%;
	}

	.render-controls2-li-class {
		margin-left:8%;
	}

	.render-controls3-li-class {
		margin-left:4%;
	}

	.render-controls4-li-class {
		margin-left:3%;
	}
	
	.render-controls5-li-class {
		margin-left:2%;
	}

	.render-controls6-li-class {
		margin-left:10%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:20px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:20px;
	}

	.render1-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render2-upperbutton-class {
		width:20px;
	}

	.render2-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render3-upperbutton-class {
		width:20px;
	}

	.render3-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render4-upperbutton-class {
		width:20px;
	}

	.render4-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render5-upperbutton-class {
		width:20px;
	}

	.render5-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render6-upperbutton-class {
		width:20px;
	}

	.render6-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}	

}

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

	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:30px;
	}
	
	/*Render Header Menu*/
	.render-controls1-li-class {
		margin-left:5%;
	}

	.render-controls2-li-class {
		margin-left:10%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:5%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:10%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:20px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:20px;
	}

	.render1-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render2-upperbutton-class {
		width:20px;
	}

	.render2-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render3-upperbutton-class {
		width:20px;
	}

	.render3-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render4-upperbutton-class {
		width:20px;
	}

	.render4-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render5-upperbutton-class {
		width:20px;
	}

	.render5-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render6-upperbutton-class {
		width:20px;
	}

	.render6-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}	
}

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

	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:60px;
	}
	
	/*Render Header Menu*/
	.render-controls1-li-class {
		margin-left:6%;
	}

	.render-controls2-li-class {
		margin-left:9%;
	}

	.render-controls3-li-class {
		margin-left:6%;
	}

	.render-controls4-li-class {
		margin-left:6%;
	}
	
	.render-controls5-li-class {
		margin-left:3%;
	}

	.render-controls6-li-class {
		margin-left:12%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:20px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:20px;
	}

	.render1-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render2-upperbutton-class {
		width:20px;
	}

	.render2-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render3-upperbutton-class {
		width:20px;
	}

	.render3-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render4-upperbutton-class {
		width:20px;
	}

	.render4-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render5-upperbutton-class {
		width:20px;
	}

	.render5-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render6-upperbutton-class {
		width:20px;
	}

	.render6-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}		
}

@media screen and (min-width: 335px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:70px;
	}

	.render-controls1-li-class {
		margin-left:6%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:7%;
	}

	.render-controls4-li-class {
		margin-left:6%;
	}
	
	.render-controls5-li-class {
		margin-left:3%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:20px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:20px;
	}

	.render1-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render2-upperbutton-class {
		width:20px;
	}

	.render2-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render3-upperbutton-class {
		width:20px;
	}

	.render3-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render4-upperbutton-class {
		width:20px;
	}

	.render4-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render5-upperbutton-class {
		width:20px;
	}

	.render5-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render6-upperbutton-class {
		width:20px;
	}

	.render6-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}
	
}

@media screen and (min-width: 360px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:98px;
	}

	#render-filename-input-id {
		background-color:lightblue;
		width:90px;
	}
	
	#render-start-dropdown-id {
		margin-left:5px;
	}

/*	#render-choosevideo-input-id {
		background-color:lightblue;
		width:90px;
	}
*/

	#render-videocheckbox-dropdown-id {
		margin-left: -8px;
	}

	/*spreading out bottom menu*/
	#render-switchsides-dropdown-id {
		width:64px;
		font-size:11px;
	}

	#render-game-dropdown-id {
		width:81px;
		margin-left:5px;
		font-size:11px;
	}

	#render-game-button-id {
		width:33px;
		font-size:11px;
	}

	#render-active-indicator-dropdown-id {
		margin-left:7px;	
		width:20px;
	}

	#render-flipview-dropdown-id {
		margin-left:9px;
		width:48px;
		font-size:11px;
	}

	#render-portls-dropdown-id {
		margin-left:5px;
		width:40px;
		font-size:11px;
	}



	
	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:5%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:20px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:20px;
	}

	.render1-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render2-upperbutton-class {
		width:20px;
	}

	.render2-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render3-upperbutton-class {
		width:20px;
	}

	.render3-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render4-upperbutton-class {
		width:20px;
	}

	.render4-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render5-upperbutton-class {
		width:20px;
	}

	.render5-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

	.render6-upperbutton-class {
		width:20px;
	}

	.render6-lowerbutton-class {
		width:20px;
		margin-top:84px;
	}

}

@media screen and (min-width: 379px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:109px;
	}

	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:6%;
	}

	.render-controls4-li-class {
		margin-left:5%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:11%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:25px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:25px;
	}

	.render1-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}

	.render2-upperbutton-class {
		width:25px;
	}

	.render2-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}

	.render3-upperbutton-class {
		width:25px;
	}

	.render3-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}

	.render4-upperbutton-class {
		width:25px;
	}

	.render4-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}

	.render5-upperbutton-class {
		width:25px;
	}

	.render5-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}

	.render6-upperbutton-class {
		width:25px;
	}

	.render6-lowerbutton-class {
		width:25px;
		margin-top:75px;
	}
	
	#render-filename-input-id {
	font-size:10px;
}

	.render-defplayer1-input-class {
		font-size:10px;
	}

	.render-defplayer2-input-class {
		font-size:10px;
	}

	.render-defplayer3-input-class {
		font-size:10px;
	}

	.render-defplayer4-input-class {
		font-size:10px;
	}
	
}

@media screen and (min-width: 435px) {
	/*pushing bottom defenders 3 and 4 to the left*/

	
	.render-upper-defenseplayer1-class {
		width:120px;
	}
		
	.render-upper-defenseplayer2-class {
		width:120px;
	}

	.render-defplayer1-input-class {
		width:112px;
	}

	.render-defplayer2-input-class {
		width:112px;
	}


	.render-lower-defenseplayer3-class {
		width:120px;
	}
		
	.render-lower-defenseplayer4-class {
		width:120px;
	}

	.render-defplayer3-input-class {
		width:112px;
	}

	.render-defplayer4-input-class {
		width:112px;
	}



	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:5%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:12%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:28px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:28px;
	}

	.render1-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

	.render2-upperbutton-class {
		width:28px;
	}

	.render2-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

	.render3-upperbutton-class {
		width:28px;
	}

	.render3-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

	.render4-upperbutton-class {
		width:28px;
	}

	.render4-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

	.render5-upperbutton-class {
		width:28px;
	}

	.render5-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

	.render6-upperbutton-class {
		width:28px;
	}

	.render6-lowerbutton-class {
		width:28px;
		margin-top:73px;
	}

}

@media screen and (min-width: 480px) {
	
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:190px;
	}

	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:12%;
	}

	.render-controls3-li-class {
		margin-left:6%;
	}

	.render-controls4-li-class {
		margin-left:7%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:28px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:28px;
	}

	.render1-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

	.render2-upperbutton-class {
		width:28px;
	}

	.render2-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

	.render3-upperbutton-class {
		width:28px;
	}

	.render3-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

	.render4-upperbutton-class {
		width:28px;
	}

	.render4-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

	.render5-upperbutton-class {
		width:28px;
	}

	.render5-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

	.render6-upperbutton-class {
		width:28px;
	}

	.render6-lowerbutton-class {
		width:28px;
		margin-top:74px;
	}

}

@media screen and (min-width: 535px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:245px;
	}

	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:4%;
	}

	.render-controls4-li-class {
		margin-left:6%;
	}
	
	.render-controls5-li-class {
		margin-left:3%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:35px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:35px;
	}

	.render1-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render2-upperbutton-class {
		width:35px;
	}

	.render2-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render3-upperbutton-class {
		width:35px;
	}

	.render3-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render4-upperbutton-class {
		width:35px;
	}

	.render4-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render5-upperbutton-class {
		width:35px;
	}

	.render5-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render6-upperbutton-class {
		width:35px;
	}

	.render6-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

}

@media screen and (min-width: 580px) {
	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:245px;
	}

	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:12%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:7%;
	}
	
	.render-controls5-li-class {
		margin-left:3%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:35px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:35px;
	}

	.render1-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render2-upperbutton-class {
		width:35px;
	}

	.render2-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render3-upperbutton-class {
		width:35px;
	}

	.render3-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render4-upperbutton-class {
		width:35px;
	}

	.render4-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render5-upperbutton-class {
		width:35px;
	}

	.render5-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

	.render6-upperbutton-class {
		width:35px;
	}

	.render6-lowerbutton-class {
		width:35px;
		margin-top:60px;
	}

}

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

	/*pushing bottom defenders 3 and 4 to the left*/
	.render-lower-defenseplayers-class {
		margin-left:245px;
	}
	
	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:11%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:5%;
	}
	
	.render-controls5-li-class {
		margin-left:3%;
	}

	.render-controls6-li-class {
		margin-left:12%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:40px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:40px;
	}

	.render1-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render2-upperbutton-class {
		width:40px;
	}

	.render2-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render3-upperbutton-class {
		width:40px;
	}

	.render3-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render4-upperbutton-class {
		width:40px;
	}

	.render4-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render5-upperbutton-class {
		width:40px;
	}

	.render5-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render6-upperbutton-class {
		width:40px;
	}

	.render6-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}
}

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

	.render-controls1-li-class {
		margin-left:9%;
	}

	.render-controls2-li-class {
		margin-left:12%;
	}

	.render-controls3-li-class {
		margin-left:5%;
	}

	.render-controls4-li-class {
		margin-left:6%;
	}
	
	.render-controls5-li-class {
		margin-left:4%;
	}

	.render-controls6-li-class {
		margin-left:13%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:40px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:40px;
	}

	.render1-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render2-upperbutton-class {
		width:40px;
	}

	.render2-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render3-upperbutton-class {
		width:40px;
	}

	.render3-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render4-upperbutton-class {
		width:40px;
	}

	.render4-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render5-upperbutton-class {
		width:40px;
	}

	.render5-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render6-upperbutton-class {
		width:40px;
	}

	.render6-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}
}

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

	.render-controls1-li-class {
		margin-left:10%;
	}

	.render-controls2-li-class {
		margin-left:13%;
	}

	.render-controls3-li-class {
		margin-left:6%;
	}

	.render-controls4-li-class {
		margin-left:7%;
	}
	
	.render-controls5-li-class {
		margin-left:5%;
	}

	.render-controls6-li-class {
		margin-left:14%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:40px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:40px;
	}

	.render1-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render2-upperbutton-class {
		width:40px;
	}

	.render2-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render3-upperbutton-class {
		width:40px;
	}

	.render3-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render4-upperbutton-class {
		width:40px;
	}

	.render4-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render5-upperbutton-class {
		width:40px;
	}

	.render5-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render6-upperbutton-class {
		width:40px;
	}

	.render6-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}
}

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

	.render-controls1-li-class {
		margin-left:10%;
	}

	.render-controls2-li-class {
		margin-left:13%;
	}

	.render-controls3-li-class {
		margin-left:7%;
	}

	.render-controls4-li-class {
		margin-left:8%;
	}
	
	.render-controls5-li-class {
		margin-left:6%;
	}

	.render-controls6-li-class {
		margin-left:15%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:40px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:40px;
	}

	.render1-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render2-upperbutton-class {
		width:40px;
	}

	.render2-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render3-upperbutton-class {
		width:40px;
	}

	.render3-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render4-upperbutton-class {
		width:40px;
	}

	.render4-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render5-upperbutton-class {
		width:40px;
	}

	.render5-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render6-upperbutton-class {
		width:40px;
	}

	.render6-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}
	
}

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

	.render-controls1-li-class {
		margin-left:10%;
	}

	.render-controls2-li-class {
		margin-left:15%;
	}

	.render-controls3-li-class {
		margin-left:7%;
	}

	.render-controls4-li-class {
		margin-left:9%;
	}
	
	.render-controls5-li-class {
		margin-left:6%;
	}

	.render-controls6-li-class {
		margin-left:17%;
	}

	/*changing width of buttons for easier control on larger screen*/
	
	.render-up-low-div-class {
		width:40px;
		margin-top:12px;
	}

	.render1-upperbutton-class {
		width:40px;
	}

	.render1-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render2-upperbutton-class {
		width:40px;
	}

	.render2-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render3-upperbutton-class {
		width:40px;
	}

	.render3-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render4-upperbutton-class {
		width:40px;
	}

	.render4-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render5-upperbutton-class {
		width:40px;
	}

	.render5-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}

	.render6-upperbutton-class {
		width:40px;
	}

	.render6-lowerbutton-class {
		width:40px;
		margin-top:55px;
	}
	
}