body {
	color: #035152;
	background: #e5f3fd;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: Montserrat; 
}










#seriesDetails{
    font-weight:bold;
    margin: 8px auto 10px 0px;
  background: #016162;
  color: #fff;
  padding: 5px 10px;
}

#summaryTabLayout,#liveTabLayout,#scoreTabLayout,#infoTabLayout,#playingXiTabLayout,#commentaryTabLayout,#liveTab,#upcomingTab,#completedTab,#results,#statsTabLayout,#tableTabLayout,#squadTabLayout,#teamSquad {
  position: relative; /* Add this line to make it the reference point for positioning */
}



.preLoader,.tabPreLoader {
  top: 0;
  left: 0;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5f3fd;
  transition: opacity 0.75s, visibility 0.75s;
}

/*.tabPreLoader {*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 50vh;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  background: #e5f3fd;*/
/*  transition: opacity 0.75s, visibility 0.75s;*/
/*}*/


.preLoader--hidden,.tabPreLoader--hidden {
  opacity: 0;
  visibility: hidden;
}






.loaderOverTimeLine{
    content:"";
    top:0;
    left:0;
    width:1px;
    height:1px;
    border:15px solid #dddddd;
    border-top-color:#009578;
    border-radius:50%;
    animation:loading 0.7s ease infinite;
      margin-right: 8px;
}




@keyframes loading{
    0% {
        transform:rotate(0turn)
    }100% {
        transform:rotate(1turn)
    }
}


.container {
	  color: black;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    background-color: #e5f3fd;
    flex-direction: column;
}

#wholeScoreBoardLayout {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

#awayTeamContainer,
#homeTeamContainer {
    display: flex;
    flex-direction: row;
	align-items: center; /* Vertical alignment */
}

#awayTeamScoreDetails,
#homeTeamScoreDetails {
    display: flex;
    flex-direction: column;
      font-size: 30px;
	    font-weight: bold;
		  margin: 0 10px;
		    text-align: center;
}

#homeTeamImg,
#awayTeamImg,
#imageView {
    width: 100px;
    height: 100px;
    object-fit: cover;
}


#teamScores {
    display: flex;
    flex-direction: row;
	  align-items: center;
	    justify-content: space-between; /* Spread items evenly along the main axis */
}


#awayTeamScore {
    align-items: end;
}

.round_view {
    border-radius: 8px;
}





#runRateLayout {
    display: flex;
    margin-top: 4px;
	justify-content: space-between;
    margin-bottom: 4px;
    background: #fff;
	    background: #fff;
	padding: 5px 10px;
	font-size: 20px;
	font-weight: bold;
}

.versus {
align-items: center;
  justify-content: center;
  display: flex;  
  color: black;
    font-weight: bold;

}

/* // tablayout ko ho aba suru chai */
#tabContainer {
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden;
  white-space: nowrap; /* Prevent line breaks */
    background-color: #035152;
}

#tabLayout {
    background: #035152;
    text-align: center;
    padding: 8px 0;
    box-sizing: border-box;
    display: block;
}

  #teamSquadTabs{  overflow-x: auto;
  overflow-y: hidden;
    white-space: nowrap;
    background-color: #035152;
    background: #035152;
    /* text-align: center; */
    padding: 8px 0;
    box-sizing: border-box;
    display: block;
}

.tabText {
    margin: 10px;
    padding-bottom: 4px;
    padding-top: 4px;
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 4px;
    color: white;
	font-weight: bolder;
  font-size: 14px;
  cursor:pointer;
}

.tabSelected, .tabText:hover, .scoreBtn:hover {
    background-color: #e5f3fd;
    color: black;
}

#viewPager2 {
    margin-top: 2px;
    width: 100%;
}

/* // batsman ko palo aba */

.card-view {
    border-radius: 4px;
    background-color: #e5f3fd;
    width: 100%;
    overflow: hidden;
}

.text-container {
	  font-weight: bold;
	  display: flex;
  justify-content: space-between;
  background: #035152;
  color: #fff;
      padding: 5px 5px;
    font-size: 20px;
}

.timeline-text-container{
    padding: 5px;
	  font-weight: bold;
	    overflow-x: auto;
	    overflow-y: hidden;
	  display: flex;
  justify-content: space-between;
  background: #e5f3fd;
}

.text-label {
}

.partner-text {
    color: #E3DDDD;
    text-align: start;
}

.recycler-container {
    background-color: #e5f3fd;
      overflow: hidden;
        margin: 0 4px;
}

/* live batsman ko  */
#cardView {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 5px;
    overflow:hidden;
}

#playerInfo {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 2px;
	  font-weight: bold;
	  	font-size: 1rem;

}

#playerImageWrapper {
    margin-right: 10px;
}

