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

.PID-overlay {
    margin-left: 140px;
    margin-top: 180px;
    left: 0;
    top: 0;
    position: fixed; /* Stay in place */
    height: 228px;
    width: 0;
    z-index: 5; /* Sit on top */
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, .7); /* Black w/opacity */
    overflow: auto;  /* 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) */
.PID-overlay .closePIDbtn {
    position: absolute;
	color:white;
    top: 0px;
    right: 5px;
    font-size: 20px;
}

/* Moving this one thing to menu.css because it is really used for Shuffle sync*/
/* and we are moving the shuffle sync to be visible outside the PID overlay.*/
/*
.manualmode-pid-type-div-class {
	display:block;
	position:relative;
	float:left;
	width:90%;
    left: 0;
    top: 0;
    margin-top: 4px;
	font-size:10px;
	color:white;
	text-align:right;
}
*/


#PID-controls {
    width: 100%;
    height: calc(100% - 53px);
    position: absolute;
}

#PID-title {
    font-size:14px;
    padding-top:0px;
    margin-left:7px;
	color: white;
    width:auto;
}

.PID-heading {
    font-size:14px;
    padding-top:20px;
    margin:0;
	padding-left:18px;
	color: white;
    width:auto;
}

.PIDValues {
    font-size:16px;
    padding:0;
    margin:0;
	color: white;
    width:auto;
}

.PID-finetune {
    /*width: calc(100% - 20px);*/
    width:35px;
    height: auto;
}


#PID-table-id {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    margin-top: 10px;
    margin-bottom: 10px;
}

#PID-td-id {
	text-align: center;
}


/* Set and clear User defined PID Settings */
.pid-default-div-class {
	display:block;
	position:relative;
}

.pid-setdefault-button-class {
	margin-left:20px;
	font-size:10px;
	margin-bottom:3px;
}

.pid-cleardefault-button-class {
	font-size:10px;
	margin-bottom:3px;
}



@media screen and (min-width: 200px) {
	.PID-overlay {
		margin-left: 70px;
	}
	
}

@media screen and (min-width: 325px) {
			
	.PID-overlay {
		margin-left: 70px;
	}
	
    .PID-overlay > a {
		font-size:14px;
    }
}


@media screen and (min-width: 400px) {
 	
	.PID-overlay {
		margin-left: 150px;
	}
	
    .PID-overlay > a {
		font-size:14px;
		font-weight:normal;
    }
}


@media screen and (min-width: 520px) {
	
	.PID-overlay {
		margin-left: 280px;
	}

    .PID-overlay > a {
        font-size:20px;
    }
}

@media screen and (min-width: 620px) {
	
	.PID-overlay {
		margin-left: 380px;
	}
}

@media screen and (min-width: 800px) {
	
	.PID-overlay {
		margin-left: 480px;
	}
}



