/*** 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 {
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    padding: 10px 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: uppercase;
    position: relative;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}

/* 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: 16px;
}
.burger-icon>span {
    background-color: #000;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #000;
}

/*** Block Styles ***/
/* Button */
.btn {
    padding: 14px 45px;
    font-size: 13px;
    letter-spacing: 8px;
    font-weight: 500;
    color:  #fff;
    border-radius: 0;
    border: 1px solid #031C3B;
    display: inline-block;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn:hover {
    color:  #000;
}
.btn.no-bg {
    background-color: transparent;
    border-color: transparent;
    color: #333;
}
.btn.white {
    background: #fff;
    color: #333;
    border-color: #fff;
}
.btn-primary {
    color: #fff !important;
}

/* Title */
.title h3 {
    letter-spacing: 5px;
}
.title h2 {
    letter-spacing: 8px;
}
.title.white span.white {
    color:  #fff;
}
.services-item h3 {
    letter-spacing: 20px;
}

/* Intro */
.intro {
    z-index: 2 !important;
}

/* Bg */
.bg-title {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.bg-title li {
    display: inline-block;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 400;
    letter-spacing: 1px;
    font-style: italic;
}
.bg-title li strong {
    display: none;
}
.bg-title li em {
    padding: 0 10px;
    font-size: 13px;
}

/* About */
.about {
    z-index: 2 !important;
}
.about .sppb-col-md-6 {
    margin-bottom: -70px;
}
.about-item .left, .about-item .center {
    width: 20%;
    float: left;
}
.about-item .right {
    width: 60%;
    float: left;
}
.about-item h2 {
    transform: rotate(90deg);
    font-size: 75px;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.about-item h3 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 10px;
    writing-mode: vertical-lr;
    margin: 0px 0 0 -15px;
    font-style: italic;
}
.about-item p {
    margin-left: -30px;
}
.about-title h3 {
    letter-spacing: 15px;
}

/* Product */
.product {
    z-index:  2 !important;
}
.product .sppb-col-md-12 {
    margin-bottom: -60px;
}
.addtocart-bar input.addtocart-button:hover {
    background-color: #000 !important;
}

/* Gallery */
.gallery-title h1, .gallery-item h2 {
    writing-mode: vertical-lr;
}
.gallery-item h2 {
    position: absolute;
    top: 0;
    left: 60px;
    letter-spacing: 20px;
    font-style: italic;
    bottom: 0;
}
.gallery-title h1 {
    margin: 0;
    letter-spacing: 10px;
}
.gallery .sppb-addon-single-image-container:hover img {
    opacity: 0.8;
}

/* Support */
.support .sppb-col-md-6 {
    margin-top: -80px;
}

/* Services */
@-webkit-keyframes flipInX {
    from {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

@keyframes flipInX {
    from {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}
.services-column:hover .ser-title h2 {
	-webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/* Testimonials */
.testimonials {
    z-index: -1 !important;
}

/* Brand */
.brand {
    z-index: 2 !important;
}
.brand .sppb-row > div:last-child {
    margin-bottom: -80px;
}

/* FAQs */
.faqs-item .sppb-panel-modern>.sppb-panel-heading {
    background: #fff;
}
.faqs-item .sppb-panel-title {
    font-size: 17px;
    color: #000;
}

/* 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;
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
    margin: 0;
    background: #fff;
}
.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 10px 30px 10px;
    border-radius: 0px 0px 0px 0px;
    background: #F5F5F5;
    text-align: center;
}
.jm-category-module.default .jmm-text .jmm-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}
.jm-category-module.default .jmm-readmore {
    margin-top: 20px;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
    text-align: center;
}
#sp-bottom h2 {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-bottom: 20px;
}
.shrewd_solution_icon  {
    margin-top: 25px;
}
#sp-bottom1 img {
    margin: 0 auto;
    max-width: 90px;
    margin-top: 20px;
}
#sp-bottom ul li a {
    margin: 0 15px;
    text-transform: uppercase;
}
.shrewd_solution_icon ul, .shrewd_solution_icon ul li, #sp-bottom ul li {
    display: inline-block!important;
    padding: 0!important;
    margin-bottom: 0px !important;
}
.shrewd_solution_icon ul li a {
    font-size: 15px !important;
    line-height: 40px;
    color: #fff;
    text-align: center;
    border-radius: 0;
    border: none;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    height: 40px;
    margin: 0px;
}
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}
.shrewd_solution_icon strong {
    display: none;
    margin: 0 20px;
}
#sp-bottom ul li strong {
    display: none;
}
#sp-bottom ul li span {
    padding-right: 10px;
}

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

/*** Responsive Layout ***/
@media (min-width: 992px) and (max-width: 1280px) {
    .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
        font-size: 12px !important;
    }
    #sp-bottom:before {
        content: none;
    }
}
/* 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-item h2 {
        font-size: 55px;
    }
    .feature .sppb-col-md-6 {
        margin-bottom: 30px;
    }
}

/* 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;
    }
    .slider-item h2 {
        font-size: 45px;
    }
    #sp-bottom h2 {
        font-size: 45px;
    }
}

/* 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, .about-column, .testimonials, .portfolio, .question {
    background-color: var(--background-color);
}
.addtocart-bar input.addtocart-button, .feature-item a:hover {
    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 h1,
.about-item h2, .title h2 {
    color: var(--text-color);
}
.control-buttons button:hover {
    color: var(--text-color) !important;
}
.btn {
    border-color: var(--text-color);
}
.addtocart-bar input.addtocart-button {
    border-color: var(--text-color) !important;
}
