@charset "utf-8";
/* CSS Document */
@-ms-viewport{
  width: device-width;
}

@import url('https://fonts.cdnfonts.com/css/lemonmilk');



body	{
	margin:0;
	padding:0;	
	font-family: Helvetica Neue,Helvetica,Arial,sans-serif; 
	font-size:20px;
	font-weight:normal;
	background-color:#660707;
	color: #ffffff;
	line-height: 20px;
}


#header	{
	margin:0px auto;
	padding:0px;
	height: 200px;
}

.logo	{
	width: 216px;
	height: 77px;
	float: left;
	margin-left: 0px;
	margin-top: 15px;
}
.sns{
	width: 400px;
	height:46px;
	float: right;
	margin-right: -30px;
	margin-top: 25px;
	margin-bottom: -20px;
}

#page{
	width:100%;
	height:100%;
	margin:0px auto;
    position: relative;
    overflow: hidden;
    min-width: 1150px;
    max-width: 2000px;
    background: #660707 url(https://img.koggames.com/ES/microsite/2021/0504/art-contest/images/bg_artsv2.jpg) no-repeat;
	background-position: top center;
	min-height: 2200px;
	padding-bottom:20px;
}


#gagunb {
	position:relative;
	z-index:4;
    overflow: hidden;
    min-width: 1150px;
    max-width: 2000px;
    min-height: 45px;
    margin:0px auto;
	padding:0px;
}
#gfooter {
	position:relative;
	z-index:4;
    overflow: hidden;
    min-width: 1150px;
    max-width: 2000px;
    min-height: 144px;
    margin: 0 auto;
}


#wrapper	{
	width:100%;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
	padding-top:450px;

}

#menu {
    margin: 10rem auto 1rem;
    width: 552px;
    text-align: center;
}

#content {
    line-height: normal;
    height: 100%;
    width: 1000px;
	margin: 1.2rem auto 2rem;	
}


#content h1 {
	font-size: 18px;
	color:#fff;
	font-weight: 600;
	font-family: 'Lemon/Milk', sans-serif;
}
.txt_oblique {
	font-size: 15px;
	color:#fff;
	font-style: oblique;
	font-weight: 200;
}

.ff1_20 {
	font-size: 20px;
	color:#ffe47b;
}

.ff2_18milk {
	font-size: 18px;
	color:#fff;
	font-weight: 600;
	font-family: 'Lemon/Milk', sans-serif;
}

.ff3_18milk {
	font-size: 18px;
	color:#ff6767;
	font-weight: 600;
	font-family: 'Lemon/Milk', sans-serif;
}

.ff4_21milk {
	font-size: 21px;
	color:#ffda75;
	font-weight: 600;
	font-family: 'Lemon/Milk', sans-serif;
}

.ff5_21milk {
	font-size: 21px;
	color:#ff8a8a;
	font-weight: 600;
	font-family: 'Lemon/Milk', sans-serif;
}





#section{
	margin: 10px auto 0;
	padding: 0 0px;
	position: relative;
	z-index: 1;
	width: 980px;
}
#section .yearbook{
    background-color: #000000;
    position: relative;
    padding: 0px;
    margin: 20px 0;
    z-index: 100;
}

#section .yearbook .content-main{
	border: 5px solid #ffba00;
	margin-bottom: 20px;
}
#section .yearbook .content-main .yb-title{
	margin-top: -50px;
}
#section .yearbook .content-main ul.nav{
	padding: 0;
}
#section .yearbook .content-main ul.nav li{
	display: inline-block;
    margin: 6px 0 0 0;
    top: 30px;
}
ul.nav li.prev{
	position: relative;
    left: -380px;
}
ul.nav li.next{
	position: relative;
    right: -380px;
}
#section.yearbook .content-main ul.nav li img{
	display: none;
}
#section.yearbook .content-main table.yb-pics{
	color: #000;
    line-height: 17px;
}
#section.yearbook .content-main table.yb-pics .imgs{
	max-width: 100%;
	display: block;
}
#section.yearbook .content-main table.yb-pics .caption p{
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 5px;
}
#section.yearbook .content-main table.yb-pics .caption span{
    font-weight: normal;
}
#section.characters{
	background: url(../images/bg-yb-characters.jpg);
    width: 510px;
    height: 773px;
    position: absolute;
    right: -180px;
    top: 150px;
    z-index: 1;
}



.btn-submission	{
	position:relative;
	top:50px;
	width:304px;
	height:73px;
	margin:0px auto;
	border-radius:50px;
	filter: grayscale(1);
}

