body {
    letter-spacing: 0.5px;
}
:focus {
    outline: none !important;
}
@media(max-width:991px){
h1 { font-size: 28px !important; }
h2 { font-size: 22px !important; }
h3 { font-size: 22px !important; }
h4 { font-size: 20px !important; }
h5 { font-size: 18px !important; }
h6 { font-size: 18px !important; }
body { font-size: 14px !important; }
}
@media only screen and (max-width: 480px){
body, p {
    font-size: 14px;
}}

/*header*/
header#sp-header {
    background: #222629;
    border-top: none !important;
    box-shadow: none !important;
}
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li.active:hover > a, .sp-megamenu-parent > li:hover > a {
    color: #fff !important;
}
header .secondary-menu > li > a, header .sp-megamenu-parent > li > a {
    color: #fff;
    transition: 0.3s;
}
.sp-megamenu-parent > li.active > a:before,
.secondary-menu > li.active > a:before,
.sp-megamenu-parent > li:hover > a:before, .secondary-menu > li:hover > a:before {
    bottom: 0;
    background: #fff;
    width: 100% !important;
}
.sp-megamenu-parent > li > a:before {
    bottom: 0;
    margin: auto;
}
#sp-top-bar .sp-module {
    display: inherit;
}
section#sp-top-bar {
    background: #222629;
}
div#sp-menu1 {
   /* border-top: 0.5px solid #717171;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 65.5%;
    flex: 0 0 73%;
    max-width: 73%;*/
}
.secondary-menu > li, .sp-megamenu-parent > li {
    padding-right: 30px;
}
.logo-image {
    /* margin-top: -42px; */
    transition: 0.3s;
    height: 60px!important;
}
.logo-image:hover {
    opacity: 0.8;
}
#sp-header.header-sticky {
    height: 50px;
}
#sp-header.header-sticky .logo-image {
    margin: 0px;
    height: 40px!important;
}
#sp-header.header-sticky .logo {
    height: 50px;
}
#sp-header.header-sticky #sp-menu1 {
    border: none;
}
#sp-header.header-sticky .secondary-menu > li > a, #sp-header.header-sticky  .sp-megamenu-parent > li > a {
    line-height: 50px;
}
@media(max-width:991px){
section#sp-top-bar .sppb-addon-content {
    font-size: 11px;
}
section#sp-top-bar .sppb-col-md-12 {
    padding: 0px;
    padding-right: 15px;
}}
@media(min-width:992px){
#sp-menu1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 65.5%;
    flex: 0 0 65.5%;
    max-width: 65.5%;
}}
@media(max-width:991px){
.logo img {
    max-height: 38px;
    width: auto !important;
    /* padding-bottom: 5px; */
    transition: 0.3s;
    /* margin-top: -55px; */
}
#sp-header.header-sticky .logo img {
    max-height: 45px;
    width: auto !important;
    padding-bottom: 5px;
    margin: 0px;
}
#sp-header.header-sticky #offcanvas-toggler {
  line-height: 50px;
}}
.secondary-menu .menu-child li a:after, .sp-megamenu-parent .sp-dropdown .menu-child li a:after, .secondary-menu .sp-dropdown-inner li a:after, .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner li a:after {
    background-color: #212529 !important;
}
@media (max-width: 990px){
#sp-menu2 .sp-megamenu-wrapper {
    justify-content: end !important;
    padding-right: 0px;
}}
@media(max-width:991px){
#sp-header .logo {
    height: 45px;
}
header#sp-header {
    height: 45px;
}}

/*off canvas*/
#offcanvas-toggler:hover .icon-bar > span, #offcanvas-toggler:focus .icon-bar > span {
    border-color: #ffffff90;
}
#offcanvas-toggler .icon-bar > span {
    border-color: #fff;
}
a#offcanvas-toggler {
    margin-right: -50px;
    line-height: 45px;
    height: 45px;
}
@media(min-width:769px){
a#offcanvas-toggler {
    margin-right: -120px;
    line-height: 45px;
    height: 45px;
}}

@media(min-width:992px){
  a#offcanvas-toggler {
    display: none;
}}







/*page title*/
#sp-header.header-sticky ~ section#sp-main-body {
    padding: 0px;
}
.sp-page-title {
    padding: 200px 0px;
}
.sp-page-title h2 {
    color: #fff;
    text-shadow: 0px 0px 8px #000;
}
@media(max-width:991px){
.sp-page-title {
    padding: 100px 0px;
    background-attachment: scroll;
}
}
.sp-page-title:after {
    display: none;
}

/*off-canvas*/

