@font-face {
    font-family: Myriad-pro;
    src: url(../font/MyriadPro-Regular.otf);
}
.coin-marquee-container {
    width: 100% !important;
}
.coin-marquee-header {
    width: 0 !important;
}
.coin-marquee-wrapper--dark .coin-marquee-header-signature {
    display: none !important;
}
a.weatherwidget-io {
    border-radius: 15px;
}
#header {
    background: #002157;
}
body {
    background: #333;
}
.body-slim {
    background: #004b81;
    color: #fff;
    font-family: Myriad-pro;
    transform: scale(0.7);
    transform-origin: top;
    border-radius: 0 0 20px 20px;
}

#header .navbar-brand {
    margin-right: 0;
}
/* css header */
.left-section {
    width: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.weather-left {
    width: 320px;
}
.link-group {
    margin-bottom: 10px;
}
.link-group .lang-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}
.right-section {
    width: 360px;
    display: flex;
    justify-content: flex-end;
}
.head-nav {
    display: flex;
    justify-content: space-between;
    padding-left: 25px;
    padding-right: 25px;
}
.navbar-header-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 7px;
    margin-top: 7px;
}
.korean-navbar {
    padding: 0;
    font-weight: bold;
}
nav .korean-menu {
    flex-direction: column;
}
.navbar-light.korean-navbar .navbar-nav .nav-link {
    color: black;
    font-size: 18px;
    text-transform: uppercase;
}
.korean-menu .nav-item {
    margin: 0 20px;
}

main#body {
    padding-top: 20px;
    min-height: 875px;
    padding-bottom: 20px;
    position: relative;
}
section.footer {
    position: absolute;
    width: 100%;
    bottom: 20px;
}
#owl-header-page .owl-next, #owl-header-page .owl-prev {
    position: absolute;
    top: 0;
    bottom: 24px;
    color: #fff;
    font-size: 30px;
    margin: auto;
}
#owl-header-page .owl-prev {
    left: 15px;
}
#owl-header-page .owl-next {
    right: 15px;
}

.col-section {
    text-align: center;
    background: #010015;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    height: 100%;
}
.head-col {
    background: #002157;
    padding-top: 20px;
    padding-bottom: 15px;
}
.col-section p, .footer-section p {
    margin-bottom: 0;
}
.head-col h1 {
    margin-bottom: 0;
    font-weight: bold;
    text-shadow: 0px 2px 5px black;
}
.content-text {
    text-align: left;
    font-size: 18px;
    margin-bottom: 15px;
}
.body-col {
    position: relative;
    padding: 20px 30px;
}
.body-col h3 {
    color: #ff0000;
    font-size: 50px;
    margin-bottom: 0;
}
.winning-result {
    font-size: 60px;
}
.starter-result {
    font-size: 30px;
}
.bd-bottom {
    border-bottom: 1px solid;
    width: 90%;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
}
.bd-right {
    border-right: 1px solid;
}
.footer-section {
    text-align: center;
    background: #002157;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 0 0 15px 15px;
}

.history-tap {
    justify-content: center;
    margin-top: 15px;
}
.history-tap .nav-link {
    color: #fff;
    font-size: 25px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 25px;
}
.history-tap .nav-item {
    border-right: 1px solid;
}
.history-tap .nav-item:last-child {
    border-right: 0;
}
h1.title-red {
    text-align: left;
    color: #ff0000;
    font-size: 30px;
    font-weight: bold;
}

.korea-frame-img {
    width: fit-content;
    margin-bottom: 20px;
}
.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.korea-frame-img {
    width: 196px;
    height: 196px;
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid red;
}
.img-korean {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.korea-frame-img:last-child {
    margin-bottom: 0;
}
.btn-korean {
    background: #ff1600;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    padding: 10px 30px;
    box-shadow: 3px 3px 10px 2px #a51e12;
    transition: 0.5s;
    text-shadow: 0px 3px 3px black;
}
.btn-korean:hover, .btn-korean:focus {
    color: #fff;
    box-shadow: 0 0 black;
}
.about .body-col, .contact .body-col {
    min-height: 500px;
}
.home .img-home-slider {
    object-fit: cover;
}
h1#number {
    background: #004b81;
    padding: 30px 20px;
    border-radius: 15px;
    width: fit-content;
    font-size: 50px;
    margin-bottom: 20px;
    margin-top: 30px;
}
h1#number span {
    padding: 10px;
    background: #002157;
    border-radius: 10px;
    border: 5px solid;
    margin: 10px 2px;
}
.countdown-time {
    display: flex;
    font-size: 50px;
    line-height: 1;
    margin-top: 30px;
}
.flip-card {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
    border-radius: .1em;
}
  
