﻿body{
  margin:0;
  font-size:0;
}

.wrapper{
  background:white;
  width:750px;
  margin:0 auto;
}

#header{
  background-color:#333F50;
  position:fixed;
  height:40px;
  width:100%;
  top:0;
  left:0;
  z-index:10;
}

#main-logo{
  width:150px;
  margin:0;
}



nav.globalMenuSp {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background: #fff;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
}

nav.globalMenuSp ul {
  background: #ccc;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  font-size: 1.1em;
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px dotted #333;
  height:58px;
}

nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

nav.globalMenuSp ul li a {
  display: block;
  color: black;
  padding: 1em 0;
  font-size: 20px;
  font-weight:bold;
  text-decoration:none;
}

nav.globalMenuSp.active {
  transform: translateY(0%);
}

.navToggle {
  display: block;
  position: fixed;
  right: 12px;
  top: 1px;
  width: 42px;
  height: 51px;
  cursor: pointer;
  z-index: 3;
  text-align: center;
}

.navToggle span {
  display: block;
  position: absolute;
  width: 30px;
  border-bottom: solid 3px #fff;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  left: 6px;
}

.navToggle span:nth-child(1) {
  top: 9px;
}

.navToggle span:nth-child(2) {
  top: 18px;
}

.navToggle span:nth-child(3) {
  top: 27px;
}

.navToggle.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}




.login-modal-wrapper{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  display: none;
}

.modal {
  position: absolute;
  top: 8%;
  left: 10%;
  background-color: #e6ecf0;
  padding: 20px 0 40px;
  border-radius: 10px;
  width: 290px;
  height: auto;
  text-align: center;
}

.fa-times {
  position: absolute;
  top: 4px;
  right: 12px;
  color: rgba(128, 128, 128, 0.46);
  z-index:2;
}

.fa {
  margin-right:3px;
  margin-top:1px;
  font-size:40px;
  font-weight:bold;
}

#login-form {
  width: 100%;
}

#login-form h2 {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 0px;
  font-size:20px;
  line-height:22px;
}

#login-form input {
  width: 280px;
  margin-bottom: 10px;
  font-size: 18px;
  padding: 12px 12px;
  border: 1px solid #d0d5d8;
  border-radius: 5px;
}

#submit-btn a{
  display: inline-block;
  padding: 10px 50px;
  background-color: #008080;
  border: none;
  border-radius: 3px;
  color: white;
  margin: 10px auto;
  cursor: pointer;
  font-size:20px;
  font-weight:bold;
  text-decoration:none;
}

#submit-btn-new a{
  display: inline-block;
  padding: 10px 50px;
  background-color: #003399;
  border: none;
  border-radius: 3px;
  color: white;
  margin: 10px auto;
  cursor: pointer;
  font-size:20px;
  font-weight:bold;
  text-decoration:none;
}

#submit-btn a:hover, #submit-btn-new a:hover{
  opacity:0.7;
}

#login-form h2{
  font-size:17px;
  font-weight:bold;
  margin-bottom: 15px;
}

h4{
  font-size: 16px;
  font-weight:normal;
  color: #5f5d60;
  margin-top: 0px;
  margin-bottom: 10px;
}

#login-form p:before, #login-form p:after {
  content: '';
  position: absolute;
  top: 40%;
  display: inline-block;
  width: 25px;
  height: 2px;
  border-top: solid 1px #5f5d60;
  border-bottom: solid 1px #5f5d60;
}

#login-form p:before {
  left:-25;
}
#login-form p:after {
  right:-25;
}

#login-form p {
  color: #5f5d60;
  letter-spacing: 1px;
  margin-bottom: 0px;
  font-size:17px;
  font-weight:bold;
  position: relative;
  display: inline-block;
  padding: 0 5px;
}


.bg-wrapper{
  background: -moz-linear-gradient(to bottom,white,rgb(245,250,252) 50%,white); 
  background: -webkit-linear-gradient(to bottom,white,rgb(245,250,252) 50%,white); 
  background: linear-gradient(to bottom,white,rgb(245,250,252) 50%,white); 

}

.top-wrapper{
  height:120px;
}

.img{
  float:left;
}

.img img{
  width:100px;
  border:solid 2px black;
  margin:0px 15px 0 10px;
}

.level h1{
  font-size:21px;
  font-weight:bold;
  margin:50px 0 0 20px;
}

.level p{
  font-size:22px;
  color:midnightblue;
  display:inline-block;
  position:absolute;
  margin:-5px 0 0 2px;
}

.img-level{
  position:absolute;
  margin:-7px 0 0 263px;
}

.img-level img{
  width:35px;
}

.btn-exp{
  padding:4px 35px;
  background:maroon;
  color:white;
  border-radius:7px;
  position:absolute;
  margin-top:27px;
}

.btn-choice a{
  font-size:25px;
  color:white;
  text-decoration:none;
  text-align:center;
}

.answer {
  display: none;
  padding: 5px 10px;
  margin:72px 20px 0 20px;
  border:solid 2px maroon;
  border-radius:7px;
  position:absolute;
  width:298px;
  height:340px;
  background-color:white;
  z-index:2;
}

.answer p{
  font-size:15px;
  font-weight:normal;
  color:rgb(50,50,50);
  margin-top:15px;
  margin-bottom:15px;
}

.explanation a{
  font-size:25px;
  text-decoration:none;
  text-align:center;
}

.small{
  font-size:13px;

}

.blue{
  font-size:20px;
  color:darkblue;
  font-weight:bold;
}

.purple{
  font-size:20px;
  color:#330033;
  font-weight:bold;
}

.slide-wrapper {
  text-align: center;
  height:540px;
  width: auto;
  margin:0 0 0 0px;
}

.index-btn-wrapper {
  margin:0;
  display: flex;
  justify-content: flex-start;
  justify-content:center;
}

.index-btn {
  display: inline-block;
  margin: 0 8px;
}

.index-btn img{
  width: 95px;
  border:solid darkblue 2px;
  border-radius: 5px;
  margin:0 0 5px 0;
  cursor: pointer;
}



.flex{
  display:flex;
  justify-content: center;
  align-items: center;
}

.change-btn-wrapper {
  display:inline-block;
  width: 80px;
  font-size: 80px;
  font-weight:bold;
}

.change-btn-wrapper:after {
  content: "";
  clear: both;
  display: block;
}

.change-btn img{
  margin-top:-70px;
}

.arrow{
  width:55px;
}

.prev-btn {
  display: none;
}

.slides {
  padding: 0;
}

.slide {
  display: none;
}

.active {
  display: block;
}

.slide img {
  width: 200px;
  height: auto;
  border:solid darkblue 4px;
  border-radius: 10px;
}

.slides a{
  padding-top:10px;
  padding-bottom:10px;
  font-size:16px;
  color:white;
  text-decoration:none;
  display:block;
}

.detail{
  padding:1px 5px;
  margin:3px;
  background:#330033;
  color:white;
  display:block;
  opacity:0.8;
  border-radius:4px;
}

.edit{
  padding:1px 5px;
  margin:3px;
  background:#000099;
  color:white;
  display:block;
  opacity:0.8;
  border-radius:4px;
}

#data{
  width:25px;
  height:29px;
  position:absolute;
  z-index:1;
  margin:4px 0 0 4px;
  border:none;
}

#iframe-bottom {
  border:none;
  margin: auto;
  display: block;
}
