/* demo only */
#opc_alert { z-index: 999999; }
#opc_alert .flex { display: flex; }
#opc_alert .align-center { justify-content: center; }
#opc_alert .align-vert,#opc_alert.align-vert.align-center { align-items: center; z-index: 999999; }
/* end demo */

#opc_alert { display: none; }
#opc_alert.modal--show,
#opc_alert.modal--hide { display: flex; } /* classes fired by js for animation control */

/* This is on the wrapper for the whole modal */
#opc_alert.modal--align {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
}

#opc_alert .modal__container {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 800px;
  padding: 20px;
  padding-left: 20px; 
  padding-right: 20px; 
  margin: 0;
  background: #0b70cd;
  color: white; 
}

/* The .modal__close class is used in js but is modified '--x' here */
#opc_alert .modal__close--x {
  font-size: 30px; /* this is only because we use unicode for the X in this case */
  position: absolute;
  top: 3px;
  right: 10px;
}

/* As there is no href to avoid the hash being added to the URL when clicked we add a pointer */
/* This 'x' is hidden from screen readers as there is an accessible close button in the modal */
#opc_alert .modal__close--x:hover {
  cursor: pointer;
}

/* Animations */
/* Open */
#opc_alert .modal.modal--show {
  animation: modal-open 0.3s;
}

@keyframes modal-open {
  0%    { opacity: 0; }
  100%  { opacity: 1; }
}

/* Close */
#opc_alert.modal--hide {
  animation: modal-close 0.3s;
}

@keyframes modal-close {
  0%    { opacity: 1; }
  100%  { opacity: 0; }
}

#opc_alert button {
	min-width: 100px; 
	min-height: 30px; 
}
@media (min-width: 100px) and (max-width: 879px) {
	
#opc_alert .modal__container {
  padding-left: 20px; 
  padding-right: 20px; 
}

}