/*
-------- Common --------
*/
html, body {
  width: 100%;
  height: 100%;
}
.wrap .content a{
  text-decoration: none;
}
.wrap {
  margin: 0 auto;
  min-width: 1000px;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
body {
  font-family: 'Open Sans';
  overflow-x: hidden;
}
.active {
  color:#230c0f !important
}
.nav-link:hover {
  color: #230c0f !important;
}
.body_bottom {
  margin-top: 100px;
}
.body_bottom .row.box1 {
  margin-bottom: 80px;
}
.body_bottom .row.box1 .col-ms-12 span{
  font-size: 13px;
  font-weight: 600;
}
.body_bottom .row.box2 {
  padding-bottom: 150px;
}
.body_bottom .row.box2 .col-ms-12 table tr td {
  border: 2px solid #DCDDDE;
  padding: 20px 40px;
}
.body_bottom .row.box2 .col-ms-12 table tr:first-child td {
  border-top: 0;
}
.body_bottom .row.box2 .col-ms-12 table tr:first-child td {
  border-bottom: 0;
}
.body_bottom .row.box2 .col-ms-12 table tr td:first-child  {
  border-left: 0;
}
.body_bottom .row.box2 .col-ms-12 table tr td:last-child  {
  border-right: 0;
}

.banner_bottom.row {
  text-align: center;
  padding-bottom: 80px;
}
.banner_bottom.row span {
  font-size: 12px;
  font-weight: lighter;
  color: #808285;
}
#banner_bottom {
  width: 80%;
  margin-top: 25px;
}

/*
-------- Header --------
*/

header .header_bottom img {
  width: 100%;
}
header .header_background {
  width: 100%;
  margin: 0;
  background-color: #fff;
  padding: 20px 0px;
}
header .header_top {
  width: 1160px;
  margin: 0 auto;
  /* padding: 0px 200px; */
}
header .header_top .separator {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
}
header .header_top .left_column {
  display: table;
  height: 100%;
  width: 20%;
  float: left;
}
header .header_top .left_column img {
  display: table-cell;
  margin-top: 10px;
}
header .header_top .right_column {
  width: 80%;
  display: table;
  float: right;
  padding-top: 25px;
  display: inline-flex;
  padding-left: 340px;
}
header .input-box {
  display: inline-flex;
}
header .header_top .right_column .input-box input {
  padding: 7px 12px;
  background: transparent;
  border: 1px solid grey;
  width: 150px;
  font-size: 10px;
  margin-right: 6px;
}
header .header_top .right_column img {
  width: 145px;
}
header .header_top .right_column .login-btn img {
  margin-top: -9px;
  margin-left: -9px;

}
header .header_top .right_column .signup-btn img {
  margin-top: -13px;
  margin-left: -17px;
}
header .header_top .right_column .login {
      padding-left: 35px;
    margin-top: 4px;
    font-weight: bold;

}
header .header_top .right_column .login span {
  color: #EF3A24;
}
header .header_top .right_column .login #bar {
  padding: 0px 15px;
}
.nav {
  vertical-align: bottom;
  padding: 10px 0px;
  background-color: #BF2F33;
  clear: both;
}
.nav .nav-block {
  width: 1260px;
  text-align: right;
  margin: auto;
}
.nav .navContent {
  width:800px;
  margin:0 auto;
  padding-top: 10px;
  text-align: right;
}
.nav .navContent div {
  display: inline-block;
  padding-left: 30px;
}
.nav .nav-link, .nav .separator{
  color: #EF3A24;
  font-size: 14px;
}
.nav .nav-link {
    text-transform: uppercase;
    color: #ffffff;
    padding-right: 72px;
    padding-left: 8px;
    vertical-align: middle;
    font-size: 15px;
}
header nav .nav-link:last-child {
  border-right: none;
}
header .header_top img {
  width: 100%;
  max-width: 380px;
}

/*
-------- Main Content --------
*/

.main_content {
  width: 950px;
  margin: 0 auto;
}
.main_content .empty_space {
  height: 40px;
}
.main_content .line {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}
.main_content .line .draw_info {
  margin-bottom: 35px;
  margin-top: 35px;
  text-align: center;
}
.main_content .line_left {
}
.main_content .line.logo {
  margin-top: 30px;
  position: absolute;
  top: 5px;
  left: 50%;
}
.main_content .line.logo img{
  max-width: 150px;
  width: 100%;
  position: relative;
  left: -50%;
}
.main_content .line.more_result {
  position: absolute;
  bottom: 0;
  left: 50%;
}
.main_content .line.more_result .more_result_button {
  position: relative;
  left: -50%;
  font-weight: bold;
  background-color: #C61E25;
}
.main_content .line .heading_result{
  font-family: 'Myriad Pro Regular';
  font-size: 26px;
}

