/* .my-element {
  /* Subtract 80 pixels from 100% of the viewport height */
/*  height: calc(100vh - 80px);
}

30rem = 30X16=540px

 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.grid-container {
    display: grid;
    /*grid-template-columns:1fr 1fr 1fr;*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));  /* super je   */
    /*grid-template-columns: 1fr 1fr 1fr 1fr;*/
    /*grid-template-rows: auto;*/
    /*width: 1000px;*/
    margin: 30px;
    /*column-gap: 20px;*/
    gap: 20px;
    background-color: #ffffff;
    /*justify-items: stretch;*/
    justify-items: start;
    /*justify-items: center;*/
    /*align-items: center;*/
    /*justify-content: space-evenly;*/
    /*justify-content: start; space between,space-around */
   /* overflow: ;*/
}
.item {
    display: flex;
    height: 300px;
    width: 300px;
    flex-direction: column;
    border: 1px solid #ddd;
    position: relative;
}
.text-container {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}
.price-top {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.3rem 0.6rem 0.5rem;
  border-bottom-right-radius: 1rem;
  font-size: 0.5rem;
  text-align: center;
  transition: var(--mainTransition);
  /*margin-left: 30px;*/
}
.price-top h6 {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: var(--mainSpacing);
}
p {
    text-align: left;
    font-size: 12px;
    padding-left: 15px;
    padding-top: 15px;
}
/* The expanding image container */
/*.grid-container1 {
  position: relative;
  display: none;
}*/
/* top nav */
.topnav {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  /*background-color: #2a293e;*/
  /*background-color: #56525e;*/
  background-color: white;
  /*font-size: 30px;
  font-weight: bold;*/
  text-align: center;
}
.topnav a {
  float: center;
  display: inline-block;
  color: #56525e;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
ul li {
    text-decoration: none;
    color: white;
    display: block;
}
.topnav a:hover {
  /*background-color: #858282;*/
  color: #1d4161;
  background-color: #f1f1f1;
}

.active {
  background-color: #333;
  color: white;
}

.topnav .icon {
  display: none;
}
/* end of top-nav */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: calc(50% - 20px);
  }
}
/*@media screen and (max-width: 768px) {
  .item {
     width: calc(50% - 20px);
     height: calc(50% - 20px);;
  }
}

@media screen and (max-width: 480px) {
  .item  {
    width: calc(100% - 20px);
    height: calc(100% - 20px);;
  }
}*/

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}




