@charset "utf-8";
/* CSS Document */

/* main container flex */
.prodPage-row {
    display: flex; /* flex container*/
    flex-direction: column-reverse; /* in small screen display column in reverse order */
    flex-wrap: nowrap; /* no wrap allowed */
}

/* main page container in medium screens to large */
@media screen and (min-width: 750px) {
    .prodPage-row {
        display: flex; /* creates flex container */
        flex-direction: row; /* horizontal display */
        flex-wrap: nowrap; /* no wrap allowed*/
    }
}
.prodPage-column {
/*    flex-basis: 80%; */
    margin:10px;
    padding: 10px;
}

/* page column for larger screens */
@media screen and (min-width: 1008px) {
    .prodPage-column {
        flex-basis: 25%; /* column width 3 columns*/
        margin:20px;
        padding: 20px;
    }
}
/* lists */
.prodPage-column ul {
	list-style-type: none; /* no icon beginning of list */
	margin-bottom: 70px; /* space underneath list */
	padding: 0;
}

.prodPage-column li {
    padding: 0px;
}

/* minimal effect on hover on lists*/
.prodPage-column li:hover {
	color: orangered;
	font-weight: bold;
}

/* second column of flex container*/
.prodPage-right {
    flex-basis: 70%; /* column width */
}
/* subtitles updated by js funciton */
#subtitle-js {
    text-align: center; /* place text horizontaly in center */
}
/* search bar */
#prod-search {
    width: 70%;
    position: relative;
    left: 13%;
    font-size: 16px;
    padding: 10px;
    outline: none;
    border: 1px solid red;
    margin-left: 10px;
} 

/* search bar for medium screens */
@media screen and (min-width: 750px){
    #prod-search {
        width:200px;
        left:0;
        font-size: 16px;
        padding: 10px;
        outline: none;
        border: 1px solid red;
        margin-left: 10px;
    }
}
/* container of products */
.prod-flex-container {
    position: relative;
    display: flex; /* flexcontainer */
    flex-direction: column; /* column display in small screens */
    flex-wrap: nowrap;
    justify-content: center; /* center content */
    margin: 20px;
    padding; 10px;
}
/* column of the product cards */
 .card-column {
        flex-basis:100%; /* full width */
        overflow: hidden; /* no overflow */
        margin: 25px;
        padding: 3px;
}

/* product container for medium to large screens */
@media screen and (min-width: 750px) {
    .prod-flex-container {
        position: relative;
        display: flex; /* flex container */
        flex-direction: row; /* horizontal dispay for larger screens */
        flex-wrap: wrap; /* wrap allowed */
        justify-content: space-around; /* space content evenly */
        margin: 20px;
        padding; 10px;
    }
    
    /* columns containing cards */
    .card-column {
        flex-basis:45%; /* maximum 2 cards allowed at this screen size */
        overflow: hidden; /* no overflow */
        margin: 5px;
        padding: 3px;
    }
}
/* product card */
.prodPage-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* shadow position and colour*/
    padding: 15px;
    height: 100%;
}
/* containers of card images */
.flip-card-inner {
    width: 100%; /* full width of card */
    position: relative; /* set realtive postion */
    transition: transform 0.8s; /* flipping trnsition */
    transform-style: preserve-3d; /* 3d effect */
}
/* Image to create effect */
.placeholderImg {
    width:100%;
}
/* img container for medium screens */
@media screen and (min-width: 750px) {
    .flip-card-inner {
        width: 100%;
        position: relative;
        transition: transform 0.8s;
        transform-style: preserve-3d;
    }
}
    
/* img container for large screens */
@media screen and (min-width: 1008px) {
    .prod-flex-container {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 20px;
        padding; 10px;
    }
    /* card column size for large screens*/
    .card-column {
        flex-basis:30%; /* allows 3 cards per row*/
        overflow: hidden;
        margin: 5px;
        padding: 3px;
    }
}
/* 3d effect on hover */
.flip-card-inner:hover {
  transform: rotateY(180deg); /* flipping effect */
}

