/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}


/* Aks follow wrapper */
.aks-follow {
    position: relative;
    background: #202533;
    animation: .4s ease-out fadeIn both;
}

/* Btn follow labels */
.aks-follow__label--follow {
    display: inline-block;
}
.aks-follow.following .aks-follow__label--follow {
    display: none;
}
.aks-follow__label--followed {
    display: none;
}
.aks-follow.following .aks-follow__label--followed {
    display: inline-block !important;
}


.game-aside-button {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
    border-bottom: 1px solid #171a21;
}

.game-aside-button-icon {
    margin-right: 7px;
}

.aks-follow {
    min-width: 180px;
    min-height: 101px;
    background-color: #202533;
    border: solid 1px;
    border-color: #171a21;
    box-sizing: border-box;
}

.aks-follow-btn {
    align-items: center;
    color: white;
    text-transform: uppercase;

    overflow: hidden;
    white-space: nowrap;

    display: inline-flex;
}

.aks-follow-fa-icon {
    font-size: 23px;
}

.aks-follow-btn-text {
    max-width: 142px;
    font-size: 13px;
    flex-grow: 1;
}

.aks-follow-btn:hover {
    background-color: #525f83;
}

.aks-follow-btn-icon {
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 30px;
}

.aks-follow-btn-follow {
    height: 70px;
    border-right: solid 1px;
    background-color: #202533;
    border-color: #171a21;
}

.aks-follow-btn-score {
    height: 70px;
}
.aks-follow-btn-score-red
{
    background-color: #d43e3e;
    color: #fffcfb;
}

.aks-follow-btn-score-yellow
{
    background-color: #C25705;
    color: #fff;
}

.aks-follow-btn-score-green
{
    background-color: #00853F;
    color: #e8ffee;
}

.aks-follow-btn-score-grey
{
    background-color: #9c9c9c;
    color: #f1f1f1;
}

.aks-follow .aks-follow-btn
{
    min-height: 47px;
}
.aks-rating-btn-comment {
    height: 70px;
    background-color: #202533;
    border-right: solid 1px;
    border-color: #171a21;
    color: #ffffff;
}

.jc-center {
    flex-direction: column;
}

/*HOVER*/


.aks-follow-btn-follow:hover {
    background-color: #525f83;
    font-size:medium;
}
.aks-rating-btn-comment:hover {
    background-color: #525f83;
    font-size:medium;
}
.aks-follow-btn-score:hover {
    /*background-color:#62a14c;*/
    font-size:medium;
}


.aks-follow-loading {
    animation: 1s spin infinite cubic-bezier(.58, .57, .68, .82);
}

@media (min-width: 576px) and (max-width:767px) {
    .aks-follow {
    min-width: auto;
    }

    .aks-follow-btn-text {
    font-size: 11px;
    }

    #gamepageSlide .gallery-element-image {
    max-width: 130px;
    }

    #gamepageSlide {
    height:auto;
    }
}

.following .aks-follow-btn-follow{
    background: #e23333;
}


.aks-follow-btn:not(.loading) .aks-follow-loading {
    display: none;
}

.aks-follow-btn.loading .follow-icon {
    display: none;
}

.aks-follow-btn.loading .aks-follow-btn-text {
    opacity: 0.8;
}

.aks-follow-popover-shade {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 7;
    opacity: 0;
    transition: all 0.3s;
}

.aks-follow-popover-shade.animate-in {
     opacity: 1;
}

