/*--------------------------手機平板-----------------*/
html {
    height: 100%;
	padding: 0;
    margin: 0;  
    touch-action: pan-x;
    touch-action: pan-left;
    touch-action: pan-right;
    touch-action: pan-y;
    touch-action: pan-up;
    touch-action: pan-down;
    touch-action: manipulation;
}
body {
    min-width: 100vw;
    min-height: 100vh;
    margin: 0px;
	background-image: url("../images/bk1-2.png");
}
a {
    text-decoration: none;
}
a:link,a:visited,a:hover,a:active {
    color:#134d18;
}

  
.header {  
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    align-content: stretch;
    width:100vw;
    max-width: 100vw;
    border: #ff9a15 5px solid ;
    border-style: none none solid none;
    height:105px; 
}
.logo_title{
    display: flex;
    flex-direction: row;
    flex-wrap:nowrap;
    align-items: flex-end;
    font-size: 36px;
    font-weight: bold;
    /*border: #cc0818 1px solid ;*/
    min-width:240px;
}
.sw {
    cursor: pointer;
    padding-right: 15px;
    img {
      width: 40px;   
      vertical-align: middle;
    }
    display:inline-block;
}
.search{
    max-height: 0;
    width:100%;
    font-weight: bold;
    /*border: #a50856 2px solid ;*/
    overflow: hidden;
    transition: max-height .8s;
    background-color: #ebc38f ;
    margin: 0px 0px;
    padding: 0px 20px;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}
.menu-show .search{
    width:100vw;
    max-width:100vw;
    max-height: 500px;
    height:300px;
}
form#search_form{
    width:100vw;
    max-width:100vw;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: stretch;
	align-content: stretch;

    font-size: 24px;
    font-weight: bold;
    line-height: 48px;
    input,select{
        font-size: 24px;
        font-weight: bold;
        line-height: 48px;         
    }
    transition: all .3s;
}
div#search_form{
    height:48px;
}
.content {
    display:flexbox; 
    margin: 5 5px; 
    padding:0 0px;   
    min-width: 100vw;
    min-height: 73vh;
    
}
.data_num{    /*查詢資料筆數*/
    font-size: 24px;
    font-weight: bold;
    margin: 5px 10px; 
}
    
.footer {
    min-width: 100vw;
    height:auto;
    margin:0;
    border:1px solid #00C; 
    padding: 10px 10px ;
    background-color: #ff9a15;
    font-size: 24px;
}

/* -------------樂曲資料 box --------*/
.view-data-box {  /*曲目卡片外框*/
    width:330px;
    height:190px;
    margin:0px 10px 20px;
    border:2px solid #00C;
    border-radius: 40px;    
    padding: 2px 2px ; 
    box-shadow: 3px 2px 2px #009; 
    display: inline-flex;    
}
.css-catalog{  /*右側：分類標頭*/
    align-content: center;
    height:auto;
    width:30%;
    border:1px solid #00c; 
    text-align: center;  
    border-radius: 36px 0px 0px 36px; 
}
.css-sheet-data{ /*左側：曲名、伴奏檔資訊*/
    align-content: center;
    text-align: center;
    width:70%;
    border:1px solid #00c; 
    border-radius: 0px 36px 36px 0px;
}
.text_12{
    margin-left:10px;
    font-size:12pt;
    color:#534d46
}
hr.s_name {
    border-top: 1px dashed #000;
}  

/*---表單CSS-------------------------------------*/
.require {
    font-size: 24px;
    color: red;
}
.no-require {
    font-size: 24px;
    color: rgb(32, 12, 12);
    opacity: 0%;
}
.uploadfile_box{
    margin-top: 10px;
    width: 100%;
    font-size: 24px;
    /*font-weight: bold;*/
    input,select{
        font-size: 24px;
        font-weight: bold;  
    }
}
.uploadfile{
    margin-top: 5px;
    margin-left: 10px;
}
input#ufile{
    font-size: 24px;
}
.endfile{
    margin-top: 10px;
    margin-left: 10px; 
}
.submit{
    margin-top: 10px;
    margin-left: 10px; 
}

/*------addsheet -editsheet  accessmedia 共用content-----------*/
.edit_content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 73vh;
}

/*------addsheet ---新增曲譜畫面-----------*/
.add_song_data {
    width:90%;
    height:auto;
    margin:0px 5px 40px;
    /* border:1px solid #00C; */
    padding: 10px 10px ;
    font-size: 24px;
}

/*--- 樂曲資訊 --------------*/
.data_box {
    width:auto;
    height:auto;
    margin:5px 5px 40px;
    border:1px solid #00C;
    padding: 10px 10px ;
}
/*------表單---畫面-----------*/
form#add_song_form,
form#edit_song_form,
form#add_media_form{
    font-size: 24px;
    /*font-weight: bold;*/
    input,select{
        font-size: 24px;
        font-weight: bold;  
    }
}

/*-----處理 media 頁面 ---- accessmedia.php-----*/
.song-data-box1 {
    width:90%;
    height:auto;
    margin:0px 10px 40px;
    border:1px solid #00C; 
    padding: 10px 10px ;
    font-size: 24px;
    max-width: 90vw;
}
.song-data-box2 {
    width:90%;
    height:auto;
    margin:0x 10px 40px;
    border:1px solid rgb(5, 126, 51); 
    padding: 10px 10px ;
    font-size: 24px;
    max-width: 90vw;
}
.add_media_data {
    width:90%;
    height:auto;
    margin:2px 10px 40px;
    border:1px solid rgb(92, 4, 45); 
    padding: 10px 10px ;
    font-size: 24px;
    font-weight: bold;
    input,select{
        font-size: 24px;
        font-weight: bold;  
    }
    max-width: 90vw;
}
    


