#instructors_app li {
  width: 120px;
  height: 250px;
  margin-right: 25px;
  overflow: hidden;
  float: left;
  cursor: pointer;
}

#instructors_app li img { background-color: #d3d3d3; }

.entry-content .instructor p {
  margin-top: -20px;
  font-size: 14px;
}

.school {
  font-weight: bold;
  margin-bottom: 15px;
}

.popup {
  width: 800px;
  height: 400px;
  background-color: white;
  display: none;
  overflow: hidden;
}

.popup-close {
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  right: 5px;
  top: 5px;
}

.photo-section {
  background-color: gray;
  display: table-cell;
  /*height: 90vh;*/
  height: auto;
}

.hq-photo-section {
  background-color: gray;
  display: table-cell;
  height: 200px;
}

.instructor-since {
  margin-left: 20px;
  margin-top: 20px;
}

.instructor-since h4 {
  font-size: 14px;
  font-weight: bold;
  color: white;
}

.instructor-since h3 {
  font-size: 45px;
  margin-top: -20px;
  color: white;
}

.info-section {
  display: table-cell;
  padding: 0 15px;
  color: DarkGray;
  vertical-align: top;
}

.info-section h2 {
  /*font-size: 25px;*/
  margin-bottom: 3px;
}

h2.popup-instructor-name{ margin: 0 0 10px; }

.info-section h3 {
  font-size: 18px;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 10px;
}

.info-section h4 {
  font-size: 13px;
  line-height: 1;
  margin: 0 0 10px;
}

.info-section h4.darker{ margin:0 0 5px; }

.info-section h4 a{color:#58761e;}

.darker { color: #333333; }

.hq-instructor {
  float: left;
  width: 50%;
  margin-top: 20px;
}

.hq-instructor h3 span {
  font-size: 13px;
  color: #333333;
}

#instructors_app ul { 
	padding:0 0 0 15px; 
	overflow:hidden;
}

#instructors_app li {
  width: 80px;
  height: 140px;
  margin: 10px;
}

#instructors_app li img {
  width: 80px;
  height: auto;
}

#instructors_app li h2 {
  font-size: 12px;
  font-weight: bold;
  margin: 5px 0;
}

#instructors_app li h3 { 
	font-size: 10px; 
	line-height: 1.3;
	margin:0;
}

#instructors_app .search-area { width: 320px; }

#instructors_app .search-box {
  width: 320px;
  padding: 15px;
  border: 1px solid #eaedf2;
}

#instructors_app .search-box h1 {
  font-size: 28px;
  margin-top: 0;
}

#instructors_app .search-box p { font-size: 16px; }

#instructors_app .search-box input,
select { font-size: 16px; }

#instructors_app .main-content { width: 100%; }

#instructors_app h1 { font-size: 24px; }

#instructors_app p { font-size: 16px; }

#instructors_app input { /* width: 256px !important;*/
}

#instructors_app select { /*width: 280px !important;*/
margin-bottom: 14px; }

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

.popup { width: 90vw; }

.popup-instructor-image {
  width: 150px;
  height: auto;
}

.photo-section { width: 150px; }

.info-section { padding: 10px; }

.hq-instructor { width: 100%; }
}

@media only screen and (min-width: 800px) {

#instructors_app .search-area { float: right; }

#instructors_app .main-content {
  width: calc(100% - 340px);
  float: left;
}

#instructors_app li {
  width: 130px;
  height: 190px;
  font-size: 16px;
  margin: 10px;
  float: left;
}

#instructors_app li img { width: 120px; }

#instructors_app li h2 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 3px;
}

#instructors_app li h3 { font-size: 12px; }
}

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

/*.popup { height: 80vh; }*/

.hq-instructor { width: 100%; }

#instructors_app .search-area {
  margin-left: auto;
  margin-right: auto;
}
}

#modal { font-size: 14px; }

#instructors_app .popup {
  display: block;
  background-color: white;
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#instructors_app .spinner {
  margin: 100px auto 0;
  width: 70px;
  text-align: center;
}

#instructors_app .spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

#instructors_app .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

#instructors_app .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
 @-webkit-keyframes sk-bouncedelay {
 0%, 80%, 100% {
-webkit-transform: scale(0)
}
 40% {
-webkit-transform: scale(1.0)
}
}
 @keyframes sk-bouncedelay {
 0%, 80%, 100% {
 -webkit-transform: scale(0);
 transform: scale(0);
}
40% {
 -webkit-transform: scale(1.0);
 transform: scale(1.0);
}
}

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  margin-bottom: 14px;
  font-size: 1em;
  color: #161616;
  border-radius: 3px;
  vertical-align: middle;
  box-shadow: none;
  border: 0;
  width: 100%;
  max-width: 400px;
  font-family: "Lato", "Roboto", sans-serif;
  background-color: #eaedf2;
  -webkit-transition: background-color 0.24s ease-in-out;
  -moz-transition: background-color 0.24s ease-in-out;
  -ms-transition: background-color 0.24s ease-in-out;
  -o-transition: background-color 0.24s ease-in-out;
  transition: background-color 0.24s ease-in-out;
}