#playerImg {
    border-radius: 5px;
      border: 2px solid #c6a00c;
}

#playerDetails {
    flex: 1;
  font-weight: bold;
}

#liveBatsmanName,
#liveBowlerName {
	  font-weight: bold;
}

#runsAndBalls {
    display: flex;
    align-items: center;
}

#runsScored {
    font-size: 18px;
    color: black;
}

#ballFaced {
    font-size: 14px;
}

#statistics {
    display: flex;
    align-items: flex-end;
    margin-right: 4px;
}

#statistics>div {
    display: flex;
    flex-direction: column;
      align-items: center;
}

#fours,
#sixes,
#strikeRate,
#overs,
#runsConceded,
#wicketsTaken,
#economyRate,
#noOfFours,
#noOfSixes,
#strikeRatevalue {
    flex: 1;
    font-size: 20px;
    padding: 3px 10px;
}



#over_time_line_live_score,#over_time_line_live_balls {
    align-items: center;
    font-size: 18px;
    display: flex;
    flex-direction: row;
	font-weight: bold;

}


.overtimelineitem {
display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            margin-right: 3px;
}

#overTimelineText {
    font-size: 15px;
}






/* // commentary ko */
#ballCommentary {
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
}

#constraintLayout {
    display: flex;
            flex-direction: row;
            align-items: center;
            width: 100%;
}

#overBall {
    color: white;
            font-weight: bold;
            padding: 5px;
            border-radius: 50%;
            margin-right: 10px;
}

#commentaryOverTitle {
            font-weight: bold;
            color: #333;
                margin-left: 10px;
}

#commentaryResultCardView {
display: flex;
            align-items: center;
}

#commentaryResult {
display: flex;
            align-items: center;
}


#resultCardView {
    width: 42px;
  height: 53px;
  border-radius: 12px;
  align-self: flex-start;
}

#result {
  display: flex; /* Add flex container if needed */
  align-items: center; /* Vertical alignment */
  justify-content: center; /* Horizontal alignment */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-color: #035152;
  text-align: center; /* Center text horizontally */
  border-radius: 3px; /* Apply background radius */
  padding: 1px; /* Add padding outside */
  margin: 5px 0; /* Add margin */
  overflow: hidden; /* Hide any overflow */
}


#message {
    flex: 1;
    margin-left: 16px;
    margin-top: 7px;
    margin-bottom: 4px;
    padding-right: 10px;
    font-weight: normal;
    font-size: 10px;
}

#commentaryTop{
    display: flex;
            flex-direction: row;
            align-items: center;
            background: #035152;
    padding: 6px;
    border-radius: 0 30px 30px 0;
    width: 100px;
    justify-content: space-between;
}

#commentaryBottom {
    display: flex;
    flex-direction: row;
}

/* General styles for all devices */
#constraintLayoutover {
    background-color: rgb(2, 65, 66);
    border-radius: 5px;
    color: white;
    padding: 2px;
    font-family: 'Montserrat', sans-serif;
}

.oversummaryscore {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #035152;
    padding: 5px 20px;
}

.batterbowlercolumn {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#end-of-over-text {
    font-size: 16px;
    font-weight: bold;
}

#end-of-over-team-name {
    font-size: 14px;
    margin-top: 5px;
}

#score-text {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
}

.overbatterbowler {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 10px;
}

.overbatter, .overbowler {
    width: 48%;
    margin: 0 10px;
    align-content: center;
}

#batsman1, #batsman2, #bowler1, #bowler2 {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

#batsman1-stats, #batsman2-stats, #bowler1-stats, #bowler2-stats {
    font-size: 14px;
}

#layoutDivider {
    width: 1px;
    height: 40px;
    background-color: #7a7777;
}

.text-right {
    text-align: right;
}

/* // scorecard ho aba ya */

/* // score buttons? */
#scoreTabLayout #scoreBtns {
    display: flex;
    flex-direction: row;
    color: #fff;
    background: #016162;
    font-weight: bold;
        justify-content: center;

}

#scoreTabLayout #scoreBtns .scoreBtn {
    margin: 8px;
    padding: 8px;
    border-radius: 5px;
        cursor: pointer;

}




/* batsman,bowler,fall of wickets,summary sapaiko scorecard */

#scoreTabLayout #container {
    box-shadow: 0px 0px 10px #000000;
    border-radius: 2px;
    margin: 8px;
    width: 100%;
    background: #1A1919;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

th,
td {
    padding: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    border-width: 0;
}

#headerRow {
    background-color: #035152;
      font-weight: bold;
}

#headerRow td {
    white-space: nowrap;
    font-size: 16px;
    color: white;
}

#container {
    box-shadow: 0px 0px 10px #000000;
    border-radius: 2px;
    margin: 8px;
    width: 100%;
    background: #1A1919;
}

