@charset "utf-8";
/* media */
@media screen and (min-width: 991px) {
	/* pc device */
	.mob {
		display: none !important;
	}
}

.aside2.in {
	width: 100%;
	min-width: 320px;
}
.aside2 {
	background: url(../img/bg/bg_popup.jpg) center top no-repeat;
	background-size: cover;
	position: fixed;
	width: 100%;
	min-width: 0px;
	top: var(--header-hight);
	right: 0;
	bottom: 0;
	transition: transform 0.35s ease;
	z-index: 1050;
	overflow: auto;
	transform: translateX(100%);
}
.aside2 ul.category-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	padding: 0.2em 0.5em;
}
.aside2 ul.category-box>li {
	width: 50%;
	padding: 0.1em;
}
.aside2 ul.category-box>li a {
	display: block;
	padding: 1.75em 0;
	background-color: #00000099;
	text-align: center;
}
.aside2 .sns_wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
	gap:3px;
	padding:10px;
}
.aside2 .sns_wrap img {
	width: 100%;
}

.popup_wrapper .input1::placeholder {
	opacity: 0;
}
.qna_wrapper {
	text-align: center;
	margin-top: 15px;
}
.input1 + b {
	margin: 0 .1em;
}

@media screen and (max-width: 990px) { /* mobile device */
	body {
		font-size: calc(.75rem + 1vmin);
	}
	.pc {
		display: none !important;
	}
	.out_login_wrap .login_content .footer {
		display: flex;
		flex: 1 1 auto;
	}
	#wrap::before{display:none}
	.header_wrap{
		padding-top: 0;
	}
	.header_wrap .top {
		flex-direction:column;
		height: 120px;
		margin: 0 5px;
		padding-top: 12px;
	}
	.header_wrap .top img.menu{
		width:35px;
		position:absolute;
		right: 10px;
		top: 20px;
	}
	.header_wrap .top img.menu.open,
	.hamburger-active .header_wrap .top img.menu.close{
		display:block
	}
	.hamburger-active .header_wrap .top img.menu.open,
	.header_wrap .top img.menu.close{
		display:none
	}
	.header_wrap .top .logo {
		height: 70px;
	}
	.header_wrap .top .logo img{
		height:100%;
		max-height: 54px;
	}
	.header_wrap .top .info {
		position:relative;
		top: 0;
		font-size: 12px;
		flex-wrap: wrap;
		gap: 0px 15px;
		justify-content: space-around;
		height: 40px;
		align-items: center;
		overflow: hidden;
		display: flex;
	}
	.header_wrap .btn-wrap {
		position:absolute;
		bottom:0;
		background:black;
		margin: 5px;
		width: 100%;
	}
	.header_wrap .btn-wrap >button{
		width: 100%;
		padding: 5px 5px;
		font-size: 16px;
	}
	.hamburger-active .header_wrap .btn-wrap {
		display:flex !important;
		justify-content: flex-end;
	}
	.hamburger-active .header_wrap .btn-wrap button{
		width:auto;
		
	}
	.hamburger {
		font-size: 40px;
	}
	.hamburger-inner,
	.hamburger-inner:after,
	.hamburger-inner:before {
		height: 0.1em;
	}
	.hamburger-inner {
		top: 50%;
		display: block;
		margin-top: -2px;
		background-color: #fff;
		background: var(--gradient-gold-double);
	}
	body.hamburger-active {
		overflow: hidden;
	}
	.hamburger-active .aside2 {
		transform: translateX(0);
	}
	.hamburger-active .header_wrap,
	.popup_visible_main_pop .header_wrap {
		position: sticky;
		top: 0;
		z-index: 10;
	}
	.game_list_wrap>ul {
		grid-template-columns:repeat(2, 1fr);
	}
	.game_list_wrap>ul>li .game-wrap .name {
		font-size:18px;
	}
	.main_popup_tab>li>a {
		font-size: 1em;
	}
	.main_popup_tab_box {
		width: inherit;
		padding: 5px;
	}
	.main_popup_tab_box .con_box30 {
	margin-top: 0;
	}
	.main_game_box {
		padding: .25rem;
	}

	.main_game_start {
		padding: .25rem;
	}

	.check {
		width: calc(100% - 5px);
		height: calc(100% - 5px);
		top: 2.5px;
		left: 2.5px;
	}

	.main_con_box {
		padding: 0 0.25rem;
		flex-direction: column;
	}
	.main_con1_wrap {
		width: 100%;
		margin: .25rem 0;
		max-width: initial;
	}
	.main_con1_wrap+.main_con1_wrap {
		margin-left: 0;
	}
	.main_con_wrap .more {
		right: 1.5em;
	}
	.main_con1_wrap .main_con1 table {
		width: 100%;
		min-width: initial;
	}

	.main_con1_title > img {
		max-width: 100%;
	}

	.notice_popup_area {
		top: 4rem;
		left: 0;
		max-width: 100%;
	}
	.notice_popup * {
		word-break: break-all;
		max-width: 100%;
		height: auto;
		min-height: unset !important;
	}
	.notice_popup .notice_popup_text {
		padding: 1rem;
	}
   	.board-list ul.imgList {grid-template-columns: var(--mob-thumb-cnt);}
	#join_pop,
	.out_login_wrap {
		height: calc(100vh - var(--header-hight));
		overflow-y: scroll;
	}

	.login ul {
		display: flex;
		justify-content: space-between;
	}
	.login ul li {
		font-size: .8em;
		line-height: 2em;
		width: fit-content;
		max-width: 100%;
		white-space: nowrap;
	}
	.login ul li .nickName {
		font-size: 1.2em;
	}

	.login ul li.item-username,
	.login ul li.item-password {
		flex-grow: 1;
		padding-right: .1em;
	}
	.login ul li.item-username input,
	.login ul li.item-password input,
	.login ul li.item-login,
	.login ul li.item-join {
		width: 100%;
	}
	.login ul li.item-nickname {
		overflow: hidden;
		flex-grow: 1;
		text-align: left;
	}
	.login ul li img {
		max-width: 30vw;
	}
	.hamburger-active .login ul li.item-cash {
		display: none;
	}
	.hamburger-active .login ul li.item-logout,
	.hamburger-active .login ul li.item-partner {
		display: list-item !important;
	}

	/* sk_popup mobile styles (not popup exactly, subpage theme) */
	.popup_background:not(#notice_pop_background) {
		display: none !important;
	}
		
	#login_pop_background.popup_background {
		display: block !important;
		opacity: initial !important;
		background-color: rgb(28 18 59 / 50%) !important;
	}
	
	.popup_wrapper {
		top: var(--header-hight) !important;
		overflow: hidden !important;
		margin-top: -1px;
	}
	#notice_pop_wrapper.popup_wrapper {
		top: 0px !important;
		overflow: auto !important;
	}
	
	.popup_wrapper .close_box {
		display: none;
	}
	.popup_wrapper .popup_wrap {
		font-size: 0.8em;
	}
	.popup_wrapper .popup_content {
		display: block !important;
		width: 100%;
	}
	.popup_wrapper .popup_content>.popup_wrap {
		width: 100%;
	}
	#notice_pop .notice_popup_text {
		min-width:initial;
		padding:1em;
	}

	#sms_popup {
		max-width:350px;
		margin:auto;
		
	}
	.popup_wrapper .popupbox {
		border-radius: 0;
		padding: 0;
		overflow: auto;
		height: calc(100vh - var(--header-hight));
		min-height: unset;
	}
	.popup_wrapper .popupbox .slot_loding {
		padding: .5em;
		font-size: 2em;
	}
	.popup_wrapper .popupbox .slot_loding img {
		max-width: 80vw;
	}
	.popup_wrapper .popupbox .pop_content {
		padding: 10px 10px 50px;
	}

	.popup_wrapper .title1 {
	}
	.popup_wrapper .title1-search {
		height: 3em;
		background: url(../img/bg/bg_popup.jpg) center center no-repeat;
		background-size: cover;
		margin: 0;
	}
	.popup_wrapper .title1-search .input1{
		min-width: initial;
	}
	.popup_wrapper .title1-search .clearable {
		width: 12em;
	}

	.popup_wrapper .popup-noheader .title1 {
		align-items: start;
	}
	.popup_wrapper .popup-noheader .title1 + .close_box {
		display: inline-flex;
		position: absolute;
		top: 0;
		justify-content: end;
		transform: scale(0.8);
		transform-origin: top right;
	}

	.popup_wrapper .title2 {
		float: initial;
		text-align: center;
		display: flex;
		flex-flow: column;
		justify-content: center;
		align-items: center;
	}

	.popup_wrapper .con_box00,
	.popup_wrapper .con_box10,
	.popup_wrapper .con_box20,
	.popup_wrapper .con_box30 {
		padding: 0 0.5em;
		float: initial;
	}
	.popup_wrapper .con_box00 .btn_wrap_center,
	.popup_wrapper .con_box10 .btn_wrap_center,
	.popup_wrapper .con_box20 .btn_wrap_center,
	.popup_wrapper .con_box30 .btn_wrap_center {
		float: initial;
	}
	.popup_wrapper .input1::placeholder {
		opacity: 1;
	}

	.popup_wrapper .write_title,
	.popup_wrapper .write_basic {
		min-height: 2em;
		line-height: 2em;
		padding: 0.5em 0em;
	}
	.popup_wrapper .write_title {
		max-width: 12em;
		white-space: nowrap;
		width: 100%;
		display: block;
		border-bottom: none;
		padding-bottom: 0;
	}
	.popup_wrapper .flex-table .write_title {
		width: 100%;
		display: flex;
		padding: .75em .8em 0;
		border-bottom: none;
		margin-top: .2em;
		max-width: initial;
	}

	.popup_wrapper .write_basic {
		display: flex;
		flex-wrap: wrap;
		padding-top: 0;
	}
	.popup_wrapper .write_basic > .input1{
		flex-grow: 1;
		width: 4em;
		height: 45px;
	}
	.popup_wrapper .write_basic > .input1 + span {
		display: block;
		font-size: .8em;
		width: 100%;
		line-height: initial;
	}
	.popup_wrapper .write_basic > .input1 + a {
		margin-left: .3em;
	}

	.popup_wrapper .popup_tab_wrap {
		display: none;
	}

	.btn_plus_wrapper {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
		margin: .25em 0;
		flex: 0 0 100%;
		gap: 5px;
	}
	.btn_plus_wrapper > a {
		padding: .1em;
	}
	.btn_plus_wrapper > a > .btn {
		width: 100%;
		padding: 0 1em;
		line-height: 3.5em;
		height: 3.5em;
	}
	.qna_wrapper {
		width: 100%;
	}

	.list1,
	.list_title1,
	.list_notice1 {
		line-height: initial;
		padding: 1em .2em;
	}

	.slot_list>ul {
		grid-template-columns: var(--mob-slot-cnt);
		gap: .5em;
	}
	.slot_list>ul>li {
		margin-top: .6em;
		border: none;
	}
	.slot_list>ul>li .tit {
		padding: .75em .25em;
	}
	
	.pagination>li>a,
	.pagination>li>span {
		margin: 0.1em;
		border-radius: 0.2em;
		padding: 0.5em 1.25em;
		line-height: 2;
	}

	.popup_tab.flex .tab1 {
		flex-grow: 1;
		min-width: initial;
	}

	ul.comp_list {
		grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
		gap: 0.5em;
	}

	/*룰렛*/
	.roulette-container {
		position: relative;
		display: block;
		width: 100%;
		scale: initial;
		right: 0;
		top: 0;
		background: url(../images/common/roul-bg.png);
		z-index: 100;
	}

	.roulette .cash-font {
		font-size: 1.5em;
	}

	.attendance-reward-btn {
		position: inherit;
		margin-top: 4px;
		margin-bottom: 4px;
		float: right;
	}
	.footer {
		position:fixed;
		bottom:0;
		width: 100%;
		z-index: 1002;
	}
	.footer ul{
		display:grid;
		grid-template-columns:repeat(5, 1fr);
		background: #1b1b1b;
		border-radius: 15px 15px 0 0;
		padding: 7px 0;
		filter: drop-shadow(2px 4px 6px white);
	}
	.footer ul li{
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.footer ul li img{
		width: 25px;
		color: #956161;
		filter: invert(1);
	}
	.footer ul li p{
		color: white;
		font-size: 12px;
	}
	.footer ul li.home{
		position:relative;
		z-index: 0;
		margin-bottom: -5px;
	}
	.footer ul li.home::before{
		content:'';
		position:absolute;
		background: #ab7cd4;
		border: 6px solid #1b1b1b;
		width: 55px;
		height: 55px;
		bottom: 0;
		z-index: -1;
		border-radius: 50%;
	}
	.footer_wrap{
		padding: 20px 0;
	}
	::-webkit-scrollbar{
		display:none
	}
	.langs {
		width: 40px !important;
		position: absolute;
		left: 10px;
		top: 20px;
	}
	.langs .dynamic-select .dynamic-select-header {
		padding: 3px;
	}
}

