/*-----------------------------------
   SnapShop - CSS style
   Author: wavycode
   Website: https://wavycode.com
------------------------------------*/

/*-- Global variables --*/
:root {
  --main-color: #70ceb8;
  --main-dark: #46b599;
  --light-grey: #F2F3F7;
  --black: #252525;
  --red: #e05858;
}

/*-- General --*/
body {
   background: var(--light-grey);
   font-size: 14px;
   font-family: 'Manrope';
   padding: 20px;
}

a {
  color: var(--main-color);
}
a:hover {
  color: var(--main-dark);
  text-decoration: none;
}

h1 {
   font-size: 20px;
   color: var(--black);
   font-weight: 800;
}

h4 {
   font-size: 18px;
   color: var(--black);
   font-weight: 800;
}

h5 {
   font-size: 16px;
   color: var(--black);
   font-weight: 800;
}

.container { margin-bottom: 50px; }

footer {
   width: 100%;
   margin-top: 50px;
   padding: 12px;
   padding-bottom: 20px;
}

.footer a {
   color: #777;
   text-decoration: none;
}
.footer a:hover {
   color: #555;
}

/*-- Buttons --*/
.btn {
  font-size: 14px;
}

.btn-primary {
   text-decoration: none;
   border-radius: 5px;
   border: none;
   background: var(--main-color);
}
.btn-primary:hover {
   background: var(--main-dark);
   text-decoration: none;
}


/* Button primary --*/
.btn-primary {
   text-decoration: none;
   color: #fff;
   font-weight: 700;
   font-size: 14px;
   border-radius: 5px;
   border: none;
   background: var(--main-color);
}
.btn-primary:hover {
   background: var(--main-dark);
   text-decoration: none;
}

.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--main-color);
}



/*-- Home --*/
.home-logo a:hover {
   text-decoration: none;
}

.home-logo-img {
   border-radius: 8px;
   margin-top: -15px;
   width: 36px;
}

.home-title {
   font-size: 32px;
   font-weight: 700;
   padding-left: 10px;
   color: var(--main-color);
}

.home-buttons {
  margin-top: -40px;
  float: right;
}


.home-signin-btn {
   margin-top: 3px;
}


.home-user-dropdown {
  font-weight: 700;
  border: 1px solid #e1e1e1;
  font-size: 14px;
}

.home-user-dropdown-item {
  font-size: 14px;
}

.home-user-dropdown-item img {
   width: 22px;
}

.home-subtitle {
  color: #555;
}

.home-mobile-area {
    background: #f7f8fb;
    padding: 22px;
    color: var(--black);
    text-align: center;
    font-size: 14px;
    margin-top: 24px;
}

.home-mobile-badges {
    margin-top: 16px;
}



/*-- Search bar --*/
.search-bar {
   margin-top: 20px;
   margin-bottom: 22px;
   padding: 20px;
   border-radius: 4px;
   box-shadow: 0 10px 24px 0 rgba(0,0,0,.1);
}

.search-input {
  border-radius: 4px;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #e1e1e1;
  width: 100%;
}

.search-btn {
  margin-top: 20px;
}

/*-- Categories dropdown --*/
.categories-dropdown {
  font-weight: 400;
  border: 1px solid #e1e1e1;
  font-size: 14px;
  width: 100%;
}

.categories-dropdown-item {
  font-size: 14px;
}

.categories-dropdown-item img {
  width: 22px;
}

.categories-dropdown-menu {
  width: 100%;
}


/*-- Category Card --*/
.category-card {
   border-radius: 10px;
   border: 1px solid var(--light-grey);
   padding: 10px;
   background: #fff;
}

.category-card-img {
   width: 90px;
}

.category-card-text {
   font-size: 16px;
   font-weight: 700;
   margin-top: 16px;
   color: var(--black);
}

.category-card-text:hover {
   text-decoration: none;
}


/*-- Listings --*/
.ls-sidebar {
  background: #fff;
  border-radius: 5px;
  
}

.leaderboard-ad  {
  text-align: center;
  margin-bottom: 20px;
}


