
@charset "utf-8";
/* CSS Document */
 /* Removes the clear button from date inputs */
    input[type="date"]::-webkit-clear-button {
        display: none;
    }
    
    /* Removes the spin button */
    input[type="date"]::-webkit-inner-spin-button { 
        display: none;
    }
    
    /* Always display the drop down caret */
    input[type="date"]::-webkit-calendar-picker-indicator {
        color: #2c3e50;
    }
    
    /* A few custom styles for date inputs */
    input[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        width: 30%;
        color: #95a5a6;
        font-family: "Helvetica", arial, sans-serif;
        font-size: 12px;
        border:1px solid #696969;
        border-left: none;
        background:while;
        padding:10px;
        margin-left: -10px;
        display: inline-block !important;
        visibility: visible !important;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    
    input[type="date"], focus {
        color: black;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
    }
    
.input-wrapper {
  position: relative;
}

.agridata {
  border: 1px solid #ecf0f1;
  position: relative;
  margin: 10px;
  margin-left: 0px;
  margin-bottom: 5px;
  line-height: 7ex;
  font-family: "Helvetica", arial, sans-serif;
  font-size: 14px;
}

.labelcrop {
  position: absolute;
  top: -1ex;
  z-index: 1;
  left: 1.5em;
  background-color: white;
  padding: 0 5px;
  border:1px solid gray;
  border-radius: 0.2em;
}

.datecropping{
    position: relative;
}

.labeldate{
    position: absolute;
    top: 0.2ex;
    z-index: 1;
    background-color: white;
    padding: 0 5px;
    border:1px solid gray;
    border-radius: 0.2em;
}

.cropinfo:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
    color: cadetblue;
}

.btn_calculate_ares:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
    color: cadetblue;
}

.displaycrop:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}

.cropdetail:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}

.cmdcropedit:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}

.historycrop:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}
.cal_preview:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
	color:brown;
}
.cal_database:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue;  
    text-decoration-color: cadetblue;
}

.suggestcrop:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}

.cmdcropstatus:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}
.cmdcropstatus:after       { content:'Active'; }
.cmdcropstatus:hover:after { content:'Done'; }

.addcrop:hover{
    text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
}
.txtstartdate{
    border: none;
    background-color: white;
}
	.txt_croplength{
		border: none;
		background-color: white;
	}

