html
{  
	position: relative;
	min-height: 100%;
}
html, body
{
	padding: 0;
	margin: 0;
}
body
{
	background-color: #fff;
	font-family: Arial, Helvetica, Verdana;
	font-size: 14px;
	line-height: 22px;
	color: #666;
	position: relative;
	-webkit-text-size-adjust: none;
	 margin-bottom: 40px;
}
body *
{
	text-shadow: none;
}
h1, h2, h3, h4, h5, h6
{
	line-height: 1;
	font-weight: bold;
	margin: 20px 0 10px 0;
}
h1, h2, h3
{
	font-size: 18px;
}
h4, h5, h6
{
	font-size: 16px;
}
p
{
	margin: 0 0 10px 0;
}
a, a:link, a:active, a:visited, a:hover
{
	color: inherit;
	text-decoration: underline;
}

nav:not(.mm-menu)
{
	display: none;
}

.header,
.content,
.footer
{
	text-align: center;
}
.header,
footer
{
	background: #777;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	line-height: 40px;

	-moz-box-sizing: border-box;
	box-sizing: border-box;	
	width: 100%;
	height: 40px;
	padding: 0 50px;
}
.header.fixed
{
	position: fixed;
	top: 0;
	left: 0; 
}
.footer.fixed
{ 
	position: fixed;
	bottom: 0;
	left: 0;
}
.header a
{
	background: center center no-repeat transparent;
	background-image: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC );

	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 10px;
}
.content
{
	background: url(menu-arrow.png) 40px 15px no-repeat transparent;
	padding: 150px 50px 50px 50px;
	/*position: relative;*/
}

