/* general rules   font-size  :12pt; #006600 ; sans-serif */

* {
  font-family:helvetica,verdana,alegreya,Arial,Georgia,SimSun;
}

body {
  width     :100%;
  margin    :0px auto;
  background-color: #ffffff;
  border    :1px solid #888;
}

html {
  background:#ffffff;

}


input {
  background: #fff;
  color: #525865;
  border-radius: 4px;
  border: 1px solid #d1d1d1;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.45;
  outline: none;
  padding: 3px;
  -webkit-transition: .2s ease-out;
  -moz-transition: .2s ease-out;
  -o-transition: .2s ease-out;
  transition: .2s ease-out;
}

input:hover {
  box-shadow: 1px 2px 8px grey;
}

input:focus {
  box-shadow: 1px 2px 8px grey;
}

select {
	font-size:15px;
	height: 25x;
	background:white;
	color: black;
    padding: 3px;
}

select:hover {
	box-shadow: 1px 2px 8px grey;
	background:#006600;
	color: white;
}

img {
    margin:auto;
}

hr {
  border-top: 1px solid black;
}

th {
	font-size:10pt;
}

/* 	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19); ;
 	box-shadow: 1px 1px 2px black, 0 0 10px blue, 0 0 5px blue; 	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 8px 0 grey;  #DBE6E0 #6e2c00
*/

button {
	background: green;
	color: white;
	cursor: pointer;

}

button:hover {
	cursor: pointer;
}

.td_btn {
   height: 30px;
   font-weight:bold;
	width:100%;
	font-size:16px;
	border:0;
	background-color: white;
	color:black;
}

.td_btn:hover {
	background-color: royalblue;
	color:white;
	box-shadow: 0 4px 8px 0 grey;

  -webkit-transition: .1s ease-out;
  -moz-transition: .1s ease-out;
  -o-transition: .1s ease-out;
  transition: .1s ease-out;
}

.no_shaddow_btn {
   height: 30px;
   text-align: center;
   font-size:14pt;
   border-radius: 15px 15px 15px 15px;
	background: #006600;
	color: white;
	cursor: pointer;
}

.no_shaddow_btn:hover {

	color: white;
	text-decoration: underline;
}

.shaddow_btn {
   height: 30px;
   text-align: center;
   font-size:12pt;
   font-weight:bold;
   border-radius: 15px 15px 15px 15px;
	background: seagreen;
	color: white;
	cursor: pointer;
}

.shaddow_btn:hover {
	border:  2px solid grey;
	background: royalblue;
	color: white;
	box-shadow: 0 4px 8px 0 grey;

  -webkit-transition: .1s ease-out;
  -moz-transition: .1s ease-out;
  -o-transition: .1s ease-out;
  transition: .1s ease-out;
}

.tiny_btn {
   text-align: center;
   font-size:12pt;
	background: seagreen;
	color: white;
	cursor: pointer;
	border:0;
   border-radius: 5px 5px 5px 5px;
}

.tiny_btn:hover {
	background: darkgreen;
	color: white;
	box-shadow: 0 4px 8px 0 grey;

  -webkit-transition: .1s ease-out;
  -moz-transition: .1s ease-out;
  -o-transition: .1s ease-out;
  transition: .1s ease-out;
}

.tiny_btn2 {
   text-align: center;
   font-size:12pt;
	background: none;
	color: blue;
	cursor: pointer;
	border:0;
   border-radius: 5px 5px 5px 5px;
}

.tiny_btn2:hover {
	background: darkgreen;
	color: white;
	box-shadow: 0 4px 8px 0 grey;

  -webkit-transition: .1s ease-out;
  -moz-transition: .1s ease-out;
  -o-transition: .1s ease-out;
  transition: .1s ease-out;
}

.profile_img {
  border            :1px solid black;
  margin-right      :15px;
  -moz-box-shadow   :2px 2px 2px #888;
  -webkit-box-shadow:2px 2px 2px #888;
  box-shadow        :2px 2px 2px #888;
}