.cropsubplotname{
    border: none;
    background-color: white;
}
	.pop_fm{
		width: 100%;
		height: 100%;
		position:absolute;
		background-color: rgba(0,0,0,0.8);
		top: 0px;
		z-index: 1;
	}
	@keyframe test{
		from{background-color: white;}
		to{background-color: black;}
	}
		
	.post_addcrop{
		position: absolute;
/*		width: 35%;*/
		background-color: white;
		border: 2px solid black;
/*		margin: 30%;*/
		margin-top:100px;
		border-radius: 4px;
		padding: 10px;
		display: none;
		
	}
	
	.close_fm{
		background-image: url("../img/delete_icon.jpg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		width: 20px;
		height: 20px;
		position: absolute;
		top:10px;
		right: 10px;
		cursor: pointer;
	}
	.close_fm:hover{
		background-color: indianred;
		border-radius: 25px;
		animation-name: test;
		animation-duration: 0.8s; 
	}
	
	.cropuserprofile{
		position: relative;
		background-color: white;
		border: 2px solid black;
		margin: auto;
		margin-top:5%;
		border-radius: 4px;
		padding: 10px;
		display: none;
	}

	.post_cropinfo{
		position: absolute;
		width: 50%;
		background-color:aquamarine;
		border: 2px solid black;
		margin: 30%;
		margin-top:100px;
		border-radius: 4px;
		padding: 10px;
		display: none;
	}

.controlirrigationform{
	position: relative;
}
	
	.tbl_fer_display_title{
		border: 1px solid black;
		border-bottom: none;
		border-right: none;
		border-left: none;
		border-collapse: separate;
  		border-spacing: 0 5px;
		margin-bottom: -2px;
	}
	.tbl_fer_display_title thead{
		border:1px solid black;
		border-right: none;
		border-left: none;
		
	}
	.tbl_fer_display_title thead tr td{
		background-color:dimgray;
		padding: 10px;
		color: white;
	}
	
	.tbl_fer_display{
		border: 1px solid black;
		border-right: none;
		border-left: none;
		border-collapse: separate;
  		border-spacing: 0 5px;
	}	
	.tbl_fer_display thead{
		border:1px solid black;
		border-right: none;
		border-left: none;
		
	}
	
	.tbl_fer_display thead tr td{
		background-color:dimgray;
		padding: 10px;
		color: white;
	}
	.tbl_fer_display tbody tr{
		border: 1px solid white;
		background-color:lightgrey;
		padding: 5px;
	}

	.tbl_fer_display tr td:nth-child(1) {
		width: 18%;
	}
	
	.post_addfertilizer{
/*		border:1px solid black;*/
/*		position: fixed;*/
/*		width: 100%;*/
/*		background-color:darkcyan;*/
/*		border: 2px solid black;*/
/*		margin: 30%;*/
/*		margin-top:100px;*/
/*		border-radius: 4px;*/
/*		padding: 10px;*/
/*		display: none;*/
	}
	
	.control_fertilizer{
		border: 1px solid #000000;
	}
	.control_fertilizer thead tr td{
		text-align: center;
		border: 1px solid #000000;
		border-left: none;
		border-right: none;
		border-top: none;
	}
	
	.control_fertilizer tbody tr:nth-child(1) td{
		padding-left: 3%;
	}
	.control_fertilizer tbody tr:nth-child(2) td{
		padding-left: 6%;
	}
.control_fertilizer tbody tr:nth-child(3) td{
	border-top:1px solid black; 
	padding-left: 3%;
}

.container_crop{
	border:1px solid black;
}

input[type="checkbox"] {
    cursor: pointer;
}

.cal_area_measurement{
	border:2px solid gray;
	background-color: white;
	width: 40%;
	margin: auto;
	margin-left: 40%;
	margin-top:5%;
}
.cal_area_img{
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	height: 10%;
}

.soil_sample_img{
	position: fixed;
	width: 40%;
	height: auto;
	border: 2px solid black;
	background-color: darkgray;
	margin: 30%;
	margin-top:2px;
	border-radius: 4px;
	padding: 10px;
	display: none;
	
}

.example_st:hover{
	text-decoration: underline;
	text-decoration-color: blueviolet;
}

.cal_preview{
	transition: transform .2s; /* Animation */
}

.cal_preview:hover{
	margin-top: 0.2em;
	text-decoration: underline;
	text-decoration-color:chocolate;
	transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
	background-color: gainsboro;
	border-radius: 5px;
}

.btn_add_table_input:hover{
	text-decoration: underline;
	text-decoration-color:chocolate;
}

.cal_database{
	transition: transform .2s; /* Animation */
}
.cal_database:hover{
	margin-top: 0.2em;
	text-decoration: underline;
	text-decoration-color:chocolate;
	transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
	background-color: gainsboro;
	border-radius: 5px;
}

.btn_calculate_area:hover{
	text-decoration: underline;
	text-decoration-color: blanchedalmond;
}

.style_cal_fertilizer{
	width: 100%; 
	border:1px solid gray; 
	border-left: none; 
	border-right: none; 
	border-top:none; 
	padding: 0.5em; 
	text-align: center; 
	font-size: 15px; 
	background-color:cadetblue; 
	color:white;
}
.selecttype_of_fertilizer{
	width: 100%; 
	border:1px solid gray; 
	border-left: none; 
	border-right: none; 
	border-top:none; 
	padding: 0.5em; 
	text-align: center; 
	font-size: 15px; 
	background-color:cadetblue; 
	color:white;
}

.sensingimage{
	background-image: url("../img/whether.png");
	width: 100%;
	height: 220px;
	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	/* Needed to position the navbar */
	position: relative;
}

.sensingimage_container {
  	position: absolute;
  	margin-top: 16%;
	margin-left: 0%;
  	width: auto;
}

.controlmainpestimage img{
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Show the dropdown menu on hover */
/*.dropdown:hover .dropdown-content {display: block;}*/

/* Change the background color of the dropdown button when the dropdown content is shown */
/*.dropdown:hover .dropbtn {background-color: #3e8e41;}*/

/* Dropdown Button */
.dropbtnagriinput {
  background-color: #04AA6D;
/*  color: white;*/
/*  padding: 16px;*/
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdownagriinput {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-contentagriinput {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
/*  min-width: auto;*/
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-contentagriinupt button {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-contentagriinput button:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdownagriinput:hover .dropdown-contentagriinput {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdownagriinput:hover .dropbtnagriinput {background-color: #3e8e41;}

.n_fertilizer:hover{
	background-color:yellowgreen;
}
.p_fertilizer:hover{
	background-color:yellowgreen;
}
.k_fertilizer:hover{
	background-color:yellowgreen;
}
.amount_fertilizer:hover{
	background-color:yellowgreen;
}
.price_fertilizer:hover{
	background-color:yellowgreen;
}
.add_fertilizer:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
    color: cadetblue;
}
.delete_fertilizer:hover{
	text-decoration: underline;
    -webkit-text-decoration-color: cadetblue; /* Safari */  
    text-decoration-color: cadetblue;
    color: cadetblue;
}

	