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

/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    border-bottom: 1px solid #33333314;
}

/* Header Menu */
#sp-header {
    box-shadow: none;
}
#sp-header.header-sticky, body:not(.home) #sp-header {
    background-color: #12100E;
    box-shadow: 0px 0px 10px 0px rgb(255 255 255 / 10%);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    padding: 10px 0;
    font-size: 15px !important;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: capitalize;
    position: relative;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}
.sp-megamenu-parent > li > span {
    color: #fff;
}

/* 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;
    font-size: 14px;
}
.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: 12px 35px;
    font-size: 15px;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 500;
    border-radius: 30px;
    border: none;
    display: inline-block;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn:hover {
    color:  #fff;
    transform: scale(0.95);
    background: #000;
}
.addtocart-bar input.addtocart-button:hover {
    background-color: #000 !important;
    border-color: #000 !important;
}
.btn.black {
    background-color: #3d3d3d;
}

/* Title */
.title {
    padding-left: 30px;
    border-left: 1px solid #fff;
}
.title h2 {
    font-size: 30px;
    margin-bottom: 0;
}
.title.no-space {
    padding-left: 0;
    border-left: 0;
}

/* Slider */
#slider {
    margin-top: -100px !important;
}
.slider, .bg {
    background-image: linear-gradient(320deg, rgb(18 16 14) 0%, rgb(61 61 61) 100%);
}
.slider .sppb-row-overlay {
    background: url('../images/smoke-overlays-1-AE77V6.jpg');
}
.slider-img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.9;
    filter: brightness( 100% ) contrast( 100% ) saturate( 60% ) blur( 0px ) hue-rotate( 0deg );
}
.slider .clearfix:nth-child(4) {
    position: relative;
    z-index: 3;
}

/* About */
.about, .client, .counter1 {
    background-image: linear-gradient(320deg, rgb(18 16 14) 0%, rgb(61 61 61) 100%);
}
.about-column {
    z-index: 2;
}

/* Services */
.services-column .clearfix:first-child {
    width: 100%;
}
.services-column .clearfix {
    width: 50%;
    float: left;
    padding-right: 20px !important;
}
.services-img img {
    opacity: 0.9;
    filter: brightness( 100% ) contrast( 100% ) saturate( 60% ) blur( 0px ) hue-rotate( 0deg );
}

/* Divid */
.divider {
    margin: 0 auto;
}

/* Shop */
.shop, .project, .sale {
    background-image: linear-gradient(320deg, #12100e 0%, rgb(61 61 61) 100%);
}

/* Project */
.project-item img {
    border-radius: 10px;
}

/* Testimonials */
.testimonials {
    z-index: 2 !important;
}
.testimonials-item {
    padding-top: 55px;
    position: relative;
}
.testimonials-item .sppb-addon-testimonial-rating {
    position: absolute;
    top: 0;
}
.testimonials-item span.fa-quote-left {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Video */
.video {
    z-index: 2 !important;
    background-image: linear-gradient(90deg, #f39a12 40%, #AA845300 0%);
}
.video .sppb-col-md-6:first-child {
    margin-bottom: -70px;
    position: relative;
    z-index: 2;
}
.video-column.right {
    border-radius: 0 20px 20px 0;
}
.video-item {
    min-width: 60px;
    min-height: 60px;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    background: #fff;
    width: 80px;
    height: 80px;
    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: 60px;
    height: 60px;
    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: 5px;
    left: 0;
    margin-top: -11.5px;
    margin-left: -5px;
    border: solid 12px transparent;
    border-left: solid 19px;
    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
    }
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
    margin: 0;
    background: #fff;
    width: 30%;
    float: left;
}
.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: 30px;
    border-radius: 0px 0px 0px 0px;
    float: left;
    width: 70%;
}
.jm-category-module.default .jmm-text .jmm-title {
    font-size: 19px;
    font-weight: 600;
    text-transform: capitalize;
}
.jm-category-module.default .jmm-readmore {
    margin-top: 20px;
}

/* Shop */
button.vmicon:before, .com_virtuemart #cart-view table.cart-summary tr td > .vmshipment_name:before, 
.com_virtuemart #cart-view table.cart-summary tr td > .vmpayment_name:before,
.com_virtuemart #cart-view .billto-shipto .vm2-billto-icon::before {  
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 600;
    font-size: 18px;
}
.com_virtuemart #cart-view .billto-shipto .vm2-shipto-icon:before {
    content: "\f0e0" !important;
    font-family: 'Font Awesome 5 Free'!important;
    font-weight: 600;
}
.com_virtuemart #cart-view .billto-shipto .vm2-billto-icon::before,
.com_virtuemart #cart-view .billto-shipto .vm2-shipto-icon:before {
    font-size: 18px !important;
}
.com_virtuemart #cart-view .billto-shipto .output-shipto input {
    margin-top: 7px;
}
#checkoutForm .cart-summary .sectiontableentry2 span.details-button .details-button {
    margin-top: 13px;
}
.com_virtuemart #cart-view .vm-fieldset-tos input.terms-of-service {
    margin-top: 7px;
}
div#fancybox-content {
    width: 100% !important;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-size: 16px;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}
#sp-bottom .sp-module {
    display: inline-block;
}
#sp-bottom .sp-module .sp-module-title {
    text-transform: uppercase;
    font-size: 35px;
    border-left: 3px solid;
    line-height: 45px;
    padding-left: 20px;
    margin-bottom: 30px;
}
#sp-bottom h4 {
    font-size: 20px;
    margin-bottom: 25px;
}
#sp-bottom div.menu-bottom {
    width: 50%;
    float: left;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
    font-size: 16px;
}
#sp-footer .container-inner {
    border-top: none;
}

/*** Responsive Layout ***/
@media (min-width: 992px) and (max-width: 1280px) {
    .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
        font-size: 16px !important;
        padding: 0 6px;
    }
}

/* 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;
    }
    body, body p {
        font-size: 16px !important;
    }
    .feature .sppb-col-md-4 {
        margin-bottom: 50px;
    }
}

/* 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;
    }
    #checkoutForm .cart-summary .sectiontableentry2 span.details-button .details-button {
        margin-top: 4px;
    }
}
@media (max-width: 480px) {
    body #sp-header {
        top: 0;
    }
    .services-column .clearfix {
        width: 100%;
        padding-right: 0;
    }
    .jmm-text, .jmm-item .jmm-image.mod-article-image {
        width: 100%;
    }
    .jmm-text {
        padding: 30px 0;
    }
}

/* 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 {
    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,
#sp-bottom .sp-module .sp-module-title, .slider-title h1,
.title h2, .counter-item h1, .testimonials-item span.fa-quote-left {
    color: var(--text-color);
}
.btn:hover, .video-item {
    border-color: var(--text-color);
}
.addtocart-bar input.addtocart-button, .btn-primary,
div[class*="-view"] .vm-col.product:hover .spacer,
.page-item.active .page-link, .com-sppagebuilder .product-container .spacer:hover,
#sp-bottom .sp-module .sp-module-title {
    border-color: var(--text-color) !important;
}
.control-buttons button:hover {
    color: var(--text-color) !important;
}
