/* Overall layout */
.content-main {
  @media only screen and (max-width: 1023px) {
    margin-top: -20px;
  }
}
#map-wrapper {
  padding-left: 6.25%;
  padding-right: 6.25%;

  @media screen and (min-width: 1024px) { 
    height:700px;
    padding-left: 4.16667%;
    padding-right: 4.16667%;
  }
}

#campus-map {
  height: 500px;
  width: 100%;
  box-sizing: border-box;


  @media screen and (min-width: 1024px) {  
    height: 700px;
    width: 70%;
    float: left;
    box-sizing: border-box;
  }
}

#side-panel {
  height: 318px; /* 310px; */
  width: 100%;
  overflow-y: scroll;
  margin-bottom:30px;

  @media only screen and (min-width: 768px) and (max-width: 1023px) {
    width: 60%;
    height:370px; /* 388px; */
    margin-left: 20%;
  }

  @media screen and (min-width: 1024px) { 
    height: 700px;
    width: 30%;
    float: left;
    box-sizing: border-box;
    padding: 0px 2.27273% 260px 0;
  }
}

#side-panel h2,
#directions-container h2 {
  font-size: 1.5rem;
  padding: 5px 15px 5px 0;
  margin-bottom: 0px; /*10px*/
  font-weight: bold;
}

#clear-map-link {
  font-size: 1rem;
  color: #00543c;
  position: relative;
  top: 4px;

  @media screen and (max-width: 1023px) { 
    padding-right:20px;
  }
}

#clear-map-link svg {
  width: 16px;
  margin-top: 7px;
  margin-bottom: 10px;
  margin-right: 1px;

  @media screen and (min-width: 1024px) { 
    margin-right: 11px;
  }
}

/* Groups and lists */
.group {
  padding: 0 20px 10px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;

  @media screen and (min-width: 1024px) { 
    padding-right:10px;
  }
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.group-title input[type="checkbox"],
.show-labels input[type="checkbox"] {
  margin-left: 20px;
  border-radius: 0!important;
}
.show-labels {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  display: flex;
  align-items: center;
  justify-content:end; /*space-between;*/
  width: 100%;
  cursor: pointer;
  padding: 0 20px 10px 10px;
  margin-top: -30px;
  margin-bottom: 10px;

  @media screen and (min-width: 1024px) { 
    padding-right: 9px;
    margin-top: -20px;
  }
}
.group-title-name {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  width: 100%;
}

.arrow {
  margin-left: 5px;
  cursor: pointer;

  @media only screen and (max-width: 1023px){
    margin-right: 10px;
  }

  svg {
    width: 12px;
  }
}

.group ul {
  padding-left: 20px;
  padding-top:10px;
  display: none;
}
.group li {
  margin-bottom: 8px;
  cursor: pointer;
  text-decoration: none;
  list-style-type: none;
}

.group li:hover, 
.group li:focus {
  text-decoration: underline;
}
/* making the link bold after clicking */
.location-link.active {
  font-weight: bold;
}

/* Location info styling for inline display */
#location-info {
  background-color: #fff;
  padding: 5px 15px 15px 15px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  margin-left: -15px;
  display: none;
  width: 100%;
  position: relative;
  scroll-margin-top: 40px;

  @media only screen and (max-width: 767px){
    position: absolute;
    z-index: 200;    
    width: 98vw;      
    left: 1vw;
    top: 166px; 
    margin-left: unset;
  }
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    position: absolute;
    z-index: 200; 
    margin-left: -21.5%; /* -30px; */
    width: 88vw; /* 53%; */
    top: 300px;
  } 
}

#location-info h2 {
  padding-top: 25px;

  @media only screen and (max-width: 767px){
    font-size: 1.2rem;
    padding-top: 0px;
    width: 75%;
  }

  @media only screen and (min-width: 768px) and (max-width: 1023px){
    padding-top: 0px;
  }
}

#location-info img {
  margin-bottom: 15px;

  @media only screen and (max-width: 767px){
    width: 80%!important;
    margin-left: 10%;
  }
}

#location-info img.no-carousel {
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 50%!important;
    display: inline-block;
  }
}

#location-info .carousel {
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 50%!important;
    display: inline-block;
    float: inline-start;
  }
}
#location-info .carousel img {
  @media only screen and (max-width: 767px){
    margin-bottom: -10px; 
  }
}

