/**
 * All of the CSS for your public-single-product functionality should be
 * included in this file.
 */

.ow-pizza-modal-btn {
  width: 100%;
  margin: 10px;
  box-shadow: inset 0px 1px 0px 0px #cf866c;
  background: linear-gradient(to bottom, #d0451b 5%, #c50027 100%);
  background-color: #d0451b;
  border-radius: 10px;
  border: 1px solid #942911;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 14px;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #854629;
}

#ow-pizza-modals {
  margin: 10px;
}

@media screen and (min-width: 1024px) {
  #ow-pizza-modals {
    max-width: 120px;
  }

  .ow-pizza-modal-btn {
    float: left;
    width: 100%;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
  #ow-pizza-modals {
    max-width: 100%;
    min-height: 120px;
  }

  .ow-pizza-modal-btn {
    float: left;
    width: 44%;
  }
}

@media screen and (max-width: 767px) {
  #ow-pizza-modals {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-wrap: wrap;
    width: 100%;
  }

  .ow-pizza-modal-btn {
    float: left;
    width: 160px;
  }
}

.ow-pizza-modal-btn:hover {
  background: linear-gradient(to bottom, #c50027 5%, #d0451b 100%);
  background-color: #c50027;
}

.ow-pizza-modal-btn:active {
  position: relative;
  top: 1px;
}

/* The Modal (background) */
.ow-pizza-modal-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 10;
  /* 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 */
  z-index: 999;
}

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

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

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