/*검사페이지 관련 레이아웃/디자인*/

#cont {
  margin-top: 20px;
}

.top-content h1 {
  font-size: 2.3em;
  margin: 30px auto;
  text-align: center;
  font-weight: bold;
  color: #106bb5;
  grid-column-start: 1;
  grid-column-end: 5;
}

/*역량소개 나무 위 동그라미 배치*/
@media (max-width:786px) {
  .top-content h1 {
    font-size: 1.8em;
    margin: 30px auto;
    text-align: center;
    font-weight: bold;
    color: #106bb5;
  }
}

.top-content h2 {
  font-size: 1.4em;
  margin: 0px auto;
  text-align: center;
  font-weight: bold;
  color: #444;
}

.blank {
  height: 80px;
}

.top-content {
  max-width: 500px;
  justify-content: center;
  margin: 0 auto;
  grid-gap: 10px;
  position: relative;
}

.top-content a:nth-child(2) {
  position: absolute;
  left: 0;
  top: 150px;
}

.top-content a:nth-child(3) {
  position: absolute;
  left: 30px;
  top: 50px;
}

.top-content a:nth-child(4) {
  position: absolute;
  top: 90px;
  left: 130px;
}

.top-content a:nth-child(5) {
  position: absolute;
  top: -10px;
  left: 210px;
}

.top-content a:nth-child(6) {
  position: absolute;
  top: 0;
  left: 310px;
}

.top-content a:nth-child(7) {
  position: absolute;
  top: 20px;
  left: 390px;
}

.top-content a:nth-child(8) {
  position: absolute;
  top: 90px;
  left: 430px;
}

.top-content a:nth-child(9) {
  position: absolute;
  top: 200px;
  left: 430px;
}
/*역량소개 나무 위 동그라미 배치*/
@media (max-width:970px) {

  .top-content a:nth-child(2) {
    position: absolute;
    left: 0;
    top: 100px;
  }

  .top-content a:nth-child(3) {
    position: absolute;
    left: 30px;
    top: 40px;
  }

  .top-content a:nth-child(4) {
    position: absolute;
    top: 50px;
    left: 100px;
  }

  .top-content a:nth-child(5) {
    position: absolute;
    top: -10px;
    left: 130px;
  }

  .top-content a:nth-child(6) {
    position: absolute;
    top: 0;
    left: 190px;
  }

  .top-content a:nth-child(7) {
    position: absolute;
    top: 10px;
    left: 250px;
  }

  .top-content a:nth-child(8) {
    position: absolute;
    top: 60px;
    left: 275px;
  }

  .top-content a:nth-child(9) {
    position: absolute;
    top: 120px;
    left: 270px;
  }
}

.next {
  display: grid;
  margin: 50px 0 50px 0;
}

/* 다음 버튼 css */
.cta {
  position: relative;
  margin: auto;
  padding: 19px 22px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #111;
}
.cta:hover {
  color: #111;
}
.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 28px;
  background: rgba(45, 134, 207, .9);
  width: 56px;
  height: 56px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-size: 16px;
  line-height: 18px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #111;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background: rgba(45, 134, 207, .8);
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.96);
}



/* 라디오버튼 css */
@keyframes click-wave1 {
  0% {
    width: 35px;
    height: 35px;
    opacity: 0.35;
    position: relative;
  }

  100% {
    transform: scale(4.0);
    opacity: 0;
  }
}

@keyframes click-wave2 {
  0% {
    width: 35px;
    height: 35px;
    opacity: 0.35;
    position: relative;
  }

  100% {
    transform: scale(4.0);
    opacity: 0;
  }
}

@keyframes click-wave3 {
  0% {
    width: 30px;
    height: 30px;
    opacity: 0.35;
    position: relative;
  }

  100% {
    transform: scale(4.0);
    opacity: 0;
  }
}

/*
.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 50px;
  transition: all 0.15s ease-out 0s;
  background: #cbd1d8;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  outline: none;
  position: relative;
}

.option-input:checked::before {
  height: 40px;
  width: 40px;
  position: absolute;
  content: '✔';
  display: inline-block;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  color: #fff;
}

.option-input:checked::after {
  -webkit-animation: click-wave1 0.65s;
  -moz-animation: click-wave1 0.65s;
  animation: click-wave1 0.65s;
  background: inherit;
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}

.option-input.radio {
  border-radius: 50%;
}

.option-input.radio::after {
  border-radius: 50%;
}
*/
/* 설문 문항 css */
#servey-form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #444;
}

@media (min-width:1025px){
  #servey-form {
    background: url('./img/Mesa.svg');
    background-position:center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }
}


.question-wrapper {
  display: flex;
  max-width: 367px;
  flex-direction: row;
  justify-content: center;
  margin: 0 auto;
}

