/* Cambios css para version movil */
@media screen and (max-width: 739px){
    .slicknav_menu #main-header{
        padding-top:0rem;
        padding-bottom:0.2rem;
        padding-left: 2.0rem;
    }
    body .slicknav_menu h1 a, body .slicknav_menu h2 a{
        background-size: 14.9rem;
        top: 0.5rem;
        height: 4.4rem;
    }
    .slicknav_menu #main-header .social-links {
        margin-left: 0.4rem;
    }
    .slicknav_menu #main-header .social-links ul a {
        padding: 0rem;
    }
    .slicknav_menu #main-header .social-links ul a img {
        width: 3.8rem;
    }
    #social-block-node{
        display: none !important;
    }
    #mdsocial-node{
        display: block;
    }
    /*
    .header_md_social .fb-cont, .header_md_social .tw-cont{
        position: absolute;
        left: 27px;
        top: 24px;
        font-size: 0.9rem;
        color: #fff; 
    }*/
    .header_md_social .tw_btn, .header_md_social .fb_btn{
        position: relative;
    }
    .slicknav_menu #main-header .social-links ul .rss_btn{
        display:none !important;
    }  
    .slicknav_menu #main-header .cw{
        width: 100%;        
    }
}

@media screen and (min-width: 740px){
    #social-block-node{
        display: table-cell;
    }
    #mdsocial-node{
        display: none !important;
    }
}

/*nuevos botones compartir en el detalle*/
@media screen and (min-width: 481px){
    .slicknav_menu #main-header .cw{
        margin-left: 2.0rem;
    }    
}
/**/

/*@media screen and (max-width: 390px){ /**/ /*nuevos botones compartir en el detalle */
@media screen and (max-width: 480px){
    .slicknav_menu #main-header{
        padding-top:0rem;
        padding-bottom:0.2rem;
        padding-left: 3.5rem;
        padding-right: 0.5rem;
    }
    
    body .slicknav_menu h1 a, body .slicknav_menu h2 a{
        background-size: 13.3rem;
        top: 0.5rem;
        height: 3.4rem;
    }
    .slicknav_menu #main-header .social-links {
        margin-left: 0rem;
        margin-top: 0.3rem;
        float: right;
    }    
    .slicknav_menu #main-header .social-links ul a img {
        width: 3.8rem;
    }   
    .slicknav_menu #main-header .social-links ul .rss_btn{
        display:none !important;
    }    
    .slicknav_menu #main-header .social-links li {
        margin-left: -0.1rem; 
    }
    .slicknav_menu #main-header .cw h2 a img{
        display:none;
    }
    /*nuevos botones compartir en el detalle*/
    .slicknav_menu #main-header .cw{
        width: 100%;
        min-width: 29.5rem;
    }
    .not-front .slicknav_menu #main-header .cw h2 a {
        font-size: 0rem;
        background: url(../../../../../sites/all/themes/mdtheme/files/images/logo-mobile-2.png);
        background-position: 0.5rem 0rem;
        width: 3.9rem;
        background-repeat: no-repeat;
        background-size: auto 3.5rem;
    }
    .not-front .slicknav_menu #main-header .cw h1, .not-front .slicknav_menu #main-header .cw h2 {
        width: 4.0rem;
    }
    .not-front .slicknav_menu #main-header .social-links ul a {
        padding: 1rem 0.5rem;
        min-width: 12.0rem; 
    }
    .front .slicknav_menu #main-header .cw h1, .front .slicknav_menu #main-header .cw h2 {
        margin-left: 1.0rem;
    }
    /*****/
}
/*nuevos botones compartir en el detalle*/
.slicknav_menu #main-header .social-links {
    margin-left: 0rem;
    margin-top: 0.3rem;
    float: right;
}
.front .slicknav_menu #main-header .social-links {
    margin-top: 0rem;    
}
.slicknav_menu #main-header .social-links ul a {
    padding: 1rem 0.5rem;
    min-width: 12.0rem; 
}
.slicknav_menu #main-header #social-block.social-links ul a {
    min-width: inherit; 
    padding: 0rem;
}
body .slicknav_menu .slicknav_btn {
    margin: -0.3rem 0.1rem 0 0;
    height: 3.8rem;
    left: 0.1rem;
    right: inherit;
    padding: 0.438em 0.525em 0.438em 0.525em;    
}
body .slicknav_menu .slicknav_icon {
    margin: 0rem;
    margin-top: 0.6rem;
}
/******/

/* Listado articulos streaming en ver partidos en directo */
.md-article-list-cw.streaming .md-article-item-list>.img img {
    max-width: 12.1rem;
    height: auto;
    width: inherit !important;
}
#node-872{
    border: none;
    margin-bottom: 0rem;
    padding-bottom: 0rem;
}