.offcanvas-menu {
    background: #fff;
    background-image: url(/images/001-Yuwang/offcanvas.jpg);
    background-size: cover;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li a {
    color: #000;
}
.close-offcanvas {
    border: none;
    color: #000;
}
.close-offcanvas:hover {
    color: #000000b3;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li.active > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li:hover > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li:focus > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li.active > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:hover > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:focus > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li.active > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:hover > a, .offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:focus > a {
    color: #ffffff82;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul >li > a {
    padding-left: 50px;
}
#offcanvas-toggler >i {
    color: #000;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li .offcanvas-menu-toggler {
    color: #000;
}
.offcanvas-menu {
    background: #222629;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.menu > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.menu > li > a:before, .offcanvas-menu .offcanvas-inner .sp-module ul.menu-child > li > a:before {
    background-color: #fff;
}
.close-icon:before, .close-icon:after {
    background-color: #fff !important;
}
.close-offcanvas:hover .close-icon:before, .close-offcanvas:hover .close-icon:after { 
    background-color: #ffffff90 !important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul {
    display: inherit !important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul li a {
    color: #fff;
    padding-left: 18px;
    font-weight: 400;
}


/*sp-bottom*/
#sp-bottom #sp-bottom2 ul.nav.menu li {
    margin-bottom: 0px;
}
.bottom-payment-img img {
    width: 335px;
}
@media(max-width: 991px){
#sp-bottom1 .sp-module {
    margin-top: 0px;
}
.bottom-payment-img img {
    width: 100%;
}}
#sp-bottom .sp-module .sp-module-title {
    font-size: 16px !important;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 15px;
}
@media(max-width:991px){
#sp-bottom .sp-module .sp-module-title {
    margin-bottom: 0px;
}
#sp-bottom2, #sp-bottom3  {
    margin-bottom: 50px;
}
}
#sp-bottom ul >li a {
    color: #8e7a2e;
}
#sp-bottom ul >li a:hover, #sp-bottom ul >li:active a {
    color: #fff !important;
}

#sp-bottom ul >li.current.active a {
    color: #fff !important;
}
section#sp-bottom {
    background-color: #222629;
    padding: 50px 0px;
}
#sp-bottom .sp-module .menu {
    text-align: left;
    line-height: 1.5;
    text-transform: capitalize;
}
#sp-bottom .sp-module ul > li > a {
    color: #fff;
    letter-spacing: 1px;
}
#sp-bottom .sp-module .sppb-icons-group-list li {
    padding: 0px;
}

/*footer*/
#sp-footer {
    background-color: #222629;
}
span.sp-copyright {
    font-size: 14px;
}
@media(Max-width:991px){
#sp-footer {padding: 10px 0px 100px 0px !Important;}
}
#sp-footer .container-inner {
    padding: 10px 0px;
}
span.sp-copyright {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 1px;
}
.sp-copyright a {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 1px;
    transition: 0.3s;
}
.sp-copyright a:hover {
    opacity: 0.5;
}

/*scroll-up*/
a.sp-scroll-up {
    right: 100px;
    bottom: 30px;
    background: #222629;
    border-radius: 0px;
}
a.sp-scroll-up:before {
    color: #000;
}


/*live-chat*/
#phone {
    right: 80px !important;
}
#whatsapp {
    right: 10px !important;
}

/*scroll dropdown*/
/*-------------------------
      SCROLLBAR
--------------------------*/
/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #5d5d5d;
  border-radius:50px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    width: 270px !important;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    border-radius: 0px;
    padding: 0px;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span {
    text-transform: uppercase;
    font-size: 14px;
}
span#hover_icon {
    color: white;
}


/*--------------------------------
    ASTERISK
--------------------------------*/

.bfbs3-glyphicon-asterisk:before {
    content: "\002a"!important;
    color:red!important;
    font-family: 'poppins'!important;
    font-style: normal!important;
    padding-left: 5px!important;
  font-size: 16px;
}

/*focus color clicked*/
.contact-form input:focus, .contact-form textarea:focus {
    box-shadow: 0 0 0 0.2rem #e1e1e1;
    border-color: #e1e1e1;
}

/*autofill*/
.contact-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #e6f0f9 inset!Important}

/*choose-file-button*/
.ff_elem::-webkit-file-upload-button {
  background:#2d2d2d;
  border: 0px;
  padding: 5px 20px;
  color: white;
  border-radius: 0px;
  margin-left: 0px;
}

.ff_elem::-webkit-file-upload-button:hover {
  background:#e1e1e1;
  border:0px;
  transition: .5s ease;
  cursor:pointer; 
}

/*selection*/
::selection {
  color: #fff;
  background: #000;
}

/*form*/
.bfQuickMode .bfbs3-form-inline .bfbs3-form-control, .bfQuickMode .form-inline .form-control {
    display: inline-block !important;
}



/*END*/