/*** General CSS ***/
body {
    line-height: 1.9em;
}
body.home #sp-main-body {
    padding: 0;
    display: none;
}
body.home section {
    margin: 0px 3%;
}
body.home {
    background: #f4f4f4;
}
.article-details.home {
    display: none;
}
/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 999;
    font-size: 15px;
    padding: 12px 0 12px;
}

/* Header Menu */
#sp-header {
    top: 0px;
    padding: 10px 3%;
    height: inherit;
    z-index: 9999;
    position: relative;
    box-shadow: none;
}
#sp-header:before {
    content: '';
    position: absolute;
    left: 3%;
    width: 25%;
    background: #fff;
    height: 100%;
    top: 0;
}
body:not(.home) #sp-header:before {
    left: 0;
}
body:not(.home) #sp-header,
#sp-header.header-sticky {
    top: 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}
.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 {
    position: relative;
}
.sp-megamenu-parent>li.active>a {
    font-weight: 600;
}
#sp-logo {
    background: #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-size: 15px;
    font-weight: 500;
}
.burger-icon>span {
    background-color: #222;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #222;
}

/*** Block Styles ***/
/* Button */
a.btn {
    border: none;
    padding: 18px 35px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff !important;
}
a.btn:hover {
    color: #fff !important;
  	background: #49c8d1;
}

/* Category */
span.mfp_cat a {
    font-size: 14px;
    color: #64778a !important;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: inline-block;
}

/* Content Top */
#sp-content-top .sp-column {
    padding-top: 35px;
}

/* Position1 */
.mfp_block_title {
    display: none;
}
#sp-position1 .tns-nav {
    position: relative;
    bottom: -40px;
    z-index: 3;
}
#sp-position1 .tns-controls {
    position: relative;
    bottom: -40px;
    z-index: 2;
    padding-right: 20px;
}
#sp-position1 .mfp_carousel_item {
    position: relative;
    margin-bottom: 0 !important;
}
#sp-position1 .mfp_carousel_item span {
    position: absolute;
    bottom: 0px;
    padding: 10px 35px 30px;
    background: #fff;
    width: 70%;
    border: 1px solid #eee;
    border-top: none;
}
#sp-position1 .mfp_carousel_item h4 {
    position: absolute;
    bottom: 50px;
}
#sp-position1 .mfp_carousel_item h4 {
    position: absolute;
    bottom: 60px;
    padding: 30px 35px 10px;
    width: 70%;
    background: #fff;
    margin-bottom: 0;
    border: 1px solid #eee;
    border-bottom: none;
}
#sp-position1 .mfp_carousel_item h4 a {
    font-size: 30px !important;
}
#sp-position1 img {
    box-shadow: 0px 0px 10px 0px #2222227a;
    margin-bottom: 0;
}

/* Position2 */
#sp-position1 .sp-module, #sp-position2 .sp-module {
    margin-bottom: 10px;
}
#sp-position2 .sp-module {
    margin-top: 48px;
}
#sp-position2 h4.mfp_masonry_title a {
    font-size: 20px !important;
}
#sp-position2 span.mfp_cat, #sp-position2 .mfp_masonry_title, #sp-position2 .mfp_masonry_introtext {
    padding: 0 20px;
}
#sp-position2 .mfp_masonry_skin_card .mfp_masonry_item div {
    padding-bottom: 27px;
    border: none;
}
#sp-position2 span.mfp_cat {
    margin-bottom: 5px;
    padding-top: 10px;
}
div#tns1-ow > button {
    position: absolute;
    top: 40px;
    z-index: 3;
    right: 20px;
    background: transparent;
}

/* Position3 */
#sp-position3 .sp-module {
    padding-bottom: 60px;
}
#sp-position3 h4.mfp_masonry_title a {
    font-size: 20px !important;
    padding-top: 5px !important;
    display: inline-block;
    line-height: 28px;
}

/* Position4 */
#sp-position4 .sp-module {
    padding: 80px 0;
}
#sp-position4 img, #sp-position4 p {
    margin-bottom: 0 !important;
}

