/* stylesheet for participants-database plugin */

.helptext {
  display: inline-block;
  margin: 0 5px;
}

/* SIGNUP FORM */
 
/*.pdb-signup label {
display:inline-block;
width:135px;
margin-right:10px;
text-align:right;
}*/
.pdb-signup .helptext {
  display:block;
  margin-left:150px;
}
.pdb-signup td .helptext {
  margin-left:0px;
}
.pdb-signup .checkbox .helptext {
  display: inline-block;
}
.pdb-signup .math-captcha {
  display: inline-block;
  margin-right: 12px
}

/* RECORD FORM */

.pdb-instance-1 textarea{
/* mark start */
  background-color: #f9f6f4;
  Padding:10px;
  margin-top:10px;
  height:100px;
  width:400px;
  border: 1px solid #cccccc;
  border-radius: 5px;}
/* mark   
.participants_db textarea,
.edit-participant select,
.participants_db select,
.participants_db input,
end */
.pdb-instance-1 select,
.pdb-instance-1 input {
/* mark start */
  background-color: #f9f6f4;
  margin-top:10px;
  width:200px;
  border: 1px solid #cccccc;
  border-radius: 5px;}
/* mark end */  

.pdb-instance-1 select {
width:210px;
height:22px;
}

/* fix listing create */
.pdb-instance-1 .pdb-signup th {
    padding: 6px;
    width: 160px;
    margin: 0px;
}

/* fix listing retrieve */
.pdb-retrieve .pdb-signup th {
    padding: 13px;
}

/* fix search */
.pdb-instance-1 .search-item {
float:left;
}

.pdb-instance-1 legend {
float:left;
padding: 4px;
width: 60px;
}

.pdb-searchform {
padding: 4px;

}

.pdb-instance-1 .pdb-searchform select {
width: 100px;
height: 28px;
}

.pdb-instance-1 .pdb-searchform input[type="text"] {
width: 44%;
height: 17px;
}

.pdb-instance-1 .pdb-searchform input[type="radio"] {
width: 30px;
padding: 5px;
background-color: transparent;
}

.pdb-instance-1 .pdb-searchform input[type="submit"] {
width: 80px;
height: 28px;
}

.radio-group label{
  margin:0px 0px 0px 0px;
  padding: 6px 12px 0px 1px;
}
.radio-group input[type='radio']{
  margin:0px 0px 0px 0px;
  padding:0px 0px 0px 0px; 
  
}
/* end search */

.link-element label, .pdb-instance-1 label{
  margin-right:2px;
  vertical-align: top;
}
.pdb-instance-1 .inline-controls input[type='checkbox']{
  background-color: #f9f6f4;
  width:40px;
  float:left;
  border: 1px solid #959595;
  border-radius: 5px;}
.pdb-instance-1 .inline-controls input[type='radio'] {
  float:none;
}
.pdb-instance-1 h3 {
  margin-top: 2em;
  margin-bottom: 1em;
}
.edit-participant .submit-buttons {
  border:none;
}