/*-- Item Cell --*/
.item-cell {
   background: #fff;
   border-radius: 8px;
   height: 148px;
   border: 1px solid #e1e1e1;
   text-align: left;
   margin-bottom: 20px;
}

#itemCell {
   left: 0;
}

.item-cell-img {
   width: 120px;
   height: 120px;
   border: 1px solid #f1f1f1;
   border-radius: 10px;
   float: left;
   margin: 13px;
   overflow: hidden;
}

.item-cell-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.item-cell-title {
   font-weight: 700;
   margin-top: 6px;
   font-size: 18px;
}
.item-cell-title a {
   color: var(--black);
   text-decoration: none;
}

.item-cell-category {
   color: var(--black);
   background: #e1e1e1;
   font-weight: 700;
   font-size: 12px;
   padding: 5px;
   display: inline-block;
   border-radius: 4px;
}

.item-cell-like-btn {
   float: right; 
   margin-right: 10px;
}
.item-cell-like-btn img {
   width: 40px;
}

.item-cell-location {
   color: #737373;
   font-weight: 700;
   font-size: 14px;
}

.item-cell-date {
   color: #737373;
   font-weight: 400;
   font-size: 12px;
}

.item-cell-price {
   color: var(--red);
   font-weight: 700;
   font-size: 20px;
   margin-top: 2px;
   margin-left: 105px;
}

.item-cell-edit-btn a {
  float: right;
  margin-right: 20px;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 700;
}
.item-cell-edit-btn a:hover {
  color: var(--main-dark);
  text-decoration: none;
}

/*-- No Items --*/
.no-items {
   text-align: center;
}

.no-items img {
   width: 100px;
}

.no-items-title {
   margin-top: 10px;
   font-weight: 700;
   font-size: 18px;
}

.no-items-text {
   margin-top: 10px;
   font-weight: 400;
   font-size: 14px;
}

.sidebar-ad {
   margin-bottom: 20px;
}

.sidebar-ad img {
   width: 100%;
}

.pagination a {
   width: 100%;
   text-align: center;
   color:  var(--black);
}
.pagination a:hover {
  color: var(--main-color);
  background: #fff;
}
.page-item.active .page-link {
  background: var(--main-color);
  border: none;
}



/*-- Item Info --*/
.carousel-indicators {
   position: static;
  .item {
    &.active {
      background: transparent;   
      img {
        opacity: 0.7;
      }
    }
  }
}
.carousel-item {
   height: 520px;
   object-fit: cover;
}

.item-info-category {
   background: #e1e1e1;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 4px;
    display: inline-block;;
}

.item-info-like-btn {
  float: right;
  margin-top: -8px;
}
.item-info-like-btn img {
  width: 40px;
}

.item-info-title {
   font-weight: 700;
   font-size: 20px;
   color: var(--black);
}

.item-info-location {
   font-size: 14px;
   color: #404040;
   margin-top: 10px;
}

.item-info-price {
   font-weight: 700;
   font-size: 24px;
   color: var(--red);
   margin-top: 20px;
}

.item-info-username-right {
   bottom: 0;
   position: absolute;
}

.share-buttons a {
  font-size: 18px;
  color: var(--black);
}
.share-buttons a:hover {
  color: var(--main-color);
}

.user-initial-letter {
   border-radius: 99px;
   width: 50px;
   height: 50px;
   background: #e1e1e1;
   color: var(--black);
   font-weight: 700;
   padding: 6px 0px 0px 17px;
   font-size: 25px;
}

.contact-btn-dropdown-menu {
  width: 100%;
  font-size: 14px;
}

.contact-seller-btn {
   font-size: 18px;
}
.contact-seller-btn::after {
   display: none;
}

#contactSellerTxt {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #e1e1e1;
  padding: 10px;
}

#videoButton {
   width: 100px;
   height: 100px;
   top: 0;
   z-index: 99;
   position: absolute;
   right: 0;
   margin-right: 25px;
   margin-top: 10px;
}
#videoButton img {
   border-radius: 5px;
   box-shadow: 0 10px 24px 0 rgba(0,0,0,.9);
}

