.items {
    display: flex;
    margin-bottom: 50px;
    margin-top: 25px;
}

.item {
    width: 25%;
    border: 1px solid #ededed;
    margin-right: 15px;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}

.item:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
}

.item.active {
    border: 3px solid #FF9800;
}

.item.completed {
    border: 3px solid #8BC34A;
}

.items .item:last-child {
    margin-right: 0;
}

.item .header .img {
    height: 170px;
}

.item .header .img-inner {
    display: flex;
    justify-items: center;
    align-items: center;
}

.item .title {
    height: 90px;
    line-height: 20px;
    padding-top: 5px;
}

.item .footer .buttons {
    margin-top: 20px;
    display: flex;
}

.item .footer .buttons a {
    display: block;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
}

.item .footer .buttons a.btn-start {
    background: #ededed;
    color: #464646;
    flex: 1;
    justify-content: center;
}

.item .footer .buttons a.btn-check {
    background: #2196F3;
    color: #ffffff;
    flex: 1;
    justify-content: center;
}

.item .footer .buttons a.btn-completed {
    background: #8BC34A;
    color: #ffffff;
    flex: 1;
    justify-content: center;
}

.item .footer .buttons a.btn-refresh {
    margin-left: 10px;
    background: url(../img/icons/refresh.svg) no-repeat center #ededed;
    width: 35px;
}

.item .footer .buttons a.btn-cancel {
    margin-left: 10px;
    background: url(../img/icons/cancel.svg) no-repeat center #ededed;
    width: 35px;
}

.item .footer .buttons a.btn-check:hover, .item .footer .buttons a.btn-completed:hover {
    opacity: 0.85;
}

.item span.wait-label {
    flex: 1;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #FF9800;
    text-transform: uppercase;
}

.item span.wait-label.completed {
    color: #8BC34A;
}

.item .footer .buttons a.btn-start:hover {
    background-color: #FFC107;
    color: #ffffff;
}

.item .footer .buttons a.btn-refresh:hover, .item .footer .buttons a.btn-cancel:hover {
    background-color: #2196F3;
    color: #ffffff;
}

.item .list {
    margin-top: 10px;
}

.item .award {
    margin-top: 10px;
}

.item .award-value {
    font-weight: bold;
    background: url(../img/icons/award_points.svg) no-repeat left;
    padding-left: 30px;
    font-size: 16px;
}

.item select {
    padding: 6px 12px;
    margin: 0;
    border-radius: 4px;
    line-height: normal;
    background-color: #fff;
    min-height: unset;
}

.item span.label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.item .wait {
    height: 70px;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9800;
    font-size: 16px;
    flex-wrap: wrap;
}

.award-select {
    list-style: none;
    margin-top: 10px;
}

.award-select li {
    padding: 10px 20px 10px 40px;
    border-radius: 4px;
    cursor: pointer;
}

.award-select li.award-points {
    background: url(../img/icons/award_points.svg) no-repeat 10px;
}

.award-select li.award-dino {
    background: url(../img/icons/award_dino.svg) no-repeat 10px;
}

.award-select li.award-points-dino {
    background: url(../img/icons/award_dino.svg) no-repeat 10px;
}

.award-select li.award-fragments {
    background: url(../img/icons/award_fragments.png) no-repeat 10px;
}

.award-select li:hover {
    background-color: #f5f5f5;
}

.item .type-label {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 4px 12px;
    background: #f9cd4a45;
    color: #ff9800;
    line-height: normal;
    font-size: 12px;
    border-radius: 0 2px 2px 0;
}

.top-list tr td:first-child, .top-list tr th:first-child {
    width: 30px;
}

.top-list tr td:nth-child(2), .top-list tr th:nth-child(2) {
    text-align: left;
}

.quest-daily {
    display: flex;
    margin-bottom: 50px;
    background: #fdf1ce40;
    border: 1px solid #fdf1ce;
    padding: 20px;
    border-radius: 4px;
}

.quest-daily.quest-daily-success {
    background: #4caf5012;
    border: 1px solid #8bc34a;
}

.quest-daily .left-side {
    margin-right: 20px;
}

.quest-daily .left-side-img {
    width: 270px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-side-btn {
    text-align: center;
    margin: 35px 35px 0;
}

.left-side-btn .btn-replace {
    text-align: center;
    border: 1px solid #fdf1ce;
    padding: 5px 0;
    border-radius: 4px;
    cursor: pointer;
}

.left-side-btn .btn-replace:hover {
    background-color: #fdf1ce;
}

.quest-daily .right-side {
    flex: 1;
}

.quest-daily .daily-reward {
    background: url(../img/icons/award_points_32.svg) no-repeat left;
    padding-left: 38px;
}

.quest-daily .props {
    margin-bottom: 10px;
}

.quest-daily .props .date {
    font-size: 12px;
}

.quest-daily .progress {
    margin-bottom: 10px;
}

.quest-daily .description {
    line-height: normal;
    font-size: 12px;
    margin: 10px 0;
    background: #f1ead79c;
    padding: 10px 15px;
    border-radius: 4px;
    color: #9d9990;
}

.quest-daily .progress .progress-box {
    position: relative;
    background-color: #edededd4;
    border: 1px solid #fdf1ce;
    border-radius: 4px;
    overflow: hidden;
}

.quest-daily .progress .progress-bar {
    position: absolute;
    height: 100%;
    background-color: #ddc180;
    top: 0;
    left: 0;
}

.quest-daily .progress .progress-label {
    position: relative;
    z-index: 1;
    color: #fff;
    width: 100%;
    display: flex;
}

.quest-daily .progress .progress-label span {
    padding: 0 10px;
}

.quest-daily .progress .progress-label span:last-child {
    flex: 1;
    text-align: right;    
    color: #000000;
}

.quest-daily .status-success {
    font-size: 18px;
    text-transform: uppercase;
    margin: 10px 0;
    color: #8BC34A;
    font-weight: bold;
}

.quest-daily .status-failed {
    font-size: 18px;
    text-transform: uppercase;
    margin: 10px 0;
    color: #f44336;
    font-weight: bold;
}

.quest-daily .reward-title {
    font-weight: bold;
}

.quest-daily .reward-list {
    margin-bottom: 10px;
}

#dlgStartQuest {
    width: 600px;
}

