/*
Theme Name: lokep
Version: 1.2
Requires at least: 2.2
header-top up to: 2.2
*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,body,h1{margin:0;padding:0;
  font-family: Arial;
    font-size: 16px; 
    line-height: 1.6;
}
h2,h3,h4{margin-block-start: 1em; margin-block-end: 1em;padding:0;
/*    line-height:26px!important;*/
}

h3>a {
    margin-block-start: -1em;
    margin-block-end: -1em;
    font-size: 15px;
}
.logo {
    width: 350px;
}
img {
    max-width: 100%; 
    height: auto;
}
.sidebar-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar-section li {
    position: relative;
    padding-left: 12px;
    border-bottom: 1px solid #ddd;
}

/* Thêm icon dấu đầu dòng tuỳ chỉnh */
.sidebar-section li::before {
  position: absolute;
     top: 8px; 
    margin: 0 0 0 -12px;
    vertical-align: middle;
    display: inline-block;
    width: 5px;
    height: 5px;
/*    background: #b02a00;*/
    content: url(images/item.png);
}


a{text-decoration: none;color:#1a73e8;}
/*h1,h2,h3 {font-size: 20px;}*/
/*p {
    margin-bottom: 1rem;
}*/
ul {
    list-style-type: disc; 
    /*padding-left: 0; 
    margin: 0; */
}

ul {
    display: block;
    list-style-type: disc;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 20px;
    unicode-bidi: isolate;
}

ul > li.cat-item {
    list-style-type: none;
    margin-left: -20px; 
}


ul.cat-list {
    list-style-type: none;
}

ul.cat-list li {
    margin-bottom: 10px;
}

ul.cat-list li a {
    font-weight: bold;
    color: #333;
}
ol > li {
    margin-left: 20px;
}

.numbers {
        font-size: 20px;
        color: blue;
        cursor: pointer;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        opacity: 1; /* Mặc định là hiển thị */
        visibility: visible; /* Mặc định là có thể nhìn thấy */
        transition: opacity 0.3s ease, visibility 0s ease 0.3s; /* Thêm hiệu ứng chuyển động */
    }

    .hidden {
        opacity: 0; /* Ẩn phần tử bằng cách giảm độ mờ */
        visibility: hidden; /* Ẩn phần tử */
        transition: opacity 0.3s ease, visibility 0s ease 0s; /* Chuyển động mượt mà */
    }

    .toggle-button {
        display: block;
        margin-top: 10px;
        cursor: pointer;
        color: blue;
        text-decoration: none;
    }

html{background:#404040;}
body{
    margin: 0px auto;
    max-width: 1170px;
    background:#fff;
    padding: 0px 2px 0px 2px;
}
#header {
    display: flex;
    justify-content: center;
    align-items: center;
/*    height: 246px;*/
     padding: 10px; 
    box-sizing: border-box;
    margin-bottom: -8px;
/*    background: #ffb100;*/
}

#header img {
    max-width: 100%;      
    max-height: 100%;      
    height: auto;
    width: auto;
    object-fit: contain;  
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    #header {
        height: auto; 
        padding: 10px;
       margin-bottom: -8px;
/*       background: #ffb100;*/
    }

    #header img {
        width: 100%;       
        height: auto;
    }
}
/*#header > div {
    display: flex;
    justify-content: center;
    align-items: center;
}*/
.menu{
    background-color:#004889;
    clear: both;
    color: #b10202;
    font-size: 18px;
    text-align: center;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #ff0000;  
    padding: 5px;
}

