/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #a73de1;
}

html, body {
    height:100%
}

body {
    font-size: 1em;
    /* line-height: 1.4; */
    background-color: #ebf0ed;
    color: #282828;
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

a {
    color: #762ba0;
}

a:visited {
    color: #762ba0;
}

a:hover {
    color: #762ba0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    max-width: 99%;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

a {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    cursor: pointer;
}

.block {
    display: block;
}

.mhead {
    /*left: 0;*/
    top: 0;
    width: 100%;
    position: fixed;
    -webkit-backface-visibility: hidden;
    height: 43px;
    background: #AF3BE8;
    color: #fff;
    overflow: hidden;
    zoom: 1;
    max-width: 650px;
}

.mfoot {
    background: #AF3BE8;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.mcont {
    padding-top: 43px;
    background-color: #ebf0ed;
}

/* m header button home wraper */
.mhb_home {
    width: 43px;
    float: left;

    padding-bottom: 1px;
    vertical-align: middle;
    display: block;
    color: #fff;
    border-left: none;
    text-align: center;
    white-space: nowrap;
}

.mhb_right {
    width: 18px;
    padding-left: 13px;
    padding-right: 12px;
    max-height: 3.318em;
    font-size: 1.08em;
    float: right;

    padding-bottom: 1px;
    vertical-align: middle;
    display: block;
    color: #fff;
    text-align: center;
    border-right: none;
    white-space: nowrap;
}

.mhb_center {
    padding-left: 10px;
    padding-right: 5px;
    zoom: 1;
    overflow: hidden;

    padding-bottom: 1px;
    vertical-align: middle;
    display: block;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.header_btn {
    font-size: 1.17em;
    overflow: hidden;
    zoom: 1;
    text-overflow: ellipsis;
    vertical-align: middle;
    display: block;
    color: #fff;
}

.home_btn {
    background: url(/images/menu_2x.png) center no-repeat;
    background-size: 20px 18px;
    padding: 12px 0;
}

.search_btn {
    background: url(/images/search_icon_2x.png) right center no-repeat;
    background-size: 18px 18px;
    padding: 12px 0 12px 17px;
}

#menu:not( .mm-menu ) {
    display: none;
}

.item-title {
    color: #762ba0;
    font-size: 1.1em;
    margin: 0 6px;
    padding: 8px 5px;
}

h1.item-title, h2.item-title {
    font-weight: bold;
    margin: 0;
    padding: 6px;
}

.item-card, .link-block {
    background: #fff;
    border-bottom: 1px solid rgba(206, 221, 250, 0.51);
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding: 5px 5px;
    display: block;
}

.more {
    padding-top: 8px;
    padding-bottom: 8px;
}

.items {
    /* cursor: pointer; */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #FFF;
    margin: 0 6px 8px;
    overflow: hidden;
}

.item-song {
    background: #fff;
    border-bottom: 1px solid rgba(206, 221, 250, 0.51);
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding: 5px 5px;
}

.item {
    background: #fff;
    border-bottom: 1px solid rgba(206, 221, 250, 0.51);
    padding: 5px 5px;
}

.item a {
    color: #762ba0;
}

.item-video {
    background: #fff;
    border-bottom: 1px solid rgba(206, 221, 250, 0.51);
    padding: 5px 5px;

    text-overflow: ellipsis;
    word-wrap: break-word;
}

.item-video table {
    width: 100%;
}

td.v-poster {
    width: 35%;
    min-width: 110px;
    vertical-align: top;
}

td.v-poster div {
    /*max-width: 130px;*/
    position: relative;
}

td.v-info {
    width: 100%;
    padding-left: 4px;
    font-size: 0.875em;
    vertical-align: top;
}

.v-poster img {
    min-width: 100px;
    min-height: 75px;
    width: 100%;
    max-width: 100%;
}

.v-title {
    text-overflow: ellipsis;
    word-wrap: break-word;
    font-weight: 700;
}

.v-line {
    padding: 5px 0;
}

.thumb_label {
    font-size: .75em;
    position: absolute;
    color: #fff;
    padding: 2px 3px;
    margin: 2px;
    right: 0;
    bottom: 0;
    background: #000;
    background: rgba(0,0,0,.5);
    line-height: 1em;
}

td.artist-title {
    vertical-align: middle;
    word-break: break-all;
    overflow: hidden;
    zoom: 1;
    text-overflow: ellipsis;
    /* display: block; */
    font-size: 0.9em;
}

td.dl {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    text-align: center;
    padding: 0 2px;
}

td.song-time {
    vertical-align: middle;
    text-align: center;
    width: 1%;
    color: #762ba0;
    font-size: 0.75em;
}

td.song-edit {
    vertical-align: middle;
    text-align: center;
    width: 32px;
    /* padding-right: 5px; */
}

td.play, td.song_icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    text-align: center;
    padding: 0 2px;
}

td.play.playing {
    /*
    background: url(/img/kompoziciya.gif) no-repeat center;
    background-size: 24px 24px;
    */
}

.item-song.playing {
    background: #f8f8f8;
}

.progress_wrap {
    /* margin: 0 10px; */
}

.aic_line {
    display: none;
}

.playing .aic_line {
    display: block;
}

.aic_line {
    position: relative;
    width: 100%;
    height: 4px;
    padding: 6px 0;
    /* margin-top: -8px; */
}

.aic_back_line {
    width: 100%;
    background-color: #D8DEE4;
}

.aic_ln {
    top: 0;
    margin: 6px 0;
    border-radius: 2px;
    display: block;
    position: absolute;
    height: 4px;
    -webkit-user-select: none;
}

.aic_pl_wrap {
    /* padding: 0 4px; */
    left: 0;
    right: 0;
}

.aic_progress_line {
    background-color: #AF3BE8;
    position: relative;
    border-radius: 0;
    margin: 0;
    width: 0;
}

.aic_slider {
    position: absolute;
    width: 8px;
    height: 8px;
    right: -4px;
    top: -2px;
    border-radius: 4px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: #AF3BE8;
    outline: rgba(0, 0, 0, 0) solid 1px;
}

.aic_ln, .aic_slider {
    -webkit-user-select: none;
}

div.progress-bar {
    margin-top: 3px;
    border-radius: 2px;
    height: 2px;
    width: 0;
    background-color: #56a0f2;
}

.item-song a, .item-card a, .item-song table {
    color: #762ba0;
}

td.album_poster_td_small {
    width: 50px;
    height: 50px;
    padding-right: 5px;
    overflow: hidden;
}

.album_poster_td_small img {
    width: 50px;
    height: 50px;
}

.btn_more_right {
    float: right;
    border: 1px;
    border-radius: 2px;
    padding: 2px 10px;
    background-color: #AF3BE8;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
}

.item-ads {
    display: inline-block;
    width: 30%;
    font-size: 0.8em;
    color: #762ba0;
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
}

/*
.play-button {
    width: 24px;
    height: 24px;
    float: left;
    background: url(../images/play24.png) center no-repeat;
    background-size: 24px 24px;
}

.song-duration {
    float: right;
    font-size: 0.8em;
    padding-left: 5px;
}

.song-info {
    padding-left: 5px;
    padding-right: 5px;
    zoom: 1;
    overflow: hidden;
    vertical-align: middle;
    display: block;
    text-align: left;
    white-space: nowrap;
}
*/

/* ====================================
   Headroom
   ==================================== */

/*
.headroom--pinned {
    display: block;
}
.headroom--unpinned {
    display: none;
}
*/

/**
 * Note: I have omitted any vendor-prefixes for clarity.
 * Adding them is left as an exercise for the reader.
 */
.headroom {
    -webkit-transition: transform 200ms linear;
    -moz-transition: transform 200ms linear;
    -ms-transition: transform 200ms linear;
    -o-transition: transform 200ms linear;
    transition: transform 200ms linear;
}

.headroom--pinned {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.headroom--unpinned {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}

/****** pages *******/
.pages {
    text-align: center;
    padding: 3px 0;
}

.pages a, .pages b {
    display: inline-block;
    /* cursor: pointer; */
    text-decoration: none;
    border: 1px solid #D9D9D9;
    border-radius: 3px 3px 3px 3px;
    padding: 5px 2px;
    vertical-align: middle;
    margin: 2px;
    background-color: #FFFFFF;
    overflow: hidden;
}

.next_page {
    width: 35%;
}

.prev_page {
    width: 35%;
}

.start_page_link {
    width: 10%;
    max-width: 50px;
}

.pages b {
    width: 10%;
    max-width: 50px;
}

@media screen and (min-width: 900px) {
    .next_page, .prev_page {
        width: 10%;
    }

    .start_page_link, .pages b {
        width: 5%;
        max-width: 50px;
    }
}

.pages b {
    border: 1px solid #D9D9D9;
    background-color: #F2F2F2;
}

.pages fieldset {
    border: 0;
    padding: 0;
}

.pages form {
    margin: 0;
}


input[type=submit], button, .ibutton {
    background-color: #AF3BE8;
    color: #FFF;
    padding: 5px;
    font-weight: bold;
    border: 1px;
    border-radius: 2px;
    -webkit-appearance: none;
}

.nav {
    font-size: 0.95em;
    color: #a73de1;
    margin: 0 2px 8px 6px;
}

.nav a {
    border: 1px;
    border-radius: 2px;
    padding: 2px 4px;
    background-color: #AF3BE8;
    font-size: 0.95em;
    color: #ffffff;
    display: inline-block;
    margin-top: 2px;
}

input {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.btn_short, a.btn_short {
    border: 1px;
    border-radius: 2px;
    padding: 2px 5px;
    background-color: #AF3BE8;
    font-size: 0.9em;
    font-weight: bold;
    margin: 3px 0;
    display: inline-block;
    color: #ffffff;
    text-align: center;
}

.btn_short_border, a.btn_short_border {
    border: 1px solid #AF3BE8;
    border-radius: 2px;
    padding: 2px 5px;
    font-size: 0.9em;
    /*font-weight: bold;*/
    margin: 3px 0;
    display: inline-block;
    text-align: center;
}

.btn_long, a.btn_long {
    border: 1px;
    border-radius: 2px;
    padding: 2px 5px;
    background-color: #AF3BE8;
    font-size: 0.9em;
    font-weight: bold;
    margin: 3px 0;
    display: inline-block;
    color: #ffffff;
    width: 100%;
    text-align: center;
}

.menu {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.menu ul {
    display: table-row;
}

.menu li {
    display: table-cell;
    margin: 0;
}

.menu a, .menu div {
    display: block;
    text-align: center;
    border: 1px solid #AF3BE8;
    border-radius: 2px;
    padding: 6px 2px;
    background-color: #fff;
    color: #762ba0;
    margin: 0 4px;
    font-weight: bold;
    vertical-align: middle;
    font-size: 0.8em;
}

.menu .activ {
    background-color: #AF3BE8;
    color: #fff;
}

#horizontal-style {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#horizontal-style li {
    display: table-cell;
    vertical-align: middle;
}

.formLine {
    overflow: hidden;
}

.formLine input {
    width: 100%;
}

.formLine .before {
    float: left;
}

.formLine span {
    display: block;
    overflow: hidden;
    padding: 0 5px;
}

.formLine .after {
    float: right;
}

.formLine input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.pre {
    display: block;
    unicode-bidi: embed;
    /* font-family: monospace; */

    white-space: pre-wrap; /* CSS 3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.item-card a.block {
    padding-top: 5px;
    padding-bottom: 5px;
}

#mm-0 {
    padding-top: 0;
}

#mm-0 .mm-navbar {
    display: none;
}

.oneline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

table.m-letters {
    width: 100%;
}

table.m-letters tr {
    border-bottom: 1px solid #c6c6c6;
}

table.m-letters td {
    width: 49%;
    text-align: center;
    border-right: 1px solid #c6c6c6;
}

table.m-letters a {
    padding: 5px;
    color: rgba(0, 0, 0, 0.7);
}

.red, a.red {
    color: #FF0000;
}

.error_msg {
    color: #FF0000;
    border: 1px solid #8e0002;
    background-color: #ffd39c;
    padding: 2px;
    margin: 2px 0;
}

.notice_msg {
    color: #126723;
    border: 1px solid #039734;
    background-color: #95ffc0;
    padding: 2px;
    margin: 2px 0;
}

.song_ver {
    font-size: 0.75em;
    color: rgba(119, 154, 200, 0.85);
}

.arrows-down {

}

.arrows-up {
    display: none;
}

.dashed-text {
    border-bottom: 1px dashed #a73de1;
    cursor: pointer;
}

.fav_right {
    float: right;
    width: 32px;
    vertical-align: middle;
}

.feed-item .item-card, .feed-item .item-song {
    border-bottom: 0;
}

.nwoh {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#videoplayer_vidmo {
    width: 99%;
    height: 175px;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

@media screen and (min-device-width: 480px) {
    #videoplayer_vidmo {
        width: 480px;
        height: 300px;
    }
}

.header_logo {
    display: inline-block;
    height: 37px;
    margin: 3px 0;
    /*width: 180px;*/
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

/*Videoblock*/
.items .video_block {
    margin-top: 5px;
}

.video_block {
    padding-bottom: 1px;

    border-bottom: 1px solid #ddd;

    /*background: #ebebeb;*/
}
    .video_block .video_block {
        border-bottom: 0;
    }
    .video_block h2 {
        overflow: hidden;

        height: 32px;

        margin: 0 0 10px 0;
        padding: 0 9px;

        background: #515151;

        font-size: 14px;
        font-weight: bold;
        line-height: 32px;
        color: #efefef;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .video_block .related-heading {
        overflow: hidden;

        height: 32px;

        margin: 0 0 10px 0;
        padding: 0 9px;

        background: #515151;

        font-size: 14px;
        font-weight: bold;
        line-height: 32px;
        color: #efefef;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .video_block .vitems {
        margin: 0 3px;
    }
        .video_block .item-container {
            float: left;

            width: 50%;
        }

        /* ajax ads */
        .ajax-item.item-container {
            width: 100%;
        }

            .favorites_block .video_block .item-container {
                margin-bottom: 10px;
            }
            .video_block .vitem {
                display: block;

                /*margin: 0 6px 13px 6px;*/
                margin: 0 6px 8px 6px;
            }
                .video_block .vitem .thumb_container {
                    display: block;
                    position: relative;

                    width: 100%;
                    /*min-width: 145px;*/
                    min-width: 140px;
                    max-width: 320px;
                    min-height: 109px;

                    margin: 0 auto 6px;
                }

                    .video_block .vitem .thumb_container img {
                        display: block;

                        width: 100%;
                        /*min-width: 145px;*/
                        min-width: 140px;
                        max-width: 320px;
                        min-height: 109px;
                    }
                        .video_block .vitem.hd .thumb_container:before {
                            content: '';

                            display: block;
                            position: absolute;

                            left: 3px;
                            top: 4px;

                            /*width: 15.1724%;*/
                            /*max-width: 30px;*/
                            /*height: 11.9266%;*/
                            width: 30px;
                            height: 100%;

                            background: url(/images/svg/hd.svg) no-repeat;
                            background-size: 100%;
                        }
                        .video_block .vitem .thumb_container .thumb_bar {
                            position: absolute;

                            bottom: 0;

                            width: 100%;
                            height: 17px;

                            /*background: rgba(0,0,0,0.7);*/
                            background: rgba(175, 59, 232, 0.7)
                        }
                            .video_block .vitem .thumb_container .thumb_bar .time {
                                float: left;

                                width: 40%;

                                padding-left: 5px;

                                font-size: 10px;
                                font-weight: bold;
                                line-height: 18px;
                                color: #fff;
                            }
                            .video_block .vitem .thumb_container .thumb_bar .rating {
                                float: right;

                                width: 40%;

                                padding-right: 5px;

                                font-size: 10px;
                                font-weight: bold;
                                line-height: 18px;
                                /*color: #a2ce4a;*/
                                color: #fff;
                                text-align: right;
                            }

                .video_block .vitem .item_name {
                    display: block;
                    font-size: 12px;
                    color: #2f2f2f;
                    font-weight: bold;
                    text-align: center;
                    line-height: 14px;
                    max-height: 14px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                }

                    .video_block .vitem .item_name ddd {
                        background: #ccc;
                    }
                .video_block .my_video_controls {
                    margin-top: 5px;

                    text-align: center;
                }
                    .video_block .my_video_controls a {
                        display: inline-block;

                        width: 68px;
                        height: 26px;

                        border: 1px solid #cecece;
                        border-radius: 3px;

                        background: #f4f4f4;

                        font-size: 11px;
                        font-weight: bold;
                        line-height: 24px;
                        color: #5d5d5d;
                        text-align: center;
                    }
/*Videoblock END*/


/* * * * * * * * * * * albums * * * * * * * * * * */

.album_items {
    padding: 4px 3px 3px 4px;
}

.album_item {
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 49%;
    padding: 3px 4px 4px 3px;
    border-bottom: none!important;
    text-align: center;
}

.album_item_top {
    background-color: #FAFAFA;
}

.album_thumb_wrap {
    position: relative;
    padding-top: 66.66%;
}

.album_item .album_thumb {
    position: absolute;
    background: #efefef;
    overflow: hidden;
    max-height: none;
}

.fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.album_thumb_img {
    max-width: 100%;
    vertical-align: top;
}

.album_item .album_name {
    color: #fff;
    padding: 5px 7px;
    position: absolute;
    overflow: hidden;
    background: #000;
    background: rgba(0,0,0,.5);
    white-space: nowrap;
}

.album_cnt, .album_count, .album_name {
    text-align: center;
}

.album_name {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 0 0;
    color: #4C6B8F;
    font-weight: 700;
    text-overflow: ellipsis;
}

.album_item .album_cnt {
    display: block;
}

.album_cnt {
    font-family: Lucida Grande,tahoma,verdana;
    font-size: small;
    background: url(//m.vk.com/images/mobile/camera_white.png) 8px center no-repeat #000;
    background-color: rgba(0,0,0,.5);
    padding: 4px 7px 4px 23px;
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    display: none;
}

.album_cnt, .mt_photo_count {
    background-image: url(//m.vk.com/images/mobile/camera_white_2x.png);
    -o-background-size: 11px 9px;
    -moz-background-size: 11px 9px;
    -webkit-background-size: 11px 9px;
    background-size: 11px 9px!important;
    font-size: .92em;
}

.ajax-item.album_item {
    width: 100%;
    display: block;
}


/*MEDIA MIN-WIDTH 1024PX*/
@media (min-width: 1024px) {
    .video_block .items,
    .pictures_block .items,
    .screenshots_block,
    .update_video .update_thumbs_block {
        width: 1012px;

        margin: 0 auto;
    }
}

/*MEDIA MIN-WIDTH 670PX*/
@media (min-width: 670px) {
    .pictures_block .item-container,
    .screenshots_block .item-container,
    .update_video .update_thumbs_block .item-container {
        width: 32.5% !important;
    }

    .video_block .item-container {
        width: 32.5%;
    }

    /* ajax ads */
    .video_block .ajax-item.item-container {
        width: 100%;!important;
    }

    .album_item {
        width: 32.5%;
    }


}

/*MEDIA MIN-WIDTH 560PX*/
@media (min-width: 560px) {
    .video_block .item .thumb_container .thumb_bar {
        position: absolute;

        bottom: 0;

        width: 100%;
        height: 22px;

        background: rgba(0, 0, 0, 0.7);
    }
        .video_block .item .thumb_container .thumb_bar .time {
            float: left;

            width: 50%;
            padding-left: 5px;

            font-size: 12px;
            font-weight: bold;
            line-height: 23px;
        }
        .video_block .item .thumb_container .thumb_bar .rating {
            float: right;

            width: 50%;

            padding-right: 5px;

            font-size: 12px;
            font-weight: bold;
            line-height: 23px;
            color: #a2ce4a;
            text-align: right;
        }

    .pictures_block .item .thumb_container .thumb_bar {
        position: absolute;

        bottom: 0;

        width: 100%;
        height: 22px;

        background: rgba(0,0,0,0.7);
    }
        .pictures_block .item .thumb_container .thumb_bar .quantity {
            float: left;

            width: 50%;

            padding-left: 5px;

            font-size: 12px;
            font-weight: bold;
            line-height: 23px;
            color: #fff;
        }
            .pictures_block .item .thumb_container .thumb_bar .quantity:before {
                content: '';

                display: block;
                float: left;

                width: 14px;
                height: 14px;

                margin: 6px 6px 0 0;

                background: url(../../images/mobile/svg/photos.svg) no-repeat;
            }

        .pictures_block .item .thumb_container .thumb_bar .rating {
            float: right;

            width: 50%;

            padding-right: 5px;

            font-size: 12px;
            font-weight: bold;
            line-height: 23px;
            color: #a2ce4a;
            text-align: right;
        }
}

/*MEDIA MIN-WIDTH 480PX*/
@media (min-width: 480px) {
    .video_view .video_container .buttons {
        bottom: 20px;

        height: 48px;
    }
        .video_view .video_container .side_buttons a {
            width: 81px;
            height: 60px;

            font-size: 13px;
            line-height: 14px;
        }
            .video_view .video_container .side_buttons a.share:before {
                width: 35px;
                height: 34px;
                margin: 5px 0 0 21px;
                background: url(../../images/mobile/svg/share.svg) no-repeat;
                background-size: 35px 35px;
            }
            .video_view .video_container .side_buttons a.thumbs:before {
                width: 32px;
                height: 25px;
                margin: 9px auto 5px;
                background: url(../../images/mobile/svg/thumbs.svg) no-repeat;
                background-size: cover;
            }
        .video_view .video_container .buttons a {
            width: 72px;
            height: 48px;

            margin: 0 15px 0 0;

            line-height: 46px;
        }
            .video_view .video_container .buttons a.play:before {
                width: 25px;
                height: 27px;

                margin: 9px 0 0 27px;

                background-size: 25px 27px;
            }
            .video_view .video_container .buttons a.playhd:before {
                width: 31px;
                height: 38px;

                margin: 10px 0 0 26px;

                background-size: 31px 38px;
            }
            .video_view .video_container .buttons a.addtofavorite {
                width: 78px;
            }
                .video_view .video_container .buttons a.addtofavorite:before {
                    width: 35px;
                    height: 45px;

                    margin: 7px 0 0 21px;

                    background-size: 35px 45px;
                }
            .video_view .video_container .buttons a.download {
                top: -19px;

                width: 101px;

                font-size: 15px;
            }
                .video_view .video_container .buttons a.download:before {
                    width: 23px;
                    height: 26px;

                    margin: 10px 0 0 19px;

                    background-size: 23px 26px;
                }
            .video_view .video_container .buttons a.premium.lowq {
                padding-right: 18px;

                font-size: 10px;
                font-weight: bold;
                line-height: 22px;
                color: #fff;
                text-align: right;
            }
                .video_view .video_container .buttons a.premium.lowq:before {
                    width: 27px;
                    height: 29px;

                    margin: 8px 0 0 20px;

                    background-size: 27px 29px;
                }
            .video_view .video_container .buttons a.premium.highq {
                padding-right: 18px;

                background: rgba(0,0,0,0.25) url(../../images/mobile/svg/play.svg) no-repeat 20px 8px;
                background-size: 27px 29px;

                font-size: 10px;
                font-weight: bold;
                line-height: 22px;
                color: #fff;
                text-align: right;
            }
                .video_view .video_container .buttons a.premium.highq:before {
                    width: 27px;
                    height: 29px;

                    margin: 8px 0 0 20px;

                    background-size: 27px 29px;
                }
            .video_view .video_container .buttons a.premium.favor {
                padding-right: 8px;

                font-size: 10px;
                font-weight: bold;
                line-height: 22px;
                color: #fff;
                text-indent: -10000px;
            }
                .video_view .video_container .buttons a.premium.favor:before {
                      width: 35px;
                      height: 45px;

                      margin: 7px 0 0 21px;

                      background-size: 35px 45px;
                }

        .upload_video .red_button_container a {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .red_button_container input {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .red_button_container .upload_video_submit {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .upload_form .choose_file {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .upload_form .input_text {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .upload_form .input_select {
            height: 33px;

            line-height: 33px;
        }
        .upload_video .upload_form .input_select_mini {
            height: 33px;

            line-height: 33px;
        }
            .upload_video .upload_form .selected_mini_categories .item {
                height: 33px;

                line-height: 33px;
            }
                .upload_video .upload_form .selected_mini_categories .item .cat_name {
                    height: 31px;

                    line-height: 31px;
                }
                .upload_video .upload_form .selected_mini_categories .item .delete_cat {
                    height: 29px;

                    line-height: 29px;
                }

            .stories_block .items .item .text {
                display: block;

                margin-bottom: 8px;

                font-size: 14px;
                line-height: 17px;
                color: #2f2f2f;
            }

    .story_view .story_main_text {
        padding: 7px 10px 13px;

        font-size: 14px;
        line-height: 17px;
        color: #2f2f2f;
    }

        .update_video .update_form .input_text {
            height: 33px;

            line-height: 33px;
        }
        .update_video .update_form .input_select {
            height: 33px;

            line-height: 33px;
        }
        .update_video .update_form .input_select_mini {
            height: 33px;

            line-height: 33px;
        }
            .update_video .update_form .selected_mini_categories .item {
                height: 33px;

                line-height: 33px;
            }
                .update_video .update_form .selected_mini_categories .item .cat_name {
                    height: 31px;

                    line-height: 31px;
                }
                .update_video .update_form .selected_mini_categories .item .delete_cat {
                    height: 29px;

                    line-height: 29px;
                }

        .password_recovery_section .password_recovery_form .input_text {
            height: 33px;

            line-height: 33px;
        }
        .password_recovery_section .password_recovery_link_container .password_recovery_submit {
            height: 31px;

            line-height: 29px;
        }
        .login_section .login_form .input_text {
            height: 33px;

            line-height: 33px;
        }
            .login_section .login_form .login_controls .login_submit {
                height: 31px;

                line-height: 29px;
            }

        .sign_up .sign_up_form .input_text {
            height: 33px;

            line-height: 33px;
        }
        .sign_up .red_button_container .sign_up_submit {
            height: 33px;

            line-height: 33px;
        }
}

.ajax-loader {
    background: url(data:image/gif;base64,R0lGODlhIAAgAPMAAP///wAAAMbGxoSEhLa2tpqamjY2NlZWVtjY2OTk5Ly8vB4eHgQEBAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHRLYKhKP1oZmADdEAAAh+QQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY/CZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB+A4k8gTwJhFuiW4dokXiloUepBAp5qaKpp6+Ho7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx61WiSR92E4lbFoq+B6QDtuetcaBPnW6+O7wDHpIiK9SaVK5GgV543tzjgGcghAgAh+QQJCgAAACwAAAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZKYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMC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LAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA==) no-repeat center;
}

/* IMAGE LIGHTBOX SELECTOR */
#imagelightbox
{
    cursor: pointer;
    position: fixed;
    z-index: 10000;

    -ms-touch-action: none;
    touch-action: none;

    -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
    box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
}


/* ACTIVITY INDICATION */
#imagelightbox-loading
{
    width: 2.5em; /* 40 */
    height: 2.5em; /* 40 */
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    padding: 0.625em; /* 10 */
    margin: -1.25em 0 0 -1.25em; /* 20 */
}



/* OVERLAY */

#imagelightbox-overlay
{
    background-color: #fff;
    background-color: rgba( 255, 255, 255, .9 );
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/* "CLOSE" BUTTON */

#imagelightbox-close
{
    width: 2.5em; /* 40 */
    height: 2.5em; /* 40 */
    text-align: left;
    background-color: #666;
    border-radius: 50%;
    position: fixed;
    z-index: 10002;
    top: 2.5em; /* 40 */
    right: 2.5em; /* 40 */

    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}
#imagelightbox-close:hover,
#imagelightbox-close:focus { background-color: #111; }

    #imagelightbox-close:before,
    #imagelightbox-close:after
    {
        width: 2px;
        background-color: #fff;
        content: '';
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 50%;
        margin-left: -1px;
    }
    #imagelightbox-close:before
    {
        -webkit-transform: rotate( 45deg );
        -ms-transform: rotate( 45deg );
        transform: rotate( 45deg );
    }
    #imagelightbox-close:after
    {
        -webkit-transform: rotate( -45deg );
        -ms-transform: rotate( -45deg );
        transform: rotate( -45deg );
    }


/* CAPTION */

#imagelightbox-caption
{
    text-align: center;
    color: #fff;
    background-color: #666;
    position: fixed;
    z-index: 10001;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.625em; /* 10 */
}


/* NAVIGATION */

#imagelightbox-nav
{
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    border-radius: 20px;
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: 3.75em; /* 60 */
    padding: 0.313em; /* 5 */

    -webkit-transform: translateX( -50% );
    -ms-transform: translateX( -50% );
    transform: translateX( -50% );
}
    #imagelightbox-nav button
    {
        width: 1em; /* 20 */
        height: 1em; /* 20 */
        background-color: transparent;
        border: 1px solid #fff;
        border-radius: 50%;
        display: inline-block;
        margin: 0 0.313em; /* 5 */
    }
    #imagelightbox-nav button.active
    {
        background-color: #fff;
    }


/* ARROWS */

.imagelightbox-arrow
{
    width: 3.75em; /* 60 */
    height: 7.5em; /* 120 */
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    vertical-align: middle;
    display: none;
    position: fixed;
    z-index: 10001;
    top: 50%;
    margin-top: -3.75em; /* 60 */
}
.imagelightbox-arrow:hover,
.imagelightbox-arrow:focus	{ background-color: rgba( 0, 0, 0, .75 ); }
.imagelightbox-arrow:active { background-color: #111; }

    .imagelightbox-arrow-left	{ left: 2.5em; /* 40 */ }
    .imagelightbox-arrow-right	{ right: 2.5em; /* 40 */ }

    .imagelightbox-arrow:before
    {
        width: 0;
        height: 0;
        border: 1em solid transparent;
        content: '';
        display: inline-block;
        margin-bottom: -0.125em; /* 2 */
    }
        .imagelightbox-arrow-left:before
        {
            border-left: none;
            border-right-color: #fff;
            margin-left: -0.313em; /* 5 */
        }
        .imagelightbox-arrow-right:before
        {
            border-right: none;
            border-left-color: #fff;
            margin-right: -0.313em; /* 5 */
        }

#imagelightbox-loading,
#imagelightbox-overlay,
#imagelightbox-close,
#imagelightbox-caption,
#imagelightbox-nav,
.imagelightbox-arrow
{
    -webkit-animation: fade-in .25s linear;
    animation: fade-in .25s linear;
}
    @-webkit-keyframes fade-in
    {
        from	{ opacity: 0; }
        to		{ opacity: 1; }
    }
    @keyframes fade-in
    {
        from	{ opacity: 0; }
        to		{ opacity: 1; }
    }

.adm {
    color: #FF0000!important;
    text-decoration: underline;
}

.slogan {
    background: #FFF;
    margin: 0 0 8px;
    color: #a73de1;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}