.service_img {
  border            :1px solid black;
  margin-right      :15px;
  -moz-box-shadow   :2px 2px 2px #888;
  -webkit-box-shadow:2px 2px 2px #888;
  box-shadow        :2px 2px 2px #888;
  max-height: 150px;
  width: auto;
}


.small_img {
    opacity: .8;
    box-shadow: 0px 0px 5px #fff;
	max-width: 100px;
	max-height: 100px;
}

.small_img:hover {
    opacity: 1;
    box-shadow: 0px 0px 5px #fff;
	cursor: pointer;
}

li {
  margin-bottom: 4px;
}

table td {
  padding: 5px;
}

/*
tr:nth-child(even) {
	background-color: #f1f1f1;
}

*/

a:link {
    color:blue;
	text-decoration: none;
}

a:visited{color:blue;}
a:hover{color:red;text-decoration: underline;}  /* text-decoration: underline */
a:active{color:blue;}

legend {
    margin:0 auto;
	font-weight:bold;
	color:grey;
}

textarea{
  width:80%;
  height:120px;
  background: #fff;
  color: #525865;
  border-radius: 4px;
  border: 1px solid #d1d1d1;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.45;
  outline: none;
  padding: 0.6em 1.45em 0.7em;
  -webkit-transition: .2s ease-out;
  -moz-transition: .2s ease-out;
  -o-transition: .2s ease-out;
  transition: .2s ease-out;
}

textarea:hover{
	box-shadow: 0 4px 8px 0 grey;
}

table fieldset{
	border-radius: 10px 10px 10px 10px;
	background:white;
}


/*------------------------------------- */

.username {
  text-align :center;
  background :#eb8;
  color      :#40d;
  font-family:helvetica;
  font-size  :20pt;
  padding    :4px;
}

.info {
  font-style :italic;
  margin     :40px 0px;
  text-align :center;
}

.center {
  text-align:center;
}

.subhead {
  font-weight:bold;
}

.stop, .error {
  color:red;
}

.pass {
  color:green;
}

.whisper {
  font-style:italic;
  color     :#006600;
}


#used {
    color      :#DC143C;    
    margin-top:50px;
}



/* 	; ----------------------- register.php */
.Register_Form td {				
	display: inline-block;	/* so that the table row can wrap*/
	width:99%;
}

@media (min-width:500px) {
	.Register_Form td {				/* ----------------------- register.php */
		display: table-cell;		/* so that the table row can not wrap*/
		width:auto;
	}
}

/*-------------------- service --------------#EEEEEE */
.service {
	padding-left : 20px;
	width:100%;
	padding: 10px 30px;
	min-height: 100vh;
	background:white;
}

.service_table {
	width:100%;
}

.service td {
	display: inline-block;
	width:95%;
}

.serice_intro  {
	text-align:center; 
	width:99%;
}

@media (min-width:500px) {
	.service {
		text-align:center;
		margin-left:17%;
		width:60%;
		
	}
	.service td {
		display: table-cell;
		width:auto;
	}

	.serice_intro  {
		text-align:center; 
		width:35%;
		min-width:200px;
	}

}

/*------------------------ profile and service offer--- */
.dash_main {
	width:99%;
	font-size:11pt;
	max-width:800px;
}

.dash_main_center {
	width:99%;
	font-size:11pt;
}

.dash_table td {
	width:99%;
	display: inline-block;
}

.dash_table th {
	width:99%;
	display: inline-block;
}

.dash_table {
	margin-left:10px;
}

.short_text {
	text-align:left;
	min-width:200px;
}

.long_text {
/*	word-break:break-all; */
	min-width:200px;
}

@media (min-width:800px) {
	.dash_main {
		margin-left:200px;
		width:80%;
	}

	.dash_main_center {
		  display: flex;
		  flex-direction: column;
		  justify-content: center;
		  align-items: center;
		  text-align: left;
		  min-height: 90vh;
	}
	
	.dash_table td{
		display: table-cell;
		width:auto;
	}

	.dash_table th{
		display: table-cell;
		width:auto;
	}

	#dash_service_area {
		width:550px;
	}
}

