<?php
// Fijar el canonical manualmente para esta URL
function agregar_canonical_proximos_estrenos() {
    if (is_page_template('proximos-estrenos.php')) {
        echo '<link rel="canonical" href="https://www.peelink2.com/proximos-estrenos/" />' . "\n";
    }
}
add_action('wp_head', 'agregar_canonical_proximos_estrenos');
?>

#newrepros {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    /* background: red; */
    margin-top: 25px;
    margin-bottom: 25px;
    background: #292929;
    /* min-height: 250px; */
}
#newrepros .nr-content {
    position:  absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align:  center;
    width:  100%;
}
#newrepros .nr-content .nr-title {
    font-size: 22px;
    padding:  0px 15px;
}
#newrepros .nr-content .videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	/* margin-top: 61px; */
}
#newrepros .nr-content .videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#newrepros .nr-icoslang {
    display:  flex;
    margin-top: 20px;
    text-align: center;
    justify-content:  center;
}
#newrepros .nr-icoslang span {
    margin: 0px 15px;
    display: inline-block;
    cursor:  pointer;
    transition: all ease .5s;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#newrepros .nr-icoslang .nr-lang[data-lang*="lat"] {
    background-image: url('images/icon_lat.png');
}
#newrepros .nr-icoslang .nr-lang[data-lang*="esp"] {
    background-image: url('images/icon_es.png');
}
#newrepros .nr-icoslang .nr-lang[data-lang*="sub"] {
    background-image: url('images/icon_sub.png');
}
.nr-onlinedownload,
.nr-options {
    background: #000;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 10px;
    font-size: 15px;
    margin-top: 15px;
    cursor: pointer;
	height: auto !important;
}
.nr-onlinedownload:hover, 
.nr-options:hover {
    background: #ff850b;
}
#newrepros .nr-icoslang span:hover {
    transform: scale(1.2);
}
#newrepros .nr-servers {
    display:  flex;
    justify-content:  center;
    flex-wrap: wrap;
}
#newrepros .nr-servers .nr-server {
    flex: none;
    text-align:  center;
    background: #353535;
    padding:  10px;
    border-radius: 10px;
    margin:  0px 10px;
    cursor:  pointer;
    transition: all ease .5s;
    width: 25%;
    box-sizing: border-box;
    margin-top: 15px;
}
#newrepros .nr-servers .nr-server:hover {
    transform: scale(1.1);
}
#newrepros .nr-servers .nr-server img {
    height: 35px;
    padding:  0;
    display:  block;
    margin:  auto;
}
#newrepros .nr-header {
    color:#FFF;
    padding: 10px 15px;
    position:  absolute;
    top: 0;
    background: #1e1e1f;
    width:  100%;
    font-size: 12px;
    box-sizing: border-box;
    z-index:  9999;
    cursor: pointer;
}
#newrepros .nr-header span {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAADrSURBVHja5NQxbsJAEAXQP7ukDJE1kt2liAQSR0jppMsFfMY0tBFlKGgSUdBwAySsXW2gC2ZnKNwglAZ7lYY5wNPO6v8hVUXKMUg8/wOGEB5+vJ8F596uBQd/YSQyAzA8xPjd64UXWFkURd0ZPMPuDzGWeZ5vO//hBfbSFQMAc479Ho9lHwwAyDu3APAM4IOAumdq9sYAm4QxFFLVu+D9OxkziSKvzLzpG+wmY65UZE1E8xDCY4qmNBlzRaorFZnv6vopRfVaFFiqtZ/OuXGKLrfrA1+DFh2lOA5NxlyJ6tRam1+dw9s7sKcBANefe5Xmnv76AAAAAElFTkSuQmCC');
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
#newrepros.repros {
	height: inherit;
    padding: 0;
}
#newrepros.repros .nr-content[data-type="repro"] {
	position: initial;
    transform: none;
    top: 0;
	background: #000;
}
#newrepros .tituloX {
	text-align: left;
}
#newrepros .tituloX:nth-of-type(1) {
	padding-top: 50px;
}
@media(max-width:690px) {
    #newrepros .nr-servers .nr-server {
        width: 42%;
    }
}
@media(max-width:490px) {
    #newrepros {
        min-height: 250px;
    }
    #newrepros .nr-content .nr-title {
        font-size: 18px;
    }
    #newrepros .nr-servers .nr-server {
        width: 80%;
    }
}

