@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
body{
  font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
}
.wrapper{
    max-width:1000px;
    margin: 0 auto;
}

@media (max-width:1051px) {
    .wrapper{
        max-width:100%;
    }
    .logo {
       margin-left: 16px;
    }
}
@media (max-width:520px) {
    
    .logo img{
       width: 30%;
    }
}

.containerfix {
    display: flex;
    justify-content: center;
}


.famiflow {
    box-sizing: border-box;
    padding: 0 0 56px;
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 24px 20px;
    width: 1000px;
}
.famiflow-m {
    box-sizing: border-box;
    /* padding: 0 0 56px; */
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 10px 10px;
    width: 1000px;
}
.famiflow2 {
    text-align: center;
    overflow: hidden;
    border-radius: 7px 7px 0px 0px;

}
.imgflow {
  display: block;
  width: 100%;  
}

.mybtn1 {
    background-color: #089ae7;
    color: #fff;
    padding-left: 32px;
    padding-right: 32px;
    margin: 7% 1.2%;
    font-size: 20px;
    width: 28%;
    transform:scale(1.05,1.05);
    box-shadow: -1px 3px 20px -4px rgba(8, 154, 231, 0.4);;
}
.mybtn {
    background-color: #fff;
    color: #089ae7;
    padding-left: 32px;
    padding-right: 32px;
    margin: 7% 0.3%;
    font-size: 18px;
    width: 28%;
    box-shadow: -1px 3px 20px -4px rgba(8, 154, 231, 0.4);;
}
.mybtn1:hover {
    background-color: #089ae7;
    color: #fff;
    cursor: pointer;
}
.mybtn:hover {
    background-color: #089ae7;
    color: #fff;
    cursor: pointer;
}
@media (max-width: 900px) {
    .mybtn {
        font-size: 16px;
    }
    .mybtn1 {
        font-size: 16px;
    }
}
@media (max-width: 776px) {
    .mybtn {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 14px;
    }
    .mybtn1 {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 14px;
    }
}
@media (max-width: 375px) {
    .mybtn {
        padding: 0;
    }
    .mybtn1 {
        padding: 0;
    }
}
@media (max-width: 347px) {
    .mybtn {
        padding: 0;
        font-size: 12px;
    }
    .mybtn1 {
        padding: 0;
        font-size: 12px;
    }
}

.pc {
    display: block;
}
.m {
    display: none;
}
@media (min-width: 768px) {
    .pc {
        display: none;
    }
    .m {
        display: block;
    }
}


.row {
    text-align: center;
    margin-bottom: 4%;
}
.whatbuy {
    width: 80%;
}
.s-title {
    font-weight: 600;
    font-size: 19px;
    margin: 8px 8px 4px 8px;
    color: #209240;
}
.s-title2 {
    font-size: 18px;
    color: #089ae7;
    padding: 0px 52px 8px 55px;
    text-align: justify;
}
.s-title2.main-title{
font-size: 18px;
font-weight: 500;
}
.s-text {
    font-size: 17px;
    color: #656565;
    margin-bottom: 0px;
}
.s-text2 {
    font-size: 16px;
    color: #656565;
    padding: 0px 52px 8px 55px;
    margin-bottom: 0;
    text-align: justify;
}
.s-text2 p{
    text-indent: -1em;
    padding-left: 1em;
}
.s-text2 a{
    text-decoration:none;
}
.mb-4{
   margin-bottom: 1.5rem
}
.mb-10{
    margin-bottom: 2.5rem;
}
.whatbuy-cc.mb-10{
    margin-bottom: 2.5rem;
}
.whatbuy-cc {
    margin-bottom: 24px;
}
@media (max-width: 776px) {
    .s-text {
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .whatbuy {
        width: 60%;
    }
}
@media (max-width: 578px) {
    .s-title2 {
        font-size: 16px;
    }
    .s-title2.main-title{
        margin-top: 16px;
        font-size: 16px;
    }
}
@media (max-width: 495px) {
    .s-title {
        font-size: 14px;
    }
    .s-text {
        font-size: 13px;
    }
    .s-text2 {
        font-size: 14px;
        padding: 0px 16px 8px 16px;
    }
    .s-title2 {
        font-size: 16px;
        padding: 0px 16px 8px 16px;
         
    }
   
}


.famiflow-inst {
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 24px 20px;
    width: 1000px;
}
.famiflow-inst-m {
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 10px 10px;
    width: 1000px;
}
.nav-pills .nav-link {
    border-radius: 0;
    font-size: 18px;
    color: #7f7f7f;
    padding-top: 0px;
    border: none;
    border-bottom: solid 4px #7f7f7f;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #089ae7;
    background-color: #fff;
    font-size: 18px;
    padding-top: 0px;
    border: none;
    border-bottom: solid 4px #089ae7;
}
button, input, optgroup, select, textarea {
    line-height: 2;
}
.cb {
    background-color: transparent;
    border: none;
}
 .card-body{
    padding:0;
    padding-top:1rem;
    height:72px;

    display:flex;
    justify-content:center;  
    align-items:flex-start;  
    margin-bottom:16px; 
}

.card-title{
    color:#656565;
    font-size:16px;
    margin:0;
    padding-left:8px;
    line-height:1.4;
    text-align:left;
    max-width:220px;
}

.t-icon1,
.t-icon2,
.t-icon3,
.t-icon4,
.t-icon5{
    display:inline-block;
    width:26px;
    height:26px;
    background-repeat:no-repeat;
    background-size:cover;
    flex-shrink:0;
}

.t-icon1{ background-image:url(./img/step1.png); }
.t-icon2{ background-image:url(./img/step2.png); }
.t-icon3{ background-image:url(./img/step3.png); }
.t-icon4{ background-image:url(./img/step4.png); }
.t-icon5{ background-image:url(./img/step5.png); }

.card-titles {
    color: #FF7511;
    font-size: 16px;
    margin-bottom: 0;
    display: block; 
    padding-top: 6px;  
}
.card-title-m {
    color: #656565;
    font-size: 17px;
    display: inline-block; 
    padding-left: 8px;
    margin:0;
    line-height:1.4;
    text-align:left;
}
.card-title-mm {
    color: #FF7511;
    font-size: 17px;
    margin-bottom: 0;
    display: block; 
    padding-top: 6px;
}


.carousel-control-next-icon {
    background-image: url(./img/arrow-r.png);
}
.carousel-control-prev-icon {
    background-image: url(./img/arrow-l.png);
}

.m-size {
    margin: 0 auto;
}
@media (max-width: 768px) {
    .nav-pills .nav-link {
        font-size: 14px;
        line-height: 3;
        padding: 0;
    }
    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        font-size: 14px;
        line-height: 3;
        padding: 0;
    }
    .t-icon1 {
        width: 22px;
        height: 22px;
    }
    .t-icon2 {
        width: 22px;
        height: 22px;
    }
    .t-icon3 {
        width: 22px;
        height: 22px;
    }
    .t-icon4 {
        width: 22px;
        height: 22px;
    }
    .t-icon5 {
        width: 22px;
        height: 22px;
    }
    .card-title {
        font-size: 14px;
    }
}
@media (max-width: 347px) {
    .nav-pills .nav-link {
        font-size: 12px;
        padding: 0;
    }
    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        font-size: 12px;
        padding: 0;
    }
}