#photosCount {
   background: #333;
   width: 30px;
   height: 17px;
   color: #fff;
   font-size: 12px;
   text-align: center;
   float: right;
   border-radius: 2px;
   margin-top: 3px;
}

.lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
    border-radius: 6px;
}
/* video */
.lity-iframe-container {
   border-radius: 6px;
}



/*-- List Item --*/
.list-item-top {
   height: 220px;
   background: url(items_image.png) center center no-repeat;
   background-color: rgba(254, 255, 255, 0.8) !important;
   background-blend-mode: color;
   padding-top: 82px;
   font-weight: 700;
   font-size: 32px;
}

.list-item-img {
    width: 120px;
    height: 120px;
    background-position: center center;
    background-repeat: no-repeat;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-right: 7px;
}

.list-item-img>input {
  display: none;
}

#aPhoto2, #aPhoto3, #aPhoto4 { display: none; }

#itemDescription { 
  white-space:pre-wrap;
}

#postItemButton { 
   height: 60px;
   font-size: 20px;
   width: 220px;
   margin-left: 15px;
}

#deleteItemButton { 
   display: none;
   height: 40px;
   font-size: 16px;
   width: 220px;
   font-weight: 700;
   margin-left: 15px;
}



/*-- Chat Messages --*/
.messages-list {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  height: 100%;
}

.messages-cell {
   background: var(--light-grey);
   padding: 10px;
   margin-bottom: 10px;
}

.messages-cell-img {
   width: 60px;
   height: 60px;
   overflow: hidden;
}
.messages-cell img {
   height: 100%;
   width: 100%;
   object-fit: cover;
   border-radius: 6px;
}

.messages-cell-name {
   margin-top: -60px;
   margin-left: 68px;
   font-weight: 700;
}

.messages-cell-item-title {
   margin-left: 68px;
   font-size: 12px;
   font-weight: 500;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

.messages-cell-last-message {
   color: #777;
   font-size: 11px;
   margin-left: 68px;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 1;
   -webkit-box-orient: vertical;
}

.messages-btn {
   color: var(--main-color);
   font-weight: 700;
   font-size: 12px;
   text-decoration: none;
}
.messages-btn:hover {
   color: var(--main-dark);
   text-decoration: none;
}


.chat-messages-top {
   font-weight: 700;
   font-size: 18px;
   border-radius: 6px;
   background: #fff;
   padding: 10px;
}

.chat-messages-options {
   float: right;
   padding-top: 4px;
   padding-right: 10px
}
.chat-messages-options a {
   color: var(--black);
   font-size: 18px;
   font-weight: 700;
}

#optionsPopup {
   border-radius: 6px;
   width: 200px;
   font-size: 13px;
   float: right;
   margin-top: 20px;
   display: none;
}

.chat-page {
   width: 100%; 
   height: 450px;
   border: 0;
}

.chat-messages-block-btn a {
   font-weight: 700;
   color: var(--black);
   text-decoration: none;
}
.chat-messages-delete-btn a {
   color: var(--red);
   font-weight: 700;
   text-decoration: none;
}

.chat-messages-area {
   overflow-y: scroll;
   overflow-x: hidden;
   max-height: 350px;
   margin-top: 14px;
}


.chat-messages-sender-text {
   margin-top: 10px;
   background: var(--main-color);
   font-size: 13px;
   border-radius: 8px;
   color: #fff;
   padding: 10px;
   width: 70%;
   float: right;
   margin-bottom: 20px;
}

.chat-messages-sender-text img {
   height: 200px;
   width: 200px;
   object-fit: cover;
   float: right;
}

.chat-messages-sender-initial-letter {
   background: #dcdcdc;
   color: var(--black);
   font-weight: 700;
   border-radius: 99px;
   width: 40px;
   height: 40px;
   padding: 7px 10px 10px 13px;
   font-size: 18px;
   float: right;
   margin-top: 8px;
   margin-left: 8px;
}

.chat-messages-receiver-text {
   margin-top: 10px;
   background: #fff;
   font-size: 13px;
   border-radius: 8px;
   color: var(--black);
   padding: 10px;
   width: 70%;
   float: left;
   margin-bottom: 20px;
}

