.black {
    background-color: rgba(44, 45, 50, 0.6);
    width: 100%;
}

#mainNav{
    height: 80px;
    background: #333333;
}

#page-top{
    margin-top: 60px;
}

.logo{
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../img/0519icon/HHH-logo-w.svg);
    /* transition: background-image 500ms ease-in-out; */
}

.logo:hover, .logo:active{
    background-image: url(../img/0519icon/HHH-logo-o.svg);
}

.navbar-brand-m-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (min-width: 768px) {

    .logo{
        display: inline-block;
        width: 141px;
        height: 41px;
    }

    .d-md-block{
        display: block;
    }

    .d-md-none{
        display: none;
    }

    .share-boxs {
        position: fixed;
        right: 25px;
        top: 0px;
        z-index: 99999;
        margin: 10px 9px 0 20px;
    }

    .share-icons a {
        display: inline-block;
        width: 55px;
        height: 55px;
        background-repeat: no-repeat;
        background-position: center center;
        transform: scale(0.7);
        -webkit-transition: 0s;
        -moz-transition: 0s;
        transition: 0s;

    }
}

@media screen and (min-width: 300px) and (max-width: 767px) {

    #mainNav{
        height: 50px;
    }

    .hhh-index-m{
        background-size: cover;
        background-repeat: no-repeat;
        background-image: url(../img/0519icon/Logo3.svg);
        /* transition: background-image 500ms ease-in-out; */
        display: inline-block;
        width: 30px;
        height: 30px;
    }

    .hhh-index-m:hover, .hhh-index-m:active{
        background-image: url(../img/0519icon/Logo2.svg);
    }

    .logo{
        background-size: contain;
        display: inline-block;
        width: 120px;
        height: 36px;
    }

    .d-none{
        display: none;
    }

    .d-block{
        display: block;
    }
    /* SHARE BOX */
    .share-boxs {
        position: fixed;
        right: 3px;
        top: 4px;
        z-index: 99999;
        display: none;
    }

    .share-icons a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-transition: 0s;
        -moz-transition: 0s;
        transition: 0s;

    }
}

.share-icons {
    float: left;
    margin: 0 -5px;
}

.share-icons a:hover {
    background-position: center center;

    -webkit-transition: 0s;
    -moz-transition: 0s;
    transition: 0s;
}

.hhh-index a {
    background-image: url(../img/0519icon/Logo3.svg);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .5));
}

.line-friend a {
    background-image: url(../img/0519icon/LINE3.svg);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .5));
}

.fb-share a {
    background-image: url(../img/0519icon/FB3.svg);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .5));
}

.yt-share a {
    background-image: url(../img/0519icon/YT3.svg);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .5));
}

.ig-share a {
    background-image: url(../img/0519icon/IG3.svg);
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, .5));
}

.hhh-index a:hover {
    background-image: url(../img/0519icon/Logo2.svg);
}

.line-friend a:hover {
    background-image: url(../img/0519icon/LINE2.svg);
}

.fb-share a:hover {
    background-image: url(../img/0519icon/FB2.svg);
}

.yt-share a:hover {
    background-image: url(../img/0519icon/YT2.svg);
}

.ig-share a:hover {
    background-image: url(../img/0519icon/IG2.svg);
}

.navbar-brand img {
    height: 28px !important;
}

.navbar-brand-pd {
    padding: 10px !important;
}

/* tool box start*/
.icon-tool-box-wrapper {
    width: 50px;
    position: fixed;
    /* bottom: 3%;
    right: 1%; */
    bottom: 30px;
    right: 15px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.icon-tool {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: cover;
    margin: 5px 0;
    -webkit-box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);

}

.icon-toTop {
    background-image: url(../img/0519icon/top1.svg);
    opacity: 1;
}

.icon-toTop:hover, .icon-toTop:active {
    cursor: pointer;
}

.icon-calculator {
    background-image: url(../img/0519icon/estimate2.svg);
    opacity: 1;
}

.icon-calculator:hover, .icon-calculator:active {
    cursor: pointer;
}

.icon-demand {
    background-image: url(../img/0519icon/advisory2.svg);
    opacity: 1;
}

.icon-demand:hover, .icon-demand:active {
    cursor: pointer;
}

.icon-share {
    background-image: url(../img/0519icon/share1.svg);
    opacity: 1;
}

.icon-share:hover, .icon-share:active {
    cursor: pointer;
}

/* tool box end*/

/*分享社群媒體 start*/

.icon-media-wrapper {
    width: 200px;
    height: 50px;
    position: fixed;
    /* bottom: 3.5%;
    right: 4.2%; */
    bottom: 35px;
    right: 77px;
    z-index: 99;
    -webkit-box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 5px 3px 1px -3px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    display: none;
}

