/*Relato*/
.commentary{
   .boxCommentary{
      background: url('../images/linea-punteada.png') 10.8% 0 repeat-y, url('../images/linea-punteada.png') 89% repeat-y;
      display:block;
      margin:0 auto;
      float: none;
      .teamsShields{
         .boxElements{
            padding: 10px 0 0;
            &.local, &.away{
               >div {
                  background-repeat: no-repeat;
                  background-position: center;
               }
            }
            &.away{
               float: right;
            }
         }
      }
      .commentaryContent{
         .hasMinHeight {
            .boxDescription {
               .data {
                  background:@color02;
                  .text{
                     color:@color02_type;
                     padding-bottom: 10px;
                     text-transform: uppercase;
                  }
               }
            }
         }
         .outstanding {
            .boxDescription {
               float: none;
               .data{
                  background:@color01;
                  .text{
                     color: @color01_type;
                  }
                  a{
                     color: @color01_type;
                     text-decoration: underline;
                     font-weight: bold;
                  }
               }
            }
         }
         .boxDescription {
            margin:0 auto 0;
            .data{
               width: 95%;
               min-height:20px;
               background:@bg;
               margin:10px auto 0;
               .border-radius(4px);
               .box-shadow(0 0 3px darken(@bg, 60%));
               position: relative;
               color: @bg_type;
               .arrowLeft{
                  border-bottom: 12px solid transparent;
                  border-right: 20px solid darken(@bg, 60%);
                  border-top: 12px solid transparent;
                  position: absolute;
                  top: 7px;
                  left: -20px;
                  width: 0;
                  height: 0;
                  &:after{
                     content:"";
                     width:0;
                     height:0;
                     border-bottom: 12px solid transparent;
                     border-right: 20px solid @bg;
                     border-top: 12px solid transparent;
                     position:absolute;
                     top: -12px;
                     left: 0px;
                  }
               }
               .arrowRight {
                  border-top: 12px solid transparent;
                  border-bottom: 12px solid transparent;
                  border-left: 20px solid darken(@bg, 60%);
                  position: absolute;
                  top: 7px;
                  right: -20px;
                  width: 0;
                  height: 0;
                  &:after{
                     content:"";
                     width:0;
                     height:0;
                     border-top: 12px solid transparent;
                     border-bottom: 12px solid transparent;
                     border-left: 20px solid @bg;
                     position:absolute;
                     top: -12px;
                     right: 0;
                  }
               }
               .media{
                  .showMedia{
                     border-top: 1px dotted #000000;
                     padding-bottom: 12px;
                  }
               }
               .text{
                  font-size: 14px;
                  text-transform: none;
                  padding:10px 10px 20px;
                  word-wrap: break-word;
               }
            }
            &.expandLeft, &.expandRight{
               .boxSocial {
                  &.showSocial{
                     border-top: 1px dotted @color02;
                     position: relative;
                     min-height: 45px;
                     .facebookCommentsButton{
                        display: inline-block;
                        margin: 12px 12px 0 0;
                        vertical-align: top;
                        background: #4c69ba;
                        background: -webkit-gradient(linear, center top, center bottom, from(#4c69ba), to(#3b55a0));
                        background: -webkit-linear-gradient(#4c69ba, #3b55a0);
                        border: none;
                        -webkit-border-radius: 2px;
                        color: #fff;
                        cursor: pointer;
                        font-weight: bold;
                        height: 20px;
                        line-height: 20px;
                        padding: 0 6px;
                        text-shadow: 0 -1px 0 #354c8c;
                        white-space: nowrap;
                        font-size: 12px;
                        text-shadow: 0 -1px 0 #354c8c;
                        .fbIcon{
                           background-image: url("../images/fb_icons.png");
                           background-size: auto;
                           background-repeat: no-repeat;
                           background-position: 0 -42px;
                           display: inline-block;
                           height: 14px;
                           width: 14px;
                           margin: 3px 3px 0 0;
                           float: left;
                        }
                        .text{
                           -webkit-user-select: none;
                           -khtml-user-select: none;
                           -moz-user-select: none;
                           -o-user-select: none;
                           -ms-user-select: none;
                           user-select: none;
                        }
                        &:hover{
                           background:#5b7bd5;
                           background:-webkit-gradient(linear, center top, center bottom, from(#5b7bd5), to(#4864b1));
                           background:-webkit-linear-gradient(#5b7bd5, #4864b1);
                           border-color:#5874c3 #4961a8 #41599f;
                           -webkit-box-shadow:inset 0 0 1px #607fd6
                        }
                     }
                     .twitterButton {
                        display: inline-block;
                        padding: 12px 12px 12px;
                     }
                  }
               }
            }
            &.expandLeft{
               .boxSocial{
                  &.showSocial{
                     text-align: right;
                  }
               }
            }
         }
         .boxTime {
            position: relative;
            .dataSmall{
               width: 100%;
               min-height:45px;
               background:@bg;
               .border-radius(4px);
               .box-shadow(0 0 5px darken(@bg, 60%));
               position: relative;
               margin-top: 10px;
               color: @bg_type;
               .arrowRight {
                  border-top: 8px solid transparent;
                  border-bottom: 8px solid transparent;
                  border-left: 14px solid darken(@bg, 60%);
                  position: absolute;
                  top: 14px;
                  right: -14px;
                  width: 13px;
                  height: 14px;
                  &:after{
                     content:"";
                     width:0;
                     height:0;
                     border-top: 8px solid transparent;
                     border-bottom: 8px solid transparent;
                     border-left: 14px solid @bg;
                     position:absolute;
                     top: -8px;
                     right: 0px;
                  }
               }
               .arrowLeft {
                  border-bottom: 8px solid transparent;
                  border-right: 14px solid darken(@bg, 60%);
                  border-top: 8px solid transparent;
                  position: absolute;
                  top: 14px;
                  left: -14px;
                  width: 13px;
                  height: 14px;
                  &:after{
                     content:"";
                     width:0;
                     height:0;
                     border-bottom: 8px solid transparent;
                     border-right: 14px solid @bg;
                     border-top: 8px solid transparent;
                     position:absolute;
                     top: -8px;
                     left: 0px;
                  }
               }
            }
            &.right{
               .dataSmall{
                  float: right;
               }
            }
         }
         .boxIcons{
            .boxElements{
                  > div{
                     background: #FFF;
                     margin-top: 14px;
                     &.incTypeIcon{
                        width: 16px;
                        height: 16px;
                        line-height: 16px;
                        .box-shadow(0 0 3px darken(@bg, 25%));
                        margin-top: 25px;
                     }
                     .goal{
                        .iconsheet(); 
                        background-position: -145px -67px; 
                        width: 35px;
                        height: 35px;
                        &.own{
                           .iconsheet(); 
                           background-position: -119px -67px; 
                        }
                     }
                     .change{
                        .iconsheet(); 
                        background-position: -803px -13px;
                        width: 35px;
                        height: 35px;
                     }
                     .cornerKick{
                        .iconsheet(); 
                        background-position: -94px -120px; 
                        width: 35px;
                        height: 35px;
                     }
                     .offside{
                        .iconsheet(); 
                        background-position: -125px -120px; 
                        width: 35px;
                        height: 35px;
                     }
                     .yellowCard{
                        .iconsheet(); 
                        background-position: -501px -21px; 
                        width: 18px;
                        height: 21px;
                        margin: 8px auto 0;
                     }
                     .redCard{
                        .iconsheet(); 
                        background-position: -518px -21px;
                        width: 18px;
                        height: 21px;
                        margin: 8px auto 0;
                     }
                     .redByDoubleYellowCard{
                        .iconsheet(); 
                        background-position: -547px -21px;
                        width: 24px;
                        height: 24px;
                        margin: 8px auto 0;
                     }
                  }
            }
         }
         .boxSocial {
            .facebookLikeButton {
               display: none;
            }
            .facebookComments {
               display: none;
            }
            .twitterButton {
               display: none;
            }
            .facebookCommentsButton{
               display: none;
            }
         }
      }
   }
   .boxVideoCom{
      text-align: center;
      iframe {
        width: 90%;
        height: 400px;
        margin: 10px auto 0;
      }
   }
   .boxImgOfVideo{
      text-align: center;
      position: relative;
      img{
         margin: 10px auto;
         cursor: pointer;
         width: 95%;
      }
      .circlePlay{
         background:#000;
         .box-shadow(0 0 26px -10px #fff);
         .border-radius(50%);
         width: 75px;
         height: 75px;
         position: absolute;
         top: 40%;
         left: 0;
         right: 0;
         margin: 0 auto;
         cursor: pointer;
         .play{
            border-top: 14px solid transparent;
            border-bottom: 14px solid transparent;
            border-left: 24px solid #FFF;
            width: 0;
            height: 0;
            content: " ";
            display: block;
            top: 24px;
            position: absolute;
            left: 7px;
            right: 0;
            margin: 0 auto;
         }
         .modulePreloader{
            width: 50px;
            height: 50px;
            border-width:10px;
            border-color:#333 #333 #333 #fff;
            margin:13px auto;
         }
      }
   }
   &.maxSize-1199{
      .boxCommentary{
         .commentaryContent{
            .boxDescription{
               .data{
                  width: 90%;
               }
            }
            .boxTime{
               .dataSmall{
                  width: 90%;
               }
            }
         }
      }
      .boxVideoCom{
         iframe {
           height: 350px;
         }
      }
   }
   &.maxSize-991 {
      .boxCommentary{
         .commentaryContent{
            .boxDescription{
               .data{
                  width: 85%;
               }
            }
            .boxTime{
               .dataSmall{
                  width: 80%;
               }
            }
         }
      }
      .boxVideoCom{
         iframe {
           height: 310px;
         }
      }
   }
   &.maxSize-767 {
      .boxCommentary{
         background-position: 19.5% 0, 80.55% 0;
      }
      .boxVideoCom{
         iframe {
           height: 240px;
         }
      }
      .boxImgOfVideo{
         img{
            width: 90%;
         }
         .circlePlay{
            width: 60px;
            height: 60px;
            top: 30%;
            .play{
               border-top-width: 10px;
               border-bottom-width: 10px;
               border-left-width: 20px;
               top:35%;
            }
            .modulePreloader{
               width: 40px;
               height: 40px;
               border-width:8px;
               margin:10px auto;
            }
         }
      }  
   }
   &.maxSize-479 {
      .BG_title{
         margin:15px 15px 0;
      }
      .boxCommentary{
         background-position: 0%  0, 100% 0;
         .teamsShields{
            .local{
               div{
                  float: left;
               }
            }
            .away{
               div{
                  float: right;
               }
            }
         }
         .commentaryContent{
            .boxDescription{
               .data{
                  width: 90%;
                  .arrowRight {
                     border-top: 8px solid transparent;
                     border-bottom: 8px solid transparent;
                     border-left: 12px solid darken(@bg, 60%);
                     right: -12px;
                     &:after{
                        border-top: 8px solid transparent;
                        border-bottom: 8px solid transparent;
                        border-left: 12px solid @bg;
                        position:absolute;
                        top: -8px;
                     }
                  }
                  .arrowLeft {
                     border-bottom: 8px solid transparent;
                     border-right: 12px solid darken(@bg, 60%);
                     border-top: 8px solid transparent;
                     left: -12px;
                     top: 7px;
                     &:after{
                        border-bottom: 8px solid transparent;
                        border-right: 12px solid @bg;
                        border-top: 8px solid transparent;
                        top: -8px;
                     }
                  }
               }
               &.expandRight{
                  width:83.4%;
                  .data{
                     width: 85%;
                     float: right;
                  }
               }
               &.expandLeft{
                  width:83.4%;
                  .data{
                     width: 85%;
                     float: left;
                  }
               }
               &.expandLeft,&.expandRight{
                  .boxSocial {
                     &.showSocial{
                        .facebookCommentsButton{
                           margin: 12px;
                        }
                     }
                  }
               } 
            } 
            .boxTime{
               .dataSmall{
                  width: 37px;
                  .arrowTop{
                     border-left: 8px solid transparent;
                     border-right: 8px solid transparent;
                     border-bottom: 14px solid darken(@bg, 60%);
                     position: absolute;
                     top: -14px;
                     left: 0;
                     width: 13px;
                     height: 14px;
                     margin: 0 auto;
                     right: 0;
                     &:after{
                        content:"";
                        width:0;
                        height:0;
                        border-left: 8px solid transparent;
                        border-right: 8px solid transparent;
                        border-bottom: 14px solid @bg;
                        position:absolute;
                        top: 1px;
                        left: -8px;
                     }
                  }
               }
            }
            .boxIcons{
               width: 8.3%;
               .boxElements{
                  >div{
                     margin-bottom: 10px;
                     &.incTypeIcon{
                        float: left;
                        margin: 16px 0 12px 10px;
                     }
                  }
               }
               &.right{
                  .boxTime{
                     .dataSmall{
                        float: right;
                     }
                  }
                  .boxElements{
                     >div{
                        float: right;
                        margin: 16px 10px 12px 0;
                     }
                  }
               }
            }
         }
      }
      .boxVideoCom{
         iframe {
           height: 180px;
         }
      }
      .boxImgOfVideo{
         width: 100%;
         border-bottom: 1px dotted #000000;
         img{
            width:90%;
         }
         .circlePlay{
            width: 40px;
            height: 40px;
            top: 33%;
            .play{
               border-top-width: 8px;
               border-bottom-width: 8px;
               border-left-width: 14px;
               top:34%;
               left: 4px;
            }
            .modulePreloader{
               width: 25px;
               height: 25px;
               border-width:6px;
               margin:8px auto;
            }
         }
      }  
   }
}
/*Fin Relato*/