body{ background: #F0F0F0; padding-bottom: 0px; } .main-container{ background: unset; } .body-container { min-height: unset; } .testing-theory-body{ padding: 80px 15px 0px; overflow: hidden; } .testing-theory-body>.body-cover{ max-width: 1140px; margin: auto; } .testing-theory-process-cover{ position: fixed; width: 100%; padding: 40px 15px 20px; left: 0px; top: 0px; background: #f0f0f0; z-index: 999; } .testing-theory-process{ display: flex; max-width: 1140px; margin: auto; } .testing-theory-process .button-exit{ display: inline-block; margin: auto 25px auto 0px; text-decoration: none; outline: 0px; border: 0px; width: 19px; height: 19px; background: url('../imgs/icon-bg-reading.svg') 0px 0px; cursor: pointer; } .testing-theory-process .process-cover{ display: inline-block; width: calc(100% - 40px - 60px); height: 2px; border-radius: 2px; background: #CFCFCF; margin: auto 0px; position: relative; } .testing-theory-process .process-cover::after{ content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: inherit; position: absolute; right: 0px; top: 50%; transform: translate(0px, -50%); } .testing-theory-process .testing-theory-process-bar{ display: inline-block; width: 0%; height: 6px; border-radius: 6px; position: absolute; left: 0px; top: 50%; transform: translate(0px, -50%); transition: 0.5s all ease-out; background: linear-gradient(to right, #F9D423 0%, #F79400 100%); z-index: 1; } .testing-theory-countdown { display: inline-block; width: 34px; height: 34px; text-align: center; margin: auto 0px auto auto; position: relative; } .testing-theory-countdown-number { color: #000000; display: inline-block; line-height: 34px; width: 100%; height: 100%; border: 0px; border-radius: 50%; font-family: opensanssemibold; font-size: 17px; } .testing-theory-countdown svg { position: absolute; top: 0; right: 0; width: 100%; height: 100%; transform: rotate(90deg) rotateY(180deg); } .testing-theory-countdown svg circle.circle-shadow { width: 100%; height: 100%; stroke-width: 2px; stroke: rgba(0,0,0,0.1); fill: none; } .testing-theory-countdown svg circle.circle { width: 100%; height: 100%; stroke-dasharray: 101px; stroke-dashoffset: 0px; stroke-linecap: round; stroke-width: 2px; fill: none; } .testing-theory-content{ margin-top: 20px; position: relative; } .testing-theory-item .exe-block{ width: 100%; display: block; position: relative; max-width: 760px; margin-left: auto; margin-right: auto; } .testing-left-content{ float: left; width: 50%; max-width: 320px; } .testing-right-content{ float: right; width: 50%; } .testing-theory-item .exe-question{ width: 100%; min-height: calc(100vh - 250px); display: flex; overflow: auto; padding: 20px 0px; } .testing-theory-item .exe-question-cover{ margin: 30px auto 0px; text-align: center; padding-bottom: 20px; width: 100%; } .testing-theory-show-question{ animation-name:D; animation-duration:.4s; animation-fill-mode:forwards; animation-timing-function:ease-out; position: relative; } .testing-theory-hide-question{ animation-name:E; animation-duration:.4s; animation-fill-mode:forwards; animation-timing-function:ease-out } .testing-theory-show-question.prev{ animation-name:DD; animation-duration:.4s; animation-fill-mode:forwards; animation-timing-function:ease-out; position: relative; } .testing-theory-hide-question.prev{ animation-name:EE; animation-duration:.4s; animation-fill-mode:forwards; animation-timing-function:ease-out } .testing-theory-item{ position: absolute; top: 0px; left: 0px; right: 0px; display: none; z-index: 2; } .testing-theory-item.item-current{ position: relative; display: block; z-index: 1; } .testing-theory-item .exe-question-title{ font-family: opensanssemibold; font-size: 25px; text-align: left; color: #231F20; margin: 0px; } .testing-theory-item .exe-multi-choice .exe-question-title{ text-align: center; } .testing-theory-item .exe-question-main{ font-family: opensanssemibold; font-size: 16px; color: var(--color-default-text); text-align: center; margin: 20px 0px 0px; line-height: 30px; text-align: left; max-width: 320px; } .testing-theory-item .exe-question-main.question-small{ font-size: 16px; } .testing-theory-item .guessing-exe-question{ margin-top: 30px; position: relative; margin-left: auto; margin-right: auto; max-width: 760px; } .testing-theory-item .guessing-exe-question.question-small{ max-width: 320px; } .testing-theory-item .guessing-exe-question.question-large{ max-width: 320px; } .testing-theory-item .guessing-exe-question.question-larger{ max-width: 100%; } .testing-theory-item.show-answer .guessing-exe-question::after{ content: ""; position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 1000; } .testing-theory-item .guessing-choice-item{ display: inline-block; height: 50px; margin: auto 15px; margin-bottom: 20px; border: 0; background: transparent; max-width: 345px; padding:0; vertical-align: top; width: 100%; transition: opacity 0.4s ease; } .testing-theory-item .guessing-exe-question.question-larger .guessing-choice-item{ max-width: calc((100% - 55px)/2); margin: 0px; margin-bottom: 25px; margin-right: 50px; } .testing-theory-item .guessing-exe-question.question-larger .guessing-choice-item:nth-of-type(even){ margin-right: 0px; } .testing-theory-item .guessing-choice-item:hover, .testing-theory-item .guessing-choice-item:focus{ text-decoration: none; outline: none; } .testing-theory-item .guessing-multi-choice-item{ min-width: 75; height: 50px; display: inline-block; border-radius: 4px; border: 0px; background: #fff; color: #231F20; line-height: 50px; padding-left: 10px; padding-right: 10px; font-size: 16px; transition: 0.2s all ease-out; margin-right: 10px; margin-bottom: 15px; box-shadow: 0px 1px 10px 0px #ddd; } .testing-theory-item .guessing-multi-choice-item:focus{ outline: none; border: 0; } .testing-theory-item .guessing-multi-choice-item.choice-item-choose{ background: #FFC91F; box-shadow: 0px 1px 10px 0px #FFB020; } .testing-theory-item .guessing-multi-choice-item.choice-answer-true{ background: #7AC30C; box-shadow: 0px 1px 10px 0px #5fa000; color: #fff; font-family: opensanssemibold; } .testing-theory-item .guessing-multi-choice-item.choice-answer-false{ background: #E43439; box-shadow: 0px 1px 10px 0px #ec0c12; color: #fff; } .testing-theory-item .guessing-multi-choice-item.item-answer-true{ background: #fff; box-shadow: 0px 1px 10px 0px #5fa000; color: #7AC30C; } .testing-theory-item .guessing-choice-item .guessing-icon{ display: inline-block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #CFCFCF; margin: auto 15px auto 10px; transition: 0.2s all ease-out; position: relative; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .testing-theory-item .guessing-choice-item .guessing-icon::before{ content: "\f00c"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; } .testing-theory-item .guessing-choice-item .guessing-icon span{ font-family: opensanssemibold; margin-top: 6px; display: inline-block; } .testing-theory-item .guessing-choice-item .guessing-cover{ border: 2px solid #CFCFCF; border-radius: 25px; background: transparent; display: flex; height: 100%; width: 100%; transition: 0.2s all ease-out; } .testing-theory-item .guessing-choice-item .guessing-text{ font-family: opensansregular; font-size: 15px; color: #414042; margin: auto 0px; text-align: left; width: calc(100% - 55px); font-weight: normal; transition: 0.2s all ease-out; padding-right: 10px; overflow: hidden; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; } .testing-theory-item .guessing-choice-item.choice-false .guessing-cover{ background: #E43439; border-color: #E43439; } .testing-theory-item .guessing-choice-item.choice-false .guessing-cover .guessing-icon{ border-color: #E43439; background: #fff; } .testing-theory-item .guessing-choice-item.choice-false .guessing-cover .guessing-icon span{ display: none; } .testing-theory-item .guessing-choice-item.choice-false .guessing-cover .guessing-icon::before{ opacity: 1; color: #E43439; content: "\f00d"; transition: 0.2s 0.1s all linear; } .testing-theory-item .guessing-choice-item.choice-true .guessing-cover .guessing-text{ color: #fff; } .testing-theory-item .guessing-choice-item.choice-true .guessing-cover{ background: #7AC30C; border-color: #7AC30C; } .testing-theory-item .guessing-choice-item.choice-true .guessing-cover .guessing-icon{ border-color: #7AC30C; background: #fff; animation: animateAnswer 0.3s ease-out; } .testing-theory-item .guessing-choice-item.choice-true .guessing-cover .guessing-icon span{ display: none; } .testing-theory-item .guessing-choice-item.choice-true .guessing-cover .guessing-icon::before{ opacity: 1; color: #7AC30C; content: "\f00c"; transition: 0.2s 0.1s all linear; } .testing-theory-item .guessing-choice-item.choice-false .guessing-cover .guessing-text{ color: #fff; } .testing-theory-item.show-answer .guessing-choice-item{ opacity: 0.3; } .testing-theory-item.show-answer .guessing-choice-item.choice-true, .testing-theory-item.show-answer .guessing-choice-item.choice-false{ opacity: 1; } .testing-theory-pos-end{ display: inline-block; max-width: 320px; width: 100%; min-height: 130px; background: linear-gradient(transparent 0px, transparent 63px, #CFCFCF 63px, #CFCFCF 65px); background-position: left 65px; background-size: 100% 65px; margin-bottom: 20px; margin-top: 15px; text-align: center; } .testing-theory-pos-begin{ display: inline-block; width: 100%; text-align: left; margin-top: 25px; max-width: 670px; } .testing-theory-pos-begin .pos-begin-item{ position: relative; height: 50px; min-width: 75px; line-height: 50px; display: inline-block; margin: 5px 3px; background: #EAEAEA; border-radius: 3px; color: #EAEAEA; font-family: opensansregular; font-size: 16px; padding: 0px 15px; vertical-align: middle; } .testing-theory-pos-begin .pos-begin-item .word-item{ color: #231F20; background: #fff; position: absolute!important; width: 100%; height: 100%; text-align: center; line-height: 50px; top: 0px; left: 0px; border-radius: 3px; display: inline-block; transition: all 0.5s ease; z-index: unset; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); outline: 0px; border: 0px; cursor: pointer; } .testing-theory-pos-begin .pos-begin-item .word-item.sort-wrong{ color: #e53838; } .testing-theory-pos-begin .pos-begin-item .word-item.sort-right{ color: #7AC30C; font-family: opensanssemibold; } .testing-theory-pos-end .pos-end-item{ height: 65px; display: inline-block; vertical-align: middle; } .testing-theory-pos-end .pos-end-item.word-div-haschild{ padding-right: 5px; padding-left: 5px; padding-top: 9px; margin: auto -2px; } .testing-theory-pos-end .pos-end-item .word-div{ width: 0px; height: 100%; display: inline-block; } .testing-theory-item.show-answer .exe-block-question::after{ content: ""; display: inline-block; width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; z-index: 999; } .testing-theory-item .exe-question-button-check{ display: block; margin: auto; margin-top: 40px; width: 100%; max-width: 320px; height: 50px; border: 0px; border-radius: 30px; outline: 0px; text-decoration: none; text-align: center; font-family: opensanssemibold; font-size: 16px; color: #5D5D5D; line-height: 50px; background: #DDDDDD; transition: 0.2s all ease; } .testing-theory-item .exe-question-button-check.button-active{ background: #7AC30C; color: #fff; } .button.button-multi-check{ margin-top: 40px; width: 100%; height: 50px; border: 0px; border-radius: 30px; outline: 0px; text-decoration: none; text-align: center; font-family: opensanssemibold; font-size: 16px; color: #5D5D5D; line-height: 50px; background: #DDDDDD; transition: 0.2s all ease; max-width: 320px; display: block; margin: 25px auto 0px; } .button.button-multi-check.button-active{ color: #fff; background: #7ac60c; } @media (max-width: 768px){ .testing-theory-item .guessing-exe-question.question-larger .guessing-choice-item{ max-width: 100%; margin-right: 0px; } .testing-theory-item .guessing-choice-item{ margin-left: auto; margin-right: auto; } } @keyframes D{ 0%{ opacity:0; -webkit-transform:translateX(50px); transform:translateX(50px) } to{ opacity:1; -webkit-transform:translateX(0); transform:translateX(0) } } @keyframes E{ 0%{ opacity:1; -webkit-transform:translateX(0); transform:translateX(0) } to{ opacity:0; -webkit-transform:translateX(-50px); transform:translateX(-50px) } } @keyframes DD{ 0%{ opacity:0; -webkit-transform:translateX(-50px); transform:translateX(-50px) } to{ opacity:1; -webkit-transform:translateX(0); transform:translateX(0) } } @keyframes EE{ 0%{ opacity:1; -webkit-transform:translateX(0); transform:translateX(0) } to{ opacity:0; -webkit-transform:translateX(50px); transform:translateX(50px) } } @keyframes animateSound{ 0% { box-shadow: 0px 0px 0px 0px #00b8f1; } 100% { box-shadow: 0px 0px 0px 10px transparent; } } @keyframes animateAnswer{ 0% { border-width: 2px; } 50% { border-width: 15px; } 100% { border-width: 1px; } }