/* [Object] Modal
 * =============================== */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgb(0,0,0,0.5);
  transition: opacity .25s ease;
  z-index: 5;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none !important;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 90%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 1em 2em;
  height: fit-content;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #8e1111;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
  color: #8e1111;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #000000;
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}


/* Other
 * =============================== */


.btn {
  cursor: pointer;
  background: #ffffff;
  display: inline-block;
  /*padding: .5em 1em;*/
  color: #8e1111;
  border-radius: 3px;
}

.btn:hover,
.btn:focus {
  background: #ffffff;
  color: #000000;
}

.btn:active {
  background: #ffffff;
  /*box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;*/
}
/*.modal__inner p{
  font-size: 90%;
}
.facultybiorow {
  width: 100%;
  clear: both;
}
.facultybiocolumn {
  width: 25%;
  float: left;
  padding: 5px;
}
@media screen and (max-width: 45em) {
.facultybiocolumn {
  width: 25%;
}
}*/
/*.facultytable td{
  width: 25%;
}
@media screen and (max-width: 45em) {
.facultytable td{
  width: 100%;
}
}*/
.faflex-grid {
  display: flex;
}
.facol {
  flex: 1;
  padding: 5px;
  font-size: 80%;
}
@media screen and (max-width: 45em) {
  .faflex-grid {
    display: block;
  }
}
.spv-popup-content {
    width: 40em !important;
    /*left: -300% !important;*/
}
.col-1 .spv-popup-content {
    left: 0% !important;
}
.col-2 .spv-popup-content {
    left: -200% !important;
}
.col-3 .spv-popup-content {
    left: -400% !important;
}
.col-4 .spv-popup-content {
    left: -600% !important;
}
@media screen and (max-width: 975px) {
.col-1 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
.col-2 .spv-popup-content {
    left: -200% !important;
    width: 30em !important;
}
.col-3 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
.col-4 .spv-popup-content {
    left: -200% !important;
    width: 30em !important;
}
}
@media screen and (max-width: 767px) {
.col-1 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
.col-2 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
.col-3 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
.col-4 .spv-popup-content {
    left: 0% !important;
    width: 30em !important;
}
}
/*.views-col .col-1 .spv-top-popup {
    left: -300% !important;
}
.views-col .col-4 .spv-top-popup {
    left: -1500% !important;
}*/
@media screen and (max-width: 45em) {
  .spv-popup-content {
    width: 20em !important;
}
.spv-top-popup {
    left: 0% !important;
}
}
.spv-popup-link {
    color: #8e1111;
}
.spv-popup-link:hover {
    text-decoration: underline;
}
/*Test for Accordion Listing of Faculty*/
.ui-accordion-content .spv-popup-wrapper {
  position: absolute;
}
@media screen and (max-width: 45em) {
.spv-top-popup {
    left: -50% !important;
    bottom: -500% !important;
}

}
/*CSS for Links inside popup*/
.spv-inside-popup a {
  color: #8e1111;
  text-decoration: underline;
}