body{
    margin:0;
}
.container{
    margin:0;
}



.area1{
    padding-top:100px;
    height:300px;
    background-image: url('../img/background2.jpg');
    background-repeat: no-repeat;
    background-size: 100% 650px;

}

.area2{
    padding:1% 2.5% 2% 2.5%;
    width:90%;
    margin:auto;
    background-color: #FFFFFF;
    border-radius: 15px;
    margin-top:-3%;
    margin-bottom:3%;
    box-shadow: 0px 0px 3px #9D9D9D;
}


/* ------------------------------------------------------------------- */


.area2_nav{
    text-align: center;
}
.area2_nav span{
    font-size: 30px;
    color:	#8E8E8E;
}
.area2_nav span:hover{
    color:	#5B5B5B	;
    font-weight: bold;
}
.area2_nav a{
    text-decoration: none;
}

.area2_content{
    width:80%;
    margin: auto;
    padding-left:2.5%;
    padding-right:2.5%;
    text-align: left;
}
.area2 h1{
    font-size:35px;
    margin-top:4%;
    margin-bottom:0px;
}
.area2 hr{
    display: inline-block;
    width:20%;
    background-color: #5ca1e1;
    text-align: left;
    height:5px;
    border-radius: 5px;
}
.CM_img{
    height:290px;
    width:100%;
}
.tr_pimg{
    display: none;
}
.tr_img{
    width:23%;
}
.tr_name{
    padding-left:2%;
    width:62%;
    height:50px;
    font-size: 30px;
}
.tr_label{
    padding-left:2%;
    height:20px;
    font-size: 20px;
    color:	#7B7B7B;
}
.tr_info{
    padding-left:2%;
    font-size: 20px;
    
}
.tr_note{
    padding-left:2%;
    font-size: 20px;
}
.tr_price{
    padding-right: 3%;
    font-size: 20px;
    text-align: right;
    height:100px;
}
.price{
    font-size: 30px;
}
.tr_button{
    height:10px;
    text-align: right;
    padding-right:25px;
}
.tr_button > button{
    padding:10px 45px 10px 45px;
    border-radius: 10px;
    border:0px;
    font-size:22px;
    color:#F0F0F0;
    background-color:#9393FF;
    font-weight:bold;
    transition: 0.1s;
}

.tr_button > button:hover{
    cursor:pointer;
    transform: scale(1.05,1.05);
}
.area2 table{
    background-color: #FFE6FF;
    width:100%;
    margin-bottom:5px;
}



/* ------------------------------------------------------------------- */
.search_area_nav{
    margin:auto;
    width:70%;
    height:50px;
    background-color: #5ca1e1;
    box-shadow:0px -2px 5px #6C6C6C;
    border-radius: 10px 10px 0px 0px;
    opacity: 0.9;
}
.search_area_nav span{
    font-size:25px;
    color: white;
    transition: 0.3s;
}
.search_area{
    margin:auto;
    margin-top:0px;
    width:70%;
    height:150px;
    box-shadow:0px 2px 5px #6C6C6C;
    border-radius: 0px 0px 10px 10px;
    background-color: white;
}
.search_area_nav table{
    width:100%;
    height:100%;
    text-align: center;
}
.search_area_nav td{
    border-radius: 8px;
    width:20%;
}
.search_area_nav td:hover{
    background-color: white;
    transition: 0.3s;
    cursor:pointer;
}
.search_area_nav td:hover > span{
    color:black;
}



/* ------------------搜尋框css--------------自由行----------------------------------------- */

.search1,.search2,.search3,.search4,.search5{
    height:88%;
    padding-top:1%;
    padding-left:5%;
    padding-right:5%;
}

.search_area button{
    padding:3px 25px 3px 25px;
    border-radius: 10px;
    border:0px;
    font-size:20px;
    color:#F0F0F0;
    background-color:#9393FF;
    font-weight:bold;
    margin-top:20px;
    height:60px;
    width:100px;
    transition: 0.2s;
}

#search_btn:hover{
    cursor:pointer;
    transform: scale(1.05,1.05);
}

.search_area span{
    font-size:20px;
}

.search_area > table{
    margin-top:10px;
    width:100%;
}
.nodata{
    text-align: center;
    font-size: 25px;
    padding-top: 8%;
    padding-bottom: 20%;
    font-weight: bold;
}

/* ------------------搜尋框css--------------主題旅遊----------------------------------------- */


#subject{                              /*用到*/
    padding: 10px;
    font-size:20px;
    width:95%;
    height:5%;
    border-radius: 5px;
}


/* ------------------搜尋框css--------------自由行旅遊----------------------------------------- */


#departure{                         /*用到*/
    border: 0px;
    border: 1px solid black;
    font-size:20px;
    width:90%;
    height:5%;
    border-radius: 5px;
    padding: 10px;
}

