.ouhk-epub-none,
.ouhk-epub-hidden {
    display: none;
}

.ouhk-epub-block {
    display: block;
}


/***************** fill-in-2 *****************************************************/

.under_line {
    border-bottom: 1px solid black;
    height: 16px;
    width: 140px;
    position: absolute;
    z-index: 500;
}

.ouhk-epub-textfield-short {
    width: 100%;
    height: 100%;
    color: blue;
    font-family: "Free Serif", "DFMingHK-W3";
    display: inline-block;
    overflow: visible;
    white-space: nowrap;
    font-size: 12pt;
}

.ouhk-epub-textfield {
    width: 100%;
    height: 100%;
    color: blue;
    font-family: "Free Serif", "DFMingHK-W3";
    display: inline-block;
    overflow: visible;
    white-space: nowrap;
    font-size: 12pt;
}

.ouhk-epub-textfield-area {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.ouhk-epub-correct {
    xbackground-color: #CCCCCC;
    border-radius: 3px;
    padding: 1px 1px;
    font-size: 12pt;
}

.square {
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    border-color: #58D3F7;
    background-color: #FFFFFF;
    width: 18px;
    height: 20px;
    line-height: 17px;
}

.ouhk-epub-tap-correct-mark {
    text-decoration: underline;
    color: green;
}

.tapCorrect {
    font-family: "Free Serif", "DFMingHK-W3";
    font-size: 12pt;
    letter-spacing: 0.11px;
    word-spacing: 0px;
    line-height: 15px;
}

.ouhk-epub-drag {
    color: blue;
}

.ouhk-epub-drop {
    xborder-style: solid;
    xborder-radius: 5px;
    border-width: 1px;
    /*border-bottom: 1px solid #000000;*/
    border: 1px solid #000000 !important;
    xborder-color: #58D3F7;
    background-color: #FFFFFF;
}

.circle .ouhk-epub-blue-underline {
    background-image: url('../img/circle.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-bottom: transparent;
    /* Anf: prevent line wrapping
	padding-left:2px;
	padding-right:2px;
	*/
}

.circle .ouhk-epub-green-underline {
    background-image: url('../img/circle.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-bottom: transparent;
    color: green;
}

.circle .ouhk-epub-red-underline {
    border-bottom: transparent;
}

.ouhk-epub-arrow-container {
    position: absolute;
    left: 0px;
    top: 0px;
    display: table;
    opacity: 0.7;
}

.ouhk-epub-disc {
    background-color: #7E8CB1;
    border-radius: 50%;
    font-size: 12pt;
    color: white;
    font-family: "Free Serif", "DFMingHK-W3";
    width: 8px;
    height: 8px;
    float: left;
    margin-left: 3px;
    margin-right: 3px;
    text-align: center;
    cursor: pointer;
}

.ouhk-epub-disc-on {
    background-color: #ff9810;
}

.ouhk-epub-loader-container {
    text-align: left;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    background-color: #CCC;
}

.ouhk-epub-disc-container {
    height: 17px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.ouhk-epub-disc-container>div {
    margin: auto;
}

.ouhk-epub-image-gallery {
    overflow: hidden;
}

.ouhk-epub-image-gallery img {
    opacity: 0.0;
}

.ouhk-epub-gallery-content {
    overflow: hidden;
}


/***************** tap-and-animate *****************************************************/

.ouhk-epub-button-tap-and-animate-type-1 {
    height: 100%;
    width: 100%;
    background-color: white;
    border-radius: 60px;
    border: solid 10px #BBB;
    font-size: 36pt;
    color: #BBB;
    font-family: "Free Serif", "DFMingHK-W3";
    font-weight: bold;
    text-align: center;
    display: table;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.ouhk-epub-button-tap-and-animate-type-1>div {
    display: table-cell;
    vertical-align: middle;
}

.ouhk-epub-button-tap-and-animate-type-custom {
    height: 100%;
    width: 100%;
    font-size: 36pt;
    color: #BBB;
    font-family: "Free Serif", "DFMingHK-W3";
    font-weight: bold;
    text-align: center;
    display: table;
    background-size: 100%;
    background-repeat: no-repeat;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}


/**********************************************************************/


/***************** audio *****************************************************/

.ouhk-epub-audio-button img {
    max-width: 100%;
}

.ouhk-epub-audio-button[data-ouhk-epub-audio-html5="1"] {
    min-height: 30px;
    min-width: 200px;
}


/**********************************************************************/


/***************** drag-n-drop *****************************************************/

.ouhk-epub-droppable-border {
    border: 2px solid #98bf21;
}


/*** drag-n-drop: .drag-drop-style-box ***/

div.ouhk-epub-activity[data-activity-type="drag-drop"].drag-drop-style-box {}

div.ouhk-epub-activity[data-activity-type="drag-drop"].drag-drop-style-box .ouhk-epub-drag {
    background: #FEEC3A;
    min-width: 30px;
    min-height: 30px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
    font-family: OUBPreplay;
    font-style: normal;
    font-weight: bold;
    color: #FF5300;
}

div.ouhk-epub-activity[data-activity-type="drag-drop"].drag-drop-style-box .ouhk-epub-drop {
    width: 30px;
    min-width: 30px;
    height: 32px;
    min-height: 32px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-align: center;
    line-height: 30px;
    font-family: "Free Serif", "DFMingHK-W3";
    font-style: normal;
    font-weight: bold;
    border: solid 1px #58D3F7;
}


/***************** ouhk-epub-video-iframe *****************************************************/

.ouhk-epub-activity.ouhk-epub-video-thumbnail .ouhk-epub-video-iframe ,
.ouhk-epub-styling-activity-div.ouhk-epub-video-thumbnail .ouhk-epub-video-iframe
{
    width: 1px;
    min-width: 100%;
    *width: 100%;
    height: 100%;
}

.video-iframe-loading {
    position: absolute;
    background-color: rgba(200, 200, 200, 0.5);
    line-height: 75px;
    margin-left: 10px;
}

.video-iframe-loading:before {
    content: "Loading....";
}


/***************** ouhk-epub-interactive-tooltip *****************************************************/

.ouhk-epub-interactive-tooltip-clickable {
    /*transform: translate3d(0px,0px,0px) scale3d(1,1,1);*/
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -ms-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
}

.ouhk-epub-interactive-tooltip-clickable[data-clickable-animation="bounce"] {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1);
}

.ouhk-epub-interactive-tooltip-clickable[data-clickable-animation="bounce"]:focus,
.ouhk-epub-interactive-tooltip-clickable[data-clickable-animation="bounce"].tooltip-clickable-event-on-down {
    transform: translate3d(0px, 0px, 0px) scale3d(.85, .85, .85);
}

.ouhk-epub-interactive-tooltip-tooltip {
    display: none;
    opacity: 0 !important;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
    -webkit-transition-duration: .3s;
    -moz-transition-duration: .3s;
    -ms-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
}
.ouhk-epub-interactive-tooltip-clickable:hover{
	cursor:pointer;
}
.ouhk-epub-interactive-tooltip-tooltip.tooltip-tooltip-on-show {
	display: block;
    opacity: 1 !important;
}


/**********************************************************************/

.ouhk-epub-comment-value,
.ouhk-epub-feedback-value {
    color: red;
}

.ouhk-epub-comment-value .ouhk-epub-double-underline {
    border-color: red;
}

.ouhk-epub-comment-value table,
.ouhk-epub-comment-value table tr,
.ouhk-epub-comment-value table td {
    border: 1px solid red;
}


/**********************************************************************/

.ouhk-epub-act-entrance,
.ouhk-epub-act-entrance a {
    color: #ff9815;
}

.ouhk-epub-act-entrance:hover,
.ouhk-epub-act-entrance a:hover {
    color: #C47311;
}

.ouhk-epub-act-entrance .act-entrance-label {
    font-size: 10px;
    padding-left: 1px;
}


/**********************************************************************/

.ouhk-epub-highlight-content-block {
    line-height: 40px;
}


/*********************************************************************
.ouhk-epub-act-text{
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	transform:  scale(0.5);
    transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
	font-size: 15pt;
	line-height: 1.2em;
}
*/

/* enlarge tone and align center */
.ouhk-epub-tong-input.ouhk-epub-textfield-letterbox {
    text-align: center;
    font-size: 140%
}


/**********************************************************************/


/*sao*/


/*ouhk-epub-act-entrance*/

.ouhk-epub-styling-activity[data-activity-type="ouhk-epub-act-entrance"] {
    width: 150px;
    min-width: 100px;
    /*max-width: 316px;*/
}

img.sao-interactive-button {
    width: 100%;
}

img.ouhk-epub-sao-check-button {
    width: 100%;
}

img.ouhk-epub-sao-save-button {
    width: 100%;
}

img.ouhk-epub-sao-insight-button {
    width: 100%;
}

.ouhk-epub-submit-assign:hover{
	cursor:pointer;
}


/*ouhk-epub-story-board*/
.ouhk-epub-activity[data-activity-type="ouhk-epub-story-board"] {}
.ouhk-epub-activity[data-activity-type="ouhk-epub-story-board"] .ouhk-epub-story-board-cover-img {
    display: block !important;
}
.ouhk-epub-activity[data-activity-type="ouhk-epub-story-board"] .ouhk-epub-story-board-cover-img img {
    width: 100%
}
.ouhk-epub-activity[data-activity-type="ouhk-epub-story-board"] .ouhk-epub-story-board-img {
    display: none;
}
.ouhk-epub-activity[data-activity-type="ouhk-epub-story-board"] .ouhk-epub-story-board-img img {
    width: 100%
}


/**********************************************************************/