/* index */
.index-section {
    width: 100%;
    padding: 10px 9vw 0px;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 10px;
}

.index-div-1,
.index-div-2 {
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: column;
    -ms-flex-direction: column;
    justify-content: space-between;
    row-gap: 10px;
}

.index-div-1 {
    width: 78%;
}

.index-div-2 {
    width: 22%;
}

.index-notice {
    width: 100%;
    background-color: #1A212B;
    border-radius: 10px;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    flex-direction: row;
    -ms-flex-direction: row;
    align-items: center;
    justify-content: start;
    column-gap: 15px;
    color: #FBFBF8;
    font-family: 'notosansKR';
    font-size: 1.05rem;
    padding: 7px 15px;
}

.index-notice-div {
    padding: 6px 16px 9px;
    background-color: #DF97BF;
    color: #0D0D0D;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-align: center;
    flex-shrink: 0;
}

.index-notice-marq {
    width: 100%;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    text-wrap: nowrap;
    white-space: nowrap;
    animation: marquee 37s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(77%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.index-div-3 {
    width: 100%;
    background-color: #1A212B;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    flex-direction: column;
    -ms-flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 6px;
    border-radius: 8px;
    padding: 20px 26px;
    font-family: 'notosansKR';
    color: #FBFBF8;
    font-size: 1.05rem;
    line-height: 1.2;
    text-align: center;
}

.index-div-3 div:first-child span {
    font-size: 0.95rem;
}

.index-div-4 {
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    flex-direction: column;
    -ms-flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 8px;
    font-size: 1.1rem;
}

.index-div-4>div:nth-child(2) {
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: bolder;
}

.index-div-5 img {
    margin-right: 7px;
}

.index-div-5 a {
    background-color: #1A212B;
    border-radius: 8px;
    width: 100%;
    padding: 13px 20px;
    display: block;
    text-align: center;
    color: #FBFBF8;
    font-size: 1.02rem;
    font-weight: bold;
    transition: all 220ms ease;
}

.index-div-5 a:hover {
    background-color: #0D0D0D;
}


.index-div-6 {
    width: 35%;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: column;
    -ms-flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    row-gap: 10px;
}

.index-div-7 {
    width: 100%;
    background-color: #1A212B;
    padding: 22px 15px 15px;
    border-radius: 8px;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: column;
    -ms-flex-direction: column;
    row-gap: 20px;
    color: #FBFBF8;
}

.index-div-title {
    font-size: 1.2rem;
    font-weight: bolder;
}

.index-div-title span {
    color: #23AC38;
    margin-right: 5px;
    font-size: 1.3rem;
}

.index-div-title>span:nth-child(2) {
    color: #FFF;
    opacity: 0.5;
    margin: 0 7px;
}

.index-link-wrapper {
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    column-gap: 6px;
}

.index-link-wrapper a {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    font-family: 'NotosansKR';
    font-size: 1.15rem;
    line-height: 150%;
    color: #FBFBF8;
    padding: 15px 14px;
    opacity: 0.9;
    transition: all 220ms ease;
}

.index-link-wrapper a>span {
    font-size: 1.25rem;
    font-weight: bold;
}

.index-link-wrapper.pfm a {
    font-size: 1.25rem;
    font-weight: bold;
}

.index-link-wrapper.pfm a span.busan {
    color: #A6E5B5;
}

.index-link-wrapper.pfm a span.seoul {
    color: #8DBFF5;
}

.index-link-wrapper.pfm a span.jeju {
    color: #F99494;
}

.index-link-wrapper.pfm a span.ych {
    color: #BFD4DE;
}

.index-link-wrapper a:hover,
.index-link-wrapper-2 button:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #23AC38;
}

.index-link-wrapper-2 {
    display: grid;
    display: -ms-grid;
    display: -moz-grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 12px;
    row-gap: 12px;
}

.index-link-wrapper-2 button {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: start;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    font-family: 'NotosansKR';
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 150%;
    color: #FBFBF8;
    background-color: transparent;
    padding: 17px 15px;
    opacity: 0.9;
    transition: all 220ms ease;
}

.index-link-wrapper-2>button:first-child {
    grid-column: 1/3;
    text-align: center;
    justify-content: center;
    color: #1A212B;
    font-weight: 700;
    font-size: 1.22rem;
    background-color: #23AC38;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .15)100%);
    transition: all 300ms ease;
}

.index-link-wrapper-2>button:first-child:hover {
    background-color: #1A212B;
    color: #FBFBF8;
    font-weight: 500;
}


.index-link-wrapper-2 img {
    max-width: 32px;
}

.index-link-wrapper-2 button:last-child img {
    max-width: 40px;
}

.index-div-8 {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #1A212B;
    border-radius: 8px;
    background-image: url("../images/index-ad250618.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.index-div-8 img {
    width: 100%;
    vertical-align: middle;
}


.index-section.third>div {
    width: 15.7%;
    padding: 30px 10px;
    background-color: #1A222B;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-family: 'notoSansKR', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    vertical-align: middle;
    cursor: default;
}

.index-section.third>div:nth-child(1),
.index-section.third>div:nth-child(2) {
    width: 17.1%;
}

.weight-chart_mob {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fbfbf8;
}

.weight-chart_mob thead {
    font-size: 13px;
    letter-spacing: -1px;
    color: #1A212B;
    height: 35px;
}

.weight-chart_mob th {
    border-width: 1px;
    border-color: #1A212B;
    border-style: solid;
    text-align: center;
    vertical-align: middle;
}

.weight-chart_mob td {
    font-family: 'NotoSans KR', sans-serif;
    font-size: 12px;
    letter-spacing: -1px;
    color: #1A212B;
    border-width: 1px;
    border-color: #1a212b;
    border-style: solid;
    text-align: center;
    vertical-align: middle;
    height: 50px;
}


/* PC ver */
.inweight {
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    padding: 35px 10px 0px;
    justify-content: center;
    align-items: center;
}

.weight-chart {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fbfbf8;
}

.weight-chart thead {
    font-size: 15px;
    color: #fff;
    background-color: #1A212B;
    height: 35px;
}

.weight-chart th {
    border-width: 2px;
    border-color: #1A212B;
    border-style: groove;
    text-align: center;
    vertical-align: middle;
}

.weight-chart th:first-child {
    border-left: #1A212B 1px solid;
}

.weight-chart th:last-child {
    border-left: #1A212B 1px solid;
}


.weight-chart td {
    font-family: 'NotoSans KR', sans-serif;
    font-size: 14px;
    color: #1A212B;
    border-width: 1px;
    border-color: #1a212b;
    border-style: solid;
    text-align: center;
    vertical-align: middle;
    height: 32px;
}

.weight-chart tr:hover {
    background-color: rgba(95, 136, 182, 0.2);
    cursor: default;
}

.livechat-body {
    background-color: #1a212b;
}

.livechat {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 15px 13px 20px 13px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.livechat-head {
    color: #FBFBF8;
    font-size: .9rem;
    font-family: 'notosanskr';
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 2px;
}

.div-block-63 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0px;
}

.div-block-64 {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background-color: #37d400;
}

.div-block-64.off {
    background-color: #FB0000;
}

.heading-3 {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 6px;
    padding-right: 0px;
    font-family: Bccardl, sans-serif;
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.div-block-56 {
    position: relative;
    height: 500px;
    border-radius: 7px;
    background-color: #fbfbf8;
    box-shadow: inset 0 7px 7px 1px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.liverchat-notice {
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: start;
    align-items: center;
    background-color: #2b3e54;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 36px;
}

.alert-img {
    padding: 2px 15px 5px;
    width: 100px;
    background-color: #2b3e54;
}

.livechat-marq-wrapper {
    height: 36px;
    padding-top: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.livechat-marquee {
    padding-left: 54px;
    font-family: 'notosanskr';
    font-size: 1rem;
    color: #fff;
    display: inline-block;
    text-wrap: nowrap;
    white-space: nowrap;
    animation: chat-marquee 25s linear infinite;
}

@keyframes chat-marquee {
    0% {
        transform: translateX(20%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.livechat-ground {
    font-family: 'NotoSans KR', sans-serif;
    overflow-y: scroll;
    height: 450px;
    font-size: .9rem;
    padding: 12px 7px 0px 5px;
}

.livechat-content {
    width: 100%;
    display: flex;
    display: flexbox;
    display: -ms-flexbox;
    flex-direction: row;
    -ms-flex-direction: row;
    justify-content: space-between;
    align-items: start;
    column-gap: 20px;
    margin-bottom: 10px;
}

.livechat-userinfo {
    width: 12%;
    column-gap: 2px;
    font-weight: 600;
    text-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.livechat-userinfo img {
    width: 25px;
    flex-shrink: 0;
}

.livechat-content>div:nth-child(2) {
    width: 80%;
}

.livechat-timelog {
    font-size: .8rem;
    font-weight: 500;
    opacity: .5;
}

.div-block-65 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 12px 0;
    padding-left: 3px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    font-family: 'NotoSans KR';
    color: #FBFBF8;
}

.div-block-65 button {
    background-color: transparent;
    border-radius: 50px;
    border: 2px solid #FBFBF8;
    color: #FBFBF8;
    font-weight: 500;
    padding: 2px 8px;
    letter-spacing: -1px;
    opacity: 0.75;
    transition: all 220ms linear;
}

.div-block-65 button:hover {
    opacity: 1;
    color: #23ac38;
    border-color: #23ac38;
}

.div-block-65 input[type='date'] {
    background-color: #FBFBF8;
    color: #12171E;
    font-weight: 500;
    border: none;
    opacity: 0.75;
    border-radius: 50px;
    max-width: 120px;
    padding: 2px 6px 2px 10px;
    margin-right: 5px;
}


.div-block-58 {
    width: 100%;
}

.chat {
    min-width: 320px;
}

.chat form {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    column-gap: 10px;
}

.chat_typebox {
    height: 40px;
    width: 90%;
    background-color: #FBFBF8;
    border-radius: 5px;
    border-color: transparent;
    box-shadow: inset 0 7px 7px 1px rgb(0 0 0 / 20%);
    vertical-align: middle;
    padding: 0px 8px;
    margin: 2px 0px;
    font-family: 'notosansKR';
}

.chat_sendbutton {
    background-color: transparent;
    font-weight: bolder;
    color: white;
    font-size: 1.25rem;
    border: 2px solid white;
    opacity: .6;
    border-radius: 5px;
    padding: 10px;
    transition: all 220ms ease;
}

.chat_sendbutton:hover {
    color: #23ac38;
    border-color: #23ac38;
    opacity: 1;
}

.mainrecord {
    width: 100%;
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
}

.mainrecord colgroup {
    display: table-column-group;
}

.mainrecord col:nth-child(1) {
    width: 18%;
}

.mainrecord col:nth-child(2) {
    width: 7%;
}

.mainrecord col:nth-child(3) {
    width: 12%;
}

.mainrecord col:nth-child(4) {
    width: 13%;
}

.mainrecord thead,
.mainpopularity thead {
    font-family: 'notosansKR';
    color: #1A212B;
    font-size: 1.1rem;
    line-height: 100%;
    font-weight: bold;
    text-align: center;
    height: 42px;
}

.mainrecord th,
.mainpopularity th {
    padding-top: 5px;
    font-weight: bold;
}

#friRecord .mainrecord thead,
#friRecord .mainpopularity thead {
    background-color: #7498AA;

}

#satRecord .mainrecord thead,
#satRecord .mainpopularity thead {
    background-color: #8ABDC7;
}

#sunRecord .mainrecord thead,
#sunRecord .mainpopularity thead {
    background-color: #B2D1DC;
}

#ycRecord .mainrecord thead,
#ycRecord .mainpopularity thead {
    background-color: #91B3C2;
}

.mainrecord td {
    font-size: 1rem;
    font-weight: normal;
    color: #FBFBF8;
    word-break: keep-all;
    text-align: center;
    vertical-align: middle;
}

.mainrecord td:first-child {
    letter-spacing: 0;
}

.mainrecord .normal {
    height: 56px;
}

.mainrecord .deadhit {
    height: 28px;
}

.mainrecord .horse-no {
    font-size: 1.25rem;
}

.mainrecord .odd {
    background-color: #26313E;
}

.mainrecord .even {
    background-color: #1E2732;
}

.mainrecord .ych {
    color: #BFD4DE;
    vertical-align: middle;
}

.mainrecord .jeju {
    color: #F99494;
    vertical-align: middle;
}

.mainrecord .seoul {
    color: #8DBFF5;
    vertical-align: middle;
}

.mainrecord .busan {
    color: #A6E5B5;
    vertical-align: middle;
}

.mainrecord .linkicon {
    vertical-align: middle;
}

.mainrecord .bluemark {
    color: #43BBE7;
}

.mainrecord .redmark {
    color: #FF432E;
}

.mainpopularity {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.mainpopularity td {
    font-family: inherit;
    font-weight: 400;
    color: white;
    word-break: normal;
    text-align: center;
    vertical-align: middle;
    height: 56px;
}

.mainpopularity .odd {
    background-color: #26313E;
}

.mainpopularity .even {
    background-color: #1E2732;
}

@media screen and (max-width:1628px) {
    .index-div-3 {
        font-size: 1rem;
        padding: 26px 26px 30px;
    }

    .index-div-4 {
        font-size: 1rem;
    }

    .index-div-4>div:nth-child(2) {
        font-size: 1.3rem;
    }

    .index-div-5 a {
        padding: 13px 10px;
        font-size: 1rem;
    }
}

@media screen and (max-width:1536px) {
    .index-section {
        padding: 10px 5vw 0px;
    }

    .index-link-wrapper a,
    .index-link-wrapper a>span,
    .index-link-wrapper.pfm a {
        font-size: 1.15rem;
    }

    .index-link-wrapper-2 button {
        font-size: 1rem;
    }
}

@media screen and (max-width:1440px) {
    .index-div-3 {
        padding: 14px 18px 20px;
        word-break: keep-all;
    }
}

@media screen and (max-width: 1366px) {
    .index-div-8 {
        width: 100%;
        height: 172px;
    }

    .index-div-3 {
        row-gap: 2px;
        padding: 22px 12px 26px;
    }

    .index-div-5 a {
        font-size: 0.9rem;
    }

    .index-link-wrapper a {
        padding: 12px;
    }

    .index-link-wrapper-2 button {
        flex-direction: column;
        -ms-flex-direction: column;
        padding: 14px;
    }
}

@media screen and (max-width:1280px) {
    .index-section {
        flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        row-gap: 10px;
    }

    .index-section.second {
        flex-direction: column;
        -ms-flex-direction: column;
        row-gap: 10px;
    }

    .index-div-3 div:first-child span {
        font-size: 1.1rem;
        line-height: 180%;
    }

    .index-div-6>div:nth-child(3) {
        display: none;
    }

    .index-div-1 {
        width: 100%;
        flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
    }

    .index-div-2 {
        width: 100%;
        flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
        column-gap: 10px;
    }

    .index-div-5 {
        display: none;
    }

    .index-div-3 {
        justify-content: space-between;
        padding: 30px;
        font-size: 1.2rem;
    }

    .index-div-4 {
        font-size: 1.2rem;
    }

    .index-div-4>div:nth-child(2) {
        font-size: 1.55rem;
        font-weight: bolder;
    }

    .index-div-6 {
        width: 100%;
    }

    .index-link-wrapper-2 button {
        flex-direction: row;
        -ms-flex-direction: row;
        padding: 22px 20px;
        font-size: 1.1rem;
    }

    .index-section.third {
        flex-direction: row;
    }

    .index-section.third>div:nth-child(1),
    .index-section.third>div:nth-child(2),
    .index-section.third>div {
        width: 16%;
        font-size: 1.2rem;
    }
}


@media screen and (max-width: 991px) {
    .index-section {
        padding-top: 20px;
    }

    .mainrecord thead,
    .mainpopularity thead {
        font-size: 1rem;
        text-wrap: nowrap;
    }

    .mainrecord col:nth-child(1) {
        width: 15%;
    }

    .mainrecord col:nth-child(2) {
        width: 7%;
    }

    .mainrecord col:nth-child(3) {
        width: 12%;
    }

    .mainrecord col:nth-child(4) {
        width: 14%;
    }

    .index-section.third>div:nth-child(1),
    .index-section.third>div:nth-child(2),
    .index-section.third>div {
        font-size: 1rem;
    }
}

@media screen and (max-width: 842px) {
    .index-section.third {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .index-div-2 {
        flex-direction: column;
        -ms-flex-direction: column;
    }

    .livechat {
        width: 100%;
    }

    .livechat-userinfo {
        width: 84px;
    }


    .div-block-65 input[type='date'],
    .div-block-65 button {
        display: none;
    }

    .chat_typebox {
        width: 85%;
    }

    .chat_sendbutton {
        font-size: 1.1rem;
        letter-spacing: -1px;
    }

    .mainrecord col:nth-child(1) {
        width: 13%;
    }

    .mainrecord thead {
        text-wrap: wrap;
        word-break: keep-all;
    }

    .mainrecord td {
        font-size: .95rem;
        line-height: 100%
    }

    .mainrecord .horse-no {
        font-size: 1rem;
    }

}


@media screen and (max-width: 479px) {
    .div-block-64 {
        width: 10px;
        height: 10px;
    }

    .div-block-65 {
        font-size: .82rem;
    }

    .chat_sendbutton {
        width: 57px;
        flex-shrink: 0;
    }

}

@media screen and (max-width:421px) {

    .index-section {
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .index-link-wrapper {
        display: grid;
        display: -ms-grid;
        display: -moz-grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
        column-gap: 10px;
    }

    .index-link-wrapper-2 {
        width: 100%;
        display: flex;
        display: flexbox;
        display: -ms-flexbox;
        flex-direction: column;
        -ms-flex-direction: column;
        row-gap: 10px;
        justify-content: space-between;
        align-items: stretch;
    }

    .index-link-wrapper-2 button {
        padding: 15px 20px;
    }

}