body {
    margin: 0; padding: 0;
	color:#fff; 
	background-color: #111;
}

/* header */
#nav {
	width: 100%; background: #1d1d1d;
}
#nav_pop {
	width: 100%; background: #1d1d1d;
}
#nav_pop.active { display: block; }



#title {
	text-align: center;
	display: block;
	width: 100%;
    height: 70px;
    background-color: #000;
}
#title.main_title { height: 70px; }
#nav.bet_nav,
#title.bet_title,
footer.bet_footer { width: calc(100% - 260px); margin-right: 260px; }
/*
#title.pc_tit.fixed { position: fixed; top: 0; }
*/


.p_tit_wrap {
	width: 100%;
	position: relative;
	display: none;
}
.p_tit {
	font-family: 'NanumSquare';
	width: 100%;
	height: 70px;
	line-height: 70px;
	background-color: #000;
	padding: 0 30px;
	font-size: 20px; font-size: 2.0rem;
	font-weight: bold;
	border-bottom: 2px solid #ffcc00;
}

/*bet slip*/
#bet_slip {
    position: fixed; top: 0; left: auto; right: 0; bottom: 0;
	width: 260px; display: block;
	background: rgba(0, 0, 0, 0.3);
	z-index: 60;
	border-left: 1px solid;
    border-image: linear-gradient(to bottom, #be902b, #fef0a6, #be902b);
    border-image-slice: 1;
}
#bet_slip.pc_tit { position: absolute; }
#bet_slip.pc_tit.fixed { position: fixed; top: 0; }

/*-------------- content -------------*/
.main_content { position: relative; width: 100%; max-width: 1135px; margin: 0 auto; }
.content { position: relative; width: 100%; max-width: 1135px; padding: 0 0 50px 0; margin: 10px auto 0; }
.content.wide { max-width: 100%; padding: 0; margin: 0; }
.content.bet_content { max-width: 1520px; padding: 0 260px 50px 0; }
.content_inner_box {
    position: relative; width: 100%; max-width: 1135px; padding: 0 0 50px 0; margin: 10px auto 0;
}
.content.wide .content_inner_box { padding: 0; border: none;}

.bgVideo { position: fixed; top: 0; left: 0; bottom: 0; right: 0; min-width: 100%; 
  min-height: 100%; }


/*--------------footer start-------------*/
footer {
	width: 100%; display: block;
	text-align: center; line-height: 80px;
	margin: 0 auto;
	font-size: 12px; font-size: 1.2rem;
	color: #fff;
	position: relative;
}
.footer-box { width: 100%; background-color: #222; }
footer span { color: #ffcc00; font-weight: bold; }
.footer_wrap { background: #000; text-align: center; border-top: 1px solid #222; width: 100%; color:#aaa; letter-spacing: 1.1px; }
.footer_wrap.main_footer { position: absolute; bottom: 0; }
.footer_inner { border-bottom: 1px solid #222; width: 100%; text-align: center; font-size: 0px; letter-spacing: 0px; word-spacing: 0px; }
.footer_info { vertical-align: top; display: inline-block; padding: 30px; width: 45%; }
.footer_info:first-child { border-right: 1px solid #222; }
.guide_wrap { width: 100%; overflow: hidden; text-align: left; padding: 20px 0; }
.guide_wrap a { display: inline-block; font-size: 16px; font-size: 1.6rem; margin-right: 10px; }
.guide_wrap a i { margin-right: 5px; }
.footer_wrap span { font-size: 14px; font-size: 1.4rem; text-align: center; display: block; padding: 30px 0; }

@media all and (max-width:1030px){
	footer { padding: 0; background: none; }
	.footer_wrap.main_footer { position: relative; }
}
/*--------------footer End-------------*/


@media (max-width:1135px) {
	.content,
    .content.bet_content { padding: 0 60px; margin-top: 70px; }
    .main_content { margin-top: 0; }
	.content.wide { margin-top: 60px;}

	footer.bet_footer { 
		width: 100%;
    	margin-right: 0;
	}

	.p_tit_wrap { display: none; }

    .dim_opened { z-index: 100; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.9); }
    .content_opened { transform: translate3d(230px,0,0); }
	.content_bet_opened { transform: translate3d(-260px,0,0); }

    #title,
	#title.main_title,
    #title.bet_title { height: 50px; position: fixed; width: 100%; top: 0; z-index:11; }
    .html_opened { overflow:hidden; position:relative;  }
    #nav,
	#nav.bet_nav {
        overflow-y: auto;
        height: auto;
        width: 230px; position: fixed; left: 0; top: 0; bottom: 0; right: auto;
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0);
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
		border-right: 1px solid;
		border-image: linear-gradient(to bottom, #be902b, #fef0a6, #be902b);
		border-image-slice: 1;
    }
    #nav.opened {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

	#nav_pop {
		width: 300px; background: #1d1d1d;
		height: 100vh;
		position: fixed; top: 0; bottom: 0; right: 0;
		z-index: 12; display: none; 
	}

    #bet_slip {
        z-index: 100;
		background-color: #191919;
		transform: translate3d(100%,0,0);
		bottom: 0; left: auto; right: 0; top: 0;
    }

	#bet_slip.bet_opened {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    #bet_slip.content_opened { transform: translate3d(230px,100%,0); }
	#bet_slip.active_half{ transform: translate3d(0,68%,0); }
    #bet_slip.active{ transform: translate3d(0,0,0); }
    #bet_slip.content_opened.active_half{ transform: translate3d(230px,68%,0); }
	#bet_slip.content_opened.active{ transform: translate3d(230px,0,0); }
	footer { width: 100%; background-size: 100%; }
	#nav,
	#nav.bet_nav { width: 230px; }
    .content_opened { transform: translate3d(230px,0,0); }

    #bet_slip.content_opened { transform: translate3d(230px,100%,0); }
    #bet_slip.content_opened.active_half{ transform: translate3d(230px,68%,0); }
    #bet_slip.content_opened.active{ transform: translate3d(230px,0,0); }

	.content,
    .content.bet_content { margin: 0 auto; padding: 50px 0 0; }
	.content_inner_box { padding: 0; padding-bottom: 75px; background-color: transparent; border: none; }

	.bgVideo {display: none;}
}


@media (max-width:640px) {
    #title,
    #title.bet_title {
		height: 50px; text-align: left; padding-left: 50px; margin-right: 0;
	}
    #title.main_title { height: 50px; padding-left: 0; }

	.content,
    .content.bet_content { margin: 0 auto; padding: 50px 0 0; }
	.content.wide { margin-top: 50px;}

	#nav_pop {
		width: 100%;
	}
}