/* Maquetacion home botones sociales en contenidos embed */
.enlace-embed{
    color: #605f5f !important;
    text-decoration: none;
}
.enlace-embed:hover{
    text-decoration: none;
}
.front .title-embed{
    font-size: 3rem;
    line-height: 3.6rem;
    font-weight: bold;
    text-decoration: none;
}
.front .content-embed p {
    font-size: 1.6rem;
    line-height: 2.2rem;
    text-align: justify;
}

.front .content-embed img, .md-article-list-cw .content-embed img{
    width: 100% !important;
    height: auto !important;        
}
.front .content-embed iframe, .node-embed .content-body iframe, .md-article-list-cw .content-embed iframe{
    width: 100% !important;
}
.front .content-embed iframe.vine-embed, .front .content-embed iframe.pinged{
    max-height: 47.4rem;
}
@media screen and (max-width: 739px){ 
    .front .content-embed iframe.vine-embed, .front .content-embed iframe.pinged, 
    .node-embed .content-body iframe.vine-embed, .node-embed .content-body iframe.pinged, 
    .md-article-list-cw .content-embed iframe.vine-embed, .md-article-list-cw .content-embed iframe.pinged{
        max-height: 32.5rem;
        margin-bottom: -15px;
    }
}
@media screen and (max-width: 350px){
    .front .content-embed iframe.vine-embed, .front .content-embed iframe.pinged, 
    .node-embed .content-body iframe.vine-embed, .node-embed .content-body iframe.pinged,
    .md-article-list-cw .content-embed iframe.vine-embed, .md-article-list-cw .content-embed iframe.pinged{
        max-height: 24.4rem;        
        margin-bottom: -10px;
    }    
}
/* Maquetacion para ios */
.iphone .front .content-embed iframe.vine-embed, .iphone .front .content-embed iframe.pinged,
.ipad .front .content-embed iframe.vine-embed, .ipad .front .content-embed iframe.pinged{
    height: 34.4rem;
}
.iphone .node-embed .content-body iframe.vine-embed, .iphone .node-embed .content-body iframe.pinged,
.iphone .md-article-list-cw .content-embed iframe.vine-embed, .iphone .md-article-list-cw .content-embed iframe.pinged,
.ipad .node-embed .content-body iframe.vine-embed, .ipad .node-embed .content-body iframe.pinged,
.ipad .md-article-list-cw .content-embed iframe.vine-embed, .ipad .md-article-list-cw .content-embed iframe.pinged{
    height: 47.5rem;
}    
/*****/

.content-embed iframe.video-youtube{
    height: 29.0rem !important;
    width: 100%;
}

.front .nav-social-buttons-links li{
    display: inline-block;
    background: transparent;
    padding: 0rem 0.3rem 0rem 0rem;
}
.front .nav-social-buttons-links li a{
    text-indent: -50000px;
    width: 1.8rem;
    height: 1.8rem;    
}
.front .nav-social-buttons-links .fb a {
    background: url(../../../../../sites/all/themes/mdtheme/files/images/facebook-icon48.png);
    background-size: 1.8rem;
    background-repeat: no-repeat;
}

.front .nav-social-buttons-links .tw a {
    background: url(../../../../../sites/all/themes/mdtheme/files/images/twitter-icon48.png);
    background-size: 1.8rem;
    background-repeat: no-repeat;
}

.front .nav-social-buttons-links .gl a {
    background: url(../../../../../sites/all/themes/mdtheme/files/images/google-plus-icon.png);
    background-size: 1.8rem;
    background-repeat: no-repeat;
}

.front .nav-social-buttons-links .mem {
    display: none !important;
}
.front .md-article-info.embed time, .md-article-info.list-embed time {
    padding-top: 0.5rem;
}
.front .md-article-info.embed, .md-article-info.list-embed{
    background: transparent;
}
.front .md-article-info.embed .nav-social-buttons-links, .md-article-info.list-embed .front{
    float: right;
}

/* Listados */
.nodepage-relatedarticle .md-article-item-list>.img img ,.md-article-list-cw .node-import-apuesta-del-dia>.img img{
    max-width: 12.1rem !important;
    width: inherit !important;
    height: auto !important;
}
.md-article-list-cw .node-import-apuesta-del-dia .md-article-title{
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.8rem !important;
    line-height: 2.16rem !important;
}

.md-article-list-cw .md-article-item-list{
    display:block;
}
.md-article-list-cw .md-article-item-list>.img img,.md-article-list-cw .md-article-item-list.view-mode-md_basic_page_list>figure img {
    max-width: none;
    width: 100%;
    height: auto;
}
body:not(.page-node) .md-article-list-cw .md-article-item-list .md-article-title{
    font-size: 3rem;
    line-height: 3.6rem;
    font-weight: bold;
    text-decoration: none;
}
.md-article-list-cw .node-embed p{
    font-size: 1.6rem;
    line-height: 2.2rem;
}