.chat-messages-receiver-text img {
   height: 200px;
   width: 200px;
   object-fit: cover;
   float: left;
}

#chatMessagesPhoto { border-radius: 10px; }

.chat-messages-receiver-initial-letter {
   background: #dcdcdc;
   color: var(--black);
   font-weight: 700;
   border-radius: 99px;
   width: 40px;
   height: 40px;
   padding: 7px 0px 0px 14px;
   font-size: 18px;
   float: left;
   margin-top: 8px;
   margin-right: 8px;
}

.chat-messages-messagetxt-area {
   margin-top: 10px;
   width: 100%;
   height: 62px;
   padding-top: 10px;
   display: none;
}

#messageTxt { padding: 10px; }

.attach-photo-btn {
   background: #fff;
   width: 56px;
   height: 42px;
   border-radius: 8px;
   margin-left: 8px;
}
.attach-photo-btn img {
  width: 80%;
  margin-left: 5px;
}

#attachPhotoInput {
   opacity: 0;
   height: 40px;
   background: #000;
   width: 60px;
   margin-top: -44px;
}

#sendChatMessageButton {
   background: var(--main-color);
   width: 55px;
   border-radius: 6px;
   color: #fff;
   font-weight: 700;
   font-size: 13px;
   padding: 10px;
   float: right;
}
#sendChatMessageButton:hover { cursor:pointer; }



/*-- Settings --*/
.settings-top-links a {
   text-decoration: none;
   color: var(--black);
}

.settings-user-info {
   margin-left: 30px;
   font-weight: 300;
}

.settings-edit-btn {
   float: right;
   font-weight: 700;
   color: var(--main-color);
}
.settings-edit-btn:hover {
   color: var(--main-color);
   text-decoration: none;
}

#userFullname, #userUsername, #userEmail {
   font-weight: 700;
}




/*-- Login --*/
.login-container {
   background: url('bkg.jpg');
   background-position: center;
   background-size: cover;
   height: 100%;
   width: 100%;
}

.login-body {
    width: 300px;
    height: 350px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.google-button {
  border-radius: 8px; 
  background: #f1f1f1; 
  border: 1px solid #999; 
  color: #252525; 
  text-decoration: none;
}
.google-button:hover {
   color: var(--black);
}

.login-form-control {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: #71748d;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d2d2e4;
    height: 48px;
    margin-top: -14px;
}

.login-input-top {
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 48px;
    margin-bottom: -13px;
}

.login-input-bottom {
   padding: 10px;
   padding-right: 50px;    
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   height: 48px;
}

.login-button {
   margin-top: -60px;
   width: 38px;
   float: right;
   height: 38px;
   border-radius: 99px;
   margin-right: 7px;
   font-size: 30px;
   background: transparent;
   border: none;
   z-index: 999;
	position: relative;
	padding-right: 36px;
	cursor: pointer;
}

.form-control {
   display: block;
   width: 100%;
   font-size: 14px;
   line-height: 1.42857143;
   color: #71748d;
   background-color: #fff;
   background-image: none;
   border: 1px solid #d2d2e4;
   border-radius: 5px;
}

.signup-tos-btn { 
   text-decoration: underline;
   color: var(--black); }
.signup-tos-btn:hover {
   text-decoration: underline;
   color: var(--main-color);
}


.circle-img { border-radius: 99px; }

.jumbotron { margin-top: 50px; }

pre {
   width: 100%;
   font-size: 11px;
   border-radius: 5px;
}

.big-h1 { font-size: 40px; }

.img-src {
   border: 1px solid #f1f1f1; 
   width: 120px; 
   height: 120px; 
   border-radius: 4px;
}


/*-- Datetime picker --*/
.bootstrap-datetimepicker-widget table {
    text-align: center;
}
.bootstrap-datetimepicker-widget th {
    border: 1px solid #e1e1e1;
    padding: 10px;
    text-align: center;
}
.bootstrap-datetimepicker-widget tr {
    border: 1px solid #e1e1e1;
    padding: 10px;
    text-align: center;
}
.bootstrap-datetimepicker-widget td {
    border: 1px solid #e1e1e1;
    width: 10%;
    padding: 10px;
}


/*-- Switch --*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider { background-color: #2196F3; }
input:focus + .slider { box-shadow: 0 0 1px #2196F3; }
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round { border-radius: 44px; }
.slider.round:before { border-radius: 50%; }



/*-- @media screen queries --*/

/* Mobile Phone */
@media only screen and (max-width: 767px) {
   .home-logo { text-align: center; }

   .home-buttons {
      margin-top: 22px;
      text-align: center;
      width: 100%;
   }
   
   .home-signin-btn { margin-top: -16px; }

   .home-user-dropdown {
      font-weight: 700;
      border: 1px solid #e1e1e1;
      background: transparent;
   }

   .categories-dropdown { background: #fff; }

   #itemCell { 
      margin-top: 20px;
      margin-left: -16px;
      margin-right: -18px;
   }

   .item-cell {height: 124px;}

   .item-cell-img {
      width: 80px;
      height: 80px;
   }
   
   .item-cell-title { font-size: 14px; }
    
   .item-cell-edit-btn { margin-top: -28px; }

   .leaderboard-ad img { width: 100%; }

   #photoCarousel { margin-top: 16px; }

   .carousel-item { height: 320px; }

   .item-info-username-right {
      position: relative;
      bottom: -14px;
   }

   #itemInfoRight { margin-top: 20px; }

   #videoButton { 
      margin-top: 26px; 
      margin-right: 5px;
   }
   #videoButton img { width: 80px; }

   .list-item-img {
      width: 64px;
      height: 64px;
   }

   #deleteItemButton { 
      margin-left: 6px; 
      margin-top: 20px;
   }
   .chat-messages-sender-initial-letter { margin-right: 10px; }
   
   #messageTxt { 
      width: 54%;
      margin-left: 68px; 
      margin-top: -42px;
   }

   #sendChatMessageButton {
      margin-top: -41px;
      margin-right: 6px;
   }
}



