/*
 * 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: #4c5554;
}

html, body {
    height:100%
}

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

a {
    color: #DC5C2F;
}

a:visited {
    color: #DC5C2F;
}

a:hover {
    color: #DC5C2F;
}

/*
 * 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: #FACDA6;
    color: #fff;
    overflow: hidden;
    zoom: 1;
    max-width: 650px;
}

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

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

/* 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(/static/images/menu_2x.png) center no-repeat;
    background-size: 20px 18px;
    padding: 12px 0;
}

.search_btn {
    background-size: 18px 18px;
    padding: 12px 0 12px 17px;
}

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

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


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

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

.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: #ffecdb;
    margin: 0 6px 8px;
    overflow: hidden;
}

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

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

.item a {
    color: #DC5C2F;
}

.item-video {
    background: #ffecdb;
    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: #DC5C2F;
    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: #00586E;
    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: #00586E;
    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: #DC5C2F;
}

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: #DC5C2F;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
}

.item-ads {
    display: inline-block;
    width: 30%;
    font-size: 0.8em;
    color: #DC5C2F;
    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: #DC5C2F;
    color: #FFF;
    padding: 5px;
    font-weight: bold;
    border: 1px;
    border-radius: 2px;
    -webkit-appearance: none;
}

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

.nav a {
    border: 1px;
    border-radius: 2px;
    padding: 2px 4px;
    background-color: #DC5C2F;
    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: #DC5C2F;
    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 #DC5C2F;
    border-radius: 2px;
    padding: 2px 5px;
    font-size: 0.9em;
    /*font-weight: bold;*/
    margin: 3px 0;
    display: inline-block;
    text-align: center;
}

.cat_tag {
    font-size: 0.85em;
    font-weight: normal; 
}

.btn_long, a.btn_long {
    border: 1px;
    border-radius: 2px;
    padding: 2px 5px;
    background-color: #DC5C2F;
    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 #DC5C2F;
    border-radius: 2px;
    padding: 6px 2px;
    background-color: #ffecdb;
    color: #DC5C2F;
    margin: 0 4px;
    font-weight: bold;
    vertical-align: middle;
    font-size: 0.8em;
}

.menu .activ {
    background-color: #DC5C2F;
    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 #FACDA6;
    cursor: pointer;
    color: #DC5C2F
}

.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;*/
}

span.text {
    color: #4c5554;
}

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