.md-article>article>*, .md-article .md-article-description>*, .field-name-field-resumen p {
    font-size: 1.6rem;
    line-height: 2.0rem;
}

/* Cambios para que los listados antiguos se sigan mostrando bien */
.md-article-list-cw .md-article-item-list.node.node-apuesta-del-dia>.img img, .md-article-list-cw .md-article-item-list.node.node-apuesta-del-dia.view-mode-md_basic_page_list>figure img,
.md-article-list-cw .md-article-item-list.node.node-opinion>.img img, .md-article-list-cw .md-article-item-list.node.node-opinion.view-mode-md_basic_page_list>figure img {
    max-width: 121px;
    height: auto;
    width: inherit;
}

.md-article-list-cw .md-article-item-list.node.node-apuesta-del-dia h2,
.md-article-list-cw .md-article-item-list.node.node-opinion h2 {
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    line-height: 2.16rem;
}

.md-article-list-cw .md-article-item-list.node.node-apuesta-del-dia>.img,
.md-article-list-cw .md-article-item-list.node.node-opinion>.img{
    display: table-cell;
}
/* Imagenes en los listados al 100% */
.md-article-list-cw .md-article-item-list>.img{
    display: inherit;
}
.nodepage-relatedarticle.nodetema-content-list.md-article-list-cw .md-article-item-list>.img,
.md-article-list-cw.content-internal .md-article-item-list>.img,
.md-article-item-list.node.node-import-apuesta-del-dia.node-promoted.import_content.view-mode-md_basic_page_list > figure.img{
    display: table-cell !important;
}

/* Restyling apuesta del dia */
.md-block.apuestas-del-dia>h2{
    background-image: none;
    background-color: #3d3d3d;
    text-align: center;
    margin-bottom: 0;
}
.md-block.apuestas-del-dia>h2>span{
    color: #FDD200;
}
.md-block.apuestas-del-dia .md-article{
    background: #005f96;
    padding: 15px 15px 0px 15px;
}

.md-block.apuestas-del-dia .md-article .source-logo{
    background: #fff;
    padding: 10px 10px 5px 10px;
    margin-bottom: -10px;
}

.md-block.apuestas-del-dia .md-article h2.md-article-title{
    margin-bottom: 0rem;
    background: #fff;
    padding: 10px 10px 0px 10px;
}
.front .md-block.apuestas-del-dia .md-article h2.md-article-title a{
    font-size: 2.4rem !important;
    line-height: 2.6rem !important;
}
.md-block.apuestas-del-dia .md-article h2.md-article-title a{
    font-size: 1.8rem;
    line-height: 2rem;
}
.md-block.apuestas-del-dia .md-article .md-article-description{
    background: #fff;
    padding: 12px 10px 10px 10px;
    margin-top: -5px;
}
.md-block.apuestas-del-dia .md-article .resumen .md-article-description{
    margin-top: -15px;
}
/*
.front .md-block.apuestas-del-dia .md-article .md-article-description>*{
    font-size: 1.5rem !important;
    line-height: 1.76rem !important;
}*/

.md-block.apuestas-del-dia .md-article .md-article-description>*{
    font-size: 1.3rem;
    line-height: 1.56rem;
}
.front .md-block.apuestas-del-dia .patrocinado-por {
    padding: 10px 0px 20px 0px !important;
}
.md-block.apuestas-del-dia .patrocinado-por{
    padding: 15px 0px 30px 0px;
    background-color: #ececec;    
    font-size: 2rem;
    text-align: center;
    margin-top: -10px;
    line-height: 2.3rem;
}/*
.front .md-block.apuestas-del-dia .patrocinado-por>a {
    font-size: 1.4rem !important;
}*/
.md-block.apuestas-del-dia .patrocinado-por>a{
    color: #005f96;
    font-size: 2rem;
    text-decoration: none;
}
/*.front .md-block.apuestas-del-dia .patrocinado-por>a>span {
    font-size: 1.6rem !important;
}*/
.md-block.apuestas-del-dia .patrocinado-por>a>span{
    font-weight: bold;
    font-size: 2.4rem;
}
/*
.front .md-block.apuestas-del-dia .patrocinado-por .cantidad {
    font-size: 1.8rem !important;
}*/
.md-block.apuestas-del-dia .patrocinado-por .cantidad{
    color: #FDD200;
    font-size: 2.8rem;
    font-weight: bold;
}
/*
.front .md-block.apuestas-del-dia .apuesta-ya{
    padding: 10px 5px !important;
    margin-top: -20px;
}*/
.md-block.apuestas-del-dia .apuesta-ya{
    padding: 10px 10px;
    background-color: #80bf00;
    text-align: center;
    width: 165px;
    position: relative;
    margin: 0 auto;
    margin-top: -18px;
}
/*
.front .md-block.apuestas-del-dia .apuesta-ya a {
    font-size: 1.4rem !important;
}*/
.md-block.apuestas-del-dia .apuesta-ya a{
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}
.md-block.apuestas-del-dia .img-apuesta-del-dia{
    text-align: center;
    background: #005f96;
    padding-top: 20px;
    margin-top: -20px;
}
.md-block.apuestas-del-dia .md-article .md-article-info{
    margin-right: -15px;
    margin-left: -15px;
    border: none;
    border-top: solid 10px #fff;
}

