#speakingContainer {
    font-size: 24px;
    max-width: 640px;
    margin-bottom: 50px;
    /* visibility: hidden; */
    /* transform: scale(0.7) */
    user-select: none;
}

#speakingContainer.smallFontSize1 {
    font-size: 20px;
}

#speakingContainer.smallFontSize2 {
    font-size: 16px;
}

#speakingContainer.smallFontSize3 {
    font-size: 12px;
}

.fullscreen #speakingContainer {
    /* font-size: 20px; */
}

/* #speakingContainer.fullscreen{
    font-size: 20px;
} */

@media (min-width: 991.98px) {
    #speakingContainer {
        max-width: 1080px;
    }
}

@media (max-width: 500px) {
    #speakingContainer {
        width: 100vw;
        margin-left: -32px;
    }

    .d-500 {
        display: none;
    }
}

@media (max-width: 700px) {
    .d-700 {
        display: none;
    }
}

#speakingContainer video {
    margin: 0 auto;
}

#speakingPartLine1 .col div p {
    text-align: center;
    color: #144272;
}

#speakingPartLine1 .col div {
    background-color: #f7f7f7;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 5px 0 0;
}

#speakingPartLine1 .col {
    padding-left: 2px;
    padding-right: 2px;
}

#speakingPartLine1 .col:first-child {
    padding-left: 0;
}

#speakingPartLine1 .col:last-child {
    padding-right: 0;
}

#speakingPartLine1 .row {
    margin: 0;
}

#speakingPartLine1.control .col div {
    cursor: pointer;
}

#speakingPartLine1.control .col div:hover {
    background-color: #f0f0f0;
}

#speakingPartLine1 .active div p,
#speakingPartLine1.control .active div:hover p {
    color: #ffffff;
}

#speakingPartLine1 .active div,
#speakingPartLine1.control .active div:hover {
    background-color: #144272;
}

#speakingPartLine2 .col div p {
    text-align: center;
    color: #ffffff;
}

#speakingPartLine2 .col div {
    background-color: #144272;
    height: 30px;
    border: #ffffff 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

#speakingPartLine2 .col {
    padding-left: 4px;
    padding-right: 4px;
}

#speakingPartLine2.control .col div {
    cursor: pointer;
}

#speakingPartLine2.control .col div:hover {
    background-color: #3395ff;
}

/*
#speakingPartLine2 .col:first-child{
    padding-left:0;
}
#speakingPartLine2 .col:last-child{
    padding-right:0;
}
*/
#speakingPartLine2 .row {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #144272;
}

#speakingPartLine2 .active div p,
#speakingPartLine2.control .active div:hover p {
    color: #144272;
}

#speakingPartLine2 .active div,
#speakingPartLine2.control .active div:hover {
    background-color: #ffffff;
}

#speakingPartLine3 .row {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #144272;
}

#speakingPartLine3 .row p {
    text-align: center;
    color: white;
    font-weight: bold;
}

.speakingPartLineLine {
    background-color: #144272;
    height: 8px;
    margin: 0px;
}

#speakingCollapseCCChild {
    padding: 10px;
}

#speakingSelectModeButtons > div > p {
    color: white;
}

#speakingSelectModeButtons > div {
    background-color: #144272;
    border: #ffffff 2px solid;
    border-radius: 5px;
    margin: 5%;
    padding: 5%;
    width: 90%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#speakingSelectModeButtons > div:hover {
    background-color: #3395ff;
}

#speakingSelectModeButtons > div.active > p {
    color: #144272;
}

#speakingSelectModeButtons > div.active,
#speakingSelectModeButtons > div.active:hover {
    background-color: #ffffff;
}

.speakingControlButton > p {
    color: rgba(0, 0, 0, 0.8);
}

.speakingControlButton {
    background-color: #ffffff;
    height: 35px;
    border: rgba(0, 0, 0, 0.5) 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.speakingControlButton:hover {
    background-color: #f7f7f7;
}

.speakingControlButton:active {
    background-color: rgba(0, 0, 0, 0.2);
}

.speakingControlButton[data-is-enable="false"],
.speakingControlButton[data-is-enable="false"]:hover,
.speakingControlButton[data-is-enable="false"]:active {
    background-color: rgba(0, 0, 0, 0.6);
    cursor: default;
}

#speakingBlockSample[data-is-enable="false"] {
    background-color: rgba(0, 0, 0, 0.6);
}