.top,
.bottom,
.flip-card .top-flip,
.flip-card .bottom-flip {
    height: .75em;
    line-height: 1;
    padding: .25em;
    overflow: hidden;
}
  
.top,
.flip-card .top-flip {
    background-color: black;
    border-top-right-radius: .1em;
    border-top-left-radius: .1em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
  
.bottom,
.flip-card .bottom-flip {
    background-color: black;
    display: flex;
    align-items: flex-end;
    border-bottom-right-radius: .1em;
    border-bottom-left-radius: .1em;
}
  
.flip-card .top-flip {
    position: absolute;
    width: 100%;
    animation: flip-top 250ms ease-in;
    transform-origin: bottom;
}
  
@keyframes flip-top {
    100% {
        transform: rotateX(90deg);
        -webkit-transform: rotateX(90deg);
    }
}
  
.flip-card .bottom-flip {
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: flip-bottom 250ms ease-out 250ms;
    transform-origin: top;
    transform: rotateX(90deg);
    -webkit-transform: rotateX(90deg);
}
  
@keyframes flip-bottom {
    100% {
        transform: rotateX(0deg);
    }
}
  
.container-segment {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    align-items: center;
    margin-right: 20px;
}
.container-segment:last-child {
    margin-right: 0;
} 
.segment {
    display: flex;
    gap: .1em;
}
.timer-section {
    width: fit-content;
}
.head-col p {
    text-transform: uppercase;
    font-size: 18px;
}  
.segment-title {
    font-size: 1rem;
}
.mg-left {
  margin-left: -18px;
}
.history .dataTables_length {
    display: none;
}
.history .dataTables_filter {
    display: none;
}
.history .dataTables_info {
    display: none;
}
.history .paginate_button {
    padding: 10px;
    background: #fff;
    border-right: 1px solid;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}
.history .paginate_button.previous.disabled, .history .paginate_button.next.disabled {
    cursor: default;
}
.paginate_button.current {
    background: #333;
    color: #fff;
}
.history .dataTables_paginate {
    margin-top: 25px;
    margin-bottom: 10px;
}
.img-load-number {
    width: 50px;
}
.img-navbar {
    width: 100%;
}
.history .table {
    font-size: 20px;
}
.content-text p {
    margin-bottom: 15px;
}
@media only screen and (min-width: 600px) {
    section.history {
        margin-bottom: 100px;
    }
    .mb-85 {
        margin-bottom: 85px;
    }
}
@media only screen and (max-width: 600px) {
    .body-slim {
        transform: scale(1);
    }
    .container-fluid.head-nav {
        flex-direction: column;
    }
    .left-section {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .right-section {
        justify-content: flex-start;
        width: 100%;
    }
    .weather-left {
        display: none;
    }
    .korean-lottery-logo .img-navbar {
        height: auto;
    }
    .link-group {
        margin-bottom: 0;
    }
    .timer-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .countdown-time {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .korean-menu {
        padding: 20px;
        text-align: center;
    }
    .korean-navbar .navbar-toggler {
        margin: 10px 0;
    }
    section.footer {
        position: relative;
    }
    .footer-section {
        padding: 30px 20px;
        border-radius: 15px;
    }
    .footer-section p {
        margin-bottom: 10px;
    }
    .bd-right {
        border-right: 0;
    }
    .col-section {
        border-radius: 15px;
    }
    h1#number {
        padding: 30px 15px;
        font-size: 35px;
    }
    button#spiner {
        margin-bottom: 30px;
    }
    .order-m-0 {
        order: 0;
    }
    .order-m-1 {
        order: 1;
    }
    .col-section .col-12 h3 {
        font-size: 30px;
    }
    .col-section .col-12 .winning-result {
        font-size: 40px;
        margin-bottom: 20px;
    }
    .about .center-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .content-text {
        text-align: center;
    }
    .korea-frame-img {
        margin-right: 15px;
    }
    .korea-frame-img:last-child {
        margin-right: 0;
    }
    .contact .center-content {
        margin-bottom: 20px;
    }
    .footer-section p:last-child {
        margin-bottom: 0;
    }
    .mg-left {
        margin-left: -10px;
    }
}