@charset "ISO-8859-1";

* {
  box-sizing: border-box;
}

body {
	background-color: PapayaWhip;
	background-image: url("/PHOTOS/logo_small.png");	
	background-repeat: no-repeat;
	background-size: 50px 50px;
}

h2 {
	color: green;
	align-self: center;
	text-align: center;
	margin: 0px;
}
h3 {
	color: green;
	align-self: center;
	text-align: center;
	margin: 0px;
}

h4 {
	color: green;
	margin: 0px;
}

input[type=text], select, textarea {
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit]  {
  background-color: SeaGreen;
  color: white;
  margin: 5px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=button], input[type=reset] {
  background-color: FireBrick;
  color: white;
  margin: 5px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

p a {
  background-color: MediumBlue;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: none;
}

.container {
  border-radius: 5px;
  padding: 20px;
}

.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75/*, input[type=button] */{
    width: 100%;
    margin-top: 0;
  }
}

/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: lightGoldenRodYellow; 
}
tr:nth-of-type(even) { 
  background: PaleGoldenRod; 
}
th { 
  background: Coral; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%;
		word-break: break-word; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		/*white-space: nowrap*/;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "No"; }
	td:nth-of-type(2):before { content: "Name"; }
	td:nth-of-type(3):before { content: "Address1"; }
	td:nth-of-type(4):before { content: "Address2"; }
	td:nth-of-type(5):before { content: "City"; }
	td:nth-of-type(6):before { content: "State"; }
	td:nth-of-type(7):before { content: "Pincode"; }
	td:nth-of-type(8):before { content: "Country"; }
	td:nth-of-type(9):before { content: "Home Phone"; }
	td:nth-of-type(10):before { content: "Cell Phone"; }
	td:nth-of-type(11):before { content: "Email"; }

	body {
		background-size: 25px 25px;
	}
	
	#myTopBtn {
	right: 50vw; /* Place the button 30px from the right */
	}

}

.mandatory {
	color: red;
}

#myTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: red; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-weight: bold;
}

#myTopBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}