/*-- Setting up effects for specific elements ------------------*/

.MainContent a:hover{
    text-decoration: underline;
}

hr{
    margin-top: 10px;
    margin-bottom: 15px;
    color: rgb(86, 89, 89, 0.25);
}

li{
    font-size: 14px;
    font-weight: 400;
    margin: 8px 0 0 0;
}

/*--------------------*/
/*-- GENERAL EFFECTS TO REUSE part 2 ------------------*/
.underLineLink{
    text-decoration: underline;
}

.greyColorFont{
    color: rgb(86, 89, 89);
}

.greenColorFont{
    color: green;
}

.reuseMargin{
    margin: 3px 0 0 0;
}

.reuseMargin8{
    margin: 8px 0 0 0;
}

.imageResize{
    width: 130px;

}

.invertTheIcon{
    filter: invert(100%);
    zoom: 40%;
}

.rotateIconRight{
    rotate: -90deg;
    height: 16px;
    width: 16px;
}

.rotateIconLeft{
    rotate: 90deg;
    height: 16px;
    width: 16px;
}

.spacePadding{
    padding-left: 20px;
}

.AmazonChoice{
    color: white;
    font-weight: 400;
    padding: 2px 4px;
    display: block;
    margin-right: 20%;
    border: 1px solid #070f18;
    background-color: #161d26;
    border-radius: 5px;
}

/*-- Icons ------------------*/
.dropdownIcon{
    width: 12px;
    color: black;
}

.starsIcon{
    width: 60px;
}

.infoIcon{
    width: 20px;
}

.plusConfigure{
    position: relative;
    /* bottom: 0px; */
}

/* setting up the price tag used in the page */
.priceTagThingie{
    margin: 0px 0px;
}

 /* to fix annoying main price tag being not aligned with the rest */
.bottomNudge{
    position: relative;
    bottom: 4px;
}

.purchaseMenu .priceTagThingie{
    margin: 0px 18px;
}

/*-- CLASSES ------------------*/
/* The main body */