#day{                               /*用到*/
    padding: 10px;
    font-size:20px;
    width:90%;
    height:5%;
    border-radius: 5px;
}


/* ------------------dorm_search-----------飯店景點--------------------------------------- */


#people{                           /*用到*/
    padding: 10px;
    font-size:20px;
    width:90%;
    height:5%;
    border-radius: 5px;
}

/* ------------------viewpoint_search-----------特色景點--------------------------------------- */
#viewname{                              /*用到*/
    padding:10px;
    border: 0px;
    border: 1px solid black;
    font-size:20px;
    width:95%;
    height:5%;
    border-radius: 5px;
}
 
#search_text{                           /*用到*/
    padding:10px;
    border: 0px;
    border: 1px solid black;
    font-size:20px;
    width:95%;
    height:5%;
    border-radius: 5px;
}

@media (max-width: 1600px) { /*MD_Computer*/
    

    .search_area_nav{
        height:42px;
    }
    .search_area_nav span{
        font-size:23px;
    }
    .search_area{
        height:130px;
    }
    .search_area_nav td{
        width:20%;
    }
    .nodata{
        font-size: 22px;
    }

    .search_area span{
        font-size:18px;
    }
    #subject{          
        font-size:18px;
    }
    #departure{                       
        font-size:18px;
    }
    #day{         
        font-size:18px;
    }
    #people{                           
        font-size:18px;
    }
    #viewname{                              
        font-size:18px;
    }
    #search_text{                           
        font-size:18px;
    }

    .area2_nav span{
        font-size: 26px;
    }

    .area2 h1{
        font-size:30px;
    }
    .CM_img{
        height:250px;
        width:100%;
    }
    .tr_img{
        width:25%;
    }
    .tr_name{
        font-size: 24px;
    }
    .tr_label{
        font-size: 16px;
    }
    .tr_info{
        font-size: 17px;
        
    }
    .tr_note{
        font-size: 17px;
    }
    .tr_price{
        padding-right: 1%;
        font-size: 17px;
    }
    .price{
        font-size: 28px;
    }
    .tr_button > button{
        padding:8px 30px 8px 30px;
        font-size: 20px;
    }
    
}

@media (max-width: 1280px) { /*MD_Computer*/
    .area1{
        height: 350px;
        padding-top:70px;
    }
    .area2{
        margin-top:-12%;
    }
    .search_area_nav{
        height:33px;
    }
    .search_area_nav span{
        font-size:18px;
    }
    .search_area{
        height:100px;
    }
    .nodata{
        font-size: 18px;
    }



    .search_area span{
        font-size:14px;
    }
    #subject{          
        font-size:14px;
        padding:10px;
    }
    #departure{                       
        font-size:14px;
    }
    #day{         
        font-size:14px;
        padding:10px;
    }
    #people{                           
        font-size:14px;
        padding:10px;
    }
    #viewname{                              
        font-size:14px;
        width:90%;
    }
    #search_text{                           
        font-size:14px;
        width:93%;
    }
    .search_area button{
        font-size:15px;
        margin-top:15px;
        height:40px;
        width:80px;
    }

    .area2_content{
        width:85%;
        padding-left:0%;
        padding-right:0%;
    }
    .area2 hr{
        height:2.5px;
    }
    .area2_nav span{
        font-size: 20px;
    }

    .area2 h1{
        font-size:25px;
    }
    .CM_img{
        height:230px;
        width:100%;
    }
    .tr_img{
        width:25%;
    }
    .tr_name{
        font-size: 20px;
    }
    .tr_label{
        font-size: 14px;
    }
    .tr_info{
        font-size: 14px;
        
    }
    .tr_note{
        font-size: 14px;
    }
    .tr_price{
        font-size: 14px;
    }
    .price{
        font-size: 24px;
    }
    .tr_button{
        padding-right:15px;
    }
    .tr_button > button{
        padding:8px 30px 8px 30px;
        font-size: 15px;
    }
}
@media (max-width:768px){ /*Phone*/

    .area1{
        padding-top:30px;
        height: 500px;
    }
    .area2{
        width:60%;
        padding-top:20px;
        margin-top:-8%;
        padding-left: 20%;
        padding-right:20%;
    }
    .search_area_nav{
        width:95%;
        height:57px;
    }
    .search_area_nav span{
        font-size:18px;
    }
    .search_area{
        margin:auto;
        margin-top:0px;
        width:95%;
        height:auto;
    }
    .search_area_nav table{
        width:100%;
        height:100%;
        text-align: center;
    }
    .search_area_nav td{
        width:20%;
    }
    .search_area_nav td:hover{
        background-color: white;
        transition: 0.3s;
        cursor:pointer;
    }
    .search_area_nav td:hover > span{
        color:black;
    }
    .nodata{
        font-size: 20px;
        padding-top:40%;
        padding-bottom:60%;
    }


    .search_area{
        height:auto;
        width:74.5%;
        border-radius: 0px;
        padding:10px 10% 10px 10%;
        border-radius: 0px 0px 10px 10px;
    }
    .search_area span{
        display:block;
        font-size:16px;
        margin-top:2.5%;
        margin-bottom:2.5%;
    }
    #departure{
       display: block;
       width:97%;
       font-size: 14px;
    }
    #search_text{
        display: block;
        width:97%;
        font-size: 14px;
    }
    #day{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #subject{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #people{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #viewname{
        display: block;
        width:97%;
        font-size: 14px;
     }
    .search_area button{
        margin-left: 40%;
        margin-top: 18px;
        font-size: 18px;
        height: 40px;
        width: 100px;
    }

    .area2_content{
        width:95%;
        padding-left:0%;
        padding-right:0%;
    }
    .area2_nav{
        margin-bottom: 5%;
    }
    .area2 hr{
        width:45%;
        height:2.5px;
    }
    .area2_nav span{
        font-size: 24px;
    }

    .area2 h1{
        margin-top:10%;
        font-size:28px;
    }
    .tr_pimg{
        display: table-cell;
    }
    .tr_img{
        width:0%;
        display: none;
    }
    .P_img{
        height:300px;
        width:100%;
    }
    .CM_img{
        width:0%;
    }
    .tr_name{
        font-size: 20px;
    }
    .tr_label{
        font-size: 14px;
    }
    .tr_info{
        font-size: 14px;
        
    }
    .tr_note{
        font-size: 14px;
    }
    .tr_price{
        font-size: 14px;
    }
    .price{
        font-size: 24px;
    }
    .tr_button{
        padding-right:2px;
    }
    .tr_button > button{
        padding:8px 20px 8px 20px;
        font-size: 18px;
    }

}


