.clear-float {
  clear: both;
}

a {
  text-decoration: none;
  font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: black;
}

.inputError,
.error-alert {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  display: block;
  margin-bottom: 5px;
  padding: 8px 5px;
  text-align: center;
  border-radius: 1px;
  font-weight: 500;
  font-size: 15px;
}

.success-alert {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
  display: block;
  margin-bottom: 5px;
  padding: 8px 5px;
  text-align: center;
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
}

.btn {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  color: white;
  padding: 8px 11px;
}

.btn:hover {
  opacity: 0.9;
}

label {
  margin-bottom: 5px;
  font-size: 15px;
  display: block;
  font-weight: 600;
  color: #3b3b3b;
}

.input-wrapper {
  padding: 5px;
  margin-bottom: 10px;
}

.input,
input {
  border: none;
  border: 1px solid #eee;
  border-radius: 3px;
  padding-left: 5px;
  height: 40px;
  width: 99%;
  font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans",
    "Helvetica Neue", sans-serif;
}

.textarea,
textarea {
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1%;
  width: 98%;
  resize: none;
  font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans",
    "Helvetica Neue", sans-serif;
}

.form {
  width: 80%;
  margin: 10px auto;
  padding: 80px 4% 100px;
  border-radius: 3px;
  border: 1px solid #ccc;
  background: white;
}

.submitbtn {
  width: 100%;
  background: #7f70b4;
  font-size: 17px;
}