.q {
  display: flex;
  width: 100%;
  flex-direction: row;
}

.q h1 {
  font-size: 1.2em;
}

.q h2 {
  font-size: 18px;
}

.question {
  text-align: center;
}

.row {
  flex-direction: row;
}

.q td {
  font-family: WhitneyHTF-semi;
  display: block;
  line-height: 1.25rem;
}

.assessment-text {
  font-weight: bold;
  font-size: 1em;
  margin: 20px 20px 20px 20px;
  padding: 10px 20px;

}

.real .assessment-text:nth-child(1),
.test .test-text:nth-child(3) {
  border-left: 7px solid #024959;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.real .assessment-text:nth-child(3),
.test .test-text:nth-child(5) {
  border-right: 7px solid #F29F05;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.test .test-text:nth-child(3),
.test .test-text:nth-child(5) {
  padding: 10px;
  margin: 20px;
  font-weight: bold;
}

/*문항 버튼 체크시 컬러*/
.personal .assessment-scale .assessment-options .assessment-option:nth-child(1) input[type=radio]:checked+label:before {
  background-color: #024959;
}

.personal .assessment-scale .assessment-options .assessment-option:nth-child(2) input[type=radio]:checked+label:before {
  background-color: #027373;
}

.personal .assessment-scale .assessment-options .assessment-option:nth-child(3) input[type=radio]:checked+label:before {
  background-color: #F2B705;
}

.personal .assessment-scale .assessment-options .assessment-option:nth-child(4) input[type=radio]:checked+label:before {
  background-color: #F29F05;
}

@media(max-width:768px) {

  .q td {
    display: block;
    line-height: 1.2;
  }

  .assessment-text {
    font-weight: bold;
    font-size: 1em;
    margin: 20px 10px 20px 10px;
    padding: 10px 20px;
  }
}

.question tr label {
  vertical-align: middle;
}

.test-radio input {
  margin: 8px auto;
  display: block;

}

.test-radio .assessment-option p {
  position: absolute;
  left: 0px;
  top: 20px;
  color: #ff6d70;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.test-radio .assessment-option:nth-child(2) i {
  position: absolute;
  top: -30px;
  left: 120px;
  font-size: 24px;
  animation: arrow ease-in-out 1.5s infinite;
}

.test-radio .assessment-option:nth-child(3) i {
  position: absolute;
  top: 20px;
  right: 120px;
  font-size: 24px;
  animation: arrow2 ease-in-out 1.5s infinite;
}

@keyframes arrow {
  0% {
    top: -10px;
    opacity: 1;
  }

  100% {
    top: -30px;
    opacity: 0;
  }
}

@keyframes arrow2 {
  0% {
    top: 20px;
    opacity: 1;
  }

  100% {
    top: 40px;
    opacity: 0;
  }
}

/*.question tr input[value="1"],
.question tr input[value="5"] {
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: rgb(114, 179, 122);
  border: none;
  color: #fff;
  outline: none;
}

.question tr input[value="1"]:checked::after,
.question tr input[value="5"]:checked::after {
  -webkit-animation: click-wave1 0.65s;
  -moz-animation: click-wave1 0.65s;
  animation: click-wave1 0.65s;
  background: rgb(114, 179, 122);
  content: '';
  display: block;
  position: relative;
  z-index: 100;
}
*/
.test-radio input[name="test1"],
.test-radio input[name="test4"] {
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: rgb(114, 179, 122);
  border: none;
  color: #fff;
  outline: none;
}

/*
.question tr input[value="2"],
.question tr input[value="4"] {
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: #afd3b3;
  border: none;
  color: #fff;
  outline: none;
}

.question tr input[value="2"]:checked::after,
.question tr input[value="4"]:checked::after {
  -webkit-animation: click-wave2 0.65s;
  -moz-animation: click-wave2 0.65s;
  animation: click-wave2 0.65s;
}

.question tr input[value="2"]:checked::before,
.question tr input[value="4"]:checked::before {
  height: 40px;
  width: 40px;
  line-height: 40px;
  font-size: 20px;
}
*/
.test-radio input[name="test2"],
.test-radio input[name="test3"] {
  height: 40px;
  width: 40px;
  transition: all 0.15s ease-out 0s;
  background: #afd3b3;
  border: none;
  color: #fff;
  outline: none;
}

/*
.question tr input[value="3"] {
  height: 30px;
  width: 30px;
  transition: all 0.15s ease-out 0s;
  background: rgb(114, 179, 122);
  border: none;
  color: #fff;
  outline: none;
  display: none;
}

.question tr input[value="3"]:checked::after {
  -webkit-animation: click-wave3 0.65s;
  -moz-animation: click-wave3 0.65s;
  animation: click-wave3 0.65s;
}

.question tr input[value="3"]:checked::before {
  height: 30px;
  width: 30px;
  line-height: 30px;
  font-size: 16px;
}
*/

.question tr label {
  display: block;
  width: max-content;
  margin: 12px auto;
  margin-bottom: 0;
}


#fullpage {
  padding-top: 70px;
}

@-webkit-keyframes ani-mouse {
  0% {
    opacity: 1;
    bottom: 29%;
  }

  15% {
    opacity: 1;
    bottom: 50%;
  }

  50% {
    opacity: 0;
    bottom: 50%;
  }

  100% {
    opacity: 0;
    bottom: 29%;
  }
}

/*스크롤 다운 애니메이션*/
@-moz-keyframes ani-mouse {
  0% {
    opacity: 1;
    bottom: 29%;
  }

  15% {
    opacity: 1;
    bottom: 50%;
  }

  50% {
    opacity: 0;
    bottom: 50%;
  }

  100% {
    opacity: 0;
    bottom: 29%;
  }
}

@keyframes ani-mouse {
  0% {
    opacity: 1;
    bottom: 29%;
  }

  15% {
    opacity: 1;
    bottom: 50%;
  }

  50% {
    opacity: 0;
    bottom: 50%;
  }

  100% {
    opacity: 0;
    bottom: 29%;
  }
}

.scroll-btn {
  display: block;
  left: 0;
  right: 0;
  text-align: center;
}

.scroll-btn>* {
  display: inline-block;
  line-height: 18px;
  font-size: 13px;
  font-weight: normal;
  color: #7f8c8d;
  color: #444;
  letter-spacing: 2px;
  font-family: inherit;
}

.scroll-btn>*:hover,
.scroll-btn>*:focus,
.scroll-btn>*.active {
  color: #444;
}

.scroll-btn>*:hover,
.scroll-btn>*:focus,
.scroll-btn>*:active,
.scroll-btn>*.active {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.scroll-btn .mouse {
  position: relative;
  display: block;
  width: 35px;
  height: 55px;
  margin: 0 auto 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 3px solid #444;
  border-radius: 23px;
}

.scroll-btn .mouse>* {
  position: absolute;
  display: block;
  bottom: 29%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #444;
  border-radius: 50%;
  -webkit-animation: ani-mouse 2.5s linear infinite;
  -moz-animation: ani-mouse 2.5s linear infinite;
  animation: ani-mouse 2.5s linear infinite;
}

.question tr.test label {
  display: block;
  width: max-content;
  margin: 0 auto;
}

.q .test-blank {
  display: none;
}

@media(max-width:970px) {
  .blank {
    height: 50px;
  }

  .q .test-blank {
    display: block;
  }

  .modify .blank:nth-child(1) {
    display: none;
  }

  .ab .top-content {
    max-width: 320px;
    justify-content: center;
    margin: 0 auto;
    grid-gap: 10px;
    position: relative;
  }
}

.q tr td.test-text h1 {
  font-size: 16px;
}

/*핵심검사 예시문항 문구*/
.assess .speech-bubble {
  -webkit-filter: drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.15));
  margin: 0 1rem;
  padding: 0.2rem 0;
  position: relative;
  font-size: 1rem;
  font-family: WhitneyHTF-Bold;
  background: linear-gradient(122deg, rgba(16, 107, 181, 1) 0%, rgba(16, 107, 181, 0.9) 100%);
  color: #fff;
}