@media (max-width:560px){ /*Phone*/

    .area1{
        padding-top:30px;
        height: 400px;
    }
    .area2{
        padding-top:20px;
        margin-top:-8%;
    }
    .search_area_nav{
        width:95%;
        height:57px;
    }
    .search_area_nav span{
        font-size:18px;
    }
    .search_area{
        margin:auto;
        margin-top:0px;
        width:95%;
        height:auto;
    }
    .search_area_nav table{
        width:100%;
        height:100%;
        text-align: center;
    }
    .search_area_nav td{
        width:20%;
    }
    .search_area_nav td:hover{
        background-color: white;
        transition: 0.3s;
        cursor:pointer;
    }
    .search_area_nav td:hover > span{
        color:black;
    }
    .nodata{
        font-size: 20px;
        padding-top:40%;
        padding-bottom:60%;
    }


    .search_area{
        height:auto;
        width:74.5%;
        border-radius: 0px;
        padding:10px 10% 10px 10%;
        border-radius: 0px 0px 10px 10px;
    }
    .search_area span{
        display:block;
        font-size:16px;
        margin-top:2.5%;
        margin-bottom:2.5%;
    }
    #departure{
       display: block;
       width:97%;
       font-size: 14px;
    }
    #search_text{
        display: block;
        width:97%;
        font-size: 14px;
    }
    #day{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #subject{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #people{
        display: block;
        width:97.5%;
        font-size: 14px;
    }
    #viewname{
        display: block;
        width:97%;
        font-size: 14px;
     }
    .search_area button{
        margin-left: 32%;
        margin-top: 18px;
        font-size: 18px;
        height: 40px;
        width: 100px;
    }

    .area2{
        width:90%;
        padding-left: 0%;
        padding-right:0%;
    }
    .area2_content{
        width:95%;
        padding-left:0%;
        padding-right:0%;
    }
    .area2_nav{
        margin-bottom: 5%;
    }
    .area2 hr{
        width:45%;
        height:2.5px;
    }
    .area2_nav span{
        font-size: 20px;
    }

    .area2 h1{
        margin-top:10%;
        font-size:25px;
    }
    .tr_pimg{
        display: table-cell;
    }
    .tr_img{
        width:0%;
        display: none;
    }
    .P_img{
        height:230px;
        width:100%;
    }
    .CM_img{
        width:0%;
    }
    .tr_name{
        font-size: 20px;
    }
    .tr_label{
        font-size: 14px;
    }
    .tr_info{
        font-size: 14px;
        
    }
    .tr_note{
        font-size: 14px;
    }
    .tr_price{
        font-size: 14px;
    }
    .price{
        font-size: 24px;
    }
    .tr_button{
        padding-right:2px;
    }
    .tr_button > button{
        padding:8px 20px 8px 20px;
        font-size: 18px;
    }

}