@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
}

.bilibili-iframe{
    height:370px;
}
.hr{
    font-size: 12px;
    text-align: center;
    margin-top: 19px;
    margin-bottom: 19px;
    border-top: 1px solid #ccccd1;
    height: 1px;
}
input[type=text]{
    padding: 20px 10px;
    line-height: 40px;
}

.modal {
    overflow-y:auto;
}

.hr .hr-text {
    background-color: #fff;
    color: #6c757d;
    display: inline-block;
    padding: 0 12px;
    -webkit-transform: translateY(-60%);
    transform: translateY(-60%);
    font-size:1rem;
}

.add-like{
    color: grey;
}

.imp{
    background-color: lightpink;
}

.nav-item{
    font-size: 20px;
    margin-left: 40px;
}

.underline-text{
    text-decoration:underline;
}


.hidden {
    display : none !important;
}

.loading {
    background: url(https://words-sharplingo.oss-cn-shanghai.aliyuncs.com/vxdbleackqo62j6csvql.gif);
    background-position: right;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    display: inline-block;
}

.important-block{
    display: block !important;
}

span.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

#footer{
    padding-top:16px;
    border-top:1px solid #d3d3d3;
    background-color:#f8f9fa;
    min-height:100px;
    padding-right:4%;
    padding-left:4%;
}

#main-page {
    background-color:#f8f9fa;
    min-height: calc(100vh);
}

.footer_info {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
}

.footer_company {
    text-align:center;
    min-width:33%;
}

.footer_company a {
    display:inline-block;
}

.footer_social {
    text-align:center;
    min-width:33%;
}

.footer_social a {
    margin-left:25px;
    margin-right:25px;
    display:inline-block;
}

.footer_legalDocs {
    text-align:center;
    min-width:33%;
}

.footer_legalDocs a {
    margin-right:15px;
    display:inline-block;
}

.footer_copyright {
    text-align:center;
}

#loginFormForgot {
    display:flex;
    justify-content:space-between;
}


.a {
    color: #337ab7;;
}

.jumbo-btn {
    color: #fff;
    background-color:rgba(80, 153, 167, 1) ;
    border-color: #337ab7;;
}
.jumbo-btn:hover {
    color: #fff;
    background-color:rgba(80, 153, 167, 0.8) ;
}
.opaque-font{
    color: rgba(0, 0, 0, 0.6);
}

.opaque-font-darker{
    color: rgba(0, 0, 0, 0.7);
}

.play-audio:active {
    transform: translateY(4px);
}
button {
    touch-action: manipulation;
}

/* bootstrap overwrites */
.btn-info {
    color: #fff;
    background-color: #13a1b6;
    border-color: #13a1b6;
}

.btn-outline-info {
    color: #13a1b6;
    border-color: #13a1b6;
}
  
.btn-outline-info:hover {
    color: #fff;
    background-color: #13a1b6;
    border-color: #13a1b6;
}

.btn-outline-info.disabled, .btn-outline-info:disabled {
    color: #13a1b6;
    background-color: transparent;
}
  
.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
    color: #fff;
    background-color: #13a1b6;
    border-color: #13a1b6;
}

.badge-info {
    color: #fff;
    background-color: #13a1b6;
}

.bg-info {
    background-color: #13a1b6 !important;
}

.border-info {
    border-color: #13a1b6 !important;
}

.text-info {
    color: #13a1b6 !important;
}

/*global scrollbar formatting*/

.main-body::-webkit-scrollbar {
    width: 12px;
    height: 40px;
}
 
.main-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 5px;
}
 
.main-body::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.nav-caption-small {
    display:none;
}

#article_div{
    font-size: 18px;
}
#lecture_div{
    font-size: 18px;
}
#video_div{
    font-size: 18px;
}

.underlined-sentence{
    text-decoration: underline;
    background: #aaeaff;
}

