/*******************************************
 * Engineering Heritage Register view page *
 *******************************************/

/* Exposed filters */

.view-engineering-heritage-register .dropdown {
  min-width: 200px;
  height:40px;
}

/* Table */

.view-engineering-heritage-register table {
  width: 100%;
}

.view-engineering-heritage-register table thead tr th {
  background: #8c8c8c; /* Old browsers */
  background: -moz-linear-gradient(top,  #8c8c8c 0%, #141414 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8c8c8c), color-stop(100%,#141414)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #8c8c8c 0%,#141414 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #8c8c8c 0%,#141414 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #8c8c8c 0%,#141414 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #8c8c8c 0%,#141414 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8c8c', endColorstr='#141414',GradientType=0 ); /* IE6-9 */
  
  color: #fff;
  padding: 10px;
}

.view-engineering-heritage-register table thead tr th a {
  color: #fff;
}

.view-engineering-heritage-register table tbody tr td {
  padding: 10px;
}

/********************************
 * Engineering Heritage Records *
 ********************************/

/* Documentation */

.page-node-add-engineering-heritage-record .geolocation-help.geolocation-googlemaps-processed{
line-height: 20pt;!important
text-align:left;
float:left;
width:800px;
}

#field-upload-documentation-add-more-wrapper .fieldset-wrapper {
  margin: 5px;
}
#field-upload-documentation-add-more-wrapper  fieldset,
#field-select-a-date-range-add-more-wrapper fieldset
 {
border-color: rgba(0, 0, 0, 0);
}

#field-upload-documentation-add-more-wrapper fieldset .fieldset-legend {
position: relative; !important;

}

#field-select-a-date-range-add-more-wrapper fieldset .fieldset-legend {
position: relative; !important;
}
 
.node-type-engineering-heritage-record h1#page-title {
  display: none;
}


h2.map-heading {
  z-index: 1000;
  margin-top: 0.3em;
  font-size: 3em;
}

.eha-right {
  float: right;
  padding-top: 10px;
  width: 25%;
  text-align: right;
}

.eha-right a{
  display: inline-block;
  padding: 5px;
  margin: 5px 5px 5px 20px;
  border: 1px solid #808080;
}

.eha-right img{
  vertical-align: middle;
}

.eha-left {
  width: 75%;
  float: left;
  margin-bottom: 15px;
}

.eha-left h3 {
  margin-bottom: -10px;
  margin-top: 10px;
}

.eha-left h4 {
  margin-bottom: -20px;
  margin-top: 15px;
}

.gmnoprint, 
.gm-style-cc {
  display: none;
}

.eha-footer {
  clear: both;
}

th.views-field-field-select-a-date-range {
  width: 80px;
}

td.views-field-field-select-a-date-range {
  text-align: center;
}

th.views-field-field-select-division {
  width: 180px;
}

th.views-field-title, 
th.views-field-field-location-of-site {
  width: 28%;
}

.page-heritage.section-heritage .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 8px;
}

.page-heritage.section-heritage td.active {
  background-color: rgba(0, 0, 0, 0);
}

/* Heritage Search Form */
.page-heritage.section-heritage .form-type-textfield .form-text {
  background: #f6f6f6;
  border-radius: 5px;
  border: 1px solid #9F9F9F;
}

.page-heritage.section-heritage .clearfix{
	overflow:visible;
}

#views-exposed-form-engineering-heritage-register-page #edit-title-wrapper,
#views-exposed-form-engineering-heritage-register-page #edit-division-wrapper{
	width: 300px;
}

#views-exposed-form-engineering-heritage-register-page #edit-division-wrapper .selectricWrapper{
	width: auto;
}

@media only screen and (max-width: 890px){
	#views-exposed-form-engineering-heritage-register-page #edit-title-wrapper,
	#views-exposed-form-engineering-heritage-register-page #edit-division-wrapper{
		width: 45%;
	}
}

@media only screen and (max-width: 600px){
	#views-exposed-form-engineering-heritage-register-page #edit-title-wrapper,
	#views-exposed-form-engineering-heritage-register-page #edit-division-wrapper{
		width: 100%;
	}
}
 
