/* PLM 8/10/2016 */

#goi-title h1 {
  font-size: 36px;
  font-weight: 400;
}

/* goi-terms horiz inline list for view */
#image_gallery_carousel .item-list ul li {
  padding: 0 0 0 0;
  display: inline;
  float: inherit;
  margin: 0 0.25em 0 0.25em;
}

/* GOI edit page - ensure 'date' node field label shows up in vertical tab */
#image_gallery_carousel div.vertical-tabs .vertical-tabs-panes fieldset fieldset legend {
  display: inline-block;
}
#image_gallery_carousel .table-bottom-margin {
  margin-bottom: 20px;
}

/* ============= new damsid image with colorbox =============== */
#image-gallery-damsid .damsid-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

#image-gallery-damsid img {
  max-width: 100%;
  height: auto;
}

/*=======================*/

#image-gallery-damsid .damsid-overlay a {
  position: absolute;
  color: red;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  z-index: 2;
}

#image-gallery-damsid .damsid-container .damsid-overlay {
  opacity: 0;
  position: absolute;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  text-align: center;
  font-size: 50px;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

#image-gallery-damsid .damsid-container:hover .damsid-overlay {
  opacity: 1;
}

#image-gallery-damsid .damsid-container .damsid-overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Colorbox */
#image-gallery-damsid {
  overflow-x: auto;
  overflow-y: hidden;
  resize: both;
}

/* Image page metadata text fields */
#image_gallery_carousel .field-row-margin {
  margin: 10px;
}
/* Add space above and below rows for each field */
.ig-icon {
  padding: 5px 0;
  color: #333;
}

/* fontawesome icons for each fields */
.ig-icon-damsid:before,
.ig-icon-citation:before,
.ig-icon-taxonomic:before,
.ig-icon-subjects:before,
.ig-icon-tags:before,
.ig-icon-collections:before,
.ig-icon-topics:before,
.ig-icon-exhibitions:before,
.ig-icon-book:before,
.ig-icon-catalog:before,
.ig-icon-bhl:before,
.ig-icon-download:before,
.ig-icon-copyright:before {
  display:inline-block;
  width:25px;
  transform: scale(1.4);
}

/* --- Panel: Image meta --- */
.ig-icon-damsid:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f03e";
}
.ig-icon-citation:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f10e";
}
.ig-icon-taxonomic:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f5fd";
}

/* --- Panel: Image tax ref --- */
  /*
  300 for Light symbols
  400 for Regular and Brands symbols
  900 for Solid symbols
  */
.ig-icon-subjects:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f02c";
}
.ig-icon-tags:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f02c";
}
.ig-icon-collections:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f009";
}
.ig-icon-topics:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f5da";
}
.ig-icon-exhibitions:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f19c";
}

/* --- Panel: Image links --- */
.ig-icon-book:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f02d";
}
.ig-icon-catalog:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f002";
}
.ig-icon-bhl:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f005";
}
.ig-icon-download:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f019";
}
.ig-icon-copyright:before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f01e";
}

/* Download image link/icon */
.image-gallery-download-block a {
	text-decoration:none;
}
.image-gallery-download-block {
  margin-bottom: -30px;
}
.image-search-form .search-google-appliance-image-search-form form {
  position: relative;
  margin: -30px 0px;
}
#image-gallery-hero {
	margin: 10px auto;
}
/* ---- Image Search & FAQ block --- */
#image-gallery-search {
  z-index: 1;
  position: inherit;
}
#gallery-highlights {
	margin-top: 20px;
}
/*
.image-search-form.search-google-appliance-image-search-form {
    right: 20px;
	bottom:60px;
}
*/
#faq-icon {
	display: none;
  position: relative;
  top: -2px;
  margin: 0 auto;
  z-index: 11;
}
#faq-icon a {
  color: #00798f;
  text-decoration:none;
}

#faq-icon .faq-bubble,
#faq-icon .faq-circle {
  position: absolute;
  top: 0px;
  right: -10px;
  margin: 0 auto;
  opacity: 1;
  padding: 5px 15px 20px 5px;
  /* background-color: peachpuff; */
}
#faq-icon .faq-text-block {
  position: absolute;
  top: 32px;
  right: 0px;
  padding: 5px 10px 20px 2px;
  opacity: 0;
  transition: opacity 1s linear;
}
#faq-icon:hover .faq-text-block {
  opacity: 1;
  /* background-color: peachpuff; */
}

#faq-icon .faq-text {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

/** ------ Carousel ------- */
#gallery-highlights {
  /*margin-top: -40px;*/
  z-index: 0;
}

#image_gallery_carousel.flexslider {
  height: 380px !important;
}

#image_gallery_carousel .flex-viewport {
  height: 380px !important;
}

#image_gallery_carousel .flex-direction-nav li {
  top: 55%;
}

/* ---- MEDIA ---- */

@media (min-width: 992px) and (max-width: 1199px) {
	#image-gallery-search {
		display: inline-block;
	}
  input.form-text,
  textarea.form-textarea,
  select {
    width: 100%;
  }
  #faq-icon .search-google-appliance-image-search-form {
    left: -100px;
  }
  	#faq-icon {
	  top: 0;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.image-gallery-banner {
		padding-top:10px;
	}
	#image-gallery-search {
		display: inline-block;
	}
	#image-gallery-search .search-google-appliance-image-search-form {
		top: -15px;
	}
	#faq-icon {
		top: -15px;
	}
	input.form-text,
	textarea.form-textarea,
	select {
		width: 100%;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	.image-gallery-banner {
		padding-top:20px;
	}
	#image-gallery-hero {
		padding-bottom:20px;
	}
	#image-gallery-search {
		display: inline-block;
	}
	#image-gallery-search .search-google-appliance-image-search-form {
		top: -15px;
	}
	#faq-icon {
		top: -15px;
	}
	input.form-text,
	textarea.form-textarea,
	select {
		width: 100%;
	}

	#faq-icon .faq-text-block {
		top: 40px;
	}
	#gallery-highlights,
	#gallery-term,
	#gallery-categories,
	#gallery-collections {
		margin-top: 30px;
	}
}


@media screen and (max-width: 480px) {
	.image-gallery-banner {
		padding-top:60px;
	}
	#image-gallery-hero {
		padding-bottom:20px;
	}
	#image-gallery-search {
		display: inline-block;
	}
	#image-gallery-search .search-google-appliance-image-search-form {
		top: -15px;
		left:20px;
	}
	#faq-icon {
		top: -17px;
		left:0;
	}
	input.form-text,
	textarea.form-textarea,
	select {
		width: 100%;
	}

	#faq-icon .faq-text-block {
		top: 40px;
	}
	#gallery-highlights,
	#gallery-term,
	#gallery-categories,
	#gallery-collections {
		margin-top: 72px;
	}
	#image-gallery-search .search-google-appliance-image-search-form .form-type-textfield {
		float:none;
	}
	#image-gallery-search .search-google-appliance-image-search-form {
    padding-right: 50px;
	padding-top: 10px;
	}
}

@media screen and (max-width: 360px) {

}

/** Custom bubbles svg font made by Phil **/
/**
svg#faq {
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.2));
}

svg#faq .a {
  transition: all ease-in 0.5s;
}
svg#faq path {
  fill: #3d94f6;
  pointer-events: all;
  cursor: pointer;
}

svg#faq path:hover {
  fill: #fad337 !important;
  stroke: #3d94f6 !important;
  pointer-events: all;
  cursor: pointer;
}
**/