/* ----------------------- not working don't know why*/
#Distance {
	display:none;
}

#Clans {
	display:none;
}


/* --------------------------------------- show buyers messages dashboard_seller.php */
#message_box {
  width: 0px;
  z-index: 2;
  top: 60;
  right: 0;
  width: 500px;
  height: 500px;
  overflow-x: hidden;
  padding: 20px;
  margin: 50px;
  transition: 0.5s;
  border: 1px solid black;
  position: fixed;
  display: none;
  background-color: #fef9e7;
}

#message_box:hover {
	box-shadow: 0 4px 8px 0 grey;
}


/* ======================= index navigation  background-color: #006600;  		height: 100%; */
#index_sidebar {
  width: 0px;
  z-index: 2;
  top: 0;
  left: 0;
  overflow-x: hidden;
  padding: 0px;
  margin: 0px;
  transition: 0.5s;
  border: 0px solid black;
  position: relative; 
}

#index_bar_open {
	font-size:24px;
	cursor:pointer;
	position:absolute;
	z-index: 1;
	position: fixed; 
	top: 130px;
	left: 10px;

}

@media (min-width:800px) {
	#index_sidebar {
		width: 280px;
	}
	
	#index_bar_open {
		display:none;
	}

	#index_bar_close {
		display:none;
	}
}

/* -------------------- index category table*/
.Menu td {
	display: inline-block;		/* so that the table row can wrap*/
	width:99%;
}

/* --------------------------- index services      width: 50%; */
.index_main {
  transition: margin-left .5s;
}

.index_service td {
	display: inline-block;		/* so that the table row can wrap*/
	word-wrap: break-word;
	width:99%;
}

.index_service_unit:hover {
  box-shadow: 1px 2px 8px grey;
}

.index_list_table td {
  margin: 1px;
  padding: 1px 1px 6px 1px;
}

.index_service_unit { /*   border: 2px solid green;  padding: 6px;   border-radius: 10px 10px 10px 10px;*/
  width: 240px;
  height: 280px;
  background: white;
  font-size: 14px;
  margin:5px;
  padding:1px 8px 1px 8px;
  border-radius: 10px 10px 10px 10px;
}

#detail_img { /*     margin-right      :5px; */
  display:block;
  height: auto;
  width:  100%;
}

@media (min-width:800px) {
	.Menu td {
		width:auto;
	}
	.index_service td {
		width:auto;
	}
	#detail_img { 
		 max-width: 720px;
		 max-height: 960px;
	}
}


/* ========================== dashboard navigation */
.sidebar {
  height: 100%;
  width: 0px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #006600;
  overflow-x: hidden;
  padding-top: 16px;
  transition: 0.3s;
}

/* Style sidebar links */
.sidebar a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 18px;
  color:white;
  display: block;
  transition: 0.3s;
  font-weight: normal; 
}

/* Style links on mouse-over */
.sidebar a:hover {
  color: black;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 36px;
  margin-left: 100px;
}

.openbtn {
  font-size: 17px;
  cursor: pointer;
  background-color: #006600;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 20px 20px 20px 20px;
}

.openbtn:hover {
  background-color: #444;
}

#sidebar_button {
  transition: margin-left .5s;
  padding: 16px;
}

/* Add media queries for small screens (when the height of the screen is less, add a smaller padding and font-size) */
@media (min-width:800px) {
  .sidebar {width: 170px;}
  .openbtn {display:none;}
  .sidebar .closebtn {display:none;}
}


/*------------------  messagebox for messages.php ---*/
.dialogbox {
  position: relative;
  display: inline-block;
  width: 90%;
  height: 360px;
  border-radius: 10px;
  border: 1px solid grey;
  padding: 5px;
  word-break: normal;
}