.fixed{
    text-align: center;
    max-height: 370px;
    width: none; 
    margin: auto;
    position: fixed;
    bottom: 3%;
    left: 0px;
    overflow-y: auto;
}
.fixed-right{
    text-align: center;
    max-height: 370px;
    width: none; 
    margin: auto;
    position: fixed;
    bottom: 3%;
    right: 0px;
    overflow-y: auto;
}
.userProfileDropdown {
    margin-top: 0.62rem;
    right: -32px;
    left: auto;
    border-radius: 0 0 8px 8px;
    background-color: #f8f9fa !important;
    text-align: left;
    border: none;
    box-shadow: 0px 20px 15px rgba(0,0,0,0.1);
}

.userProfileDropdown i {
    color:rgba(0,0,0,0.5);
}

.userProfileDropdown i {
    color:rgba(0,0,0,0.5);
}

#profile-dropdown .dropdown-item.nav-link {
    padding-left:33px!important;
    width:125px;
}

#profileDropdown img {
    border-radius:100%;
    width:39px;
    height:39px;
}

.review-image {
    width: 100px;
    height:100px;
}
.nav-item{
    margin-top:4px;
}

.index_card{
    margin:20px;
    width: 19em;
}
.index_card img {
    height: 200px;
}

.index-suggestion-box p {
    font-size:20px;
}

.index-suggestion-box {
    width:75%;
    margin:auto;
}

.course-cover-image{
    width:750px;
}

.course-info-div{
    width: 80%;
    margin: auto;
    margin-bottom: 40px;
    display:flex;
    flex-direction: column;
}

#hide-sub-bar{
    bottom: 93px;  
    min-height: 60px;
}

.module-info-div {
    width:80%; margin:auto;margin-top:30px;margin-bottom:30px;
}

#video-figure {
    width:98%; 
    max-width:700px;
    margin:auto;
    margin-top:20px;
    display: block;
    position: relative;
}

.playing{
    background-color: rgb(139, 254, 190);
}

.saved-sentence{
    background-color: #e2ffdd;
}

.high-light-sentence{
    background-color:#89ffff
}

.recording-block{
    display: block;
    margin: 3px;
}

.delete-recording{
    margin-bottom: 15px;
}

.app-table-cell{
    width:50%
}

.lecture {
    line-height: 2.0;
    font-size: 25px;
}

::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}


.lecture p {
    line-height: 2.0;
    font-size: 25px;
}

.lecture li {
    line-height: 2.0;
    font-size: 25px;
}

.translation{
    background-color: antiquewhite;
}
.translation-chinese{
    background-color: #00bcd459;
}

#player-body *{
	margin: 0;
	padding: 0;
}
#player-body {
	height: 140vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#player-body .main{
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to right, #5D6D7E, #566573);
}
#player-body .main button{
	padding: 10px 12px;
	margin: 0 10px;
}
#player-body .main #logo i{
	margin-right: 15px;
}

/* left & right part */
#player-body .right,.left{
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

/* song image */
#player-body .left img{
	height: 400px;
    width: 95%;
    max-width: 750px;
    margin-bottom: 30px;
	border-radius: 15px;
	box-shadow: 1px 0px 20px 12px rgba(240,240,240,0.2);
}

/* both range slider part */
#player-body input[type="range"] {
	-webkit-appearance: none;
	width: 50%;
	outline: none;
	height: 2px;
	margin: 0 15px;
}
#player-body input[type="range"]::-webkit-slider-thumb{
	-webkit-appearance: none;
	height: 20px;
	width: 20px;
	background: #13a1b6;
	border-radius: 50%;
	cursor: pointer;
}
#player-body .right input[type=range]{
	width: 40%;
}

/* volume part */
#player-body .left .duration{
	position: absolute;
	bottom: 12%;
	left: 0;
	width: 100%;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
