﻿.reset-button {
    background-color: #cc0000;
    border: none;
    color: white;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    float: right;
}

#pool {
    overflow: hidden;
    /*background-color: #e1e1e1;*/
    /*background-color: rgba(225,225,225,0.9);*/
    padding-top: 20px;
    font-size: 12px;
    padding: 40px 0;
}

.s9-picks-title {
    float: left;
    margin-top: 10px;
    margin-bottom: 30px;
}

.picks-container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}
.grey {
    background-color: #eff0f1 !important;
}
.bracket {
    display: block;
    float: left;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 42%;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    flex-direction: row;
}

.finalfour {
    float: left;
    display: block;
    width: 16%;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-self: center;
    align-self: center;
    margin-top: -15px;
    text-align: center;
    padding: 230px 0\9;
}

    .finalfour i {
        color: #a0a6a8;
        font-size: 45px;
        padding: 10px 0;
    }
.tie_details {
    text-align: center;
    padding-bottom:20px
}
.tie_input {
    text-align: center;
    width: 20% !important;
    height: 50px;
    font-size: 32px;
}
.tie_button {
    margin-top: 20px;
    background-color: #013369;
    height: 40px;
    color: white;
    transition: 0.2s;
}

.tie_button:hover {
    background-color: #cc0000;
    color: white;
}

input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.round {
    display: block;
    float: left;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    width: 130px;
    width: 35.8333%\9;
}

.bracket-right {
}

.bracket-left .round {
    margin: 0 2% 0 0;
}

.bracket-right .round {
    margin: 0 0 0 2%;
}

.game {
    margin: 0;
    width: 100%;
    padding: 10px 0px;
    height: 60px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.score {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #2C7399;
    text-transform: uppercase;
    float: right;
    color: #2C7399;
    font-weight: bold;
    position: absolute;
    right: 5px;
}

.team {
    padding: 0 5px;
    margin: 2px 0;
    height: 25px;
    line-height: 25px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.round-2 .game {
    height: 60px;
    margin: 0;
    padding: 60px 0;
}
.sweet-16 .game {
    height: 60px;
    margin: 0;
    padding: 120px 0;
}

.elite-8 .game {
    height: 60px;
    margin: 0;
    padding: 260px 0;
}

.round-details {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    color: #2C7399;
    height: 60px;
}

.finalfour li, .round li {
/*    background-color: #fff;*/
    box-shadow: none;
    font-size: larger;
    opacity: 0.45;
}

li {
    opacity: 1;
}

    li.team {
        text-overflow: ellipsis;
/*        background-color: #fff;*/
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        opacity: 1;
    }

.team-picked {
    font-weight: 600;
    background-color: #2C7399;
    color: white;
}


.final {
    margin: 4em 0;
    font-size:larger;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.3);
        -ms-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.date {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: Arial, Helvetica, sans-serif;
    color: #191970;
}


@media screen and (min-width: 981px) and (max-width: 1099px) {
    .picks-container {
        margin: 0 1%;
    }

    .finalfour {
        width: 13%;
    }

    .bracket {
        width: 42%;
    }

    .bracket-left .vote-box {
        margin-left: 128px;
    }
    .round {
        max-width: none !important;
    }
}

@media screen and (max-width: 1200px) {
    .picks-container {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        flex-direction: column;
    }

    .bracket, .finalfour {
        width: 90%;
        margin: 20px 5%;
    }

    .finalfour {
        -webkit-box-ordinal-group: 3;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
    }

    .bracket {
        border-bottom: 1px solid #b6b6b6;
        padding-bottom: 20px;
    }
}


@media screen and (max-width: 400px) {

    .bracket {
        width: 95%;
        margin: 25px 2%;
    }

    .round {
        width: 21%;
    }

    .current {
        -webkit-flex-grow: 1;
        -moz-flex-grow: 1;
        flex-grow: 1;
    }

    .round-details {
        font-size: 90%;
    }
    .tie_input {
        width: 80% !important
    }
}
@media screen and (min-width: 400px) and (max-width: 800px) {
    .tie_input {
        width: 40% !important
    }
}
@media screen and (min-width: 800px) {
    .tie_input {
        width: 20% !important
    }
}
@media screen and (min-width: 1400px) {
    .round {
        max-width: 100px !important;
}
    }
    .round-1{
        max-width: none !important;
    }
}