.main_content .line .balls .ball {
  display: inline-block;
  width: 40px;
  height: 40px;
  vertical-align: top;
  background-size: contain;
  background-repeat: no-repeat;
  line-height: 38px;
  margin: 5px 1px;
  font-size: 21px;
}
.more_result_button {
  background-color: #00966E;
  color: white !important;
  padding: 8px 60px;
  display: inline-block;
  margin-bottom: 10px;
}
a.more_result_button:hover {
  background-color:#00966E;
  color:white;
}
.main_content section.type_1, .main_content section.type_2 {
  width: 100%!important;
  padding: 13px;
}
.main_content section.type_1 .column, .main_content section.type_2 .column{
  border: 1px solid #6D6E71;
  height: 450px;
  -webkit-box-shadow: 3px 5px 7px 2px rgba(189,187,189,1);
  -moz-box-shadow: 3px 5px 7px 2px rgba(189,187,189,1);
  box-shadow: 3px 5px 7px 2px rgba(189,187,189,1);
  padding-left: 60px;
  padding-right: 60px;
  display: table-cell;
  vertical-align: middle;
  position: relative;
  width: 500px;
}
.main_content section.type_1 {
  float: left;
  background-color: #E1F4FD;
}
.main_content section.type_2 {
  float: right;
}
.main_content section.type_1 .result_row {
}
.main_content section.type_1 .results {
  margin-bottom: 25px;
}
.main_content section.type_2 {
  margin: 0 auto;
  width: 670px;
}
.main_content section.type_2 .line .result_row {
  margin-bottom: 8px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.main_content section.type_2 .line .result_row:nth-child(1) {
  margin-bottom: 20px;
}
.main_content section.type_2 .logo{
  margin-bottom: 25px;
}
.main_content .line.main_heading {
  font-weight: 300;
  font-size: 30px;
  color: #6D6E71;
  margin-top: 0px;
  font-weight:bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: white;
}
.main_content section.type_2 .line .balls .ball {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-family: 'Open Sans';
  font-weight: bold;
  text-align: center;
  font-size: 18px;
  color: #ffffff;
}
.main_content section.type_2 .line .balls {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}
.main_content section.type_2 .line .heading {
  font-weight: bold;
  font-size: 20px;
  color: #6D6E71;
  /*margin-bottom: 10px;*/
  display: inline-block;
  vertical-align: middle;
}
.main_content .line .extra_results table {
  width: 100%;
  table-layout: fixed;
}
.main_content .line .extra_results table td {
  text-align: center;
}
.main_content .line .extra_results .green_ball {
  width: 33px;
  height: 33px;
  border-radius: 100%;
  display: inline-block;
  line-height: 33px;
  font-family: 'Open Sans';
  font-weight: bold;
  text-align: center;
  background-size: cover;
  font-size: 18px;
  margin: 5px 1px;
  color: #4A62AB;
}

#Cebu6D .green_ball {
  width: 24px !important;
  height: 24px !important;
  margin: 5px 0px;
  font-size: 14px;
  line-height: 24px;
}

#Cebu6D .column-3, .column-8 {
	padding-right: 1px;
  padding-left: 1px;
}
#Cebu6D .result_row {
	padding-right:18px;
}

.main_content .line .reminder {
  color: #008D25;
  font-size: 13px;
}

/*
-------- About Us --------
*/
.page_aboutus {
  width: 100%;
  padding-top: 50px;
  text-align: center;
}
#abt_header_logo {
  width: 17%;
}
.row_content_1 {
  padding: 30px 0px;
}
.row_content_2 {
  background-color: #E1F4FD;
  padding-top: 30px;
  padding-bottom: 50px;
}
.sub_title {
  color: #B2292F;
  font-size: 22px;
}
.sub_div {
  line-height: 18px;
}
.abt_par {
  color: #000000;
  font-size: 13px;
}
.section_sub_title.temp {
  margin-top: 0px;
}
.section_sub_title {
  margin-bottom: 0px;
  margin-top: 10px;
}
.section_row_1 {
  width: 950px;
}
.section_bottom {
  width: 720px;
  padding-top: 60px;
  text-align: center;
}

/*
-------- Promotion --------
*/
.page_promotion {
  width: 720px;
  padding-top: 50px;
  padding-bottom: 120px;
}
.prom_header {
  line-height: 16px;
  padding-left: 40px;
}
#promotion_title {
  color: #5D5D5D;
  font-size: 18px;
}
.promotions_par {
  color: #5D5D5D;
  font-size: 13px;
}
#promotion_banner {
  width: 84%;
  margin-top: 20px;
  margin-left: 40px;
}

/*
-------- Contact --------
*/