#player-body .left .duration p{
	font-size: 15px;
}
#player-body .left .duration i{
	cursor: pointer;
	padding: 8px 12px;
	background: #13a1b6;
}
#player-body .left .duration i:hover{
	background: rgba(245,245,245,0.1);
}
#player-body .volume #volume_show{
	padding: 8px 12px;
	margin: 0 5px 0 0;
	background: rgba(245,245,245,0.1);
}



/* right part */
#player-body .right .middle{
 	width: 100%;
    display: flex;
	align-items: center;
    justify-content: center;
    margin-top: 25px;
}
#player-body .right .middle button{
	border: none;
	height: 70px;
	width: 70px;
	border-radius: 50%;	
    display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: 0.5s;
	background: rgba(255,255,255,0.1);
}
#player-body .right #title{
    position: absolute;
    width:100%;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	/* text-transform: capitalize; */
	color: #fff;
	font-size: 24px;
}
#player-body .right #artist{
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	text-transform: capitalize;
	color: #fff;
	font-size: 18px;
}
#player-body .right .volume{
	position: absolute;
	bottom: 20%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 20px;
	margin-top: 40px;
}
#player-body .right .volume p{
	color: #fff;
	font-size: 15px;
	margin-left: 20px;
}
#player-body .right #auto{
	font-size: 18px;
	cursor: pointer;
	margin-top: 75px;
	border: none;
	padding: 10px 14px;
	color: #fff;
	background: rgba(255,255,255,0.2);
	outline: none;
	border-radius: 10px;
}
#player-body .right #auto i{
	margin-left: 8px;
}
#player-body .right #loop{
	font-size: 18px;
	cursor: pointer;
	margin-top: 75px;
	border: none;
	padding: 10px 14px;
	color: #fff;
	background: rgba(255,255,255,0.2);
	outline: none;
	border-radius: 10px;
}
#player-body .right #random i{
	margin-left: 8px;
}
#player-body .right #random{
	font-size: 18px;
	cursor: pointer;
	margin-top: 75px;
	border: none;
	padding: 10px 14px;
	color: #fff;
	background: rgba(255,255,255,0.2);
	outline: none;
	border-radius: 10px;
}
#player-body .right #loop i{
	margin-left: 8px;
}
#player-body #play{
	background: #13a1b6;
}
#player-body .right button:hover{
	background: #13a1b6;
}
#player-body .right i:before{
	color: #fff;
	font-size: 20px;
}

#player-body .right .show_song_no{
  position: absolute;
  top: -15px;
  right: 25px;
  width: 30px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #fff;
  border-radius: 5px;
  /* background: rgba(255,255,255,0.2); */
}
#player-body .right .show_song_no p:nth-child(2){
	margin: 0 5px;
}

.playlist-image{
    width:230px;
    height:150px;
    margin-right:3px
}

.playlist-name{
    margin-left: 20px; 
    font-size: 22px; 
    align-self: center;
    color:white;
    text-align: center;
}

.playlist-buttons-div{
    display:flex;
    flex-direction: column; 
    justify-content: space-evenly;
    min-width: 120px;
}

#radar-canvas-div{
    width: 700px;
    margin: auto;
}

.small-transactions{
    display: none;
}

.big-transactions{
    display: table;
}

#flashcard-form {
    font-size:25px;
}
#task_content{
    font-size:25px;
}

#searchForm{
    width:45%;
    max-width: 400px;
}

