Shops - Jayswal Market
/*******************************/
/********* General CSS *********/
/*******************************/
body {
color: #5e5c5c;
background: #ffffff;
font-family: 'Open Sans', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #1d2434;
}
a {
color: #454545;
transition: .3s;
}
a:hover,
a:active,
a:focus {
color: #D5B981;
outline: none;
text-decoration: none;
}
.btn:focus,
.form-control:focus {
box-shadow: none;
}
.container-fluid {
max-width: 1366px;
}
.back-to-top {
position: fixed;
display: none;
background: none;
width: 44px;
height: 44px;
text-align: center;
line-height: 1;
font-size: 22px;
right: 15px;
bottom: 15px;
transition: background 0.5s;
z-index: 9;
}
.back-to-top:hover {
background: #fc0505;
border-radius: 50%;
}
.back-to-top:hover i {
color: #D5B981;
border-radius: 50%;
}
.back-to-top i {
color: #fc0505;
padding-top: 10px;
}
/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
position: relative;
max-width: 600px;
margin: 0 auto;
margin-bottom: 45px;
}
.section-header p {
margin-bottom: 5px;
position: relative;
font-size: 16px;
font-weight: 600;
}
.section-header h2 {
margin: 0;
position: relative;
font-size: 30px;
font-weight: 500;
}
@media (max-width: 767.98px) {
.section-header h2 {
font-size: 30px;
}
}
/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
position: relative;
width: 100%;
padding: 45px 0 15px 0;
}
.service .service-item {
position: relative;
width: 100%;
text-align: center;
margin-bottom: 30px;
background: rgba(29, 36, 52, .04);
}
.service .service-img {
position: relative;
width: 100%;
}
.service .service-img img {
position: relative;
width: 100%;
height: 100%;
object-fit: cover;
}
.service .service-item h3 {
margin: 0;
padding: 25px 15px 15px 15px;
font-size: 25px;
font-weight: 700;
}
.social {
display: flex;
height: 60px;
font-size: 0;
justify-content:center;
}
.social a {
display: flex;
align-items: center;
justify-content: center;
width: 60px;
height: 100%;
font-size: 24px;
color: #f10202;
}
.social a:hover {
color: #F0F0F1;
background: #fc0505;
border-radius: 50%;
}
.top-bar-left {
/* display: flex; */
align-items: center;
/* justify-content: flex-end; */
}
.top-bar-left .text {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 50px;
padding: 0 10px;
text-align: center;
}
.top-bar-left .text h2 {
color: #444343;
font-weight: 600;
font-size: 16px;
letter-spacing: 1px;
margin: 0;
}
.top-bar-left .text p {
color: #5e5c5c;
font-size: 12px;
font-weight: 600;
margin: 0;
}
/* carousel css starts*/
/* Position the image container (needed to position the left and right arrows) */
.top-container {
position: relative;
}
/* Hide the images by default */
.mySlides {
display: none;
}
/* Add a pointer when hovering over the thumbnail images */
.cursor {
cursor: pointer;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 8px;
margin-top: -50px;
color: #00000;
font-weight: bold;
font-size: 30px;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: #fc0505;
color: #ffffff;
}
/* Number text (1/3 etc) */
.numbertext {
color: #ffffff;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* Container for image text */
.row:after {
content: "";
display: table;
clear: both;
}
/* carousel css end */
1 / 2
2 / 2
❮
❯
var slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
var captionText = document.getElementById("caption");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
}
var slideIndex = 0;
showSlides();
function showSlides() {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
for (i = 0; i slides.length) {slideIndex = 1}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
setTimeout(showSlides, 5000); // Change image every 5 seconds
}
(function ($) {
"use strict";
// Back to top button
$(window).scroll(function () {
if ($(this).scrollTop() > 200) {
$('.back-to-top').fadeIn('slow');
} else {
$('.back-to-top').fadeOut('slow');
}
});
$('.back-to-top').click(function () {
$('html, body').animate({scrollTop: 0}, 1500, 'easeInOutExpo');
return false;
});
})(jQuery);