#location-info p {
  font-size: .9rem;
  @media only screen and (max-width: 767px){
    margin-bottom: .5rem;
  }

  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width:45%;
    margin-left: 20px;
    float:right;
  }
}
#location-info p.description-no-image {
  float: none;
  width: 100%;
}
#location-info p a {
  font-size: .9rem;
  line-height: 1.5;
  color: #00543c;
}
.share-close-wrapper {
  position: relative; 
  padding-top: 10px;
}
.close-info {
  position: absolute; 
  top: 5px; 
  right: 5px; 
  cursor: pointer;
}

.close-info svg.icon-close {
  width: 15px;
  height: 15px;
}
#info-share-icon {
  position: absolute; 
  top: 1px; 
  right: 40px; 
  cursor: pointer; 
  font-size: 20px;
}

#info-share-icon svg {
  width: 16px;
}

/* Modal styling */

.share-modal-wrapper {
  position: relative;
  background: white; 
  padding: 20px; 
  border-radius: 8px; 
  max-width: 90%; 
  text-align: center;
}
#close-share-modal {
  position: absolute;
  top: 20px;
  right: 20px;
}

#close-share-modal svg {
  width: 20px;
  height: 20px;
}
h2.share-location-header {
  font-size: 1.5rem;
  padding: 5px 15px 5px 0;
  margin-bottom: 10px;
  font-weight: 600;
}
a#copy-link {
  color: #00543c;
}

/* Carousel styling */
.carousel {
  position: relative;
}

.carousel img {
  width: 100%;
  display: none;
  margin-bottom: 15px;
}

.carousel img.active {
  display: block;
}

.carousel-swiper-button-prev svg,
.carousel-swiper-button-next svg {
  width: 0.4625rem;
    height: 0.8rem;
}
.carousel-swiper-button-prev,
.carousel-swiper-button-next {
  display: flex;
  position: relative;
  top: 50%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: none;
  background-color: #FFF;
  border: 0.125rem solid #FDBB30;
  margin: 0;
  width: 2.125rem;
  height: 2.125rem;
  color: #000000;
}
.carousel-swiper-button-prev {
  margin-right: 15px;
}
.carousel-swiper-button-prev:hover,
.carousel-swiper-button-next:hover {
  border-width: 0.3125rem;
}

.carousel-swiper-button-next svg {  	
  transform: rotate(180deg);
}
.carousel-swiper-button-wrapper {
  display: flex;
  position: relative;
  justify-content: flex-end; /*both on the right side */
  right: 0;
  top: 1rem;
  margin-bottom: 10px;

  @media only screen and (max-width: 767px){
    justify-content: flex-end;
    margin-right: 11%;
    top: -0.75rem;/* -2.3rem; */
    margin-bottom: 0px;
  }
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width:100%;
  }
}
.carousel-swiper-button-wrapper+p {
  @media only screen and (max-width: 767px){ 
    margin-top: -2rem;
  }
}

/* Directions container below the map */
#directions-container {     
  background: #f6f6f6;
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 6.25%;
  padding-right: 6.25%;
  clear: both;

  @media screen and (min-width: 1024px) { 
    display: flex;
    padding-left: 4.16667%;
    padding-right: 4.16667%;
  }
}

#start-location,
#end-location {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  box-sizing: border-box;
}  

#directions-container label, 
#directions-container select {
  color:#000000;
  margin-bottom: 10px;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;

  @media screen and (max-width: 1023px) { 
    padding-top:10px;
    padding-bottom:10px;
  }
}

#directions-container select#start-location {
  margin-bottom: 20px;
  margin-top: 5px;
}

#side-panel button.get-directions,
#directions-container button.get-directions {
  color:#000000;
  margin-top: 10px;
  margin-bottom: 10px;
}

#side-panel button.get-directions,
#directions-container button.get-directions {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 3.125rem;
  border: 0.125rem solid #AED136;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  margin-top:30px;
  background: #fff;
}


#side-panel button.get-directions:hover,
#directions-container button.get-directions:hover {
  border-width: 0.3125rem;
}