.aks-follow-popover {
    background-color: #202533;
    border: 1px solid #171a21;
    width: 0;
    position: absolute;
    top: 200px;
    left: 200px;
    z-index: 9;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.35);
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s;
}

    .aks-follow-popover.animate-in {
        width: 700px;
        opacity: 1;
        overflow: visible;
    }

    .aks-follow-popover-arrow {
        content: "";
        display: block;
        background-color: #202533;
        border: 1px solid #141720;
        width: 20px;
        height: 20px;
        transform: rotate(45deg);
        position: absolute;
        left: calc(-20px / 2);
        top: 176px;
        z-index: 101;
    }

    .aks-follow-popover-arrow-mask {
        content: "";
        display: block;
        background-color: #202533;
        width: 40px;
        height: 40px;
        position: absolute;
        left: 0;
        top: 166px;
        z-index: 102;
    }

    .aks-follow-popover-content {
        position: relative;
        z-index: 103;
        text-align: left;
    }

        .aks-follow-popover-section {
        }

            .aks-follow-popover-section-title {
                background-color: #141720;
                padding: 5px 10px;
                text-transform: uppercase;
                color: white;
                display: block;
                text-align: center;
                white-space: normal;
            }

                .aks-follow-popover-section-title .icon {
                    width: 20px;
                    position: relative;
                    left: -4px;
                }

            .aks-follow-popover-follow,
            .aks-follow-popover-unfollow {
                padding: 10px 20px;
            }

            .aks-follow-popover-follow {
                background-color: #147ac3;
            }

            .aks-follow-popover-unfollow {
                background-color: #c35514;
            }

            .aks-follow-popover-section-content {
            }

    .aks-follow-price-alert-content {
        padding: 5px 10px 15px;
    }

        .aks-follow-price-alert-content-notice {
            font-style: italic;
            font-size: 12px;
            margin-top: 7px;
        }

        .aks-follow-price-alert-content label {
            display: block;
        }

            .aks-follow-price-alert-content label input:not([type="checkbox"]),
            .aks-follow-price-alert-content label select {
                display: block;
                width: 100%;
                height: 31px;
                margin-top: 5px;
            }

            .aks-follow-price-alert-content .choices {
                color: black;
                width: 230px;
                margin-top: 5px;
                margin-bottom: 8px!important;
            }

            .aks-follow-price-alert-content .choices__inner {
                min-height: 31px;
                color: black;
                padding: 2px 2px 0;
            }

            .aks-follow-price-alert-content .choices__inner .choices__list {
                white-space: normal;
            }

            .aks-follow-price-alert-content .choices__inner .choices__item {
                background-color: #68c1f6;
                padding-top: 2px;
                padding-bottom: 2px;
            }

            .aks-follow-price-alert-content .choices__input {
                padding: 0;
                margin: 0;
            }

            .aks-follow-price-alert-content .is-selected {
                background-color: #68c1f6;
            }

            .aks-follow-price-alert-content .is-highlighted {
                background-color: #147ac3!important;
            }

/*        .aks-follow-price-alert-content-submit {
            padding: 1px 10px;
        }*/

            .aks-follow-price-alert-content-submit.loading .aks-follow-price-alert-content-submit-text {
                display: none;
            }

            .aks-follow-price-alert-content-submit:not(.loading) .aks-follow-price-alert-content-submit-loading {
                display: none;
            }

                .aks-follow-price-alert-content-submit-loading span {
                    margin-left: 5px;
                }

        .aks-follow-price-alert-error,
        .aks-follow-price-alert-success{
            margin-top: 10px;
            font-size: 14px;
            display: none;
            white-space: normal;
        }

            .aks-follow-price-alert-error a,
            .aks-follow-price-alert-success a {
                text-decoration: underline;
                color: inherit;
            }

        .aks-follow-price-alert-error {
            color: #ff5c1b;
        }

        .aks-follow-price-alert-success {
            color: #38cc1f;
        }

.aks-follow-lists-table {
}

    .aks-follow-lists-scroll {
        max-height: 180px;
        overflow: auto;
    }

        .aks-follow-lists-row {
            display: flex;
            align-items: center;
            height: 45px;
            margin: 0;
        }

        .aks-follow-lists-row:hover {
            background-color: rgba(255, 255, 255, .01);
        }

        .aks-follow-lists-row:nth-of-type(odd) {
            background-color: rgba(0, 0, 0, .05);
        }

        .aks-follow-lists-row:nth-of-type(odd):hover {
            background-color: rgba(0, 0, 0, .08);
        }

            .aks-follow-lists-cell-small {
                width: 40px;
                text-align: center;
            }

            .aks-follow-lists-cell-large {
                padding: 0 15px;
                display: flex;
                overflow: hidden;
                flex: 1;
            }

                .aks-follow-lists-cell input[type="checkbox"] {
                    width: 13px;
                    height: 13px;
                }

                .aks-follow-list-cell-loading {
                    font-size: 13px;
                }

        .aks-follow-lists-create .fa-times,
        .aks-follow-lists-create .fa-spinner,
        .aks-follow-lists-create .fa-plus {
            display: none;
        }

        .aks-follow-lists-create:not(.editing):not(.loading) .fa-plus,
        .aks-follow-lists-create.editing .fa-times,
        .aks-follow-lists-create.loading .fa-spinner {
            display: inline;
        }

        .aks-follow-lists-create:not(.editing),
        .aks-follow-lists-create.editing .aks-follow-lists-create-icon {
            cursor: pointer;
        }

    .aks-follow-lists-delete-confirm {
        display: flex;
    }

        .aks-follow-lists-delete-confirm > span:nth-child(2) {
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
        }


.aks-follow-lists-manage {
    text-align: center;
    padding: 13px 0;
}

.aks-follow-popover-graph-canvas-container {
    position: relative;
    overflow: hidden;
}


@media (max-width: 1199px) {
    .aks-follow-popover {
        top: 5%!important;
        left: 15px!important;
        right: 15px!important;
        margin: auto;
    }

    .aks-follow-popover-arrow,
    .aks-follow-popover-arrow-mask {
        display: none;
    }
}

@media (max-width: 750px) {
    .aks-follow-popover.aks-follow-popover {
        width: auto!important;
    }
}