/* Seccion patrocinado por */
.seccion-patrocinada-por{
  margin-top:6px;width:135px;float:left;
}
.seccion-no-patrocinada-por{
  margin-top: -20px !important;
}
.front .seccion-no-patrocinada-por{
  margin-top:-15px !important;
}
.field-name-field-url-partocinador{
  border: none !important;
  margin-bottom: -20px !important;
  margin-top: 10px;
}
.front .field-name-field-url-partocinador {
border: none !important;
margin-bottom: -10px !important;
margin-top: -5px;
}
.md-article-item-list .field-name-field-url-partocinador {
border: none !important;
margin-bottom: 0px !important;
margin-top: 10px;
}
.field-name-field-url-partocinador a>img{
  max-height:32px;
  width:auto;
}

/* Compactamos las relacionadas en la interior
@media screen and (min-width: 500px){
    body .node-story.view-mode-full .md-block--list .md-block-cw .md-block-title{
        display: inline;
    }
    body .node-story.view-mode-full .md-block--list .md-block-cw .md-block-meta--date{
        background: none;
        display: inline;
        top: -1px;
        float: right;
    }
}*/
@media screen and (max-width: 969px){
    body .node-story.view-mode-full .md-block--list .md-block-cw .md-block-title a{
        font-size: 1.3rem;
        line-height: 1.8rem;  
    }
}

body .node-story.view-mode-full .content-body,
body .node-embed.view-mode-full .content-body{
    border-bottom: 0px !important;
}
body .node-story.view-mode-full .md-block.md-block--list > h2, 
body .node-embed.view-mode-full .md-block.md-block--list > h2{
    background: none !important;
}
body .md-article-list li > span:before, .md-block .md-block-meta.md-block-meta--date:before {
  color: #4d4d4d !important;
}

/* Cambios css para version movil para las relacionadas de webapuestas */
@media screen and (max-width: 739px){
    body #webapuestas-relacionado .md-article-item-list.node.node-import-apuesta-del-dia.node-promoted.import_content.view-mode-md_basic_page_list > figure.img {
        position: relative !important;
        display: block !important;
        width: 135px !important;
        float: left !important;
    }
    body #webapuestas-relacionado .md-article-item-list.node.node-import-apuesta-del-dia.node-promoted.import_content.view-mode-md_basic_page_list > .md-article-description {
        display: block !important;
        vertical-align: top !important;
        width: 100% !important;
    }
    body #webapuestas-relacionado .md-article-description p,
    body #webapuestas-relacionado .md-article-description .md-fecha-logo .md-info-date{
        font-size: 1.3rem !important;
        line-height: 1.6rem !important;
    }
    body #webapuestas-relacionado.md-article-list-cw .md-article-item-list {
      display: table !important;
    }
}

/* estilo */
.md-block.estilo>h2 {
    background-image: none;
    background-color: #3d3d3d;
    text-align: center; 
  text-transform: uppercase;
}
.md-block.estilo .md-article-description{
    display: none;
}
.md-block.estilo .nodetema-list h2 a{
    display: block;
}



.group-b-i-full {
    text-align: center;
    
}
.group-b-i-full p {
  margin: 0;
}

.group-b-i-full .block-title{
  display: none;
}

.group-b-i-full  iframe {
    display: inline-block;
    margin: 0 auto;
  }

  /* altura logo bloque importados */
#main-content .md-block.last-imported-article .source-logo img{
    height: auto;
}

/* Video LVS */
#video-live-broadcast {
  background: #efeeee;
  font-weight: bold;
}
#video-live-broadcast ol {
  padding-left: 30px;
  padding-right: 15px;
}
#video-live-broadcast li {
  padding-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: "Droid Serif", serif;
  line-height: 1.6rem;
}
#video-live-broadcast a {
  font-weight:bold;
}
#video-live-broadcast img {
  width: 100%;
}
#video-live-broadcast-link .image_off, #video-live-broadcast-link:hover .image_on {
  display: none;
}
#video-live-broadcast-link .image_on, #video-live-broadcast-link:hover .image_off {
  display: block;
  cursor: pointer;
}
/* Fin Video LVS */