/*** General CSS ***/
body {
    line-height: 1.9em;
}

/*** Header Area ***/
/* Header Top */
body:not(.home) #sp-top-bar {
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

/* Header Menu */
#sp-header {
    box-shadow: none;
}
#sp-header.header-sticky {
    background: #222;
}
body:not(.home) #sp-header {
  	background: #222;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    font-weight: 400 !important;
    padding: 10px 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: uppercase;
    position: relative;
}
.sp-megamenu-parent > li > span {
  	color: #fff;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}
.offcanvas-menu .offcanvas-inner a {
    font-size: 18px;
}

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-weight: 500;
}
.burger-icon>span {
    background-color: #fff;
}
.offcanvas-menu > .align-items-center {
    background: #222;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #fff;
}

/*** Block Styles ***/
/* Button */
.btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 0;
    letter-spacing: 1px;
    border: none;
    display: inline-block;
    color: #fff !important;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn:hover, .btn.color {
  	background-color: #dce0d8;
	transform: translateY(-8px);
}
.btn.white {
    background: transparent;
    border: 1px solid #F4EEE2;
  	color: #F4EEE2 !important;
}
.btn.white:hover {
    color: #fff !important;
    border: 1px solid #fff;
}
.btn-primary:hover {
    color: #000;
}
.btn.black {
    color: #222 !important;
    border: 1px solid;
}

/* Title */
.title h3 {
    letter-spacing: 2px;
}

/* Heading */
.bg-title {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.bg-title li {
	display: inline-block;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0;
}
.bg-title li strong {
	display: none;
}
.bg-title li em {
	padding: 0 15px;
	font-size: 16px;
}

/* Slider */
.slider {
    margin-top: -80px !important;
}
.slider-column.left .clearfix {
    border-bottom: 5px solid;
}
.slider-column.center .clearfix {
    border-bottom: 5px solid #e1bb78;
}
.slider-column.right .clearfix {
    border-bottom: 5px solid #f1dbd2;
}
.slider-column.last .clearfix {
    border-bottom: 5px solid #fbeed3;
}

/* About */
.about-item .full-content .left, .about-item .full-content .right {
    display: inline-block;
    float: left;
  	text-align: left;
}
.about-item .full-content .left strong {
  	display: none;
}
.about-item h3 {
    margin-bottom: 6px;
    font-size: 25px;
    text-align: left;
}
.about-item em {
  	padding-right: 10px;
  	font-size: 20px;
  	padding-top: 3px;
  	color: #e1bb78;
}
.about-item .full-content {
    display: inline-block;
    margin-bottom: 10px;
}
.about-column .clearfix {
    position: relative;
}

/* Client */
.client-item img {
  	-webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.client-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background-image: linear-gradient(90deg, #ffffff 45%, #fbeed3 45%);
}
.testimonials .sppb-row-overlay {
    background: url('../images/patern-testy.png');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 52% auto;
}

/* Services */
.services-item a {
    padding: 0;
    font-weight: 600;
}

/* Video */
#video {
    z-index: 2 !important;
}
.video-item {
    min-width: 70px;
    min-height: 70px;
    position: relative;
    top: 34%;
    right: 0;
    left: 0;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    z-index: 1;
}
.video-item .sppb-img-container {
    overflow: hidden;
}
.video-item .sppb-img-container:hover:before {
    background-color: rgba(0, 0, 0, 0.90);
}
.video-item .sppb-img-container:before {
    background-color: rgba(0, 0, 0, 0.60);
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.video-item img {
    width: 100%;
}
#video-popup-container,
#video-popup-containers {
    display:none;
    position: fixed;
    z-index: 996;
    width: 60%;
    left: 50%;
    margin-left: -30%;
    top: 20%;
    background-color: #fff;
}
.video-item a {
    font-size: 0;
    position: absolute;
    top: 44%;
}
.video-item a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    margin-top: 5px;
    margin-left: 0;
    border-radius: 50%;
    z-index: 10;
    border: 4px solid #fff;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
    z-index: 4;
}
.video-item a:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    margin-top: -11.5px;
    margin-left: -5px;
    border: solid 15px transparent;
    border-left: solid 22px;
    border-left-color: #000;
    z-index: 10;
}
#video-popup-close,
#video-popup-closes {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 9999;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    text-align: center;
    font-size: 12px;
    background-color: #000;
    line-height: 25px;
    color: #fff;
    opacity: 1;
}
#video-popup-iframe-container,
#video-popup-iframe-containers {
    position: absolute;
    z-index: 999;
    width: 100%;
    padding-bottom: 56.25%;
    border: 2px solid #000;
    border-radius: 2px;
    background-color: #000;
}
#video-popup-iframe,
#video-popup-iframes {
    z-index: 999;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
}
#video-popup-overlay,
#video-popup-overlays {
    display: none;
    position: fixed;
    top: 0;
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    left: 0;
}
#video-popup-close:hover,
#video-popup-closes:hover {
    color: #DE0023;
}
@-webkit-keyframes pulse-border{
    0%{
        -webkit-transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity:1
    }
    100%{
        -webkit-transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        opacity:0
    }
}
@keyframes pulse-border{
    0%{
        -webkit-transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity:1
    }
    100%{
        -webkit-transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        transform:translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        opacity:0
    }
}