.chat-container {
    margin-bottom: 30px;
    width: 100%;
    max-width: 1000px;
    min-height: 20vh;
    max-height: 80vh;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-header {
    padding: 15px 20px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.contact-info {
    margin-left: 10px;
}

.contact-name {
    font-weight: 600;
    font-size: 17px;
    color: #000;
}

.contact-status {
    font-size: 13px;
    color: #8e8e93;
}

.chat-bubbles {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 70%;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 20px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
    font-size: 16px;
}

.received {
    background-color: #f0f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.sent {
    background-color: #007aff;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.input-area {
    padding: 10px 15px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    border-top: 1px solid #e0e0e0;
}

.input-field {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background-color: white;
    font-size: 16px;
    outline: none;
}

.send-button {
    margin-left: 10px;
    padding: 8px 15px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.send-button:disabled {
    background-color: #c7c7cc;
    cursor: not-allowed;
}

/* 时间戳样式 */
.timestamp {
    font-size: 11px;
    color: #8e8e93;
    text-align: center;
    margin: 10px 0;
}

/* 联系人头像 */
.contact-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #007aff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.umlaut-arabic{
    font-size:35px;
}

.arabic-letter-table{
    font-size: 35px;
}
@media (max-width: 1400px) {
    #searchForm{
        width:30%;
    }
    
}
@media (max-width: 1200px) {
    #searchForm{
        width:50%;
    }
    .review-image {
        width: 90px;
        height:90px;
    }
    #flashcard-form {
        font-size:20px;
    }
    #task_content{
        font-size:20px;
    }
    #hide-sub-bar{
        bottom: 80px;  
        min-height: 60px;
    }
    .index_card{
        margin:3px;
        margin-bottom:20px;
        width: 15em;
    }
    #profile-dropdown{
        display:none;
    }
    .nav-caption-small {
        font-style: normal;
        display: inline;
    }
    .nav-icon-hide{
        display:none;
    }
    .nav-link {
        padding: 0;
    }
}

@media (max-width: 1080px) {
    .umlaut-arabic{
        font-size:30px;
    }
    .big-transactions{
        display: none;
    }
    .small-transactions{
        display: table;
    }
    .app-table-cell{
        width:100%
    }
    .arabic-letter-table{
        font-size: 30px;
    }
}

@media (max-width: 990px) {
    #searchForm{
        width:50%;
    }
    .umlaut-arabic{
        font-size:29px;
    }
    .arabic-letter-table{
        font-size: 27px;
    }
    .review-image {
        width: 80px;
        height:80px;
    }
    #flashcard-form {
        font-size:18px;
    }
    #task_content{
        font-size:18px;
    }
    .playlist-ul{
        list-style-type: none;
        padding-inline-start: 0 !important;
        margin: 0 !important;
    }
    .playlist-image{
        width:150px;
        height: 110px;
        margin-right:2px
    }
    
    .playlist-name{
        margin-left: 10px; 
        font-size: 16px; 
        align-self: center;
        color:white;
        text-align: center;
    }
    
    .playlist-buttons-div{
        display:flex;
        flex-direction: column; 
        justify-content: space-evenly;
        min-width: 60px;
    }
}

