@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap');

:root {
    --scroll-bar-size: 10px;
    --scroll-bar-thumb-background-color: rgba(0, 0, 0, 0.2);
    --scroll-bar-thumb-background-color-active: rgba(0, 0, 0, 0.5);
}
html{}
body { 
	font-family:Arial,'Noto Sans TC','微軟正黑體', 'Microsoft JhengHei', sans-serif;
	font-size: 16px;
	color:#fff;
	background: #efefef;
    line-height: 1.25em;
    font-weight: 400;
	-webkit-text-size-adjust: 100%; 
    height: 100%;
}
.btn{cursor: pointer;}
:root{
	--clr-red:#ca2420;
	--clr-yellow:#f89829;
	--clr-yellow2:#f7b048;
	--clr-blue:#00539b;
	--clr-gray:#6c6c6c;
}
.c-white{color: #fff;}
.c-red{color: #ca2420;}
.c-yellow{color: #f89829;}
.c-yellow2{color: #f7b048;}
.c-blue { color:#00539b; }
.c-gray {color: #6c6c6c;}
.fw-bold { font-weight:bold; }

.fs-s { font-size:0.875rem; }
.fs-b { font-size:1.75rem; }
.fs-l { font-size:2rem; }

.l-h12 { line-height: 1.2em; }
.l-h14 { line-height: 1.4em; }
.l-h16 { line-height: 1.6em; }
.l-h18 { line-height: 1.8em; }
.l-s-01 { letter-spacing:-0.1px; }
.l-s-02 { letter-spacing:-0.2px; }
.l-s-03 { letter-spacing:-0.3px; }
.l-s-04 { letter-spacing:-0.4px; }
.l-s-05 { letter-spacing:-0.5px; }
.l-s-1 { letter-spacing:-1px; }
.l-s-2 { letter-spacing:-2px; }
.l-s-3 { letter-spacing:-3px; }
.l-s-4 { letter-spacing:-4px; }
.l-s1 { letter-spacing:1px; }
.l-s-em-05 { letter-spacing:0.05em; }
.l-s-em-05 { letter-spacing:0.06em; }
.v-a-t { vertical-align:top; }
.t-justify { text-align: justify; text-justify: distribute; }
.m-b100 { margin-bottom:100px!important; }
.m-b90 { margin-bottom:90px!important; }
.m-b80 { margin-bottom:80px!important; }
.m-b70 { margin-bottom:70px!important; }
.m-b65 { margin-bottom:65px!important; }
.m-b60 { margin-bottom:60px!important; }
.m-b50 { margin-bottom:50px!important; }
.m-b40 { margin-bottom:40px!important; }
.m-b45 { margin-bottom:45px!important; }
.m-b35 { margin-bottom:35px!important; }
.m-b30 { margin-bottom:30px!important; }
.m-b25 { margin-bottom:25px!important; }
.m-b20 { margin-bottom:20px!important; }
.m-b15 { margin-bottom:15px!important; }
.m-b10 { margin-bottom:10px!important; }
.m-b5 { margin-bottom:5px!important; }
.m-t60 { margin-top:60px!important; }
.m-l5{ margin-left:5px; }
.m-l10{ margin-left:10px; }
.m-r5{ margin-right:5px; }
.m-r10{ margin-right:10px; }
.m-auto { margin:0 auto; }
.t-a-c { text-align:center!important; }
.t-a-r { text-align:right!important; }
.t-a-l { text-align:left!important; }
.d-table { display:table; }
.u-s-non { user-select: none; }

.row-l { display:flex; flex-direction:row; }
.row-r { display:flex; flex-direction:row-reverse; }
.flex-start{ justify-content:flex-start; }
.flex-end{ justify-content:flex-end; }
.center{ justify-content:center; }
.space-between{ justify-content:space-between; }
.space-around{ justify-content:space-around; }
.t-c{text-align: center;}
.t-d-u{
	text-decoration: underline;
}
nav a { user-select: none; }

.pc{ display:initial; }
.mb{display:none;}



.nonscroll {
    position: static;
    overflow-y: hidden;
    overflow: hidden;
}

/*header*/


/* ============================================================ 選單 == */

header{
    position: fixed;
    z-index: 999;
}
header,.header-h{
    height: 83px;
}
/*.header-h{
    height: 5vh;
}*/
/*.header-h{display: none;}*/
.nav {
    width: 100%;
    min-width: 1100px;
    height: 83px;
    margin: 0 auto;
    background-color: #fff;
    position: fixed;
    /*border-bottom: 8px solid #979A5D;*/
    box-shadow: 0px 6px 18px #00000029;
    top: 0;
    left: 0;
    color: #E5706C;
    padding: 0 25px;
}

.nav-wrapper {
    width: 100%;
    max-width: 1280px;
    min-width: 1100px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /*width: 151px;
    height: 34px;*/
    width: 171px;
    height: 56px;
}
.logo a {
    width: 100%;
    height: 100%;
    display: block;
    background: url(../images/logo.png) no-repeat;
    background-size: cover;
}

.menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/*選單*/
.menu nav {}

.menu nav>ul {
    height: 67px;
    display: flex;
}

.menu nav>ul>li {
    height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: top;

}

.menu nav>ul>li>a {
    height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5em;
    font-size: 18px;
    font-weight: bold;
    -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
}

.menu nav>ul>li:hover a,.menu nav>ul>li.active a {
    color: #ca2420;
}
.menu nav>ul>li>a.contact-btn{
    width: 147px;
    padding: 0 1.5em;
    background: linear-gradient(0deg, #24B799 0%, #06E1B4 100%);
    border-radius: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 2em;
    margin: 0 auto;
    height: 40px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
            box-shadow: 0 0 10px #24B799;
}
.menu nav>ul>li>a.contact-btn img{margin-right: 5px;}
.menu nav>ul>li>a.contact-btn:hover{
    background: linear-gradient(0deg, #FF8800 0%, #EBE047 100%);
    box-shadow: 0 0 10px #FF8800;
}
@media screen and (max-width: 1160px) {
    .nav{min-width: auto;}
    .nav-wrapper{
        min-width: auto;
    }
    .menu nav>ul>li>a{
        padding: 0 1em;
    }
}
@media screen and (max-width: 900px) {
    .menu nav>ul>li>a{
        padding: 0 .5em;
    }
}
@media screen and (max-width: 800px) {
    
	.nav {
        min-width: 100%;
        /*height: 86px;*/
    }

    .nav-wrapper {
        min-width: 100%;
        /*padding-left: 20px;*/
        /*padding-right: 20px;*/
    }

    .logo {
        margin-left: 10px;
    }

    .logo a {}

    .menu nav,
    .menu .comm {
        /*display: none;*/
    }
/*    .menu nav{
        width: 100%;
        height: calc(100% - 100px);
        position: fixed;
        top: 100px;
        left: 0;
        background: #fff;
        transform: translateY(-150%);
        -webkit-transform: translateY(-150%);
        -webkit-transition: transform 0.6s ease;
        transition: transform 0.6s ease;
    }
    .menu nav.open{
        transform: translateY(0%);
        -webkit-transform: translateY(0%);
    }*/
   /* .menu nav>ul{
        display: flex;
        flex-direction: column;
        align-self: center;
        position: relative;
    }
     .menu nav>ul li{
        height: 12vh;
        text-align: center;

     }
     .menu nav>ul>li>a{
        display: inline-block;
        justify-content: center;
        font-size: 32px;
        height: 12vh;
        line-height: 12vh;
        border-bottom: 1px solid #d5d5d5;
     }
    .menu .sing-in {
        height: 86px;
        font-size: 1.4rem;
    }*/

    .menu .hamburger,.menu-m .menu-close {
        width: 37px;
        height: 37px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        cursor: pointer;
        margin-right: 20px;
        position: relative;
    }
    .menu-m .menu-close{
        margin-right: 45px;
    }
    .menu-m .logo{
        position: absolute;
        z-index: 9;
        top: 13px;
        left: 25px;
    }
    .menu .hamburger span,.menu-m .menu-close span {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background: #E5706C;
        top:calc(50% - 1px);
        -webkit-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
    }
    .menu .hamburger span:nth-child(1),.menu-m .menu-close span:nth-child(1) {
        -webkit-transform: scale(1,1) translate(0,-15px) rotate(0deg);
        transform: scale(1,1) translate(0,-15px) rotate(0deg);
    }
    .menu .hamburger span:nth-child(2),.menu-m .menu-close span:nth-child(2) {
        -webkit-transform: scale(1,1) translate(0,0px) rotate(0deg);
        transform: scale(1,1) translate(0,0px) rotate(0deg);
    }
    .menu .hamburger span:nth-child(3),.menu-m .menu-close span:nth-child(3) {
        -webkit-transform: scale(1,1) translate(0,15px) rotate(0deg);
        transform: scale(1,1) translate(0,15px) rotate(0deg);
    }
    .menu .hamburger.close span:nth-child(1),.menu-m .menu-close span:nth-child(1) {
        -webkit-transform: scale(1,1) translate(0,0px) rotate(45deg);
        transform: scale(1,1) translate(0,0px) rotate(45deg);
    }
    .menu .hamburger.close span:nth-child(2),.menu-m .menu-close span:nth-child(2) {
        -webkit-transform: scale(0,1) translate(0,0px) rotate(0deg);
        transform: scale(0,1) translate(0,0px) rotate(0deg);
    }
    .menu .hamburger.close span:nth-child(3),.menu-m .menu-close span:nth-child(3) {
        -webkit-transform: scale(1,1) translate(0,0px) rotate(-45deg);
        transform: scale(1,1) translate(0,0px) rotate(-45deg);
    }
    .menu-m {
        width: 100%;
        min-width: 640px;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 70px;
        display: none;
        -webkit-transition: opacity .3s ease-in-out;
        -moz-transition: opacity .3s ease-in-out;
        -ms-transition: opacity .3s ease-in-out;
        -o-transition: opacity .3s ease-in-out;
        transition: opacity .3s ease-in-out;
        background: #222222;
        overflow-y: auto;
    }
    .menu-m  .menu-close{
        position: absolute;
        top: 20px;
        right:0;
    }
    .menu-m * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .menu-m nav {
        background-color: #222222;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 24px;
        padding-bottom: 120px;
        position: relative;
    }

    .menu-m-header {
        width: 100%;
        height: 94px;
        border-bottom: 0px solid #fff;
        background: #222222;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .menu-m-header a {
        width: 199px;
        height: 45px;
        background: url(../images/logo.svg) no-repeat;
        position: absolute;
        left: 24px;
        top: 24px;
    }

    .menu-m nav>a {
        width: 100%;
        height: 88px;
        font-size: 28px;
        color: #fff;
        /*font-weight: 600;*/
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 1px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .menu-m nav>a::after {
        width: 100%;
        height: 0;
        left: 0;
        border-bottom: 0px solid #f69da4;
        content: '';
        position: absolute;
        bottom: -1px;
    }

    .menu-m nav>a:hover,
    .menu-m nav>a:active {
        background-color: #3b3b3b;
    }

   
    .menu-m nav .comm {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        /*position: absolute;*/
        /*bottom: 40px;*/
    }

    .pc{ display:none; }
    .mb{display:initial;}
}

@media screen and (max-width: 640px) {

    html,body{font-size: 14px;}
    
    .m-b50 { margin-bottom:3.125rem!important; }
    .m-b40 { margin-bottom:2.5rem!important; }
    .m-b45 { margin-bottom:2.8125rem!important; }
    .m-b35 { margin-bottom:2.1875rem!important; }
    .m-b30 { margin-bottom:1.875rem!important; }
    .m-b25 { margin-bottom:1.5625rem!important; }
    .m-b20 { margin-bottom:1.25rem!important; }
    .m-b15 { margin-bottom:0.9375rem!important; }
    .m-b10 { margin-bottom:0.625rem!important; }
    .m-b5 { margin-bottom:0.3125rem!important; }
    .m-t60 { margin-top:3.75rem!important; }

}

@media screen and (max-width: 375px) {
    html,body{font-size: 12px;}
}
/*header*/

section{
    height: 100%;
	padding: 50px 0 50px 0;
    overflow: hidden;
    position: relative;
}
.con{
	width: 1150px;
	position: relative;
	margin:0 auto;
	padding: 0 25px;
}

h2{
	font-size: 2.125rem;
	color: #ca2420;
	font-weight: bold;
	text-align: center;
	
}
h2 div{
	position: relative;
	display: inline-block;
	border-bottom:  6px solid #ca2420;
	padding-bottom: 6px;
	margin-bottom: 20px;
}
h2 div::before{
	content: "";
	width: 68px;
	height: 41px;
	background: url(../images/golden_wing.png) center center no-repeat;
	position: absolute;
	left: -84px;
	top: -6px;
}

h2 div::after{
	content: "";
	width: 68px;
	height: 41px;
	background: url(../images/golden_wing.png) center center no-repeat;
	position: absolute;
	right: -84px;
	top: -6px;
	transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	/*font-weight: bold;*/

}

h3{
	font-weight: bold;
	text-align: center;
	font-size: 20px;
	line-height: 26px;
}
b{font-weight: bold;}
.title{
    font-weight: bold;
    color: #979A5D;
    font-size: 50px;
    text-align: center;
    background: url(../images/title_bg.png) center center no-repeat;
    line-height: 1.25em;
    line-height: 151px;
    width: 282px;
    height:151px;
}

/*.more-btn,.search-btn{
    position: relative;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.5em;
    max-height: 60px;
    height: 60px;
    background: url(../images/more_btn.png) center center no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2em;
    margin: 1em 0;
    -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
}*/

.more-btn img,.search-btn img{height: 60%;width: auto;position: relative;margin-left: .25em;}


.more-btn:hover,.search-btn:hover{
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}
.fixed-btns{
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;

}
.fixed-btns a{
    position: relative;
    display: block;
    width: 54px;
    height: 54px;
    background:url(../images/fixed_btn.png);
    margin: 5px 0;
}
.fixed-btns a.btn-url{ }
.fixed-btns a.btn-fb{background-position-y:-59px;}
.fixed-btns a.btn-line{background-position-y:-119px;}
.fixed-btns a.btn-top{background-position-y:-179px;}


@media screen and (max-width: 1150px) {
    .con{
        max-width: 100%;
        padding: 0 20px;
    }
}
@media screen and (max-width: 800px) {
    h3{font-size: 22px;}
    
}
@media screen and (max-width: 640px) {
    h3{
        font-size: 1.375rem;
        line-height: 1.625rem;
    }
    .con{

        width: 100%;
        padding: 0 20px;
    }
    section{
            padding: 7.8125vw 0 4.6875vw 0;
    }
    h2 div{
            border-bottom: 0.375rem solid #ca2420;
    padding-bottom: 0.375rem;
    margin-bottom: 1.25rem;
    }
    h2 div::before{
        width: 10.625vw;
        height: 6.40625vw;
        background-size: cover;
        left: -13.125vw;
        top: -1vw;
    }
    h2 div::after {
        width: 10.625vw;
        height: 6.40625vw;
        background-size: cover;
        right: -13.125vw;
        top: -1vw;
    }
    header, .header-h{
        height: 60px;
    }
    .header-h{display: block;}
    .nav {
        height: 60px;
        /*border-top: .5rem solid #ca2420;*/
        box-shadow: 0 0.3125rem 0.625rem rgb(0 0 0 / 10%);
        padding: 0 15px;
    }
    .logo {
        width: auto;
        /*width: 26.71875vw;*/
        height: 50px;
    }
    .logo img{height: 100%;width: auto;}
    .menu .hamburger, .menu-m .menu-close {
        width: 2.3125rem;
        height: 2.3125rem;
        margin-right: 1.25rem;
    }
    .menu .hamburger span:nth-child(1), .menu-m .menu-close span:nth-child(1) {
        -webkit-transform: scale(1,1) translate(0,-1rem) rotate(0deg);
        transform: scale(1,1) translate(0,-1rem) rotate(0deg);
    }
    .menu .hamburger span:nth-child(3), .menu-m .menu-close span:nth-child(3) {
        -webkit-transform: scale(1,1) translate(0,1rem) rotate(0deg);
        transform: scale(1,1) translate(0,1rem) rotate(0deg);
    }
    .menu nav{
        /*top: 15.625vw;
        height: calc(100% - 15.625vw);*/
    }
    .menu nav>ul{height: 100%;}
    .menu nav>ul>li{height: 50px;}
    .menu nav>ul>li>a {
        font-size: 2rem;
        height: 50px;
        line-height: 50px;
        /*border-bottom: 1px solid #d5d5d5;*/
    }

/*    .more-btn,.search-btn img{
        font-size: 30px;
        max-height: 45px;
        height: 45px;
        background-size: cover;
        padding: 0 2em;
        margin: 1em 0;
    }
*/
}
@media screen and (max-width: 500px) {
    .logo{margin-left: 0;height: 40px;}
    .nav{padding-right: 0;}
    .menu nav>ul>li>a.contact-btn{height: 32px;}
}
@media screen and (max-width: 414px) {
    .menu nav>ul>li{height: 40px;}
    .menu nav>ul>li>a{height: 40px;}
    .menu nav>ul>li>a img{height: 100%;width: auto;}
    .title{
        font-size: 40px;
        background: url(../images/title_bg.png) center center no-repeat;
        background-size: cover;
        line-height: 121px;
        width: 226px;
        height: 121px;
    }

/*    .more-btn,.search-btn img{
        font-size: 24px;
        max-height: 36px;
        height: 36px;
        background-size: 100% 100%;
        padding: 0 1.5em;
        margin: 1em 0;
    }*/
}
@media screen and (max-width: 375px) {
    .con{
        width: 100%;
        padding: 0 15px;
    }
}
@media screen and (max-width: 320px) {
    .title{
        font-size: 30px;
        background: url(../images/title_bg.png) center center no-repeat;
        background-size: cover;
        line-height: 91px;
        width: 169px;
        height: 91px;
    }
/*    .more-btn,.search-btn img{
        font-size: 20px;
        max-height: 30px;
        height: 30px;
        background-size: 100% 100%;
        padding: 0 1.5em;
        margin: .5em 0;
    }*/
}
@media screen and (max-width: 640px) and (max-height: 600px) {

}

/*kv*/

.kv{
    padding: 0;
    height: calc(100vh - 83px);
    background:#EFC4A8;
    overflow: hidden;
    background: url(../images/kv.png) calc(50% - 5vw) center no-repeat;
    background-size: cover;
}
.kv .con{
    width: 100%;
    display: flex;
    justify-content: center;align-items: center;
}
.kv-banner img{
    max-width: 100%;
}
.kv-box{
    position: absolute;
    left: 54%;
    top: 60%;
    /*width: 780px;*/
    /* UI Properties */
    background: transparent linear-gradient(180deg, #FFFFFF40 0%, #FFFFFF30 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF87;
    border-radius: 40px;
    transform: translateY(-50%);
    padding: 20px 20px 60px 20px;
}
.kv-box h1{text-align: center;
    font-size: 60px;
    line-height: 1.25em;
    font-weight: bold;
    letter-spacing: 0px;
    color: #FC1AA9;
    text-shadow: 0px 3px 6px #00000029;margin-bottom:.25em; 
}
.kv-box p{font-size: 26px;color: #747474;margin-bottom: 1em;}
.kv-box .btn,.send-btn{
    width: 147px;
    padding: 0 1.5em;
    /* UI Properties */
    background: linear-gradient(0deg, #24B799 0%, #06E1B4 100%);
    border-radius: 16px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 2em;
    margin:0 auto;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
            box-shadow: 0 0 10px #24B799;
}

.kv-box .btn:hover,.send-btn:hover{
    background: linear-gradient(0deg, #FF8800 0%, #EBE047 100%);
    box-shadow: 0 0 10px #FF8800;
}
@media screen and (min-width: 1440px) {
    .kv-box{
        border-radius: 50px;
        padding: 25px 25px 75px 25px;
    }
   .kv-box h1{
        font-size: 75px;
        text-shadow: 0px 4px 7.5px #00000029;
    }
    .kv-box p{font-size: 32px;}
    .kv-box .btn,.send-btn{
        width: 184px;
        border-radius: 18px;
        font-size: 25px;
    }
}
@media screen and (min-width: 1680px) {
    .kv-box{
        border-radius: 60px;
        padding: 30px 30px 90px 30px;
    }
   .kv-box h1{
        font-size: 90px;
        text-shadow: 0px 4.5px 9px #00000029;
    }
    .kv-box p{font-size: 40px;}
    .kv-box .btn,.send-btn{
        width: 220px;
        border-radius: 24px;
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        line-height: 2em;
    }
}

@media screen and (max-width: 1100px) {
    .kv{height: 62vw;background-position: calc(50% - 8vw) center;}
    .kv .con{
        flex-direction: column;
    }
    .kv-box{
        width: auto;
        left: initial;
        right: 10px;
        /*max-width: calc(50% - 20px);*/
        transform: translate(-3vw,-50%);
    }
    .kv-box h1{display: inline-block;white-space:nowrap;}
    .kv-box {
        background: linear-gradient(rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%) 0% 0% no-repeat padding-box padding-box transparent;
    }
}
@media screen and (max-width: 768px) {
    .kv-box{
        border-radius: 30px;
        padding: 15px;
        top: 50%;
    }
   .kv-box h1{
        font-size: 45px;
    }
    .kv-box p{font-size: 22px;}
    /*.kv{min-height: 420px;}*/
}
@media screen and (max-width: 640px) {
    .kv {
        background-position: 86% 50%;
    }
    .kv .flower{
        height: 100px;
    }
    .kv-box h1{
        font-size: 20px;
    }
    .kv-box p{font-size: 13px;}
    .kv-box .btn,.menu nav>ul>li>a.contact-btn,.send-btn{font-size: 16px;width: 7em;white-space:nowrap}
    .menu nav>ul>li>a.contact-btn img{height: 40%;}
    .kv{background-position: 75% 50%;}
    
}
@media screen and (max-width: 414px) {
    .menu nav>ul>li>a.contact-btn{
        width: auto;
    }
}
@media screen and (max-width: 375px) {

}
@media screen and (max-width: 320px) {
    .logo{height: 35px;}
    .menu nav>ul>li{height: 35px;}
    .menu nav>ul>li>a{height: 35px;}
    .kv-box .btn,.menu nav>ul>li>a.contact-btn,.send-btn{font-size: 12px;}
}


/*map*/
.map{
    background:#F08B84;
    padding: 0;
}
.map .tabs {
    display: block;
    position: relative;
    padding-top: 35px;
    text-align: center;
}
.map .tabs > div {
    background: url(../images/tabs.png) center center no-repeat;
    background-size: cover;
    display: inline-block;
    width: 360px;
    height: 60px;
    font-size: 26px;
    color: #F08B84;
    line-height: 60px;
    font-weight: bold;
}
.map .tabs > div:not(.active) {
    background-image: none;
    color: #fff;
    cursor: pointer;
}
.map-con{
    background:#FFE8B9;
}

.map-box{padding: 50px 0;}
.search-box {
    position: relative;
    display: inline-block;
    width: 436px;
    /*height: 600px;*/
    margin-right: 20px;
    vertical-align: top;
}
#twzipcode {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 1em 0 2em 0;
}
#twzipcode > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#twzipcode > div > label{display: inline-block;color: #6A6A6A;font-size: 20px;}
#twzipcode > div > label+div{
    display: inline-block;
    background: #24B799 0% 0% no-repeat padding-box;
border-radius: 6px;
margin:0 3em 0 .5em;
}
.search-bar{
    /*width: calc(362px  *  2 + 2em);*/
    height: 50px;
    /*margin:0 1em;*/
    position: relative;
}

.search-bar input{padding-left: 1em;}
.search-btn{height: 50%;position: absolute;right: 0;bottom: 0;top:25%;padding: 0 1em;border-left: 1px solid #BFBFBF;cursor: pointer;}
/*.search-btn:hover img{transform: scale(1.1);-webkit-transform: scale(1.1);}*/
.search-btn img{height: 100%;}

select, input {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 20px;
    border-radius: 6px;
    background: #24B799 0% 0% no-repeat padding-box;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    outline: none;
}
.search-box h2{color: #646464;font-size: 2.25rem;line-height: 1.5em;text-align: left;}
.search-box form { position: relative; display: block; width: 100%; height: auto; color: #0e9e98; text-align: center; margin: 0 auto; }
.search-box form input {
background: #fff;
    color: #000;
    width: auto;
    height: 50px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    outline: medium none !important;
    border: none;
    font-size: 18px;
    line-height: 50px;
    padding: 0px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
 width: 100%; margin: 0 auto; margin-bottom: 15px; }
/*.search-box form .search-btn { width: 100%; margin: 0 auto;background-size: cover;font-size: 28px;color: #fff;height: 44px; }*/
.result-box { position: relative; display: block; width: 100%; margin: 0 auto;margin-top: 2rem; }
.result-box h3 { display: block; position: relative; font-size: 22px; line-height: 30px; width: 100%; height: 30px; text-align: center; color: #F08B84; font-weight: bold; padding-bottom: 5px; }
.result-box #search-hospitals { position: relative; display: block; width: 100%; height: 430px; color: #0e9e98; text-align: center; margin: 0 auto; overflow-x: hidden; overflow-y: scroll;  padding: 5px; 
    -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;}
.result-box #search-hospitals.nodata{height: 2em !important;padding:0;}
   .result-box #search-hospitals::-webkit-scrollbar {

      width: 7px;

    }

    .result-box #search-hospitals::-webkit-scrollbar-button {

      background: transparent;

      border-radius: 4px;

    }

    .result-box #search-hospitals::-webkit-scrollbar-track-piece {

      background: transparent;

    }

    .result-box #search-hospitals::-webkit-scrollbar-thumb {

      border-radius: 4px;

      background-color: rgba(0, 0, 0, 0.4);

      border: 1px solid slategrey;

    }

    .result-box #search-hospitals::-webkit-scrollbar-track {

      box-shadow: transparent;

    }



.result-box #search-hospitals li { display: block; position: relative; width: 100%; font-size: 16px; line-height: 22px; padding: 15px 0 15px 10px; text-align: left; border-bottom: 1px solid #DBBC7C; }
.result-box #search-hospitals li:last-child { border-bottom: none; }
/*.result-box #search-hospitals li, .result-box #search-hospitals li:link, .result-box #search-hospitals li:visited { background: white; }*/
.result-box #search-hospitals li:hover, .result-box #search-hospitals li:active { background: #f3e6cb; }
.result-box #search-hospitals li div { display: block; width: 100%; position: relative; color: #6A6A6A; vertical-align: middle; padding: 6px 0 6px 5em; font-weight: bold;}
.result-box #search-hospitals li div:before { display: block; position: absolute; width: 5em; font-size: 16px; height: 25px; text-align: left; color: #6A6A6A; left: 0px; top: 6px;font-weight: 400; }
.result-box #search-hospitals li div.clinic:before { content: "醫療院所："; }
.result-box #search-hospitals li div.telphone:before { content: "聯絡電話："; }
.result-box #search-hospitals li div.address:before { content: "院所地址："; }
.result-box #search-hospitals li div.doctor:before { content: "醫師姓名："; }
.result-box #search-hospitals li div.function { padding-left: 0; }
.result-box #search-hospitals li div.function:before { display: none; }
.result-box #search-hospitals li div a { display: inline-block; color: white; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; border-radius: 15px; font-size: 14px; padding: 2px 8px;margin-right: 2em; }
.result-box #search-hospitals li div a, .result-box #search-hospitals li div a:link, .result-box #search-hospitals li div a:visited {background: #24B799 0% 0% no-repeat padding-box;border-radius: 4px;}
.result-box #search-hospitals li div a:hover, .result-box #search-hospitals li div a:active { background:#3dc3a8; }


.qry-result { display: block; position: relative; width: 100%; font-size: 16px; line-height: 22px; padding: 15px 10px; text-align: left; }
.qry-result div { display: block; width: 100%; position: relative; color: #858585; vertical-align: middle; padding: 3px 0 3px 80px; }
.qry-result div:before { display: block; position: absolute; width: 80px; font-size: 16px; height: 22px; text-align: left; color: #858585; left: 0px; top: 3px; }
.qry-result div.clinic:before { content: "醫療院所："; }
.qry-result div.telphone:before { content: "聯絡電話："; }
.qry-result div.address:before { content: "院所地址："; }
.qry-result div.doctor:before { content: "醫師姓名："; }
.qry-result div.function { padding-left: 0; }
.qry-result div.function:before { display: none; }
.qry-result div a { display: inline-block; color: white; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; border-radius: 15px; font-size: 14px; padding: 2px 8px; }
.qry-result div a, .qry-result div a:link, .qry-result div a:visited, .qry-result div a:hover, .qry-result div a:active { text-decoration: none; }
.qry-result div a, .qry-result div a:link, .qry-result div a:visited { background: #24B799; }
.qry-result div a:hover, .qry-result div a:active { background: #3dc3a8; }




#map-box2 > form { display: block; position: relative; width: 740px; height: auto; margin: 0 auto; padding-top: 70px;display: flex;flex-direction: column;align-items: center;}
#map-box2 > form > div { display: block; color: #444444; font-size: 22px; line-height: 30px; text-align: right; margin: 0 auto; margin-bottom: 30px; padding-right: 60px; width: 100%;}
#map-box2 > form > div:last-child { margin-bottom: 20px; }
#map-box2 > form > div input[type="text"], #map-box2 > form > div select {
    background: #FDEBE0;
    width: auto;
    height: 50px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    outline: medium none !important;
    border: none;
    font-size: 22px;
    line-height: 50px;
    padding: 0px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
 width: 100%; margin: 0 auto; margin-bottom: 15px; width: 420px; 
 color: #F08B84;
}

#map-box2 > form > div ::placeholder{ 
  color: #F08B84;
}
#map-box2 > form > div :-ms-input-placeholder{ 
  color: #F08B84;
}
#map-box2 > form > div ::-ms-input-placeholder{ 
  color: #F08B84;
}

#map-box2 > form > div label { display: inline-block; width: calc(100% - 450px); margin-right: 15px; text-align: right; color: #F08B84;}
#map-box2 > form .search-btn { width: 280px;color: #fff;font-size: 28px;height: 45px;background-size: contain; }

.gmap {
    width: calc(100% - 500px);
    position: relative;
    display: inline-block;
    height: 600px;
    vertical-align: top;
    background: #fff;
    padding: 20px 8px;
    border-radius: 12px;
}
.search-tip{
    text-align: left;
    margin-bottom: 1em;
    font-size: 18px;
    line-height: 1.5em;
    color: #646464;
}

@media screen and (max-width: 990px) {
    .map .tabs > div { width: 210px; height: 70px; font-size: 24px; line-height: 28px; padding-top: 8px; margin: 0 20px;}
    
    .map .tabs > div.active {
        background-image: url(../images/tabsm.png);
    }

   .search-box { display: block; margin-right: 0; margin: 0 auto 20px auto; width: 80%; height: auto; }
      .search-box { height: auto; }
      .form-box form {display: flex;justify-content: center;align-items: center;}
      /*.search-box form input{ display: inline-block; width: calc(100% - 200px); margin-right: 5px; margin-bottom:0;}*/
/*      .search-box form .search-btn { display: inline-block; width: 180px; padding-left: 10px; padding-right: 10px;font-size: 24px;line-height: 44px;background:#f08a84 url(../images/more_btn.png) center center no-repeat;
        border-radius: 20px; }*/
      .result-box #search-hospitals { height: 360px; }
      .result-box #search-hospitals li div { display: inline-block; }
      .result-box #search-hospitals li div.clinic { width: 41%; }
      .result-box #search-hospitals li div.doctor { width: 55%; }
      .result-box #search-hospitals li div.telphone { width: 41%; }
      .result-box #search-hospitals li div.address { width: 100%; }
      .result-box #search-hospitals li div.function { width: 100%; }
      .gmap { display: block; margin: 0 auto; width: 80%; }

    #map-box2 > form{width: 100%;padding-top: 0px;}
    #map-box2 > form > div {
        width: 70%;
        padding-right: 0;
    }
    #map-box2 > form > div label {
        display: block;
        width: 100%;
        margin: 0 auto;
        text-align: left;
    }
    #map-box2 > form > div input[type="text"], #map-box2 > form > div select {
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    #map-box2 > form .search-btn{
        width: 70%;
        background-size: 100% 100%;
        background:#f08a84 url(../images/more_btn.png) center center no-repeat;
        border-radius: 20px;
    }
    .form-box form{flex-direction: column;}
    .search-box h2{text-align: center;}
    #twzipcode{width: 100%;}
    #twzipcode > div{width: 50%;}
    .search-bar{width: 100%;}

}
@media screen and (max-width: 768px) {
      .result-box #search-hospitals li div.clinic { width: 100%; }
      .result-box #search-hospitals li div.doctor { width: 100%; }
      .result-box #search-hospitals li div.telphone { width: 100%; }
      .result-box #search-hospitals li div.address { width: 100%; }
      .result-box #search-hospitals li div.function { width: 100%; }
      .gmap{width: 100%;}
}
@media screen and (max-width: 640px) {
    .map .tabs div {
        width: 180px;
        height: 60px;
        font-size: 22px;
        line-height: 25px;
        padding-top: 5px;
        margin: 0;
    }
    #map-box2 > form > div {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .form-box form{flex-direction: column;}
/*    .search-box form input{ display: inline-block; width: 100%; margin-right: 5px; margin-bottom:15px;}
    .search-box form .search-btn { display: inline-block; width: 100%; padding-left: 10px; padding-right: 10px;font-size: 24px;line-height: 44px;background:#f08a84 url(../images/more_btn.png) center center no-repeat;margin-bottom:15px;        border-radius: 20px; }
    */
    input[type="text"], select {
        height: 40px;
        font-size: 18px;
        line-height: 40px;
        padding: 0px 10px;
    }
    .map-box {
        padding: 25px 0;
    }
    .search-box{width: calc(100% - 60px);}
    .result-box #search-hospitals { height: 380px; }
    #twzipcode{flex-direction: column;}
    #twzipcode > div{width: 100%;margin-bottom: 1em;}
    .search-box form input{padding-right: 2em;}
    .search-box form{height: auto;}
}
@media screen and (max-width: 414px) {
    .map .tabs div {
        width: 150px;
        height: 50px;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        padding-top: 5px;
    }
    #map-box2 > form > div {
        width: 80%;
        font-size: 18px;
    }
    #map-box2 > form .search-btn{
        width: 80%;
        margin: .5em 0;
        font-size: 24px;
    }
    .search-box form input{font-size: 16px;}
    .search-box{width: calc(100% - 30px);}
    .search-box form input{padding-right: 2.5em;}
    .search-btn{padding: 0 .5em;}
}
@media screen and (max-width: 375px) {

}
@media screen and (max-width: 320px) {
    .map .tabs div {
        width: 120px;
        height: 50px;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        padding-top: 5px;
    }
    .map .tabs > div.active{
        background-size: 100% 100%;
    }
    .search-box{
        width: 90%;
    }
}


#qrypop .ctr { display: inline-block; position: relative; width: 100%; height: auto; text-align: center; vertical-align: top; padding: 30px; font-weight: 300;}
#qrypop .ctr .bk { display: block; position: relative; width: 100%; font-size: 18px; line-height: 25px; text-align: center; }
#qrypop .ctr .bk:nth-child(odd) { background: #f0f0f0; }
#qrypop .ctr .bk:last-child { -moz-border-radius-bottomleft: 15px; -webkit-border-bottom-left-radius: 15px; border-bottom-left-radius: 15px; -moz-border-radius-bottomright: 15px; -webkit-border-bottom-right-radius: 15px; border-bottom-right-radius: 15px; }
#qrypop .ctr .bk div { display: inline-block; position: relative; color: #444444; vertical-align: middle; padding: 10px 5px; }
#qrypop .ctr .bk div.clinic { width: 32%; text-align: center; }
#qrypop .ctr .bk div.telphone { width:18%; text-align: left; }
#qrypop .ctr .bk div.address { width: 35%; text-align: left; }
#qrypop .ctr .bk div.website { width: 13%; text-align: center; }
#qrypop .ctr .bk .link { display: inline-block; color: white; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; border-radius: 15px; font-size: 16px; padding: 2px 8px; }
#qrypop .ctr .bk .link, #qrypop .ctr .bk .link:link, #qrypop .ctr .bk .link:visited { background: #f0c635; }
#qrypop .ctr .bk .link:hover, #qrypop .ctr .bk .link:active { background: #ffd500; }
#qrypop .ctr .kind { background: #e4e4e4 !important; -moz-border-radius-topleft: 15px; -webkit-border-top-left-radius: 15px; border-top-left-radius: 15px; -moz-border-radius-topright: 15px; -webkit-border-top-right-radius: 15px; border-top-right-radius: 15px; }
#qrypop .ctr .kind div { font-weight: 500; color: #F08B84; }
#qrypop .ctr .kind div.telphone { padding-left: 30px; }
#qrypop .ctr .kind div.address { text-align: center; }
#qrypop .ctr .kind div.team { padding-left: 30px; }

@media (max-width: 1100px) { #qrypop .ctr .bk { padding-top: 8px; padding-bottom: 8px; }
  #qrypop .ctr .bk div { padding: 3px 5px 3px 90px; vertical-align: top; }
  #qrypop .ctr .bk div:before { display: block; position: absolute; width: 90px; height: 25px; text-align: left; color: #0e9e98; left: 0px; top: 3px; }
  #qrypop .ctr .bk div.clinic { width: 56%; text-align: left; }
  #qrypop .ctr .bk div.clinic:before { content: "診所名稱"; }
  #qrypop .ctr .bk div.telphone { width: 41%; }
  #qrypop .ctr .bk div.telphone:before { content: "電　　話"; }
  #qrypop .ctr .bk div.address { width: 56%; }
  #qrypop .ctr .bk div.address:before { content: "地　　址"; }
  #qrypop .ctr .bk div.website { width: 41%; text-align: left; }
  #qrypop .ctr .bk div.website:before { content: "網　　址"; }
  #qrypop .ctr .kind { display: none; } }
@media (max-width: 820px) { #qrypop .ctr .bk { padding-left: 15px; padding-right: 15px; }
  #qrypop .ctr .bk div { display: block; width: 100% !important; } }
@media (max-width: 640px) { #qrypop .ctr { padding: 20px; } }
@media (max-width: 500px) { #qrypop .ctr .bk { font-size: 16px; line-height: 22px; }
  #qrypop .ctr .bk .link { font-size: 14px; }
  #qrypop .ctr .bk div { padding: 3px 5px 3px 80px; }
  #qrypop .ctr .bk div:before { width: 80px; }
  #qrypop .ctr .bk div.team img { margin-top: 0; } }
@media (max-width: 420px) { #qrypop .ctr { padding: 10px; }
  #qrypop .ctr .bk { padding-left: 10px; padding-right: 10px; } }
#qry1 .info .result .bks .bk div.team { display: none; }

@media (max-width: 1000px) { #qry1 .info .result .bks .bk div.function { width: 100%; } 
/*#qrypop .ctr .bk div.clinic { width: 20%; text-align: center; }*/
/*#qrypop .ctr .bk div.telphone { width: 18%; text-align: left; }*/
/*#qrypop .ctr .bk div.address { width: 30%; text-align: left; }*/
/*#qrypop .ctr .bk div.website { width: 12%; text-align: center; }*/
#qrypop .ctr .kind div.telphone { padding-left: 40px; }
#qrypop .ctr .kind div.address { padding-left: 80px; }
}
@media (max-width: 1100px) { 
    /*#qrypop .ctr .bk div.clinic { width: 43%; text-align: left; }*/
  /*#qrypop .ctr .bk div.telphone { width: 43%; }*/
  /*#qrypop .ctr .bk div.address { width: 53%; }*/
  /*#qrypop .ctr .bk div.website { width: 96%; text-align: left; } }*/
.teamintro { display: none; }


}



footer {
	padding: 1rem 0; 
	background-color:#fff; 
	line-height: 1.25em;
	z-index: 1;
	/*font-weight: bold;*/
	position: relative; 
	margin: 0 auto;
	/*border-top: 8px solid #ca2420;*/
}
footer>div { width:930px;  margin: auto; }

footer p{font-size: 18px;color: #fff;line-height: 1.5em;color: #707070;}
footer p span{font-size: 12px;display: block;color: #AEAEAE}
@media screen and ( max-width:950px ) {
	footer{width: 100%;}
	footer>div { width:100%;  margin: auto;padding: 0 25px; }

}
@media screen and ( max-width:768px ) {
	/*footer {padding-bottom: 120px;}*/
	/*footer>h1.f-s18 {font-size:25px; }*/
	footer p { font-size: 1.5rem; }

}
@media screen and ( max-width:640px ) {
	/*footer {padding-bottom: 16vw; padding: 6vw 3vw 6vw 3vw;}*/
	/*footer>h1.f-s18 {font-size:22px; }*/
	footer>div { font-size: 1rem;padding: 0;word-break: break-all;}
}

@media screen and ( max-width:414px ) {
	/*footer>h1.f-s18 {font-size:18px; }*/
    footer p{font-size: 1.2rem;}
}



/*feedback*/
#form{
    padding-top: 110px;
    background: #FFE8B9 0% 0% no-repeat padding-box;
    min-height: calc(100vh - 86px);
}
.form-page{
    position: relative;
    max-width: 1089px;
    width: 90%;
    background: transparent linear-gradient(180deg, #FFFFFF40 0%, #FFFFFF30 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF87;
    border-radius: 40px;
    margin:0 auto;
    padding: 20px 90px 60px 90px;
    color: #747474;
}


.form-page h2{
    font-size: 36px;
    line-height: 1.3em;
    color: #6A6A6A;
    margin-bottom: .5em;
}
.form-row{margin-bottom: 20px;}
.form-label {
    display: block;
    margin-bottom: 20px;
}
.form-checks{display: flex;justify-content: flex-start;flex-wrap: wrap;}
.form-check-inline{
    /*margin-bottom: 1em;*/
    margin-right: 1em;
}

.form-input{width: 250px;}
.form-input input{background: #fff;color: #6A6A6A;}

textarea{border:none;outline: none;    font-size: 20px;color: #6A6A6A;padding: .5em;}
.send-btn{color: #fff;}
.send-btn img{margin-right: .5em;}
.form-page label,.form-page span,.form-page p,.form-label{font-size: 16px;line-height: 1.5em;}
@media screen and ( max-width:768px ) {
    #form{
        padding-top: 110px;
        background: #FFE8B9 0% 0% no-repeat padding-box;
        min-height: calc(100% - 104px);
    }
    .form-page{
        padding: 20px 45px 60px 45px;
    }

}

@media screen and ( max-width:640px ) {
    #form{
        padding-top: 40px;
        background: #FFE8B9 0% 0% no-repeat padding-box;
        min-height: calc(100% - 104px);
    }
    .form-page{
        padding: 20px 30px 60px 30px;
    }
    .form-checks{flex-direction: column;}

}

@media screen and ( max-width:414px ) {
    .form-page h2{font-size: 28px;}
    #form{
        padding-top: 40px;
        background: #FFE8B9 0% 0% no-repeat padding-box;
        min-height: calc(100% - 78px);
    }
    .form-page{
        padding: 20px 20px 60px 20px;
    }
}
/*
 * author:evanliu2968
 * github:https://github.com/EvanLiu2968/el-checkbox
 * lincense:MIT
 */
/*checkbox radio component*/
.el-radio,
.el-checkbox {
  position: relative;
  font-size: 100%;
}
label.el-radio,
label.el-checkbox {
  display: block;
  cursor: pointer;
}
.el-radio > input[type="radio"],
.el-checkbox > input[type="checkbox"] {
  display: none;
}
.el-radio > input[type="radio"][disabled],
.el-checkbox > input[type="checkbox"][disabled] {
  cursor: not-allowed;
}
.el-radio > input[type="radio"] + .el-radio-style,
.el-checkbox > input[type="checkbox"] + .el-checkbox-style {
  position: relative;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: middle;
  cursor: pointer;
}
.el-radio > input[type="radio"] + .el-radio-style:hover:before,
.el-checkbox > input[type="checkbox"] + .el-checkbox-style:hover:before {
  border-color: #20a0ff;
}
.el-radio > input[type="radio"] + .el-radio-style:before,
.el-checkbox > input[type="checkbox"] + .el-checkbox-style:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 1em;
  height: 1em;
  content: '';
  background: #fff;
  /*border: 1px solid #C0CCDA;*/
}
.el-radio > input[type="radio"] + .el-radio-style:after,
.el-checkbox > input[type="checkbox"] + .el-checkbox-style:after {
  position: absolute;
  display: none;
  content: '';
}
.el-radio > input[type="radio"][disabled] + .el-radio-style,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style {
  cursor: not-allowed;
  color: #D3DCE6;
}
.el-radio > input[type="radio"][disabled] + .el-radio-style:hover,
.el-radio > input[type="radio"][disabled] + .el-radio-style:before,
.el-radio > input[type="radio"][disabled] + .el-radio-style:after,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style:hover,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style:before,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style:after {
  cursor: not-allowed;
}
.el-radio > input[type="radio"][disabled] + .el-radio-style:hover:before,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style:hover:before {
  border: 1px solid #D3DCE6;
  animation-name: none;
}
.el-radio > input[type="radio"][disabled] + .el-radio-style:before,
.el-checkbox > input[type="checkbox"][disabled] + .el-checkbox-style:before {
  border-color: #D3DCE6;
}
.el-radio > input[type="radio"]:checked + .el-radio-style:before,
.el-checkbox > input[type="checkbox"]:checked + .el-checkbox-style:before {
  animation-name: none;
}
.el-radio > input[type="radio"]:checked + .el-radio-style:after,
.el-checkbox > input[type="checkbox"]:checked + .el-checkbox-style:after {
  display: block;
}
.el-radio > input[type="radio"] + .el-radio-style:before {
  border-radius: 50%;
}
.el-radio > input[type="radio"] + .el-radio-style:after {
  top: 0.4em;
  left: 0.4em;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: #20a0ff;
}
.el-radio > input[type="radio"]:checked + .el-radio-style:before {
  border: 1px solid #20a0ff;
}
.el-radio > input[type="radio"]:checked[disabled] + .el-radio-style:before {
  border: 1px solid #b0d7f5;
}
.el-radio > input[type="radio"]:checked[disabled] + .el-radio-style:after {
  background: #b0d7f5;
}
.el-checkbox > input[type="checkbox"] + .el-checkbox-style:before {
  border-radius: 3px;
}
.el-checkbox > input[type="checkbox"] + .el-checkbox-style:after {
  top: 0.1em;
  left: 5px;
  box-sizing: border-box;
  width: 0.4em;
  height: 0.75em;
  transform: rotate(45deg);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.el-checkbox > input[type="checkbox"]:checked + .el-checkbox-style:before {
  border: #24B799;
  background: #24B799;
}
.el-checkbox > input[type="checkbox"]:checked[disabled] + .el-checkbox-style:before {
  border: #b0d7f5;
  background: #b0d7f5;
}
/*blue theme*/
.el-radio.el-radio-blue > input[type="radio"] + label:hover:before,
.el-checkbox.el-checkbox-blue > input[type="checkbox"] + label:hover:before,
.el-radio.el-radio-blue > input[type="radio"]:checked + label:before,
.el-checkbox.el-checkbox-blue > input[type="checkbox"]:checked + label:before {
  border-color: #20a0ff;
}
.el-checkbox.el-checkbox-blue > input[type="checkbox"]:checked + label:before,
.el-radio.el-radio-blue > input[type="radio"] + label:after {
  background: #20a0ff;
}
.el-radio.el-radio-blue > input[type="radio"][disabled] + label:hover:before,
.el-checkbox.el-checkbox-blue > input[type="checkbox"][disabled] + label:hover:before {
  border-color: #D3DCE6;
}
.el-checkbox.el-checkbox-blue > input[type="checkbox"]:checked[disabled] + label:before,
.el-radio.el-radio-blue > input[type="radio"]:checked[disabled] + label:before {
  border-color: #b0d7f5;
}
.el-checkbox.el-checkbox-blue > input[type="checkbox"][disabled]:checked + label:before,
.el-radio.el-radio-blue > input[type="radio"]:checked[disabled] + label:after {
  background: #b0d7f5;
}
/*green theme*/
.el-radio.el-radio-green > input[type="radio"] + label:hover:before,
.el-checkbox.el-checkbox-green > input[type="checkbox"] + label:hover:before,
.el-radio.el-radio-green > input[type="radio"]:checked + label:before,
.el-checkbox.el-checkbox-green > input[type="checkbox"]:checked + label:before {
  border-color: #13ce66;
}
.el-checkbox.el-checkbox-green > input[type="checkbox"]:checked + label:before,
.el-radio.el-radio-green > input[type="radio"] + label:after {
  background: #13ce66;
}
.el-radio.el-radio-green > input[type="radio"][disabled] + label:hover:before,
.el-checkbox.el-checkbox-green > input[type="checkbox"][disabled] + label:hover:before {
  border-color: #D3DCE6;
}
.el-checkbox.el-checkbox-green > input[type="checkbox"]:checked[disabled] + label:before,
.el-radio.el-radio-green > input[type="radio"]:checked[disabled] + label:before {
  border-color: #a1efc4;
}
.el-checkbox.el-checkbox-green > input[type="checkbox"][disabled]:checked + label:before,
.el-radio.el-radio-green > input[type="radio"]:checked[disabled] + label:after {
  background: #a1efc4;
}
/*red theme*/
.el-radio.el-radio-red > input[type="radio"] + label:hover:before,
.el-checkbox.el-checkbox-red > input[type="checkbox"] + label:hover:before,
.el-radio.el-radio-red > input[type="radio"]:checked + label:before,
.el-checkbox.el-checkbox-red > input[type="checkbox"]:checked + label:before {
  border-color: #ff4949;
}
.el-checkbox.el-checkbox-red > input[type="checkbox"]:checked + label:before,
.el-radio.el-radio-red > input[type="radio"] + label:after {
  background: #ff4949;
}
.el-radio.el-radio-red > input[type="radio"][disabled] + label:hover:before,
.el-checkbox.el-checkbox-red > input[type="checkbox"][disabled] + label:hover:before {
  border-color: #D3DCE6;
}
.el-checkbox.el-checkbox-red > input[type="checkbox"]:checked[disabled] + label:before,
.el-radio.el-radio-red > input[type="radio"]:checked[disabled] + label:before {
  border-color: #f9b3b3;
}
.el-checkbox.el-checkbox-red > input[type="checkbox"][disabled]:checked + label:before,
.el-radio.el-radio-red > input[type="radio"]:checked[disabled] + label:after {
  background: #f9b3b3;
}
/*yellow theme*/
.el-radio.el-radio-yellow > input[type="radio"] + label:hover:before,
.el-checkbox.el-checkbox-yellow > input[type="checkbox"] + label:hover:before,
.el-radio.el-radio-yellow > input[type="radio"]:checked + label:before,
.el-checkbox.el-checkbox-yellow > input[type="checkbox"]:checked + label:before {
  border-color: #f7ba2a;
}
.el-checkbox.el-checkbox-yellow > input[type="checkbox"]:checked + label:before,
.el-radio.el-radio-yellow > input[type="radio"] + label:after {
  background: #f7ba2a;
}
.el-radio.el-radio-yellow > input[type="radio"][disabled] + label:hover:before,
.el-checkbox.el-checkbox-yellow > input[type="checkbox"][disabled] + label:hover:before {
  border-color: #D3DCE6;
}
.el-checkbox.el-checkbox-yellow > input[type="checkbox"]:checked[disabled] + label:before,
.el-radio.el-radio-yellow > input[type="radio"]:checked[disabled] + label:before {
  border-color: #fbeac1;
}
.el-checkbox.el-checkbox-yellow > input[type="checkbox"][disabled]:checked + label:before,
.el-radio.el-radio-yellow > input[type="radio"]:checked[disabled] + label:after {
  background: #fbeac1;
}
/*switch component*/
.el-switch,
.el-switch-style,
.el-switch-style:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.el-switch {
  display: inline-block;
  font-size: 100%;
  height: 1.6em;
  position: relative;
}
.el-switch .el-switch-style {
  height: 1.6em;
  left: 0;
  background: #C0CCDA;
  -webkit-border-radius: 0.8em;
  border-radius: 0.8em;
  display: inline-block;
  position: relative;
  top: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 3em;
  cursor: pointer;
}
.el-switch .el-switch-style:before {
  display: block;
  content: '';
  height: 1.4em;
  position: absolute;
  width: 1.4em;
  background-color: #fff;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  left: 0.1em;
  top: 0.1em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.el-switch > input[type="checkbox"] {
  display: none;
}
.el-switch > input[type="checkbox"][disabled] + .el-switch-style {
  cursor: not-allowed;
  background-color: #D3DCE6;
}
.el-switch > input[type="checkbox"]:checked + .el-switch-style {
  background-color: #20a0ff;
}
.el-switch > input[type="checkbox"]:checked + .el-switch-style:before {
  left: 50%;
}
.el-switch > input[type="checkbox"]:checked[disabled] + .el-switch-style {
  background-color: #b0d7f5;
}
.el-switch.el-switch-blue > input[type="checkbox"]:checked + .el-switch-style {
  background-color: #20a0ff;
}
.el-switch.el-switch-blue > input[type="checkbox"]:checked[disabled] + .el-switch-style {
  background-color: #b0d7f5;
}
.el-switch.el-switch-green > input[type="checkbox"]:checked + .el-switch-style {
  background-color: #13ce66;
}
.el-switch.el-switch-green > input[type="checkbox"]:checked[disabled] + .el-switch-style {
  background-color: #a1efc4;
}
.el-switch.el-switch-red > input[type="checkbox"]:checked + .el-switch-style {
  background-color: #ff4949;
}
.el-switch.el-switch-red > input[type="checkbox"]:checked[disabled] + .el-switch-style {
  background-color: #f9b3b3;
}
.el-switch.el-switch-yellow > input[type="checkbox"]:checked + .el-switch-style {
  background-color: #f7ba2a;
}
.el-switch.el-switch-yellow > input[type="checkbox"]:checked[disabled] + .el-switch-style {
  background-color: #fbeac1;
}
/*define size*/
.el-radio.el-radio-sm,
.el-checkbox.el-checkbox-sm,
.el-switch.el-switch-sm {
  /*font-size: 85%;*/
}
.el-radio.el-radio-lg,
.el-checkbox.el-checkbox-lg,
.el-switch.el-switch-lg {
  font-size: 125%;
}


.ui-autocomplete {
    max-height: calc(1.65em * 5 + 2px);
    overflow: hidden;
    overflow-y: scroll;
  }


/*.ui-autocomplete::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #ffc0cb;
}

.ui-autocomplete::-webkit-scrollbar {
  width: 6px;
  background-color: black;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
  background-color: #bb6573;
}
*/
::-webkit-scrollbar {
    width: var(--scroll-bar-size);
    height: var(--scroll-bar-size);
    background: transparent;
    cursor: pointer;
}
::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background-color);
    border-radius: var(--scroll-bar-size);
    border-color: transparent;
    border-style: solid;
    border-width: calc(var(--scroll-bar-size)/3);
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:active {
    background-color: var(--scroll-bar-thumb-background-color-active);
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    border-width: 1px;
    background-color: var(--scroll-bar-thumb-background-color-active);
    cursor: pointer;
}
