body{
    background-color: rgb(54, 54, 54);
    transition-duration: 0.5s;
    overflow-x: hidden;
}

#mcontent, #content{
    background-color: lightgrey;
    color: lightgrey;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    top: 70px;
    opacity: 0;
    transition-duration: 0.5s;
    font-size: 1.3em;
    min-height: 100vh;
    padding: 15px;
    width: 99%;
    margin-top: 0px;
}

#mcontent{
    width: 95% !important;
    opacity: 1 !important;
    color: black !important;
    background-color: lightgray !important;
    margin-top: 55vh;
}

#loadField{
    opacity: 0;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100vh;
    justify-content: space-around;
    transition-duration: 0.5s;
    z-index: -10;
}

#loader{
    height: 15%;
    width: auto;
    border-radius: 3px;
  -ms-transform: translateY(-50%);
  transform: translateY(100%);
}

.inSite, .outSite, #search, #testLoad{
    background-color: black;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.inSiteInvis{
    font-weight: bold;
}

.item{
    height: 400px;
    width: 200px;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-color: rgb(248,248,248);
    border-radius: 4px;
    margin-top: 5px;
}

#recoJump{
    padding-top: 50px;
}
#recommendations, #featuredItems{
    padding: 5px;
    display: flex;
    flex-direction:row !important;
    flex-wrap: wrap;
    width: 100vw;
}

#featuredItems{
    width: 98% !important;
    margin-left: auto;
    margin-right: auto;
}

#contactUs{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 95%;
}

#contactInfo, .necessaryContactDiv{
    width: 100%;
    height: 1.7em; 
    display: flex;
    flex-direction: row;
}
#message, #submitMessage{
    width: 100%;
    height: 1.2em; 
    font-size: 1.2em;
}

#submitMessage{
    background-color: blue;
    color: white;
    height: 1.5em;
}

#contactemail, #contactname{
    width: 50%;
    font-size: 1.2em;
}

#contactnumber{
    width: 100%;
    height: 1.7em;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom:1px;
}

#contactnumber1, #contactnumber2{
    width: 30%;
    height: 1.2em;
    font-size: 1.2em; 
}

#contactnumber3{
    width: 40%;
    height: 1.2em;
    font-size: 1.2em; 
}

#recoJump, #revJump{
    text-align: center;
    font-size: 1.3em;
    color: black;
}

.itemPreviewImg{
    height: 250px;
    width: auto;
    margin-top: 3px;
    /*
        max-height: 70%;
    max-width: 100%;
    height: auto;
    width: auto;
    */
}

.itemName{
    font-weight: bold;
    margin-bottom: 0px;
}

.itemDetails{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
}

.itemData{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.itemStars, .itemCost{
    width: 40%;
    display: flex;
    align-content: center
}

.itemStars img{
    width: 20px;
    height: auto;
    align-self: center;
}

.inSite:hover, .outSite:hover{
    cursor: pointer;
}

#navBar{
    width: 95%;
    position: sticky;
    top: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 99;
    height: 55px;
    margin-left: auto;
    margin-right: auto;
}

#navBar img{
    height: 95%;
    padding-top: auto;
    padding-bottom: auto;
}

.collapsible{
    position: relative;
    width: 50%;
    z-index: 1;
    height: 1.4em;
    line-height: 1.4em;
    transition-duration: .5s;
    background-color: gray;
    color: black;
    border: solid black 2px;
    text-align: center;
}

.collapsed1{
    opacity: 0;
    top: -3.5em;
    border-radius: 0px;
}

.collapsed2{
    opacity: 0;
    top: -6.7em;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#searchbar{
    height: 95%;
    display: flex;
    flex-direction: row;
    width: 50%;
}

#searchbar input{
    width: 95%;
}

#submitSearch{
    width: 5%;
}

#dropDown{
    width: 35%;
    display: none;
}
#dropDown div{
    margin-bottom: -3px;
}

#cartLink{
margin-right: 5px !important;
}

#cartLink, #Profile, #collapseTop, #ordersLink{
    width: 50%;
    text-align: center;
    border: solid black 2px;
    background-color: gray;
    color: black;
    height: 1.4em;
    line-height: 1.4em;
}
#Profile{
    position: relative;
    width: 80%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    z-index: 2;
}

