/*!
 * Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@include host('.row-header') {
  .details .team {
    width: 100%;
    display: block;
    min-width: 7rem;

    .team-logo {
      min-width: 7rem;
      min-height: 7rem;
      margin: 5px;
    }

    span {
      width: 100%;
      display: block;
      color: $text-color;
      font-size: 0.7rem;
    }

  }
}


.details{
    justify-content: center;
    padding-top: 0;

    .team {
        color: $header-color;
        display: flex;
        font-family: $font-header;
        font-size: $level-5;
        justify-content: center;
        letter-spacing: 2px;
        margin: 0;
        padding: 0 10px;
        text-transform: uppercase;

        .team-logo {
            align-self: center;
            height: 100%;
            margin-right: 5px;
            max-height: $header-height - 15;
            max-width: $header-height - 15;
            width: 100%;
        }
        span{
            align-self: center;
            color: $header-color;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        a {
          text-decoration: none;
        }
    }
}

@media all and (min-width: $m){
    .details{
        .team{
            font-size: $level-3;

            .team-logo {
                margin-right: 10px;
                max-height: $header-height - 5;
                max-width: $header-height - 5;
            }
        }
    }
}
