/*------------------ Navigation tabs --------------------*/
.profile-nav-item {
    width: 50%;
    height: 50px;
    line-height: 50px;
    float: left;
    text-align: center;
    background-color: #bebebe;
    font-size: 20px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: inset 5px 0 2px #AAA;
}

.profile-nav-item.active {
    color: #fff;
    background-color: #383838;
    box-shadow: inset 0 0 5px #000;
}

.profile-content {
    min-height: 435px;
}

.profile-content .profile-content-item {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
}

.profile-content .profile-content-item.active {
    display: block;
}

.profile-content .title {
    margin: 10px 0 20px 0;
    font: 400 20px Helvetica, Arial, sans-serif;
}

/*------------------ Dashboard ------------------------*/
.profile-dashboard {
    padding: 20px 0;
    overflow: hidden;
}

.profile-dashboard .avatar {
    float: left;
    position: relative;
    width: 250px;
    height: 280px;
    background-color: #383838;
    margin-bottom: 30px;
    overflow: hidden;
}

.profile-dashboard .avatar img {
    width: 100%;
}

.profile-dashboard .avatar .upload-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.profile-dashboard .info {
    float: left;
    width: 300px;
    margin-left: 30px;
}

.profile-dashboard .info .nick {
    font-weight: bold;
    font-size: 22px;
}

.profile-dashboard .info .label {
    margin-top: 15px;
    font-size: 20px;
}

.profile-dashboard .info .value {
    font-size: 20px;
    font-weight: bold;
}

.profile-dashboard .info .stats-label {
    font-size: 12px;
}

.profile-dashboard .info .progress-bar {
    width: 100%;
    height: 30px;
    position: relative;
    background-color: #383838;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 5px 10px 0 10px;
}

.profile-dashboard .info .progress-bar .inner {
    display: block;
    height: 20px;
    background: #46A8ED linear-gradient(to bottom, #3F78A8 0%, #55B0F0 100%);
    background-color: #46A8ED;
    border-radius: 15px;
}

.profile-dashboard .info .progress-bar .level-title {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
}

.profile-dashboard .info .invite-friends-btn {
    margin-top: 27px;
}

.profile-dashboard .ask-form {
    position: relative;
    overflow: hidden;
    float: right;
    width: 300px;
    min-height: 260px;
    border-radius: 5px;
    padding: 10px;
    color: #fff;
    background-color: #383838;
    box-shadow: inset 0 0 5px #000;
}

.profile-dashboard .ask-form .ask-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.profile-dashboard .ask-form .info-message-ask {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    display: none;
}

.profile-dashboard .ask-form .select-area.ask-game {
    width: 295px !important;
}

.profile-dashboard .ask-form .select-ask-game {
    width: 295px !important;
}

.profile-dashboard .ask-form .ask-desc {
    width: 100%;
    height: 125px;
    color: #545454;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    margin-top: 10px;
    box-shadow: none;
    border-radius: 0;
}

.profile-dashboard .ask-form .question-mark {
    position: absolute;
    right: 58px;
    top: -30px;
}

.profile-dashboard .ask-form .question-mark:before {
    content: '?';
    color: rgba(150, 150, 150, 0.5);
    font: 700 130px Helvetica, Arial, sans-serif;
    position: absolute;
}

.profile-dashboard .ask-form .ask-button {
    width: 50%;
    box-sizing: border-box;
    margin: 10px 25% 0 25%;
}

.profile-dashboard .upload-button {
    position: absolute;
    top: 5px;
    left: 50px;
    opacity: 0;
    width: 150px;
    cursor: pointer;
}

.profile-dashboard .upload-button::-webkit-file-upload-button {
    visibility: hidden;
}

.profile-dashboard .avatar .upload-avatar {
    position: absolute;
    left: 30%;
    bottom: -28px;
}

.profile-dashboard .recently-watched-tips {
    height: 100px;
    background-color: #383838;
    margin: 0 -20px -20px;
}

.profile-dashboard .recently-watched-tips .recently-watched-tips-title {
    float: left;
    color: #fff;
    margin-left: 20px;
    margin-top: 35px;
    font: 400 20px Helvetica, sans-serif;
}

.profile-dashboard .recently-watched-tips .tip-wrapper {
    float: left;
    width: 250px;
    height: 80px;
    margin-top: 10px;
    margin-left: 15px;
    overflow: hidden;
    background-size: 100%;
    position: relative;
}

.profile-dashboard .recently-watched-tips .tip-info {
    float: right;
    width: 65%;
    box-sizing: border-box;
    height: 100%;
    padding: 10px;
    background-color: #fff;
    font: 400 12px Helvetica, sans-serif;
    color: #545454;
}

