.overlay-container,
.overlay-container * {
	box-sizing: border-box;
}
.overlay-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}
.overlay-container img {
	max-width: 100%;
}
.overlay-container {
	display: block;
}
.overlay-container .overlay {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 15px;
	-moz-transition: all 0.4s ease-in-out 0s;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-ms-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}
.overlay-container:hover .overlay,
.overlay-container.active .overlay {
	opacity: 1;
}
.overlay-container .hover-text {
	text-align: center;
	display: inline-block;
	position: absolute;
	top: 50%;
    left: 50%;
    width: 90%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.overlay-container .hover-text_mobile {
	font-size: 15px;
	border-top: 1px solid rgb(179, 179, 179); /* for old browsers */
	border-top: 1px solid rgba(179, 179, 179, 0.7);
	margin-top: 5px;
	padding-top: 2px;
	display: none;
}
.overlay-container.active .hover-text_mobile {
	display: block;
}

@font-face {
    font-family: 'Avenir-Roman';
    src: url('../fonts/Avenir-Roman.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}  

/* body {
    font-family: 'Avenir-Roman', sans-serif;
} */

@font-face {
    font-family: 'Optima';
    src: url('../fonts/Optima.otf') format('opentype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
  }  

.dorm-header {
    font-family: 'Optima', sans-serif;
	font-size: 2em;
}

.table-flex {
	width: 100% !important; 
	overflow:auto;
  }

#mainbanner {
	position: relative;
	height:60vh !important;
 	width:82vw !important;
}
  
/* @media screen and (min-width: 1250px) {
	#mainbanner {
	  height: 500px;
	}
}

@media screen and (max-width: 766px) {
	#mainbanner {
	  height: 0px;
	}
  }

@media screen and (max-width: 1065px) {
	#mainbanner {
	  height: 0px;
	}
} */

.btn-group button {
	background-color: white; /* Green background */
	border: 1px solid black; /* Green border */
	color: black; /* White text */
	padding: 10px 24px; /* Some padding */
	cursor: pointer; /* Pointer/hand icon */
	width: 85vw; /* Set a width if needed */
	display: block; /* Make the buttons appear below each other */
	text-align:left;
  }
  
  .btn-group button:not(:last-child) {
	border-bottom: none; /* Prevent double borders */
  }
  
  /* Add a background color on hover */
  .btn-group button:hover {
	background-color: #8D1436;
	color: white;
  }

  .button-dorm {
	border: 2px solid black;
	background-color: white;
	color: black;
	padding: 14px 28px;
	font-size: 16px;
	cursor: pointer;
  }
  
  /* Green */
  .rates {
	border-color: #04AA6D;
	color: green;
  }

  .rates:hover {
	background-color: #04AA6D;
	color: white;
  }

  .pictures {
	border-color: #2196F3;
	color: dodgerblue
  }
  
  .pictures:hover {
	background: #2196F3;
	color: white;
  }

  .text-bold{
	font-weight: bold;
	font-size: 0.9em;
}

.btn-bridge {
  background-color: gray;
}

#bridge-submit-btn{
	margin-bottom:30px;
	background-color:#8D1436;
}

.divider {
	border-top: 3px dotted #bbb;
  }