table {
    width: 100%;
    border-collapse: collapse;
}

#details:last-child {
}



#details,
#headerRow,
#recyclerRow {
    display: flex;
    flex-direction: row;
    font-size: 15px;
  font-weight: bold;
    border-bottom: 1px solid #a6a3a3;

}

.details-text,
.header-text,
.recycler-text {
    padding: 5px;
    white-space: nowrap;
    font-size: 11px;
}

#ballFaced {
    font-size: 14px;
  color: #00000094;
  margin-left: 2px;
}

.header-text {
    color: white;
}

.recycler-text {
    font-size: 10px;
    font-weight: bold;
    color:#5b5b5b;
}

#outStatus {
    font-size: 10px;
    padding: 0 5px 5px;
    margin-top: -4px;
      border-bottom: 1px solid #000;
}

#view {
    width: 100%;
    height: 1px;
    background: #ceb5b449;
}

/* // yet to bat */
#yetToBatLayout {
    border-radius: 3px;
    visibility: visible;
    background: #016162;
      margin-bottom: 5px;
}

#yetToBatLayout div {
    display: flex;
    flex-direction: column;
}

#yetToBatLayout .header {
    background: #035152;
    color: white;
      padding: 5px 8px;
}

#yetToBatLayout #yetToBat {
    font-size: 10px;
    color: white;
      padding: 5px 8px;
}

/* // playing xi ko ho yo */
#playerContainer {
    min-height: 50px;
    border-radius: 4px;
    margin: 4px;
	justify-content: space-between;
  display: flex;
}

#playerImg {
    width: 50px;
    height: 50px;
    object-fit: cover;
}



#playerName {
	font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#playerType {
    font-size: 12px;
	font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#playerContainer>div {
    display: flex;
    align-items: center;
    padding: 4px;
}

#playerContainer>div>div {
    flex-grow: 1;
    padding-right: 10px;
}

.playingXiBtn {
    margin: 8px;
    padding: 8px;
    border-radius: 5px;
    cursor:pointer;
}

#playingXiTabLayout #playingXiTeamBtns {

    display: flex;
	font-weight: bold;
    flex-direction: row;
    background: #035152;
	color: #fff;
	    justify-content: center;

}

/* /// summaryko button ho aba */

.summaryBtn {
    font-family: montserrat;
    background-color: #035152;
    color:#fff;
    text-align: center;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    border-radius: 5px;
      font-weight: bold;
}

.info-container {
    margin: 12px;
}

.info-card {
    border-radius: 8px;
}

.info-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.info-row {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.info-label {
    flex: 0.5;
    font-size: 15px;
      padding: 8px;
        font-weight: bold;
}

.info-value {
    flex: 2.3;
    padding: 8px;
    font-size: 15px;
      font-weight: bold;
}




a {
    text-decoration: none; /* Removes underline */
      cursor: pointer;
}


#loadMoreCommentary {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding: 5px 20px;
  background-color: #035152;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
#loadBtn {
  display: flex;
  justify-content: center;
  align-items: center;
}
#loadMoreCommentary:hover {
  background-color: #45a049;
}


#placeHolder{
    margin: 30px;
  padding: 10px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#notAvailableText{
      margin-top: 20px;
      font-size: 25px;
  font-weight: bold;
}



#extraInfo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1px 10px 1px 5px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #000;
}
#total {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  background: #016162;
  padding: 5px 10px 5px 5px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

/* For Mobile Screens */
@media only screen and (max-width: 768px) {
    /* Adjust font sizes for mobile screens */
    .text-container,
    .timeline-text-container,
    #playerInfo,
    #over_time_line_live_score,
    .summaryBtn {
        font-size: 1rem;
    }

    #awayTeamScoreDetails,
    #homeTeamScoreDetails {
        font-size: 15px;
        text-align: center;
    }
    
    #homeTeamImg, #awayTeamImg, #imageView {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

    .tabText {
        font-size: 14px;
    }

    #overBall,
    #overTitle,
    #message,
    .batsman-bowler {
        font-size: 14px;
    }

    #yetToBatLayout #yetToBat {
        font-size: 12px;
    }
    
    
    #fours,
#sixes,
#strikeRate,
#overs,
#runsConceded,
#wicketsTaken,
#economyRate,
#noOfFours,
#noOfSixes,
#strikeRatevalue {
    flex: 1;
    font-size: 16px;
    padding: 3px 10px;
}

#runRateLayout, #result {
  font-size: 15px;
}

#wholeScoreBoardLayout {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.overtimelineitem, #overTimelineText {
  color: white;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-align: center; /* Center text horizontally */
}

#notAvailableText{
      margin-top: 20px;
      font-size: 15px;
  font-weight: bold;
}

}