/* tooltips */
.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 12px;
  opacity: 0;
  filter: alpha(opacity=0);
}

.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.tooltip.top {
  margin-top: -3px;
  padding: 5px 0;
}
.tooltip.right {
  margin-left: 3px;
  padding: 0 5px;
}
.tooltip.bottom {
  margin-top: 3px;
  padding: 5px 0;
}
.tooltip.left {
  margin-left: -3px;
  padding: 0 5px;
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  background-color: #009697;
  border-radius: 2px;
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #009697;
}
.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  right: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #009697;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  left: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #009697;
}
.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #009697;
}
.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #009697;
}
.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #009697;
}
.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  right: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #009697;
}
.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  left: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #009697;
}

/*

Modals

.modal-open      - body class for killing the scroll
.modal           - container to scroll within
.modal-dialog    - positioning shell for the actual modal
.modal-content   - actual modal w/ bg and corners and shit

.modal-open {
  overflow: hidden;
}

*/

/* Container that the modal scrolls within - js edited to use flex instead of block when open */
.modal {
  display: none;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Shell div to position the modal with bottom padding */
.modal-dialog {
  position: relative;
  width: auto;
}

/* Actual modal */
.modal-content {
  position: relative;
  background-color: #fff;
  box-shadow: 0 3px 9px rgba(0,0,0,.5);
  background-clip: padding-box;
  outline: 0;
  width: auto;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background-color: rgba(88,88,88,0.3);
}

.modal-header {
	position: relative;
	padding: 5px 10px 5px 10px;
	color: #fff;
	background-color: #006D89;
/* 	border-bottom: 1px solid #008e89; 
	This was doing weird things to a 
	corona-header-bottom-basr underneath it */
}

.modal-header > i:first-child {
	margin-right: 5px;
}

/* Close icon */
.modal-header > .close-btn {
	position: absolute;
	right: 5px;
	top: 5px;
}

.modal-header > .close-btn:not(:hover) {
	color: #fff;
}

.close-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3px;
	width: 14px;
	height: 13px;
	color: #888;
	font-size: 12px;
	cursor: pointer;
	z-index: 2;
}

.close-btn:hover {
	color: #F4364C;
	background: linear-gradient(to left top, rgba(0,0,0,.08), rgba(0,0,0,.12));
}

.modal-title {
  margin: 0;
  line-height: inherit;
}

/* Modal body - Where all modal content resides (sibling of .modal-header and .modal-footer) */
.modal-body {
  position: relative;
  padding: 10px;
}

.sectioned-modal-body {
	position: relative;
	padding: 10px 0px;
}

.modal-body-section {
	padding: 0 10px;
}

.modal-message {
	font-size: 13px;
	
}

.modal-footer {
  padding: 10px;
  text-align: right;
  border-top: 1px solid #ddd;
}

/* Measure scrollbar width for padding body during modal show/hide */
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

