
main{
    background-color: white;
}
header{
    border-bottom:2px solid #444;
}
footer{
    border-top: solid 2px #202020;
}

#e-shop-label{
font-size: 32px;
/* font-family: PoiretOne; */
font-weight: 700;
width: 100%;
text-align: center;
margin-left: auto;
margin-right: auto;
top: 25px;
margin-bottom:50px;
position: relative;
display:none;
color:white;
}
.ct_link{
	width:330px;
	height:250px;
	text-decoration:none;
	background-color:rgba(14, 14, 14, 0.63);
	font-size:16px;
    position:relative;
    display:block;
    transition-duration: 0.5s;
    margin:5px;
}
.ct_link:hover .product_preview{
    background-size: 80%;
    transition-duration: 0.5s;
}
.product_link{
	margin:10px;
	width:280px;
	height:320px;
	text-decoration:none;
	background-color:rgba(14, 14, 14, 0.63);
	font-size:16px;
    position:relative;
    display:block;
    transition-duration: 0.5s;
    border-radius:4px;
    border:solid 1px white;
}
.product_link:hover .product_preview{
    background-size: 80%;
    transition-duration: 0.5s;
}
.product_preview{
	background-size:75%;
	background-repeat:no-repeat;
	background-position-x:center;
	background-position-y:25%;
	width:100%;
    height:250px;
    transition-duration: 0.5s;
}
.e-shop-pr-loc{
	width:100%;
    height:18px;
    line-height:18px;
    font-size:14px;
    font-weight: bold;
    /* font-family:PoiretOne; */
    color:white;
	text-align:center;
	display:inline-block;
	position:relative;
	top:10px;
}
.fa-map-marker-alt{
    color:white;
    font-size:15px;
    margin-right:2.5px;
}
.e-shop-pr-name{
	width:100%;
    height:50px;
    font-size:18px;
    line-height:20px;
    font-weight: bold;
    /* font-family:PoiretOne; */
    color:white;
	text-align:center;
	display:inline-block;
	position:relative;
	top:10px;
}
.e-shop-pr-price{
	text-align:right;
	display:inline-block;
	position:absolute;
	bottom:10px;
    right:10px;
    font-weight: bold;
    font-size:18px;
    color:white;
}
#e-shop-pr-atc{
	display:inline-block;
	position:absolute;
	bottom:15px;
    left:15px;
    width:40px;
    height:40px;
    background-image:url(media/view-details.png);
    background-size:contain;
    background-repeat:no-repeat;
    z-index:2;
}
#e-shop-widnow{
	width:80%;
	margin-left:auto;
	margin-right:auto;
	display:flex;
	flex-wrap:wrap;
    justify-content: space-evenly;
    -webkit-justify-content: space-around;
    min-height:700px;
}
#product_details{
	width:100%;
	min-height:600px;
	margin-bottom:50px;
    position:relative;
    background-color: rgba(14, 14, 14, 0.63);
    top:25px;
    /*overflow-x: hidden;*/
}
.gal-a{
    width:33%;
    height:100%;
    min-width:300px;
    margin:30px;
}
#pr_preview_pic{
	position:relative;
	margin-top:90px;
	/*left:50px;*/
	width:100%;
	min-height:250px;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-around;
	/* background-color:white; */
	/*background-position:center;*/
	/*background-repeat:no-repeat;*/
	/*background-size:contain;*/
}
#pr_name_desc{
	width:100%;
	/*height:550px;*/
	font-size:16px;
	/* font-family:PoiretOne; */
	position:relative;
	/*top:50px;*/
	/*right:50px;*/
	text-align:center;
    padding:10px;
    color:white;
}
#primary-dn{
    width:60%;
}
#pr_preview_pic h1 {
	width:100%;
	min-height:20%;
	/*margin-bottom:20px;*/
	color:white;
	text-align:center;
}
#pr_name_desc h2{
	width:100%;
	padding:20px;
	font-size:16px;
	text-align:left;
    line-height:30px;
}
#pr_preview_pic h3{
	width:100%;
	/*padding:20px;*/
    font-size:22px;
    font-weight: 900;
    position: relative;
    /*bottom:50px;*/
    text-align:left;
    color:white;
    line-height:37px;
    margin-left:40px;
}
#j_location{
    width:50%;
	padding:20px;
    font-size:16px;
    font-weight: 900;
    position: absolute;
    bottom:20px;
    text-align:left;
}
#add-to-cart{
    position:relative;
    text-align:center;
    text-decoration:none;
    width: 160px;
    font-size:23px;
    line-height:40px;
    height:40px;
    font-weight: bold;
    color:white;
    border:solid 1px white;
    transition-duration:0.5s;
    border-radius:4px;
    display:block;
    margin-top:50px;
    margin-left:40px;
}
#add-to-cart:hover{

    background-color:#141414;

    transition-duration:0.5s;
}

#status-msg{
    bottom:20px;
    right:0px;
    position:absolute;
    text-decoration:none;
    width: 150px;
    font-size:18px;
    font-weight: bold;
    color:#174a21;
    background-color:#d5f4db;
    text-align:center;
    border-radius:3px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}