.formTitle {
  padding: 0 5px;
  font-size: 20px;
  font-weight: 600;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.shadow {
  box-shadow: 0 1px 2px 0 #ccc;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, "Open Sans",
    "Helvetica Neue", sans-serif;
  margin: 0;
  background: #f9f9f9;
}

.navBar,
.navBar2 {
  position: relative;
  height: 50px;
  padding: 5px 1%;
  box-shadow: 0 1px 2px 0 #ccc;
}

.navBar {
  background: #332469;
}

.navBar2 {
  background: white;
}

.navBarLogo {
  float: left;
  width: 90px;
  height: 50px;
  background-position: center center;
  background-size: cover;
  display: block;
  cursor: pointer;
}

.navBarSearch {
  float: left;
  width: 30%;
}

.navBar .navBarSearch input {
  width: 100%;
  height: 30px;
  border: none;
  border-radius: 3px;
  padding: 2px 5px;
}

.navBar2 .navBarSearch input {
  width: 100%;
  height: 30px;
  border: none;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 2px 5px;
}

.navBarSearch-icon {
  float: left;
  margin: 10px 0 0 5%;
}

.navBarMenu-icon,
.navBarMsg,
.navBarAdmin,
.navBarOrders {
  position: relative;
  float: right;
}

.navBarOrders {
  margin-top: 13px;
  margin-right: 3%;
}

.navBarMsg,
.navBarAdmin {
  margin-top: 12px;
  margin-right: 3%;
}

.navBarMenu-icon {
  margin-top: 13px;
  margin-right: 0;
}

.navBarBasket {
  position: relative;
  float: right;
  margin: 12px 3% 0 0;
}

.navBarMsg span,
.navBarOrders span,
.navBarBasket span {
  position: absolute;
  top: 1px;
  left: 7px;
  padding: 0 4px;
  background: rgb(185, 22, 22);
  color: white;
  border-radius: 50%;
  font-size: 11px;
}

.navBarRegister,
.navBarLogin {
  float: right;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}

.navBarRegister {
  margin-right: 2%;
}

.navBarLogin {
  margin-right: 3%;
}

.navBarRegister button,
.navBarLogin button {
  font-size: 15px;
  padding: 5px 7px;
  background: #332469;
  border: 1px solid #5d49a3;
}

.navBar2 .navBarRegister button,
.navBar2 .navBarLogin button {
  color: #4e4e4e;
  font-size: 15px;
  padding: 5px 7px;
  background: white;
  border: 1px solid #eee;
}

.s-secondNavBar {
  position: relative;
  overflow: hidden;
  padding: 8px 3% 4px;
  background: #fafafa;
  color: black;
  height: 25px;
  border-bottom: 1px solid #eee;
}

.s-secondNavBar-menu {
  height: 100%;
  display: flex;
  overflow-x: auto;
  padding-bottom: 20px;
  box-sizing: content-box;
}

.s-secondNavBar-menu div:first-child {
  min-width: 400px;
  margin-right: 10%;
}

.s-secondNavBar-menu div:nth-child(2) {
  min-width: 200px;
}

.s-secondNavBar-menu div span {
  display: inline-block;
  margin-right: 4%;
  text-transform: capitalize;
}

.s-columnTwo-SocialContactBtn {
  min-width: 200px;
}

.s-columnTwo-SocialContactBtn button {
  padding: 2px 2px 1px;
  margin: 0 2px;
}

.s-columnTwo-FacebookPage {
  background: darkblue;
}

.s-columnTwo-TwitterPage {
  background: skyblue;
}

.s-columnTwo-InstagramPage {
  background: black;
}

.mainCategories {
  height: 25px;
  background: white;
  padding: 6px 0;
  overflow: hidden;
}

.mainCategories-s {
  overflow-x: auto;
  display: flex;
  box-sizing: content-box;
  padding-bottom: 20px;
}

.mainCategories-s a {
  max-width: 150px;
  white-space: nowrap;
  margin: 0 14px;
}

.pageMap {
  margin: 10px 2%;
}

.pageMap a {
  color: rgb(144, 144, 236);
  margin-right: 5px;
}

.pageMap a:hover {
  color: rgb(123, 123, 238);
  text-decoration: underline;
}

.pageMap span {
  color: #ccc;
}

.page-messageTitle {
  padding: 0;
  font-weight: 600;
  color: rgb(63, 63, 63);
}

.page-message {
  padding: 0;
  list-style-type: none;
  border-radius: 3px;
  cursor: pointer;
  margin: 2px 0 2px;
  background: white;
}

.page-message li {
  font-size: 16px;
  color: #5e5c5c;
  margin-bottom: 2px;
  padding: 10px 1%;
  box-shadow: 0 1px 2px 0 #ccc;
  background: #f3f0ff;
}

.page-message li:hover {
  opacity: 0.9;
}

.page-message li span {
  font-weight: 600;
}

.page-message li p {
  margin: 5px auto;
  font-weight: normal;
}

.ChatBox {
  box-shadow: 0 1px 2px 0 #ccc;
  color: white;
}

.ChatBody {
  padding: 5px 2px;
  height: 500px;
  background: white;
  overflow-y: auto;
}

.ChatBody span:first-child {
  font-weight: 600;
}

.ChatBody div {
  margin: 5px 5px 2px;
  border-radius: 3px;
  padding: 5px;
  max-width: 55%;
}

.ChatBody div p {
  margin: 5px 0;
  font-weight: 600;
}

.ChatBody div span {
  font-size: 14px;
}

.ChatOnlineUser {
  background: #5d49a3;
}

.ChatOfflineUser {
  background: #7c66ce;
}

.ChatAction textarea {
  border-left: none;
  border-right: none;
  margin-bottom: -3px;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.ChatAction button {
  width: 100.4%;
  margin-left: -0.2%;
  background: #4f3a9c;
  border-radius: 0;
  height: 40px;
  font-size: 20px;
}

.s-ordersWrapper {
  padding: 5px;
  color: rgb(63, 63, 63);
}

.s-ordersWrapper-buyer {
  color: rgb(63, 63, 63);
  width: 70%;
  margin: 5px auto;
}

.s-ordersWrapper-buyer .s-orders {
  background: white;
}

.s-orders {
  margin-bottom: 10px;
  padding: 5px 1% 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.s-orders form {
  margin-top: 20px;
  padding-bottom: 5px;
}

.s-orders form button {
  background: #7f70b4;
  font-size: 15px;
  width: 100px;
  float: right;
  padding: 7px;
}

.s-orderSection div {
  float: left;
  font-size: 16px;
  margin-bottom: 7px;
}

.s-orderSection div:first-child {
  font-weight: 600;
  width: 30%;
}

.s-orderSection div:nth-child(2) {
  font-weight: 500;
}

.s-deleteOrder {
  background: rgb(223, 53, 53);
  margin-bottom: 5px;
}

.basketContainer {
  margin-top: 5px;
  padding: 30px 5px 5px;
  background: white;
}

.basketItems {
  float: left;
}

.basketItem {
  padding: 10px 1%;
}

.basketItem:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.basketItem-img,
.basketItem-remove,
.basketItem-price {
  float: left;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.basketItem-img {
  width: 25%;
}

.basketItem-img img {
  max-height: 100%;
  max-width: 100%;
}

.basketItem-name {
  position: relative;
  float: left;
  width: 30%;
  height: 150px;
}

.basketItem-name span {
  display: block;
  text-decoration: underline;
}

.basketItem-name span:first-child {
  font-weight: 600;
}

.basketItem-remove {
  width: 15%;
  float: right;
}

.basketItem-remove button {
  background: #a94442;
  padding: 4px 7px;
}

.basketItem-price {
  color: green;
  width: 20%;
  font-weight: 600;
  text-align: center;
}

.basketCost {
  float: right;
  border: 1px solid #ccc;
}

.basketCost div:first-child {
  margin-bottom: 40px;
}

.basketCost div p:first-child {
  font-weight: 600;
}

.contactForm {
  margin: 40px auto 18%;
}

.contactPageTitle {
  font-size: 20px;
  font-weight: 600;
}

.contactForm input {
  margin-bottom: 5px;
}

.contactForm button {
  margin-top: 5px;
  background: #7c66ce;
  float: right;
}

.Footer {
  padding: 7px 10px;
  color: white;
  background: #23184b;
}

.Footer div {
  width: 15%;
  float: left;
  margin: 2px 5%;
}

.Footer div p {
  text-align: left;
  margin: 3px 0;
  color: white;
}

.Footer div p a {
  color: white;
}

.Footer div p:first-child {
  font-weight: 700;
}

.footer-social-fb a button {
  background: blue;
  padding: 3px 2px;
}

.footer-social-tw a button {
  background: skyblue;
  padding: 3px 2px;
}

.footer-social-int a button {
  background: black;
  padding: 3px 2px;
}

/***************************************** contact and about page style of a store **************************/
.s-aboutPage {
  padding: 5px 1%;
  margin: 5px auto;
}

.s-contactPage {
  margin: auto;
  padding: 5px 2%;
  box-shadow: none;
}

.s-aboutPageTitle,
.s-contactPageTitle {
  font-size: 20px;
  font-weight: 600;
}

.s-contactPage-details,
.s-contactPage form {
  float: left;
}

.s-contactPage-detail {
  margin-bottom: 30px;
}

.s-contactPage-detail p {
  margin: 5px;
}

.s-contactPage-detail p:first-child {
  font-weight: 600;
}

.s-contactPage form {
  border: 1px solid none;
}

.s-contactPage form input {
  margin-bottom: 10px;
}

.s-contactPage form textarea {
  margin-bottom: 10px;
}

.s-contactPage form button {
  width: 40%;
  background: #5d49a3;
  margin-bottom: 10px;
  padding: 10px 0;
  text-transform: uppercase;
}

@media screen and (min-width: 278px) {
  .navBarSearch {
    display: none;
  }

  .s-secondNavBar-menu div:first-child {
    min-width: 600px;
  }

  .pageMap a {
    font-size: 13px;
  }

  .page-message {
    width: 100%;
  }

  .page-messageTitle {
    width: 100%;
    margin: 5px 0;
  }

  .ChatBox {
    width: 100%;
    margin: 2px 0;
  }

  .contactForm {
    width: 90%;
    margin: 20px auto 18%;
  }

  .s-ordersWrapper-buyer {
    width: 98%;
    margin: 5px 1%;
  }

  .s-orders .s-order {
    width: 100%;
  }

  .s-orders form {
    width: 100%;
  }

  .basketItems {
    width: 100%;
  }

  .basketCost {
    padding: 1%;
    width: 98%;
    margin-top: 40px;
  }

  .s-aboutPage {
    width: 100%;
  }

  .s-contactPage-details,
  .s-contactPage form {
    width: 90%;
    margin: 5px 3% 0 3%;
  }

  .Footer div {
    font-size: 13px;
  }
}

@media screen and (min-width: 579px) {
  .ChatBox {
    width: 100%;
  }

  .contactForm {
    width: 70%;
    margin: 30px auto 18%;
  }

  .Footer div {
    font-size: 15px;
  }
}

@media screen and (min-width: 767px) {
  .navBarRegister {
    margin-right: 8%;
  }

  .navBarSearch {
    display: block;
    margin: 10px 9% 0 5%;
    width: 45%;
  }

  .navBarSearch-icon,
  .navBarMenu-icon {
    display: none;
  }

  .s-secondNavBar {
    overflow-x: hidden;
  }

  .pageMap a {
    font-size: 15px;
  }

  .page-message {
    width: 35%;
    margin: 2px 1%;
    overflow-y: auto;
  }

  .page-messageTitle {
    width: 70%;
    margin: 5px auto;
  }

  .s-ordersWrapper-buyer {
    width: 70%;
    margin: 5px auto;
  }

  .ChatBox {
    width: 60%;
    margin: 2px 1% 20px;
  }

  .contactForm {
    width: 50%;
    margin: 40px auto 18%;
  }

  .basketItems {
    width: 68%;
  }

  .basketCost {
    width: 28%;
    margin-top: 40px;
  }

  .s-contactPage-details,
  .s-contactPage form {
    width: 40%;
    margin: 5px 5% 0;
  }
}

@media screen and (min-width: 991px) {
  .navBarSearch {
    margin: 10px 18% 0 5%;
    width: 35%;
  }

  .mainCategories-s a {
    width: 10.6%;
    display: inline-block;
    margin: 0;
    text-align: center;
  }

  .s-orders .s-order {
    width: 50%;
  }

  .s-order {
    width: 100%;
  }

  .s-orders form {
    width: 50%;
  }

  .ChatBox {
    width: 40%;
  }

  .s-aboutPage {
    width: 80%;
  }
}