#speakingControlButtonsGroup {
    border: rgba(0, 0, 0, 0.5) 1px solid;
    border-radius: 6px;
}

#speakingButtonParaphrase {
    border-radius: 0 0 5px 5px;
}

#speakingButtonCC {
    border-radius: 5px 5px 0 0;
}

@media (min-width: 576px) {
    #speakingButtonPrevious {
        border-radius: 5px 0 0 0;
    }

    #speakingButtonCC {
        border-radius: 0 5px 0 0;
    }
}

#speakingSampleAnswer {
    border: rgba(0, 0, 0, 0.5) 1px solid;
    border-radius: 6px;
}

#speakingButtonSample {
    border-radius: 5px 5px 0 0;
}

#speakingBlockSample {
    border: rgba(0, 0, 0, 0.5) 1px solid;
    border-radius: 0 0 5px 5px;
}

#speakingStartButton {
    border: rgba(0, 0, 0, 0.5) 2px solid;
    border-radius: 5px 5px 5px 5px;
    height: 100%;
    font-size: 3vw;
}

#speakingRecordStatus {
    background-color: #144272;
    border-radius: 5px;
    width: 100%;
    height: 100%;
}

#speakingRecordStatus.listen {
    background-color: #14427280;
}

#speakingRecordStatus.record {
    background-color: #ff7b4480;
}

#speakingRecordStatus.record-wait {
    background-color: #7b7b7b80;
}

#speakingRecordStatus.afterRecord {
    background-color: #22885580;
}

#speakingRecordStatus.play {
    background-color: #ff007b80;
}

#speakingRecordStatus.stop {
    background-color: #7b00ff80;
}

#statusAndControl > .row {
    margin: 0;
}

#statusAndControl > .row > .col {
    padding-left: 5px;
    padding-right: 5px;
}

#statusAndControl > .row > .col:first-child {
    padding-left: 0;
}

#statusAndControl > .row > .col:last-child {
    padding-right: 0;
}

#speakingRecordStatus {
    display: flex;
    align-items: center;
    justify-content: center;
}

#speakingRecordStatusChild .fas {
    font-size: 48px;
    color: #ffffff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#speakingRecordTimer {
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: -10%;
    transform: translate(-50%, -50%);
}

#speakingStatusWord {
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translate(-50%, -50%);
    line-height: 1.2em;
    width: 80%;
}

.speakingCircleMotion.active {
    display: block;
}

.speakingCircleMotion {
    width: 64px;
    height: 64px;
    border: #ffffff 3px solid;
    border-radius: 99em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation-name: speakingCircleGrow;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
    display: none;
    z-index: 5;
}

.speakingCircleMotion:nth-child(2) {
    animation-delay: 1000ms;
}

#speakingCircleMotionParent {
    position: relative;
}

@keyframes speakingCircleGrow {
    from {
        width: 64px;
        height: 64px;
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    to {
        width: 128px;
        height: 128px;
        opacity: 0;
    }
}

.fa-play-circle,
.fa-stop-circle {
    cursor: pointer;
}

#TVparent video::-webkit-media-controls {
    display: none;
}

#TVparent video::-webkit-media-controls-panel {
    display: flex !important;
    opacity: 1 !important;
}

#TVparent video::-webkit-media-controls-play-button {
    display: none;
}

#TVparent video::-webkit-media-controls-timeline {
    display: none;
}

#TVparent video::-webkit-media-controls-volume-control-container {
    display: none;
}

#TVparent video::-webkit-media-controls-fullscreen-button {
    display: none;
}

#TVparent video::-webkit-media-controls-timeline {
    display: none;
}

#TVparent video::-webkit-media-controls-enclosure {
    width: calc(100% + 64px);
    margin-left: auto;
}

#TVparent video::-webkit-media-controls-current-time-display {
    display: none;
}

#TVparent video::-webkit-media-controls-time-remaining-display {
    display: none;
}

#cornerTimer {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 32px;
    text-align: right;
    color: white;
    text-shadow: #000 0 0 10px, #000 0 0 20px, #000 0 0 30px;
}