/* Start Blue Button  */
.submit-buttons .pdb-submit {
	-moz-box-shadow:inset 0px 1px 0px 0px #dcecfb;
	-webkit-box-shadow:inset 0px 1px 0px 0px #dcecfb;
	box-shadow:inset 0px 1px 0px 0px #dcecfb;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bddbfa), color-stop(1, #80b5ea) );
	background:-moz-linear-gradient( center top, #bddbfa 5%, #80b5ea 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bddbfa', endColorstr='#80b5ea');
    padding-bottom: 0px ;
	background-color:#bddbfa;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	text-indent:0;
	border:1px solid #84bbf3;
	display:inline-block;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:40px;
	line-height:40px;
	width:210px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #528ecc;
}
.submit-buttons .pdb-submit:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #80b5ea), color-stop(1, #bddbfa) );
	background:-moz-linear-gradient( center top, #80b5ea 5%, #bddbfa 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80b5ea', endColorstr='#bddbfa');
	background-color:#80b5ea;
}.submit-buttons .pdb-submit:active {
	position:relative;
	top:1px;
}
/* End Blue Button  */

/* old changes by Mark*/
.edit-participant .form-table th {
  width:160px;
  vertical-align:top;
  padding-top: 1ex;
}
.edit-participant .form-table h3 {
  margin-top:10px;
  margin-bottom:0;
}

.edit-participant .form-table tr.hidden {
  visibility:hidden;
  position:absolute;
}
.edit-participant .uploaded-image {
  width:auto;
  height:100px;
  float:left;
  margin-right:0px;
}
.edit-participant .wp-editor-wrap {
  max-width: Auto;
}
.edit-participant .wp-editor-area {
  color: #333333;
  height: 20em;
}
/* end old changes by Mark*/
.file-delete {
  display: inline;
  white-space: nowrap;
}
/* float none to float left */
.file-delete input[type=checkbox] {
  margin-left: 10px; 
  background-color: red;
  width: 40px;
  line-height: 1;
  float:left;
  display: inline;
}
.pdb-upload input[type=file] {
  float:none;
  line-height: 1;
  vertical-align: text-bottom;
}

.wrap[class^="pdb-"] td,
.wrap[class^="pdb-"] th {
  vertical-align: middle;
}
/* width auto to 70 ?? probably bad */
/* Select Other */
.selectother label,
.multicheckbox label,
.file-delete label,
.csv-export label,
.radio-group label {
  margin: 0 12px 0 0;
  width: 70;
  line-height: 1;
  white-space: nowrap;
}
.inline-controls label {
  float: none;
}
.selectother label input,
.multicheckbox label input,
.file-delete label input,
.radio-group label input {
  float: none;
  margin:0;
}

/*old changes in ECB */
.file-delete label {
  background-color: red;
  margin-top:12px;
  padding: 1px 3px;
  border-radius: 1px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  float:left;
}
.selectother {
  margin-top: 10px;
  display: inline-block;
    width: 180px;
  background-color: #f9f6f4;
  border: 1px solid #cccccc;
  border-radius: 5px;
  overflow: visible;
  padding: 5px;
}
.selectother input[type=text] {
  height: 10px;
  width: 100px;
  background-color: #ffffff;
  border: 1px solid 565656;
  border-radius: 5px;
  margin-left: 52px;
  Float: left;
}
.selectother input[type=checkbox] {
  width: 40px;
  background-color: #f9f6f4;
  border: 1px solid 565656;
  margin-left: 10px;
  Float: left;
}
.dropdown-other select {
  float: left;
  margin-right: 10px;
}

/* LIST */

.wp-list-table th{
line-height: 2.5;
background-color:#e3d9c0;
  vertical-align: top;
  font-size:14px;
  margin: 5px 5px 0 0;
}
.wp-list-table td{
/*  line-height: 1.1;*/
background-color:#fbf7ef;
  vertical-align: middle;
  font-size:12px;
  padding:13px;
  }
.form-table th, 
.form-table td {
/*  line-height: 1.1;*/
  font-size:14px;
  vertical-align: top;
}
.pdb-list fieldset,
.pdb-list table caption {
  margin: 1em 0;
}
.pdb-list fieldset {
 margin: 5px 5px 0 0;
  border: none;
}
.pdb-list span.textarea {
  display: block;
  max-height: 100px;
  max-width: 250px;
  overflow: auto;
}
.pdb-searchform input[type=text]{
  background-color:#f9f6f4;
  border: 1px solid #cccccc;
  border-radius: 5px;
  vertical-align: middle;
  font-size:14px;
  margin: 5px 5px 0 0;
  }
.pdb-searchform input[type=submit],
.pdb-searchform select,
.pdb-searchform label.checkbox {
  margin: 5px 5px 0 0;
}
.pdb-searchform input[type=checkbox],
.pdb-searchform input[type=radio] {
  float:left;
  margin-left:5px;
}

/* pagination */
.pdb-list .pagination {
  overflow:auto;
}
.pdb-list .pagination ul {
  margin:0;
  list-style:none;
}
.pdb-list .pagination li span,
.pdb-list .pagination a {
  float:left;
  margin: 0 3px;
  padding: 1px 5px;
  border: 1px solid #aaa;
  border-radius: 3px;
}
.pdb-list .pagination li:first-of-type span,
.pdb-list .pagination li:first-of-type a {
  margin-left:0;
}
.pdb-list .pagination li:last-of-type span,
.pdb-list .pagination li:last-of-type a {
  margin-right:0;
}
.pdb-list .pagination li.currentpage:first-child,
.pdb-list .pagination li:first-child a {
  margin-left:0;
}
.pdb-list .pagination a {
  text-decoration:none;
}
.pdb-list .pagination a:hover,
.pdb-list .pagination li.currentpage {
  background-color: #cccccc;
}
.pdb-list .pagination label {    
  float: left;
  margin: 8px 6px 0 0;
}

/* SINGLE */
.pdb-single dl {
	overflow: auto;
}
.pdb-single dd {
  overflow:auto;
  font-size: 14px;
  margin: 0 0 1.1em 0.8em;
}
.pdb-single dt {
	float: left;
	font-size: 14px;
	font-weight: bold;
	width: 100px;
	margin: 0 10px 1.1em 0;
}
.pdb-single .image-field-wrap img {
  width: 120px;
  height: 90px;
}
.pdb-single .image-field-wrap {
  float: none;
}
.image-filename {
  vertical-align: text-bottom;
  margin: 0 0 0 10px;
}
.image-upload .helptext {
  display:block;
}
.pdb-single span.textarea {
  height: auto;
}

/* images */

.image-field-wrap {
  display: inline-block;
}
.image-field-wrap.empty {
  height: auto;
}
.image-field-wrap img {
  width: 120px;
  height: 90px;
}
.pdb-record .image-field-wrap,
.pdb-record .file-link-wrap,
.edit-participant .file-link-wrap,
.edit-participant .image-field-wrap {
  display: inline-block;
  margin-right:10px;
}

/* ERRORS / MESSAGES */

.pdb-error {
  display:inline-block;
  padding:4px 7px;
  background-color: #FFEBE8;
  box-shadow:0 0 6px #CC0000 inset;
  margin:0.5em 0;
}
.pdb-error li {
  margin:0.5em 20px;
}
.pdb-message {
  padding:4px 7px;
  background-color: #C4F092;
  box-shadow:0 0 6px #2DAA00 inset;
}
.pdb-error p, .pdb-message p {
  margin:0;
}