/*
 Theme Name:   swertres-results.com
 Theme URI:    https://yourwebsite.com
 Description:  A child theme for the Divi theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     Divi
 Version:      1.0.0
*/

/* Add your custom styles below */
.et_pb_menu_0_tb_header.et_pb_menu ul li:hover>a{
    font-size: 18px !important;
}
h1.et_pb_module_heading{
    font-size: 18px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}
h1.et_pb_module_heading::after {
    content: "";
    display: block;
    width: 30px;
    height: 4px;
    background-color: red;
    position: absolute;
    bottom: 0;
    left: 0;
}
.et_pb_heading_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* border-bottom: 1px solid #ddd; */
}
.cus-heading::after{
    content: "";
    display: block;
    width: 30px;
    height: 4px;
    background-color: red;
    position: absolute;
    bottom: 0;
    left: 0;
}
.cus-heading h2{
    line-height: 0.4em;
}
.lottery-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}
.lottery-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    /* background: #f9f9f9;  */
}

.lottery-image {
    width: 88px;
    height: auto;
}

.lottery-text {
    display: flex;
    flex-direction: column;
}

.lottery-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.lottery-info {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.lottery-info a {
    color: #000;
    text-decoration: none;
}

.lottery-info a:hover {
    text-decoration: underline;
}

section {
    margin-top: 17px;
}
.lotto-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: #fff;
}

.lotto-table th {
    background: #000;
    color: #fff !important;
    text-align: left;
    padding: 6px;
    font-weight: 400;
    font-size: 14px;
}

.lotto-table td {
    padding: 12px;
    text-align: left;
}

/* Alternating row colors for readability */
.lotto-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9; /* Light gray for odd rows */
}

.lotto-table tbody tr:nth-child(even) {
    background-color: #ffffff; /* White for even rows */
}

/* Hover effect for better UX */
.lotto-table tbody tr:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
}

.category-title h1,
.lotto-results h1{
    font-weight: bold;
}

.cus-footer {
    padding: 0 20px;
    /* border-radius: 10px; */
}
.cus-footer-header {
    display: flex;
    align-items: center;
}
.cus-footer-header img {
    width: 112px;
    margin-right: 10px;
}
.cus-footer-header h2 {
    margin: 0;
    font-size: 18px;
}
.lotto-results-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:25px;
}
.lotto-results-grid a{
    text-decoration: none;
    color: #000;
}
.lotto-item{
    /* border: 1px solid #ddd; */
    /* padding: 10px; */
    text-align: center;
    border-radius: 3px;
    min-height: 135px;
    /* background-color: #efefef; */
}

.lotto-item img{
    width: auto;
    height: 127px;
}
.et-blog-css-grid > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
  }
  #main-footer .widget_block h2 {
    color: #ffffff;
}
  .footer-widget li:before {
    border-color: #ffffff;
}

.et_pb_contact {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.form-title {
    /* text-align: center; */
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
}

.et_pb_contact_field {
    margin-bottom: 15px;
}

.et_pb_contact_field label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #444;
}

.et_pb_contact_field_input, .et_pb_contact_field_options {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f8f8f8;
}

.et_pb_promo_button {
    width: 100%;
    padding: 11px;
    font-size: 16px;
    background: #ff3b3b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.et_pb_promo_button:hover {
    background: #d32f2f;
}

.results-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.results-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.results-table th, .results-table td {
    padding: 12px;
    text-align: center;
}

.results-table th {
    background: #222;
    color: white;
}

.result-box {
    background: black;
    color: white;
    padding: 8px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
}

.et_pb_text_error {
    color: red;
    font-weight: bold;
}

#ticket-number {
    padding: 12px;
}
#check-ticket-results .results-table thead th, 
#check-ticket-results .results-table tr th{
    background: #000;
    color: #fff;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lotto-results-history .lotto-table {
        width: 310px;
    }

    .lotto-table {
        font-size: 14px;
    }

    .lotto-table th, 
    .lotto-table td {
        padding: 10px;
    }

    .logo {
        margin-left: 31px !important;
        padding-left: 0 !important;
    }
    .lotto-category {
        padding: 9px !important;
    }
}


@media only screen and (max-width: 480px) {
    .entry-content .lotto-table th,
    .entry-content .lotto-table td {
        padding: 6px 0px;
        text-align: center;
    }
    .mobile_menu_bar{
        left: 60px;
    }

    .number-generator .et_pb_select {
        font-size: 14px;
    }
    .number-generator .lotto-buttons{
        margin-top: 0;
    }
    .number-generator .lotto-buttons button{
        padding: 10px 14px;
    }
    .number-generator .lotto-ball {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .number-generator .lotto-numbers{
        margin-bottom: 7px;
        margin-top: 0;
    }
}