#newrepros_2 {
    /* background: rgba(255,255,255,.1); */
}
#newrepros_2 ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}
#newrepros_2 ul li {
    float: left;
    margin: 0;
}
#newrepros_2 ul li a {
    display: block;
    padding: 10px 25px;
    color: #737373;
    text-decoration: none;
    /* background: rgba(255,255,255,.1); */
    font-size: 18px;
}
#newrepros_2 .nr-langs li.active a,
#newrepros_2 .nr-langs li a:hover {
    background: rgba(255,255,255,.2);
    color: #FFF;
}
#newrepros_2 .nr-options {
    background: rgba(255,255,255,.2);
    width: 100%;
    border-radius: 0;
    margin-bottom: -5px;
}
#newrepros_2 .nr-options a {
    font-size: 15px;
    border-bottom: 2px solid transparent;
    position: relative;
}
#newrepros_2 .nr-options a.vip {
	padding-left: 50px;
}
#newrepros_2 .nr-options .vip span {
    background: green;
    padding: 0px 5px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 3px;
    font-size: 10px;
    text-transform: uppercase;
    position: absolute;
    left: 15px;
    color: #cacaca;
}
#newrepros_2 .nr-options .active a,
#newrepros_2 .nr-options li a:hover {
    border-bottom: 2px solid #cc5600;
    color: #ccc;
}
#newrepros_2 .nr-video {
    padding: 20px;
    background: rgba(255,255,255,.2);
}
#newrepros_2 .nr-player {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
    background-size: cover;
    cursor: pointer;
}
#newrepros_2 .nr-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#newrepros_2 .nr-player:not(.nr-player-active) {
    background:#000 !important;
}
#newrepros_2 .nr-player.nr-player-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
#newrepros_2 .nr-player.nr-player-active::after {
    content: '';
    position: absolute;
    top: 50%;
    background: url('images/play-button.png') center no-repeat;
    width: 100px;
    height: 100px;
    background-size: cover;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    transition: all ease 0.25s;
    -webkit-transition: all ease 0.25s;
    -moz-transition: all ease 0.25s;
    -ms-transition: all ease 0.25s;
    -o-transition: all ease 0.25s;
    z-index:99;
}
#newrepros_2 .nr-player.nr-player-active:hover::after {
    width: 110px;
    height: 110px;
}
.downloadrapidvideo,
.fixeddownload a {
	display: block;
    background: #0d4fc7;
    color: #FFF !important;
    width: 100px;
    clear: both;
    float: right;
    text-align: center;
    padding: 9px 10px 7px;
    border-radius: 3px;
    border-bottom: 3px solid rgba(0,0,0,0.2);
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 7px;
}
.downloadrapidvideo:hover {
	background: blue;
}
.fixeddownload {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999999;
}
.fixeddownload > div {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFF;
    width: 500px;
    max-width: 100%;
    padding: 50px 20px;
    border-radius: 10px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}
.fixeddownload h2 {
	color: #000;
    font-size: 25px;
}
.fixeddownload a {
	float: none;
	margin: auto;
}
.fixeddownload a.closefixed {
	background: red;
	width: auto;
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 0;
	background: transparent;
	color: #a3a3a3 !important;
	border: 0;
	font-size: 20px;
}
.wp_rp_wrap .related_post_title {
    clear: both;
    padding: 0!important;
    margin: 0!important
}

div.wp_rp_content {
    display: inline-block!important
}

div.wp_rp_footer {
    text-align: right!important;
    overflow: hidden!important
}

div.wp_rp_footer a {
    display: inline-block!important;
    color: #999!important;
    font-size: 11px!important;
    text-decoration: none!important
}

div.wp_rp_footer a.wp_rp_edit {
    color: #fff!important;
    font-size: 12px!important;
    text-decoration: underline!important;
    font-weight: 700!important;
    background: #f79124!important;
    border-radius: 2px!important;
    padding: 3px 6px
}

ul.related_post {
    display: inline-block!important;
    position: relative!important;
    margin: 0!important;
    padding: 0!important
}

ul.related_post li {
    position: relative!important;
    display: inline-block!important;
    vertical-align: top!important;
    zoom:1!important;*display: inline!important;
    width: 100px!important;
    margin: 10px 10px 10px 0!important;
    padding: 0!important;
    background: 0 0!important
}

ul.related_post li a {
    position: relative!important;
    display: block!important;
    font-size: 12px!important;
    line-height: 1.5em!important;
    text-decoration: none!important;
    margin-bottom: 5px!important;
    text-indent: 0!important
}

ul.related_post li img {
    display: block!important;
    width: 100px!important;
    height: 100px!important;
    max-width: 100%!important;
    margin: 0!important;
    padding: 0!important;
    background: 0 0!important;
    border: none!important;
    border-radius: 3px!important;
    box-shadow: 0 1px 4px rgba(0,0,0,.2)!important
}

ul.related_post li a img.wp_rp_santa_hat {
    display: none!important
}

ul.related_post li small {
    font-size: 80%
}

@media screen and (max-width: 480px) {
    ul.related_post li {
        display:inline-block!important;
        width: 100px!important;
        clear: both!important
    }

    ul.related_post li a:nth-child(1) {
        float: left!important
    }

    ul.related_post li a:nth-child(2) {
        font-size: 14px!important
    }

    ul.related_post li img {
        width: 100px!important;
        height: 100px!important
    }
}

ul.related_post li .wp_rp_category a {
    display: inline!important
}
