@media screen and (max-width:1024px) {
   
    #header .mainmenu {
        margin-right: 0;
    }

	#header .mainmenu a {
		padding: 0 10px;
		font-size: 2.2rem;
	}



	.primary [class^="section"] .items .item {
		width: calc(33.33% - 36px);
	}

	.primary [class^="section"] .items .item:nth-of-type(4n+1) {
		clear: none;
	}

	.primary [class^="section"] .items .item:nth-of-type(3n+1) {
		clear: both;
	}

	.primary [class^="section"] .items .item p {
		font-size: 2.4rem;
	}



	.-redemption .primary [class^="section"] .items {
		margin: -40px 0 0 -40px;
	}

	.-redemption .primary [class^="section"] .items .item {
		width: calc(20% - 40px);
		margin-top: 40px;
		margin-left: 40px;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(3n+1) {
		clear: none;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(5n+1) {
		clear: both;
	}



	.-redemption .redemption-detail .table-cart {
		width: 540px;
	}


	.-redemption .section-redeem {
		margin-top: -40px;
	}

	.-redemption .section-redeem .items {
		width: calc(100% + 40px);
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		flex-wrap: wrap;
	}

	.-redemption .section-redeem .items .item {
		height: auto;
		float: none;
	}



	.section-transfer .step-1,
	.section-transfer .step-2 {
		width: 100%;
		border: none;
		float: none;
		padding: 0;
	}

	.section-transfer .step-2 {
		margin-top: 30px;
	}



	.section-pending .items .item {
		padding: 14px 20px;
	}

	.section-pending .items .item .col:nth-of-type(1) {
		width: 22%;
	}

	.section-pending .items .item .col:nth-of-type(2) {
		width: 40%;
	}

	.section-pending .items .item .col:nth-of-type(3) {
		width: 38%;
	}

	.section-pending .items .item .col p {
		font-size: 2.2rem;
	}

	.section-pending .item .col:last-child .group-btn a {
		min-width: inherit;
		padding: 0 15px;
		font-size: 2.2rem;
	}

	.section-pending .item .col:last-child .group-btn a+a {
		margin-left: 6px;
	}



	.section-history-transfer .list-history p {
		font-size: 2rem;
	}
}










/* Tablet
============= */

/* Ipad Pro Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {}

/* End Ipad Pro Landscape */





/* Ipad Pro Portrait */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
.img_height{
	height:150px
	
}
    .section-padding {
        width: 100%;
        margin: 0 auto;
        padding: 50px 0;
    }
    .user-drop {
        display: none;
    }
    .portfolio-overlay:hover .gift {
        width: 55%;
        top: 20px;
        left: 23%;
        text-align: center;
        z-index: 1;
        opacity: 1;
    }
    .btn-box {
        position: absolute;
        width: 100%;
        left: 0;
        top: 120px;
        text-align: center;
        opacity: 0;
        transition: opacity .35s ease;
    }
    .owl-carousel .owl-stage {
        height: 300px !important;
    }
        .btn-box a {
            width: 200px;
            padding: 5px 35px;
            text-align: center;
            font-size: 20px;
            color: white !important;
            border: solid 2px white;
            z-index: 1;
        }
    .itemn .item-content {
        display: block;  
    }
    .item-content .item-left {
        border-bottom-left-radius: 0;
        background-image: linear-gradient(to left bottom, #5577ff, #0097ff, #00b0ff, #00c4f6, #40d5e6);
        width: 100%;
        padding: 5px;
        font: normal 1.3rem/0.8em 'db_helvethaica_x-medium';
        color: #fff;
        text-align: center;
    }
    .item-content .item-right {
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
        width: 100%;
        padding: 15px 5px;
        height: 60px;
        background: #fff;
        font: normal 1.7rem/0.8em 'db_helvethaica_x-medium';
    }
    .primary .section-redeem .owl-nav {
      display: none;
    }
    .primary .section-redeem .badge {
        width: 50px;
        height: 25px;
        display: block;
        background: url(../img/icons/badge.png) 0 0 /100% no-repeat;
        position: absolute;
        left: 10px;
        top: -5px;
    }

}

/* End Ipad Pro Portrait */




/* Main Layout Tablet */
@media only screen and (max-width:1023px) {
	.primary .top10 .section-padding .slider-name .owl-stage-outer .owl-stage .owl-item::before{
	top: 15px;
	
}
.mg_top_50{
	margin-top: 50px;
	
}
.img_height{
	height: 205px;
	
}
    .tab-h2 {
        margin-top: 55px;
    }
        .tab-h2 h2 {
            font-size: 4.6rem;
        }
    .display-top10 {
        display: block !important;
    }
    .title-primary {
        font-size: 4.6rem;
        margin-top: 35px;
    }
    .primary .section-redeem .owl-stage-outer {
        width: 100%;
        padding: 10px 0 0 10px;
        margin: -10px 0 0 -10px;
    }
    .item-content .item-left {
        border-bottom-left-radius: 5px;
        background-image: linear-gradient(to left bottom, #5577ff, #0097ff, #00b0ff, #00c4f6, #40d5e6);
        width: 40%;
        padding: 15px;
        font: normal 1.4rem/0.8em 'db_helvethaica_x-medium';
        color: #fff;
        text-align: center;
    }
    .item-content .item-right {
        border-bottom-right-radius: 5px;
        width: 60%;
        padding: 15px;
        background: #fff;
        font: normal 1.5rem/0.8em 'db_helvethaica_x-medium';
    }
    .primary .section-redeem .badge {
        width: 50px;
        height: 25px;
        top: -5px;
    }
    .owl-carousel .owl-stage {
 
        height: auto !important;
   
    }
    .section-padding {
        width: 100%;
        margin: 0 auto;
        padding: 50px 0;
    }
    #profile {
        display: block;
    }
    .group-profile {
        display: flex;
        width: 100%;
        border-bottom: 1px solid #EEE;
    }

    .profile_left h2 {
        font-size: 1.3em;
        color: #00abe9;
    }

    .profile_left .text-pf {
        font-size: 1em;
        color: #b1b1b1;
    }

    .profile_left {
        width: 40%;
        padding: 10px 15px;
        background: #e8eef3;
        border-top: 1px solid #EEE;
    }

    .profile_center {
        width: 30%;
        padding: 10px 25px;
        border-top: 1px solid #EEE;
        border-left: 1px solid #fff;
        background: #e8eef3;
    }

        .profile_center h2 {
            font-size: 0.8em;
            color: #80828a;
            margin: 3px 0;
        }

        .profile_center p {
            font-size: 1.5em;
            font-weight: 600;
        }

    .profile_right {
        width: 30%;
        padding: 10px 25px;
        border-top: 1px solid #EEE;
        border-left: 1px solid #fff;
        background: #e8eef3;
    }

        .profile_right h2 {
            font-size: 0.8em;
            color: #80828a;
            margin: 3px 0;
        }

        .profile_right p {
            font-size: 1.5em;
            font-weight: 600;
        }
    .user-drop {
        height: 100%;
        display: none;
      
    }
	#header {
		height: auto;
	}

	#header .group-btn {
		width: 100%;
		display: flex;
		justify-content: center;
		padding: 10px 0;
		margin: 0;
	}

	#header .mainmenu {
		width: 100%;
		height: calc(100vh - 90px);
		background: #d0dde9 url('../img/share/bg-mainmenu.png') repeat-x;
		position: fixed;
		left: -100%;
		top: 90px;
		padding: 0 0 20px;
		overflow-y: auto;
		transition: .15s ease;
	}

	#header .mainmenu a {
		height: 64px;
		float: none;
		padding-left: 40px;
		font-size: 3rem;
		line-height: 64px;
	}

	#header .mainmenu a span::before {
		width: 28px;
		height: 64px;
		margin-right: 30px;
	}

	.open-menu #header .mainmenu {
		left: 0;
	}


	#header .hamburger {
		display: flex !important;
	}



	/*#header .group-btn {
		margin-left: 15px;
	}

	#header .mainmenu a {
		padding: 0 8px;
		font-size: 2.2rem;
	}
	#header .mainmenu a span::before {
		width: 24px;
		background-size: 100%;
		margin-right: 5px;
	}*/



	#container {
		padding-top: 90px;
	}



	.secondary {
		width: 100%;
		height: auto;
		position: relative;
		top: 0;
	}

	.secondary .user {
		display: flex;
	}

	.secondary .user-detail {
		width: 40%;
		padding: 20px;
	}

	.secondary .user-detail .detail h2 {
		font-size: 2.2rem;
	}

	.secondary .user-status {
		width: 60%;
		display: flex;
		border: none;
	}

	.secondary .user-status>div {
		display: flex;
		justify-content: center;
		text-align: center;
		padding-top: 25px;
	}


	.secondary .top10 {
		padding: 50px 80px 40px;
	}

	.secondary .top10 .tabs {
		margin-bottom: 0;
	}

	.secondary .top10 .tabs .tab {
		overflow: hidden;
	}



	.primary {
		width: 100%;
		height: auto;
		min-height: auto;
		float: none;
	}

	.primary [class^="section"] .items .item p {
		font-size: 3rem;
	}


	.-phase1 #header .mainmenu {
		display: flex;
	}

	.-phase1 #header .mainmenu a {
		padding: 0 36px;
	}

	.-phase1 #header .mainmenu a:last-child {
		display: none;
	}

	.-phase1 .primary .box-text {
		position: relative;
		left: 0;
		top: 0;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
		transform: translateY(0);
		margin: 100px 0;
	}


	.-game .secondary,
	.-redemption .secondary {
		display: none;
	}



	.-redemption .primary .options .filter {
		width: 60%;
	}

	.-redemption .primary [class^="section"] .items {
		margin: -40px 0 0 -40px;
	}

	.-redemption .primary [class^="section"] .items .item {
		width: calc(25% - 40px);
		margin-top: 40px;
		margin-left: 40px;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(5n+1) {
		clear: none;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(4n+1) {
		clear: both;
	}

	.-redemption .primary [class^="section"] .items p {
		font-size: 2.4rem;
	}



	.-redemption .redemption-detail .img {
		width: calc(100% - 100px);
		float: none;
		margin: 0 auto;
	}

	.-redemption .redemption-detail .detail {
		width: calc(100% - 100px);
		float: none;
		margin: 40px auto 0;
	}



	.-redemption .redemption-detail .table-cart {
		width: 100%;
	}

	.-redemption .redemption-detail .side-content {
		width: 100%;
		padding: 20px;
		margin-top: 40px;
	}
}

/* End Main Layout Tablet */

/* End Tablet ------------- */










/* Mobile
============= */

/* Main Layout Mobile Landscape */
@media only screen and (max-width:767px) {
	.img_height {
    height: 95px;
}
    .game-flex {
        display:flex;
    }
    .primary [class^="section"] .items {
        display: flex;
    }
    .tab-h2 {
        margin-top: 0;
    }
    .tab-h2 h2{
        font-size:4rem;
    }
    .primary .top10 .section-padding .slider-name .owl-stage-outer .owl-stage .owl-item::after {
     
        top: -130px;
    }
    .last-name {
        width:100%;
        display:inline-block;
    }
    .primary .top10 .tabs .item {
        width: 100%;
        margin: 0;
        margin-top: 28px;
        font-size: 1.8rem;
    }
        .primary .top10 .tabs .item::before {
            width: 35px;
            height: 35px;
            margin-bottom: 15px;
            left: 35%;
            top: 2px;
            font: 2.7rem/35px 'db_helvethaica_x-medium';
        }
        .primary .top10 .tabs .item::after {

            left: 37.5%;
            top: -15px;
        }
    .detail-top p {
        font-size: 0.6em;
        padding-top: 0;
    }
    .detail-top h3 {
        font-size: 0.6em;
        color: #000000;
    }
    .itemn .item-content {
        position: relative;
        display: block;
        flex-flow: wrap;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    .item-content .item-left {
        border-bottom-left-radius: 0px;
        background-image: linear-gradient(to left bottom, #5577ff, #0097ff, #00b0ff, #00c4f6, #40d5e6);
        width: 100%;
        padding: 5px;
        font: normal 1.2rem/0.8em 'db_helvethaica_x-medium';
        color: #fff;
        text-align: center;
    }
    .item-content .item-right {
        border-bottom-right-radius: 5px;
        width: 100%;
        padding: 8px;
        background: #fff;
        font: normal 1rem/0.8em 'db_helvethaica_x-medium';
    }
    .group-profile {
        display: flex;
        width: 100%;
        border-bottom: 1px solid #EEE;
    }

    .profile_left h2 {
        font-size: 0.9em;
        color: #00abe9;
    }

    .profile_left .text-pf {
        font-size: 0.7em;
        color: #b1b1b1;
    }

    .profile_left {
        width: 40%;
        padding: 5px 15px;
        background: #e8eef3;
        border-top: 1px solid #EEE;
    }

    .profile_center {
        width: 30%;
        padding: 10px 25px;
        border-top: 1px solid #EEE;
        border-left: 1px solid #fff;
        background: #e8eef3;
    }
        .profile_center h2 {
            font-size: 0.5em;
            color: #80828a;
            margin: 3px 0;
        }
        .profile_center p {
            font-size: 1em;
            font-weight: 600;
        }
    .profile_right {
        width: 30%;
        padding: 10px 25px;
        border-top: 1px solid #EEE;
        border-left: 1px solid #fff;
        background: #e8eef3;
    }
        .profile_right h2 {
            font-size: 0.5em;
            color: #80828a;
            margin: 3px 0;
        }
        .profile_right p {
            font-size: 1em;
            font-weight: 600;
        }
    .owl-carousel .owl-item {
        padding: 0px;
    }
    .primary .section-redeem .owl-stage-outer {
        width: 100%;
        /* padding: 0px; */
        padding: 10px 0;
        margin: -10px 0 0 0px;
    }
    .owl-carousel .owl-stage {
       
        height: 0px !important;
     
    }
    .section-redeem {
        margin-bottom:50px;
    }
    .section-padding {
        width: 100%;
        margin: 0 auto;
        padding: 0px 0;
    }
    .title-primary {
        font-size: 4rem;
        color: #191860;
        text-align: center;
    }
    #profile {
        display: block;
        width: 100%;
        position: relative;
        padding: 0;
        /*background: #fff;*/
    }
    .user-drop {
        display:none;
    }
    html .btn-style {
        padding: 20px 60px;
        font-size: 3rem;
    }



	.secondary .user {
		flex-wrap: wrap;
	}

	.secondary .user-detail {
		width: 100%;
	}

	.secondary .user-detail .detail h2 {
		font-size: 2.8rem;
	}

	.secondary .user-status {
		width: 100%;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
	}

	.secondary .user-status>div {
		padding-bottom: 20px;
	}


	.secondary .top10 {
		padding: 40px 30px;
	}



    .primary {
        /*padding: 40px 30px;*/
        padding: 80px 25px;
    }

	.primary [class^="section"] .items .item p {
		font-size: 2.4rem;
	}


	.-phase1 .primary .box-text h2 {
		font-size: 8rem;
	}



	.-redemption #container {
		padding-top: 90px;
	}

	.-redemption .primary .title h2 {
		float: none;
	}

	.-redemption .primary .title .member {
		float: none;
		margin-top: 10px;
	}

	.-redemption .primary .options .filter {
		width: 100%;
		float: none;
	}

	.-redemption .primary .options .sorting {
		float: none;
		margin-top: 20px;
	}

	.-redemption .primary [class^="section"] .items {
		margin: -40px 0 0 -40px;
	}

	.-redemption .primary [class^="section"] .items .item {
		width: calc(33.33% - 40px);
		margin-top: 40px;
		margin-left: 40px;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(4n+1) {
		clear: none;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(3n+1) {
		clear: both;
	}

	.-redemption .primary [class^="section"] .items p {
		font-size: 2.4rem;
	}



	.-redemption .redemption-detail .img {
		width: 100%
	}

	.-redemption .redemption-detail .detail {
		width: 100%;
	}


	.popup-confirm .box-note {
		margin-right: 0;
		margin-left: 0;
	}
}

/* End Main Layout Mobile Landscape */
@media screen and (orientation:landscape) {
    .board-left .position-left {
        margin-top: 0;
        position: relative;
        top: 1.1vw;
        padding: 0em 0.5em;
    }
}




/* Iphone 6 Plus Landscape  */
@media only screen and (max-width:736px) {}

/* End Iphone 6 Plus Landscape  */





/* Iphone 6 Landscape  */
@media only screen and (max-width:667px) {}

/* End Iphone 6 Landscape  */





/* Galaxy Landscape  */
@media only screen and (max-width:640px) {}

/* End Galaxy Landscape  */





/* Iphone 5 Landscape  */
@media only screen and (max-width:568px) {}

/* End Iphone 5 Landscape  */





/* Main Layout Mobile Portrait */
@media only screen and (max-width:479px) {
	#header .mainmenu a {
		padding-left: 25px;
	}

	#header .mainmenu a span::before {
		margin-right: 20px;
	}



	#container {
		padding-top: 90px;
	}



	.remark-redeem {
		font-size: 1.8rem !important;
	}



	.secondary .user-detail .detail {
		font-size: 2rem;
	}

	.secondary .user-detail .detail h2 {
		font-size: 2.4rem;
	}


	.secondary .user-status>div {
		padding: 25px 0;
	}


	.secondary .top10 .tabs .item {
		margin-top: 30px;
	}

	.secondary .top10 .tabs .item .detail {
		float: none;
	}

	.secondary .top10 .tabs .item .point {
		float: none;
		margin-top: 10px;
	}

	.secondary .top10 .tabs .item .point p {
		font-size: 4rem;
	}



	.primary .title h2 {
		font-size: 4rem;
	}

	.primary .title::before {
		display: none;
	}


	.primary [class^="section"] .items .item {
		width: calc(50% - 36px);
	}

	.primary [class^="section"] .items .item:nth-of-type(3n+1) {
		clear: none;
	}

	.primary [class^="section"] .items .item:nth-of-type(2n+1) {
		clear: both;
	}


	.primary .section-redeem .owl-carousel {
		/*padding-top: 40px;*/
        padding-top:0;
	}

	.primary .section-redeem .owl-nav {
		background: none;
		top: 0;
	}


	.primary .section-game .img .option {
		width: 80px;
		left: -40px;
		top: -35px;
		padding-top: 48px;
		font-size: 1.8rem;
	}


	.-phase1 .primary .box-text h2 {
		font-size: 6rem;
	}



	.login-page .box-login .inner {
		padding: 40px 20px;
	}



	.noti p {
		background-position: 50% 0;
		padding-left: 0;
		padding-top: 44px;
	}



	.-redemption .primary .title .member .member-name {
		float: none;
	}

	.-redemption .primary .title .member .cart {
		position: absolute;
		right: 5px;
		top: 8px;
		margin: 0;
	}

	.-redemption .primary .title .member p {
		float: none;
		padding-left: 0;
		margin-left: 53px;
		margin-top: -15px;
	}

	.-redemption .primary .title .member p::before {
		display: none;
	}



	.-redemption .primary .options .filter a {
		height: 30px;
		font-size: 1.8rem;
		line-height: 30px;
	}


	.-redemption .primary [class^="section"] .items {
		margin: -20px 0 0 -40px;
	}

	.-redemption .primary [class^="section"] .items .item {
		width: calc(50% - 40px);
		margin-top: 20px;
		margin-left: 40px;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(3n+1) {
		clear: none;
	}

	.-redemption .primary [class^="section"] .items .item:nth-of-type(2n+1) {
		clear: both;
	}

	.-redemption .primary [class^="section"] .items p {
		font-size: 2.4rem;
	}





	.-redemption .redemption-detail .detail .header h2 {
		font-size: 4rem;
	}

	.-redemption .redemption-detail .detail .header p {
		font-size: 2.2rem;
	}

	.-redemption .redemption-detail .detail .header p strong {
		font-size: 2.8rem;
	}

	.-redemption .redemption-detail .detail .row p {
		width: 55px;
	}

	.-redemption .redemption-detail .detail .row .amount {
		width: 100px;
	}

	.-redemption .redemption-detail .group-btn-redeem .remark-redeem {
		margin-top: 5px;
		line-height: 1em;
	}


	.-redemption .redemption-detail .btn-redeem {
		width: 100%;
	}


	.-redemption .primary .title h2 {
		font-size: 3.2rem;
	}


	.-redemption .primary .breadcrumb a:last-child {
		display: none;
	}



	.-redemption .redemption-detail .slide-img .badge {
		width: 60px;
		height: 33px;
		top: -7px;
	}



	.popup .inner {
		padding: 30px 20px 25px;
	}

	.popup .inner p {
		font-size: 2.6rem;
	}

	.popup .inner a {
		height: 40px;
		margin-top: 20px;
		font-size: 2.6rem;
		line-height: 40px;
	}

	.popup .inner .group-btn {
		margin-top: 20px;
	}



	.section-transfer h3 {
		display: flex;
		align-items: center;
		line-height: 1em;
	}

	.form-transfer .row label {
		width: 100%;
		float: none;
	}

	.form-transfer .row .inputtext-style {
		width: 100%;
		float: none;
	}

	.section-transfer .step-1 .btn-style {
		width: 100%;
		float: none;
	}

	.section-transfer .step-2 .box-amount-point {
		width: 100%;
		margin-left: 0;
	}

	.section-transfer .step-2 .btn-style,
	.section-transfer .step-2 .remark,
	.section-transfer .error .text-error {
		width: 100%;
		margin-left: 0;
	}

	.section-pending .items .item .col {
		width: 100% !important;
		float: none;
	}

	.section-pending .items .item .col+.col {
		margin-top: 20px;
	}

	.section-pending .item .col:last-child .group-btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		float: none;
	}

	.section-pending .item .col:last-child .group-btn a {
		width: 100%;
	}

	.section-pending .item .col:last-child p.remark {
		font-size: 1.6rem;
		text-align: left;
	}

	.section-history-transfer .list-history {
		padding: 0;
	}

	.section-history-transfer .list-history .item+.item {
		margin-top: 25px;
	}

	.section-history-transfer .list-history p {
		width: 100% !important;
	}

	.section-history-transfer .list-history p+p {
		margin-top: 5px !important;
	}


	.popup-confirm .inner h2 {
		font-size: 2.8rem;
	}

	.popup-confirm .inner p {
		font-size: 2.4rem;
	}

	.popup-confirm .inner p strong {
		font-size: 3.6rem;
	}
}

/* End Main Layout Mobile Portrait */





/* Iphone 6 Plus Portrait */
@media only screen and (max-width:414px) {}

/* End Iphone 6 Plus Portrait */





/* Iphone 6 Portrait */
@media only screen and (max-width:375px) {}

/* End Iphone 6 Portrait */





/* Galaxy Portrait */
@media only screen and (max-width:360px) {}

/* End Galaxy Portrait */





/* Iphone 5 Portrait */
@media only screen and (max-width:320px) {}

/* End Iphone 5 Portrait */

/* End Mobile ------------- */