@-webkit-keyframes glowing {
  0% { background-color: #ffbe1d; -webkit-box-shadow: 0 0 3px #ffbe1d; }
  50% { background-color: #6dfc52; -webkit-box-shadow: 0 0 40px #ffbe1d; }
  100% { background-color: #f6c95b; -webkit-box-shadow: 0 0 3px #f6c95b; }
}

@-moz-keyframes glowing {
  0% { background-color: #ffbe1d; -moz-box-shadow: 0 0 3px #ffbe1d; }
  50% { background-color: #6dfc52; -moz-box-shadow: 0 0 40px #ffbe1d; }
  100% { background-color: #f6c95b; -moz-box-shadow: 0 0 3px #f6c95b; }
}

@-o-keyframes glowing {
  0% { background-color: #ffbe1d; box-shadow: 0 0 3px #ffbe1d; }
  50% { background-color: #6dfc52; box-shadow: 0 0 40px #ffbe1d; }
  100% { background-color: #f6c95b; box-shadow: 0 0 3px #f6c95b; }
}

@keyframes glowing {
  0% { background-color: #ffbe1d; box-shadow: 0 0 3px #ffbe1d; }
  50% { background-color: #6dfc52; box-shadow: 0 0 40px #ffbe1d; }
  100% { background-color: #f6c95b; box-shadow: 0 0 3px #f6c95b; }
}
@-webkit-keyframes flicker {
	 0% {
  }
  5%,25% {
	  opacity: 1;
  }
  15%,35% {
	  opacity: 0;
  }
  40% {
	opacity: 0;
	}
}

@keyframes flicker {
   0% {
  }
  5%,25% {
	  opacity: 1;
  }
  15%,35% {
	  opacity: 0;
  }
  40% {
	opacity: 0;
	}
}
.flicker{
    -webkit-animation-name: flicker;
    animation-name: flicker;
	opacity: 0;
	position: absolute;
    left: 7px;
    width: 150px;
    top: 121px;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 3s;

}






#main-content {
	margin: 10px auto 0;
	padding: 0 10px;
	position: relative;
	z-index: 1;
	width: 980px;
}

#main-content ul.rules li {
	list-style: none;
	text-align:left;
	line-height:28px;
	font-size: 16px;
}

.sidebarleft {
	float: left;
	width: 30%;
	text-align: right;
        margin-top: 30px;
}

.sidebarright {
	float: right;
	width: 30%;
	position: relative;
        top: -50px;
	text-align: left;
}


.ff2_20 {
	font-size: 20px;
	color:#ffe47b;
	font-weight: 600;
	text-decoration: underline;
}



.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 5;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 10rem auto;
  background-color:#660707;
  width: 760px;
  height:420px;
  position: relative;
  transition: all 5s ease-in-out;
  z-index: 5;
  box-shadow: 0px 0px 4px 0px #ffe615;
}

.popup p {
  margin-top: 0;
  padding-top:50px;
  color: #ffe615;
  font-family:Arial, Helvetica, sans-serif
}
.popup .close {
  position: absolute;
  top: -30px;
  right: -10px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #ffe615;
}
.popup .close:hover {
  color: #ffe615;
}
.popup .content {
  margin-top: 20%;
}
.popup .content .form-inline{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
    margin: 0 auto;
    width: 600px;
    position: relative;
    top: 10px;
}
.popup .content .form-inline .inline{
	width: 100%;
	text-align: right;
}
.popup .content .form-inline .inline label {
	color: #ffe615;
	margin: 5px 10px 5px 0;
	width: 50%;
	position: relative;
    top: 10px;
}
.popup .content .form-inline .inline input, .popup .content .form-inline .inline select, .popup .content .form-inline .inline textarea {
	vertical-align: middle;
	margin: 5px 10px 5px 0;
	padding: 10px;
	background-color: #4e0a0a;
	border: 1px solid #260303;
	width: 50%;
	float: right;
	border-radius: 5px;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.popup .content .form-inline .inline input[type=file]{
	background-color: transparent;
	border: none;
	padding: 10px 0;
}


select::placeholder {
	text-align:center;	
}



.popup .content .form-inline .btn-submit{
	margin: 20px auto;
    text-align: center;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}


.revealOnScroll { opacity: 0; }


#playnow {
	height:160px;
}





/* spacer start */
#spacer-sm {
	height:20px;
}
#spacer-md{
	height:50px;
}
/* spacer end */

/* misc start */
/* misc end */

/* generic footer start */
footer[role="contentinfo"] {
  padding-top: 15px;
  background-color: #000;
}

footer {
  background-image: url(/wp-content/themes/elsword3/images/bg-footer.jpg);
  font-size: 12px;
  font-size: 0.857142857rem;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  width: 100%;
  min-width: 1024px;
  margin: 0px auto 0px auto;
  padding: 0px;
  background-repeat: no-repeat;
  background-position: center;
  background-position: top;
  height: 144px;
}

.footernormal {
	font-size:12px;
	color:#4679ba;
	text-align:left;
	font-weight:normal;
}

a.footerlinks:link {color: #4679ba; text-decoration:none; line-height:16px; }
a.footerlinks:active {color: #4679ba; }
a.footerlinks:visited {color: #4679ba; }
a.footerlinks:hover {color: #4679ba; }

.footersections {
	font-size:12px;
	color:#FFF;
	font-weight: bold;
}

.footercopyright {
	font-size:12px;
	color:#FFF;
}
/* generic footer end */