.flip-card-front, .flip-card-back {
    position: absolute; /* absolute postion related to parent */
    top:0px;
     width: 100%; /* full width */
    height: 100%; /* full height */
    -webkit-backface-visibility: hidden; /* Safari Chrome */
    backface-visibility: hidden; /* hiding the backface */
}
/* setting back flip card display */
.flip-card-back {
    transform: rotateY(180deg);
}
/* cards images */
.flip-card-front img {
    width: 100%;
}

.flip-card-back img {
    width: 100%;
}
/* card body for small screens */
.card-body {
    margin-top: 30px;
    display: block;
    width: 60%;
    margin-right: auto;
    margin-left: auto;
}

/* card body for medium screens */
@media screen and (min-width: 750px) {
    .card-body {
        margin-top: 20px;
        width:100%;
    }
}
/* price label */
.m-price {
    background-color: goldenrod;
    display: inline-block;
    width:55%;
    padding: 03px 15px;
    text-align: center;
    margin-bottom: 10px;
    color: white;
}
/* product specs paragrpah */
.prod-specs {
    font-size: 15px;
    padding; 0px;
    margin: 3px;
}

/****** Slide Show******/

/* Slideshow container */
.slideshow-container {
    max-width: 100%px;
    position: relative;
    margin: auto;
    border-top: 2px solid gold;
}

/* Hide the images by default */
.mySlides {
  display: none;
}


.mySlides img {
    width: 100%;
}

/* Next & previous buttons */
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  cursor: pointer;
  position: absolute;
  top: 50%;
    left: 0%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* move the .prev button in medium to large screen as it is hiddeen by menu*/
@media screen and (min-width: 750px) {
    .prev {
        left: 50px;
    }
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/************ Caption texts ************
******** titles and subtitles***********/

.ma-show-mtext1 {
    color: #0000CD;
    padding: 8px 12px;
    position: absolute;
    left:5%;
    top: 7%;
}

.ma-show-stext1 {
    color: #4169E1;
    padding: 8px 12px;
    position: absolute;
    left:5%;
    top: 25%;
}

.ma-show-mtext2 {
    color: limegreen;
    margin: 0;
    padding: 0;
    position: absolute;
    left:5%;
    top: 3%;
}

.ma-show-stext2 {
    color: maroon;
    padding: 8px 12px;
    position: absolute;
    left:5%;
    top: 30%;
}

.ma-show-mtext3 {
    color: rgb(139,0,139);
    padding: 8px 12px;
    position: absolute;
    left:5%;
    top: 7%;
}

.ma-show-stext3{
    color: rgb(0,0,205);
    padding: 8px 12px;
    position: absolute;
    left:5%;
    top: 30%;
}

.ma-show-mtext4 {
    color: LightGoldenRodYellow;
    padding: 8px 12px;
    position: absolute;
    left:7%;
    top: 7%;
}

.ma-show-stext4{
    color: #FFD68C;
    padding: 8px 12px;
    position: absolute;
    left:7%;
    top: 30%;
}

.ma-show-mtext5 {
    color: darkblue;
    padding: 8px 12px;
    position: absolute;
    left:8%;
    top: 7%;
}

.ma-show-stext5{
    color: lawngreen;
    padding: 8px 12px;
    position: absolute;
    left:7%;
    top: 30%;
}


.btn-ma-show {
    position: absolute;
    left:7%;
    top: 60%;
}

/* dot and dot container */
.dot-container {
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 1px solid gold;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;/* trasition name duration and effect */
}

/* dot  in medium to large screens */
@media screen and (min-width: 750px){
    .dot-container {
        padding-bottom: 10px;
    }
    
/* The dots/bullets/indicators */
    .dot {
      cursor: pointer;
      height: 15px;
      width: 15px;
      margin: 0 2px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.6s ease; /* trasition name duration and effect */
    }
}

/* active and hover on dot */
.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}