﻿html, body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    margin: 0;
    height: 100%;
    padding:0;
}

.main_wrap{
    max-width:768px; 
    margin-top:0px; 
    margin-right: auto; 
    margin-left: auto;
    background: #ffffff;
    width:100%;
}

.divLang {
	height: 3em;
	background-color: #f16a21;
	background-image: linear-gradient(147deg, #f16a21 21%, #e4562f 95%);
	max-width: 100%;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	text-align: center;
}

.divLang > div {
    padding-top: 0.8em;
    margin-right: auto;
    margin-left: auto;
    display: inline-block;
}

.divLang > div > label{
    color:white;
    font-size:0.9em;
    vertical-align:middle;
}

.divLang > div > select {
    font-size: 1em;
    vertical-align: middle;
}

hr {
    width:90%;
    border:1px solid #e5e5e5;
}
    
h1 {
   font-family: 'Roboto Condensed', sans-serif;
   font-weight: 700;
   font-size: 300%
}

h2 {
   font-family: 'Roboto Condensed', sans-serif;
   font-weight: 700;
   font-size: 200%
}

h3 {
   font-family: 'Roboto', sans-serif;
   font-weight: 500;
   font-size: 105%
}

.nt1 {
   font-family: 'Roboto Condensed', sans-serif;
   font-weight: 700;
   font-size: 300%
}

.nt2 {
   font-family: 'Roboto Condensed', sans-serif;
   font-weight: 700;
   font-size: 200%
}

.nt3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 90%;
}

.nt4 {
   font-family: 'Roboto', sans-serif;
   font-weight: 300;
   font-size: 95%
}

.bt {
   font-family: 'Roboto', sans-serif;
   font-weight: 500;
   font-size: 130%
}

.ft1 {
   font-family: 'Roboto', sans-serif;
   font-weight: 300;
   font-size: 100%
}

.ft2 {
   font-family: 'Roboto', sans-serif;
   font-weight: 500;
   font-size: 160%
}

.font-bold {
    font-weight:bold;
}

.font-black{
    color:#333;
}
.header {
    width: 100%;
    text-align: center;
}

.header_img{
    height:64px;
    margin-left:auto;
    margin-right:auto
}