.fieldset {
  max-width: 800px;
  margin: 0 auto 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Responsive styling */
@media all and (min-width: 600px) {

  .fieldset {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  
 
  
 .fieldset vaadin-combo-box {
    -webkit-flex-basis: 40%;
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
  }
}



/* STUFF FOR TABLE TESTING */
table#miyazaki { 
  margin: 0 auto;
  border-collapse: collapse;
  font-family: Agenda-Light, sans-serif;
  font-weight: 100; 
  background: #666; color: #fff;
  text-rendering: optimizeLegibility;
  border-radius: 1px; 
}
table#miyazaki caption { 
  font-size: 1rem; color: #444;
  margin: .5rem;
  /*background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/miyazaki.png), url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/4273/miyazaki2.png);*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left, center right; 
}
table#miyazaki thead th { font-weight: 600; }
table#miyazaki thead th, table#miyazaki tbody td { 
  padding: .25rem; font-size: 1rem;
}
table#miyazaki tbody td { 
  padding: .25rem; font-size: 1rem;
  color: #444; background: #eee; 
}
table#miyazaki tbody tr:not(:last-child) { 
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;  
}

@media screen and (max-width: 600px) {
  table#miyazaki caption { background-image: none; }
  table#miyazaki thead { display: none; }
  table#miyazaki tbody td { 
    display: block; padding: .5rem; 
  }
  table#miyazaki tbody tr td:first-child { 
    background: #666; color: #fff; 
  }
	table#miyazaki tbody td:before { 
    content: attr(data-th); 
    font-weight: bold;
    display: inline-block;
    width: 4rem;  
  }
}

.delButton{
	-webkit-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	-moz-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	background-color:#666;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border:1px solid #444;
	  border-radius: 5px; 
	color:#fff;
	font-family: Agenda-Light, sans-serif;
	font-weight:200;
	padding:2px 6px;
	text-align: center;
	display: inline-block;
}

.add{
	-webkit-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	-moz-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	background-color:#666;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border:1px solid #444;
	  border-radius: 5px; 
	color:white;
	font-family: Agenda-Light, sans-serif;
	font-size:1.25em;
	font-weight:150;
	padding:2px 6px;
	height: 30px;
	text-align: center;
	display: inline-block;
}

.NumInput{
	-webkit-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	-moz-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	background-color:#fff;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border:1px solid #999;
	  border-radius: 5px; 
	color:#666;
	font-family: Agenda-Light, sans-serif;
	font-size:1.25em;
	font-weight:100;
	padding:2px 6px;
	height: 30px;
	text-align: center;
	display: inline-block;
}
.buttonContainer{
	border-radius: 5px;
	height: 44px;
	width: 300px;
	margin: auto;
	text-align: center;
	margin: 0px auto;
}

.detailButton{
	-webkit-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	-moz-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	box-shadow:rgba(0,0,0,0.98) 0 1px 0 0;
	background-color:#666;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border:1px solid #444;
	  border-radius: 5px; 
	color:white;
	font-family: Agenda-Light, sans-serif;
	font-size:1.25em;
	font-weight:150;
	padding:2px 6px;
	height: 30px;
	text-align: center;
	display: inline-block;
	width: 100px;
}


/**
 * Start by hiding the checkboxes
 */
input[type=checkbox] {
	visibility: hidden;
}


/**
 *cbProject
 */
.cbProject {
	width: 120px;
	height: 40px;
	background: #666;
	margin: 0px;
	border-radius: 50px;
	position: relative;
}

/**
 * Create the text for the On position
 */
.cbProject:before {
	content: 'Yes';
	position: absolute;
	top: 12px;
	left: 13px;
	height: 2px;
	color: #f5ca40;
	font-size: 16px;
}

/**
 * Create the label for the off position
 */
.cbProject:after {
	content: 'No';
	position: absolute;
	top: 12px;
	left: 84px;
	height: 2px;
	color: #ffffff;
	font-size: 16px;
}

/**
 * Create the pill to click
 */
.cbProject label {
	display: block;
	width: 52px;
	height: 22px;
	border-radius: 50px;
	transition: all .5s ease;
	cursor: pointer;
	position: absolute;
	top: 9px;
	z-index: 1;
	left: 12px;
	background: #ddd;
}

/**
 * Create the checkbox event for the label
 */
.cbProject input[type=checkbox]:checked + label {
	left: 60px;
	background: #f5ca40;
}


/**MMENU Styling**/
.mm-navbar-top-1 {
	text-align: center;
	position: relative;
	border-bottom: none;
}
.mm-navbar-top-1:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 1px;
}
.mm-navbar-top-1 > * {
	display: inline-block;
	vertical-align: middle;
}
.mm-navbar-top-1 a {
	border: 1px solid #666;
	text-decoration: none;
}
.mm-navbar-top-1 img {
	opacity: 0.6;
	border: 1px solid #666;
	border-radius: 60px;
	width: 60px;
	height: 60px;
	padding: 10px;
	margin: 0 10px;
	text-decoration: none;
}
/*CONTROLS SIDE ICONS COLOR AND OUTLINE*/
.mm-navbar-top-1 a {
	border-radius: 40px;
	color: #666 !important;
	font-size: 16px !important;
	line-height: 40px;
	width: 40px;
	height: 40px;
	padding: 0;
}
.mm-navbar-top-1 a:hover {
	border-color: #666;
	color: #fff !important;
	text-decoration: none;
}
.mm-listview li:last-child:after {
	content: none;
	display: none;
}
.mm-listview > li > a,
.mm-listview > li > a + span,
.mm-listview > li > a .fa {
	color: #666;
	text-decoration: none;
}
.mm-listview > li > a:hover,
.mm-listview > li > a:hover + span,
.mm-listview > li > a:hover .fa {
	color: #666;
	text-decoration: none;
}
.mm-listview > li .fa {
	position: absolute;
	left: 20px;
	top: 50%;
	margin-top: -10px;
	text-decoration: none;
}

.mm-navbar-bottom-1 {
	text-align: center;
	position: bottom;
}

.mm-navbar-bottom-1 a {
	border-radius: 40px;
	color: #666 !important;
	font-size: 16px !important;
	border: 1px solid #666;
	text-decoration: none;
}