.icon-media-wrapper.active {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
}

.icon-media-block {
    width: 100%;
    position: relative;
    background-color: #fff;
}

.icon-media-box-wrapper {
    position: absolute;
    top: 14%;
    width: 100%;
}

.icon-media-box {
    padding: 0 1rem;
    background-color: #fff;
    display: flex;
    justify-content: space-evenly;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
}

.icon-media-item {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 33%;
}

.icon-media-item-line {
    background-image: url(../img/0519icon/share-LINE1.svg);
    width: 33%;
    /* transition: background-image 500ms ease-in-out; */
}

.icon-media-item-line:hover, .icon-media-item-line:active {
    background-image: url(../img/0519icon/share-LINE2.svg);
    width: 33%;
    cursor: pointer;
}

.icon-media-item-fb {
    background-image: url(../img/0519icon/share-FB1.svg);
    width: 33%;
    /* transition: background-image 500ms ease-in-out; */
}

.icon-media-item-fb:hover, .icon-media-item-fb:active {
    background-image: url(../img/0519icon/share-FB2.svg);
    width: 33%;
    cursor: pointer;
}

.icon-media-item-wechat {
    background-image: url(../img/0519icon/share-wechat1.svg);
    width: 33%;
    /* transition: background-image 500ms ease-in-out; */
}

.icon-media-item-wechat:hover, .icon-media-item-wechat:active {
    background-image: url(../img/0519icon/share-wechat2.svg);
    width: 33%;
    cursor: pointer;
}

@media screen and (max-width: 576px) {
    .icon-tool-box-wrapper {
        display: none;
    }
}

/*分享社群媒體 end*/
@media screen and (max-width: 576px) {
    .empty {
        height: 70px;
        display: block;
    }
}

/*置底選單 start*/

@media screen and (max-width: 576px) {
    .top-btn-wrapper {
        display: block;
        position: fixed;
        right: 2%;
        bottom: calc(61px + 1%);
    }

    .top-btn {
        width: 50px;
        height: 50px;
    }

    .footer-fix {
        display: block;
        padding-top: 5px;
        width: 100%;
        background-color: #313131;
    }

    .fixed-bottom {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
    }

    .d-flex {
        display: flex;
    }

    .footer-fix-wrapper {
        width: 20%;
        text-align: center;
        text-decoration: none;
    }

    .footer-fix-wrapper:active, .footer-fix-wrapper:visited {
        background-color: #313131;
        text-decoration: none;
    }

    .footer-fix-title {
        margin-top: 5px;
        color: #EE7800;
        font-size: 10px;
    }

    .footer-fix-wrapper:nth-child(3), .footer-fix-wrapper:nth-child(4), .footer-fix-wrapper:nth-child(5) {
        padding-top: 2px;
    }
}

@media screen and (min-width: 576px) {
    .footer-fix, .top-btn-wrapper {
        display: none;
    }
}






/*滑動按鈕*/
.btn-box {
  position: fixed;
  right: 13px;
  bottom: 170px;
  z-index: 10;
  font-size: 32px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .btn-box {
    right: 5px;
    bottom: 85px;
  }
}
.btn-box a {
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-box button {
  width: 46px;
  height: 46px;
  margin: 3px 0;
  border: none;
  border-radius: 5px;
  /* box-shadow: 0px 2px 3px #ccc; */
  background: rgba(255, 255, 255, 0.9);
}
.btn-box button:hover {
  transition: all 0.5s;
  background: rgb(255, 255, 255);
}
.btn-box button:hover img {
  filter: invert(50%) sepia(50%) saturate(4600%) hue-rotate(365deg) brightness(100%) contrast(100%);
}
.btn-box button img {
  width: 20px;
}
.btn-box .btn-gotop img {
  position: relative;
  top: -5px;
}
.btn-box .calculator-btn p,
.btn-box .shop-btn p {
  display: none;
  width: 0px;
  margin-right: -5px;
  margin-bottom: 0;
  overflow: hidden;
  color: #ee751b;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.6s;
}
.btn-box .calculator-btn.show a img,
.btn-box .shop-btn.show a img {
  width: 22px;
  margin-left: 3px;
  position: relative;
  left: 8px;
}
.btn-box .calculator-btn.show a p,
.btn-box .shop-btn.show a p {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
}
.btn-box .calculator-btn.show {
  width: 120px;
  margin-left: -75px;
}
.btn-box .shop-btn.show {
  width: 95px;
  margin-left: -50px;
}


.btn-box:focus-visible{

outline: none;

}


.btn-box button:focus-visible{

outline: none;

}
