._head {
    padding-top: 0px;
    text-align: center;

}

._head span {
    display: inline-block;
    line-height: 36px;
    font-weight: normal;
    font-size: 30px;
    /* color:#555; */
    padding-top: 20px;
    padding-bottom: 10px;
}

._head p {
    font-size: 13px;
    color: #555;
}

._nav {
    text-align: center;
}

._search {
    white-space: normal;
    text-align: center;
    max-width: 420px;
    padding-left: 10px;

}

._search input {
    /*width: 80%;*/
}

.row {
    vertical-align: middle;
    width: 88%;
    display: block;
}

th {
    text-align: center;
}

.label-badge {
    padding: 7px 7px;
    border-radius: 25%;
}

.radius1 {
    border-radius: 2%;
}

.label-danger {
    background-color: #E34040;
}

.label-primary {
    background-color: #0094E0;
}

table {
    font-size: 15px;
}

.nav li {
    padding-top: 2px;
    padding-left: 1px;
    padding-right: 1px;
}

.myui-ball {
    display: inline-block;
    width: 20px;
    height: 40px;
    line-height: 40px;
    font-size: 11px;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}

.myui-balls {
    display: inline-block;
    width: 20px;
    height: 40px;
    line-height: 20px;
    font-size: 11px;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}

.cyanBlue {
    background-color: rgb(19, 181, 177);
}

.skyBlue {
    background-color: rgb(85, 111, 181);
}

.cyanred {
    background-color: rgb(255, 0, 0);
}

.sblue {
    background-color: rgb(56, 34, 64);
}

.green {
    background-color: rgb(46, 117, 59);
}

#currentRow,
#prevRow {
    display: table-row;
}

#scratchWrap {
    display: none;
}

.ad-section {
    max-width: 790px;
    margin: 20px auto;
    padding: 0 15px;
    background: #ffffff;
}

.ad-section-inner {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
}

.ad-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ad-tab {
    flex: 1 1 0;
    text-align: center;
    background: #f1f1f1;
    border: none;
    margin: 5px;
    padding: 8px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.ad-tab.active,
.ad-tab:hover {
    background: #000;
    color: white;
}

.ad-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.ad-item {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
}

.ad-item img {
    width: 70%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ad-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.ad-title {
    margin-top: 5px;
    font-size: 1.5rem;
    color: #555;
    font-weight: bold;
}

.ad-item a,
.ad-item a:hover {
    text-decoration: none;
}

@media (hover: none) and (pointer: coarse) {
    .ad-item img {
        transform: scale(1.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
}

.toggle-section {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.toggle-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 10px;
}

.content-collapsed {
    display: none;
}

#filterSection {
    overflow: hidden;
    max-height: 1000px;
}

#filterSection.animated {
    transition: max-height 0.5s ease;
}

#filterSection.collapsed {
    max-height: 0;
}

.marquee-container {
    height: 40px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    padding: 5px 10px;
    max-width: 780px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.marquee-text {
    white-space: nowrap;
    font-size: 2rem;
    font-weight: bold;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}