﻿
body
{
	color:#212529 !important;
	background: #E5E5E5;
	font-size: 18px !important;
	font-family: 'Poppins' !important;
}

.navbar
{
	background: #FFFFFF;
}

.message-success
{
    color:green;
}

.message-fail
{
    color:red;
}

.fa-times:before {
    cursor:pointer !important;
}

.white-popup {
	font-size:15px;
    position: relative;
    background: #FFFFFF;
	box-shadow: 0px 5px 55px -15px rgba(0, 0, 0, 0.18);
	border-radius: 30px;
    padding: 20px;
    width: auto;
    max-width: 600px;
    margin: 20px auto;
}

    .white-popup .row-title {
        padding:5px 0px;
    }
    .white-popup .popup-title {
        font-weight: bold;
        float:left;
    }

    .white-popup .dv-right {
        float: right;
        position: relative;
        margin-left:5px;
    }

    .white-popup .nav-popup {
        width: 100%;
    }

    .white-popup .nav-item .nav-brand {
        background-color: #17a2b8;
    }
        .white-popup .nav-item .nav-brand .nav-icon {
            color: #FFFFFF;
        }
            .white-popup .nav-item .nav-brand .nav-icon:hover {
                color: #FFFFFF;
            }

        .white-popup .nav-item .nav-brand p {
            color: #FFFFFF;
        }

    .white-popup .nav-item p {
        padding-left: 10px;
        margin-bottom: 0 !important;
        color: #000000;
        font-weight:normal;
    }

    .white-popup .buttonClose {
        position: unset !important;
        font-size: unset !important;
        opacity: unset !important;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 35px;
        height: 35px;
        width: 100px;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        background: -webkit-linear-gradient(#007bff, #007bff); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#007bff, #007bff); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#007bff, #007bff); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#007bff, #007bff); /* Standard syntax */
        background-color: #007bff;
    }
        .white-popup .buttonClose:hover {
            box-shadow: 1px 1px 5px #888888;
        }

.button-middle {
    color: #FFFFFF;
    font-weight: bold;
    line-height: 35px;
    height: 35px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: -webkit-linear-gradient(#007bff, #007bff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#007bff, #007bff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#007bff, #007bff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#007bff, #007bff); /* Standard syntax */
    background-color: #007bff;
}

    .button-middle:hover {
        box-shadow: 1px 1px 5px #888888;
    }

.form-check-horizon {
    display: inline-block;
    margin-right: 1.5rem;
}

.sub-row-title{
    background-color:#007bff;
    color:#FFFFFF;
}

    .sub-row-title label {
        display: inline-block;
        margin: 0.5rem 0rem;
    }

.nav-main {
    background-color: #494E53;
}

/*above is bo, below is front*/

.home-page {
    background-color: #17a2b8;
    padding-left: 0;
    max-width: 900px;
    margin: 0% auto;
    overflow-x: hidden;
    height: auto;
}
.home-box {
    max-width: 900px;
}

.home-page .home-box .logo a {
    font-size: 36px;
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
}
.brand-grid
{
    display:block;
    padding: 10px;
}

.brand-box {
    background-color: #FFFFFF;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    color:#000000;
    height: 220px;
    cursor: pointer;
}

    .brand-box:hover {
        /*background-color: #b4b4b4;*/
        /*border: 1px solid #5F7BE6;*/
        /*box-shadow: 1px 1px 30px #888888;*/
    }

    .brand-box .brand-icon-bg {
        margin: 20px auto;
        /*background-color: #ff7d7d;*/
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        width: 100px;
        height: 100px;
    }

    .brand-box .brand-icon {
        width: 100px;
        height: 100px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
    }

    .brand-box .brand-box-Title {
        font-size: 20px;
        font-weight: bold;
        line-height: 30px;
    }

.icon-back {
    position: absolute;
    float: left;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    line-height: 54px;
}

.buttonSell {
    color: #FFFFFF;
    font-weight: bold;
    line-height: 35px;
    height: 35px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: -webkit-linear-gradient(#007bff, #007bff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#007bff, #007bff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#007bff, #007bff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#007bff, #007bff); /* Standard syntax */
    background-color: #007bff;
}

    .buttonSell:hover {
        box-shadow: 1px 1px 5px #888888;
    }


.booking-box {
    background-color: #FFFFFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #000000;
}

    .booking-box .booking-icon-bg {
        margin: 20px auto;
        background-color: #ff7d7d;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        width: 100px;
        height: 100px;
    }

    .booking-box .booking-icon {
        width: 100px;
        height: 100px;
    }

    .booking-box .booking-box-Title {
        font-size: 20px;
        font-weight: bold;
        line-height: 30px;
    }

    .booking-box .booking-box-data
    {
        text-align:left;
        padding:0px 20px;
    }

    .booking-box label {
        font-weight: normal !important;
        margin-bottom: 0px !important;
    }

.confirm-voucher-code {
    font-weight: bold;
    color: #17a2b8;
}

.brand-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    margin-bottom:20px;
	
	box-shadow: 0px 5px 30px 14px rgba(0, 0, 0, 0.1);
	border-radius: 30px;
}

.brand-detail-container {
    position: absolute;
    bottom: 0;
    line-height: 100px;
    vertical-align:middle;
}

.brand-name {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    vertical-align: middle;
}

.brand-logo {
    width: 100px;
    height: 100px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    margin:10px;
}

.brand-name-small {
    color: #FFFFFF;
    font-size: large;
    font-weight: bold;
    vertical-align: middle;
}

.brand-logo-small {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}


.brand-banner-2 {
    width: 100%;
    height: 300px;
    background-size: cover;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 20px;
}

.brand-detail-container-2 {
    position: absolute;
    bottom: 100px;
}

.cust-navbar-brand {
	line-height:45px;
    font-size: 30px;
    font-weight: bold;
    color: #000000;
}


.cust-navbar-brand:hover {
    font-size: 30px;
    font-weight: bold;
    color: #000000;
}

.header-line {
    width: 100%;
    height: 1px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
    
}

.sub-container {
	margin:20px auto;
    max-width: 1140px;
	
	background: #FFFFFF;
	box-shadow: 0px 5px 30px 14px rgba(0, 0, 0, 0.05);
	border-radius: 30px;
}

.sub-container2 {
	margin:20px auto;
    max-width: 1140px;
	
}

.brand-details-container {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 20px;
}

.campaign-container {
    /*padding: 20px;*/
	
	background: #FFFFFF;
	box-shadow: 0px 5px 30px 14px rgba(0, 0, 0, 0.05);
	border-radius: 30px;
	
}

.contact-info-container
{
	background: #FFFFFF;
	box-shadow: 0px 5px 30px 14px rgba(0, 0, 0, 0.05);
	border-radius: 30px;
	padding:20px;
}

.campaign-bg
{
	border-radius: 30px 0px 0px 30px;
	background-repeat: no-repeat;
  background-size: cover;
  min-height:350px;

}
.campaign-image {
    width:100%;
	
	border-radius: 30px 30px 0px 0px;
	background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 50.86%), #C4C4C4;
}

.campaign-image-detail {
    width:100%;
    max-width: 360px;
    height: 140px;
	
	border-radius: 16px;
	background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 50.86%), #C4C4C4;
}

