* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    background: #EEEEEE;
    color: #000;
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: #f8ffe8;
    background: -moz-linear-gradient(top, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
    background: -webkit-linear-gradient(top, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
    background: linear-gradient(to bottom, #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%);
}

#wrapper {
    background: url(assets/images/bg.gif) repeat-x scroll 0 59px #FFFFFF;
    margin: 0 auto;
    position: relative;
    text-align: left;
    width: 980px;
    padding: 20px 0;
    overflow: hidden;
}

#header {
    background: url(assets/images/header_logo_02.png) no-repeat scroll 845px top #bfdcae;
    height: 58px;
    margin-bottom: 18px;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

#header h3 span {
    bottom: 5px;
    font-size: 12px;
    font-weight: lighter;
    position: absolute;
    right: 130px;
}

#header a {
    color: #912301;
    text-decoration: none;
}

#header a:hover {
    color: #CC0000;
    text-decoration: none;
}

#sidebar {
    float: left;
    margin-left: 20px;
    width: 240px;
}

#nav .sub a {
    background-position: 0 -60px;
}

#nav .sub a:hover {
    background-position: 0 -90px;
}

#boxmenu {
    padding: 20px;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f7f7f7 21%, #eeeeee 49%, #f7f7f7 80%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%, #f7f7f7 21%, #eeeeee 49%, #f7f7f7 80%, #ffffff 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 21%, #eeeeee 49%, #f7f7f7 80%, #ffffff 100%);
    -webkit-box-shadow: 0px 0px 3px 4px #E8E8E8;
    box-shadow: 0px 0px 3px 4px #E8E8E8;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 193px;
    height: auto;
}

#nav li {
    background: url(assets/images/line-dotted.gif) repeat-x scroll left -2px transparent;
    list-style: none outside none;
    padding: 5px;
    border-bottom: #c5c5c5 1px dashed;
}

#nav a {
    background: url(assets/images/icons.gif) no-repeat scroll 0 0 transparent;
    color: #333333;
    padding-left: 25px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

#nav a:hover {
    background-position: 0 -30px;
    color: #666666;
}

#nav a.active {
    background-position: 0 -30px;
    color: #CC0000;
    font-weight: bold;
}

#footer {
    background-color: #bfdcae;
    border-top: 5px solid #CCCCCC;
    clear: both;
    color: #333333;
    font-size: 12px;
    line-height: 15pt;
    padding: 5px 0;
    text-align: center;
    float: left;
    margin-top: 20px;
    width: 100%;
}

#info {
    background: url(assets/images/banner_bingobingo.gif) no-repeat scroll 0 0;
    width: 225px;
    height: 90px;
    margin: 10px auto 0 auto;
}

#marqueeinfo {
    width: 122px;
    height: 50px;
    margin-top: 23px;
    float: right;
    margin-right: 10px;
    overflow: hidden;
}

#periode {
    margin-left: 20px;
    margin-top: 5px;
    color: #FFF;
}

