html {
  scroll-behavior: smooth;
}


@supports (-webkit-touch-callout: none) {
    .sppb-section { transform: translate3d(0,0,0)!important; background-attachment:scroll!important;}
}

h1,h2,h3,h4,h5,h6{font-weight:700!important;}

.sppb-addon-title {
    line-height: 1.2;
}

@media (max-width: 767px) {
    body, p { font-size: 14px; }
    h1.sppb-addon-title {font-size: 28px !important;line-height: 1.2;}
    h2.sppb-addon-title { font-size: 28px !important; line-height: 1.2; }
    h3.sppb-addon-title { font-size: 26px !important; line-height: 1.3; }
    h4.sppb-addon-title { font-size: 22px !important; line-height: 1.3; }
    h5.sppb-addon-title { font-size: 16px !important; line-height: 1.4; }
    .sppb-addon-title br { display: none; }
    .sppb-addon-content { font-size: 14px; }
}

/*-------------------------
   row-padding
--------------------------*/
.x-padding-top {
    padding-top: 80px!important;
}
@media screen and (max-width: 991px){
.x-padding-top {
    padding-top: 50px!important;
}}

.x-padding-bottom {
    padding-bottom: 80px!important;
}
@media screen and (max-width: 991px){
.x-padding-bottom {
    padding-bottom: 50px!important;
}}
.x-padding-both {
    padding: 80px 0 80px 0!important;
}
@media screen and (max-width: 991px){
.x-padding-both {
    padding: 50px 0 50px 0!important;
}}


/*header*/
@media (max-width: 767px){
div#sp-logo {
    padding: 0;
}}

div#sp-logo.col-xs-10 {
    padding: 0;
}

#sp-header {
    background: transparent;
    /* position: fixed; */
    /* padding: 0 2% 0 5%; */
}

#sp-header.menu-fixed {
    background: #fff;
}

.sp-megamenu-parent {
    float: left;
    width: 100%;
}

.sp-megamenu-parent >li >a, .sp-megamenu-parent >li >span {
    /* border-bottom: 2px solid transparent; */
    text-transform: capitalize;
    font-weight: 500;
    color: #3f4537;
    letter-spacing: 0.5px;
}

.sp-megamenu-parent >li.active>a, .sp-megamenu-parent >li:hover>a {
    color: #3f4537;
    /* border-color: #9896b4; */
}

.sp-megamenu-parent >li.active>a {
    font-weight: 700;
    font-family: 'Playfair Display';
}

/*.sp-megamenu-parent >li:last-child {
    float: right;
}

.sp-megamenu-parent >li:last-child a {
    background: #0084d6;
    display: inline;
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
}

.sp-megamenu-parent >li:last-child:hover a,
.sp-megamenu-parent >li:last-child:focus a {
    background: #fd8f21;
}*/

.sp-megamenu-parent >li {
    position: relative;
}

.sp-megamenu-parent >li:before {
    content: '';
    background: #52574b;
    height: 0px;
    width: 2px;
    position: absolute;
    left: 0;
    right: 0;transition:0.5s ease;
    margin: auto;
}

.sp-megamenu-parent >li:hover:before {
    content: '';
    background: #52574b;
    height: 22px;
    width: 2px;
    transition:0.5s ease;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

body.dark-theme-header #sp-header.menu-fixed-out .logo img {
    filter: brightness(0) invert(1);
}

body.dark-theme-header #sp-header.menu-fixed-out .sp-megamenu-parent >li >a,
body.dark-theme-header #sp-header.menu-fixed-out .sp-megamenu-parent >li >span {
    color: rgb(255 255 255 / 50%);
}

body.dark-theme-header #sp-header.menu-fixed-out .sp-megamenu-parent >li.active>a,
body.dark-theme-header #sp-header.menu-fixed-out .sp-megamenu-parent >li:hover>a {
    color: #3f4537;
}

/*body.dark-theme-header #sp-header.menu-fixed-out .sp-megamenu-parent >li:last-child a {
    color: #fff;
}*/


#sp-position8 {
    line-height: 90px;
}

@media (max-width: 991px) {
    div#sp-position8 { float: right; }
    div#sp-menu {float: right;width: fit-content;padding-left: 0;}
}

@media (max-width: 767px) {
    div#sp-position8 { line-height: 70px; }
    #sp-header .logo { height: 70px; }
    #sp-header {height: 70px;padding: 0 0 0 15px;}
    #sp-position8 .sppb-btn.sppb-btn-default { font-size: 12px; padding: 12px 15px; }
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    padding: 5px;
    top: -2px;
    position: relative;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span {
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    padding: 8px 10px;
    text-align: left;
}

#sp-position8 .sppb-btn.sppb-btn-default {
    background: #0084d6;
    color: #fff;
    border: none;
    -webkit-animation: menu-glowing 1500ms infinite;
    -moz-animation: menu-glowing 1500ms infinite;
    -o-animation: menu-glowing 1500ms infinite;
    animation: menu-glowing 1500ms infinite;
}

