/* ----- FORM CLASSES ----- */

/* The formatting for a form itself */
.form{
	margin: auto;
	margin-top: 5%;
	width: 30%;
	background-color: rgba(255,255,255,1);
	color: #333;
	font-family: "Lato-Light","Segoe UI Light","Calibri";
	z-index:2;
	padding:10px;
	border: 3px solid;
	border-color: #000;
}

/* The greying out of the background that occurs when a form is open */
.formOverlay{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	min-height:768px;
	height: 100%;
	background-color: rgba(0,0,0,.8);
	z-index:2;
}

/* The label applied for inputs on the form */
.formLabel{
	font-size:100%;
}

/* The formatting applied for inputs that don't do their own styling for the form */
.formInput{
	width: 99%;
	font-family: "Lato-Light","Segoe UI Semi-Light","Calibri";
	background-color: rgba(255,255,255,.8);
	border: 1px rgba(255,255,255,.8) solid;
}

/* The button that closes the form */
.closeButton{
	background-color: rgba(255,255,255,.2);
	color: #000;
	padding:3px;
	width:99%;
	text-align:center;
	margin-top:10px;
	z-index:0;
	position:relative;
  cursor: pointer;
}

/* ---- MENU CLASSES ----- */

/* The styling of the menu itself */
.contextMenu{
	position: absolute;
	box-shadow: 2px 2px 0px 0px rgba(0,0,0,.25);
	border-radius: 2px;
	overflow-x: hidden;
	overflow-y: hidden;;
  z-index: 100;
}

/* Each individual item on the menu's styling */
.menuItem{
	font-family: "Lato-Light","Segoe UI Light","Calibri";
	color:#333;
	background-color:#FFF;
	padding:5px;
	padding-left: 20px;
	border: 1px rgba(0,0,0,.05) dotted;
	font-size:70%;
	cursor: pointer;
}

/* The styling of an item when you hover over it */
.menuItem:hover {
	color:#FFF;
	background-color:#333;
}

/* ----- SLIDER CLASSES ------ */

/* The container for the slider segements */
.sliderDiv {
	display: -webkit-flex;
	border-radius: 5px;
	box-shadow: 1px 1px 1px 1px #555;
	height:20px;
	overflow:hidden;
	position:relative;
	margin-top: 200px;
	cursor: pointer;
}

/* An individual segement's label */
.sliderLabel {
  -webkit-transform-origin: 0px 0px;
	-webkit-transform: rotate(-45deg);
	color: rgba(0,0,0,.75);
	border-bottom: 3px solid;
	border-color: #555;
  padding-left: 10px;
	opacity: .5;
	font-family: "Lato-Medium","Segoe UI Semi-Light","Calibri";
	position: absolute;
}

/* An individual segment of the slider */
.sliderSegment{
	opacity: .6;
	height:20px;
}

/* The countainer for the labels of the slider */
.sliderNames{
	position:relative;
	height: auto;
}

/* The divider between segments */
.slide{
	cursor: col-resize;
	width:.5%;
	min-width: 6px;
	height: 20px;
	position:absolute;
	background-color: rgba(0,0,0,.2);
}

/* ----- DROPDOWN CLASSES ---- */

/* The dropw down itself */
.dropdown{
	background-color:rgba(0,0,0,.6);
	color:#FFF;
	font-family: "Lato-Light","Segoe UI Semi-Light","Calibri";
	font-size:16px;
	padding:2px;
	height:20px;
	margin-bottom: 10px;
	cursor: pointer;
	position: relative;
}

/* The triangle that indicates that the dropdown is droppable-downable */
.triangleDown{
	background: transparent url("../img/down.png") no-repeat;
	background-size: 10px 10px;
	background-position: 10px 5px;
	width: 20px;
	height:20px;
	float:right;
}

/* Container for the dropped-down part */
.expandedDropdown{
	background-color:rgba(255,255,255,.9);
	color:#333;
	font-family: "Lato-Light","Segoe UI Light","Calibri";
	font-size:14px;
	z-index: 2;
	position: absolute;
	left: 0px;
	width: 100%;
	border: 2px solid;
	border-color: #000;
	box-sizing: border-box;
	box-shadow: 1px 4px 2px 0px rgba(0,0,0,.2);
}

/* An individual option in the dropdown */
.dropOption{
	background-color:rgba(255,255,255,.9);
	color:#333;
	z-index: 2;
	cursor: pointer;
	padding: 2px;
}

/* The hover stling to indicate what is being hovered over */
.dropOption:hover{
	background-color:rgba(150,150,150,.9);
	color: #FFF;
	z-index: 2;
}

/* The label for the dropdown when appearing on a form */
.dropLabel{
	font-size: 14px;
}

/* ----- SWITCH CLASSES ----- */

/* The class that contains the switch elements */
.switchContainer{
	font-size:0px;
	border-radius: 2px;
	overflow: hidden;
}

/* The switch itself */
.switch{
	display: inline-block;
	width:30px;
	height:20px;
	font-size:14px;
	padding-top:3px;
	padding-left: 2px;
	vertical-align:top;
	box-sizing: border-box;
	position:relative;
	padding-bottom:  4px;
	font-family: "Lato-Light","Segoe UI Semi-Light","Calibri";
	cursor: pointer;

}

/* How the light side of the switch should look */
.lightSwitch{
	background-color: rgba(255,255,255,.75);
	color: rgba(0,0,0,.25);
	box-shadow: 0px 0px 5px 2px rgba(0,0,0,.2);

}

/* How the dark side should look */
.darkSwitch{
	background-color: rgba(0,0,0,.65);
	color: rgba(255,255,255,.25);
}

/* What the formatting within the switch is */
.switchInput{
	font-family: "Lato-Light","Segoe UI Light","Calibri";
	font-size: 120%;
	padding-bottom:10px;
}

/* The formatting for the label for the switch  */
.switchLabel{
	display:inline-block;
	vertical-align:top;
	font-size:14px;
}

.switchLabel + .switchLabel{
	padding-left: 5px;
	padding-top: 2px;
}

/* ----- TRISTATE SWITCH CLASSES ----- */

/* The actual tri-state switch */
.tri{
	display: inline-block;
	width:40px;
	height:30px;
	font-size:10px;
	padding-top:10px;
	vertical-align:middle;
	text-align:center;
	box-sizing: border-box;
	font-family: "Lato-Light","Segoe UI Light","Calibri";
	background-color: rgba(0,0,0,.7);
	color: rgba(255,255,255,.2);
	cursor: pointer;
}

/* The formatting for the selected part of the tristate switch */
.triSelected {
	background-color: rgba(255,255,255,.9);
	color: rgba(0,0,0,.9);
}
