
/* 
    Created on : 4/10/2022, 12:09:56 PM
    Author     : Gustavo Hernández
    
    1 - Menu
    2 - Live
    3 - Digital Content
    4 - Footer
    5 - Like / Unlike
*/

div.home-phone-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

div.home-phone-container-body {
    width: 100%;
    flex-grow: 1;
    /* overflow: hidden; */
    position: relative;
    overflow: auto;
    padding-bottom: 10px;
    background-color: #f0f0f0;
}

div.home-phone-container-body::-webkit-scrollbar {    
    width: 8px;
}

div.home-phone-container-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

/*
div.home-phone-container-body::-webkit-scrollbar {
    background-color: transparent;
    width: 0px;
}

div.home-phone-container-body:hover::-webkit-scrollbar {
    width: 8px;
}

div.home-phone-container-body:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

@media (hover: none) {
    div.home-phone-container-body::-webkit-scrollbar {
        width: 8px;
    }
    
    div.home-phone-container-body::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
    }
}
 */

/*video::-webkit-media-controls-play-button,
video::-webkit-media-controls-pausebutton {
    display: none;
}*/

/********************** 1 - Menu **********************/

div.home-phone-menu {
    width: 100%;
    background-color: #005480;
    padding: 10px;
    display: flex;
    align-items: center;
}

div.phone-menu-icono {
    width: 15%;
    margin-right: 5%;
}

div.phone-menu-icono img {
    width: 100%;
    height: auto;
}

div.phone-menu-title {
    width: 40%;
    color: #fff;
    font-size: 14px;
    margin-right: 5%;
}

div.phone-menu-option {
    width: 10%;
    margin-right: 5%;
    position: relative;
}

div.phone-menu-option a {
    cursor: pointer;
}

div.phone-menu-option img {
    width: 100%;
    height: auto;
}

div.phone-menu-option .phone-menu-option-counter {
    position: absolute;
    background-color: #EC1F28;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6em;
    line-height: 1em;
    padding: 2px 2px 0px 2px;
    right: -6px;
    top: 2px;
}

div.home-phone-float-menu {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;    
    background-color: #eeeeee;
    flex-direction: column;
    z-index: 1;
}

div.phone-float-menu-header {
    width: 100%;
    padding: 10px 10px 5px 10px;
    background-color: #4d4d4d;
    font-size: 13px;
    color: #fff;    
    display: flex;
    align-items: center;    
}

div.float-menu-header-close {
    width: 20%;
    text-align: center;
}

div.float-menu-header-close img {
    width: 40%;
    height: auto;
}

div.float-menu-header-title {
    width: 60%;
    text-align: center;
}

div.phone-float-menu-body {
    width: 100%;
    overflow: auto;
}

div.phone-float-menu-body::-webkit-scrollbar {
  background-color: transparent;
  width: 0px;
}

div.phone-float-menu-body:hover::-webkit-scrollbar {
  width: 8px;
}
div.phone-float-menu-body:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}

@media (hover: none) {
  div.phone-float-menu-body::-webkit-scrollbar {
    width: 8px;
  }
  div.phone-float-menu-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
  }
}

div.float-menu-body-item {
    width: 100%;
    padding: 2px 10px;
    border-bottom: 1px solid #b5b5b5;
    display: flex;
    align-items: center;
    background-color: #fff;
}

div.float-menu-body-item-icono {
    width: 10%;    
    margin-right: 5%;
}

div.float-menu-body-item-icono img {
    width: 100%;
    height: auto;
}

div.float-menu-body-item-text {
    font-size: 12px;
    color: #bfbfbf;
    overflow: hidden;    
}

div.float-menu-body-item-text.active {
    color: #000;
}

div.phone-float-menu-body a {
    text-decoration: none;
}

/********************** 2 - Live **********************/

/* Float */

div.home-phone-float-live {
    position: absolute;
    background-color: #4d4d4d;
    padding: 0px;
    display: flex;
    align-items: center;    
    font-size: 12px;
    /* top: 0px; */
    top: 100%;    
    left: 0;
    z-index: 1;
}

div.phone-float-live-media {
    width: 30%;
}