#sp-position8 .sppb-btn.sppb-btn-default:hover, #sp-position8 .sppb-btn.sppb-btn-default:focus {
    background: #fd8f21;
}

@-webkit-keyframes menu-glowing {
  0% { background-color: #0084FF; -webkit-box-shadow: 0 0 3px #0084FF; }
  50% { background-color: #0084FF; -webkit-box-shadow: 0 0 20px #0084FF; }
  100% { background-color: #0084FF; -webkit-box-shadow: 0 0 3px #0084FF; }
}

@-moz-keyframes menu-glowing {
  0% { background-color: #0084ff; -moz-box-shadow: 0 0 3px #0084FF; }
  50% { background-color: #0084FF; -moz-box-shadow: 0 0 20px #0084FF; }
  100% { background-color: #0084FF; -moz-box-shadow: 0 0 3px #0084FF; }
}

@-o-keyframes menu-glowing {
  0% { background-color: #0084FF; box-shadow: 0 0 3px #0084FF; }
  50% { background-color: #0084FF; box-shadow: 0 0 20px #0084FF; }
  100% { background-color: #0084FF; box-shadow: 0 0 3px #0084FF; }
}

@keyframes menu-glowing {
  0% { background-color: #0084FF; box-shadow: 0 0 3px #0084FF; }
  50% { background-color: #0084FF; box-shadow: 0 0 20px #0084FF; }
  100% { background-color: #0084FF; box-shadow: 0 0 3px #0084FF; }
}

/*end of header*/

/*menu icon*/
i.fa.fa-bars{position:relative;transform: scale(0.37);transform-origin: top left;}
.fa-navicon:before,
.fa-reorder:before,
.fa-bars:before {
    content: url(/images/0_betterment/others/menu-icon.png)!important;
    transform: scale(0.2);
    transform-origin: top left;
    position: absolute;
    margin-top: -66px;
    left: -75px!important;
    filter: invert(25%) sepia(3%) saturate(2425%) hue-rotate(44deg) brightness(94%) contrast(90%);
}


/*end of menu icon*/



/*bottom & footer*/

#sp-bottom {
    font-size: 14px;
    line-height: 1.5;
    border-top: 1px solid #eee;
}

#sp-bottom .sppb-addon-text {
    font-size: 14px;
}

#sp-bottom .sp-module .sp-module-title {
    color: #020411;
    font-weight: 700;
    text-transform: capitalize;
    font-size: 16px;
}

#sp-bottom .sppb-addon-icons-group {
    align-items: center;
}

#sp-bottom ul.nav.menu li {
    margin-bottom: 0px !important;
}

#sp-bottom ul >li a {color: #1a1a1a;line-height:2.2;padding: 0!important;}

#sp-bottom .sppb-icons-group-list li a {
    line-height: 1;
}

@media (max-width: 767px) {
   /* #sp-bottom2, #sp-bottom3 { width: 50% !important; }*/
    #sp-bottom .row>div:last-child { margin-bottom: 0; }
    #sp-bottom .sppb-addon-feature .sppb-icon .sppb-icon-container >i { font-size: 16px !important; width: auto !important; height: auto !important; line-height: 1 !important; } 
    #sp-bottom .sppb-addon-feature .sppb-icon .sppb-icon-container { margin-bottom: 0 !important; }
    #sp-bottom br { display: block; }
}


#sp-footer {
    padding: 15px 0;
}

#sp-footer a {
    font-weight: 400;
    color: #fff;
}

#sp-footer a:hover {
    color: #d1ac49;
}

#sp-footer span.sp-copyright {
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

@media (max-width: 767px) {
    #sp-footer { padding-bottom: 80px; }
    #sp-footer span.sp-copyright { font-size: 13px; }
}

@media only screen and (min-width: 992px) {div#sp-bottom2{display: flex;justify-content: flex-end;}div#sp-bottom3 {display: flex;justify-content: center;}}

#sp-bottom a:hover {opacity: 0.5;color: #3f4537;transition:0.5s ease;}


/*end of bottom*/

/*products footer */

#sp-products .sp-module .sp-module-title {
    margin-top: 0;
    margin-bottom: 15px;
}    

#sp-products .sp-module ul >li >a:before {
 display:none;
}

#sp-products .sp-module ul >li {
  display: block;
  border-bottom: 0px solid #e8e8e8;
}

#sp-products .sp-module ul >li >a {
  color: #3f4537;
  padding:0px;
  line-height: 2.2!important;
  background: transparent;
  outline: none;
}

