html {
    scroll-behavior: smooth;
}

.current-catalogitem {
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .current-catalogitem {
        height: 420px;
    }
}

.current-catalogitem h1 {
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    padding: 6px;
}

.catalogitem {
    border: 1px solid rgba(0, 0, 0, .3);
    position: relative;
}

.catalogitem h1 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 0;
}

.catalogitem-category {
    display: block;
    text-align: center;
    padding: 4px;
    background-color: green;
    color: white;
    font-weight: 550;
}

/* Giving Catalog - Category colors */
.catalogitem-category.general-fund {
    background-color: #000000;

}


.catalogitem-category.domestic-church-plant,
.catalogitem-category.domestic-church-planting {
    background-color: #d4d4d4;
    color: #000;

}

.catalogitem-category.humanitarian-aid,
.catalogitem-category.humanitarian-aid-fund,
.catalogitem-category.humanitarian-aid-funds,
.catalogitem-category.humanitarian-aid-development,
.catalogitem-category.humanitarian-aid-and-development {
    background-color: #808080;
    color: #fff;

}

.shortterm-trips{
    background-color: #aaaaaa;
}

.catalogitem-category.global-partner,
.catalogitem-category.global-partners,
.catalogitem-category.global-partnership,
.catalogitem-category.global-partnership-fund,
.catalogitem-category.global-partnership-funds {
    background-color: #555;

}

.catalogitem-category.missions,
.catalogitem-category.missions-fund,
.catalogitem-category.mission-funds,
.catalogitem-category.missions-funds,
.catalogitem-category.global-workers {
    background-color: #ffffff;
    color: #000;

}

.catalogitem-category.building-fund {
    background-color: darkgoldenrod;
}

.catalogitem-category.harambee {
    background-color: #2b2b2b;
    color: #fff;
}

.catalogitem-body {
    padding: 15px;
    height: 172px;
    overflow: hidden;
}

.catalogitem-shortdescription {
    height: 120px;
    overflow: hidden;
}

.catalogitem-link:hover {
    text-decoration: none;
}

.catalogitem-image {
    height: 158px;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.btn-remove-from-cart {
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
    font-size: 14px;
}

.zzcatalogitem-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .1s ease-in-out;
}

.zzcatalogitem-image:hover:after {
    background: rgba(0,0,0,.2);
}

/* Popup Background */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.6); /* Black w/ opacity */
}

/* Popup Content */
.popup-content {
    background-color: #ffffff;
    margin: auto;
    border-radius: 10px;
    border: 2px solid black; /* #517a54; */
    width: 80%;
}

.popup-header {
    width: 100%;
}

.popup-body {
    padding: 0px 20px 20px 20px;
}

/* Popup Close Button */
.btn-x-close {
    color: #777777;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -5px;
    margin-right: 5px;
    cursor: pointer;
}

.popup-image {
    height: 158px;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.popup-text {
    color: #333333;
    padding: 10px;
    font-size: 1em;
    font-weight: 500;
}

.popup-button {
    background-color: #517a54;
    color: white;
    border-radius: 5px;
    border: 1px solid #517a54;
    margin: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

/* .adj .scheduled-transaction
,.adj .scheduled-transactions
, #cart
,.scheduled-transaction .panel
{
    height: 100%;
} */

.transaction-entry-v2 {
    max-width: 100%;
}

#cart{
    height: 100%;

}

.adj{

  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.adj .scheduled-transactions, .adj #cart{
    display: flex;
    flex-direction: column;
    
}

.scheduled-transactions{
    margin-bottom: 15px;
}
@media only screen and (max-width: 768px) {
    .form-group, #cart {
      max-width: 100%;
      flex-grow: 1;
    }
    .catalogitem h1 {
        font-size: 16px;
    }
    .container {
        width: 100%;
    }
    .scheduled-transactions{
        flex-basis: 100%;
    }
    #cart{
        flex-basis: 100%;
    }
    li{
        flex-basis: 100%;
        display: list-item;
    }
    .profile-nav .nav-pills>li {
        display: list-item;
        float: none;
    }
    .catalogitem-body {
        height: auto;
    }
    .catalogitem-shortdescription{
        height: auto;
    }

      }
.container {
    width: 85%;
}
@media screen and (min-width: 1601px) {
    body {
      font-size: 16px;
    }
    .catalogitem h1 {
        font-size: 18px;
    }
  }
/* Media query for smaller screens */
@media screen and (max-width: 1600px) {
    body {
      font-size: 14px;
    }
    .catalogitem h1 {
        font-size: 18px;
    }
  }
  /* Media query for smaller screens */
@media screen and (max-width:992px) {
    .catalogitem-body {
        height: auto;
    }
    .container {
        width: 100%;
    }
    .catalogitem-shortdescription{
        height: auto;
    }
    body {
        font-size: 14px;
      }
      .catalogitem h1 {
          font-size: 16px;
      }
      .catalogitem-wrapper.col-lg-12 .catalogitem-image{
        height: 158px;
        width: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
      }
      .catalogitem-wrapper.col-lg-12 .catalogitem-body{
        height: auto;
      }
  }
@media screen and (max-width:1024px) {
    body {
        font-size: 14px;
      }
      .catalogitem h1 {
          font-size: 16px;
      }

  }
  @media screen and (min-width:993px) {
    .catalogitem-wrapper.col-lg-12 .catalogitem-image{
        height: 200px;
        width: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .catalogitem-wrapper.col-lg-12 .catalogitem-body{
        height: 130px;
    }
  }