@charset "utf-8";
/*----------------------------------
 six state election highlight banner
----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Roboto+Condensed:wght@700&display=swap');
.sse {
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.sse label {
    font-size: 26px;
    color: #fff;
    font-weight: 700;
    margin-right: 15px;
    font-family: 'Roboto Condensed', Arial, Lato, sans-serif;
    text-shadow: 1px 2px 2px #000000b0;
    line-height: 26px;
}

.sse a {
	color: #fff;
    font-size: 16px;
    background: #b00;
    padding: 4px 10px;
    border-radius: 3px;
    text-align: center;
    padding-bottom: 6px;
}

.sse a:hover {
	background:#da2128;
	color:#fff;
}

.sse .arrow-r {
    margin-top: 3px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.sse:before {
    content: ' ';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://cdn.thestar.com.my/Components/SE2023/6-states-election-highlight.png);
    background-repeat: no-repeat;
    background-position: 92% 100%;
    z-index: -1;
    background-size: cover;
}

.ge15--results {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #EDEDF3;
}
.ge15--results .ge15__logo {
  text-align: center;
  margin: 30px 0 20px;
  line-height: 13px;
}

.ge15__logo .ge15__icon {
  width: 150px;
  height: 30.69px;
}
.ge15__logo .ge15__icon image {
  width: 150px;
  height: 30.69px;
}

.ge15__barchart {
    width: 75%;
}
.ge15--results .progress-overall {
    max-width: 1200px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 15px auto;
    overflow: hidden;
    background-color: #e7e7e7;
    -webkit-box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    width: auto;
    xfloat: left;
    position: relative;
}
.ge15--results label.barLabel {
    position: absolute;
    right: 0;
    left: 0;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.ge15--results .transparent-font {
    color: rgba(255,255,255,0);
}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.bn {
    fill: #0069bb;
    background-color: #0069bb;
}
.ph {
    fill: #f44422;
    background-color: #f44422;
}
.pn {
    fill: #9944b8;
    background-color: #9944b8;
}
.gta {
    fill: #00ab99;
    background-color: #00ab99;
}
.grs {
    fill: #55b3e3;
    background-color: #55b3e3;
}
.gps {
    fill: #e6a800;
    background-color: #e6a800;
}
.othr {
    fill: #645665;
    background-color: #645665;
}
.result-box {
    display: inline-flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.bar-progress {
    font-size: 16px;
    line-height: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.text-bn p {
    color: #0069bb;
}
.text-ph p {
    color: #f44422;
}
.text-pn p {
    color: #9944b8;
}
.text-gta p {
    color: #00ab99;
}
.text-grs p {
    color: #55b3e3;
}
.text-gps p {
    color: #e6a800;
}
.text-othersParty p {
    color: #645665;
}
.result-value {
    font-size: 26px;
    line-height: 26px;
}
.ge15__footer {
    padding: 20px 0;
}
.ge15__links {
    display: inline-flex;
}
.ge15__links li:first-child a {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
}
.ge15__links li a {
    color: #b00;
    font-size: 14px;
    margin: 0 auto;
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid var(--color-border);
}

/* ge15 banner */
.ge15--banner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 10px;
    border-bottom: 1px solid #b00;
}
.bot-20 {
    margin-bottom: 20px;
}
.ge15--banner:before {
    content: " ";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://cdn.thestar.com.my/Components/GE15/images/ge15-ballot.png);
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: contain;
    z-index: -1;
}
.ge15--banner a {
    display: inline-flex;
    align-items: center;
}
.ge15--banner .ge15__icon {
    width: 86px;
    height: 16px;
}
.ge15--banner .ge15__icon image {
    width: 86px;
    height: 16px;
}
.ge15--banner label {
	margin-top : -0.7px;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
}
.ge15--banner .list-url {
    color: #b00;
    font-size: 14px;
    line-height: 14px;
    margin-top: 4px;
}
.ge15--banner .list-url i {
    font-size: 10px;
    padding: 0 4px;
    font-weight: 100;
    color: var(--color-text-1);
}

.ge15--banner .ge15__content {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 1024px) {
	.ge15__barchart {
		width: 100%;
	}
	.result-bar {
		width: 75%;
		margin: auto;
	}
	
	/* ge15 banner */
	.ge15--banner:before {
		opacity: .2;
	}
}

@media (max-width: 767px) {
	.ge15__barchart {
		padding: 0 15px;
		width: 100%;
	}
	.result-box {
		flex-wrap: wrap;
		gap: 12px 16px;
	}
	.bar-progress {
		font-size: 16px;
		line-height: 16px;
	}
	.result-box {
		flex-wrap: wrap;
		gap: 12px 16px;
	}
	.bar-progress {
		font-size: 16px;
		line-height: 16px;
	}
	
	/* ge15 banner */
	.ge15--banner:before {
		width: 88px;
	}
	.ge15--banner .ge15__content {
		align-items: flex-start;
		flex-direction: column;
		gap: 0;
		width: 85%;
	}
	.ge15--banner .ge15__icon {
		width: 100px;
		height: 22px;
		margin-bottom: 10px;
	}
	.ge15--banner .ge15__icon image {
		width: 100px;
		height: 22px;
	}
	.ge15--banner .list-url {
		line-height: 17px;
	}
}

@media (max-width: 320px) {
	.ge15__links li a {
		font-size: 12px;
		line-height: 12px;
	}
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .ge15--results {
		display: flex;
		flex-direction: column;
		align-items: center;
		/*background-color: #312f36;*/
	}
}
/*-------------------------------------------------
 six state election banner - tsol Above Main Widget
---------------------------------------------------*/
.ssep {
    border: 1px solid #ddd;
    padding: 6px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 25px;
}
.ssep:before {
    content: ' ';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://cdn.thestar.com.my/Components/SE2023/6se-01.png);
    background-repeat: no-repeat;
    background-position: 0 100%;
    z-index: -1;
    background-size: cover;
}
.ssep img {
    width: auto;
    margin: 0 10px;
    height: 30px;
    margin-bottom: 4px;
}
.ssep label {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-right: 10px;
    line-height: 20px;
}
.ssep label.sub-l {
    margin-left: 5%;
    font-size: 16px;
    font-weight: 500;
}
.ssep a {
    color: #b00;
    font-size: 16px;
    background: #ffffffe8;
    padding: 4px 10px;
    border-radius: 3px;
    text-align: center;
}
.ssep a:hover {
    background: #fff;
    color: #b00f;
}
.ssep .arrow-r {
    border-top: 2px solid #b00;
    border-right: 2px solid #b00;
    width: 7px !important;
    height: 7px !important;
}
@media only screen and (max-width: 767px) {
   .ssep {
        display: block;
        text-align: center;
        margin: 20px auto 0;
        vertical-align: middle;
    }
    .ssep:before {
        background-image: url(https://cdn.thestar.com.my/Components/SE2023/6se-01-mobile.png);
    }
    .ssep img {
        display: none;
    }
    .ssep label {
        vertical-align: middle;
        padding-top: 10px;
        margin: 0 10px;
    }
    .ssep label.sub-l {
        display: block;
        margin: 10px auto;
        padding: 0;
    }
    .ssep a {
        clear: both;
        display: inline-block;
        margin: 10px auto;
    }
}