.dv-campaign-price {
    /*float: right;*/
	color:#D71921;
	font-size:32px;
	text-align:right;
}

.campaign-price {
    /*font-weight:bold;
    font-size: 20px;*/
}

.dv-sold-bar
{
	display: inline-block;
	width:100%;
}
.dv-sold-bar-total
{
	height:20px;
	width:100%;
	background: #C4C4C4;
	border-radius: 10px;
	position:relative;
	text-align:center;
	color:#FFFFFF;
	font-size:13px;
	line-height:20px;
}
.dv-sold-bar-progress
{
	height:20px;
	background: linear-gradient(90deg, #D71921 5.62%, #FF313A 100%);
	border-radius: 10px;
	position:absolute;
	top:0;
}

.dv-sold-bar-info
{
	position: absolute;
    text-align: center;
    width: 100%;
}

.dv-time-countdown
{
	clear:left;
}

.dv-time-countdown .time-countdown-box-label
{
	clear:left;
	line-height:15px;
}
.dv-time-countdown .time-countdown-box-label p
{
	display: inline-table;
	margin:0px 2px;
	text-align:center;
	color:#000000;
	font-size:11px;
	line-height:15px;
	width:25px;
	height:15px;
}

.time-countdown-info
{
	text-align:right;
}
.time-countdown-box
{    
	display: inline-table;
	margin:5px 2px 0px 2px;
	text-align:center;
	color:#FFFFFF;
	font-size:14px;
	line-height:21px;
	background: #000000;
	border-radius: 3px;
	width:25px;
	height:18px;
}

.dv-counter-container {
    float: right;
	display: inline-block;
	margin-bottom:10px;
}

.button-counter {
    float:left;
    color: #868686;
    font-weight: bold;
    line-height: 35px;
    height: 32px;
    width: 32px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
	
	
	background-color: #FFFFFF;
	border: 1px solid #F3F3F3;
	box-sizing: border-box;
}

    

.button-counter-active {
    background-color: #FFFFFF;
}
    .button-counter-active:hover {
        border: 1px solid #F0F0F0;
    }


.data-counter {
    line-height: 35px;
    height: 32px;
    width: 65px;
    text-align: center;
    vertical-align: middle;
    float: left;
	
	background-color: #FFFFFF;
	border: 1px solid #F3F3F3;
	box-sizing: border-box;
}

.dv-period-container
{
    position:absolute;
    bottom:0;
}

.button-more-detail {
	color: #868686;
	text-decoration:underline;
    /*color: #5F7BE6;
    font-weight: bold;
    line-height: 35px;
    height: 35px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border:1px solid #5F7BE6;*/
}

    .button-more-detail:hover {
        /*box-shadow: 1px 1px 3px #888888;*/
    }

.button-small-buy {
    color: #FFFFFF;
    line-height: 35px;
    height: 35px;
    width: 150px;
    text-align: center;
    vertical-align: middle;
	
	display: inline-block;
    float: right;
    
    background: linear-gradient(90deg, #D71921 5.62%, #FF313A 100%);
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	border-radius: 30px;
}

	.button-small-buy:hover {
		box-shadow: 0px 0px 0px #888888;
		cursor:pointer;
	}

.button-buy {
    color: #FFFFFF;
    line-height: 48px;
    height: 48px;
    width: 200px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(90deg, #D71921 5.62%, #FF313A 100%);
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 30px;
}

.button-buy-active {
    color: #FFFFFF;
    line-height: 48px;
    height: 48px;
    width: 300px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: linear-gradient(90deg, #D71921 5.62%, #FF313A 100%);
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 30px;
}

.button-buy-active:hover {
    box-shadow: 1px 1px 3px #888888;
}

.white-popup .row-title2
{
    line-height:40px;
}

.white-popup .buttonClose2 {
    color: #5F7BE6;
    font-weight: bold;
    line-height: 35px;
    height: 35px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #5F7BE6;
    /*overwrite ui*/
    position: unset !important;
    right: unset !important;
    top: unset !important;
    padding: unset !important;
    opacity: unset !important;
    font-style: unset !important;
    font-family: unset !important;
    font-size: unset !important;
}

    .white-popup .buttonClose2:hover {
        box-shadow: 1px 1px 3px #888888;
    }
	
	.white-popup .buttonClose3 {
		font-size:20px  !important;
    color: #000000;
    font-weight: bold;
    line-height: 35px;
    cursor: pointer;
    /*overwrite ui*/
    position: unset !important;
    right: unset !important;
    top: unset !important;
    padding: unset !important;
    opacity: unset !important;
}


.table-sum {
    width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
	border-bottom:2px solid #000000;
}

	.table-sum .line{
		border-bottom:1px solid #F3F3F3;
	}
    .table-sum td {
        /*border: 1px solid #000000;*/
        padding: 5px 10px;
        background-color:#FFFFFF;
    }

    .table-sum .header {
        text-align: center;
        font-weight: bold;
        background-color: #D71921;
        color:#FFFFFF;
    }
    .table-sum .total {
        font-weight: bold;
		
    }
	
	.table-sum .header-left {
        border-radius: 10px 0px 0px 10px;
    }
	.table-sum .header-right {
        border-radius: 0px 10px 10px 0px;
    }

.qr-payment-container
{
    max-width:500px;
    width:100%;
}
.thai-qr-container {
    background-color: #0E3D67;
    max-width: 300px;
    width: 100%;
    min-width: 100px;
    vertical-align:middle;
    padding:10px;
}

.thai-qr-container-image
{
    height: 50px;
    width: auto;
}

.qr-kapi-image-container {
    max-width: 300px;
    width: 100%;
    min-width: 100px;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.qr-kapi-image {
    max-width: 300px;
    width: 100%;
    min-width: 100px;
    border: 1px solid #ABABAB;
}

.qr-redeem-image {
    max-width: 300px;
    width: 100%;
    min-width: 100px;
    border: 0px solid #ABABAB;
}

.thai-qr-middle-icon {
    width: 40px;
    height: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 20px);
}

.message-thankyou {
    font-size: x-large;
    font-weight: bold;
}

@media (max-width: 720px) {
    .dv-period-container {
        position: relative;
        bottom: unset;
    }

    .campaign-image
    {
        max-width:unset;
        height:unset;
    }
}

.col-xs-12 {
    width: 100% !important;
}

.col-xs-10 {
    width: 83.33% !important;
}

.col-xs-8 {
    width: 66.66% !important;
}

.col-xs-7 {
    width: 58.34% !important;
}

.col-xs-6 {
    width: 50% !important;
}

.col-xs-5 {
    width: 41.66% !important;
}

.col-xs-4 {
    width: 33.34% !important;
}

.col-xs-2 {
    width: 16.67% !important;
}

.col-sm-12 {
    width: 100% !important;
}

.col-sm-10 {
    width: 83.33% !important;
}

.col-sm-8 {
    width: 66.66% !important;
}

.col-sm-7 {
    width: 58.34% !important;
}

.col-sm-6 {
    width: 50% !important;
}

.col-sm-5 {
    width: 41.66% !important;
}

.col-sm-4 {
    width: 33.34% !important;
}

.col-sm-2 {
    width: 16.67% !important;
}

.text-grey
{
	color: #868686;
}

.text-campaign-name
{
	color: #000000;
	font-weight:bold;
}


.qr-box
{
	padding:0px;
	margin:auto;
	max-width: 360px;
	background: #FFFFFF;
	border: 1px solid #C4C4C4;
	box-sizing: border-box;
	border-radius: 30px;
}

.line-space
{
	line-height:10px;
}

.line-space2
{
	line-height:20px;
}

.line-space3
{
	line-height:30px;
}

.campaign-price-group
{
	min-height:350px;
}
.top-right-group
{
	position:absolute; 
	top:0;
	right:0;
}

.bottom-right-group
{
	position:absolute; 
	bottom:0;
	right:0;
}

.bottom-right-group2
{
	position:absolute; 
	bottom:0;
	right:0;
}

.voucher-value
{
	color:#FFFFFF;
	margin-right:10px;
	margin-bottom:10px;
}

.voucher-value-amount
{
	font-size:96px;
	font-weight:700;
	line-height:80px;
}
.voucher-value-sut-detail
{
	font-size:28px;
	font-weight:700;
	line-height:35px;
}

.label-policy
{
	font-weight:normal !important;
	margin-bottom:0px  !important;
}

.checkbox-policy
{
	width:20px !important;
	height:20px !important;
}
.link-policy
{
	color:#D71921 !important;
	text-decoration:underline !important;
	font-weight:bold;
}

.display-small-hide{
	display:block;
}

.text-head
{
	font-size:24px;
}

/*overwrite chillpay style*/
#mmp-payment-method-wrap
{
	border: 0px !important;
}
.chillpay-main{
    height:unset !important;
}
.chillpay-code-template .main-header {
    margin-left: 0px !important;
}

.chillpay-code-template .main-footer {
    margin-left: 0px !important;
}

.footer-box--border {
    background:unset !important;
}
.btn-chillpay.active {
    background: #D71921 !important;
    border: 1px solid #D71921 !important;
}

.content-box-group.active .txt-channel-name {
    color: #D71921 !important;
}

.tabs-box.active {
    border-left-color: #D71921 !important;
}

    .tabs-box.active .tabs-box--txt, .tabs-box.active .tabs-box--txt h2 {
        color: #D71921 !important;
        font-weight: bold;
    }

    .tabs-box.active .arrow {
        border-color: #D71921 !important;
        border-width: 0 2px 2px 0;
    }

/*overwrite chillpay style*/

.contact-info-wrapper {
    background: #F3F3F3;
    border-radius: 10px;
    line-height: 48px !important;
    vertical-align: middle;
}

.contact-info-wrapper-detail
{
	margin:auto;
	line-height:48px !important;
}

@media (max-width: 767px) {
	.display-small-hide{
		display:none;
	}
	.button-small-buy
	{
		width:100px;
	}
	.data-counter
	{
		width:32px;
	}
	
	.top-right-group
	{
		position:relative; 
	}
	.bottom-right-group
	{
		position:relative; 
	}
	
	.dv-time-countdown
	{
		text-align:right;
	}
	
	.dv-counter-container
	{
		float:unset;
	}

	.campaign-bg
	{
		min-height:200;

	}
	.campaign-price-group
	{
		min-height:unset;
		position: absolute;
		bottom: 0;
		padding: 0px 20px;
	}
	
	.voucher-value-amount
	{
		font-size:37px;
		font-weight:700;
		line-height:55px;
	}
	.voucher-value-sut-detail
	{
		font-size:14px;
		font-weight:700;
		line-height:21px;
	}
}