/* ArcGIS  -  MODAL LINKS 
  ===================================== */
  
.case-study-item,
.case-study-item:visited {
  text-decoration: none;
}
.case-study-item:hover {
  text-decoration: underline;
}
.case-study-item img {
  border-radius: 50%;
  border: 5px solid #fff;
  display: block;
  height: auto;
  margin: 0 auto;
  width: auto;
}
.case-study-item:hover img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  border: 5px solid #00b9f2;
  *border:5px solid #fff;
}
.case-study-item span {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
  text-align: center;
  font-family: "Lucida Grande","Segoe UI","Arial",sans-serif;
}


/* ArcGIS  -  MODAL POP-UPS
  ===================================== */
  
#modalOverlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255,255,255,0.8);
  display: none;
  z-index: 1000;
}
#modalOverlay.active {
  display: block;
}

/* Modal Overlay Close - Button */
.modal-overlay-close {
  background-image: url('img/close.png');
  background-position: 0 0;
  background-repeat: no-repeat;
  cursor: pointer;
  display: block;
  position: absolute;
  top: -24px;
  right: -18px;
  height: 48px;
  width: 48px;
}
.modal-overlay-close:hover {
  background-position: 0 -48px;
}

/* Modal */
.modal-content-panel {
  -webkit-box-shadow: 0 1px 20px rgba(0,0,0,0.4);
  -moz-box-shadow: 0 1px 20px rgba(0,0,0,0.4);
  -o-box-shadow: 0 1px 20px rgba(0,0,0,0.4);
  box-shadow: 0 1px 20px rgba(0,0,0,0.4);
  position: fixed;
  z-index: 1005;
  margin: 0 auto;
  background: #fff;
  display: none;
  top: 5%;
  width: 980px;
  left: 0;
  right: 0;
  bottom: 10%;
  
  min-height: 650px;
  max-height: 700px;
}
.modal-content-panel.active {
  display:block;
}

/* Modal - Header */
.modal-content-panel .modal-background,
.modal-content-panel .modal-content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
.modal-content-panel .modal-background {
  background-position: center center;
  height: 40%;
  padding: 60px 0;
  text-align: center;
}
.modal-content-panel .modal-background .modal-title-img {
  display: block;
  margin: 0 auto 10px auto;
}
.modal-content-panel .modal-background .modal-title {
  color: #FFF;
  font-size: 2.2em;
  margin: 0;
  text-align: center;
}

/* Modal - Content */
.modal-content-panel .modal-content {
  height: 60%;
  padding: 10px 30px;
}
.modal-content-panel .modal-content h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 20px;
  text-align: center;
  letter-spacing: 0;
}
.modal-content-panel .modal-content hr {
  border: 1px solid #007ac2;
  margin-top: 1.5em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
  width: 80px;
}
.modal-content-panel .modal-content p {
  font-size: 14px;
  text-align: center;
}


/* Modal Resposnive 
  ===================================== */
  
@media only screen and (max-width : 900px) {
  .modal-content-panel .modal-background .modal-title {
    font-size: 1.8em;
  }
  .modal-content-panel .modal-content h3 {
    font-size: 18px;
  }
}

@media screen and (max-height:650px) {
  .modal-content-panel {
    max-height: 100%;
    min-height: 0;
    bottom: 5%;
    top: 5%;
  }
  .modal-content-panel .modal-background {
    padding: 20px 0;
    min-height: 200px;
  }
  .modal-content-panel .modal-content {
    overflow: hidden;
    overflow-y: scroll;
  }
}

@media only screen and (max-width : 650px) {
  .modal-content-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 30px;
    max-height: 100%;
    width: auto;
    min-height: 100%;
  }
  .modal-overlay-close {
    top: 5px;
    right: -15px;
  }
  .modal-content-panel .popup-background {
    min-height: 200px;
    padding: 20px 0;
    font-size: 16px;
  }
  .modal-content-panel .popup-title {}
  .modal-content-panel .popup-content {
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
  }
}

/*-------------------------------------
Long's inline udpates
-------------------------------------*/

.modal-content-panel .modal-overlay-close { z-index: 100; }
.modal-content-panel .modal-content { height: 100%; }
.modal-content-panel .modal-content img { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; }
.modal-content-panel.modal-900 { width: 900px !important; }
.modal-content-panel.modal-video .modal-content, .modal-content-panel.content-only .modal-content { padding: 0 10px !important; overflow: hidden !important; margin: auto; position: absolute; top: 0; bottom: 0; width: 100%; }
.modal-content-panel.evlarge { width: 980px !important; }
.modal-content-panel.evmedium { width: 740px !important; }
.modal-content-panel.evsmall { width: 500px !important; }
.modal-content-panel.evxsmall { width: 340px !important; }
