@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    touch-action: pan-y;  
}

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' */
}
.text-success{color: var(--main) !important}
.badge-success{background-color:var(--mainhover);}
.f13{font-size: 13px;}
.flex-55{flex: 0 0 77%;}
form .bg-light{background-color: #f3f9fc !important}
form .bg-light.p-3{background-color: #f7f7f7 !important}
form .bg-light .accordion .card-header{background-color: rgba(90, 179, 191, 0.15)}
.input-group-prepend{position: relative;}
.input-group>.input-group-prepend> select{
    border-radius: .25rem 0 0 .25rem;
    position: relative;
    z-index: 2;
    color: #747474;
    border: 1px solid #cbcbcb;
    padding: .375rem 1.75rem .375rem .75rem;  
    transition: all 0.3s ease;
    background-color: #fff;
    -webkit-appearance: none;
}
.input-group-prepend:after{
    border-width: 6px;
    display: block;
    content: "";
    border-style: solid;
    position: absolute;
    right: 10px;
    border-color: #bebebe transparent transparent;
    top: 45%;
    z-index: 2;
    transition: all 0.3s ease;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
.clinic_cover{
    background-position: center;
    background-size: cover;
    width: 60px;
    height: 60px;
    border-radius: 3px;
}
.user_cover{
    width: 35px;
    height: 35px;
    background:url(../images/user-none.png) center/cover;
}
.edit_cover{
    background-position: center;
    background-size: cover;
    width: 150px;
    height: 150px;
    margin-top: 20px;
    border-radius: 50%;
}
.main_cover{
    background-position: center;
    background-size: cover;
    width: 100%;
    padding-bottom: 80%;
    border-radius: 8px;
    
}
.upload_cover{
    background-position: center;
    background-size: cover;
    width: calc(100vw - 2rem);
    height: 55vmin;
}
.team_cover{
    width: 150px;
    margin-bottom: 20px;
}
.team_cover .upload_cover{
    width: 150px;
    height: 150px;
}
.d-flex .team_cover{width: 80px;}
.d-flex .team_cover .upload_cover{width: 80px;height: 80px;border-radius: 100%;flex:0 0 100px;}
.album_cover{
    background-position: center;
    background-size: cover;
    width: 100%;
    padding-bottom: 100%;

}
.article_cover{
    background-position: center;
    background-size: cover;
    width: 100%;
    padding-bottom: 70%;
}
.music-img-box .img-box{overflow: visible;}
.rating{
    list-style: none;
    text-align: left;
    padding: 10px 5px;
}
.rating>li{
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.rating-stars{padding-left: 0}
.rating-stars li{display: inline-block;position: relative;}
.rating-stars li i{color: #d5d5d7}
.rating-stars li i.add,i.add{color: #FFC107;}
.rating-stars li i.half:after{
    content: "\f089";
    position: absolute;
    color: #FFC107;
    left: 0;
    top: 3px;
}
.rotate40{transform:rotate(40deg);}
.btn-45-45 i,.btn-40-40.btn-outline i{line-height: 1.5}
.btn-40-40.btn-outline i{line-height: 1.4;text-align: center;color: var(--main);margin-left: -3px;}
.btn-45-45.btn-outline i{color: var(--main)}
.data-list{padding-bottom: 10px; border-bottom: 1px solid #dddddd;}
.data-list li{
    padding: .8rem 0;
    margin: 0;
    position: relative;
    display: flex;
    /*border-bottom: 1px solid #dddddd;*/
    align-items: flex-start;
    transition: all 0.3s ease;
}
.blockquote{
    margin-bottom: 2rem;
    font-size: 1rem;
    background-image: linear-gradient( 60deg, #ffecd2 0%, #ffdec6 100%);
    padding: 25px 15px;
    border-radius: 8px;
}
.table.docotr{ border-top:1px solid #dee2e6;margin-bottom: 2rem;}
.table.docotr th{
    background-color: var(--main);
    color: #fff;
    border:1px solid 1px solid var(--mainhover);
    padding:5px 2px;
    font-size: 16px;
    vertical-align: middle;}
.table.docotr td{
    padding:5px 1px;
    font-size: 16px;
    vertical-align: middle;
    border:1px solid #dee2e6;
}
.table.docotr td:first-child{
    vertical-align: middle;
}
.table.docotr td:first-child p{line-height: 50px;}
.table.docotr tr:nth-child(odd){background-color: rgba(98, 195, 208, 0.15)}
.table.docotr td p{border-bottom:1px solid #dee2e6;margin-bottom:0;}
.table.docotr td p:last-child{border:none;}
.work .table td{padding: 5px}
.work table td textarea,.work table td input,.work textarea{background-color: rgba(250, 250, 250, 0.5);color: #444;border:1px solid #eee;}
.comments span{
    padding: 5px 8px;
    background-color: rgba(98, 195, 208, 0.2);
    margin: 5px 5px 0 0;
    border-radius: 50px;
    font-size: 12px;
}
.give_comment{
    position: fixed;
    bottom: 10px;
    right: calc((100% - 200px) / 2);
    width: 200px;
    height: 50px;
    z-index: 99;
    background: linear-gradient(120deg, #62c3d0 0%, #73e3db 100%);
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    border-radius: 50px;
    box-shadow:0 0 7px rgba(98, 195, 208, .8);
    /*display: none;*/
}
.give_comment:hover i{color: #fff}
.accordion .btn-link.collapsed{color: #444}
.accordion .btn-link{width: 100%; padding: 0;text-align: left;font-size: 16px;color: var(--mainhover)}
.accordion .btn-link.collapsed .las.arrow:before{content: "\f0da"}
.accordion .btn-link .las.arrow:before{content:"\f0d7"}
.btn-link:hover{color: var(--mainhover)}
.card-header{border-radius: 50px !important;margin-bottom: 15px;}
.card-body{background-color: #ffffff}
.round-xs{border-radius: 8px}
.btn.btn-primary.round:before,.btn.btn-primary.round:after{border-radius: 25px;}
textarea{border:1px solid #eee;border-radius: 8px;width: 100%;padding: 10px;-webkit-appearance: none;}
.form-group{position: relative;}
select.form-control{-webkit-appearance: none;position: relative;}
form.booking .form-control{background-color: #fff;border-radius:8px;padding-right: 25px;border: 1px solid #ddd;}
.custom-radio .custom-control-input:checked~.custom-control-label::before,.custom-checkbox .custom-control-input:checked~.custom-control-label::before{background-color: var(--main)}
.modal-header .close{position: absolute;right: 10px;top: 10px}
.modal-title{width: 100%;text-align: center}
.record_list{padding-left: 0}
.record_list li{
    border-bottom: 1px solid #dddddd;
    padding: 12px 0;
    display: block;
    -ms-flex-align: center!important;
    align-items: center!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;
}
.record_list.edit li>div{flex: 0 0 40%;}
.record_list li> div:first-child{flex: 0 0 55%;}
.record_list li> div:last-child, .record_list li>div:first-child~a{flex: 0 0 45%;}
.record_list li p{margin-bottom: 5px}
.record_list .lead{font-weight: 400;}

/***/
.flex{display: flex}
.record_list li .flex>div:first-child,.record_list li>.flex a:first-child{flex: 0 0 55%;}
.record_list li .flex>div:last-child, .record_list li>.flex>div:first-child~a{flex: 0 0 45%;margin: 0}
.record_list li p{margin-bottom: 5px;line-height: 1.3;}
.record_list li> .flex~.round>button{background-color: transparent;}
.record_list li> .flex~.round .border-left{border-left: 1px solid rgba(0, 0, 0, 0.1) !important}
/***/

.team~.record_list li{display: block}
.team~.record_list li a{
    display: flex;
    -ms-flex-align: center!important;
    align-items: center!important;
    -ms-flex-pack: justify!important;
    justify-content: space-between!important;
}
.login .album-spacer{height: 80vmin;}
.login .album-cover-bg{height: 45vh}
.alert-p{line-height: 1.7}
.edit_clinic .form-control,.edit_clinic .border-bottom{
    background-color:rgba(250, 250, 250, 1);
    border-bottom: 1px solid #dee2e6;
}
[type=submit]{-webkit-appearance:none;background: #ddd;}
.clinic_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(10px);
    overflow: hidden;
}
.clinic_box{overflow: hidden}
.ekko-lightbox-nav-overlay a{opacity: .5}
.ekko-lightbox-nav-overlay a:hover{opacity: 1;color: #fff}
.ekko-lightbox .modal-body{padding: 0}
.edit_tab li{width: 33%;}
.edit_tab li a{font-size: 16px;padding: .5rem !important}
.tagcloud.tag-sm a{
    padding: 2px 8px;
    margin: 0 5px 5px 0;
    font-size: 14px;
}
.tagcloud.tag-sm a:before,.tagcloud.tag-sm a:after{border-radius: 25px;}
.author{
    color: #666;
    display: flex;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding: 10px;
}
.author .edit_cover{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 0
}
.author .text-light{color: #909090 !important;font-size: 13px;}
.btn-outline:hover i{color: #fff}
#now{font-size: 4rem;text-align: center}
.hr.separator:before{
    content: '';
    width: 100%;
    background-color: #eee;
    height: 1px;
    display: block;
    top: 3px;
    position: relative;
    z-index: -1;
}
.delupImg{position: relative;}
.delupImg i{
    position: absolute;
    top: -7px;
    right: -7px;
    font-size: 30px;
    color: var(--main);
    text-shadow: 0 0 10px rgba(8, 8, 8, 0.4);
    background-color: #ffffff;
    border-radius: 50px;
}
.tags.adonis-carousel .owl-stage-outer{margin-bottom: 5px;}
.tags.adonis-carousel .owl-dots{display: block}
.btn-orange{
    color: #fff;
    background-image: linear-gradient(120deg, #f1d16c 0%, #ea7c5c 100%);
}
.btn-green{
    color: #fff;
    background-image: linear-gradient(120deg, #a4e865 0%, #58cc66 100%);
}
.media .btn-outline span{
    position: absolute;
    top: 45px;
    left: 6px;
    color: #666;
    font-size: 12px;
}
form input.form-control::-webkit-input-placeholder{color: #c5c5c5}
form input.form-control:-moz-placeholder{color: #c5c5c5}
form input.form-control::-moz-placeholder {color: #c5c5c5}
form input.form-control:-ms-input-placeholder {color: #c5c5c5}
form.booking .form-control::placeholder{color: #c5c5c5 !important;}
.btn.btn-block{padding: .5rem .75rem}
.btn.btn-block.btn-lg-wide{padding: 0.75rem 3.5rem}
.tagcloud.dark-blue a.btn-dark-blue,.tagcloud.dark-blue a:hover::after,.tagcloud.dark-blue a:hover::before,.tagcloud.dark-blue a::after{background: linear-gradient(120deg, #62c3d0 0%, #26979f 100%);}
.mb0.title-box{margin-bottom: 0}
.tagcloud a.btn-primary:before{
    background: -moz-linear-gradient(120deg, #62c3d0 0%, #26979f 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(120deg, #62c3d0 0%, #26979f 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(120deg, #62c3d0 0%, #26979f 100%);
}
.btn.bg-pink:hover{color: #fff;}
.modal-content input{background: #fff;border:1px solid #dad4d4; width: 100px;margin: 0 auto}
.round-bg{background: var(--main);width: 120px;height: 120px; margin: 15px auto;padding:25px;border-radius: 100px}
.modal-body form .row{
    padding: 20px 8px;
    background: #fefaef;
}
.btn-group button{border-radius: 25px 0 0 25px;}
.btn-group a:before{
    content: '';
    height: 30px;
    border-left:1px solid #ddd;
}
.btn-group a:last-child{border-radius: 0 25px 25px 0}
.btn-outline.btn-blue{color:#447f8b !important }
.btn-outline.btn-blue::before{-webkit-box-shadow: 0 0 0 1px #78a7b1 inset;
    box-shadow: 0 0 0 1px #78a7b1 inset;}
/*-------------------------------
   2021 擴充案
--------------------------------*/
.lead .badge{vertical-align: top}
.record_list li .flex h4.lead{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.badge-pill{line-height: 1.2;margin-bottom: 5px;}
.booking ~ .p-3.mb-sm table.table{margin-bottom: 35px}
.badge-pill.bg-light{
    margin: 0;
    background-color: #fff !important;
    padding: 3px;
    font-size: 14px;
}
.now_number .col{position: relative;}
.now_number .col:before{
    position: absolute;
    content: '';
    border-right: 1px solid #eee;
    height: 80px;
    right: 0px;
}
.tab-style-1 .nav.doctor_class  .menu-item a, .tab-style-1 .nav.doctor_class .nav-item a{
    padding:.4rem;
}
.f28{font-size: 28px;}
.record_list li> .flex~.round .border-left:first-child{border-left:none !important;}

.news-imgbox img{
    max-width: 100%;
    width: 100%;
    height: auto;
}






:root{
    --main: #62c3d0;
    --mainhover: #53aab7;

}
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 2px;
}

::-webkit-scrollbar:horizontal {
    height: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent; 
}
/*------------
  starrating
-------------*/

.flex-row-reverse{
  display: flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
}
.flex-row-reverse span.f14{line-height: 44px; margin-right: 6px;font-size: 16px;}
.starrating{margin-bottom: 5px;}
.starrating > input {display: none;}  /* Remove radio buttons */

.starrating > label:before { 
  content: "\f005"; /* Star */
  margin: 2px;
  line-height: 1.5;
  margin: 0 8px;
  font-size: 1.5em;
  font-weight: 900;
  font-family: 'Line Awesome Free';
  display: inline-block; 
  border: none !important;
}
.starrating [type="radio"]:checked+label:after,.starrating [type="radio"].with-gap:checked+label:after{background:none;border:none;}

.starrating > label
{
  color:#c7c3c3;margin-top: 3px; /* Start color when not clicked */
}

.starrating > input:checked ~ label
{ color: #FFC107 ; } /* Set yellow color when star checked */

.starrating > input:hover ~ label
{ color: #FFC107 ;  } /* Set yellow color when star hover */
.starrating label .label,.booking label .label:before,.booking label .label:after{display: none}

/*------------
  checkbox
-------------*/
ul.ks-cboxtags {
    list-style: none;
    padding: 20px 0;
}
ul.ks-cboxtags li{
  display: inline-block;
  margin-bottom: 10px;
}
ul.ks-cboxtags li label{
    display: inline-block;
    background-color: rgba(255, 255, 255, .9);
    border: 2px solid rgba(139, 139, 139, .3);
    color: #898989;
    border-radius: 25px;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}

ul.ks-cboxtags li label {
    padding: 4px 16px 4px 8px;
    cursor: pointer;
}

ul.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
    border: 2px solid var(--mainhover);
    background-color: var(--main);
    color: #fff;
    transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  display: none;
}
ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
ul.ks-cboxtags li input[type="checkbox"]:focus + label {
  border: 2px solid #0492a8;
}
ul.ks-cboxtags li label .label::before,ul.ks-cboxtags li label .label::after{display: none}

/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/
@media (max-width: 1367px) {}


@media (max-width: 1025px) {}


@media (max-width: 769px) {}


 /*iphone plus*/
@media (max-width: 430px) {
     /*凍結第一列*/
    .fixth{    
        max-height: 600px;
        overflow: auto;
    }
    .fixth table th {
        position: sticky;
        background-color: #fff;
        top: -1px;
    }
    /*凍結左側*/
    .scrolling table {
        table-layout: inherit;
        *margin-left: -182px;/*ie7*/
    }
    .scrolling tr:first-child{  background-color: #eaeef7;  }
    .scrolling td,.scrolling th {
        vertical-align: top;
        padding: 10px;
        min-width: 100px;
    }
    .scrolling th:first-child,.scrolling td:first-child {
        position: absolute;
        *position: relative; /*ie7*/
        left: 0;
        width: 100px;
    }
    .scrolling th:nth-child(2),.scrolling td:nth-child(2){
        position: absolute;
        *position: relative; /*ie7*/
        left: 100px;
        min-width: 82px;
        width: 82px;
        /**/
    }   
    .scrolling table.gradient th:first-child,.scrolling table.gradient td:first-child,
    .scrolling table.gradient th:nth-child(2),.scrolling table.gradient td:nth-child(2){
        min-height: 69px;
    }
    .scrolling .red th:first-child,.scrolling .red td:first-child,
    .scrolling .red th:nth-child(2),.scrolling .red td:nth-child(2){
        background-color: #fffaf2;
    }
    .outer {
        position: relative
    }
    .inner {
        overflow-x: auto;
        overflow-y: visible;
        margin-left: 182px;
        border-left: 2px solid #ddd;
    }
    .flex-55{flex: 0 0 55%;overflow: hidden}
}


/*iphone: 7px*/
@media (max-width: 400px) {

    .flex-55{flex: 0 0 52%;overflow: hidden}
}



/*iphone 5*/
@media (max-width: 321px) {
    .rating-stars li i{font-size: 12px;}    
    .login .album-spacer{height: 50vmin;}
    .login .album-cover-bg{height: 35vh}
    .lead{font-size: 1rem}
    .flex-55{flex: 0 0 47%;overflow: hidden}
}


/*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) {}