#dialog {
  position: absolute;
  left: 10px;
  top: 40px;
  width: 88%;
  height: 300px;

  padding: 0px 10px;
  overflow:auto;
 
  /* scrollbar-color:black;  not working    word-break: break-all;*/
	padding: 5px;
  background-color: #f1f1f1;
}

#Time {
  width: 90%;
  text-align :center;
}

#Sender {
  width: 95%;
  border-color: grey;
  word-break: break-all;  
}

#Message {
  color: black; 
  padding:5px;
  width: 95%;
  border-style: solid;
  border-color: grey;
  border-radius: 10px;
  word-break: normal;  
  border-width: thin;
  background-color: white;
}

#contactbox {
  margin-left: 0px;
  position: relative;
  display: inline-block;
  width: 90%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid grey;
  padding: 5px;
}

#contacts {
  position: absolute;
  text-align:center;
  width: 88%;
  height: 25px;
  left: 10px;
  top: 10px;
  background-color: #f1f1f1;
  opacity: 0.6;
  padding: 0px 10px;
  overflow:auto;
  word-break: break-all;
  padding: 5px;
  color:black;
}

/*------- dropdown contacts --------------*/
#dropbtn {
  background-color: blue;
  color: white;
  font-size: 16px;
  width:40px;
  border: none;
}

#closebtn {
  background-color: blue;
  color: white;
  font-size: 16px;
  width:40px;
  border: none;
}

@media (min-width:800px) {
	.dialogbox {
	  width: 400px;
	  height: 400px;
	}
	#dialog {
	  width: 380px;
	  height: 350px;
	}

	#contactbox {
	  width:200px;
	  height:400px;
	}

	#contacts {
	  top: 20px;
	  width: 180px;
	  height: 360px;
	  display: block;
	}

	#Time {
	  width: 350px;
	}

	#Sender {
	  width: 350px;
	}

	#Message {
	  width: 350px;
	}

	#dropbtn {
	  display: none;
	}

	#closebtn {
	  display: none;
	}
}

/*------------------------------ dash_secretary ------------------- */

/*------------------ calendar */
table.calendar{
    border-left:1px solid #999;
}

tr.calendar-row	{
}

td.calendar-day	{
    min-height:80px; 
	font-size:11px; 
	position:relative; 
} 

* html div.calendar-day { height:80px; }

td.calendar-day:hover { background:#eceff5; }

td.calendar-day-np { background:#eee; min-height:80px; }

* html div.calendar-day-np { height:80px; }

td.calendar-day-head { 
	background:#ccc; 
	font-weight:bold; 
	text-align:center; 
	width:120px; 
	padding:5px; 
	border-bottom:1px solid #999; 
	border-top:1px solid #999; 
	border-right:1px solid #999; 
}

div.day-number { 
	background:#999; 
	padding:5px; 
	color:#fff; 
	font-weight:bold; 
	float:right; 
	margin:-5px -5px 0 0; 
	width:20px; 
	text-align:center; 
}

/* shared */

td.calendar-day, td.calendar-day-np {
	width:120px; 
	padding:5px; 
	border-bottom:1px solid #999; 
	border-right:1px solid #999;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}


/* -----------------------------------------Style the Head field    color:white;   background-color: #1e8449  */

.Index_Tail {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  margin:0px;
  padding: 0px;
  background-color: #EEEEEE;
}

.tail_link {
  padding: 6px;
  color: black;
  cursor: pointer;
  display:inline-block;
  text-decoration:none;
  font-size:14px;
}

.Index_Head {
  height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  margin:0px;
  padding: 0px;
  background-color: #006600;

}

#Biddow_Adv {
	display:none;
}

@media (min-width:800px) {
	.Index_Head {
		height: 40px;
	}

	#Biddow_Adv {
		display:block;
	}
}

.head_logo {
  font-family:Georgia;
  font-weight:normal;
  font-style :oblique;
  color      :#DC143C;
/*  margin-top: 100px;
  min-width:100%;
  align-content: space-between;
  justify-content: space-between;
  flex-flow: row wrap;
  align-items:center;

  margin-left: 25px; 
  border-top: 100px;
  border-left: 285px;
  padding-left: 25px;
  background :#f8f8f8; 
*/
/*  border :1px solid black; */
  text-decoration:none;
}

.head_welcome {
  display:flex;
  flex:0.5;
  padding: 6px;
  color: white;
  font-size: 17px;
  cursor: pointer;
  display:inline-block;
}

.head_link {
  padding: 6px;
  color: white;
  font-size: 17px;
  cursor: pointer;
  display:inline-block;
  text-decoration:none;
}

#head_button {
/*  float: left; */
	width: 20%;
	min-width: 150px;
	padding: 6px;
	background: green;
	color: white;
	font-size: 17px;
	cursor: pointer;
	border-radius: 20px 20px 20px 20px;
}