.MainContent{
    width: 75%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

/*-- that one kindle ad ------------------*/

.IntKindPaper{
    width: 650px;
    flex: 1 0 0;
}

/*-- Department Location ------------------*/

.departmentLocation{
    padding: 14px 0;
    font-size: 15px;
    flex: 1 0 10%;
    align-self: auto;
}

.departmentLocation a{
    color: #565959;
    font-size: 12px;
    font-weight: 400;
}

.departmentLocation a:hover{
    text-decoration: underline;
}
/*--------------------*/
/* Product Section */

.MainProduct{
    display: flex;
}

.ImagesOfProduct{
    /* border: 1px solid red; */
    padding: 15PX 15PX 50PX 0;
    flex: 2 0 0;
}

.AboutTheProduct{
    flex: 3 0 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.purchaseMenu{
    flex: 1 0 0;
}

.BuyTogether{
    display: flex;
}

.ExploreItems{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

/*--------------------*/
/* Children of ImagesOfProduct */

.ImageViewerContainer{
    display: flex ;
}

.mainView{ 
    position: relative;
    flex: 4 0 0;
}

.mainView img:hover{
    cursor: pointer;  
}

.mainView img{
    width: 100%;
    margin: 0;
}

.mainView a{
    position: absolute;
    right: 0;
}

.sideImages{ 
    flex: 1 0 0; 
    display: flex;
    position: relative;
    flex-direction: column;
    margin-top: 20px;
}

.sideImages img:hover, .sideImages .foreGroundGrey span{
    cursor: pointer;
}

.sideImages img:not([src*="play-button.png"]){
    width: 40%;
    border: 1px solid rgb(0, 0, 0, 0.5);
    border-radius: 10px;
    margin: 5px 0;
    padding: 10px 0;
}

.sideImages span{
    font-weight: 600;
    font-size: 10px;
    color: rgb(86, 89, 89);
}

/* attempt to implement that dark-gray covering the last two images viewer */
.foreGroundGrey{
    position: relative;
}

.foreGroundGrey {
  & span, 
  & .PlayIcon {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-size: 15px;
    left: 0px;
    top: 0px;
    color: white;
    width: 40%;
    margin: 5px 0;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 14px;
  }
}

.foreGroundGrey .PlayIcon{
    /* override the above selector padding for button sizing */
    padding: 8px 5px 8px 5px;
}

/* above css section is SAME as one below */
/* .foreGroundGrey span, .foreGroundGrey .PlayIcon{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-size: 15px;
    left: 0px;
    top: 0px;
    color: white;
    width: 40%;
    margin: 5px 0;
    padding-top: 10px;
    padding-left: 14px;
    padding-bottom: 14px;
} */

.fullViewImage{
    display: block;
    position: relative;
    width: 70%;
    color: #2162a1;
    font-size: 14px;
    font-weight: 500;
}

/*--------------------*/
/* Children of AboutTheProduct */

.AboutTheProduct .PSIcon{
    width: 30%;
    display: block;
}

.AboutTheProduct ul{
    padding-left: 20px;
}

.brandButtons button{
    background-color: transparent;
    border: 1px solid rgb(0, 0, 0, 0.4);
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    margin-left: 5px;
}

.leftGreenBorder{
    border-left: 2px solid green;
    padding-left: 15px;
}

.priceTagThingie{
    display: flex;
}

.STS_Attr{
    display: flex;
}

.tradeinButton{
    border: 2px solid green;
    padding: 2% 15%;
}

/*--------------------*/
/* Children of Purchase Menu */

.purchaseMenu span:not(.priceTagThingie span, .ignoreBlockDisplay span), select{
    display: block;
    margin: 5px 20px;
}

.ignoreBlockDisplay{
    margin: 5px 10px;
}

.deliverToCountry{
    margin: 10px 0 10px 20px;
}

.inStock{
    margin: 20px 0 10px 20px;
}

.radioButton input{
    position: absolute;
    left: 85%;
    top: 3%;
}

.buyNowBttn, .addToCartBttn, .tradeinButton{
    display: block;
    width: 85%;
    margin: 10px 20px;
}

.buyNowBttn{
    background-color: #ffa41c;
}

.buyNowBttn:hover{
    background-color: #ff8400;
}

.addToCartBttn{
    background-color: #ffd814;
}

.addToCartBttn:hover{
    background-color: #ffce12;
    
}

.purchaseMenu_topPart, .purchaseMenu_bottomPart{
    position: relative;
    border: 1px solid rgb(86, 89, 89, 0.35);
    padding: 5% 0 5% 0;
}

.purchaseMenu_topPart {
    border-radius: 8px 8px 0 0;   
}

.purchaseMenu_bottomPart{ 
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #e9e9e9;
    width: 100%;
}

/* this to make the bottom radio buttom to aligned properly, i couldnt figure out how to make BOTH align*/
.purchaseMenu_bottomPart input{
    margin-top: 12px;
}

/* used in top part of purchaseMenu, specifcally the purchase details, who is sold by etc */
.gridDetails{
    display: grid;
    grid-template-columns: auto auto;
    width: 100%;
    padding: 5px;
    gap: 10px;
    align-items: baseline;
    justify-items:left;
}

.itemsTobuy{
    position: relative;
    padding: 10px 10px ;
    margin-top: 10px;
}

.itb_GREYbackGroundImages{
    position: relative;
    background-color: #f7f8f8;
    padding: 10px 40px ;
}

.checkboxItemTB{
    position: absolute;
    right: 10px;
}

/*--------------------*/
/* Children of BuyTogether */

.BT_First{
    flex: 1 2 0%;
}

.BT_items{
    display: flex;
    align-items: center;
    gap: 10px;
}

.BT_purchase{
    flex: 1 0 0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 20px;
}

.BT_purchase .info{
    width: 80%;
    display: flex;
    gap: 5px;
}

.BT_addToList{
    flex: 1 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}


.addtoListBttn, .topPartATL, .bottomPartATL{
    position: relative;    
    width: 80%;
    left: 30px;
}

.addtoListBttn{
    border: 1px solid rgb(0, 0, 0, 0.4);
    background-color: transparent;
    border-radius: 10px;
    margin: 10px;
    /* padding-left: 5px; */
    display: flex;
}

.addtoListBttn:hover{
    background-color: #f7fafa;
    cursor: pointer;
}

.topPartATL{
    border: 1px solid rgb(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.bottomPartATL{
    display: flex;
    gap: 10px;
    border: 1px solid rgb(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
}

.addToCartBttn_FBT{
    background-color: #ffd814;
    display: block;
    width: 85%;
    margin: 0px 20px 10px 20px;
}

.featuredItems{
    display: flex;
}
/*--------------------*/
/* Children of Explore Items */

.EI_Header{
    display: flex;
    justify-content: space-between;
}

.EI_Body{
    display: flex;
    flex: 1 0 0;
    align-items: center;
    gap: 10px;
}

.ExploreButton{
    background-color: transparent;
    border: 1px solid rgb(0, 0, 0, 0.4);
    border-radius: 10px;
    height: 12%;
}

/*------------------------------------------------------------------------------*/
/* to make that fancy looking Quantity drop down menu. I stole this code from w3school */
.quantity-wrapper {
  position: relative;
  /* display: flex; */
  align-items: center;
  border: 1px solid #888;
  border-radius: 10px; 
  padding: 5px 10px;
  width: 85%;
  margin: 0 0 0 8%;
  background-color: white;
  cursor: pointer;
}

/* Style the label to look like part of the input */
.quantity-wrapper label {
  color: black;
  position: absolute;
  margin-right: 5px;
  padding-top: 5px;
  pointer-events: none;
}

.quantity-wrapper select {
  border: none;
  background: transparent;
  padding-right: 30%; 
  padding-left: 40%;
  margin-left: 8%;
  cursor: pointer;
}

