.card-game-profile {
    position: relative;
    z-index: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 1rem;
    border: 0;
    border-radius: 0;
    background: #fefefe;
    box-shadow: none;
    color: #0a0a0a;
    width: 100%;
}

.card-game-profile .card-container {
    display: flex;
    flex-flow: column nowrap;
}

.card-game-profile > :last-child {
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.card-game-profile:hover .card-game-group-img, .card-game-profile:hover .card-game-group-header {
    opacity: 1;
}

.card-game-profile:hover .card-container {
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.card-game-profile-content {
    position: relative;
    flex-grow: 1;
}

.card-game-profile-content::before {
    position: absolute;
    content: '';
    top: -5rem;
    left: -1.875rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5rem 0 0 61.25rem;
    z-index: 0;
    border-color: transparent transparent transparent white;
}

.card-game-profile-actions {
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    padding: 0 1rem 1rem 1rem;
    background: #e6e6e6;
    background: #fefefe;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: column wrap;
}

.card-game-profile-actions:not(:last-child) {
    padding-bottom: 0;
}

.card-game-profile-actions:first-child {
    padding-top: 0;
}

.card-game-profile-actions > :last-child {
    margin-bottom: 0;
}

.card-game-group-img {
    max-width: 100%;
    opacity: 0.5;
    max-height: 135px;
    min-height: 135px;
    width: 100%;
    transition: all 0.3s ease;
}

.image-container {
    position: relative;
}

.card-game-group-header {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 20;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.card-game-group-header h3 {
	color: black;
	font-size: 1.6rem;
	text-transform: unset;
	font-weight: bold;
}

.game-teams-wrapper {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    align-items: center;
    padding: 0 1rem;
}

.game-teams-wrapper .game-team-avatar {
    width: 40%;
    display: flex;
    justify-content: center;
}

.game-teams-wrapper .game-team-avatar-spacer {
    width: 20%;
    text-align: center;
    font-weight: bold;
    padding-top: 1rem;
}

.game-teams-wrapper .game-team-avatar-spacer p:first-child {
    font-size: 1rem;
    font-weight: normal;
}

.game-teams-wrapper .game-team-avatar-spacer p {
    margin-bottom: 0;
}

@media only screen and (max-width: 640px) {
    .game-teams-name-wrapper p {
        font-size: 1rem;
    }

    .game-teams-wrapper .game-team-avatar-spacer p:first-child {
        font-size: 0.9rem;
    }
}

.game-teams-name-wrapper {
    display: flex;
    justify-content: space-around;
}

.game-teams-name-wrapper p:first-child, .game-teams-name-wrapper p:last-child {
    width: 40%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.game-teams-name-wrapper p:nth-child(2) {
    width: 20%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

.game-teams-wrapper .image-container {
    max-width: 4rem;
}

.game-teams-wrapper img {
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
}

.card-game-profile-name {
    margin-bottom: 0;
    font-weight: 300;
    font-size: 1.25rem;
}

.card-game-profile-button {
    margin-bottom: 0;
    -webkit-flex: 1 0 0;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
}

.card-game-profile-button + .card-game-profile-button {
    margin-left: 1rem;
}

.card-game-profile-info {
    font-size: 0.875rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.card-game-profile form, .card-game-profile input {
    width: 100%;
}

.plus-minus-input {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    flex-basis: 50%;
}

.card-game-profile-actions .input-group-button {
    height: 70%;
}

.plus-minus-input .input-group-field {
    text-align: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.5rem;
}

.plus-minus-input .input-group-field::-webkit-inner-spin-button,
.plus-minus-input .input-group-field ::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

.plus-minus-input .input-group-button .circle {
    border-radius: 50%;
    padding: 0.4rem 0.5rem;
}

.card-game-profile-actions .input-group-field.button {
    margin-bottom: 0;
    cursor: default;
}

.game-result {
    color: #3D5998;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    font-weight: bold;
}

.button.hollow {
    border-color: #3D5998;
    color: #3D5998;
    padding: 0.5rem 0.5rem;
}

@media only screen and (min-width: 640px) {
    .button.hollow {
        padding: .85em 1em;
    }
}

.button.hollow:hover {
    border-color: #3D5998;
    color: #3D5998;
    background-color: rgba(93, 116, 167, 0.07);
}

.game-date-header:not(:last-child) {
    margin-bottom: 1rem;
}

.game-date-header h2 {
    margin: 0;
}

.game-date-header span {
    color: #4F4F4F;
    font-size: 1.25rem;
    line-height: 1.4;
}

.betting-allowed-container .type-sidelines {
    margin-bottom: 1rem;
}