button {
    cursor: pointer;
}
body{
    background-image: url(系所社團飛船修正版海洋背景.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; 
    overflow-x: hidden;
}
ul{
    float:left;
}

h6{
    margin-top: 2%;
    margin-left: 18%;
    border-left: 6px solid lightgreen;
    border-bottom: 40px;
    background-color: rgb(250, 250, 221);
    font-size: 1.1vw;
    border-spacing:50px;
    padding-left:1vw; 
    width: 100%;
    word-wrap: break-word;
    max-width: 550px;
    max-height: 300px;
    overflow-y: auto;
    line-height: 26px;
    letter-spacing: 1px;
}
th{
    padding-top: 4%;
}
h3{
    color: rgb(32, 243, 180);
    font-size: 40px;
    margin-left: 2%;
}
h5{
    margin-left: 18%;
    color: white;
    font-size: 30px;
}

#bread{
    float:left;
    /* width: 25vw; */
}
#breadcru{
    background-color: black;
    opacity: 0.8;
}
#text_at{
    color: rgb(0, 162, 255);
    opacity: 1;
    font-size: 1.3vw;
}
#text, #text_stu{
    opacity: 1;
    color: white;
    font-size: 1.3vw;
}

h4{
    margin-top: 3%;
    margin-left:68%;  
}

button:hover {
    background-color: rgb(43, 78, 233);
    color: white;
}

table{
    background-image: url(系所社團飛船修正版地底背景2_去被.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left; 
    float: right;
    margin-right: 3%;
    margin-top: 13%;
    opacity: 0.8;
}

thead{
    text-align: center;
    font-size:2.4vw;
    color: white;
}

tbody{
    float:center;
    display: block;
    height: 39.5vh;
    overflow-y: scroll;
    border-collapse: collapse;
    text-align: center;
    margin-left: 15%;
    margin-top: 2%;
    width:29vw;

}

td{
    float: left;
    font-size: 1.8vw;
}
#tabletext{
    color: white;
}

/* ol{
    height: 10px;
} */

.plays, .dates, .services{
    display: none;
}

#carouselExampleIndicator2{
    max-width: 400px;
    max-height: 300px;
    float: left;
    margin-left: 18%;
}
.d-block{
    max-width: 400px;
    max-height: 300px;
}
.modal-content{
    background-image: url(彈出視窗背景.png);
    
}

.modal{
  margin-top: 3%;  
}

#modal_button{ 
    margin-top: 8px;
    width: 90px;
    padding-top:8px; 
    padding-bottom: 8px;
    border-radius: 10%;
    text-align: center;
}
#modal_button:focus{
    color: rgb(252, 250, 136);
}

#nav_a{
    font-size: 17px;
    color: white;
}
#nav_a:focus{
    color: rgb(7, 56, 112);
}


#nav_ul{
    margin-top: 8%;
}
#nav_a{
    background-color: rgba(255, 255, 255,0);
    display: block;
    padding: 0.4rem 0rem;
}
#modal_button:hover{
    box-shadow: 0 14px 20px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.nav-pills #nav_a.active{
    background-color: rgb(98, 224, 255);
}

#combut{
    position: relative;
    display: inline-block;
    margin-top: 10%;
    transform: translateX(-23vw);

}
.leftbox{
    opacity: 0.7;
    width: 30vw;
    float: left;
    position: relative;
}

#learn, #play, #date, #service{
    background-color: rgba(255, 255, 255, 0);
    color: white;    
    font-size: 2.6vw;
    position: absolute;
    border-radius: 1vh;
    border-color: rgb(112, 241, 250);
}

