/*** General CSS ***/
body {
    line-height: 1.9em;
}
body.home #sp-main-body {
    padding: 0;
}
.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: 0px;
    height: inherit;
    z-index: 9999;
}
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 {
    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-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 ***/
/* Title */
body.home .sp-module-title {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    background-color: #304ffe;
    display: inline-block;
    padding: 10px 30px 10px 8px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
}
body.home .sp-module-title:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    z-index: 1;
    border-top: 20px solid transparent;
    border-bottom: 17px solid transparent;
    border-right: 16px solid #fff;
    right: 0;
}

/* Position1 */
#sp-position1 .mfp_default_item h4.mfp_default_title, 
#sp-position2 .mfp_default_item h4.mfp_default_title {
    position: absolute;
    bottom: 45px;
    left: 20px;
    padding: 0px 5px 5px;
    display: inline;
    background: #ffffffe0;
    right: 20px;
}
#sp-position1 span.mfp_date,
#sp-position2 span.mfp_date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #ffffffe0;
    padding: 0px 5px;
}
#sp-position1 .mfp_default_item img,
#sp-position2 .mfp_default_item img {
    margin-bottom: 0;
}

/* Position3 */
#sp-position3 .sp-module:first-child .mfp_default_item > div {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
#sp-position3 .sp-module:last-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 21px !important;
}
#sp-position3 .sp-module:last-child {
    padding-bottom: 30px;
}

/* Position4 */
#sp-position4 .sp-module {
    margin-bottom: 30px;
}

/* Position5 */
#sp-position5 .sp-column {
    padding: 60px 0 50px;
}
body.home #sp-position5 .sp-module-title {
    background-color: transparent;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 13px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}
body.home #sp-position5 .sp-module-title:before {
    background-image: linear-gradient(-45deg,transparent,transparent 30%,currentColor 30%,currentColor 50%,transparent 50%,transparent 80%,currentColor 80%);
    background-size: 5px 5px;
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    top: 0;
}
body.home #sp-position5 .sp-module-title:after {
    content: none;
}
#sp-position5 .sp-module:last-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 18px !important;
}
#sp-position5 .mfp_default_skin_default .mfp_default_item .mfp_date {
    color: #fff;
} 
#sp-position5 .mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title a {
    font-size: 20px !important;
}
#sp-position5 .mfp_default_item h4.mfp_default_title {
    position: absolute;
    bottom: 35px;
    padding: 0px 20px;
    z-index: 2;
}
#sp-position5 span.mfp_date {
    position: absolute;
    padding: 10px 20px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#sp-position5 .mfp_default_item img {
    margin-bottom: 0;
}
#sp-position5 div > a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.93) 70%);
}
#sp-position5 div > a {
    position: relative;
}

/* Position6 */
#sp-position6,
#sp-position7 {
    padding-top: 60px;
    padding-bottom: 20px;
}
#sp-position6 .sp-module:first-child .mfp_default_skin_default .mfp_default_item .mfp_default_title a {
    font-size: 22px !important;
}

/* Position7 */
#sp-position7 .mfp_block_title {
    display: none;
}
#sp-position7 div#tns1-ow {
    margin-top: -40px;
}
#sp-position7 .mfp_carousel_skin_default .mfp_carousel_item .mfp_carousel_title a {
    font-size: 20px !important;
}
.mfp_carousel_skin_default .tns-outer button[data-action] {
    background: transparent;
}

/* Category */
span.mfp_cat a {
    display: inline-block;
    padding: 4px 13px;
    border-radius: 2px !important;
    text-transform: capitalize;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 10px;
    color: #fff !important;
}
span.mfp_cat a:hover {
    color: #fff !important;
    background: #222;
}
.mfp_default_item:hover img {
    opacity: 0.5;
}

/* Popular Tags */
.tagspopular ul {
    padding: 0;
    list-style: none;
}
.tagspopular li a {
    padding: 5px 20px;
    background: #eee;
    margin: 0px 5px 7px 0;
    border-radius: 30pc;
}
.tagspopular li, .tagspopular li a {
    display: inline-block;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
    line-height: 30px;
    font-weight: 500;
}
#sp-bottom p {
    line-height: 28px;
}
#sp-bottom .sp-module .sp-module-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: none;
    display: block;
    padding: 0 0 12px;
}
#sp-bottom .sp-module .sp-module-title:after {
    content: none;
}
.shrewd_solution_icon {
    margin-top: 0px;
}
.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: 17px;
    line-height: 50px;
    width: 50px;
    text-align: center;
    height: 50px;
    border-radius: 3px;
    border: none;
    -webkit-transition: .5s;
    transition: .5s;
    margin-right: 10px;
    display: inline-block;
    color: #fff;
}
.shrewd_solution_icon ul li a:hover {
    background: #222;
    color: #fff;
}
#sp-bottom4 ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#sp-bottom4 ul li, #sp-bottom4 ul a {
    display: inline-block;
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 13px;
    overflow: hidden;
}
#sp-bottom4 ul li span,
.shrewd_solution_icon ul li a em {
    font-family: "Font Awesome 5 Brands";
}
.shrewd_solution_icon strong {
    display: none;
    margin: 0 20px;
}
#sp-bottom4 {
    text-align: center;
}
#sp-bottom4 ul li span {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    background: #fff;
    margin-right: 10px;
    color: #fff !important;
}
#sp-bottom ul li strong,
#sp-bottom4 ul li strong {
    display: none;
}
#sp-bottom ul li span {
    padding-right: 10px;
}
#sp-bottom4 ul li span.fa-facebook-square {
    background: #0d47a1;
}
#sp-bottom4 ul li span.fa-twitter-square {
    background: #40c4ff;
}
#sp-bottom4 ul li span.fa-instagram {
    background: #893dc2;
}
#sp-bottom4 ul li span.fa-pinterest {
    background: #bd081c;
}
#sp-bottom4 ul li span.fa-youtube {
    background: #ff0000;
}
#sp-bottom4 ul li span.fa-envelope {
    background: #0084ff;
}
#sp-bottom4 ul li span.fa-envelope {
    font-family: "Font Awesome 5 Free";
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer {
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}
/* 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-position7 div#tns1-ow {
        margin-top: 0px;
    }
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
    body #sp-header {
        top: 0;
    }
    .check-list ul.left, .check-list ul.right {
        width: 100%;
    }
}

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

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
ul.social-icons li a span, ul.sp-contact-info li span, body.home .article-introtext .readmore a,
.shrewd_solution_icon ul li a, span.mfp_cat a {
    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,
.title h3, #sp-bottom ul li span,
div#sp-position4 span.mfp_date, #sp-position8 .mfp_author, #sp-position8 span.mfp_date {
    color: var(--text-color);
}
.page-item.active .page-link,
#sp-position1 .sp-module:last-child .mfp_default_skin_default .mfp_default_item:first-child div {
    border-color: var(--text-color);
}
#sp-position1 .sp-module:last-child span.mfp_date {
    color: var(--text-color) !important;
}