.assess .speech-bubble p {
  color: #fff;
}

.v-application .speech-bubble p {
  margin-bottom: 0px;
}

/*핵심검사 예시문항 popover 폰트 사이즈*/
.popover-body {
  font-size: 12px;
}

.test-info {
  margin-bottom: 10px;
}

.test-text {
  padding: 0 20px;
  font-family: WhitneyHTF-Bold;
}
/*진행도 표시 디자인*/
.progress {
  position: fixed;
  top: calc(50% - 280px);
  width: 300px;
  margin-left: calc(50% - 150px);
  height: 10px;
}

.progress-text {
  position: fixed;
  top: calc(50% - 265px);
  width: 300px;
  margin-left: calc(50% - 150px);
  color: #444444;
  font-size: 12px;
}

/*핵심검사 예시문항 popover 디자인*/
.popover:nth-child(2),
.popover:nth-child(3) {
  top: 5px !important;
}

.popover {
  background-color: #106bb5;
}

.popover-body {
  color: #fff;
}

.bs-popover-auto[x-placement^=right]>.arrow::after,
.bs-popover-right>.arrow::after {
  left: 1px;
  border-width: .5rem .5rem .5rem 0;
  border-right-color: #106bb5;
}

.bs-popover-auto[x-placement^=left]>.arrow::after,
.bs-popover-left>.arrow::after {
  right: 1px;
  border-width: .5rem 0 .5rem .5rem;
  border-left-color: #106bb5;
}