/* Position6 */
#sp-position7  h2,
#sp-position6  h2 {
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 10px;
}
#sp-position6 .sp-module:last-child {
    margin-left: -200px;
    margin-top: 40px;
}
#sp-position7 .mfp_carousel_item div,
#sp-position6 .mfp_carousel_item div {
    border: none;
    background: #fff;
    padding: 20px;
    border: 1px solid #eeeeeed6;
    box-shadow: 0px 0px 14px 0px #eee;
}
#sp-position7 .mfp_carousel_item div h4 a,
#sp-position6 .mfp_carousel_item div h4 a {
    font-size: 22px !important;
}
#sp-position6 .sp-module:first-child {
    padding-left: 65px;
    padding-top: 30px;
}
#sp-computing .sp-column {
    padding: 80px 0 60px;
}

/* Position7 */
#sp-position7 .sp-module:first-child {
    padding-right: 65px;
    padding-top: 30px;
}
#sp-position7 .sp-module:last-child {
    margin-right: -200px;
    margin-top: 40px;
}
#sp-smart-home .sp-column {
    padding: 0px 0 60px;
}
#sp-position7 .mfp_carousel_skin_default .tns-nav {
    text-align: left;
}
#sp-position7 .mfp_carousel_skin_default .tns-controls {
    float: left;
}

/* Position9 */
#sp-position9 .sp-column {
    padding: 80px 0 60px;
}
#sp-position9 .mfp_masonry_title a {
    font-size: 20px !important;
}
#sp-position9 .mfp_masonry_skin_card .mfp_masonry_item div {
    padding: 10px 10px 30px;
    background: #fff;
}

/* Blog */
.mfp_default_item:hover img {
    opacity: 0.8;
}
.mfp_default_skin_default .mfp_default_item .mfp_introtext {
    font-size: 16px !important;
}

/* Bottom */
#sp-bottom {
    box-shadow: 0px 0px 5px 0 #eee;
}
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    line-height: 30px;
    font-weight: 500;
    text-align: left;
    font-size: 16px;
}
#sp-bottom p {
    line-height: 28px;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 20px;
    text-align: left;
    background: transparent;
    padding: 0;
    color: #172842;
}
.shrewd_solution_icon ul, .shrewd_solution_icon ul li {
    display: inline-block!important;
    padding: 0!important;
    margin-bottom: 0px !important;
}
.shrewd_solution_icon ul li a {
    font-size: 21px;
    -webkit-transition: .5s;
    transition: .5s;
    margin-right: 20px;
    display: inline-block;
}
.shrewd_solution_icon ul li a:hover {
    background: #fff;
}
#sp-bottom4 span,
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}
#sp-bottom4 strong,
.shrewd_solution_icon ul li a em strong {
    display: none;
}
#sp-bottom1 ul.menu-link li a {
    text-transform: uppercase;
    display: inline-block;
    padding: 0 20px;
}
#sp-bottom1 ul.menu-link li {
    display: inline-block;
}
#sp-bottom .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 15px !important;
}
#sp-bottom span.mfp_date {
    color: #fdf5f5 !important;
}
#sp-bottom .sp-module {
    margin-top: 0;
}
#sp-bottom4 span {
  	padding-right: 10px;
}
#sp-bottom3 .sp-module ul>li>a {
    display: inline-block;
    margin: 0;
}

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

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}
@media (max-width: 1299px) {
  	#sp-position5 span.mfp_cat a {
    	top: 135px;
	}
  	.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    	font-size: 14px !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;
        border-radius: 0;
        top: 0;
    }
    body, body p {
        font-size: 16px !important;
    }
    #sp-position6 .sp-module:last-child {
    	margin-left: 0px;
  	}
  	#sp-position6 .sp-module:first-child {
    	padding-left: 0;
  	}
  	#sp-position6 .sp-module:first-child {
        padding-left: 0;
        padding-top: 0;
	}
  	#sp-position1 .mfp_carousel_item h4 {
        position: relative;
        bottom: 0;
        width: 100%;
        border: none;
        padding: 0;
   }
  	#sp-position1 .mfp_carousel_item span {
        position: relative;
        bottom: 0px;
        width: 100%;
        border: none;
        padding: 0;
 	}
  	#sp-position7 .sp-module:last-child {
    	margin-right: 0;
  	}
  	#sp-position1 .mfp_carousel_item h4 a {
    	font-size: 22px !important;
	}
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    body #sp-header {
        top: 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;
}
body.home .article-introtext .readmore a, .sp-mod-title:after,
a.btn {
    background-color: var(--background-color);
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover, 
#sp-bottom ul li span {
    color: var(--text-color);
}
#sp-position1 .mfp_default_skin_default .mfp_default_item .mfp_default_title a:hover {
    color: var(--text-color) !important;
}
#sp-top-bar {
    border-color: var(--text-color);
}
