/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * 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.
 */

html, body {
    font-family: 'Roboto', 'Helvetica', sans-serif;
}
a {
    text-decoration: underline;
    color: #039BE5;
}
.mdl-menu a {
    text-decoration: none;
}
.content {
    max-width: 1024px;
}
.mdl-card {
    display: block;
}
h3 {
    background: url('/images/Liga_MX.svg') no-repeat;
    background-size: 50px;
    padding-left: 60px;
    /*background-position-y: -2px;*/
}
.mdl-textfield {
    width: 100%;
}
/* Fixes an MDL bug where the header does not scroll on small devices */
.mdl-layout__container .mdl-layout--fixed-header .mdl-layout__content {
    overflow-y: visible;
    overflow-x: visible;
    overflow: visible;
}
/* Overrides MDL colors */
.mdl-layout.is-upgraded .mdl-layout__tab.is-active::after,
.header .mdl-textfield__label:after {
    background-color: #FFCA28;
}
.mdl-snackbar__action {
    color: #FFCA28;
}
.mdl-textfield__label:after {
    background-color: #0288D1;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label {
    color: #0288D1;
}

/* Header */

.logo {
    font-family: 'Amaranth', sans-serif;
}
.logo .material-icons {
    top: 4px;
    font-size: 32px;
    margin-right: -2px;
    position: relative;
}
.header .mdl-layout__header-row {
    max-width: 1024px;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    margin: auto;
    position: relative;
}
@media screen and (max-width: 840px) {
    .header .mdl-layout__header-row.titlebar {
        height: 56px;
    }
    .titlebar h3 {
        font-size: 24px;
    }
    .titlebar h3 .material-icons {
        top: 2.5px;
        font-size: 23px;
    }
}
@media screen and (max-width: 479px) {
    .mdl-grid {
        padding: 0;
    }
    .mdl-card {
        font-size: 14px;
    }
}

/* Signed-in user */

.avatar {
    height: 32px;
    width: 32px;
    display: inline-block;
    background-size: 32px 32px;
    border-radius: 32px;
    border: 2px white solid;
    margin-right: 10px;
    background-image: url('./silhouette.jpg');
}
.avatar_equipo {
    height: 52px;
    width: 52px;
    display: inline-block;
    background-size: 52px 52px;
    border: 2px white solid;
    margin-right: 10px;
    background-image: url('./silhouette.jpg');
}

.avatar_equipo_logo{
    height: 52px;
    width: 52px;
    display: inline-block;
    background-size: 52px 52px;
    border: 2px white solid;
    /*margin-right: 10px;*/
    background-image: url('./silhouette.jpg');

}


.username{
    display: inline-block;
    line-height: 38px;
    vertical-align: top;
    width: calc(100% - 46px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.equiponame{
    display: inline-block;
    line-height: 38px;
    vertical-align: top;
    width: calc(100% - 46px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}


#sign-in-button {
    margin-left: 10px;
    color: inherit;
}
#sign-out-button {
    margin: 10px;
    color: inherit;
}
.mdl-button .material-icons {
    margin-top: -2px;
}
.mdl-button.mdl-button--icon .material-icons,
.mdl-button.mdl-button--fab .material-icons {
    margin-top: 0;
}

/* Navigation Bar */

.header .mdl-tab {
    padding-left: 23px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: visible;
    position: relative;
    margin: auto;
    max-width: 1024px;
}
@media screen and (max-width: 609px) {
    .header .mdl-tab {
        width: auto;
    }
}
.header .tab {
    padding: 0;
    max-width: none;
}
#add {
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 998;
}
@media screen and (max-width: 840px) {
    #add {
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 998;
        top: auto;
    }
}
#sign-out-button {
    right: 0;
    position: absolute;
}

/* Drawer */

.mdl-layout__drawer-button {
    display: none;
}
.mdl-layout__drawer .mdl-navigation .mdl-navigation__link.is-active,
.is-active .mdl-menu__item {
    color: black;
    background-color: #EBEBEB;
}
.mdl-layout__drawer {
    border-right-width: 0;
}
.mdl-navigation__link .material-icons, .mdl-menu__item .material-icons {
    position: relative;
    margin-top: -2px;
    margin-right: 10px;
}
.mdl-menu__item .material-icons {
    top: 7px;
}
@media screen and (max-width: 479px) {
    .mdl-layout__drawer-button {
        display: block;
        top: 3px;
    }
}

/* New Post Page */

#page-add {
    display: block;
    text-align: center;
}
#page-add .mdl-cell {
    width: auto;
    min-width: 300px;
}
#newPictureContainer {
    margin: 0;
    max-width: 100%;
    max-height: 400px;
}
@media screen and (max-width: 479px) {
    .mdl-snackbar__action {
        margin-right: 60px;
    }
}
.comments-container .username {
    width: auto;
}