#gallery{
    width: 50%;
    min-height: 20vh;
    max-height: 80vh;
    display: flex;
    flex-direction: row;
    float: left;
    padding-right: 4px;
    justify-content: space-between;
}

#Previews{
    width: 10%;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
}

#Previews img{
    width: 100%;
    height: auto;
    padding-bottom: 3px;
    opacity: 0.5
}

#Previews .selected{
    opacity: 1;
}

#mainImage{
    width: auto;
    max-width: 89%;
    height: 100%;
    border-radius: 5px;
}

#information{
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    /*Font here*/
}

#quantitySelect, .optionSelect{
    width: 100%;
    text-align: center;
    height: 1.5em;
    font-size: 1.1em;
    background-color:rgb(68, 68, 68);
    color: black;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

#quantitySelect{
    margin-top: 4px;
    margin-bottom: 6px;
}

#quantitySelect::-ms-expand, .optionSelect::-ms-expand{
    display: none;
}


#cartAdd, #subAdd{
    width: 100%;
    height: 1.5em;
    font-size: 1.1em;
    background-color:rgb(53, 0, 0);
    color: white;
    border-radius: 25px;
    border: none;
}

#subAdd{
    background-color:rgb(15, 189, 122);
}
#itemFunctions div{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#textInfo h2, #textInfo h3{
    margin: 1px;
}

#itemFunctions{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#item{
    display: flex;
    justify-content: space-between;
    border-radius: 3px;
    width: 78%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 5px;
    flex-wrap: wrap;
}

#mainDetails{
    display: flex;
    justify-content: space-between;
    height: 1.7em;
}
#stars img, .reviewStars img{
    width: 20px;
    height: 20px;
}

#stars, .reviewStars{
    display: flex;
    align-items: center;
    padding-right: 5px;
}

.reviewStars{
    margin-left: auto;
}

.reviewStars img{
    padding-top: 10px;
}

.revDate{
    font-size: 0.8em;
    color: gray;
    padding-left:3px;
}

.revDate::before{
    content:'(';
}

.revDate::after{
    content:')';
}
.reviewIntel{
    display: flex;
    margin-bottom: 0px;
    height: 0.9em;
}

.revName{
    font-weight: bold;
    font-size: 0.9em;
}

.review{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(248,248,248);
    margin-bottom: 2px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 1px;
    border-radius: 5px;
}

.review h4{
    line-height: 5px;
}

#rating a{
    display: flex;
    flex-direction: row;
    vertical-align: center;
    line-height: 0px;
    color: black;
    text-decoration: none;
}

#rating a:visited{
    color: black
}
tiny{
    font-size: 0.7em;
    vertical-align: text-top;
    font-weight: 100;
}
spec{
    font-size: 0.8em;
    font-weight: bold;
}

option{
    border-radius: 5px;
    background-color: white;
}

#sortSelect{
width: 50%;
}

#sortButton{
width: 50%;
}

#reviewControls{
    width: 70%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

#sortSelect{
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: center;
    font-size: 1.1em;
    size: 1.3em;
    border-radius: 2px;
    width: 80%;
}

#sortButton{
    width: 20%;
    text-align: center;
    font-size: 1.1em;
    size: 1.3em;
    border-radius: 2px;
    border: none;
    background-color: black;
    color: white;
}

#navLinks{
    display: flex;
    width: 15%;
    margin-left: auto;
    justify-content: space-around;
}
#firstHalf{
    display: flex;
    justify-content: space-between;
    width: 80%;
}

#searchbar input{
    width: 95%;
    border-radius: 0px;
    margin-right: -1px;
    border: solid black 1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    font-size: 1.5em;
}

#searchbar button{
    width: 5%;
    border-radius: 0px;
    border: solid black 1px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    color: white;
    background-color: blue;
    font-size: 1.5em;
}
#uploadReview{
    background-color: blue;
    font-size: 1.2em;
    height: 1.2em;
    width: 100%;
    color: white;
}
#searchbar{
    width: 90%;
    border-collapse: collapse;
}
#firstHalf img{
    height: 100%;
    width: auto;
}
#queryResults{
    display: flex;
    flex-wrap: wrap;
}
#queryResults .item{
    cursor: pointer;
    margin-bottom: 3px;
    transition-duration: 0.3s;
}