#sp-products .sp-module ul >li >a:hover {
  color: #3f4537;
  opacity:0.5;
  background: none!important;
  outline: none;
}

#sp-products .sp-module .sp-module-title {
  font-family: 'Poppins';
}

section#sp-products {
    padding: 0px 0px 50px 0;
    position:relative;
}

section#sp-products:before{
    position:absolute;
    content:'';
    background: #3f453766;
    width: 78%;
    left: 0;
    right: 0;
    margin: auto;
    height: 1px;
    top: -50px;
}

@media (max-width: 767px){
section#sp-products {padding: 30px 0px 50px 0;position:relative;}section#sp-products:before{position:absolute;content:'';background: #3f453766;width: 92%;left: 0;right: 0;margin: auto;height: 1px;top: -13px;}}


@media only screen and (max-width: 480px){
#sp-products .row>div {
    width: 100%;
    margin-bottom: 30px;
}}

/*end of products footer*/





/*page title*/

.sp-page-title {
    background-attachment: scroll;
    background-position: 50% -1px;
    padding: 80px 0 100px;
}

@media (max-width: 767px) {
    .sp-page-title { padding: 50px 0 100px; }
}

/*end of page title*/



/*livechat*/

.scrollup {
    border-radius: 0px;
    bottom: 25px;
    background: #9a4f30;
    right: 100px;
    color: #fff!important;
}

.scrollup:before {
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    color: #fff;
}



/*end of livechat*/


#offcanvas-toggler { line-height: 90px; }

.offcanvas-menu {
    background: #fbf7ec!important;
}

.close-offcanvas { color: #000; }

.offcanvas-menu {
    border-left: 4px solid #9a4f30!important;
}

.offcanvas-menu .offcanvas-inner .sp-module:first-child {
    margin-top: 0;
    padding: 50px 20px;
}

.offcanvas-menu .offcanvas-inner .sp-module ul li a {
  color:#464646 !important;
}

.offcanvas-menu li.current.active a {
  color: #fff!important;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li:hover > a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li:focus > a {
  background: #9a4f309c !important;
  color:#fff!important;
}
  

.offcanvas-menu .offcanvas-inner .sp-module ul > li.active > a{
  background: #9a4f30 !important;
  color: #fff!important;
}


@media (max-width: 767px) {
    #offcanvas-toggler { line-height: 70px; }
}



/*fix feature box issue*/

/**************feature box**************/

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature {
  border: 0px solid transparent;
  padding: 0px;
}

.sppb-addon.sppb-addon-feature.sppb-text-center {
  padding: 0 !important;
  border: 0px !important;
}

.sppb-addon.sppb-addon-feature.sppb-text-center:hover {
  background: transparent !important;
}

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover {
  background: transparent;
  border: 0px;
  padding: 0px;
  color: #303030!important;
}

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover .sppb-addon-title.sppb-feature-box-title {
  color: inherit !important;
}

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover .sppb-addon-text {
  color: inherit !important;
}

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover .sppb-addon-text,
.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover .sppb-addon-title.sppb-feature-box-title,
.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature:hover .sppb-icon span i {
  color: inherit !important;
}

@media (max-width: 480px) {
    .sppb-section:not(.spectrum-faq-list) .sppb-addon-feature .sppb-addon-title { margin-bottom: inherit !important; }
}

.sppb-section:not(.spectrum-faq-list) .sppb-addon-feature .sppb-addon-text {
  font-size: 14px;
}

.sppb-icon .sppb-icon-container > i {font-size: 18px!important;width: 20px!important;height: 20px!important;line-height: 31px!important;}


/*end of fix feature box issue*/

/**************contact us**************/

.spectrum-contact-info .sppb-addon-text-block .sppb-addon-content {
  font-size: 14px;
}

/*end of contact us*/

/*career*/
.career-nav a {
    background: #9a4f30; 
    color:#fff!important;
    padding: 8px 15px;transition:0.5s ease;
    border-radius: 0px;
}

.career-nav a:hover {
    background: #52574b;
    color:#fff!important;
    padding: 8px 15px;
    transition:0.5s ease;
    border-radius: 0px;
}

/*end of career*/

/*gallery*/
.view-album section#sp-main-body,.view-albums section#sp-main-body {
    background: #fbf7ec;
    padding-top: 50px;
}

span.speasyimagegallery-gallery-item-title {
    display: none;
}
.speasyimagegallery-row > div > .speasyimagegallery-gallery-item {
    padding: 10px;
    border: 1px solid #9a4f30;
    margin: 8px;
}
/*end of gallery*/

/*faq*/
.sppb-panel-heading.active .sppb-toggle-direction {
    -webkit-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(45deg);
}

/*end of faq*/


/*news*/
@media (max-width: 767px){
.news-date .sppb-addon-content {
    font-size: 30px;
}}
/*end of news*/