div.phone-float-live-media img {
    width: 100%;
    height: auto;
}

div.phone-float-live-media video {
    width: 100%;
    height: auto;
}

div.phone-float-live-name {
    width: 55%;    
    color: #fff;
    padding: 0px 0.5em;
}

div.phone-float-live-name .program-name {
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.phone-float-live-name .program-host {
    font-size: 0.8em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.phone-float-live-controls {
    width: 15%;
    text-align: center;
}

div.phone-float-live-controls a {
    width: 100%;
    height: auto;
}

div.phone-float-live-controls img {
    width: 80%;
    height: auto;
    cursor: pointer;
}

/* Controls */

div.home-phone-control-live {
    background-color: #fff;
    padding: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
    position: relative;
}

div.home-phone-control-live .phone-control-live-buttons {
    width: 20%;
    text-align: center;
    font-size: 0.6em;
    color: #005485;
    font-weight: bold;
    cursor: pointer;
}

div.home-phone-control-live .phone-control-live-buttons a {
    width: 100%;
    height: auto;
    text-decoration: none;
    color: #005485;
}

div.home-phone-control-live .phone-control-live-buttons img {
    width: 50%;
    height: auto;
}

div.phone-control-live-switch {
    width: 60%;    
}

div.control-live-switch-media {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: #afafaf;
}

div.control-live-switch-media .switch-media-switch {
    /* flex-grow: 1; */
    text-align: center;
    overflow: hidden;
    position: relative;
    width: 40%;
}

div.control-live-switch-media .switch-media-switch img {
    width: 80%;
    height: auto;    
}

div.control-live-switch-media .switch-media-switch img.switch-media-switch-indicator {
    /* width: 60%; */
    height: auto;
    position: absolute;
    left: 10%;
    transition: left 0.5s;
}

div.control-live-switch-media.video .switch-media-switch img.switch-media-switch-indicator {
    /* width: 80%; */
    height: auto;
    position: absolute;
    left: 44%;
}

div.control-live-switch-media .switch-media-audio {
    width: 30%;
    text-align: right;
    color: #ffb71b;
    cursor: pointer;
}

div.control-live-switch-media.video .switch-media-audio {    
    color: #afafaf;
}

div.control-live-switch-media .switch-media-video {
    width: 30%;
    text-align: left;
    cursor: pointer;
}

div.control-live-switch-media.video .switch-media-video {
    color: #ffb71b;
}

/*div.control-live-switch-date {
    font-size: 10px;
    color: #808080;
    text-align: center;
    padding-top: 10px;
}*/

/* Media */

div.home-phone-live {
    background-color: #fff;
    width: 100%;
    height: fit-content;
}

div.home-phone-live .home-phone-live-media {
    position: relative;
    width: 100%;    
    height: fit-content;
    background-color: #808080; /* quitar */
}

div.home-phone-live .phone-live-media-view {
    width: 100%;
    min-height: 100px;
    height: auto;
}

div.home-phone-live .phone-live-media-view img, div.home-phone-live .phone-live-media-view video {
    width: 100%;
    height: auto;
}

div.home-phone-live .phone-live-media-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    display: none;
}

div.home-phone-live .phone-live-media-controls.touched/*, div.home-phone-live-media:hover .phone-live-media-controls*/ {
    display: block;
}

div.home-phone-live div.live-media-controls-like {
    width: 10%;
    height: auto;
    position: absolute;
    top: 20%;
    left: 10%;    
}

div.home-phone-live div.live-media-controls-dislike {
    width: 10%;
    height: auto;
    position: absolute;
    bottom: 20%;
    left: 10%;    
}

div.home-phone-live div.live-media-controls-like a, div.home-phone-live div.live-media-controls-dislike a {
    cursor: pointer;
}

div.home-phone-live div.live-media-controls-play, div.home-phone-live div.live-media-controls-stop {
    width: 20%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

div.home-phone-live div.live-media-controls-tvmesage {
    width: 10%;
    height: auto;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

div.home-phone-live .phone-live-media-controls img {
    width: 100%;
    height: auto;
}

/****/

div.home-phone-live .phone-live-media-controls div.phone-live-volumen-range {
    position: absolute;
    width: 50%;
    left: 25%;
    top: 85%;
}

div.phone-live-volumen-range div.rangewrapper {
    margin-top: 0px;
    line-height: 8px;
    border: 0px solid #000;
    padding: 0;
    position: relative;
    width: 100%;
    height: 8px;
    overflow: visible;
    background-color: #FFF; /* #EFF0F1 */
    border-radius: 4px;
    border: 1px solid #e2e3e4;
    box-shadow: inset 0em 1px #c2c4c6;
}

div.phone-live-volumen-range .rangewrapper.vertical{
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
    position: absolute;
    /* top: calc( (var(--tracksize)/2) + 30px);*/
    left: -50%;
    margin: 0;
}

div.phone-live-volumen-range .sliderfill {
    border: 0 none;
    margin: 0;
    padding: 0;
    height: 100%;
    border-radius: 4px;
}

div.phone-live-volumen-range .custom-range-slider {
    cursor: pointer;
    height: 100%;
    width: 100%;
    opacity: 0.05;
}

div.phone-live-volumen-range .sliderthumb {
    width: 15px;
    height: 15px;
    background-image: url('https://guadaluperadio.com/public/img/layout21/Home/Telefono2022/Live/Volumen.png');
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    top: -5px;
    border: 0 none;
    padding: 0;
    pointer-events: none;
}

/* Volumen */

div.home-phone-live-volumen {
    width: 100%;
    padding: 3px 10px;
    display: flex;
    align-items: center;
}

div.home-phone-live-volumen div.phone-live-volumen-less {
    width: 10%;
    margin: 0 5% 0 10%;
    cursor: pointer;
}

div.home-phone-live-volumen div.phone-live-volumen-plus {
    width: 10%;
    margin: 0 10% 0 5%;
    cursor: pointer;
}

div.home-phone-live-volumen img {
    width: 100%;
    height: auto;
}

/* Program */

div.home-phone-live-program {
    width: 100%;
    padding: 5px;    
    background-color: #c9c9c9;
    text-align: center;
    margin-bottom: 3px;
    
    display: flex;
}

div.home-phone-live-program .phone-live-program-desc {
    flex-grow: 1;
}

div.home-phone-live-program .phone-live-program-name {
    font-size: 10px;
    font-weight: bold;
    color: #005480;
}

div.home-phone-live-program .phone-live-program-schedule, div.home-phone-live-program .phone-live-program-date {
    font-size: 10px;
    line-height: 10px;
    color: #4d4d4d;
}

div.home-phone-live-program .phone-live-program-tvmessage {
    width: 15%;
    text-align: center;
    display: flex;
    align-items: center;
}

div.home-phone-live-program .phone-live-program-tvmessage img {
    width: 66.66%;
    height: auto;
}

/********************** 3 - Digital Content **********************/

div.home-phone-content {
    font-size: 12px;
}

div.home-phone-content .content-category {
    padding: 0px 5px;
    font-size: 1em;
    font-weight: bold;
    color: #505050;    
}

div.home-phone-content .content-cards {    
    width: 100%;
    height: auto;    
    position: relative;
    display: block;
    padding: 0px 5px;
}

div.home-phone-content .content-cards.with-controls {
    display: flex;
    width: 100%; /* calc(100% - 10px);*/
}

div.home-phone-content .content-scroll-cards {
    display: flex;
    height: auto;
    width: 100%;
    overflow-x: hidden;
}

div.home-phone-content .content-cards.with-controls .content-scroll-cards {
    width: calc(100% - 2.4em);
}

div.home-phone-content .content-cards .cards-controls { 
    position: relative;
    width: 1.2em;
    height: 6em;
    display: flex;    
    align-items: center;
    cursor: pointer;
}

div.home-phone-content .content-cards .cards-controls:first-child { 
    justify-content: left;
}

div.home-phone-content .content-cards .cards-controls:last-child { 
    justify-content: right;
}

/*div.home-phone-content .content-cards .cards-controls::before { 
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    background-color: #000;
    opacity: 0.7;
}*/

div.home-phone-content .content-cards div.cards-controls img {
    width: 0.8em;
    height: auto;
    display: block;
}

div.home-phone-content .content-cards div.card {
    /* width: 8em; */
    width: 6em;
    /* height: 8em; */
    height: 6em;
    margin: 1px 1em 1px 1px;
}

div.home-phone-content .content-cards div.card:hover {
    outline: 0.2em solid #000;
}

div.home-phone-content .content-cards div.card img, div.home-phone-content .content-cards div.card a {
    width: auto;
    height: 100%;
}

div.home-phone-content .content-cards div.card.card-serie {
    /* min-width: 16.34em; */
    /* width: 16.34em; */
    min-width: 12.25em;
    width: 12.25em;
}

div.home-phone-content .content-cards div.card.card-blockbuster {
    /* min-width: 6.50em; */
    /* width: 6.50em; */
    min-width: 4.87em;
    width: 4.87em;
}

div.home-phone-content .content-cards div.card.card-podcast {
    /* min-width: 8em; */
    /* width: 8em; */
    min-width: 6em;
    width: 6em;
}

/********************** 4 - Footer **********************/

div.home-phone-footer {
    width: 100%;
    background-color: #4d4d4d;
    padding: 10px 0px;
    font-size: 12px;
    display: flex;
    justify-content: space-around;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

div.home-phone-footer .phone-footer-button {
    cursor: pointer;
    /* padding: 0px 5px; */
    text-align: center;
}

div.home-phone-footer .phone-footer-button img {
    width: auto;
    height: 2em;
}

div.home-phone-footer .phone-footer-button-text {    
    color: #fff;
    margin-top: 3px;
    font-size: 0.8em;
}

div.home-phone-footer .phone-footer-button.login-app .phone-footer-button-text {
    color: #ffb71b;
}

/********************** 5 - Like / Unlike **********************/

.home-phone-float-favorite {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    height: 100%;
    width: 100%;
}

.home-phone-float-cover {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.3;
}

.home-phone-float-container {    
    font-size: 12px;
    width: 100%;
    position: absolute;
    bottom: 0px;
}

.phone-float-favorite-header {
    color: #fff;
    background-color: #23527e;
    display: flex;
    align-items: center;
}

.phone-float-favorite-header .float-favorite-header-icono {
    width: 15%;
    text-align: center;
}

.phone-float-favorite-header .float-favorite-header-icono img {
    width: 80%;
    height: auto;
}

.phone-float-favorite-header .float-favorite-header-description {
    width: 75%;
}

.phone-float-favorite-header .favorite-header-description-title {
    font-size: 1em;
    font-weight: bold;
}

.phone-float-favorite-header .favorite-header-description-message {
    font-size: 0.9em;
}

.phone-float-favorite-header .float-favorite-header-close {
    width: 10%;
    text-align: center;
    font-size: 1.4em;
    line-height: 1.4em;
    font-weight: bold;
    cursor: pointer;
}

.float-favorite-body {
    color: #000;
    background-color: #fff;
    width: 100%;
}

.float-favorite-body .float-favorite-body-option {
    width: 95%;
    position: relative;
    margin-left: 5%;
    border-bottom: 1px solid #e3e3e3;
}

.float-favorite-body .favorite-body-option-input {    
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-30%, -40%);    
    line-height: 1.5em;
}

.float-favorite-body .favorite-body-option-input input[type="radio"] {    
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.5em;
    height: 1.5em;
    border: 0.2em solid #666666;
    border-radius: 50%;
    /* transform: translateY(-0.075em); */
    display: grid;
    place-content: center;
}

.float-favorite-body .favorite-body-option-input input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #666666;
}

.float-favorite-body .favorite-body-option-input input[type="radio"]:checked::before {
  transform: scale(1);
}


.float-favorite-body .favorite-body-option-text {
    width: 100%;
    padding-left: 8%;
}

.float-favorite-body .favorite-body-option-text-title {
    width: 100%;
    color: #9a9a9a;
}

.float-favorite-body .favorite-body-option-text-value {
    width: 100%;
    padding-left: 5%;
    color: #5ba7b4;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}