/*
 * Theme Name: diversity
 * Template: uwhr
 * Theme URI: http://hr.uw.edu/diversity
 * Author: University of Washington, Human Resources
 * Author Email: uwhrweb@uw.edu
 * Author URI: http://hr.uw.edu/diversity
 * Description:  Diversity - UWHR Child Theme
 * Version: 1.0
 */

.grid-item a:hover,
.grid-item a:focus {
	opacity: .9;
}

.grid-item a:hover h5,
.grid-item a:focus h5 {
	color: #85754d;
}

.grid {
	opacity: 1;
	visibility: visible;
}

.loading .grid {
	opacity: 0;
    visibility: hidden;
}

.grid-loading {
	display: none;
}

.loading .grid-loading {
	display: block;
}
/* -------------------------------- 

Flip Cards for DSFA team, borrowed from DSA theme, PAST RECIPIENTS.

-------------------------------- */
.flip-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
  display: inline-block;
}
.flip-container:hover .flipper,
.flip-container.hover .flipper {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.flip-container,
.front,
.back {
  width: 200px;
  height: 250px;
}
.flip-container.grid-team,
.grid-team .front,
.grid-team .back {
  width: 400px;
  height: 500px;
}
.flip-container img.profiles {
  border: 2px solid #ffffff;
  margin-bottom: 2px;
}
.flip-container .back {
  border: 2px solid #ffffff;
}
.flipper {
  -webkit-transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  -moz-transition: 0.6s;
  -moz-transform-style: preserve-3d;
  -o-transition: 0.6s;
  -o-transform-style: preserve-3d;
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}
.front,
.back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.front {
  background-position: center center;
  text-align: center;
  z-index: 0;
}
.back {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background: #4b2e84;
}
.front .name {
  font-size: .9em;
  display: inline-block;
  color: #444444;
  line-height: 1.2em;
  padding-top: 5px;
  top: 75%;
}
.back-title {
  font-weight: bold;
  color: #ffffff;
  position: absolute;
  text-transform: uppercase;
  top: 10px;
  left: 20px;
  right: 5px;
  text-align: left;
  line-height: 1.7em;
  font-family: "Encode Sans Compressed", sans-serif;
  font-size: .85em;
}
.back p {
  left: 0;
  right: 0;
  text-align: left;
  padding: 10px 15px 0 19px;
  line-height: 1.5em;
  font-size: 0.75em;
  color: #ffffff;
}
.back .years {
  margin-top: -15px;
  font-weight: bold;
}
.back p:last-child:after {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: -10px;
  display: block;
  background: url(components/img/plus.svg) 0 0 no-repeat;
}
.back .mid.stroke {
  width: 35%;
  z-index: 2;
  margin-top: 40px;
}
.back span.udub-slant.stroke {
  background-color: #d9d9d9;
  margin-left: 20px;
  margin-top: -5px;
  margin-bottom: 0;
}
.back .udub-slant span {
  height: 3px;
}
p.custom-select {
  position: relative;
  display: inline-block;
  font-family: "Encode Sans Compressed", sans-serif;
  font-weight: 900;
  color: #4b2e84;
}
.custom-select select {
  width: 160px;
  display: inline-block;
  border: 2px solid #ddd;
  padding: 4px 5px 4px 5px;
  margin: 0;
  font: inherit;
  outline: none;
  line-height: 1.2;
  background: #f8f8f8;
  -webkit-appearance: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 0;
}
.old-recipients {
  margin-left: 20px;
  width: 220px;
  display: inline-block;
  border: 2px solid #ddd;
  padding: 4px 5px 4px 5px;
  font: inherit;
  outline: none;
  line-height: 1.2;
  background: #f8f8f8;
  font-family: "Encode Sans Compressed", sans-serif;
  font-weight: 900;
  color: #4b2e84;
  text-decoration: none;
  -webkit-appearance: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 0;
}
.old-recipients a {
  color: #4b2e84;
}
.old-recipients a:hover {
  color: #4b2e84;
  border-bottom: 0 solid transparent;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .custom-select select {
    padding-right: 30px;
  }
}
.custom-select:after {
  content: "\25bc";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 70%;
  line-height: 30px;
  padding: 0 10px;
  color: #d9d9d9;
  pointer-events: none;
  -webkit-border-radius: 0 6px 6px 0;
  -moz-border-radius: 0 6px 6px 0;
  border-radius: 0 6px 6px 0;
}
.no-image-recipients h2 {
  border-top: 10px solid #4b2e84;
  width: 88%;
}
