/*------------- body----------------*/

body {
    font-family: 'Arial', 'Verdana', sans-serif;
    color: #444;
    font-size: 15px;
    background:linear-gradient(#ffd194,#ee9ca7);
    /* background-color:#ffffff; */
}

a,a:link,a:hover,a:active {
    text-decoration: none;
}


h1,
h2,
h3,
h4 {
    font-family: 'Arial', 'Verdana', sans-serif;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 15px;
}

h6 {
    font-size: 10px;
}



.container a {
    color:#708090;
}


.btn_up {
    background:#B3D9D9;
    color: #627575;
    font-size: 20px;
    margin-bottom: 20px; 
    padding: 5px 20px 5px 20px;
    border-radius: 30px;
    border-color: #627575;
}

.btn_up:hover {
    opacity: .6;
    -webkit-transition: .5s linear;
    -moz-transition: .5s linear;
    -ms-transition: .5s linear;
    -o-transition: .5s linear;
    transition: .5s linear;
}

.title-font {
    color:black; 
    font-size: 30px; 
    object-fit: contain;
}

@media screen and (max-width: 767px) {
    .title-font {
        color:black; 
        font-size: 20px; 
        object-fit: contain;
    }

}



/*------------- side bar----------------*/

.index-sidebar .item {
    font-size: 15px;
    opacity: 0.8;
    padding: 8px;
    width:100%;
    background-color:#FFF3D4;
    cursor :pointer;
}

.index-sidebar .item a {
    color: #494949;
}

/* 
.index-sidebar .item:hover {
    opacity: 1;
    background-color: #555;
    -webkit-transition: .5s linear;
    -moz-transition: .5s linear;
    -ms-transition: .5s linear;
    -o-transition: .5s linear;
    transition: .5s linear;
} */

.itembtn,
.itembtn:focus {
    display: block;
    position: relative;
    z-index: 1;
    min-width: 100px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    padding: 5px 20px;
}
.itembtn:before,
.itembtn:after {
    content: '';
    position: absolute;
    transition: inherit;
    color:#ffffff;
    z-index: -1;
}
.itembtn:hover {
    transition-delay: .5s;
}
.itembtn:hover:before {
    transition-delay: 0s;
}
.itembtn:hover:after {
    background: #FFFFFF;
    transition-delay: .35s;
}
.itembtn.from-top:before,
.itembtn.from-top:after {
    color:#FFFFFF;
    left: 0;
    height: 0;
    width: 100%;
}
.itembtn.from-top:before {
    bottom: 0;
    border: 1px solid #FFFFFF;
    border-top: 0;
    border-bottom: 0;
}
.itembtn.from-top:after {
    top: 0;
    height: 0;
}
.itembtn.from-top:hover:before,
.itembtn.from-top:hover:after {
    height: 100%;
}



/*------------- search ----------------*/

.index-search input {
    outline: none;
    border: 0;
    font-size: 15px;
    padding: 5px;
    height: 30px;
}

.index-search button {
    height: 30px;
    background: url("../img/icon/search_white.png") no-repeat;
    background-color: #20B2AA;
    padding: 10px 18px;
    background-position: 8px;
}


/*------------- navbar ----------------*/

.nav-in li {
    font-size: 17px;
}


.nav-in>li a {
    padding: 20px 15px;
   
}

.navbar-nav {
    text-align: center;
}

.navbar-nav>li {
    display: inline-block;
    color: #fff;
    margin: 0 10px;
}


@media screen and (max-width: 767px) {
    .navbar-nav>li {
        display: inline;
        margin: 8 0px;
    }
    .nav-in>li a {
        padding: 0px 0px;
        color: #fff;
    }
}




/*------------- category ----------------*/

.btn_categorydropdown {
    color:#708090;
   
}

.btn_categorydropdown:hover {
    opacity: 0.8;
}


.category-title {
    position: relative;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight:bold;
    color:#ff7600;/* #20B2AA */
    /*background-color: #dceceb;*//* #dceceb */ /* #d7f3d9 */

}
.category-title::after{
    content: ""; 
    width: 100%; 
    height: 5px;
    background: #ff7600; 
    position: absolute; 
    left: 0px; 
    top: 100%; 
}


.category-block {
    text-align: left;
    height: 500px;
    margin-left: 10px;
    margin-right: 10px;
}

.category-block img {
    width: 100%;
}

.catagotie-block-up {
    font-size: 25px;
    opacity: 0.9;
}


.catagotie-img {
    max-height: 42%;
    overflow-y: hidden;
}

.category-block-separate{
    border: 4px dashed #ff7600;
    margin-bottom: 5px;
}

.list-block{
    height: 80px;
}


@media screen and (max-width:1000px) {
    .catagotie-img {
        max-height: 48%;
        min-height: 30%;
        overflow-y: hidden;
    }
}

.category-itemtitle {
    
    font-size: 22px;
    font-weight: bold;
    text-align:center;
    color: #d4412a;

 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-itemtitle {
    
    font-size: 22px;
    font-weight: bold;
    text-align:center;
    color: #384b43;
}

.category-classification{
    text-align:center; 
}

.cha_best_icon img{
    width: 20px;
}
.category-classification span{
    cursor: pointer;
    color: #3c7763;
    font-size: 18px;
    
}

.category-classification span:hover{
    color: #516161;
    
}

.category-classification .list-no{
    color: #f51111;
    cursor:default;
}
.category-classification .list-no:hover{
    color: #f51111;
}
.category-classification .list-yes{
    color: #21b853;
    cursor:default;
}
.category-classification .list-yes:hover{
    color: #21b853;
}


.tagbutton {
    border-radius:5px;
    padding: 0 10px 0 10px;
    border: 0;
}

.tagbutton_cha{
    background: #dfecff;
    color: #395c6d;
}
.tagbutton_cha:hover {
    background: #dffdff; /*#F7C2BA*/
    color: #395c6d;  /*#C12C15*/
}

.tagbutton_ingredient{
    background: #fff7ce;
    color: #9e4444;
}
.tagbutton_ingredient:hover {
    background: #ffed92;
    color: #9e4444;
}

.item_love_cha{
    margin-bottom: 5px;

    display: -webkit-box;
    -webkit-line-clamp: 3;  
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.info {
    
    font-size: 16px;
}

.info p {
    display: -webkit-box;
    -webkit-line-clamp: 5;   
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*------------- project ----------------*/

.project-img{
    width:90%; 
    max-width:600px;
}

.project-category-classification{
    text-align: center;
}

.project-category-classification span{
    cursor: pointer;
    font-weight: bold;
    color: #326e6e;
    font-size: 25px;
    
}

.project-category-classification span:hover{
    color: #4a7979;
    
}

.btn-download {
    margin-top:20px;
    width: 100%;
    height: 70px;
    background: #FF9224;
    color: #ffffff;
    font-size: 30px;
    border-radius: 10px;
    border: 0px;
    
}

.btn-download:hover {
    opacity: 0.8;
   
    -webkit-transition: .5s linear;
    -moz-transition: .5s linear;
    -ms-transition: .5s linear;
    -o-transition: .5s linear;
    transition: .5s linear;
}

.project-font{
    font-size: 20px;
    font-weight: bold;
}

.project-tag{
    margin-bottom: 10px;
    margin-right: 10px;
    font-size: 20px;
}



#gotop {
	line-height:50px;
    border-radius:50%;
	text-align: center;
	opacity:0.8;
   	cursor: pointer; 
    position:fixed;
    z-index:10;
    right:10px;
    bottom:10px;
    display:none;
    width:50px;
    height:50px;
    color:#fff;
    background:#C12C15;    /* #FFD700; 黃色 */
    transition:all 0.5s;
}