@media (max-width: 750px) {
    .arabic-letter-table{
        font-size: 28px;
    }
    .review-image {
        width: 70px;
        height:70px;
    }
    .table {
        font-size:12px
    }
    #wishlist-table{
        font-size: 12px;
    }
    #word-table{
        font-size: 11px;
    }
    #phrase-table{
        font-size: 11px;
    }
    .reset-word-button{
        font-size: 11px;
        width: 66px;
    }
    .reset-phrase-button{
        font-size: 12px;
        width: 66px;
    }
    #radar-canvas-div{
        width: 100%;
    }
    .delete-item{
        font-size: 12px;
    }
    .playlist-image{
        width:170px;
        margin-right:2px;
        height: 90px;
    }
    
    .playlist-name{
        margin-left: 10px; 
        font-size: 15px; 
        align-self: center;
        color:white;
        text-align: center;
    }
    
    .playlist-buttons-div{
        display:flex;
        flex-direction: column; 
        justify-content: space-evenly;
        min-width: 60px;
    }

    /* song image */
    #player-body .left img{
        height: 250px;
    }
    #player-body {
        height: 120vh;
    }
    #video-figure {
        width:98%; 
        max-width:700px;
        margin:auto;
        margin-top:20px;
        display: block;
        position: relative;
    }
    .bilibili-iframe{
        height:200px;
    }
    #hide-sub-bar{
        bottom: 75px;  
        min-height: 50px;
    }
    #searchForm{
        max-width: 210px;
    }
    #main-page {
        background-color:#f8f9fa;
        margin:0!important;
        padding-right:0!important;
        padding-left:0!important;
    }
    #index-title {
        font-size: 38px;
    }
    .footer_info { 
        flex-direction: column;
    }
    .footer_div{
        padding: 30px;
        border-bottom: 0.5px solid #d3d3d3!important;
    }
    .footer_div_last{
        padding: 30px;
    }
    #index-subtitle {
        font-size: 18px;
    }
    #loginFormForgot a {
        font-size:12px;
    }
    .index_card{
        margin:3px;
        margin-bottom:20px;
        width: 11em;
    }
    .index_card img {
        height: 130px;
    }
    .index-suggestion-box {
        width:95%;
        margin:auto;
    }
    .course-cover-image{
        width:500px;
    }
    .course-info-div{
        width: 96%;
    }
    .module-info-div {
        width: 96%;
    }
    .learning-record-nav-link{
        font-size:14px;
    }
}
@media (max-width: 650px) {
    .umlaut-arabic{
        font-size:26px;
    }
}
@media (max-width: 630px) {
    .umlaut-arabic{
        font-size:24px;
    }
}
@media (max-width: 605px) {
    .umlaut-arabic{
        font-size:23px;
    }
}

@media (max-width: 550px) {
    #name-header{
        display: none;
    }
    .umlaut-arabic{
        font-size:21px;
    }
}
@media (max-width: 432px) {
    .umlaut-arabic{
        font-size:19px;
    }
    .arabic-letter-table{
        font-size: 20px;
    }
    #video-player-switch-div{
        flex-direction: row !important;
    }

}

@media (max-width: 402px) {
    /* #logo-header{
        display: none;
    } */
    .umlaut-arabic{
        font-size:17px;
    }
    .card {
        width: 9rem !important;
    }
    .card-img-top {
        height:142px !important;
        width:142px !important;
    }
    .card-body {
        padding: 0.75rem !important;
    }
    .card-title{
        font-size: 13px !important;
    }
    .card-text{
        font-size: 10px !important;
    }
    .card-text-small{
        font-size: 8px !important;
    }
    .review-image {
        width: 50px;
        height:50px;
    }
    .learning-record-nav-link{
        font-size:11px;
    }
    .playlist-image{
        width:120px;
        margin-right:2px;
        height: 70px;
    }
    
    .playlist-name{
        width:115px;
        margin-left: 10px; 
        font-size: 13px; 
        align-self: center;
        color:white;
        text-align: center;
    }
    
    .playlist-buttons-div{
        display:flex;
        flex-direction: column; 
        justify-content: space-evenly;
        min-width: 60px;
    }
    .playlist-buttons-div .btn{
        font-size: 8px;
        width: 50px !important;
    }
    .bilibili-iframe{
        height:142px;
    }
    #hide-sub-bar{
        bottom: 70px; 
        min-height: 30px;
    }
    #searchForm{
        max-width: 150px;
    }
    #index-title {
        font-size: 34px;
    }
    #index-subtitle {
        font-size: 18px;
    }
    .course-cover-image{
        width:100%;
    }
}

@media (max-width: 360px) {
    .umlaut-arabic{
        font-size:11px;
    }
    .arabic-letter-table{
        font-size: 16px;
    }
    .card {
        width: 7rem !important;
    }
    .card-img-top {
        height:110px !important;
        width:110px !important;
    }
    .card-body {
        padding: 0.75rem !important;
    }
    .card-title{
        font-size: 13px !important;
    }
    .card-text{
        font-size: 10px !important;
    }
    .card-text-small{
        font-size: 8px !important;
    }
}