/* user-qa page */
.famiflow-qa {
    box-sizing: border-box;
    padding: 0 0 58px;
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 24px 20px;
    width: 1000px;
}
.famiflow-qa-m {
    box-sizing: border-box;
    padding: 0 0 58px;
    border-radius: 10px;
    box-shadow: -1px 3px 30px -5px rgba(101, 101, 101, 0.3);
    border: solid 2px #008cd6;
    margin: 10px 10px;
    width: 1000px;
}
.qaflow {
    width: 85%;
    margin: 0 auto;
}
.qatitle {
    font-size: 18px;
    font-weight: 500;
    color: #089ae7;
    padding: 0px 0px 8px 75px;
}
@media (max-width: 820px) {
    .qatitle {
        margin-top: 16px;
        padding: 0px 0px 8px 60px;
    }
}
@media (max-width: 430px) {
    .qatitle {
        margin-top: 16px;
        padding: 0px 0px 8px 30px;
    }
}
.qatitle2 {
    font-size: 18px;
    color: #089ae7;
    margin: 5% auto 3% 5%;
}
.accordion-button {
    color: #656565;
}
.accordion-button:not(.collapsed) {
    color: #089ae7;
    background-color: #fff;
    box-shadow: none;
}
.accordion-button:not(.collapsed):hover {
    color: #089ae7;
}
.accordion-button:not(.collapsed):focus {
    color: #089ae7;
}
.accordion-button::after {
    background-image: url(./img/arrow-d.svg);
}
.accordion-button:not(.collapsed)::after {
    background-image: url(./img/arrow-d.svg);
}
.accordion-body {
    color: #656565;
    text-align: justify;
}
@media (max-width: 784px) {
    .qatitle {
        font-size: 16px;
    }
    .qatitle2 {
        font-size: 16px;
    }
    .accordion-button {
        font-size: 14px;
    }
    .accordion-button:not(.collapsed) {
        font-size: 14px;
    }
    .accordion-body {
        font-size: 14px;
    }
}
.gotop {
	width: 45px;         
    height: 45px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	opacity: 80%;
	background-image: linear-gradient(#089ae7, #089ae7);
	cursor: pointer;
	position:fixed;
	right: 1rem;
	bottom: 1rem;
	display: none;
    z-index: 9999; 
}
.gotop::before, .gotop::after {
	width: 20px;            
    height: 4px;             
    border-radius: 4px;
	background: #fff;
	position: absolute;
	content: "";
}
.gotop::before {
	transform: rotate(-50deg) translate(0, -90%);
	left: 10px;
}
.gotop::after {
	transform: rotate(50deg) translate(0, -90%);
	right: 10px;
}
.gotop:focus {outline: none;}