#directions-container-wrapper {
  width: 100%;
  cursor: pointer;
  align-items: baseline;
  padding-right: 2.27273%;

  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 60%;
    margin-left: 20%;
  }

  @media screen and (min-width: 1024px) { 
    width: 30%;
  }
}
#directions-container label {
  margin-right: 15px;
  font-weight: 600;
}
#directions-container select {
  margin-right: 25px;
}
#directions-panel {
  margin-top: 40px;
  padding-right: 2.27273%;

  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 60%;
    margin-left: 20%;
  }
  @media screen and (min-width: 1024px) { 
    width: 70%;
    padding-left: 50px;
  }
}
#directions-panel .custom-step {
  display: flex;
  margin-bottom: 10px;
  font-family: 'Fira Sans', sans-serif;
}
.custom-summary {
  font-family: 'Fira Sans', sans-serif;
  margin: 15px 0;
  font-size: 1rem;
}
.start-location, .end-location {
  font-weight: bold;
  margin-bottom: 15px;
}
.custom-step {
  border-top: 1px solid #bdbdbd;
  padding-top: 10px;
}
.custom-step.start-location,
.custom-step.end-location {
  border: 1px solid #bdbdbd;
  padding: 5px;
  align-items: center;
}
.custom-step.end-location {
  margin-top: 20px;
}
.custom-step-number {
  padding-right: 5px;
}
.custom-location-icon {
  width: 32px;
  height: 32px;
  margin-top:3px;
  margin-right: 18px;
}
.custom-step-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
img.custom-step-icon {
  margin-left: 10px;
}
.custom-step-distance {
  margin-left: auto;
}
.custom-address {
  font-size: 1.1rem;
  color: #333;
}
.custom-step-instruction {
  font-size: 1rem;
  color: #333;
}
.custom-step-instruction b {
  font-weight: 600;
}
.adp-warnbox {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  margin-top: 25px;
}
table.adp-placemark {
  font-weight: 400;
  font-family: 'Fira Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.3;
}
td.adp-text {
  padding-left: 10px;
}
/* Colored circles for Parking and Accessibility categories */
#group-parking li:before,
#group-accessibility li:before {
  border-radius: 10px;
  width: 15px;
  height: 15px;
  z-index: 0;
  position: relative;
  display: inline-block;
  content: "";
  margin-right: 10px;
  border: 1px solid gray;
}
#group-accessibility li.wheelchair-path:before { 
  content: none;
}
#group-parking li.parking-lots:before {
  background: #A8228E;
}
#group-parking li.bike-racks:before {
  background: #e8eaea;
}
#group-parking li.ev-charging:before {
  background: #00543c;
}
#group-parking li.bus-stops:before {
  background: #ffd671;
}
#group-parking li.parking-info-booth:before,
#group-parking li.visitor-parking-info-kiosk:before {
  background: #4F84FA;
}
#group-accessibility li.accessible-entrances:before {
  background: #4F84FA;
}
.gm-style div[aria-hidden="true"][style*='font-family: "Open Sans", sans-serif'] {
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff !important;
}


#toggle-wheelchair-path.active {
  font-weight: bold;
  color: black;
}

#search-results {  
  position: absolute;
  z-index: 10;
  width: 25.4%; /*318px;*/
  max-height: 450px;
  background: #fff;
  margin: -44px 10px 0 0px;
  padding: 0;
  border: 1px solid #ccc;
  border-top: none;
  list-style: none;
  overflow-y: auto;  

  @media only screen and (max-width: 766px){
    width: 87.6%; /*width: 370px; */
  }
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 52.5%; /*width: 30%;*/
  }
}

.search-result-item {
  padding: 8px 12px;
  cursor: pointer;
}
li.search-result-item:last-of-type {
  margin-bottom: 15px;
}

.search-result-item:hover {
  text-decoration: underline;
}
#campus-search {
  width: 100%;   
  height: 50px;
  border: 1px solid #ccc;
  border-radius: 0;
  margin-bottom: 20px;
  padding-left:0.625rem;

 /* @media only screen and (max-width: 766px){
    width: 285px;
  }
  @media only screen and (min-width: 768px) and (max-width: 1023px){
    width: 375px;
  }*/
}
input#campus-search::placeholder {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-size:1rem;
  font-weight: 400;
  
}
.close-search {
  position: relative;
  left: 92%;
  top: -55px;
  cursor: pointer;
}
.close-search svg {
  width: 15px;
  height: 15px;
}
#search-results { 
  position: absolute;
  z-index: 1000;
  display: none; 
}
#search-results.open { 
  display: block; 
}