.page-contact {
  width: 720px;
  padding-top: 50px;
}
.page-contact .heading {
  color: black;
  margin-bottom: 50px;
  line-height: 16px;
}
#heading_title {
  color: #5D5D5D;
  font-size: 20px;
}
.heading_par {
  color: #5D5D5D;
  font-size: 13px;
}
.contact_form {
  padding-bottom: 70px;
}
.page-contact .inputs .col-md-12 {
  padding-right: 20px;
}
.page-contact .inputs .input.name input {
  width: 49%;
  float: left;
  padding-left: 20px;
}
.page-contact .inputs .input.name .input_1 {
  margin-right: 14px;
}
.page-contact .inputs input, .page-contact .inputs textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 7px 20px;
}
.page-contact .inputs textarea {
  min-height: 175px;
  margin-top: 5px;
}
#textarea_lbl {
  color: #5D5D5D;
  font-size: 12px;
  font-weight: normal;
  margin-left: 10px;
}
#btn_sent {
  width: 18%;
  float: right;
  margin-right: 10px;
  margin-top: 5px;
}

/*
-------- Login --------
*/

.page_login {
  width: 720px;
  padding-top: 80px;
}
.login_logo {
  width: 230px;
  height: 80px;
}
.login_form {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 25px;
  background-color: white;
  /*box-shadow: 15px 15px 18px #D8D8D8;*/
  border-radius: 65px;
}
#drop_shadow {
  width: 90%;
}
#logo_2 {
  width: 50%;
  margin-left: 75px;
  margin-bottom: 20px;
}
#login_img_1 {
  width: 80%;
  margin-left: 50px;
}
.login_banner.row {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 75px;
}
#login_banner {
  width: 92%;
} 
.col-right.col-md-6 {
  padding-top: 30px;
  padding-right: 40px;
}
#form_title {
  font-size: 30px;
  font-weight: lighter;
  color: #605D5E;
  padding-bottom: 70px;
}
.row_1 {
  margin-bottom: 10px;
}
.row_1 input {
  border: none;
  margin-left: 20px;
  width: 80%;
}
#user_icon {
  width: 7%;
}
#lock_icon {
  width: 7%;
}
::-webkit-input-placeholder {
  color: #605D5E;
  font-size: 14px;
}
#hr__line {
  background-color: #605D5E;
  height: 1.5px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.row_2 {
  text-align: center;
  margin-top: -24px;
  padding-bottom: 30px;
}
#checkbox_text {
  font-size: 12px;
}
#btn_login_red {
  width: 40%;
  margin-top: 10px;
  margin-bottom: 10px;
}
#sign_up_text {
  font-size: 12px;
}
#register_text {
  font-size: 12px;
  text-decoration: underline;
  color: #FCBD10;
}
#hr_line {
  background-color: #605D5E;
  height: 1.5px;
  margin-bottom: 12px;
}
#icon_fb {
  width: 8%;
}
#social_text {
  font-size: 8px;
  color: #605D5E;
  padding-left: 8px;
}

/*
-------- Error Page --------
*/
.page_error .content {
  padding-top: 90px;
  padding-bottom: 150px;
  padding-right: 50px;
  padding-left: 50px;
}
.error_block {
  width: 100%;
  border-radius: 15px;
  box-shadow: 15px 15px 18px #D8D8D8;
}
.error_block img {
  width: 25%;
}
.error_block_header {
  width: 100%;
  background-color: #B2292F;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 30px 0px;
  text-align: center;
}
.error_block_content {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 50px;
}
.error_block_content label {
  color: #636E87;
  font-weight: bold;
  font-size: 32px;
}
.error_block_content span {
  color: #3C4562;
  font-size: 16px;
}
.error_block_content img {
  margin-top: 30px;
  width: 35%
}