#learn{
    top: 13%;
    left: 24%;
}
#learn:focus{
    transform: scale(1.3);
    color: rgb(58, 236, 227);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);

}
#learn:hover{
    color: rgb(58, 236, 227);
}
#play{
    top: 33%;
    left: 34%;
}
#play:focus{
    transform: scale(1.3);
    color: rgb(58, 236, 227);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);
}
#play:hover{
    color: rgb(58, 236, 227);
}
#date{
    top: 53%;
    left: 44%;
}
#date:focus{
    transform: scale(1.3);
    color: rgb(58, 236, 227);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);
}
#date:hover{
    color: rgb(58, 236, 227);
}
#service{
    top: 73%;
    left: 54%;
}
#service:focus{
    transform: scale(1.3);
    color: rgb(58, 236, 227);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -o-transform: scale(1.3);
}
#service:hover{
    color: rgb(58, 236, 227);
}
@media screen and (min-width: 767px) and (max-width: 992px){
    h6{
        width:75%;
    }
    #carouselExampleIndicator1{
        max-width: 300px;
        max-height: 250px;
        float: left;
        margin-left: 21%;
    }
    #carouselExampleIndicator2{
        max-width: 300px;
        max-height: 250px;
        float: left;
        margin-left: 21%;
    }
    .d-block{
        max-width: 300px;
        max-height: 250px;
    }
    
}
@media screen and (min-width: 992px) and (max-width: 1000px){
    #bread{
        margin-top:2.3%;
    }
}
@media screen and (min-width: 589px) and (max-width: 769px){
    .breadcrumb {
        padding: 0rem 0.9rem;

    }
    #text_at{
        font-size: 3vw;
    }
}
@media screen and (max-width: 588px) and (min-width: 532px){
    .breadcrumb {
        padding: .75rem .9rem;
    }
}
@media screen and (max-width: 532px){
    .breadcrumb {
        padding: .75rem .5rem;
        
    }
}
@media screen and (max-width: 768px){
    body{
        background-image: url(社團手機板背景.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center; 
    }
    h3{
        font-size: 30px;
    }
    .modal{
        z-index: 4100;
        margin-top: 0%;
    }
    .modal .modal-body {
        height: var(--height);
        overflow: auto;
    }
    #nav_a{
        font-size: 12px;
    }
    #nav_ul{
        margin-top: 0%;
        margin-left: 30%;
        flex-wrap: nowrap;
    }
    #scroll_nav{
        overflow-x: scroll;
    }
    #modal_button{ 
        margin-top: 3px;
        width: 60px;
        border-radius: 10%;
        text-align: center;
    }

    h5{
        margin-left: 6%;
        font-size: 15px;
    }
    h6{
        margin-top: 2%;
        margin-left: 5%;
        border-left: 6px solid lightgreen;
        border-bottom: 40px;
        background-color: rgb(250, 250, 221);
        font-size: 14px;
        border-spacing:50px;
        padding-left:10px; 
        width: 100%;
        word-wrap: break-word;
        max-width: 280px;
        max-height: 300px;
        overflow-y: auto;
        line-height: 26px;
        letter-spacing: 1px;
    }
   
    #carouselExampleIndicator2{
        max-width: 300px;
        max-height: 300px;
        float: left;
        margin-left: 5%;
    }
    .d-block{
        max-width: 300px;
        max-height: 300px;
    }
    #cellup{
        position: relative;
        display: inline-block;
        margin-left: 4%;
        margin-top: 3%;
    }
    .sideup{
        width: 50vw;
        position: absolute;
        left: 44%;
        bottom: 17%;
    }
    .boxup{
        position: relative;
        width: 80vw;
        opacity: 0.7;
    }
    .titleup{
        float: left;
        width: 40vw;
    }
    .sidedown{
        width:55vw;
        float: left;
        margin-bottom: 6%;
    }
    
    #learn, #play, #date, #service{
        background-color: rgba(255, 255, 255, 0);
        color: white;    
        font-size: 6vw;
        position: absolute;
    }
    #learn{
        top: 25%;
        left: 15%;
    }
    #play{
        top: 55%;
        left: 15%;
    }
    #date{
        top: 25%;
        left: 55%;
    }
    #service{
        top: 55%;
        left: 55%;
    }
    table{
        opacity: 0.7;
        float:right;
        margin-right: 5%;
    }
    thead{
        text-align: center;
        font-size:9vw;
        color: white;
    }
    
    tbody{
        display: block;
        height: 35.4vh;
        overflow-y: scroll;
        overflow-x: scroll;
        border-collapse: collapse;
        text-align: center;
        margin-top: 5%;
        width:80vw;
        margin-left: 0;
        padding-left: 12%;
    }

    .typelearn_name{
        white-space: nowrap;
    }
    .typeplay_name{
        white-space: nowrap;
    }
    .typedate_name{
        white-space: nowrap;
    }
    .typeservice_name{
        white-space: nowrap;
    }
    td{
        float: left;
        font-size: 6vw;
        
    }
    #tabletext{
        color: white;
    }
    /* 麵包屑 */
    #bread{
        float:left;
        width: 10%;
        opacity: 0.8;
    }
    #text{
        font-size: 3.5vw;
        text-align: center;

    }
    #text_stu{
        font-size: 3.8vw;
        float: right;
        text-align: center;
        padding-left: .5rem;
    }
    #text_at{
        font-size: 3.8vw;
        float: left;
        text-align: center;
    }
    
}