#head_button:hover {
  background: #0b7dda;
}


/*   ---  user aid for fields
#contactbox:hover #contacts {display: block;}

#contactbox:hover .dropbtn {background-color: #3e8e41;}
*/


/* ----------------------------- #ccfff1;#fefefe;  */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  left: 0;
  top: 0;
  width: 200px; /* Full width */
  height: auto; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: black; /* Fallback color */
  padding: 10px;
  color: white;
  border-radius: 10px 10px 10px 10px;
  font-size:14px;
}

/* Modal Content */
.modal-content {
  position: relative; /* Stay in place */
  background-color: black;
  margin: auto;
  top:0;
  width: 100%;
}


@media (min-width:500px) {
	.modal {
		width: 200px;
		height: auto;
	}
}

/* ------------- document */
.document {
	width:100%;
	line-height: 1.5;
}

.document H1 {
	font-size:40px;
	text-align:center;
}

.document H2 {
	font-size:33px;
	text-align:center;
}

.document p {
	font-size:20px;
	text-align: justify;
}

@media (min-width:800px) {
	.document {
		text-align:center;
		margin-left:10%;
		width:80%;
		max-width:800px;
	}
}


/*-----

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.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;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

#robin {
  position          :relative;
  border            :0px;
  margin-left       :-6px;
  margin-right      :0px;
  top               :17px;
	-moz-box-shadow   :0px 0px 0px;
	-webkit-box-shadow:0px 0px 0px;
	box-shadow        :0px 0px 0px;
}

*/

.heart {
	color:red;
}

/*------------------ */
/* Container */
.container{
   margin: 0 auto;
   border: 0px solid black;
   width: 50%;
   height: 250px;
   border-radius: 3px;
   background-color: ghostwhite;
   text-align: center;
}
/* Preview */
.preview{
   width: 100px;
   height: 100px;
   border: 1px solid black;
   margin: 0 auto;
   background: white;
}

.preview img{
   display: none;
}


/* ---------- loading gif ------------------ 	;
    top: 0;
    left: 0; */

#loading {
    background: url('../Photos/waiting.gif') no-repeat center 300px;
	background-color: rgba(0,0,0,0.2);
	position: absolute;
    top: 0;
    left: 0;
    height: 500%;
    width:  100%;
    z-index: 9999999;
	display: none;
}

#loading2 {
    background: url('../Photos/waiting.gif') no-repeat center 300px;
	background-color: rgba(0,0,0,0.2);
	position: absolute;
    top: 0;
    left: 0;
    height: 500%;
    width: 100%;
    z-index: 9999999;
	display: auto;
}

#loading-image {
  position: absolute;
  top: 100px;
  left: 240px;
  z-index: 100;
}

.post_content {
	border:solid 1pt;
	display: inline-block;
	padding:10px;
	width:85%;
    border-radius: 5px;
    background-color: ghostwhite;
}

@media (min-width:500px) {
	.post_content {
		border:solid 1pt;
		width:600px;
	}
}