@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800');

body {
    font-family: 'Nunito', sans-serif;
    background-color:#f3efe4;
    background-image: url(../img/bg-full.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

html,body{
	scroll-behavior: smooth;
    overflow-x: hidden;
}

.wrapper{
    width: 1011px;
    margin: 0 auto;
    background-color:rgba(0,0,0,0.5);
}

.wrapper-title {
	padding: 0 5px;
    background: linear-gradient(219deg, rgba(236,200,29,0) 0%, rgba(188,159,16,1) 70%);
	border-radius: 5px;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.marquee-text{
	display: flex;
	justify-content: center;
    background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
    color: #fff;
    padding: 5px 0;
}

.time-text{
	display: flex;
	justify-content: space-between;
    background-color: #bc9f10;
    color: #fff;
    padding: 5px 15px;
}


.img-center{
    display: flex;
    justify-content: center;
}

.div-center{
    display: flex;
    justify-content: center;
}

.width-987{
    width: 987px;
}

.footer-bg{
    width: 987px;
}

.width-977{
    width: 977px;
}

.white-border{
    border: 3px solid #ccdbf0;
}

.result-bg{
    width:987px;
}

.more-button{
    background-image: linear-gradient(to right, #b82128 , #b82128);
    color: #fff;
    padding: 5px;
    width: 200px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 20px;
    transition: all 0.5s;
    cursor: pointer;
}

.more-button a{
    color: #fff;
}

.more-button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.more-button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.more-button:hover span {
    padding-right: 25px;
}

.more-button:hover span:after {
    opacity: 1;
    right: 0;
}

.more-button:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.bank{
    background-color:#fff;
    width:987px;
    color:#fff;
}

@media (min-width: 768px) {
    .history-button {
        display: none;
    }
}

/*Datatable*/
table thead {
	background-color: #b82128;
}

/*Pagination*/
.page-item .page-link:focus,
.page-item .page-link:hover,
.page-item .page-link:focus,
.page-item .page-link:hover {
	z-index: 1;
	color: #ffffff;
	background-color: #ecc81d;
	border-color: #bc9f10;
}

.page-item .page-link {
	z-index: 1;
	color: #212529;
	background-color: #fffaef;
	border-color: #bc9f10;
}

.page-item.disabled .page-link {
	z-index: 1;
	color: #6c757d;
	background-color: #fffaef;
	border-color: #bc9f10;
}

.page-item.active .page-link {
	z-index: 1;
	color: #fff;
	background-color: #bc9f10;
	border-color: #bc9f10;
}

/*Next Drawing*/

.hr-line{
	border: 1px solid rgba(255,255,255,0.5);
}

.title-text{
	background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
    color: #fff;
    margin-bottom: 5px;
    padding: 10px 0;
    border-radius: 5px;
}

/*Newwest Result*/
.text-card-header {
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
	width: 100%;
}

.text-card-header-items {
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
	width:50%;
}

.text-date {
	font-size: 27px;
}

.new-text-prize {
	font-size: 27px;
}

.recent-text-prize {
	font-size: 17px;
}

.text-period {
	font-size: 20px;
}

.right-box{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #b82128;
    padding: 25px 0;
    border-radius: 5px;
}

.right-box div.text-box, .right-box h2.text-box{
    color: #b82128;
    font-size: xxx-large;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffffff;
}

.right-box img.image-box{
    width: 300px;
}

.card-new-results{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.card-new-results-header{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 10px 12px;
    background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

.card-new-results-body{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	background-color: #bc9f1090;
	border: 1px solid #bc9f10;
}

.card-new-results-items{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: baseline;
    padding: 10px 12px;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}

.card-new-results-items:last-child{
    border-bottom: 5px solid #bc9f10;
}

.card-new-results-footer{
    display:flex;
	flex-wrap:nowrap;
	justify-content:center;
	padding: 10px 12px;
    background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.new-result-number{
    background-color: #ffffff;
    width:50px;
    height:50px;
    color:#bc9f10;
    display:inline-block;
    padding:0px 8px 0px;
    font-size:36px;
	border-radius: 50%;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

/*Recent Result*/
.text-card-header-recent {
	display: flex;
    flex-wrap: nowrap;
	flex-direction:column;
    justify-content: center;
	width: 100%;
}

.text-card-header-recent-items {
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.title-recent-results{
    background-color:#b82128;
    color:#fff;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
	border-radius: 5px;
}

.card-recent-results{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.card-recent-results-header{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 10px 12px;
    background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

.card-recent-results-body{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	background-color: #bc9f1090;
    border: 1px solid #bc9f10;
}

.card-recent-results-items{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 12px;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}

.card-recent-results-items:last-child{
    border-bottom: 5px solid #bc9f10;
}

.card-recent-results-footer{
    display:flex;
	flex-wrap:nowrap;
	justify-content:center;
	padding: 10px 12px;
	background-color: #ED2939;
}

.recent-result-number{
    background-color: #ffffff;
    width: 30px;
    height: 30px;
    color: #bc9f10;
    display: inline-block;
    padding: 0px 8px 0px;
    font-size: 22px;
	border-radius: 50%;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

/*History Results Number*/
.history-result-number{
    background-color: #ffffff;
    width:30px;
    height:30px;
    color:#bc9f10;
    display:inline-block;
    padding: 0px 0px 0px;
    font-size:22px;
	border-radius:50%;
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.filter-history-results{
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    background-color: #b82128;
    border-radius: 5px;
}

.filter-history-results div{
	margin: 10px 10px;
    padding: 0 35px;
    background-color: #cb2e2d;
    color: #fff;
    border-radius: 4px;
	cursor:pointer;
}

.filter-history-results div.active, .filter-history-results div:hover{
    background-color: #5e1824;
}

@media (max-width: 768px) {
	.time-text{
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		color: #fff;
		padding: 5px 15px;
	}
	
	.card-new-results-body{
		margin-bottom: 5px;
	}
}

/* HEADER */
.header{

}

.upper-header{
    margin:auto;
    width: 65%;
}

.bg-orange{
    background:linear-gradient(to top, #b82128, #051425);
}

.bg-light-header{
    background-color:#cb2e2d;
}

.bg-dark-header{
    background-color:#b82128;
	border-bottom: 5px solid #b82128;
}

.topnav {
	display: flex;
    flex-wrap: nowrap;
    justify-content: right;
	align-items: center;
}

.topnav div.row {
	margin: 0 5px;
}

.topnav div.row a{
	padding: 5px 10px;
	color: #000000;
	text-decoration: none;
	font-weight: 700;
	font-size: 20px;
}

.topnav div.row a.active, .topnav div.row a:hover{
	color: #bc9f10;
}

.lower-header{
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: auto;
    width: 65%;
    overflow: hidden;
}

.lower-header a{
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    padding: 10px 15px;
    font-weight: 700;
}

.lower-header a.active, .lower-header a:hover{
    background-color: #b82128;
    color:#fff !important;
}

.mobile-container{
    display: none;
}

/* FOOTER */
.wrapper-footer{
    margin: 0 auto;
    width: 1011px;
}
.content-footer{
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.copyright{
    text-align: center;
    background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
	color: #ffffff;
	border-bottom: 5px solid #bc9f10;
    height: 50px;
    padding: 10px;
}

/* SLIDER */
    .nivo-prevNav,
    .nivo-nextNav{
        height: 40px;
        width: 40px;
        text-indent: 9999px;
        background-position: 0px 0px;
        -webkit-transition: margin 0.3s ease-in-out;
        -moz-transition: margin 0.3s ease-in-out;
        -ms-transition: margin 0.3s ease-in-out;
        -o-transition: margin 0.3s ease-in-out;
        transition: margin 0.3s ease-in-out;
        background-repeat: no-repeat;
    }
    .nivo-prevNav {
        background: url("../img/large_left.png");
        margin-left: -60px;
    }
    .nivo-nextNav {
        background: url("../img/large_right.png");
        margin-right: -60px;
    }
    .nivo-prevNav:hover {
        background-position: 0px -40px;
    }
    
    .nivo-nextNav:hover {
        background-position: 0px -40px;
    }
    #slider:hover .nivo-prevNav {
        margin-left: 20px;
    }
    #slider:hover .nivo-nextNav {
        margin-right: 20px;
    }
    .nivo-controlNav {
        display: none;
    }
    .nivo-caption {
        background: none;
    }
    .nivo-directionNav a{ 
        display: block;
    }
    .nivoSlider {
        border:10px solid #cb2e2d;
        border-radius: 5px;
        -webkit-box-shadow:0 0 4px rgba(0,0,0,.3) ;
        -moz-box-shadow:0 0 4px rgba(0,0,0,.3) ;
        box-shadow:0 0 4px rgba(0,0,0,.3) ;
    }



/* =========================== MOBILE =========================== */
@media (max-width: 768px) {
    #header{
        display: none;
    }
    .mobile-container{
        display: block;
    }
    .wrapper{
        max-width: 95%;
    }
    .width-987{
        max-width: 93%;
    }
    .footer-bg{
        max-width: 100%;
    }
    .width-977{
        max-width: 93%;
    }
    .result-bg{
        max-width: 93%;
    }
    .first-prize{
        background-size:34px 34px;
        width:34px;
        height:34px;
        margin:-10px 0px 10px;
        padding:3px 12px 15px;
        font-size:20px;
    }
	
	.text-card-header {
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: center;
		width: 100%;
	}
	
	.text-card-header-items {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		width: 100%;
	}
	
	.card-new-results-items {
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		padding: 10px 12px;
		border-bottom: 1px solid rgba(255,255,255,0.5);
	}
	
	/*Footer*/
	.content-footer{
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
    .calendar.medium{
        background-position: -249px -120px; 
        width: 53px; 
        height: 55px;
    }
    .calendar.medium .calDate{
        font-size: 25px;
        margin-top: -22px;
    }
    .cal-month{
        padding-top: 5px;
    }
    .wrapper-footer{
        max-width: 100%;
    }

    .img-footer{
        padding-top: 15px;
        padding-bottom: 30px;
    }

    /* Style the navigation menu */

    .topnav2{
        background-image: radial-gradient(circle, #ecc81d, #e0be1a, #d4b317, #c8a913, #bc9f10);
        overflow: hidden;
        position: relative;
        margin-bottom: 15px;
		filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
    }

    .topnav2 #myLinks2 {
        display: none;
    }
	
    .topnav2 #myLinks2 a.active {
		background-color: #ecc81d;
    }
	
	.topnav2 select{
		margin: 5px 0;
		padding: 15px 15px;
		background-color: #ecc81d;
		color: #fff;
		border: 0;
		width: 100%;
	}

    .topnav2 a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    .topnav2 a.icon {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
		margin-top: 17px;
		margin-right: 7px;
    }

    .topnav2 a:hover {
        background-color: #ecc81d;
        color: #ffffff;
    }

    .active {
        background-color: #15548a;
        color: white;
    }

    .filter-history-results{
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        justify-content: space-around;
        background-color: #b82128;
        border-radius: 5px;
    }

    .filter-history-results div{
        margin: 5px 10px;
        padding: 0 35px;
        background-color: #ecc81d;
        color: #fff;
        border-radius: 4px;
        cursor: pointer;
    }

    .filter-history-results div:first-child{
        margin-top: 10px;
    }

    .filter-history-results div:last-child{
        margin-bottom: 10px;
    }

    .right-box div.text-box, .right-box h2.text-box{
        font-size: xx-large;
    }

    .right-box img.image-box{
        width: 200px;
    }
}
