/**
Theme Name: Autoveicoli Pansera
Author: Domenico Gangemi
Author URI: mailto:domenico.gangemi@hotmail.it
Description: Autoveicoli Pansera
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoveicoli-pansera
Template: astra
*/

/* The Modal (background) */
.avp-modal-open {
    overflow: hidden;
}

.avp-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.avp-modal-content {
  background-color: #fefefe;
  margin: 15vh auto; /* 15% from the top and centered */
  padding: 1.5rem 2.5rem;
  border: 1px solid #888;
  width: 35vw; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.avp-modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.avp-modal .close:hover,
.avp-modal .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.avp-modal h4 {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.5rem;
}
