/* ============================
VIDEO
============================ */
div.bg_rutube_centerVideo {    	   
	display: block;
	position:relative;
	width: 100%;
	margin: 0;
	padding: 0; 
	padding-top: 56.25%; 
}

div.bg_rutube_videoContainer,
div.bg_rutube_videoContainer iframe {    	   
	position:absolute;
	margin: 0; 
	padding: 0;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-size: contain;
    background-repeat: no-repeat;
    background-position-y: center;
	content: ' ';
	cursor: pointer;
}

div.bg_rutube_buttonPlay {
	position:absolute;
	top: calc(50% - 1.5em);
	left: calc(50% - 1.5em);
	width: 3em;
	height: 3em;
	display: block;
	cursor: pointer;
	background-image: url(play.svg);
	cursor: pointer;
}

/* ============================
VIDEO PLAYLIST TABLE
============================ */
div.bg_rutube_videoPlayList {
	padding: 0;
	overflow: auto;
	margin: 20px auto; 
}

table.bg_rutube_videoPlayListInfo,
table.bg_rutube_videoPlayListTable {
	width: 100%;
}
table.bg_rutube_videoPlayListInfo tr, 
table.bg_rutube_videoPlayListTable tr {
	height: 4.5rem;
	border: 0;
	border-bottom: 2px solid white;
}
table.bg_rutube_videoPlayListTable tr {
	cursor: pointer;
}
table.bg_rutube_videoPlayListTable tr:nth-child(odd) {
	/* фон нечетных строк */
	background-color: #eeeeee; /* #ede4d6; */
}
table.bg_rutube_videoPlayListTable tr:nth-child(even) {
	/* фон четных строк */
	background-color: #fafafa; /* #f8f4eb; */
}
table.bg_rutube_videoPlayListTable tr:hover {
	/* фон выделенной строки */
	background-color: #cccccc; /* #FAEBCD; */ 
}
table.bg_rutube_videoPlayListTable td {
	padding-left: 10px;
	padding-right: 5px;
	height: 6rem;
	min-width: 4.5em;
}

table.bg_rutube_videoPlayListInfo td:first-child,
table.bg_rutube_videoPlayListTable td:first-child {
	background-size: contain;
    background-repeat: no-repeat;
    background-position-y: center;
    width: 10rem;
    padding: 0px;
}

td.bg_rutube_navLeft {
	text-align: left;
}
td.bg_rutube_navRight {
	text-align: right;
}

@media screen and (max-width: 960px) {
	table.bg_rutube_videoPlayListInfo td:first-child
	table.bg_rutube_videoPlayListTable td:first-child {
		width: 6rem;
	}
	table.bg_rutube_videoPlayListInfo td,
	table.bg_rutube_videoPlayListTable td {
		padding-left: 5px;
		padding-right: 2px;
		height: 4.5rem;
		min-width: 3em;
	}
}
/* ============================
MOVIE NAVIGATION
============================ */
table.bg_rutube_nav_movies {
	width: 100%;
}

.bg_rutube_navButton {
	width: 12rem;
	cursor: pointer;
	padding: 6px;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */      }

.bg_rutube_navButton:hover {
	color: darkred;
}
.bg_rutube_navButton:active {
	color: red;
}

/* ============================
PAGINATION BUTTONS
============================ */
.bg_rutube_paginate {
  text-align: center; }
  .bg_rutube_paginate ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center; }
  .bg_rutube_paginate li {
    display: inline; }
  .bg_rutube_paginate a {
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px;
    margin: 1px 2px;
    padding: 5px 10px;
    display: inline-block;
    border-top: 1px solid #fff;
    text-decoration: none;
    color: #717171;
    font-size: smaller;
    font-family: "Helvetica Neueu", Helvetica, Arial, sans-serif;
    text-shadow: white 0 1px 0;
    background-color: #f5f5f5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#eaeaea));
    background-image: -webkit-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -moz-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -ms-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: -o-linear-gradient(top, #f9f9f9, #eaeaea);
    background-image: linear-gradient(top, #f9f9f9, #eaeaea);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', EndColorStr='#eaeaea'); }
    .bg_rutube_paginate a:first-child, .bg_rutube_paginate a.first {
      margin-left: 0; }
    .bg_rutube_paginate a:last-child, .bg_rutube_paginate a.last {
      margin-right: 0; }
    .bg_rutube_paginate a:hover, .bg_rutube_paginate a:focus {
      border-color: #fff;
      background-color: #fdfdfd;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#fafafa));
      background-image: -webkit-linear-gradient(top, #fefefe, #fafafa);
      background-image: -moz-linear-gradient(top, #fefefe, #fafafa);
      background-image: -ms-linear-gradient(top, #fefefe, #fafafa);
      background-image: -o-linear-gradient(top, #fefefe, #fafafa);
      background-image: linear-gradient(top, #fefefe, #fafafa);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#fafafa'); }
    .bg_rutube_paginate a.more {
      box-shadow: 0 0 0 0 transparent;
      border: 0 none;
      background: transparent;
      margin-left: 0;
      margin-right: 0; }
    .bg_rutube_paginate a.current {
      box-shadow: rgba(0, 0, 0, 0.75) 0 0 0 0 inset;
      border-color: #505050;
      color: #f2f2f2;
      text-shadow: black 0 1px 0;
      background-color: #676767;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#5f5f5f), to(#5c5c5c));
      background-image: -webkit-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -moz-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -ms-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: -o-linear-gradient(top, #5f5f5f, #5c5c5c);
      background-image: linear-gradient(top, #5f5f5f, #5c5c5c);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5f5f5f', EndColorStr='#5c5c5c'); }
