.player-portrait {
  display: inline-block;
  width: 206px;
  height: 206px;
  margin-right: 2px;
  margin-bottom: 2px;
  color: #eee;
  text-align: center;
	margin-right: 6px;
	cursor: pointer;
}

.player-portrait .hoverinfos {
	margin-top: 149px;
	height: 58px;
	vertical-align: bottom;
	color: white;
	background-color: #015896
	background: -moz-linear-gradient(-45deg, #015896 0%, #144d75 100%);
	background: -webkit-linear-gradient(-45deg, #015896 0%,#144d75 100%);
	background: -o-linear-gradient(-45deg, #015896 0%,#144d75 100%);
	background: linear-gradient(to bottom right, #015896 0%,#144d75 100%);
}

.player-portrait .number {
	font-size: 31px;
	font-weight: 700;
	color: #015896;
	width: 52px;
	background-color: white;
	display: table-cell;
	vertical-align: middle;
}
.player-portrait .info {
	display: table-cell;
	vertical-align: middle;
  padding: 0 5px;
  width: 134px;
  height: 58px;
  text-align: left;
}
.player-portrait .name {
	font-size: 14px;
	font-weight: 700;
	display:block;
}

.player-portrait .position {
	font-weight: 400;
	font-size: 13px;
}

body.hcm_team_page div.hcm-sponsor-link {
	display: inline-block;
	background-color: #fff;
	height: 100px;
	width: 250px;
	margin: 0 1px 1px 0;
	text-align: center;
	border: 5px solid white;
	vertical-align: middle;

	overflow: hidden;
}
div.hcm-sponsor-link div.img a {
  display:block;
	width: 250px;
	height: 100px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 50%;
	max-height: 100%;
	max-width: 100%;
	border: 5px solid white;
}

body.hcm_team_page div.hcm-sponsor-link div.img a {
	border: none;
	margin: 0;
	padding: 0;
}

/*
body.hcm_team_page div.hcm-sponsor-link {
  position: relative;
	display: inline-block;
	background-color: #fff;
	height: 100px;
	width: 250px;
	margin: 0 1px 1px 0;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
}

body.hcm_team_page div.hcm-sponsor-link a {
	display: inline-block;
  position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
}
body.hcm_team_page div.hcm-sponsor-link img {
	width: 100%;
	max-height: 92px;
	max-width: 248px;
	float: none;
	margin: 0;
	border: 0;
	padding: 0;
}

/* iPhone mobile webkit */

/*
@media screen and (max-device-width: 480px) {
	body.hcm_team_page div.hcm-sponsor-link a {
		position: absolute;
		top: 0;
		left: 0;
		margin-top: inherit;
		margin-right: inherit;
		transform: normal;
	}
}
*/




table.hcm-games td {
  padding-right: 10px;
}

table.team-site td ,
table.team-site th {
  padding-right: 10px;
}

table.team-site .points {
  text-align: center;
}

table.team-site tr.next_game td {
  border-top: 1px solid rgba(255,255,255,0.2);
}

table.team-site tr.next_game:after {
  content: '';
	border: solid 8px;
	border-color: transparent rgba(255,255,255,0.5) transparent transparent;
	position: absolute;
	margin-top: -8px;
	margin-left: -6px;
	height: 0px;
	width: 0px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.mod_shvgames_rankings {
	border-top: 1px solid rgba(255,255,255,0.2) !important;
	border-bottom: 1px solid rgba(255,255,255,0.2) !important;
}

body.hcm_team_page th.center,
body.hcm_team_page td.center {
	text-align: center;
}


body.hcm_team_page div.indicator {
	border-right: 4px solid rgba(255,255,255,0.7);
	border-left: 4px solid rgba(255,255,255,0.7);
	color: inherit;
	margin: 0;
	padding: 0 10px;
}
body.hcm_team_page div.indicator.won  { border-color: rgba(0,192,96,0.7) }
body.hcm_team_page div.indicator.loss { border-color: rgba(256,0,0,0.7) }


body.hcm_team_page img.modal-content {
	width: 500px;
	margin-bottom: 0 !important;
	border: none !important;
}
body.hcm_team_page #caption {
	color: white;
	width: 500px;
	height: auto;
	background: -moz-linear-gradient(-45deg, #015896 0%, #144d75 100%);
	background: -webkit-linear-gradient(-45deg, #015896 0%,#144d75 100%);
	background: -o-linear-gradient(-45deg, #015896 0%,#144d75 100%);
	background: linear-gradient(to bottom right, #015896 0%,#144d75 100%);
	padding: 0;
}
body.hcm_team_page #caption table {
	margin: 0;
}
body.hcm_team_page #caption th,
body.hcm_team_page #caption td {
	padding-right: 10px;
	text-align: left;
}
body.hcm_team_page #caption th {
	font-weight: 700;
	font-size: 24px;
}
body.hcm_team_page #caption th.number {
	font-size: 55px;
	font-weight: 700;
	color: #015896;
	width: 100px;
	height: 100px;
	padding: 0;
	background-color: white;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
body.hcm_team_page #caption td.infos {
	padding: 20px;
}

body.hcm_team_page #caption td.infos th {
	padding-bottom: 5px;
}

.hcm_issuu_widget iframe {
  width: 100%;
}

table.mod_shvgames_rankings,
table.hcm-games
{ width: 100%; }
table.hcm-games td, table.hcm-games th,
table.team-site td, table.team-site th { padding: 5px; }
table.mod_shvgames_rankings tbody, table.mod_shvgames tfoot,
table.team-site tbody, table.team-site tfoot
{ font-size: 12px; }
table.mod_shvgames_rankings th { text-align: left; }
table.mod_shvgames_rankings .hometeam td {
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(0,0,0,0.2);
}
table.mod_shvgames_rankings .ranking  { text-align: center; width: 10px; }
table.mod_shvgames_rankings .played  { text-align: center; }
table.mod_shvgames_rankings .games  { text-align: center; width: 1%; }
table.mod_shvgames_rankings .goals  { text-align: center; }
table.mod_shvgames_rankings .games_played  { text-align: right; color: rgba(255,255,255,0.5); padding-right: 3px; }
table.mod_shvgames_rankings .points  { text-align: right; }
table.team-site tr { border-bottom: 1px solid rgba(0,0,0,0.5); }
table.team-site tr.hometeam * { color: white !important }
table.team-site tr.next_game { border-top: 3px solid #1e2749; }
table.team-site tr:nth-of-type(odd), table.mod_shvgames_rankings tr:nth-of-type(odd) { background: rgba(5,90,150,0.1); color: inherit; }
table.mod_shvgames_rankings tr.hometeam {         background-color: #1e2749; }
table.mod_shvgames_rankings tr.rank-dp {          background-color: rgba(  0,192, 96, 0.5) !important; }
table.mod_shvgames_rankings tr.hometeam.rank-dp { background-color: rgba( 35, 89, 82, 0.8) !important; }
table.mod_shvgames_rankings tr.rank-pq {          background-color: rgba(  0,128, 96, 0.5) !important; }
table.mod_shvgames_rankings tr.hometeam.rank-pq { background-color: rgba( 35, 25, 82, 0.8) !important; }
table.mod_shvgames_rankings tr.rank-dq {          background-color: rgba(128,  0,  0, 0.5) !important; }
table.mod_shvgames_rankings tr.hometeam.rank-dq { background-color: rgba(163,  0,  0, 0.8) !important; }
table.mod_shvgames_rankings tr.rank-dd {          background-color: rgba(255,  0,  0, 0.5) !important; }
table.mod_shvgames_rankings tr.hometeam.rank-dd { background-color: rgba(255,  0,  0, 0.8) !important; }

p.mod_shvgames_rankings_team_link { padding-top: 10px; text-align: center;}

table.mod_shvgames_games td { vertical-align: middle; }
table.mod_shvgames_games td.result a { color: #fff; text-decoration: underline rgba(255,255,255,0.25); }
table.mod_shvgames_games { width: 100%; }
table.mod_shvgames_games th { text-align: left; }
table.mod_shvgames_games th, table.mod_shvgames td { padding: 3px; }
table.mod_shvgames_games tbody, table.mod_shvgames tfoot { font-size: 12px; }
table.mod_shvgames_games tr.odd { background: rgba(5,90,150,0.1); color: inherit; }
table.mod_shvgames_games .result { text-align: center; }
table.mod_shvgames_games .result span.live,
table.mod_shvgames_games .result span.ticker_time,
table.mod_shvgames_games .result span.ticker_result {
	display:block;
	background: rgba(255,255,255,0.9);
	border-left: 5px solid rgba(5,90,150,0.5);
	border-right: 5px solid rgba(5,90,150,0.5);

}
@keyframes blink {
	80% { visibility: hidden; }
}
table.mod_shvgames_games .result span.live * {
	animation-duration: 1s;
	animation-name: blink;
	animation-iteration-count: infinite;
	animation-timing-function: steps(10, start);
}
table.mod_shvgames_games .result span.ticker_result { font-size: 15px; }
@keyframes blink { 50% { color: transparent; } }
@-webkit-keyframes blink { 50% { color: transparent; } }
table.mod_shvgames_games .result span.live {
	color: red;
	font-weight: bold;
	border-bottom: 1px solid rgba(255,0,0,0.5);
	animation: blink 1s steps(1) infinite;
	-webkit-animation: blink 1s steps(1) infinite;
}
table.mod_shvgames_games .result span.live a:visited,
table.mod_shvgames_games .result span.live a:active,
table.mod_shvgames_games .result span.live a { color: red !important; }
table.mod_shvgames_games .result span.ticker_result { color: black; font-weight: bold; }
table.mod_shvgames_games .result span.ticker_time { color: rgba(0,0,0,0.5); }
table.mod_shvgames_games .winner { font-weight: bold; }
table.mod_shvgames_games .league{ font-weight: bold; /*padding-left: 5px; */ }
table.mod_shvgames_games .home{  text-align: right; }
table.mod_shvgames_games .vs{ text-align: center; }
table.mod_shvgames_games .guest{  text-align: left; }
table.mod_shvgames_games .indicator  { display: inline-block; padding: 0 3px; }
table.mod_shvgames_games .won  { color: rgba(0,192,96,1) }
table.mod_shvgames_games .loss { color: rgba(256,0,0,1) }
table.mod_shvgames_games .date{ text-align: left; text-size: 10px; padding-left: 3px; }
table.mod_shvgames_games .hall{ text-align: right; text-size: 10px; }
table.mod_shvgames_games .leader {
	background: -moz-linear-gradient(top, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%) !important;
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.05) 100%) !important;
	background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.05) 100%) !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26ffffff', endColorstr='#0dffffff',GradientType=0 ) !important;

	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
	border-left: 3px solid rgba(255,255,255,0.6);
}