#queryResults .item:hover{
    background-color: rgb(59, 59, 59);
    color: white;
}

.hide{
   display: none !important;
}

#aboutUs{
    
}

#aboutUs h3{
    text-align: center;
}
#aboutUs p{
    font-size: 2em;
}

#aboutUs img{
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    width: 20%;
    height: auto;
}
#aboutHeader{
    width: 100vw;
    height: 70vh;
    position: absolute;
    top: 0px;
    left: 0px;
    border-bottom: solid black 3px;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    color: rgb(112, 0, 0);
    font-size: 3em;
    text-align: center;
    align-content: center;
    background-image: url("Images/mainBG.jpg");
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    text-shadow: -1px -1px 0 rgb(70, 0, 0), 1px -1px 0 rgb(70, 0, 0), -1px 1px 0 rgb(70, 0, 0), 1px 1px 0 rgb(70, 0, 0);
}

#aboutHeader p{
    font-size: 1em;
}

#aboutHeader h3{
    font-size: 1.5em;
}

#uNameSign, #reviewName, #reviewSubject, #accOldPass, #accPass, #accPassConf, #PassSign, #uNamePass, #signInButton, #Options, #uNameSignUp, #emailSignUp, #PassUp, #PassUpConf, #signUpButton, #switchToIn, #emailForPass, #requestPass, #newPass, #confNewPass, #changePass, #OldPass, #Pass, #PassConf{
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
    box-sizing: content-box;
}

#signInButton{
    width: 99.55%;
}
#reviewBody{
    width: 100%;
    font-size: 1.2em;
    height: 4.8em;
    box-sizing: content-box;
    resize: none;
}

#reviewName, #reviewSubject, #reviewBody{
    border: solid black 1px;
    padding: 0px;
}
#reviewName{
    margin-top: 5px;
}
#Options, #signUp div{
    display: flex;
    width: 100.45%;
}

input{
    box-sizing: border-box;
}

#forgotPass, #accFName, #accLName, #switchToUp, #fNameSignUp, #lNameSignUp, #fName, #lName{
    width: 50%;
    font-size: 1.2em;
    height: 1.2em;
}

#signIn, #signUp, #setPassword, #forgotPassword{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

#accountDetails, #accountForm{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

#personalDetails{
    align-content: center;
    width: 100%;
}

#personalDetails p{
    text-align: center;
}

#accountAddresses, #orderInfo, #orderAddresses{
    width: 100%;
    display: flex;
    flex-direction: row;
}

#accountAddresses div, #orderAddresses div{
    width: 50%;
    text-align: center;
}

#changeAccount{
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
}

h4{
    text-align: center;
}

#accNames{
    display: flex;
    width: 100%;
}

#addressForms, #shippingForm, #billingForm{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.fullSet{
    width: 50%;
}

.fullSetCart{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}
#addressForms input, #addressForms select, #shippingForm input, #shippingForm select, #billingForm input, #billingForm select{
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
}

#saveAccount, #cancel{
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
}

#saveAccount, #signInButton, #signUpButton, #requestPass, #changePass, #changeAccount{
    background-color: blue;
    color: white;
}

#forgotPass, #cancel{
    background-color: red;
    color: white;
}

#switchToUp, #switchToIn{
    background-color: green;
    color: white;
}

.cartItem{
    display: flex;
    width: 98%;
    justify-content: space-between;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    border: solid black 1px;
    padding-right: 5px;
}

.imgandBase{
    display: flex;
    vertical-align: text-top;
    width: 20%;
}

.imgandBase img{
    height: 100%;
    width: auto;
}

.toItem{
    font-weight: bold;
    position: absolute;
    top: -1em;
}
#cart{
    padding-top: 5px;
    display: flex;
    flex-direction: column;
}

.cartInfo{
    position: relative;
    height: 100%;
}

.PPU{
    font-size: 0.8em;
}