/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 959px) {
   .home-logo {  text-align: center; }

   .home-buttons {
      margin-top: 20px;
      text-align: center;
      width: 100%;
   }
   
   .home-user-dropdown {
      font-weight: 700;
      border: 1px solid #e1e1e1;
      background: transparent;
   }

   .categories-dropdown { background: #fff; }

   .category-card-img { width: 50px;}
   
   .category-card-body { margin-top: 10px;}
  
   .category-card-text { font-size: 12px;}

   .item-cell { 
      width: 550px; 
      margin-left: 22px; 
   }
   
   .item-cell-title { margin-right: 20px; }
    
   .item-cell-edit-btn { margin-top: -14px; }
  
   .leaderboard-ad img { width: 100%; }

   #itemInfoRight { margin-top: 16px; }
   
   #photoCarousel { margin-top: 16px; }

   #videoButton { margin-top: 26px; }

   .chat-messages-sender-initial-letter { margin-right: 10px; }
  
   .messages-list { width: 250px; }

   .chat-messages {
     width: 430px;
     margin-left: 80px; 
   }
    
   .chat-messages-area {
     width: 430px;
     margin-left: 80px; 
   }

   .chat-messages-messagetxt-area {
      width: 430px;
      margin-left: 80px; 
   }
   
   #messageTxt { 
      width: 82%;
      margin-left: 32px;
   }

   #sendChatMessageButton { margin-right: 6px; }
   
   hr {
     width: 410px;
     margin-left: 90px;
   }
}


/* iPad Pro */
@media only screen and (min-width: 960px) and (max-width: 1024px) {
   .home-buttons {
      margin-top: -36px;
      float: right;
   }
   
   .home-user-dropdown {
      font-weight: 700;
      border: 1px solid #e1e1e1;
      background: transparent;
   }

   .categories-dropdown { background: #fff; }

   .leaderboard-ad img { width: 100%; }

   .chat-messages-sender-initial-letter { margin-right: 10px; }
    
   .chat-messages-messagetxt {
      width: 96%;
      margin-left: 12px;
   }
}