/* MODAL */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 200000000000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: #000;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */ }
  .modal ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px; }
  .modal ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5); }
/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  width: 80%;
  /* Could be more or less, depending on screen size */
  overflow: hidden; }

.modal-subtitle {
  padding-bottom: 0 !important;
  color: #000;
  font-weight: bold; }
/* The Close Button */
.closes {
  color: #1f3d83;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 20px; }

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

.text-modal-container, .photo-modal-container {
  width: 50%;
  float: left; }

.text-modal-container {
  overflow: scroll;
  height: 275px; }
  .text-modal-container p, .text-modal-container h1 {
    padding: 40px;
    padding-top: 0; }
  .text-modal-container h1 {
    padding-bottom: 0;
    padding-top: 0; }

@media screen and (max-width: 1060px) {
  .text-modal-container, .photo-modal-container {
    width: 100%; }

  .closes {
    position: absolute; }

  .photo-modal-container {
    background-position: 0 -100px !important;
    padding: 14em; } }

@media screen and (max-width: 600px) {
  .photo-modal-container {
    background-position: 0 -10px !important; } }