.profile-dashboard .recently-watched-tips .tip-info-game {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    white-space: nowrap;
    overflow-x: hidden;
}

.profile-dashboard .recently-watched-tips .tip-info-tip-title {
    max-height: 30px;
    overflow-y: hidden;
}

.profile-dashboard .recently-watched-tips .tip-link .play {
    position:absolute;
    display:none;
    top:50%;
    left:17%;
    margin:-30px 0 0 -31px;
    width:62px;
    height:61px;
    background:url(../resources/image/sprite.png) no-repeat 0 -25px;
    z-index:1000;
    content:'';
}

.profile-dashboard .recently-watched-tips .tip-link:hover .play  {
    display:block;
}

/*------------------ Account settings -----------------*/
.profile-account .settings {
    width: 70%;
    float: left;
}

.form.grey .form-row .actions .cancel,
.form.grey .form-row .actions .trigger
.form.grey .form-row .actions .submit {
    float: none;
}

.form.grey .form-row .value .control,
.form.grey .form-row .actions .cancel,
.form.grey .form-row .actions .submit {
    display: block;
}

.form.grey .form-row .actions .cancel {
    position: absolute;
    right: 0;
}

.form.grey .form-row .value {
    width: 380px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form.grey .form-row .label {
    width: 200px;
}

.form.grey .form-row .value .control input {
    width: 260px;
}

.form.grey .form-row .value.name .control input {
    width: 120px;
    min-width: inherit;
}

.form.grey .form-row .value.name .control input.last-name {
    margin-left: 10px;
}

.form.grey .form-row .actions {
    display: inline-block;
    position: relative;
    width: 165px;
}

.form.grey .form-row .actions .button.dark {
    width: 80px;
    position: absolute;
    bottom: -7px;
}

/*------------------ Styles for Social Connect -----------------*/
.profile-account .social-connect-block {
    float: right;
    padding: 0 20px;
    box-sizing: border-box;
    width: 28%;
    border-left: 1px solid #CCC;
    height: 230px;
}

.profile-account .social-connect-block .social-row {
    margin-bottom: 20px;
}

.profile-account .social-row .social-icon {
    width: 40px;
    float: left;
    margin-right: 5px;
}

.profile-account .social-row .social-not-linked-title,
.profile-account .social-row .social-linked-title,
.profile-account .social-row .social-link {
    font: 400 14px Helvetica, arial, sans-serif;
}

.profile-account .social-row .social-linked-title {
    font-weight: bold;
}

.profile-account .social-row .social-link {
    margin-top: 5px;
    display: block;
    color: #545454;
}

.profile-account .social-row .linking-icon {
    float: right;
    margin-top: 10px;
}

.profile-account .social-connect-block .error-message {
    line-height: 14px;
    margin-top: -15px;
    margin-bottom: 10px;
}

/*------------------ Most Watched Games -----------------*/
.most-watched-games-wrapper {
    margin: 30px 0;
}

.most-watched-games-wrapper .have-you {
    display: none;
}

.most-watched-games-wrapper .video-views {
    position: absolute;
    color: #aaa;
    width: 75%;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    font: 400 12px Helvetica, Arial, sans-serif;
}


@media only screen and (max-width:1023px) {
    .profile-dashboard .ask-form {
        float: none;
        clear: both;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 30px 0;
    }

    .profile-dashboard .ask-form .select-ask-game {
        width: 100% !important;
        margin: 0;
    }

    .profile-dashboard .ask-form .select-area.ask-game {
        width: 100% !important;
    }

    .profile-dashboard .recently-watched-tips {
        height: auto;
        padding-bottom: 10px;
    }

    .profile-dashboard .recently-watched-tips .recently-watched-tips-title {
        float: none;
        padding: 20px 0;
        margin: 0;
        text-align: center;
    }
}

@media only screen and (max-width:767px) {
    .profile-dashboard .avatar {
        float: none;
        margin: 0 auto 30px;
    }

    .profile-dashboard .info {
        float: none;
        clear: both;
        width: 100%;
        margin: 30px 0;
    }

    .profile-dashboard .ask-form {
        float: none;
        margin: 0 auto 30px;
    }
}

@media only screen and (max-width:480px) {
    .profile-nav-item {
        font-size: 16px;
    }

    .profile-dashboard .recently-watched-tips .tip-wrapper {
        margin: 10px auto;
        float: none;
    }

    .form.grey .form-row .value {
        width: 270px;
    }

    .most-watched-games-wrapper .slider-title {
        font-size: 20px;
        text-align: center;
    }
}
