﻿
body
{
	min-width:800px; 
	margin: 0px auto; /* center */ 
	padding: 20px;
	border: 3px #9E966D;
	font-family: Arial, Helvetica;
	background-color: #7D2820;
}

/* 
	padding: 20px;
	border: 3px #9E966D;
	font-family: Arial, Helvetica;
	background-color: #7D2820;
*/
	
.mc1 {
	background-color: #FFFFFF;
	width:200px;
	border: 5px solid #9E966D;
	text-align: center;
	vertical-align:text-top;
}
.m1 {
	width:800px;
	background-color: #9E966D;
	text-align: center;
	border: 5px solid #9E966D;
}

.style2 {
	background-color: #FFFFFF;
	width:400px;
	border: 0 solid #FFFFFF;
}

.style4 {
	font-size: large;
	font-family: Tahoma;
}

.me {
	font-family: "Times New Roman", Times, serif;
	font-size: small;
	font-weight: normal;
	text-transform: capitalize;
	color: #FFFFFF;
	text-align: center;
}

h1
{
	border: medium hidden #FFFFFF;
	color: rgb(0, 153, 0);
	font-family: Arial, Helvetica, sans-serif;
}
h2
{
	font-family: "Times New Roman", Times;
	color: rgb(102,102,102); 
}
h3
{
	color: white;
	font-weight: 100;
	text-transform: capitalize;
	font-size: large;
	text-decoration: blink;
	font-family: Arial;
}
h4
{
	border: 0px none #FFFFFF;
	color: rgb(0, 0, 0);
	font-family: "Times New Roman", Times, serif;
	font-size: medium;
	text-transform: none;
	font-weight: bolder;
}
h5
{
	color: rgb(102,102,102);
	font-family: "Times New Roman", Times;
}
h6
{
	color: rgb(153,153,102);
	font-family: "Times New Roman", Times;
}

form div.dynamiclabel{ /* div container for each form field with pop up label */
  display: block;
  margin: 30px;
  font: 10px;
  position: relative;
}


form div.dynamiclabel input[type=text], form div.dynamiclabel textarea{
  width: 100px;
  height: 10px;
  cursor:pointer;
  text-align:center;
  padding: 10px;
  border: 1px solid #c3c3c3;
  border-radius: 7px;
}

form div.dynamiclabel label{ /* pop up label style */
	height: 150px;  /* I added */
	width: 200px;	/* I added */
  position: absolute;
  left: 0;
  background: lightyellow;
  border: 1px solid yellow;
  border-radius: 2px;
  padding: 3px 10px;
  box-shadow: 4px 1px 5px gray;
  font-weight: bold;
  -webkit-backface-visibility: hidden;
  top: 30px; /* initial top position of label relative to dynamiclabel container */
  -moz-transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transition: all 0.4s ease-in-out; /* Safari doesn't seem to support cubic-bezier values beyond 0 to 1, so use keyword value instead */
  -o-transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
  z-index: -1;
}


form div.dynamiclabel > *:focus{ /* when user focuses on child element inside div.dynamiclabel */
  border: 1px solid #45bcd2;
  box-shadow: 0 0 8px 2px #98d865;
}


form div.dynamiclabel > *:focus + label{ /* label style when user focuses on child element inside div.dynamiclabel */
  opacity: 1;
  z-index:100;
  top: -35px; /* Post top position of label on focus relative to dynamiclabel container */
  -ms-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
