/*!
 * loltgt ensemble.Modal
 *
 * @version 0.0.1
 * @copyright Copyright (C) Leonardo Laureti
 * @license MIT License
 */
.modal, .modal-content, .modal-button {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  border: 0;
  z-index: 1001;
  overflow: hidden;
  color: #000;
  background: rgba(100, 100, 100, 0.7); }

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  line-height: 1;
  overflow: hidden; }

.modal-object {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%); }

.modal-button {
  position: absolute;
  width: auto;
  padding: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  border: 0;
  cursor: pointer;
  user-select: none;
  appearance: none;
  -webkit-highlight: none;
  -webkit-user-select: none;
  -webkit-appearance: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0); }

.modal-button:disabled {
  background: none !important;
  opacity: 0.1;
  cursor: default; }

.modal-button:active, .modal-button:focus {
  color: white;
  background: rgba(0, 0, 0, 0.7);
  outline: 0;
  -webkit-tap-highlight-color: transparent; }

@media (hover: hover) {
  .modal-button:hover {
    color: white;
    background: rgba(0, 0, 0, 0.7); } }

.modal-close {
  top: 0;
  right: 0; }

.modal[hidden],
.modal [hidden] {
  display: none !important; }

.modal.modal-fx[hidden] {
  display: flex !important;
  opacity: 0; }

.modal.modal-fx {
  opacity: 1;
  transition: opacity 70ms linear; }

.modal.modal-fx .modal-button {
  transition: all 30ms linear; }

@media (min-width: 576px) {
  .modal-button {
    font-size: 3rem; } }

@media (min-width: 992px) {
  .modal-button {
    font-size: 3rem; } }
