/* NAV-BAR STYLES */

.container-navbar-image-tile{
  width: 50vw;
  text-align: center;
  max-width: 800px;
  /* font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif */
}
/* 
.image-menu {
  max-width: 50vw;
} */

.image-menu img{
  height: 5vw;
  /* max-height: 200px; */
  width: 5vw;
  /* max-width: 200px; */
}

/* #collections-menu {
  width: 500px;
} */


/* MAINPAGE STYLES */

#alert-div {
  width: fit-content;
  position: fixed;
  top: 20px;
  left: 20px;
  display:inline;

  z-index: 2;
}

#alert-div2 {
  width: fit-content;
  position: fixed;
  top: 20px;
  right: 20px;
  display:inline;

  z-index: 2;
}


.container-hover{
    width: 100%;
    padding: 20px;
    margin: 100px auto;
    display: flex;
    flex-direction: row;
    justify-content: start;
  }
  
.box{
  width: fit-content;
  height: auto;
  margin: auto;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
  transition: 0.7s;
  text-justify:distribute;

  /* text-align: justify; */
  /* text-justify:distribute; */
  
}

.box img{
    display: block;
    /* width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; */
    margin-left: auto;
    margin-right: auto;
    
    width: 100%;
    border-radius: 5px;
  }
  
.box:hover{
  transform:scale(1.06);
  z-index: 2;
}

.overlay {
  position: absolute;
  width: inherit;
  height: inherit;
  /* margin-top: 70%; */
  bottom: 1px;
  background: rgba(0, 0, 0, 0.35); /* Black see-through */
  padding: 10px;
  transition: .5s ease;
  opacity:0;
  color: white;
  overflow: hidden;
  font-family:'Times New Roman', Times, serif;
  font-style: oblique;
  font-size: 15px;
  text-transform: capitalize;

}

.box:hover .overlay{
  opacity: 1;
  /* visibility: visible; */
  display: block;

}

#mainpage-tile-items{
  margin-top: 50px;
  margin-bottom: 50px;
  /* width: 75vw;
  height: 75vw; */
}

@media only screen and (min-width: 768px) {
  #card-image-item{
    max-width:25vw; 
    min-height:25vw;
  }
}

@media only screen and (max-width: 767px) {
  #card-image-item {
    /* max-width:100vw;
    max-height: 100vw; */
    width: 100%;
    height: 100%;
  }
}


/* MAINPAGE GÖKHAN STYLES */

.image-parent {
  background-color: #e9e9e9;
  max-width: 400px;
  min-height: 300px;
}

.img-wrapper {
  width: 10%;
  margin: 0rem 1.5rem 0rem 0rem;
}

.img-wrapper-20 {
  width: 20%;
  margin: 0rem 1.5rem 0rem 0rem;
}

.c-container {
  background-color: #e9e9e9;
  border-radius: 0.5rem;
  padding: 1.2rem 1.2rem;
  margin: 1rem 0rem;
}

.card-img-overlay {
  transition: .5s ease-in-out;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  z-index: 1;
  text-align: center;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
}

.card-img-overlay:hover {
  transition: .5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
  z-index: 2;
  padding-bottom: 50px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
}

#square-thumbnail-main-div{
  transition: .5s ease-out, z-index .5s ease-out;
  z-index: 1;
}

#square-thumbnail-main-div:hover{
  transform:scale(1.06);
  z-index: 2;
}

.footer_info {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: larger;
}

.list-group-item {
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: medium;
}

.footer-end {
  font-style: italic;
}

img.square {
  width: 500px;
  height: 500px;
  object-fit: cover;
}

a#square-thumbnails:link {
  color: white;
  text-decoration: none;
}
a#square-thumbnails:visited {
  color: white;
  text-decoration: none;
}
a#square-thumbnails:hover {
  color: white;
  text-decoration: underline;
  /* font-style: oblique; */
}
a#square-thumbnails:active {
  color: pink;
  text-decoration: none;
}





/* PRODUCT PAGE STYLES */
#price{
  font-weight: bold;
}

p#productpage_product_description{
  text-align: justify;
  text-decoration: none;
}
p#productpage_product_name{
  font-size: x-large;
}

.productpage-main-image{
  width: 40vw;
  max-width: 800px;
  justify-content: center;
  object-fit:scale-down;
}

.productpage-little-image img{
  width: 10%;
  max-width: 200px;
  opacity: 0.6;
  border-image:round;
}

.productpage-little-image img:hover{
  opacity: 1;
   
}

.productpage-little-image img:hover + .productpage-main-image{
  content: url(/static/img/products/diamond/221226/800px/221226-b800px.jpg);
}

/* Target the first image */
.first-image:hover + .second-image{
  /* Hide the first image */
  opacity: 1;
  content: url(/static/img/products/diamond/221226/800px/221226-b800px.jpg);
}

/* Target the second image */
.second-image {
  /* Show the second image on hover of the first image */
  content: url(/static/img/products/diamond/220928/800px/220928-b800px.jpg);
  opacity: 1;
}

#specs{
  list-style: inside;
}

#metal-selection-main {
  width: 100%;
}

#center-gem-selection {
  width: 100%;
}

#side-gem-set-1-selection {
  width: 100%;
}

#side-gem-set-2-selection {
  width: 100%;
}

#finger-size-selection {
  width: 100%;
}

#btn_add_to_cart_send_to_login{
  text-decoration: none;
  color: white;
}

#js-success-message{
  position: relative;
  bottom: 5px;
  right: 10px;
  text-shadow: black;
  color: cadetblue;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: larger;
}



/* NAVBAR.HTML STYLES */
#num_of_items{
  /* background-image: url("{% static 'img/buttons/shopping_cart_image-64x64.png' %}"); */
  background-image: url(/static/img/buttons/shopping_cart_image-64x64.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 10px;
}


/* CART.HTML STYLES */
#cart-table-headers{
  font-weight: bold;
}

#cart_item_row{
  border: 2px black solid;
  padding: 10px;
  text-align: center;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
}

.item-specs {
  font-size:x-small;
}

#item-specs-text {
  text-decoration: underline;
}

.remove-item img{
  height: 25px;
}

#grand_total{
  margin-top: 10px;
  text-align: center;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
}

#pay_button{
  text-align: center;
  font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
}

.heading{
  text-align: center;
}

.p_img{
  height: 100px;
}

a#cart-link:link {
  color: rgb(0, 0, 0);
  text-decoration: none;
}
a#cart-link:visited {
  color: black;
  text-decoration: none;
}
a#cart-link:hover {
  color: gray;
  text-decoration: underline;
  /* font-style: oblique; */
}
a#cart-link:active {
  color: pink;
  text-decoration: none;
}

