body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  background-color: #f4f9f4;
  color: #333;
  line-height: 1.6;
}

.header { 
  background-image: linear-gradient(to right, transparent, #2f6e39), url("../images/title.jpg");
  background-repeat: no-repeat;
  text-shadow: 2px 2px black;
  color: white;
  font: 2rem bold;
  padding: 0rem 0;
  text-align: left middle;
}

.footer {
  background-color: #2f6e39;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.footer a:link,
.footer a:visited { 
	color: #FFF;
	text-decoration: underline;
}

.footer a:hover,
.footer a:active { 
	color: #DDD;
	text-decoration: underline;
}

h1{
	font: 1.8rem bold;
	color: #2f5d3c;
	margin: 0px;
	padding: 0px;
}
h2{
	font: 1.4rem bold;
	color: #2f5d3c;
	margin: 0px;
	padding: 0px;
}
h3{
	font: 1.2rem normal;
}


a:link,
a:visited { 
	color: #004f99;
	text-decoration: none;
}

a:hover,
a:active { 
	color: #009935;
	text-decoration: none;
}

a.link_button:link,
a.link_button:visited {
  background: #adc9db;
  border:1.5px solid #456879;
  color: #000000;
  padding: 0.05rem 0.5rem;
  border-radius: 4px;
  font-size: .9rem;
}

a.link_button:hover,
a.link_button:active {
  background: #b8ccd9;
  transition: background-color 0.3s ease;
}

label {
	font: 105%;
}

input[type='checkbox'] {
	-webkit-appearance:none;
	width:20px;
	height:20px;
	background:white;
	border-radius:5px;
	border:2px solid #555;
	vertical-align:middle; 
}

input[type='checkbox']:checked {
	background: #4CAF50;
}

input[type="textbox"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="date"],
input[type="number"],
select {
  width: 250px;
  padding: 0.50rem;
  border: 1px solid #456879;
  border-radius: 6px;

}

textarea {
  padding: 0.75rem;
  border: 1px solid #456879;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

input[type='submit'] {
  background-color: #388e3c;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

input[type='submit']:hover {
  background-color: #4CAF50;
}

input:required {
	background-color: #faffc4;
}

legend {
	!position: absolute;
	!top: -30px;
	!left: 40px;
	background: #fff;
	padding: 2px 10px;
	border: 2px groove threedface;
	border-top: none;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	font-weight: bold;
}

.Vaccination {
	background-color: #bcd1e2;
}

.Worming {
	background-color: #d7e8f7;
}

.Tick {
	background-color: #b3c7db;
}

.Fly {
	background-color: #9fb6cc;
}

.Drenching {
	background-color: #94a9ba;
}

.Medical {
	background-color: #daebf5;

}
.Medical td {
	padding: 2px 10px;

}

a.sign_up_button {
	font: 1.4rem normal;
	color: #fff;
	margin: 0px;
	padding: 0px;
	display: inline;
}

a.login_menu_button {
	font: 1.4rem normal;
	color: #525252;
	margin: 0px;
	padding: 0px;
	display: inline;
}

.stocklist-whitebg {
	background-color:#fcfcfc;
	border: 0px solid #fcfcfc;
	border-spacing: 0;
	border-collapse: collapse;
	white-space:nowrap;
}

.stocklistheading {
	background: #006399;
	color: white;
	height: 25px;
	padding: 10px 10px;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	white-space: nowrap;
}

.stocklistheading-sub {
	background: #488fb5;
	color: white;
	height: 25px;
	padding: 10px 10px;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	white-space: nowrap;
}

.stocklist,
.stocklist-no-hover {
	background-color:#fcfcfc;
	border: 1px solid #CCCCCC;
	border-spacing: 0;
	border-collapse: collapse;
	white-space:nowrap;
}

.stocklist th,
.stocklist-no-hover th {
	font-weight: normal;
	padding: 10px;
	white-space: nowrap;
	border: 1px solid #CCCCCC;
	border-spacing: 0;
	border-collapse: collapse;
	cursor:pointer;
}

.stocklist td,
.stocklist-no-hover td {
	border: 1px solid #CCCCCC;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.stocklist tr:not(:first-child):hover {
	background-color: #ccd9e5;
}

.stocklist-mobile th {
	font-weight: normal;
	padding: 10px;
	white-space: nowrap;
	border: 1px solid #CCCCCC;
	border-spacing: 0;
	border-collapse: collapse;
	cursor:pointer;
}

.stocklist-mobile {
	background-color:#fcfcfc;
	border: 1px solid #CCCCCC;
	border-spacing: 0;
	border-collapse: collapse;
	white-space:nowrap;
}

.stocklist-mobile td {
	border: 1px solid #CCCCCC;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 0px;
	padding-bottom: 0px;
}

.imagelist {
	padding: 20px; 
	display: inline-block; 
	vertical-align: top;
}

.greenbg {
	background: #dcffcc;
}

.redbg {
	background: #ffdab3;
}




.mobilemenu {
	font: 240% Arial,sans-serif;	
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.mobilemenu a {
  color: #525252;
}

.mobilemenu-heading {
	background: #ddd;
	padding: 5px 10px;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
}

.menu {
	background: #fff;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	!font-weight: bold;
	white-space: nowrap;
}


.bluemenu {
	background: #cce1e8;
  	color: #000000;
	padding-top: 8px;
	padding-bottom: 8px;
	!border: 0px groove threedface;
	!border-top: none;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	!font-weight: bold;
}

.sign_up_menu {
	background: #8fd99b;
  	color: #000000;
	padding-top: 8px;
	padding-bottom: 8px;
	!border: 0px groove threedface;
	!border-top: none;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	!font-weight: bold;
}

.sign_up_menu-old {
	background: #aee6b7;
  	color: #000000;
	padding-top: 8px;
	padding-bottom: 8px;
	!border: 0px groove threedface;
	!border-top: none;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	!font-weight: bold;
}

.login_menu {
	background: #cce1e8;
  	color: #000000;
	padding-top: 8px;
	padding-bottom: 8px;
	!border: 0px groove threedface;
	!border-top: none;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	!font-weight: bold;
}

.menu-dropdown-container {
  position: relative;
  display: inline-block;
}

.menu-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.menu-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.menu-dropdown-content-left {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.menu-dropdown-content-left a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.menu-dropdown-content a:hover {background-color: #ddd;}
.menu-dropdown-container:hover .menu-dropdown-content {display: block;}
.menu-dropdown-content-left a:hover {background-color: #ddd;}
.menu-dropdown-container:hover .menu-dropdown-content-left {display: block; right: 0;}

.menu-dropdown-container:hover .menu-dropdown-button {
	background-color: #ddd;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
}

.menu-dropdown-button {
	background-color: Transparent;
	background-repeat:no-repeat;
	border: none;
	cursor:pointer;
	padding: 5px 10px;
	font-size: 16px;
}

.menu-dropdown-button-blue {
	background-color: #e6f1f7;
	border: none;
	cursor:pointer;
	padding: 5px 10px;
	font-size: 16px;
	box-shadow: inset 0 -5px 5px rgba(0,0,0,.2);
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
}







@media (max-width: 700px) {
   .header { 
      background-image: url("../images/title.jpg");
   }
   .work_area { 
	font-size: 150%;
   }

   .work_area_form { 
	font-size: 115%;
   }

   .work_area_form input[type="textbox"],
   .work_area_form input[type="email"],
   .work_area_form input[type="password"],
   .work_area_form input[type="file"],
   .work_area_form input[type="date"],
   .work_area_form input[type="number"],
   .work_area_form input[type="datalist"],
   .work_area_form select {
  	width: 100%;
 	 font-size: 100%;
 	 padding: 0.50rem;
 	 border: 1px solid #456879;
 	 border-radius: 6px;
   }

   a.link_button:link {
	display: inline-block;
	width: 95%;
 	 font-size: 120%;
   }

   .work_area_form input[type="checkbox"] {
	width:40px;
	height:40px;
   }

   .work_area_form input[type='submit'] {
         padding: 0.5rem 1.5rem;
         font-size: 2rem;
  	 width: 100%;
   }

   .footer { 
	font-size: 75%;
   }

   .work_area_form td {
        padding-top: 20px;
   }

   h1{
      font: 2.3rem bold;
   }
   h2{
      font: 1.8rem bold;
   }
   h3{
      font: 1.6rem bold;
      margin: 0px;
      padding: 0px;
   }

   .work_livestock_mobile {
	font-size: 160%;
   }

   .work_livestock_mobile td {
        padding-top: 0px;
   }

   .work_livestock_mobile h2 {
	font-size: 135%;
   }
}

@media print {
   .header { 
      color: black;
      text-shadow: 0px 0px black;
   }

   .stocklistheading { 
      color: black;
      text-shadow: 0px 0px black;
   }

   .bluemenu,
   .menu,
   .menu_button {
      display: none !important;
   }

}