* {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html,body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    /* -webkit-user-select: none;   */                /* prevent copy paste, to allow, change 'none' to 'text' */
}
html{
  touch-action: manipulation !important;
  -ms-touch-action: manipulation !important;
}
body{
  -webkit-overflow-scrolling: touch;  
  background-color: #fff;
}
.d-flex{display: flex;}
.align-items-center{-ms-flex-align: center!important; align-items: center!important;}
.justify-content-between{justify-content: space-between;}
.read-more-sq.text-purple{color:#673AB7 ;}
.logo .logo_title{display: flex;align-items: center;height: 100%;}
.logo .logo_title h4{
    font-size: 24px;
    margin-bottom: 0px;
}
.logo .logo_title img{width: 450px;display: block;margin-right: 5px;height: auto}
.logo .logo_title p{
    font-size: 14px;
    margin-bottom: 0px;
    margin-left: 3px;
}
.logo:hover .logo_title p{color: #888888 !important}
.logo_title > div{width: 100%;}
.logo_title:not(.index) h4,.logo_title p{
    /* width: 58%; */ 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.is-transparent .logo .logo_title h4{color: #fff;}
.is-transparent .logo .logo_title img{filter: brightness(100);}
.is-transparent .logo:hover .logo_title p,.is-transparent .logo:hover .logo_title h4{color:#BEBEBE !important}
.fltp,.main-menu .item{position: relative;}
.index .article-sq.item.caption-sq > .item-inner .typo-sq{padding:20px;min-height: 100px}
.index .article-sq.item.caption-sq > .item-inner .typo-sq a p{font-size: 22px}
.ui~.en-placehloder,.fltp input ~.en-placehloder{
    position: absolute;
    top: -9px;
    left: 0;
    color: #666;
    font-size: 14px;
    transition: ease all 0.3s ;
}
.header-left.flex-order-tablet-second{
    flex: 0 0 60%;
    max-width: 60%;
    display: inline-block;
    justify-content: flex-start;
}
.header-right.flex-order-tablet-third{flex: 0 0 35%;}
.ui.valid~.en-placehloder,.ui.visible~.en-placehloder{left: 33px;}
.fltp input:focus ~.en-placehloder,.fltp input.val ~.en-placehloder{left: 46px;}
/* .menu-default > ul.main-menu{margin-top: -3px} */
.header-section.bg-lighter .header-content ul li a span{
    color:#4b4a4a;
    font-weight:700;
}
.header-section.bg-lighter .header-content ul li{
    -webkit-transition: ease all 0.3s ;
    transition: ease all 0.3s ;
}
.header-section.bg-lighter .header-content ul li.active,
.header-section.bg-lighter .header-content ul li:hover{
    background-color: var(--main);
}
.header-section.bg-lighter .header-content ul li.active span,
.header-section.bg-lighter .header-content ul li:hover span{
    color: #fff;
}
.header-section.ths ul.main-menu > li:last-child span:not(:first-child):before{
    content: '';
    border-left: 1px solid #efefef;
    height: 20px;
    position: relative;
    transform: translateX(-15px);
    top: 1px;

}
.main-menu .item .en{position: absolute;bottom:-5px;left: 0;right: 0;text-align: center;color:#777;display: none;}
.submenu.transition .f13{display: none;}
.main-menu .item .en.member{bottom: -15px;}
.scroll{overflow: auto;white-space: nowrap;/* overflow-y: hidden; */padding-bottom: 20px;position: relative;}

.phone_input,.divided-column,.paper_box,.video_box,.service_box,.honer_box{position: relative;}
ul.nolist li:before{content: none}
.typo-section-sq .typo-section-header-sq{padding-top: 50px}
.applied-filters{
    padding-left: 50px !important;
    padding-right: 15px !important;
    position: relative;
    margin: 16px 0 !important;
    overflow: hidden;
    width: calc(100vw - 80px);
}
.applied-filters:before{
    content: '領域：';
    position: absolute;
    top: 2px;
    left: 20px;
}
.applied-filters ul{
    overflow-x: scroll;
    display: flex;
}
.applied-filters ul::-webkit-scrollbar {
    width: 5px;
   height: 8px;
}
.add-wishlist{
    position: absolute;
    z-index: 2;
    right: 10px;
    top: 10px;
    color: #fff;
    text-align: center;
    opacity: .8;
}
.add-wishlist i{border-radius: 25px;font-size: 30px;margin-right: 0;text-shadow: 0 0 10px rgb(0 0 0 / 20%);}
.add-wishlist:hover,.add-wishlist i:hover{color: #fff;opacity: 1}
.add-wishlist.add i{color:#F44336; }
.add-wishlist.add{opacity: 1}
.magic-grid.hover-scale > .item:nth-child(2n):hover .image-wrapper{
    -webkit-transform: scale(0.96, 0.98);
    -moz-transform: scale(0.96, 0.98);
    -ms-transform: scale(0.96, 0.98);
    -o-transform: scale(0.96, 0.98);
    transform: scale(0.96, 0.98);
}
.list_filter .zone .item{
    border-right: 1px solid #E6E6ED;
}
.pagination li.page-item{padding:0;}
.pagination li.page-item a{
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
}
.pagination li.active a{background-color:var(--main);color: #fff;}
.pagination li i{margin-right: 0;font-size: 16px}
.product_list li{margin-bottom: 25px;}
.product_list li h6{margin-bottom: 5px;}
.product_list a{text-decoration: underline;color: #444;}
.product_list a:hover,.header-section.ths .profile-item .active .item{color:#3f91ca;}
.header-section.ths .profile-item .item:not(.menu-default){height: 50px;transform: translate(0px, -4px);}
.menu-default.icons-left .submenu li{margin-bottom: 7px;}
.menu-default.icons-left .submenu a{display: block}
.menu-default.icons-left .submenu li.active .f13,.menu-default.icons-left .submenu li:hover .f13{color: #3f91ca !important}
.menu-default.icons-left .submenu span{
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
}
.menu-default.icons-left .submenu div{
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    transform: translateY(-10px);
}
.profile-image-change-text {
    position: relative;
    background: rgba(0,0,0,.5);
    font-size: 15px;
    bottom: 0;
    color: #fff;
    display: block;
    height: 40px;
    line-height: 37px;
    right: 0;
    bottom: -140px;
    width: 100%;
    z-index: 3;
    text-align: center;
    cursor: pointer;
}
.header-section.mhs select{border-color: transparent !important}
.phone_input input{padding-left: 75px;}
.country_code{
    position: absolute;
    bottom: 1px;
    left: 1px;
    background-color: #eee;
    height: 49px;
    width: 61px;
    line-height: 49px;
    padding: 0 10px;
}
.del_service{
    position: absolute;
    top: 10px;
    right: -14px;
    background: #ddd;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 30px;
    color: #848484;
    text-shadow: 0 0 10px rgba(8, 8, 8, 0.4);
    background-color: #eee;
    border-radius: 50px;
    /* border: 2px solid #ddd; */
    padding: 8px;
    z-index: 3;
}
.del_service i{
    font-size: 14px;
    position: absolute;
    left: 9px;
    top: 9px;
    color: #444;
}
.div-c label{display: inline-block}
.paper_box,.video_box{
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 15px;
}
.service_box{
    margin-bottom: 20px;
    /* border-bottom: 1px solid #eee; */
}
.paper_box .del_service,.video_box .del_service{top: -12px}
.service_box .del_service{top:-10px;}
.honer_box .del_service{top: 50px}
.flex-align-left.flex-grow-true .item [type="submit"]{min-height: 3em;border-radius: 2px}
.mhs .menu-default.burger-modal-styles input:focus{border-color: #3f91ca}
.submenu li .item .f13{line-height: 1.6}
.submenu li.active .item .f13{   
    color: var(--main) !important;
    opacity: .5;
}
.profile-item.has-submenu{margin-top: 6px;}
.scroll .inline-menu-sq.list-style-inline-sq li{
    position: relative;
    border-right: 1px solid #eee;
    min-width: 100px;
    text-align: center;
}
.scroll .inline-menu-sq.list-style-inline-sq li:last-child{border-right: none;}
.scroll .inline-menu-sq.list-style-inline-sq li .f13{ position: absolute; bottom: 8px;}
.scroll .inline-menu-sq.list-style-inline-sq li.active .f13{color: #262626 !important}
.scroll .inline-menu-sq.list-style-inline-sq li a{padding-bottom: 0;}
.uploadfile{
  width: 0.1px; 
  height: 0.1px; 
  opacity: 0; 
  overflow: hidden; 
  position: absolute; 
  z-index: -1;
}
.uploadfile + label {
    width: calc(100%);
    font-size: .95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    cursor: pointer;
    color: #666;
    border: 1px solid #D4D4D4;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    margin-bottom: 0px;
    min-height: 11.13px;
    align-items: flex-end;
    justify-content: center;

}
.uploadfile + label span{ width: 100%;}
.inpage.list-default-sq li{padding:10px }
.inpage.list-default-sq li a{word-break: break-word}
.article-sq.item .image-sq.nobefore:before{content:none;}
.checkin input {
    display: none
}
.checkin label {
    display: block;
    border: 1px solid #CCC;
    color: #b4b4b4;
    padding: 2px 8px;
    line-height: 30px;
    min-height: 45px;
    min-width: 80px;
    margin: 5px ;
    border-radius: 4px;
}
.checkin input[type=checkbox]+label:before{content: none}
.checkin input[type=checkbox]+label:after{
    color: #b4b4b4;
    opacity: 1;
    top: 10px;left: 10px;
}
.checkin input[type=checkbox]+label:hover{color: #666}
.checkin input[type=checkbox]:checked +label:after,.checkin input[type=checkbox]:checked +label:hover{ color: #fff}
.checkin input[type=checkbox]+label{padding: 0 10px 0 35px;line-height: 45px;width: calc(100% - 10px);font-size: 15px;}
.checkin input:checked + label {
    background-color: #3aabdd;
    color: #fff;
    /* box-shadow: 0 0 5px rgba(175, 226, 255, 0.5); */
}
.checkin input:disabled + label {
    opacity: 0.7;
}
input[type="submit"]{-webkit-appearance:none}
.card{
    padding: 15px;
    background: #fff;
    margin-top: 8px;
    border: 1px solid #eee;
    border-radius: 8px;
}
.call_area{
    display: none;
    border-radius: 0 0 4px;
    margin:0 5px 15px !important;
    width: calc(100% - 11px) !important;
}
.status:checked ~ .call_area{
    display: block;    
    transform: translateY(7px);
}
.input-group {
    display: flex;
    align-items: center;
}
.input-group button {
    width: 20%;
}
.mail-box {
    border: 1px solid #eee;
    display: block;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 16px;
    transition: all 0.3s;
}
.mail-box:hover {
    background-color: #eee;
}
.mail-others {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 16px;
}
.mail-box .mail-title {
    color: #484848;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mail-content-wrapper .mail-title {
    color: #484848;
    margin-bottom: 2px;
}
.mail-box .mail-from {
    width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mail-box .mail-date {
    width: 15%;
}
.mail-content-wrapper .text-box {
    padding-top: 24px;
    letter-spacing: 0.6px;
    line-height: 30px;

}
.warning-box {
    position: relative;
    margin-bottom: 12px;
}
.alert-text ,
.alert-text2 {
    position: absolute;
    bottom: 0;
    left: 0;
    color: red;
    font-size: 15px;
    display: none;
}
.alert-text.show,
.alert-text2.show {
    display: block;
}
#mail-modal .header {
    margin: 0;
    padding: 32px;
}
.orcid-btn {
    background-color: #a6ce39;
}
.orcid-btn:hover,
.orcid-btn:active,
.orcid-btn:focus {
    background-color: #98c02b;
}
.meeting-btn {
    background-color: #ca9043;
}
.meeting-btn:hover,
.meeting-btn:active,
.meeting-btn:focus {
    background-color: #c08333;
}
.orcid-content-item {
    margin-bottom: 8px;

}
.orcid-content-item.big-item {
    margin-bottom: 16px;
}
.typo-header-sq.typo-header-sq-smbt {
    margin-bottom: 8px;
}


/* -----------
20220624  ADD
------------*/
.f30{font-size: 30px !important;}
.f36{font-size: 36px !important;}
.bg-gray{background-color: #fafafa !important;}
.border-right {
    border-right: 1px solid #DADADA !important;
}
.border-left {
    border-left: 1px solid #DADADA !important;
}
.border-right-light{border-right: 1px solid rgba(0, 0, 0, 0.06) !important;}
.border-bottom-light {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.border-top-light {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.por_r{position: relative;}
.opacity-7{opacity: .7;}
.d-block{display: block;}
section.bg-gray{padding: 48px 0;}
.font-weight-semibold{font-weight: 600 !important;}
.text-main {
    color: #086ea8;
    color: var(--main);
}
.titleBox h2{   
    font-size: 30.8px;
    font-weight: 500;
}
.titleBox h1{
    font-size: 36.4px
}
.titleBox:before {
    content: '';
    width: 3px;
    height: 100%;
    background-color: #83c0d7;
    background-color: var(--mainlight);
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 20px;
}
.text-dark.titleBox:before{background-color: #014271;background-color: var(--maindark);}
.border-bottom-light.border-top-light{border-bottom-width:1px !important;border-top-width:1px !important;}
.titleBox{margin-left: 20px;}
.titleBox.text-main:before{ background-color:#086ea8;background-color: var(--main);}
.news_area .four.wide{
    border-right: 1px solid #eee;
    margin-bottom: 48px !important;
}
.news_area .four.wide:nth-child(3n),.profession.magic-grid .item:nth-child(3n):after {
    border-right: none;
}
.profession.magic-grid .item{
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.profession.magic-grid .item:hover{
    box-shadow:10px 10px 74px -15px rgb(0 0 0 / 33%) !important;
}
.article-sq.item:hover{
    webkit-box-shadow: 10px 10px 74px -15px rgb(0 0 0 / 33%) !important;
    box-shadow: 10px 10px 74px -15px rgb(0 0 0 / 33%) !important;
}
.span-date {
    letter-spacing: 2px;
    color: #777;
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
}
#footer {
    background: #34383d;
    border: none;
    padding: 48px 0;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6{color:#fff;}
#footer p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #95989c;
}
#footer a:not(.btn) {
    color: #fff;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
    padding: 0 8px;
    margin:  0 8px;
    letter-spacing: -0.5px;
}
/* #footer .btn-with-arrow-solid.btn-light {
    position: relative;
    background-color: #fff;
    color: #797b7e;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    border-color: #d9d9d9 #d9d9d9 #bfbfbf;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 48%;
    border-radius: 4px;
} */
#footer .btn-with-arrow-solid.btn-light {
    position: relative;
    background-color: #fff;
    color: #797b7e;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    border-color: #d9d9d9 #d9d9d9 #bfbfbf;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
    border-radius: 4px;
}
#footer .btn-with-arrow-solid.btn-light:hover{
    background-color: #f2f2f2;
    border-color: #e6e6e6 #e6e6e6 #cccccc;
}
#footer .btn-with-arrow-solid.btn-dark {
    position: relative;
    background-color: #34383d;
    color: #fff;
    display: inline-block;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    padding: 10px 12px;
    margin-bottom: 16px;
    cursor: pointer;
    border-color: #34383d;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
    border-radius: 4px;
}
#footer .btn-with-arrow-solid.btn-dark:hover{
    background-color: #2a2929;
    border-color: #2a2929;
}
.btn-with-arrow-solid span {
    top: 22%;
    right: 10px;
    text-align: center;
    position: absolute;
    background-color: #f2f2f2;
    color: #797b7e;
    font-size: 10px;
    display: inline-block;
    height: 25px;
    line-height: 24px;
    width: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all .1s linear;
}
#footer .btn-with-arrow-solid.btn-light:hover span {
    background-color: #f2f2f2;
    color: #797b7e;
    font-size: 10px;
    transform: translateX(5px);
}
.btn-with-arrow-solid.btn-dark span {
    top: 22%;
    right: 10px;
    text-align: center;
    position: absolute;
    background-color: #474b50;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    height: 25px;
    line-height: 24px;
    width: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all .1s linear;
}
#footer .btn-with-arrow-solid.btn-dark:hover span {
    background-color: #4b4b4b;
    color: #cccccc;
    font-size: 10px;
    transform: translateX(5px);
}
.titlewithline{font-size: 22.68px;margin-bottom: 20px;margin-top: 15px;}
.titlewithline:before {
    content: '';
    position: absolute;
    border-top: 1px solid #53585e;
    width: calc(100% - 150px);
    left: 130px;
    top: 16px;
}
.promo-content:before{
    content: '';
    background-color: rgb(255 255 255 / 30%);
    width: 1px;
    height: 50px;
    position: absolute;
    right: 50%;
    top: 25px;
}
.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 16px 0  !important;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.breadcrumb li {
    padding: 5px 12px 5px 12px;
    border-right: 1px solid #e5e4e4;
    line-height: 1;
    letter-spacing: 2px;
    font-size: 14px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.breadcrumb li:before,.pagination li:before{content: none;}
.breadcrumb li:last-child {
    border-right: none;
}
.post_date p{
  padding: 25px 2px;
  margin-bottom: 0px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: #999;
}
.post_date p.tagname{color:#086ea8;color: var(--main);border-top:2px solid #086ea8;border-top: 2px solid var(--main);
  font-size: 20px;letter-spacing: 2px}
.post_date_back{padding: 25px 2px;}
.post_date_back a{
    color: #999;
    font-size: 16px;
    word-break: break-all;
}
.icon_close {
    background-color: #999;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin-right: 12px;
    color: #fff;
    font-size: 24px;
}
.divider {
    border: 0;
    height: 1px;
    margin: 66px auto 0;
    background: rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    clear: both;
}
.divider.pattern {
    background: none;
    position: relative;
}
.divider [class*="fa-"], .divider .icons {
    text-align: center;
    background: #FFF;
    border-radius: 50px;
    border: 1px solid #CECECE;
    color: #a9a9a9;
    display: inline-block;
    height: 50px;
    line-height: 50px;
    position: absolute;
    text-align: center;
    width: 50px;
    font-size: 20px;
    margin: 0 auto 0 -25px;
    top: -25px;
    left: 50%;
    z-index: 1;
}
.divider [class*="fa-"]:after{
    border: 3px solid #f7f7f7;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 100%;
    left: -4px;
    padding: 1px;
    position: absolute;
    top: -4px;
    width: 100%;
}
html .divider.divider-quaternary .icons {
    color: #242424;
}

.divider.pattern:after{
    background: transparent url(../images/worn_dots.png) repeat 0 0;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 50%;
    width: 100%;
}
.box_title{
    position: relative;
    text-align: center;
    font-weight: 400;
    letter-spacing: 2.5px;
    color:#086ea8;
    color: var(--main);
    border-bottom: 3px solid #086ea8;
    border-bottom: 3px solid var(--main);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.box_title:before{
  content: '';
  position: absolute;
  border-bottom:1px solid #086ea8;
  border-bottom: 1px solid var(--main);
  opacity: .7;
  display: block;
  width: 97%;
  left: 1.5%;
  bottom: -13px;
}
.profession.magic-grid .item:after{
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    right: -20px;
    border-right: 1px solid #eee;
    margin-bottom: 48px !important;
}
.login .white-section{
    margin-top: 30px;
    transform: translateX(-30%);
}
#read_url{min-width: 90px;}
.alert_txt{
    padding: 8px;
    background-color: #e5f4fc;
    margin-bottom: 10px;
    color: #2875a1;
}
h3.text-main.dk{font-weight: 600;}
.dog_bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-image: url(../images/dot.png);
    pointer-events: none;
}
.hero-search-full-page.low-sq.next-sq ~ .light-section-sq{margin-top:150px ;}
.header-section.bg-lighter .header-content{background-color: #e0e8ed;}
.header-section.ths ul.main-menu > li:not(:last-child){display: none;}
.header-section.mhs.bg-lighter ul.main-menu > li:last-child{display: none;}
html .scroll-to-top {
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    background: transparent;
    border-radius: 4px 4px 0 0;
    bottom: 10px;
    color: #2e84b5;
    display: block;
    height: 9px;
    opacity: 0;
    padding: 10px 10px 35px;
    position: fixed;
    right: 10px;
    text-align: center;
    text-decoration: none;
    min-width: 50px;
    z-index: 1040;
    font-size: 0.8em;
  border: 1px solid #2e84b5;
}

html .scroll-to-top:hover {
    opacity: 1;
}

html .scroll-to-top.visible {
    opacity: 0.75;
  border-radius: 3px !important;
  bottom: 10px;
  border: 1px solid #2e84b5;
  background-color: transparent !important;
  color: #2e84b5;
}

html .scroll-to-top span {
    display: inline-block;
    padding: 0 5px;
}

html.lightbox-opened .scroll-to-top {
    right: 27px;
}

html.ie11 .scroll-to-top {
    right: 25px;
}
.map_item{
  padding: 10px 12px;
  display: block;
  font-size: 18px;
  border-radius: 2px;
  color: #fff !important;
}
.bg-main {
    background-color: #086ea8;
    background-color: var(--main);
}
.bg-mainlight {
    background-color: #83c0d7;
    background-color: var(--mainlight);
}
.bg-lighter {
    background-color: #e0e8ed;
    background-color: var(--lighter);
}
.map_item.bg-mainlight{margin-top: 25px}
ul.list-unstyled {
    padding-left: 0;
    padding-right: 0;
    list-style: none;
    margin-top: 0;
    margin-left: 0;
}
.modal-button{
    height: 48px;
    line-height: 1.3;
}
.scroll_btn{
   display:none;
}



:root{
    --font:'Noto Sans TC', 'Noto Serif TC', "Poppins",-apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial,"Microsoft JhengHei" , "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
    --main:#086ea8;
    --maindark:#014271;
    --mainlight:#83c0d7;
    --lighter: #e0e8ed;
}
  ::-webkit-scrollbar {
    width: 0.25rem  !important;
    border-radius: 0.125rem  !important;
}

::-webkit-scrollbar:vertical {
    width: 6px  !important;
}

::-webkit-scrollbar:horizontal {
    height: 6px  !important;
    width: 15px !important;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px !important;
  height: 3px  !important;
  background: #eee !important;
  /* box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5) !important; */
}
::-webkit-scrollbar-thumb:hover{
    opacity: .3;
}

::-webkit-scrollbar-track {
    border-radius: 0.125rem  !important;
    background-color: white  !important;
}

/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media only screen and (min-width: 1200px){
    .ui.grid.container.large{
        width: calc(80vw)!important;
    }    
}
@media (max-width: 1367px) {}


@media (max-width: 1025px) {
	.logo .logo_title h4{font-size: 18px;}
	.logo .logo_title p{font-size:10px}
}


@media (max-width: 820px) {
	.header-item .logo.item img{width: 350px} 
    .main-menu .item .en{text-align: left;bottom: -9px;}
    .hamburger .hamburger-box {height: 0}
	.is-transparent .flex-order-tablet-third.flex-align-right{background-color:rgb(255 255 255 / 0%)}
    .profession.magic-grid .item:nth-child(3n):after{border-right: 1px solid #eee;}
    .profession.magic-grid .item:nth-child(2n):after { border-right: none;}
    .eight.wide.computer.ml-lg{margin-left: 0 !important;}
    .menu-default.icons-left .submenu li hr{border-color: #d8d8d8;}
    .hero-search-full-page.low-sq{min-height: 400px;}
    .hero-search-full-page.low-sq.next-sq ~ .light-section-sq{margin-top:140px ;}
    .header-section.ths ul.main-menu > li:not(:last-child){display: block;}
    .header-section.ths ul.main-menu > li:last-child{ flex-wrap: wrap}
    .header-section.ths ul.main-menu > li:last-child span:not(:first-child):before{height: 0}
    .login .white-section{transform: translateX(0%);}
    .white-section.typo-section-sq{padding: 25px;}
    .sticky-element.is-after .dashboard-sticky .dashboard-sticky-inner, .sticky-element:not(.after-element) .dashboard-sticky .dashboard-sticky-inner,.switch-view-controller{background: #3f91ca; }
    .bhs .menu-default.burger-modal-styles{background-color: #fff}
    .header-section.mhs.mhs-is-sticky{position: relative;z-index: 99;}
    .bhs .menu-default.burger-modal-styles input{border-color: #c3c3c3 !important;}
    .modal-is-open .magic-grid,.modal-is-open .switch-view-controller{z-index: 0}
    .modal-button.button-sq#search{left: auto;right: 0}
    .modal-button.button-sq.cancel-sq{left: 0;right: auto;}
    .inline-menu-sq {display: flex;margin-left: 0;overflow: auto;padding-bottom: 20px !important;}
    .scroll.begin{
        position: relative;
        mask-image: linear-gradient(to right, black 90%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to right, black 90%, rgba(0, 0, 0, 0) 100%);
    }
    .scroll_btn{
        display: block;
        position: absolute;
        top: 0;
        right: 10px;
        border-radius: 20px;
        width: 30px;
        height: 30px;
        background-color: #fff;
        border: 1px solid var(--main);
        text-align: center;
        color: var(--main);
        line-height: 1.8;
        z-index: 30;

    }

}


 /*iphone plus*/
@media (max-width: 415px) {
    /* .header-section.equal-mobile-header-items .header-item{width: 15%;justify-content: flex-end;} */
    .sidemenu-is-open .header-item.hidden-xs{display: block !important;}
    .has-submenu.active:after {opacity: 0}
    .header-section.ths .item:not(.menu-default){height: 60px;}
    .logo .logo_title h4{font-size: 14px;}
	.logo .logo_title p{font-size:8px}
	.logo .logo_title{ width: 83vw; white-space: nowrap;overflow: hidden;}
    .logo_title.index,.logo_title.index .itme{margin-top: 0;}
    .header-left.flex-order-tablet-second{flex: 0 0 85%;}
    .logo_title h4, .logo_title p{width: 30%}
    /* .flex-order-tablet-third.flex-align-right{background-color:#fff;} */
    .logo.item{/* margin-top: 5px !important; */margin-left: 0 !important;}
    .header-item .logo.item img{width: 250px}
    .header-section.ths .item:not(.menu-default){line-height: 40px}
    .applied-filters{width: calc(100vw - 40px) }
    .applied-filters > a, .applied-filters ul li{margin-top: 6px}
    .applied-filters:before{top: 8px}
    .header-item .logo.item img{margin-top: 0px;}
    .hamburger .hamburger-box{margin-top: 30px}
    .ths .menu-default.burger-sidemenu-styles, .ths .menu-default.burger-sidemenu-styles > ul{background:#fff}
    .ths .menu-default.burger-sidemenu-styles .item,
    .ths .menu-default.burger-sidemenu-styles .item, .ths .menu-default.burger-sidemenu-styles .submenu .item{color: #444}
    .header-section.mhs.header-sticky .header-content{height: 65px }
    /* .inline-menu-sq li{display: inline-block;padding: 10px 12px !important;white-space: nowrap} */
    .inline-menu-sq li{margin-bottom: 0;padding-bottom: 2px !important}
    /* .submenu.transition li{display: block} */
    .dashboard-sticky .dashboard-sticky-inner .item .icon{color:#fff;margin-top: 9px}
    .h-search-h .hero-search-form .search-item .fltp:first-child,.list_filter li .fltp{border-bottom: 1px solid #ddd;}
    .list_filter li:nth-last-child(2) .fltp{border-bottom: none;}
    .list_filter li:nth-last-child(2) .fltp input{height: 50px !important;border-color:#ddd;}
    .h-search-h .hero-search-form .search-item .icon{padding: 0}
    .list_filter li .fltp select{width: 100%}
    #footer {padding: 48px 0 100px;}
    #footer .footer-bottom{padding-bottom: 70px !important}
    #mail-modal .header {
        margin: 0;
        padding: 20px;
    }
    .order-1{order: 1}
    .order-2{order: 2}
    .order-2 .tagname{margin-top: 40px;}
    .white-section.typo-section-sq{padding: 0px;}
    .add-listing-content .white-section.typo-section-sq{padding: 25px;}
    .hero-search-full-page.low-sq.next-sq ~ .light-section-sq{margin-top:0px ;}
    .image-full-height{min-height: 200px}
    .auto_height{margin-top: 15px;}
    .auto_height .slick-dots {bottom:5px;}

}


/*iphone: 7px*/
@media (max-width: 376px) {}



/*iphone 5*/
@media (max-width: 321px) {}


/*iPhone XR*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 2) { 



}

/*iPhone XS*/
@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) { 

}

/*iPhone XS Max*/
@media only screen 
    and (device-width : 414px) 
    and (device-height : 896px) 
    and (-webkit-device-pixel-ratio : 3) { 


}
/*橫拿*/
@media screen and  (orientation:landscape) {}
/*縱拿*/
@media screen and (orientation:portrait) {}
/*設備寬高比*/
@media screen and (device-aspect-ratio: 16/9) {}