a.call-out-tooltips {
  position: relative;
  display: inline;
}
a.call-out-tooltips span {
  position: absolute;
  width:100%;
  color: #FEFCFF;
  background: #CA3D34;
  border: 2px solid #F7F7F7;
  height: auto;
  line-height: 1.4;
  visibility: hidden;
  text-align: center;
  border-radius: 5px;
  box-shadow: 1px 1px 9px #080000;  
  font-size: 18px;
  text-align: left;
  padding: 15px;
  font-weight: 100;
}
a:hover.call-out-tooltips span,
a:focus.call-out-tooltips span ,
a.active.call-out-tooltips span {
  cursor: default;
}

/*========== RIGHT TOOLTIP==========*/
a.call-out-tooltips.right span:before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -12px;
  width: 0; height: 0;
  border-right: 12px solid #F7F7F7;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
a.call-out-tooltips.right span:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -8px;
  width: 0; height: 0;
  border-right: 8px solid #CA3D34;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
a.active.call-out-tooltips.right span,
a:hover.call-out-tooltips.right span {
  visibility: visible;
  opacity: 0.9;
  left: 100%;
  top: 50%;
  margin-top: -25px;
  margin-left: 15px;
  z-index: 999;
}

/*========== LEFT TOOLTIP==========*/
a.call-out-tooltips.left span:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -12px;
  width: 0; height: 0;
  border-left: 12px solid #F7F7F7;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
a.call-out-tooltips.left span:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -8px;
  width: 0; height: 0;
  border-left: 8px solid #CA3D34;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
a.active.call-out-tooltips.left span,
a:hover.call-out-tooltips.left span {
  visibility: visible;
  opacity: 0.9;
  right: 100%;
  top: 50%;
  margin-top: -25px;
  margin-right: 15px;
  z-index: 999;
}

/*========== BOTTOM TOOLTIP==========*/
a.call-out-tooltips.bottom span:before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -12px;
  width: 0; height: 0;
  border-bottom: 12px solid #F7F7F7;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}
a.call-out-tooltips.bottom span:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-bottom: 8px solid #CA3D34;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
a.active.call-out-tooltips.bottom span,
a:hover.call-out-tooltips.bottom span {
  visibility: visible;
  opacity: 0.9;
  top: 70px;
  left: 0%;
  margin-left: 0px;
  z-index: 999;
}

/*========== TOP TOOLTIP==========*/
a.call-out-tooltips.top span:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -12px;
  width: 0; height: 0;
  border-top: 12px solid #F7F7F7;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}
a.call-out-tooltips.top span:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-top: 8px solid #CA3D34;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
a.active.call-out-tooltips.top span,
a:hover.call-out-tooltips.top span {
  visibility: visible;
  opacity: 0.9;
  bottom: 30px;
  left: 50%;
  margin-left: -76px;
  z-index: 999;
}

.div-overlay {
  display: none;
}

.div-overlay.active {
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 4;
  opacity: 1;
  height: 100%;
}

.div-overlay.active .custom-modal {
  color: #FFF;
  margin: auto;
  text-align: center;
  font-size: 18px;
}

.div-overlay.active .custom-container {
  color: #FEFCFF;
  background: #CA3D34;
  border: 2px solid #F7F7F7;
  width: 580px;
  text-align: left;
  border-radius: 5px;
  padding: 15px 15px 5px;
}

#div-overlay.active .custom-container {
  margin: 257px auto 0px !important;
}

#div-overlay-second.active .custom-container {
  margin: 115px  auto 0px;
  width: 480px;
}

#div-overlay.active {
  background-color: rgba(0,0,0,0.30);
  position: fixed;
  z-index: 1000;
}

#div-overlay-second.active {
  background-color: none;
  position: absolute;
  opacity: 1;
}