#numerator{
    margin-right:20px;
    width:70%;
    display:inline-block;
    position:absolute;
    bottom:0px;
    left:0px;
}
#inc_cart_num, #dec_cart_num{
    font-size:22px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left:20px;
    margin-right:20px;
    width:40px;
    display:inline-block;
}
#inc_cart_num:hover, #dec_cart_num:hover{
    cursor: pointer;
}
#num_cart{
    border:solid 1px black;
    font-size:20px;
    width:30px;
    font-family: Arial, Helvetica, sans-serif;
    display:inline-block;
}
#open-cart{
    position: absolute;
    width:50px;
    height:50px;
    right: 20px;
    top: 10px;
    display:block;
    z-index:2;
    background-image:url(../Media/PNG/s-cart.png);
    background-size:contain;
    background-repeat:no-repeat;
}
#close_price_win{
    z-index:2;
}
#shopping-cart-form{
    width:50%;
    border-right: solid 1px #444;
    position:relative;
    top:3px;
}
#shopping-cart-form input{
    width:80%;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    height:30px;
    display:flex;
    margin-top:20px;
    margin-bottom:20px;
    
}
#shopping-cart-form span:nth-of-type(1){
    margin-left:auto;
    margin-right:auto;
    width:100%;
    display:inline-block;
    text-align:center;
    top:20px;
    position:relative;
}
#shopping-cart-form input:nth-of-type(1){
    margin-top:50px;
}
#magic_word{
background-color:#d2d2d2;
width: 80%;
position: relative;
margin-left: auto;
margin-right: auto;
height: 30px;
display: flex;
margin-top: 20px;
margin-bottom: 20px;
}
#the_img{
margin-left: auto;
margin-right: auto;
height:20px;
margin-top:5px;
}
#total-submit{
    width: 80%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
}
#price-total{
    width: 70% !important;
}
#cart-items{
    width:50%;
    overflow-y:auto;
}
#inject_cart{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#cart-title{
    width:80%;
    margin-left:auto;
    margin-right:auto;
    display: flex;
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom:solid 1px #444;
}
#cart-items #cart-title h4:nth-of-type(1){
    width:80%;
}
#cart-items #cart-title h4:nth-of-type(2){
    width:20%;
}
.empty-cart-msg{
    width:100%;
    text-align: center;
    position: relative;
    top:100px;
}
.table-item-price{
    width:27%;
    display:inline-block;
}
.table-item-name{
    width:73%;
    display:inline-block;
}
#inject-items{
    width:80%;
    display:block;
    margin-left:auto;
    margin-right:auto;
    position:relative;
    height:350px;
}
.table-item-row{
    width:100%;
    display:inline-flex;
    height:30px;
    line-height: 30px;
}
#inject-items div:nth-of-type(2n+1) {
    background-color: #c9c9c9;
}
.table-item-remove{
    margin-right:10px;
    font-size:14px;
}
.table-item-remove:hover{
    cursor: pointer;
}
#price_window{
    height:unset;
    min-height:500px;
}
#pr_preview_slide{
width: 45%;
/*height: 140px;*/
margin-top: 70px;
left: 50px;
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: start;
}
#pr_preview_slide a{
    width:24%;
    margin-left:5px;
}
#pr_preview_slide img{
    width:100%;
    height:100%;
}
#cart-noit{
    width: 18px;
    height: 18px;
    position: relative;
    top: 0px;
    background-color: #35357f;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    display: block;
    left: 35px;
    text-align:center;
    line-height:18px;
}
@media only screen and (max-width: 1350px) {
    #price_window{
    width:76%;
    margin-left: 12%;
    margin-right: 12%;  
    }
    #pr_preview_slide{
        margin-top:25px;
        /*height:120px;*/
    }
    
    #primary-dn{
        width:55%;
    }
}

@media only screen and (max-width: 1100px) {
    #pr_preview_pic{
        width:80%;
        position: relative;
        left:0px;
        /*height:400px;*/
        margin-left: auto;
        margin-right: auto;
    }
    #pr_name_desc{
        width:100%;
        position: relative;
        top:0px;
        margin-top:50px;
        right:0px;
    }
    #price_window{
        margin-top:0px; 
    }
    #pr_preview_slide{
        margin-top:55px;
        width:80%;
        left:0px;
        margin-left:auto;
        margin-right:auto;
        /*height:100px;*/
    }
    #pr_preview_pic{
        /*height:390px;*/
    }
    #add-to-cart{
        margin-left:auto;
        margin-right:auto;
    }
}

@media only screen and (max-width: 900px) {
    #price_window{
    width:80%;
    margin-left: 10%;
    margin-right: 10%;  
    }
    #pr_preview_slide{
        width:90%;
    }
    #e-shop-widnow{
        width:100%;
    }
    #product_details{
        top:0px;
    }
}

@media only screen and (max-width: 750px) {
    /*#pr_preview_pic{*/
    /*    height:350px;*/
    /*    width:90%*/
    /*}*/
    #pr_preview_slide{
        width:100%;
    }
    #price_window{
    width:90%;
    margin-left: 5%;
    margin-right: 5%;  
    }
    #shopping-cart-form{
        width:100%;
        margin-bottom:15px;
        border:none;
    }
    #cart-items{
        width:100%;
    }
    #inject-items{
        margin-top:10px;
    }
    #pr_preview_slide img{
    width:100%;
    }
    #e-shop-label{
        font-size:26px;
    }
}
@media only screen and (max-width: 600px) {
    
        /*#pr_preview_pic{*/
        /*height:330px;*/
        /*width:100%*/
        /*}*/
        #e-shop-label{
            font-size:24px;
        }
        .gal-a{
            margin-bottom:50px;
        }
        
        #pr_preview_pic h1 {
            font-size:24px;
        }
        #pr_preview_pic h3{
            font-size:16px;
            margin:0px;
            text-align:center;
        }
        #primary-dn{
            width:100%;
        }
}
@media only screen and (max-width: 400px) {
    /*#pr_preview_pic{*/
    /*    height:260px;*/
    /*}*/
    #price_window{
    width:100%;
    margin-left: 0%;
    margin-right: 0%;  
    }

    #shopping-cart-form span:nth-of-type(1){
        font-size:15px;
    }
    #pr_preview_slide{
        margin-top:35px;
    }

    #e-shop-label{
        font-size:17px;
        margin-bottom:65px;
    }

}