.comments-container .equiponame{
    width: auto;
}

comments-container .tabla{
    padding: 15px 0px 0 0px;
}

.comments-container .comment{
    display: inline-block;
    vertical-align: top;
    padding-left: 10px;
    color: grey;
    line-height: 25px;
}
.comments-container .username {
    line-height: 25px;
}
.comments-container .equiponame{
    line-height: 58px;
}

/* Post */

.post .mdl-card {
    height: 100%;
    top: 0;
    left: 0;
    min-height: 0;
}
.post .header {
    padding: 10px;
    width: calc(100% - 100px);
    display: inline-block;
}
.post .star-count {
    color: #444;
    padding: 0 10px 0 5px;
    font-weight: bold;
    display: inline-block;
    top: -10px;
    position: relative;
}
.post .comments-container {
    padding: 15px 10px 0 10px;
}
.post .text {
    padding: 0 10px;
    color: grey;
}
.post .comments-container .text {
    margin-left: 5px;
    color: #444;
    transition: all 0.2s;
}
.post .add-comment{
    flex-grow: 1;
    padding: 0 10px;
    margin-bottom: -10px;
}
.post .add-comment.mdl-textfield {
    width: 100%;
}
.post .star {
    position: absolute;
    top: 10px;
    right: 0;
}
.post .star .material-icons {
    font-size: 35px;
    color: #ffcb0c;
    cursor: pointer;
}
.post .star .material-icons:HOVER {
    opacity: 0.6;
}
.post .star .starred {
    display: none;
}

/* Splash Page */

#page-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0288D1;
    background: radial-gradient(circle, #039BE5, #01579b);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
}

#inicioSeccion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0288D1;
    background: radial-gradient(circle, #039BE5, #01579b);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
}


.encabezado-tabla{
    background-color: #d9d9d9;
    text-align: center;
}
.encabezado-tablaIzq{
    background-color: #d9d9d9;

}
.encabezado-encurso{
    background-color:#ffeb3b;
}

.row-tabla{
    border-top: 1px solid #d5d5d5;
    padding: 1px;
}
.colum-tabla{
    border-right:   1px solid #d5d5d5;
    border-left:  1px solid #d5d5d5;
    padding: 1px;
}
.row-columnas{
    margin: 0px;

}
.grid-noppadin{
    padding: 0px;
}

.team-wrapper{
    width: 35%;
    font-size: 0;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;

}

.status-wrapper {
    width: 30%;
    text-align: center;
    color: #242424;
    font-size: 1.3rem;
    font-weight: 300;
    display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
    display: flex;
    justify-content: center;
}

.date-time-wrapper {
    width: 15%;
    font-size: .65rem;
    /*padding: 0 5px;*/
    text-align: center;
    white-space: nowrap;
    display: -webkit-flex; /* Safari */
    -webkit-align-items: center; /* Safari 7.0+ */
    display: flex;
    justify-content: center;
}

.link-venue-wrapper{
    width: 100%
}



.local{
    text-align: right;
}/*

*/
.team-wrapper.local{
    text-align: right;
}

.name-team {
    width: calc(100% - 35px);
    box-sizing: border-box;
    text-transform: uppercase;
    padding-left: 3px;
    color: #242424;
    vertical-align: middle;
    font-size: .7rem;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-user {
    width: calc(100% - 2%);
    box-sizing: border-box;
    text-transform: uppercase;
    /*padding-left: 3px;*/
    color: #242424;
    vertical-align: middle;
    font-size: .7rem;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}


.name-teamInput {
    width: calc(100% - 55px);
    box-sizing: border-box;
    text-transform: uppercase;
    padding-left: 3px;
    color: #242424;
    vertical-align: middle;
    font-size: .7rem;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-pronosticos {
    /*width: calc(100% - 55px);*/
    box-sizing: border-box;
    text-transform: uppercase;
    /*padding-right: 3px;*/
    color: #242424;
    vertical-align: middle;
    font-size: .8rem;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}



.inputRadioQuiniela{
    vertical-align: middle;
    padding-left: 3px;
}


@media screen and (max-width: 767px){
    .team-wrapper.local {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        text-align: left;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media only screen and (max-width: 767px){
    .team-wrapper.visitor {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
        text-align: right;
        -ms-flex-align: center;
        align-items: center;
    }

}

@media screen and (min-width: 992px){
    .date-time-wrapper {
        padding: 0 5px;
        padding: 0px;
        min-width: 15%;
        font-size: .9rem;
    }
}
@media screen and (min-width: 992px){
    .team-wrapper {
        width: 20%;
    }
}
@media screen and (min-width: 992px){
    .status-wrapper {
        width: 15%;
    }
}

@media screen and (min-width: 992px){
    .link-venue-wrapper{
        width: 40%;
        padding-right: 10px;
        background: transparent;
    }
}
