/*
 * @package   solo
 * @copyright Copyright (c)2014-2025 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

/**
 * Modal dialogs using jsModal. Light version (should fit most, if not all, administrator themes)
 */
#akeeba-modal-overlay {
  background: transparentize($black, 0.1);
  filter: alpha(opacity=60);
  height: 100%;
  left: 0;
  -moz-opacity: 0.6;
  -webkit-opacity: 0.6;
  -ms-filter: alpha(opacity=60);
  opacity: 0.6;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1998;
}

#akeeba-modal-container {
  background: $white;
  border: 1px solid $light-grey;
  box-shadow: 0px 4px 16px darken($grey, 20%);
  height: auto;
  max-height: 90%;
  overflow: auto;
  padding: 10px;
  font-family: arial,sans-serif;
  font-size: 14px;
  position: absolute;
  z-index: 1998;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
}

#akeeba-modal-header {
  height: 20px;
  overflow: hidden;
  clear: both;
}

#akeeba-modal-close {
  border: thin solid $grey;
  border-radius: 10px;
  background: $white url('../image/modal-close.png') no-repeat 4px 3px;
  cursor: pointer;
  display: block;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  -webkit-opacity: 0.6;
  -ms-filter: alpha(opacity=60);
  opacity: 0.6;
  float: right;
  height: 20px;
  width: 21px;
}

#akeeba-modal-close:hover {
  filter: alpha(opacity=100);
  -moz-opacity: 1.0;
  -webkit-opacity: 1.0;
  -ms-filter: alpha(opacity=100);
  opacity: 1.0;
}

#akeeba-modal-content {
  display: block;
  padding: 0 20px 10px 20px;
  z-index: 1999;
}

#akeeba-modal-container.modal-loading {
  background: $white url('../icons/loading.gif') no-repeat center center;
}