/*
-------- Result 4D --------
*/
.page_4d {
  text-align: center;
  padding-top: 30px;
  width: 100%;
}
.section_top {
  width: 100%;
  margin-bottom: 160px;
}
#result_logo {
  width: 20%;
  float: left;
  margin-left: 230px;
}
#result_logo_home {
  width: 20%;
}
.section_blue {
  margin-top: 25px;
  background-color: #E1F4FD;
  padding-top: 20px;
  padding-bottom: 40px;
}
.section_blue .col-md-12 {
  margin-bottom: 25px;
}
.section_inner_row {
  display: inline-flex;
}
.section_content {
  width: 950px;
}
#section_title {
  color: #B2292F;
  font-size: 22px;
  font-weight: normal;
}
#home_banner {
  width: 250px;
}
#form_date {
  float: right;
  margin-right: 276px;
  margin-top: 60px;
}
#submit {
  color: white;
  background-color: #B2292F;
  border: none;
  font-family: 'Open Sans';
  font-weight: bold;
  padding: 3px 8px;
}
.page_4d .row .col-md-12 .balls .ball {
  color: #4A62AB;
  font-weight: bold;
}
#result_title {
  color: #5D5D5D;
  font-size: 22px;
}
.title_datetime {
  font-size: 16px;
  margin-bottom: 40px;
  color: #5D5D5D;
}
.page_4d .heading {
  color: #5D5D5D;
  font-size: 14px;
  padding-bottom: 10px;
  text-align: center !important;
  font-weight: bold;
}
.page_4d .heading_other {
  color: #5D5D5D;
  font-size: 14px;
  padding-bottom: 10px;
  text-align: left !important;
  font-weight: bold;
  padding-left: 20px;
}
.c_width {
  padding: 0px 100px;
}
.section_content_2 {
  width: 100%;
}
.special {
  width: 50%;
  float: left;
  padding-left: 90px;
}
.consolation {
  width: 50%;
  float: right;
}
#btn_more_result {
  width: 15%;
  margin-top: 15px;
  margin-bottom: 20px; 
}
.page_4d .draw_info {
  font-family: 'Open Sans';
  color: #6D6E71;
  text-align: center;
  margin-top: 15px;
  font-size: 17px;
  letter-spacing: 2px;
}
.column-3, .column-8 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 15px;
  float: left;
}
.column-4 {
  width: 33.33%;
  margin-bottom: 20px;
  position: relative;
  min-height: 1px;
  float: left;
}
.column-8 {
  width: 66.66%;
}
.page_4d section.type_2 .right_column {
  float: right;
}
.winnerlist img {
  width:100%;
  padding: 0 0 20px 0;
}

/****************************************************** result toto **********/

.page-toto {
  margin-top: 55px;
}
.page-toto .line .balls .ball {
  margin: 5px 3px;
}
.page-toto section.type_1 {
  width: 100%!important;
}
.page-toto .line .draw_info {
  text-align: center;
}
.page-toto .line .balls .ball {
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 22px;
}
.page-toto .heading {
  font-family: "Myriad Pro Regular";
  font-size: 24px;
}
.page-toto .search_panel {
  width: 885px;
  margin: 0 auto;
  height: 80px;
}
.page-toto .search_panel .left_column {
  display: table;
  height: 100%;
  width: 25%;
  float: left;
  position: absolute;
}
.page-toto .search_panel .left_column img {
  display: table-cell;
  margin-top: 10px;
}
.page-toto .search_panel .right_column {
  display: table;
  text-align: center;
  height: 100%;
  width: 100%;
  float: left;
}
.page-toto .search_panel .right_column form {
  display: table-cell;
  vertical-align: bottom;
  padding-bottom: 20px;
}
.page-toto .search_panel img {
  width: 100%;
  max-width: 150px;
}
.page-toto #day {
  width: 80px;
  font-family: 'Open Sans Light';
}
.page-toto #month {
  width: 40px;
  font-family: 'Open Sans Light';
}
.page-toto #year {
  width: 60px;
  font-family: 'Open Sans Light';
}
.page-toto #submit {
  color: white;
  background-color: #00966e;
  border: none;
  font-family: 'Open Sans';
  font-weight: bold;
  padding: 3px 8px;
}
.page-toto input[type='date']::-webkit-inner-spin-button,
.page-toto input[type='date']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

/*
-------- Footer --------
*/

footer {
  text-align: center;
  margin-top: 0px;
}
.footer_section {
  background-color: #E6E7E8;
}
.footer_content {
  width: 1160px;
  margin: 0 auto;
  text-align: left;
  padding-top: 10px;
  padding-bottom: 40px;
}
.footer_image img {
  width: 55%;
}
.footer_image {
  padding-top: 40px;
}
.footer_text {
  font-weight: 200;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  color: #5D5D5D;
  padding: 30px 0px;
}

/*
-------- @media --------
*/

@media only screen and (max-width: 1100px) {
  header .header_top {
    width: 885px;
  }
  header .header_top .right_column nav {
    display: block!important;
  }
}
@media only screen and (max-width: 885px) {
  body {
    /*overflow-y: hidden;*/
  }
  footer {
    width: 100%;
  }
  header .header_bottom {
    width: 100%;
  }
  footer .footer_top_top {
    padding-left: 15px;
    padding-right: 15px;
  }
  .main_content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .swiper-wrapper div {
    width: 100% !important;
  }
  .section_top {
    margin-top: -140px;
  }
  #form_date {
    margin-right: 165px;
  }
}

@media (max-width: 568px) {
  .footer_content {
    width: 1000px;
  }
  header .header_top .right_column {
    padding-left: 170px;
  }
  .nav .nav-block {
    width: 100%;
  }
  .nav .row {
    margin-right: 0px;
  }
  .footer_content {
    width: 900px;
  }
}