.readmore {
      width: 100%;
     max-height: 200px; /* Độ cao tối đa ban đầu */
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .read-more {
  color: blue;
  cursor: pointer;
   display: block;
   margin-top: 10px;
 }

.expanded {
   max-height: none; /* Mở rộng chiều cao khi người dùng nhấn "Read More" */
}
.content {
    padding: 5px;
    text-align: justify;
    border: 1px solid #d5d5d5;
    margin-top: 1px;
    margin-bottom: 1px;
}
.content> p {
    margin-bottom: 10px;
}
a:hover {
    color: #ff0000;
}
.description {
    margin: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #cce0fd;
    text-align: justify;
}
.title-green {
    background: #0087cb;
    color: #FFF;
    font-weight: bold;
    font-size: 18px;
    height: 35px;
    line-height: 35px;
    padding-left: 17px;
    vertical-align: middle;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.lottery {
    background: #4f77c3;
    border-left: 2px solid #ff0000;
    color: #ffffff;
    border-bottom: 1px solid #f57507;
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-size: 18px;
  margin-bottom: 8px;
}

th, td {
  border: 1px solid #ddd;
  text-align: center;
 padding: 3px;
}
.responsive-menu a:hover {
    background: #f15a24;
}
@media (max-width: 768px) {
  .responsive-menu {
    position: relative; /* Mặc định không dính */
    top: auto;
    transition: top 0.3s ease;
  }

  .responsive-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
}

 .menu a:hover,
.tcat-main a:hover,
.main-home a:hover {
    color: red;
    transition: all 0.3s ease;
}

.main-home s {
    color: red;
    transition: all 0.3s ease;
}

th {
      background: #000000;
    color: #fff;
}
tr > th {
    background:#393939b0;

}
td.kqn.new.kq_0 {
    color: red;
}
.table-container {
  display: flex; 
  justify-content: space-between; 
/*  flex-wrap: wrap; */
}

.table-container table {
  width: 49%;
     margin: 3px; 
  border-collapse: collapse; 
}

@media screen and (max-width: 600px) {
  .table-container {
    align-items: center; 
  }

  .table-container table {
    width: 100%; 
    margin-bottom: 20px; 
  }
}
@media (max-width: 768px) {
    .tk-db .colgiai td, .tk-db .colgiai th {
        padding: 5px 0;
    }
}
@media (max-width: 375px) {
    .tk-socuoi-db td {
        font-size: 14px;
    }
}
.tk-socuoi-db td {
    color: #666;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}
.dau th {
    color: #4F2704;
    background: #FAC99C;
}
.dit th {
    color: #4F2704;
    background: #E4ADE9;
}

td.lefttd {
    color: #b10202;
}

.tbl1 .col1 {
    color: #b3380f;
    font-weight: bold;
    background: #e1efff;
    padding: 5px;
}

.tbl1 .col2 {
    color: #008000;
    font-weight: bold;
    background: #fff4e1;
    padding: 5px;
}
table.tbl1 {
    margin: 3px;
}

.menu a{color:#ffffff;padding:3px;}
#header h3{font-size:18px;}
/*Chuyen muc*/
.chuyen-muc{
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: #84d5f6;  
}
.name-category {
    background: #b10202;
    color: #fff;
/*    font-size: 20px;*/
/*    padding: 1px 0 3px 1%;*/
    height: auto;
    border-left: 4px solid #ff0000;
    border-bottom: 1px solid #ff0000;
    font-weight: bold;
}
.black{background:#E4E4E4;}
.t h2{font-size:18px;padding-top: 2px;}
.name-category a {color:#fff;font-size: 18px;}
.name-category ul {
    list-style: square outside none;
    margin: 0;
    padding-left: 20px;
    padding-right: 30px;
}
.name-category ul li {
    border-bottom: 1px solid #ADADAD;
    line-height: 20px;
    padding-bottom: 5px;
}
.main-gsr {
    margin-top:5px;
    overflow:auto;
    padding:0 2%;position:relative;
    padding-bottom:5px;
 border-bottom: 1px solid #d5d5d5;
}

/*.main-gsr:before{
    content: url(images/right-blue.gif);
    padding-right: 2px;
}*/
.main-gsr h3{
display:inline;
}
.main-gsr h3 a {
    font-size:18px;
    font-weight:700;
    color:#1a73e8;
}

.main-gsr h4 {
    clear:both;
    margin-bottom:2px
}

.main-home {
    margin-top: 1px;
    overflow: auto;
    /* padding: 0 2%; */
    position: relative;
    padding: 2px;
    border: 1px solid #d5d5d5;
    border-top: 1px solid #c9c9c9;
}

.main-home:before{
    content: url(images/right-red.png);
    padding-right: 2px;
}
.main-home h3{
display:inline;
}
.main-home h3 a {
/*    font-size:18px;*/
    font-weight:700;
    color:#1a73e8;
}

.main-home h4 {
    clear:both;
    margin-bottom:2px
}
.page{padding:5px;}
.page a{padding:5px;background:#E4E4E4;}
.main-gsr p {text-align:justify;font-size:18px;}
.mo-ta{min-height: 90px;}
.img-thumb{
    float:left;
    margin:0 5px 5px 0;
    border: 1px solid #ADADAD;
    padding:1px;
    max-width: 80px;
}
.main-rc{
    float:left;
    padding-right: 10px;
    max-width: 80px;
}
.main-gsr .line-break {
    clear:both;
    border-top:1px solid #C2C2C2
}
 .read-more {
    margin-top: 5px;
    margin-right: 2%;
    text-align: center;
    color: #390;
    font-weight: bold;
    background: #d2edec;
}
.read-more a {
    color:#666
}

/*li.cat-item:before {
    content: url(images/right-blue.gif);
    padding-right: 3px;
}*/

.cat-item::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 3px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* Gán từng ảnh cho từng dòng */
.cat-item:nth-of-type(1)::before {
  background-image: url('images/1.png');
}
.cat-item:nth-of-type(2)::before {
  background-image: url('images/2.png');
}
.cat-item:nth-of-type(3)::before {
  background-image: url('images/3.png');
}
.cat-item:nth-of-type(4)::before {
  background-image: url('images/4.png');
}
.cat-item:nth-of-type(5)::before {
  background-image: url('images/5.png');
}
.cat-item:nth-of-type(6)::before {
  background-image: url('images/6.png');
}
.cat-item:nth-of-type(7)::before {
  background-image: url('images/7.png');
}


.clock {
    overflow: hidden;
    background-color: #ff7905;
    border: 1px solid #c7e8d5;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
}
.info
{
   overflow: hidden;
    background-color:#a4d5e9;
    border: 1px solid #c7e8d5;
    text-align: center;
}
.home-icon {
    font-size: 18px;  /* Kích thước nhỏ */
    color: #ffffff;   /* Màu xanh lá */
}
.home-icon:before{
    content: url(images/home.gif);
}
.anx_item_2 {
    overflow: hidden;
    background-color: #f7f7f7;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ffdaaf;
    text-align: justify;
}
.anx_item_3 {
    overflow: hidden;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ffdaaf;
    text-align: justify;
}
.anx_img_32 {
    display: block;
    overflow: hidden;
/*    height: 32px;*/
    width: 20px;
    float: left;
margin-top: 8px;*
}
.anx_desc {
    color: #333;
}
.anx_box {
    overflow: hidden;
}

.game h2{font-size:18px;padding:1px;}
.tcat-main{width:100%;}
.tcat-main ul{margin:0px;padding-left:5px;list-style:none;}
    .tcat-main ul li{line-height:20px; border-bottom: 1px solid #c7c3c3;}
    .tcat-main ul li.end-row {border-bottom:0px solid #adadad;  }
    .tcat-main ul li a {
    color: #1a73e8;
    text-decoration: none;
    background: url(images/item.png) no-repeat scroll 0 10px transparent;
    display: block;
    font-weight: bold;
    padding-left: 15px;
    border-right: 1px solid #d5d5d5;
}
    .f {border-bottom: 1px solid #E7E7E7;padding: 0 2%;}
    img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
#footer {border-top: 1px solid #116702;background-color:#595959;font-weight: 400; padding: 5px 0; text-align: center;}
.bv-lienquan {
background-color:#b10202;
border:1px solid #DFE7D5;
font-size:18px;
font-weight:bold;
margin-left:20px;
margin-right:25px;
padding:8px;
text-align:justify;
margin-bottom:2px;
}
.page-navi{margin:10px;}
.page-navi a, .page-navi span {color: #666666;border: 1px solid #BFBFBF;margin: 2px;padding: 5px 10px;}
.page-navi span.current {font-weight: bold;background-color:#999;color:#fff;}
li.cat-item 
{ 
    background-color: #fff;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 4px;
    border: 1px solid #d5d5d5;
    color: #0000ff;
}

input[type="text"] {
    width: 200px;
}

.lbl_thongtin {
    background: none repeat scroll 0 0 #00CCCC;
    border-radius: 3px 3px 3px 3px;
    color: #FFFFFF;
    margin-right: 5px;
    padding: 2px 5px;
}
.hiep {background-color:#84d5f9;font-size: 18px;color:#b10202:  text-align: center;}
.hiep a {
    color:#b10202
}
.dow {
    text-align: left;
    padding: 4px 2px 4px 2px;
    margin-left:1px;
    margin-right:1px;
    background: #d5f3ff;
    margin-top: 1px;
    margin-bottom: 1px;
    border: 1px solid #a2b5c2;
    font-weight: bold;
    font-size: 14px;
}
.dow:before ,.download-link:before {content: url(images/down.gif);
    padding-right: 2px;

}
.download-link a,.dow a{
    border: 1px solid #88beff;
    padding: 0px 4px 0px 4px;
    background-color: #f2f6f8;
    margin: 1px;
    margin-left:8px;
}

.des {
    text-align: justify;
    padding: 4px;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
    border: 1px solid #a2b5c2;
  
}
.des:before {content: url(images/right-blue.gif);
    padding-right: 2px;

}

.des>br {
    margin-top: 8px;
}

.responsive-menu {
  background: #b10202;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  padding: 10px;
  background: #b10202;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.menu-items li {
  margin: 0;
}

.menu-items li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid #41defc;
}

.menu-items li:last-child a {
  border-right: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-items {
    display: none;
    flex-direction: column;
  }

  .menu-items.show {
    display: flex;
    border-top: 1px solid #fff;
  }

  .menu-items li a {
    border-bottom: 1px solid #eee;
    border-right: none;
  }
}

/* Dropdown base styles */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  background-color: #b10202;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 999;
  border: 1px solid #41defc;
}

.submenu li a {
  padding: 10px 15px;
  color: #fff;
  border-bottom: 1px solid #41defc;
  white-space: nowrap;
}

/* Hover dropdown for desktop */
@media (min-width: 769px) {
  .has-submenu:hover .submenu {
    display: block;
  }
}

/* Dropdown toggle for mobile */
@media (max-width: 768px) {
  .has-submenu > a::after {
    content: ' ▼';
    float: right;
  }

  .has-submenu.open .submenu {
    display: flex;
    flex-direction: column;
  }

  .submenu {
    position: static;
    border: none;
  }
}
.one-city.sub-col-l {
    border-right: 1px solid #ede8e8;
}

.gmenu {
  background-color: #efe8c6;
  border: 1px solid white;
  margin: 0;
  padding: 3px 4px 3px 4px;
}
.list1, .wp-caption {
    background-color: #ffffff;
    border: 1px solid white;
    margin: 0;
    padding: 3px 4px 4px 4px;
    text-align: justify;
    border: 1px solid #b5b5b5;
}

.list2, .wp-oembed {
  background-color: #d9d9d9;
  border: 1px solid white;
  margin: 0;
  padding: 3px 4px 4px 4px;
}
.qc ,.wp-caption-dd {
    background: none repeat scroll 0 0 #FFFFC0;
    font-size: 18px;
    margin-bottom: 0px;
    margin-top: 2px;
    font-weight: normal;
    border: 1px solid #DDBC6B;
    padding: 3px;
}
.wp-caption {
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
  text-align: center;
  background: #f9f9f9;
  padding: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.wp-caption .wp-caption-text {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  line-height: 1.4;
}

.header-top,.wp-gallery, .hdr {
    color: #fffaee;
    font-weight: bold;
/*    text-shadow: #45cdf5 1px 1px 1px;*/
    background-color: #b10202;
    background-repeat: repeat-x;
    background-position: 50% top;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 2px;
    border: 1px solid #cc00ff;
    border-left: 4px solid #ff0000;
}
.header-top h3 {
    color: #fff;
}
.wp-gallery a,.header-top a, .hdr a, .upban a {
    color: #fffaee;
}
.wp-gallery a:hover,.header-top a:hover, .hdr a:hover, .upban a:hover {
    color: #dbfaff;
}
.pay {
    color: #fffaee;
    font-weight: bold;
    text-shadow: #45cdf5 1px 1px 1px;
    background-color: #ffcc66;
    background-repeat: repeat-x;
    background-position: 50% top;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 2px;
    border: 1px solid #ff6600;
}
.update{
    background-color: #fff;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 4px;
    border: 1px solid #d5d5d5;
}
 .update:before {
    content: url(images/icon1.gif);
    padding-right: 2px;}
.good  {
    background-color: #fff;
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 4px;
    border: 1px solid #d5d5d5;
   
}

strong a {
    color: #ff7800;
}