/**
 * TV Matchen Widget
 * #widget
 *
 */
#esgwidget body, #esgwidget html {
	overflow: hidden;
}
#esgwidget #loading-more,
#esgwidget li.match .ix {
	display: none;
}

#esgwidget .content-wrap {
	position: absolute;
	box-sizing: border-box;
	height: 100%; width: 100%;
	top: 0; left: 0;
	padding: 37px 1px 15px 0px;
	margin: 0;
	overflow: hidden;
	z-index: 10;
	border-radius: 4px;
}
#esgwidget .not-rounded .content-wrap {
	border-radius: 0;
}
#esgwidget .partner-widget .content-wrap {
	padding: 50px 2px 2px 2px;
}

#esgwidget .theme-blue main {
	background: #0092d0;
}
#esgwidget .tvm-wlogo {
	background-position: 0 -71px;
	float: right;
	background-size: 110px auto;

	width: 100px;
	height: 18px;
	margin-left: 6px;
	display: inline-block;
}
#esgwidget .da_DK .tvm-wlogo {
	background-position: 0 -89px;
	width: 92px;
}
#esgwidget .nb_NO .tvm-wlogo {
	background-position: 0 -106px;
	width: 107px;
}

#esgwidget .en_GB .tvm-wlogo {
	background-position: 0 -289px;
	width: 110px;
}

#esgwidget .de_DE .tvm-wlogo {
	background-position: 0 -351px;
	width: 110px;
}

.theme-white .tvm-wlogo {
	background: url('%IMGDIR%/sprite_logos_black.png') no-repeat;
	background-size: 110px auto;
}


#esgwidget .theme-black main,
#esgwidget .theme-black .date-month {
	background: #333;
}
#esgwidget .theme-gray main,
#esgwidget .theme-gray .date-month {
	background: #aaa;
}
#esgwidget .theme-white main {
	background: #fff;
}
#esgwidget .theme-gray header,
#esgwidget .theme-gray .date-month,
#esgwidget .theme-blue header,
#esgwidget .theme-black header,
#esgwidget .theme-black .date-month {
	color: white;
}

#esgwidget #content {
	height: 100%;
	width: 100%;
	max-width: 100%;
	background: white;
	margin: 0;
	overflow-y: auto;
}
#esgwidget header,
#esgwidget footer {
	position: fixed;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 20;
	background-color: #1d1130;
}
#widget-debug {
	display: none;
	background: #fff;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}
#esgwidget header {
	height: 37px;
	box-shadow: 0 0 8px rgba(0,0,0,.2);
	padding: 11px;
	top: 0;
	font-family: "Segoe UI", sans-serif;
}
#esgwidget .partner-widget header {
	height: 50px;
	padding: 15px;
}
#esgwidget .partner-widget header a.presented {
	top: 15px; right: 15px;
}
#esgwidget .partner-widget header h1 {
	font-size: 16px;
	height: 22px;
}

#esgwidget footer {
	box-shadow: 0 0px 2px rgba(0,0,0,.2);
	bottom: 0;
	font-family: "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
	color: #ffffff;
	padding: 3px 0;
}
#esgwidget footer span {
	opacity: 0.7;
}
#esgwidget a.presented {
	position: absolute;
	font-size: 12px;
	color: inherit;
	font-weight: 600;
	width: 97.7px;
	height: auto;
	right: 12.7px;
	top: 50%;
	transform: translateY(-50%);
}
.esgwidget-header span {
	position: absolute;
    font-weight: 300;
    right: 118.4px;
	transform: translateY(-50%);
	opacity: .7;
	color: #fff;


}
@media (min-width: 250px) {
	.esgwidget-header span {
		position: absolute;
		font-weight: 300;
		right: 118.4px;
		transform: translateY(-50%);
		opacity: .7;
		top: 48%;
		font-size: 9px;
	}
	#esgwidget header h1 {
		font-size: 12px;
		margin-right: 151px;
	}
}

@media (min-width: 400px) {
	.esgwidget-header span {
	top: 45%;
	font-size: 12px;
	}
}

#esgwidget a.presented span {
	display: none;
}
#esgwidget header h1 {
	font-size: 16px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: hidden;
	white-space: nowrap;
	height: 18px;
	line-height: 1;
	margin: 0;
	max-width: 100%;
	margin-right: 170px;
}
#esgwidget li.match .details a.league:hover {
	color: #888;
}

@media only screen and (min-width: 600px) {

	#esgwidget a.presented span {
		line-height: 18px;
		display: inline;
	}

}

/* @media (max-width: 300px) {
	#esgwidget a.presented {
		width: 160px;
		top: 6px;
	}
} */