/* Footer */

.eha-footer p a {
  font-size: 19px;
  padding: 0.5em 1.5em;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFDE2A2A', endColorstr='#FF8C1616');
  background-color: #de2a2a;
  border: 0;
  color: #fff;
  position: relative;
  -webkit-box-shadow: #b01b1b 0 0.4em 0px,#ea7979 0 1px 0 inset;
  -moz-box-shadow: #b01b1b 0 0.4em 0px,#ea7979 0 1px 0 inset;
  box-shadow: #b01b1b 0 0.4em 0px,#ea7979 0 1px 0 inset;
  border-bottom: solid 1px #de2a2a;
}

.eha-footer p a:hover {
  background-color: #cf2020;
}

/******************************************
 * Engineering Heritage Records edit node *
 ******************************************/

#engineering-heritage-record-node-form #edit-title {
  width: 100%;
}

#edit-field-select-division-und .form-type-checkbox {
  float: left;
  width: 33%;
  padding: 5px 0;
}

#edit-field-select-marker-ype-und .form-type-checkbox {
  float: left;
  width: 50%;
  padding: 5px 0;
}

#edit-field-select-marker-ype label, 
.form-item.form-type-checkboxes.form-item-field-select-division-und label {
  font-size: 1.3em;
}

#edit-field-select-marker-ype .form-checkboxes label, 
.form-item.form-type-checkboxes.form-item-field-select-division-und .form-checkboxes label {
  font-size: 1em;
}

#edit-field-select-a-date-range fieldset, 
#edit-field-upload-documentation fieldset {
  padding: 0;
}

#edit-field-upload-documentation {
  clear: both;
}

#edit-field-select-division {
  height: 130px;
}

#edit-field-select-marker-ype {
  height: 200px;
}

#edit-field-description-of-work-und-0-format-help {
  display: none;
}

#edit-field-description-of-work-und-0-format {
  padding-top: 5px;
}

.form-item.form-type-select.form-item-field-description-of-work-und-0-format {
  padding-left: 0;
}

#edit-field-select-a-date-range legend span.fieldset-legend, 
#edit-field-upload-documentation legend span.fieldset-legend {
  font-size: 1.3em;
  font-weight: bold;
}

#edit-field-upload-documentation {
  padding: 10px;
  border: 1px solid #808080;
  border-radius: 10px;
}

#edit-field-upload-documentation .field-type-file, 
#edit-field-upload-documentation .field-type-image {
  margin-bottom: 35px;
}

#edit-field-upload-documentation .field-type-file label, 
#edit-field-upload-documentation .field-type-image label {
  margin-bottom: -5px;
}

.field-name-field-add-additional-images fieldset legend, 
#edit-field-upload-documentation .fieldset-description {
  margin-bottom: 15px;
}

#edit-field-gmap-location-und-0, 
#edit-field-select-a-date-range {
  border: 1px solid #808080;
  border-radius: 10px;
  margin-top: 20px;
  padding-top: 10px;
}

#edit-field-select-a-date-range legend span.fieldset-legend {
  padding: 10px;
}

#field-select-a-date-range-add-more-wrapper .form-item.form-type-select {
  margin-right: 10px;
}

.field-type-image.field-name-field-add-additional-images table.tabledrag-processed {
  width: 100%;
}

.field-type-image.field-name-field-add-additional-images table td div.image-preview {
  margin-right: 20px;
  padding-top: 30px;
}

.field-type-image.field-name-field-add-additional-images table td div.form-type-textfield {
  margin-top: 10px;
}

.field-type-image.field-name-field-add-additional-images table td div.form-type-textfield input {
  margin-top: 5px;
}

.field-name-field-add-additional-images {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 2px solid gray;
}

#edit-field-upload-documentation .field-name-field-add-panel-title.field-type-file {
  margin-bottom: 0;
}

#location-dropdown-province-wrapper-field_gmap_location-und-0 div.dropdown {
  margin-left: 150px;
  width: 33.5%;
}