.cartControls{
    display: flex;
    width: 10%;
    flex-direction: column;
    text-align: center;
    font-size: 1em; 
    justify-content: space-around;
}

.subConfigs, .subConfigs2{
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.subConfigs div, .subConfigs2 div{
    width: 100%;
    text-align: right;
}
.cartControls input{
    background-color: green;
    color: white;
    font-size: 1em;
    size: 1em;
}

.cartQuant{
    font-size: 1.2em;
    width: 85%;
}

.cartRemove{
    font-size: 1.5em;
    width: 85%;
    background-color: red !important;
    color: white;
}

#paymentDetails{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 175px;
    width: 350px;
    border: solid white 2px;
    border-radius: 3px;
}
#cNo{
    margin-top: 15px;
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
    color: #0f0f0f;
    background-color:white;
}
#otherDetails{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#otherDetails p{
    align-content: top;
}
#cName{
    width: 100%;
    font-size: 1.2em;
    height: 1.2em;
    color: #0f0f0f;
    background-color:white;
}
#expField{
    width: 50%;
    display: flex;
    flex-direction: row;
}
#cVV{
    width: 50%;
    font-size: 1.2em;
    height: 1.2em;
    color: #0f0f0f;
    background-color:white;
}
#cExpM, #cExpY{
    width: 50%;
    font-size: 1.2em;
    height: 1.2em;
    color: #0f0f0f;
    background-color:white;
}
#bottomCartControls,#bottomControls{
    display: flex;
    justify-content: space-between;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    height: 45px;
}

#toShipping, #toCart, #orderNow{
    background-color: black;
    color: white;
}

#shippingOpts{
    margin-top: 15px;
    width: 98%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
}
#shippingOpts div{
    margin-left: auto;
    margin-right: auto;
}

#couponField{
    width: 98%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    margin-top: 5px;
}

#couponField input{
    font-size: 1.2em;
}

#applyCoupon{
    background-color: black;
    color: white;
}
.cartQuantSub, .cartFreq{
    width: 30%;
    font-size: 1.1em;
    height: 1.2em;
}
.cartBasis{
    width: 40%;
    font-size: 1.1em;
    height: 1.2em;
}
.cartRemoveSub, .accountRemoveSub{
    font-size: 1.2em;
    background-color: red !important;
    color: white;
}
.subCartControls{
    display: flex;
    flex-direction: column;
    width: 40%;
    justify-content: space-around;
}

.subCartControls p{
    font-weight: bold;
}
#orderNo{
    width: 80%;
    font-size: 1.2em;
    height: 1.2em;
}
#findOrder{
    width: 20%;
    height: 1.2em;
    font-size: 1.2em;
    background-color: blue;
    color: white;
}
#orderForm, #orderDetails{
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    background-color: rgb(250, 250, 250);
    margin-top: 5px;
    border: solid black 1px;
    border-radius: 3px;
    box-shadow: 2px 2px;
}
#mainInfo, #orderInfo{
    display: flex;
    justify-content: space-between;
}
.order{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    border: solid black 2px;
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

.subItem{
    display: flex;
    width: 80%;
    justify-content: space-between;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    border: solid black 1px;
    padding-right: 5px;
}

#orderTechinfo{
    width: 100%;
}

#orderDetails{
    flex-direction: column;
}
#orderTechinfo{
    text-align: center;
}
#reviewItem{
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
#reviewStars{
    margin-left: auto;
    margin-right: auto;
    width: 15%;
    padding-left: auto;
    padding-right: auto;
}
#confirmationPage{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

#confirmationPage div p{
    text-align: center;
}
#confirmFooter{
    margin-top: 10px;
    width: 100%;
}
#subTopHalf{
    display: flex;
    flex-direction: row;
    height: 1.2em;
    font-size: 1.1em;
}

body, input, button, textarea, select{font-family: "Raleway", sans-serif;}

.qSide, .noSide, .aSide{
    font-size: 1.5em;
    transition-duration: 0.25s;
    text-align: center;
}

.hideAlt{
    font-size: 0em;
}

@media (pointer:none), (pointer:coarse) {
    #aboutHeader{
        height: 60vh !important;
    }
}