.footer_img {
    /*height:64px;*/
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.photo{
    width:100%;
    text-align:center;
}

.photo_img{
    width:100%;
    margin-left:auto;
    margin-right:auto
}

.button_link {
    text-decoration: none;
    color: black;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    display: block;
    border-radius: 3px;
    text-align: center;
}

.aboutus_txt {
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    display: table;
    width: 100%;
}

.social_table {
    /*min-width: 20%;
    text-align: center;
    display: inline-table;*/
}

.social_icon {
    height:40px;
}

/* cell inherit height from carousel */
.carousel img {
    height: 100%;
}

.flickity-page-dots { 
    bottom: 10px; 
}

label {
    font-size:100%;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.result {
    width: 100%;
    text-align: center;
}

.greybox{
    background-color:#E5E5E5;
    border-radius: 3px;
    display:inline-block;
    min-width:50%;
    padding:12px;
}

.result_btn{
    display:inline-block;
    min-width:50%;
}

.luckydraw{
    width:100%;
    text-align:center;
}

.luckydraw_img{
    width:100%;
}

.cntdown_table{
    text-align:center;
    display:inline-table;
}

.cntdown_box{
    background-color:#000;
    color:#FFF;
    padding:16px;
    display:inline-block;
	font-size:12px;
}

.odoo_txt{
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    margin-right: auto; 
    margin-left: auto;
    text-align:center;
    font-family: 'Roboto';
    font-weight: 500;
}

.odoo_header{
    margin-bottom:0px;
}

.main_wrap2{
    width:100%;
    min-height:780px;
    background:url("../Admin/img/LiveDraw_background.jpg") no-repeat center top;
    background-size:contain;
}

.lucky_winnerbanner{
    height:80px;
}

.lucky_winnerbanner_mid{
    background:url("../Admin/img/prizebanner_middle.png") repeat-x;
}

.lucky_winnerbanner_title{
    margin-left:8px;
    margin-right:8px;
    color:#E7C158;
}

.lucky_winnerbanner_btn{
    border-radius: 5px;
    padding: 8px 70px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background-color:#00A79D;
    border: none;
    color: white;
    cursor:pointer;
    font-size:140%;
}

.lucky_winnerbanner_txt{
    font-size:200%;
    color:white;
    fill: #fff;
}

.lucky_winnerbanner_btn:hover{
    background-color:#1FAF9F;
}

.lucky_backgroundimg{
    width:100%;
}

.luckydraw_hide{
    display:none;
}

.lucky_banner{
    border:0px solid black;
    max-width:700px;
    width:100%;
    box-shadow: 0 8px 64px 0 rgba(0,0,0,0.2);
}

.lucky_mobileback{
    width:100%;
    background:url("../Admin/img/LiveDraw_background.jpg") no-repeat center top;
    background-size:length;
    padding-top:200px;
}


.fb_page_wrap{
    width: 100%;
    text-align: center;
}

.result_table span{
    display:block;
}

.result_table td {
    text-align: center;
    padding: 0.1em;
    border: 0;
    overflow: hidden;
}

.result_table {
    word-break: break-word;
    padding-left: 2.2em;
    padding-right: 2.2em;
    padding-top: 1em;
    padding-bottom: 0.9em;
}
.result_table div {
    margin-left: auto;
    margin-right: auto;
}
.result_text{
    font-size:0.9em;
    vertical-align:text-top;
}
.result_title {
    font-size: 1.4em;
    padding-right: 2.2em;
    padding-left: 2.2em;
}
.response_area {
    padding: 2.5em 2em;
    background-image: url('/img/bg_tcc01.png');
}
.response_area > div{
    background:white;
    padding:1.5em 1em;
}
.response_area > div > span > p {
    padding: 0;
    margin: 0;
}
.result_img {
    background-size: 85% 85%;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-color: white;
    background-position: center;
    max-width: 130px;
    margin: 0 auto;
    height: 130px;
    width: 130px;
}
.result_block {
    position: relative;
}
.result_block_card {
    width: 100%;
    top: 50%;
    left: 50%;
}
.result_bg{
    width:100%;
}

.result_table_title td label {
    font-size: 0.6em;
    color: white;
}

.result_table_title td {
    line-height: 19px;
}

.result_table_title td:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.result_table_title td:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

/*mobile css*/
@media (max-width: 768px ) {
    body {
        font-size: 12pt;
    }

    .aboutus_txt {
        display:inline;
    }

    .greybox {
        margin-left:8px;
        margin-right:8px;
    }

    .result_btn{
        margin-left:8px;
        margin-right:8px;
    }

    .serverwrapper{
        padding-left:20px;
        padding-right:20px;
    } 
    
    .luckydraw_box {
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

	.survey_component {
		padding-top: 20px;
		padding-bottom: 16px;
		padding-left: 16px;
		padding-right: 16px;
		text-align: center;
	}

    .cntdown_table {
        width:100%
    }
}

/*desktop css*/
@media (min-width: 768px ) {
    body{
        font-size: 13pt;
    }

    .main_wrap{
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .greybox {
        margin-left:100px;
        margin-right:100px;
    }

    .result_btn{
        margin-left:100px;
        margin-right:100px;
    }

    .result_block {
        position: relative;
        margin: 16px;
    }

    .serverwrapper {
        padding-left: 20%;
        padding-right: 20%;
    } 

    .luckydraw_box{
        padding-top:16px;
        padding-bottom:16px;
        padding-left:64px;
        padding-right:64px;
    }

	.survey_component {
		padding-top: 20px;
		padding-bottom: 16px;
		padding-left: 64px;
		padding-right: 64px;
		text-align: center;
	}

    .result_table {
        padding-left: 4.5em;
        padding-right: 4.5em;
    }

    .cntdown_table {
        width:70%
    }
}