#boxresult {
    width: 640px;
    height: auto;
    margin: 0 40px;
    float: right;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #056676;
    background: -moz-linear-gradient(top, #056676 0%, #e8ded2 100%);
    background: -webkit-linear-gradient(top, #056676 0%, #e8ded2 100%);
    background: linear-gradient(to bottom, #056676 0%, #e8ded2 100%);
    padding-bottom: 10px;
}

/* ribbon style */
.ribbon-front h1 {
    color: #FFF;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    line-height: 37px;
    white-space: nowrap;
}

.ribbon-wrapper {
    position: relative;
}

.ribbon-front {
    background: #feccb1;
    background: -moz-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%, #fb955e 100%);
    background: -webkit-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%, #fb955e 100%);
    background: linear-gradient(to bottom, #feccb1 0%, #f17432 50%, #ea5507 51%, #fb955e 100%);
    height: 40px;
    top: 10px;
    width: 680px;
    position: relative;
    left: -20px;
    z-index: 2;
}

.ribbon-front,
.ribbon-back-left,
.ribbon-back-right {
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.55);
}

.ribbon-edge-topleft,
.ribbon-edge-topright,
.ribbon-edge-bottomleft,
.ribbon-edge-bottomright {
    position: absolute;
    z-index: 1;
    border-style: solid;
    height: 0px;
    width: 0px;
}

.ribbon-edge-bottomleft,
.ribbon-edge-bottomright {
    top: 40px;
}

.ribbon-edge-topleft,
.ribbon-edge-bottomleft {
    left: -20px;
    border-color: transparent #00305D transparent transparent;
}

.ribbon-edge-topleft {
    top: 0px;
    border-width: 10px 20px 0 0;
}

.ribbon-edge-bottomleft {
    border-width: 0 20px 0px 0;
}

.ribbon-edge-topright,
.ribbon-edge-bottomright {
    left: 640px;
    border-color: transparent transparent transparent #00305D;
}

.ribbon-edge-topright {
    top: 0px;
    border-width: 10px 0 0 20px;
}

.ribbon-edge-bottomright {
    border-width: 0 0 0px 20px;
}

.ribbon-back-left {
    position: absolute;
    top: -10px;
    left: 0px;
    width: 0px;
    height: 40px;
    z-index: 0;
}

.ribbon-back-right {
    position: absolute;
    top: -10px;
    right: 0px;
    width: 0px;
    height: 40px;
    z-index: 0;
}

#boxresult table {
    width: 640px;
    height: auto;
}

.resulttr1 {
    background: #056676;
}

.resulttd0 {
    width: 5px;
    border-bottom: 1px #a3d2ca solid;
}

.resulttd1 {
    background: #5eaaa8;
    width: 200px;
    height: 60px;
    margin-left: 10px;
    color: #056676;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px #a3d2ca solid;
}

.resulttd2 {
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px #a3d2ca solid;
}

.resultp1 {
    color: #FFF;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.resultp2 {
    font-size: 11px;
}

.resulttr2 {
    background: #5eaaa8;
}

.resulttr3 {
    background: #e8ded2;
}

.resulttd0-2 {
    width: 5px;
    border-bottom: 1px #a3d2ca solid;
}

.resulttd1-2 {
    background: #a3d2ca;
    width: 200px;
    height: 60px;
    margin-left: 10px;
    color: #056676;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px #a3d2ca solid;
}

.resulttd0-3 {
    width: 5px;
    border-bottom: 1px #BFBFBF solid;
}

.resulttd1-3 {
    background: #EBEBEB;
    width: 200px;
    height: 60px;
    margin-left: 10px;
    color: #056676;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px #BFBFBF solid;
}

.resulttd2-3 {
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px #BFBFBF solid;
}

.boxcontent {
    background: #5eaaa8;
    background: -moz-linear-gradient(top, #5eaaa8 0%, #a3d2ca 100%);
    background: -webkit-linear-gradient(top, #5eaaa8 0%, #a3d2ca 100%);
    background: linear-gradient(to bottom, #5eaaa8 0%, #a3d2ca 100%);
    width: 640px;
    padding: 20px 0;
    margin: 0 40px;
    float: right;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 4px 4px #056676;
    box-shadow: 0px 0px 4px 4px #056676;
}

.contenttext {
    width: auto;
    height: auto;
    padding: 20px;
}

.contenttext p {
    line-height: 18px;
    text-align: justify;
}

.titlecontent {
    text-align: center;
    text-decoration: underline;
}

.contenttext table {
    width: 100%;
}

.boxday-tr1 {
    background: #FFCC33;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

.boxday-tr2 {
    background: #FFEFA4;
    font-size: 12px;
    text-align: center;
}

.boxday-tr3 {
    background: #FFF9DF;
    font-size: 12px;
    text-align: center;
}

.boxday-tr1 td {
    padding: 5px;
}

.boxday-tr2 td {
    padding: 5px;
}

.boxday-tr3 td {
    padding: 5px;
}

#banner1 {
    margin: auto;
    width: 225px;
    height: 90px;
    margin-top: 10px;
}

#banner1 img {
    max-width: 100%;
}

.ballline {
    text-align: center;
}

.ballline2 {
    text-align: center;
}

.ballline3 {
    text-align: center;
}

.ballline em {
    background: url(assets/images/bg-ball.png) no-repeat scroll 0 0 transparent;
    color: #333333;
    display: inline-block;
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: bolder;
    height: 30px;
    letter-spacing: -1px;
    margin: 0 1px;
    padding: 3px 3px !important;
    text-align: center;
    text-decoration: none;
    text-indent: -8px !important;
    width: 34px !important;
    background-position: 0 -236px;
}

.ballline2 em {
    background: url(assets/images/bg-ball.png) no-repeat scroll 0 0 transparent;
    color: #333333;
    display: inline-block;
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: bolder;
    height: 30px;
    letter-spacing: -1px;
    margin: 0 1px;
    padding: 3px 3px !important;
    text-align: center;
    text-decoration: none;
    text-indent: -8px !important;
    width: 34px !important;
    background-position: 0 -179px;
}

.ballline3 em {
    background: url(assets/images/bg-ball.png) no-repeat scroll 0 0 transparent;
    color: #333333;
    display: inline-block;
    font-size: 21px;
    font-style: normal;
    font-variant: normal;
    font-weight: bolder;
    height: 30px;
    letter-spacing: -1px;
    margin: 0 1px;
    padding: 3px 3px !important;
    text-align: center;
    text-decoration: none;
    text-indent: -8px !important;
    width: 34px !important;
}

/* DataTable styling (rows reuse) */
.odd {
    color: #454545;
    background: #fff9df;
}

.odd td {
    padding: 5px;
    text-align: center;
}

.even {
    color: #454545;
    background: #ffefa4;
}

.even td {
    padding: 5px;
    text-align: center;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
    margin-top: 8px;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #212121;
    background-color: #fff;
    border: 1px solid #dee2e6;
    cursor: pointer;
    text-decoration: none;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #212121;
    border-color: #212121;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-item a {
    color: #212121;
    text-decoration: none;
    background-color: #fff;
}

/* Empty state */
.noresult {
    text-align: center;
    color: #556;
    padding: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    #wrapper {
        width: 96%;
        max-width: 980px;
    }

    #header {
        background-position: 100% top;
    }

    .ribbon-front h1 {
        font-size: 16px;
        white-space: normal;
    }
}

@media (max-width: 840px) {
    #header {
        height: auto;
        min-height: 58px;
    }

    #header h3 span {
        position: static;
        display: block;
        text-align: right;
        padding: 8px 10px 6px 0;
    }

    #sidebar {
        float: none;
        margin: 0 auto 20px;
        width: 96%;
    }

    #boxmenu {
        width: 100%;
        padding: 12px;
    }

    #info {
        margin-top: 10px;
    }

    #maincontent .boxcontent,
    #maincontent #boxresult {
        float: none;
        width: auto;
        margin: 0 auto;
    }

    .ribbon-front {
        width: 120%;
        left: -10%;
    }

    .ribbon-edge-topright,
    .ribbon-edge-bottomright {
        left: 100%;
    }

    .resulttd1,
    .resulttd1-2,
    .resulttd1-3 {
        width: 110px;
        font-size: 13px;
    }

    .ballline em,
    .ballline2 em,
    .ballline3 em {
        width: 26px !important;
        font-size: 16px;
        background: none;
        text-indent: 0 !important;
        padding: 6px 0 0 !important;
        border-radius: 50%;
        height: 32px;
    }

    .ballline em {
        background: #ffd9c0;
    }

    .ballline2 em {
        background: #c9ece8;
    }

    .ballline3 em {
        background: #f5efe8;
    }
}

@media (max-width: 560px) {
    #header h3 {
        text-align: center;
    }

    #header h3 span {
        text-align: center;
    }

    #marqueeinfo {
        float: none;
        margin: 26px auto 0;
    }

    .ribbon-front h1 {
        font-size: 13px;
        line-height: 40px;
    }

    #boxresult table {
        width: 100%;
    }

    .resulttd1,
    .resulttd1-2,
    .resulttd1-3 {
        width: 84px;
        font-size: 11px;
    }

    .contenttext {
        padding: 12px;
    }

    .pagination .page-link {
        padding: 0.4rem 0.5rem;
    }
}