@charset "UTF-8";

.breadcrumb{position:relative;}
.breadcrumb .djschool-title{position:absolute; left:0; top:0; background:#4b4b4b; padding:10px 30px; font-size:20px; font-weight:bold; color:#fff;}

ul.djschool-submenu{margin:30px 0 15px 0;}
ul.djschool-submenu li{display:inline-block; font-size:20px; margin:0 50px 15px 0; background:url(../images/djschool/music-icon.svg) no-repeat left 3px; background-size:18px; padding-left:30px;} 
ul.djschool-submenu li:last-child{margin-right:0;}
ul.djschool-submenu li a{color:#000; transition:all 0.5s ease-in-out;}
ul.djschool-submenu li a.current{color:#9f0f00; font-weight:bold;}

.single-block{background:url(../images/djschool/line.gif) repeat-x bottom; margin-bottom:50px; padding-bottom:50px; font-family: 'Open Sans', sans-serif, "微軟正黑體";}
.djschool-img{margin-bottom:30px; position:relative;}
.djschool-img img{width:100%; height:auto;}
.djschool-img .teacher{position:absolute; top:0; left:0; height:100%; padding-left:210px;}
.djschool-img .teacher:before{position:absolute; left:2vw; top:45%; content:"instructor"; color:#fff; font-size:22px; letter-spacing:0.07rem; font-weight:300; z-index:10;}
.djschool-img .teacher:after{position:absolute; left:0; top: -moz-calc(50% - 195px); top: -webkit-calc(50% - 195px); top: calc(50% - 195px); content:""; width:0; height:0; border-color: transparent transparent transparent #4b4b4b; border-style: solid solid solid solid; border-width: 195px;}
.djschool-img .teacher div{color:#4b4b4b; font-size:60px; font-style:italic; font-weight:700; padding:190px 0 20px 20px; position:relative;}
.djschool-img .teacher div:after{position:absolute; bottom:-10px; left:0; content:""; width:200px; height:1px; background:#4b4b4b;}
.djschool-img .teacher div.w_font{color:#fff;}
.djschool-img .teacher div.w_font:after{background:#fff;}
.larg{display:block;}
.small{display:none;}

.sub-title{font-size:24px; font-style:italic; margin-bottom:10px; color:#4b4b4b; text-transform:uppercase; font-weight:600; letter-spacing:0.07rem; display: inline-block; }
.sub-title span{font-size:20px; margin-left:10px; font-weight:normal;}

ul.video2{margin-bottom:30px;}
ul.video2 li{width:23.5%; float:left; margin-right:2%; margin-bottom: 30px;}
ul.video2 li:nth-child(4){margin-right:0;}
ul.video2 li:nth-child(8){margin-right:0;}
ul.video2 li:nth-child(12){margin-right:0;}
ul.video2 li:nth-child(16){margin-right:0;}
ul.video2 li:nth-child(20){margin-right:0;}
ul.video2 li iframe{width:100%; /*height:255px;*/}
.video-text{ background-color: #efefef; padding: 10px 15px; height: 75px; overflow: auto; }
.video-text::-webkit-scrollbar{ width : 10px; height: 1px; }
.video-text::-webkit-scrollbar-thumb { background-color: #afb2b2;}

.djschool-edit{padding:20px; background:#efefef; color:#4b4b4b;}

#form_video{ display: inline-block; }
.video-select{ display: inline-block; margin-left: 20px; margin-bottom: 15px;}
.video-select select{ width: 300px; padding: 5px; border-radius: 5px; border-color: #bcb7b7; color: #4d4d4d ; position: relative; appearance: none; -moz-appearance: none; -webkit-appearance: none; background-position: right 0.5em top 50%, 0 0; background-image: url(../../images/icon-arrow.svg);	background-size: 11px auto;	background-repeat: no-repeat; font-size: 16px; }

.mixing-teacher{ margin-bottom: 30px; display: flex; flex-wrap: wrap; }
.mixing-teacher__link{ overflow: hidden; position: relative; background-color: rgb(0, 0, 0,1); width: 50%; }
.mixing-teacher__link img:hover{ -webkit-transform: scale(1.1);  transform: scale(1.1); -webkit-transition: all 0.8s ease-out;  transition: all 0.8s ease-out; opacity: 0.5;}
.mixing-teacher__link img{ width: 100%; height: 100%; object-fit: cover; -webkit-transition: all 0.8s ease-out;  transition: all 0.8s ease-out;}
.mixing-teacher__img{ height: 400px; display: block; }
.mixing-teacher__link a{ display: block; }
.mixing-teacher__link a:hover{ color: #fff;}
.mixing-teacher__name{ position: absolute; /*top: 40%; left: 15%; */font-size: 55px; display: block; font-weight: 700; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; line-height: 40px;}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
position: absolute;	top: 0; left: 0; width: 100%; height: 100%;}


@media only screen and (max-width: 1400px) {
.breadcrumb .djschool-title{left:15px;}
ul.djschool-submenu{margin:30px 15px 15px 15px;}
.single-block{margin:0 15px 20px 15px; padding-bottom:20px;}
}


@media only screen and (max-width: 1200px) {
ul.djschool-submenu li{font-size:18px; margin-right:30px;}
.djschool-img .teacher{padding-left:170px;}
.djschool-img .teacher:before{font-size:20px;}
.djschool-img .teacher:after{border-width: 150px; top: -moz-calc(50% - 150px); top: -webkit-calc(50% - 150px); top: calc(50% - 150px);}
.djschool-img .teacher div{padding-top:11vw; font-size:55px;}
.sub-title{font-size:20px;}
 }



@media only screen and (min-width: 980px) {
ul.djschool-submenu li:hover a{color:#9f0f00;}

 }

@media only screen and (max-width: 980px) {
.breadcrumb .djschool-title{font-size:18px;}
ul.djschool-submenu li{font-size:16px; margin-right:20px;}
.djschool-img .teacher{padding-left:16vw;}
.djschool-img .teacher:before{font-size:15px;}
.djschool-img .teacher:after{border-width: 15vw; top: -moz-calc(50% - 15vw); top: -webkit-calc(50% - 15vw); top: calc(50% - 15vw);}
.djschool-img .teacher div{padding-top:13vw; font-size:45px;}
.djschool-img .teacher div:after{bottom:0;}
.sub-title{font-size:16px;}
/*ul.video2 li iframe{height:200px;}*/

.mixing-teacher__name{ font-size: 40px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.mixing-teacher__img{ height: 250px; }
}

@media only screen and (max-width: 768px) {
ul.video2 li{ width: 48%; }
ul.video2 li:nth-child(2n){ margin-right: 0; }
.mixing-teacher__name{ font-size: 35px; }
}


@media only screen and (max-width: 640px) {
/*.breadcrumb{margin-bottom:60px;}*/
.breadcrumb .djschool-title{top:45px;}
ul.djschool-submenu li{font-size:15px; margin-right:10px;}
.single-block{margin-bottom:30px; padding-bottom:30px;}
.djschool-img{margin-bottom:70px;}
.djschool-img .teacher{top:60vw; padding-left:70px;}
.djschool-img .teacher:before{color:#666; top:0; left:20px; font-style:italic; content:"instructor 講師";}
.djschool-img .teacher:after{border-width: 10px; top:5px;}
.djschool-img .teacher div{padding-top:0; padding-left:90px; font-size:35px;}
.djschool-img .teacher div:after{display:none;}
.djschool-img .teacher div.w_font{color:#4b4b4b;}
.djschool-img .teacher div.w_font:after{background:#4b4b4b;}
.sub-title span{display:none;}
.larg{display:none;}
.small{display:block;}
ul.video2{margin-bottom:0;}
ul.video2 li{width:100%; margin:0 0 25px 0;}
/*ul.video2 li iframe{height:40vw;}*/

.mixing-teacher__name{ font-size: 30px; word-break: break-all; }
}

@media only screen and (max-width: 400px) {

/*.djschool-img{margin-bottom:90px;}
.djschool-img .teacher{top:78vw;}*/
.djschool-img .teacher div{font-size:25px;}
/*ul.video2 li iframe{height:43vw;}*/

.mixing-teacher__link{ width: 100%; }
}

@media only screen and (max-width: 360px) {

.video-select{ display: block; margin-left: 0;}
.video-select select{ width: 100%; }

}