/* Contact */
.contact {
    max-width: 1290px;
    margin: 0 auto !important;
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
  	overflow: hidden;
  	margin: 0;
}
.jmm-image.mod-article-image img {
  	transform: scale(1);
  	-webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.jmm-item:hover .jmm-image.mod-article-image img {
  	transform: scale(1.12);
  	filter: grayscale(100%);
}
.jmm-text {
    padding: 20px 0 0;
    border-radius: 0px 0px 0px 0px;
    text-align: center;
}
.jm-category-module.default .jmm-text .jmm-title {
	font-size: 21px;
	font-weight: 500;
	text-transform: capitalize;
}
.jm-category-module.default .jmm-readmore {
	margin-top: 20px;
}

/* Bottom */
#sp-bottom {
	overflow: hidden;
	position: relative;
	z-index: 1;
	font-size: 16px;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 0px;
    position: relative;
}
#sp-bottom1 strong {
    display: none;
}
#sp-bottom1 em {
    padding-right: 10px;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
#sp-footer .container-inner {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/*** Responsive Layout ***/
@media (min-width: 992px) and (max-width: 1280px) {
	.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    	font-size: 13px !important;
	}
}
/* Mobile Standard Layout */
@media (max-width: 991px) {
	#sp-header, #sp-header .logo {
        height: 70px;
    }
  	#sp-footer p {
  		text-align: center;
	}
  	body #sp-header {
      	padding: 0;
	}
  	.slider {
    	margin-top: -70px !important;
	}
  	.contact-column .sppb-text-right {
    	text-align: left;
	}
}

/* Mobile Small Resolution */
@media (max-width: 510px) {
.cart-summary th, .vm-cart-item-quantity,
.vm-cart-item-tax {
	min-width: 40px !important;
}
table.cart-summary {
	font-size: 8px;
}
#checkoutForm .vm-fieldset-pricelist h3,
	table.cart-summary h4, .cart-summary ::placeholder {
	font-size: 10px;
}
#fancybox-wrap #fancybox-outer #fancybox-content {
	width: 100% !important;
}
#fancybox-wrap {
	width: 100% !important;
	left: 0 !important;
}
div#fancybox-content a {
	float: initial;
	display: block !important;
	max-width: 200px;
	margin: 0px auto 10px !important;
}
#fancybox-wrap #fancybox-outer h4 {
    text-align: center;
}
}
@media (max-width: 480px) {
  	body #sp-header {
      	top: 0;
	}
  	.services-item .pull-left, .services-item .sppb-media-body {
    	width: 100% !important;
	}
  	.services-item {
    	padding-bottom: 30px;
  	}
}

/* General color defination
Color value depend on preset color that picking on template settings > Presets
*/

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
.page-item.active .page-link, .slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover, 
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay,
.btn, .btn:hover {
 	background-color: var(--background-color);
}
.addtocart-bar input.addtocart-button {
 	background-color: var(--background-color) !important;
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover,
.title h2, .slider-column i {
  	color: var(--text-color);
}
.addtocart-bar input.addtocart-button, .slider-column.left .clearfix {
	border-color: var(--text-color) !important;
}