.group-quest {
    margin: 25px 0;
    background: #c1aee345;
    border: 1px solid #c1aee3;
    padding: 20px;
    border-radius: 4px;
}

.group-quest .gq-top {
    display: flex;
    width: 100%;
}

.gq-left {
    width: 285px;
    margin-right: 40px;
}

.gq-right {
    flex: 1;
}

.gq-title {
    font-size: 20px;
    line-height: 33px;
}

.gq-desc {
    line-height: normal;
    font-size: 12px;
    margin: 10px 0;
    background: #c1aee345;
    padding: 10px 15px;
    border-radius: 4px;
    color: #946bdd;
}

.gq-members {

}

.gq-members-title, .gq-awards-title {
    margin-bottom: 5px;
    font-weight: bold;
}

.gq-members-list {
    display: flex;
    flex-wrap: wrap;
}

.gq-member {
    position: relative;
    display: flex;
    margin-right: 10px;
    padding-right: 10px;
}

.gq-member a {
    display: block;
    margin-right: 5px;
}

.gq-member div {
    display: none;
    position: absolute;
    background: url(../img/icons/cross_red.svg) no-repeat center #ffcac6;
    right: -22px;
    top: 2px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 1;
}

.gq-member:hover div {
    display: block;
}

.gq-stages-title {
    margin-bottom: 5px;
    font-weight: bold;
}

.gq-stages-list {
    display: flex;
}

.gq-stage-progress {
    height: 20px;
    margin: 5px 0 5px;
    border-left: 2px solid #673AB7;
    width: 100%;
    position: relative;
    background: #947eb936;
}

.gq-stage-progress span {
    display: block;
    position: absolute;
    height: 100%;
    background: #947eb9;
    line-height: normal;
    text-align: right;
    font-size: 0;
    user-select: none;
}

.gq-stage.complete .gq-stage-progress span {
    font-size: 0;
}

.gq-stage.complete .gq-stage-loc {
    opacity: 0.5;
}

.gq-stage.current .gq-stage-progress span {
    font-size: 13px;
}

.gq-stage-loc {
    font-size: 13px;
    max-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gq-stage.current .gq-stage-loc {
    font-weight: bold;
}

.gq-stage {
    opacity: 1;
}

.gq-stage:hover .gq-stage-progress span {
    margin-top: -3px;
    height: calc(100% + 6px);
    line-height: 24px;
}

.gq-props {
    font-size: 13px;
    margin: 10px 0;
}

.gq-member-add {
    cursor: pointer;
    display: inline-block;
    padding: 1px 10px;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 12px;
}

.gq-member-add:hover {
    color: #fff;
    background-color: #4CAF50;
}

.gq-left img {
    border-radius: 4px;
}

.gq-refresh {
    cursor: pointer;
    display: inline-block;
    padding: 1px 10px;
    border: 1px solid #FFC107;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 12px;
    width: 100%;
    text-align: center; 
}

.gq-refresh:hover {
    background-color: #FFC107;
}

.gq-stages-list {
    background: url(../img/icons/award_points_32.svg) no-repeat calc(100% + 3px) 4px;
}

.gq-awards-list {
    margin-bottom: 10px;
}

.gq-award {
    line-height: normal;
}

.gq-stage-points {
    display: flex;
    user-select: none;
}

.gq-stage-points span {
    display: block;
    width: 50%;
    line-height: normal;
    user-select: none;
}

.gq-stage-points span:first-child {
    display: none;
}

.gq-stage.current .gq-stage-points span:first-child {
    display: block;
}

.gq-stage-points span:last-child {
    text-align: right;
    flex: 1;
    color: #9E9E9E;
}

.gq-stage.current .gq-stage-points span:last-child {
    display: block;
    color: unset;
}

.gq-buttons {
    margin-top: 15px;
}

.gq-start {
    cursor: pointer;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    background: #FFC107;
    color: #fff;
}

.gq-start:hover {
    background: #fdc51b;
}

.gq-stage-hint {
    font-size: 11.5px;
    margin-top: 5px;
    color: #FF9800;
    line-height: normal;
}

.gq-prop {
    line-height: normal;
}

.gq-stage .gq-stage-progress span {
    width: 0;
}

.q-progress {
    font-weight: bold;
    color: #795548;
}

@media screen and (max-width: 640px) {
    .items {
        display: block;
    }
    .item {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    .item .header .img {
        height: 100%;
    }

    .quest-daily {
        display: block;
        flex-wrap: wrap;
    }

    .quest-daily .left-side {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .quest-daily .right-side {
        width: 100%;
        margin-top: 20px;
    }

    .quest-daily .left-side-img {
        width: 100%;
        height: 100%;
        display: block;
        padding-bottom: 20px;
    }

    #dlgStartQuest {
        width: 100%;
    }

    .dialog-form-simple {
        padding-top: 20%;
    }
}

