@font-face {
    font-family: 'oswald';
    src: url(Oswald-Regular.ttf) format('truetype');
    font-weight:normal;
}
@font-face {
    font-family: 'lato';
    src: url(Lato-Regular.ttf) format('truetype');
    font-weight:normal;
    font-style: normal;
}
@font-face {
    font-family: 'lato';
    src: url(Lato-Bold.ttf) format('truetype');
    font-weight:bold;
    font-style: normal;
}

div.ui-page {
    display: block !important;
}
.ui-mobile-rendering > * { visibility: visible; }

/* --------------------------------------------- */

/*obecne*/
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    /*-webkit-text-size-adjust: 100%;*/
    -webkit-text-size-adjust: none;
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    font-family: 'lato';
    overflow-x: hidden;
}

div.ui-page{
    min-height: 100%!important;
}
div.ui-page *{
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    text-shadow: none!important;
}
.ui-content{
    margin-bottom:32px;
}
.link{
    font-weight:bold;
    color:white!important;
    cursor:pointer;
}
.invalid{
    color:red;
}
hr{
    clear:both;
    visibility:hidden;
}
.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*song list*/
ul.song-list li.item a{
    color:white;
} 
ul.song-list li.item a{
    border-top-color:#292929;
} 
ul.song-list li:first-child a{
    border-top:none!important;
}
ul.song-list li:last-child a{
    border-bottom:none!important;
}

ul.song-list img:not(.play-overlay){
    background-image:url('../img/thumb-unknown.png');
    background-size:100% 100%;
}
ul.song-list img.play-overlay{
    position: absolute!important;
    left: 19px!important;
    top: 14px!important;
    width: 44px;
    height:44px;
    z-index:20;
}

.ui-page ul li.empty-li{
    text-align:center;
    height:45px;
    background-color: transparent;
    color: white;
    border: none;
}
ul li.empty-li hr{
    left: -50%!important;
}
.ui-page ul li.empty-song-li{
    text-align:center;
    background-color: transparent;
    color: white;
    border: none;
}
ul li.empty-song-li .ui-icon-carat-r:after{
    background-image:none!important;
    background-color: transparent!important;
}

/* item slide menu */
.animate-left{
    -webkit-transition: left .2s;   
    transition:left .2s;
}
.song-list li.item{
    position:relative;
    transform: translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    /*left:0px;*/
}
.song-list li.item.open{
    /*left:-75px;*/
}
.song-list li.item::-webkit-scrollbar { 
    display: none; 
}
.item-slide-right{
    position:absolute;
    left:100%;
    top: 0;
    height:100%;
    width:120px;
    background-color:red;
    padding-top: 19px;
    padding-left: 25px;
    font-size:25px;
    color:white;
}



/* menu panel */
#left-panel {
    background:black;
    overflow: hidden; 
}
.ui-panel-inner{
    padding-top:0;
}
.panel-close-wrap{
    overflow:hidden;
}
.ui-page  .menu-panel a.ui-link{
    color:white;
    padding:11px 5px 11px 30px;
    float:right;
    text-decoration: none;
    font-size:28px;
    font-weight:bold;
    transform:scale(1,.85);
    -webkit-transform:scale(1,.85);
}
.ui-page  .menu-panel li{
    border-top: none;
}
.ui-page  .menu-panel li a{
    font-family: 'oswald';
    color: white;
    border-bottom: 1px solid gray;
    border-top: none;
    font-size: 22px;
    padding: 10px 40px 10px 29px;
}
.ui-page  .menu-panel li.ui-last-child a{
    border-bottom: none;
}
.ui-page  .menu-panel ul li{
    background-color:black;
}
.ui-page .menu-panel .ui-icon-carat-r:after{
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20style%3D%22enable-background%3Anew%200%200%2014%2014%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20fill%3D%22%23666666%22%20points%3D%223.404%2C2.051%208.354%2C7%203.404%2C11.95%205.525%2C14.07%2012.596%2C7%205.525%2C-0.071%20%22%2F%3E%3C%2Fsvg%3E");
    background-color: transparent;
    right: 19px;
    background-size: 16px;
}
.ui-page .menu-panel .ui-icon-delete:after{
    margin-top: -15px;
    margin-left: 10px;
}

/* loader */
div.ui-loader{
    opacity: .5;
    width: 10em;
    height: 10em;
    margin-left: -5em;
    margin-top: -5em;
}
span.ui-icon-loading{
    width: 10em!important;
    height: 10em!important;
    background-repeat: no-repeat;
    background-position: center center;
}


/*header*/

div[data-role=header]{
    width:100%;
}
div.top-banner{
    height:26px;
    line-height:26px;
    font-size:14px;
    font-weight:bold;
    color:black;
    text-align: center;
    background-image: url('../img/nms_header_gradient.png');
    background-size: 100% 100%;
}
div.top-second-line-wrap{
    height: 98px;
    padding-bottom: 4px;
}
div.menu-burger-wrap{
    width: 25%;
    float:left;
    height:100%;
    position:relative;
    left: -15px;
}
div.nms-top-logo{
    position:relative;
    right:15px;
    width: 50%;
    float:right;
    height:100%;
    background-image: url('../img/nms-top-logo.png');
    background-size: auto 70px;
    background-position:right center;
    background-repeat: no-repeat;
}

.nav-toggle span { position: absolute; left: 50%; top: 50%; }

.nav-toggle span, 
.nav-toggle span:before,
.nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 31px;
    background: #c2c7bf;
    position: absolute;
    display: block;
    content: '';
}
.nav-toggle span:before {
    top: -10px;
}
.nav-toggle span:after {
    bottom: -10px; 
}

/*banner*/
/*.banner{
    margin:-1em -1em 0 -1em;
    display:none!important;
}
.banner img{
    width:100%;
    height:auto;
}
.banner.add-margin{
    margin-bottom:12px;
}
.banner.remove-margin{
    margin-bottom:-1em;    
}*/

/*android-info*/
#android-info{
    display:block!important;
    /*display:none!important;*/
    text-align:center;
    position: fixed;
    bottom: 40px;
    padding-left: 130px;
    width: 100%;
    left: 0;
    padding: 5px 10px 15px 10px;
    background-color: black;
    text-decoration:none;
    color:white;
}
body.keyboard-open #android-info{
    display:none!important;
}
#android-info span{
    top: 5px;
    line-height: 1.5;
    font-weight: normal;
    display: inline-block;
    position: relative;
}

@media (min-width:360px) {
    #android-info span{
        top: 7px;}
    #android-info img{
        width: 60px;
        margin-right: 15px;}
}

/*thumb-list*/
ul.thumb-list{
    background-color:transparent;
    margin-top: 0px!important;
}
ul.thumb-list li,
ul.thumb-list li a{
    height: 73px;
    display: block;
}
ul.thumb-list li *{
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}
ul.thumb-list li a span{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width:100%;
    height: 22px;
} 
ul.thumb-list li a{
    font-size: 17px;
    padding-left:95px!important;
    padding-top: 15px;
}
ul.thumb-list li span,
ul.thumb-list li small{
    line-height:normal;
}
ul.thumb-list li small{
    font-size: 15px;
}
ul.thumb-list li img{
    position: absolute!important;
    width: 62px;
    height: 62px;
    top: 5px!important;
    left:10px!important;
}
ul.thumb-list li small{
    height:18px;
    display:block;
}
ul.thumb-list a{
}
ul.thumb-list hr{
    visibility: visible;
    position: absolute;
    margin: 0;
    bottom: 0;
    width: 200%;
    border-bottom-width: 0;
    border-color: #ddd;
    border-style: solid;
}
.ui-page .thumb-list .ui-icon-carat-r:after{
    background-size: 17px;
}

div.copyright{
    bottom: 0;
    position: fixed;
    width:100%;
    text-align:center;
    padding:10px 0;
    color: #ddd;
    background:black;
    text-decoration:none;
    cursor:pointer;
    z-index: 1007;
}
body.keyboard-open div.copyright{
    display:none;
}

h1{
    position: relative;
    height: 46px;
    width: calc(100% + 44px);
    left: -22px;
    top: -16px;
    padding-left: 30px;
    margin: 0;
    color: #666666;
    background: #333333;
    font-size: 30px;
    line-height: 48px;
    font-family: 'oswald';
    display: block;
}

h1.truncate{
    font-size:23px;
    padding-right: 7px;
}
h1.back{
    background-image: url(data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20style%3D%22enable-background%3Anew%200%200%2014%2014%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpolygon%20fill%3D%22%23FFFFFF%22%20points%3D%2210.596%2C11.949%205.646%2C7%2010.596%2C2.05%208.475%2C-0.071%201.404%2C7%208.475%2C14.07%20%22%2F%3E%3C%2Fsvg%3E);
    background-repeat: no-repeat;
    background-position: 22px 50%;
    background-size: 20px;
    padding-left:60px;
}


/*login*/
#login{
}
#login .ui-content{
    margin-bottom:95px;
}
#login form{
    margin-bottom:6px;
}
#login form label{
    font-weight:bold;
    background: none;
}
#login form .ui-input-text{
    border-radius:0;
    border: 0;
}
#login form .ui-block-b:nth-of-type(4) .ui-input-text{
    margin-top: 4px;
}
#login-link{    
    background-color: #99cc33;
    border-color: rgb(89, 89, 89);
    width: 90px;
    margin: auto;
    padding: 0;
    height: 36px;
    font-size:15px;
    line-height:18px;
    font-weight: normal;
}
/*#login-link{    
    font-size: 18px;
    display: block;
    width:100%;
    text-align:center;
    padding: 10px 0;
}*/
#login .ui-block-a{
    width:35%;
    padding-top:15px;
    padding-left: 10px;
}
#login .ui-block-b{
    width:65%;
}
#login .ui-checkbox{
    left:3px;
}
#login .ui-checkbox input{
    width: 18px;
    height: 18px;
}
#login label.check-label{
    color: #666666;
    border: none !important;
    font-size: 14px;
    font-weight: normal;
}

#login .ui-btn.ui-checkbox-off:after{
    background-color:white;
    opacity: .8;
}






/*home*/

#home .ui-content ul li{
    min-height: 40px;
}
#home .ui-content ul li,
#home .ui-content ul li a{
    background-color:transparent;    
}
#home .ui-content ul li a{
    font-size: 25px;
}
#home .ui-content ul li.search {
    padding: .7em 0.8em;
}
#home .ui-content .ui-input-search{
    margin: 0;
}
#home .ui-content .ui-input-search input{
    height:2em;
    font-size: 1.2em;
}
#home .ui-content  .ui-icon-carat-r:after{
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}
#home .ui-content  .ui-icon-delete:after{
    margin-top: -18px;
    margin-left: 10px;
}

/*search*/
#search {
}

/*rooms*/


/*room-detail*/
#room-detail {
}

/*contacts*/
#contacts {
    background-color: rgb(41, 81, 0);
}
#contacts ul{
}
#contacts ul li{
    background-color:  transparent;
    color: white;
}
#contacts li.details:first-child{
    border-top:none;
}
#contacts li.details:first-child h2{
    margin-top: -28px;
}
#contacts li.details:last-child{
    padding-top:8px;
}
#contacts li.details *{
    display:block;
    line-height:1.7;
    text-decoration:none;
    word-wrap: break-word;
    white-space: normal;
}
#contacts li.details {
    padding-left:35px;
    padding-top:24px;
    padding-bottom:24px;
}
#contacts li h2{
    margin-left: -35px;
    margin-right: -1em;
    margin-top: -24px;
    height: 55px;
    border-bottom: 1px solid #ddd;
    padding-top: 22px;
    padding-left: 15px;
    text-transform: uppercase;
    color: rgb(210, 210, 210);
    background-color: transparent;
}
#contacts .ui-content li div{
    padding-top:17px;
}
#contacts .ui-content li, #contacts .ui-content h2{
    border-color: #292929!important
}

/*song-detail*/
#song-detail {
    color:white;
}
#song-detail #main .ui-grid-a {
    margin: 0 auto 15px auto;
}
#song-detail #main .ui-block-a {
    width:40%;
}
#song-detail #main .ui-block-b {
    width:60%;
}
#song-detail #main .ui-block-a img{
    width:85px;
    height:85px;
    float:right;
}
#song-detail #main .ui-block-b *{
    display:block;
}
#song-detail #main .ui-block-b{
    padding-left: 17px;
    padding-top: 4px;
}
#song-detail .time-played{
    white-space: nowrap;
    min-height:40px;
}
#song-detail button{
    float: left;
    clear: both;
    border-color: rgb(89, 89, 89);
    margin: 0px auto 10px auto;
    padding: 0;
    height: 32px;
    font-size: 17px;
    line-height: 34px;
    font-weight: normal;
    color:white;
    width:138px;
    background: #669933; /* Old browsers */
    background: -moz-linear-gradient(top, #669933 0%, #669933 35%, #336600 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #669933 0%,#669933 35%,#336600 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #669933 0%,#669933 35%,#336600 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ 
}
#song-detail #details {
    width: 90%;
    margin: auto;
}
#song-detail #details label{
    font-size:17px;
}
#song-detail #details div>label{
    color: #666666;
}
#song-detail #details div label label{
    display:inline;
    color:white;
}
#remove-button{
    font-size:13px!important;
}


/*playlist*/
#playlist {
}
#playlist nav {
    padding-top: 22px;
    padding-bottom: 22px;
    background: black;
    margin-top: -16px;
    margin-left: -1.4em;
    margin-right: -1.4em;
}
#playlist nav img{
    display: block;
    width:50px;
    margin-left:auto;
    margin-right:auto;
    cursor:pointer;
}
#playlist ul.thumb-list li a.active{
    background-color: #336633;
}
#playlist ul.thumb-list li a span.small-control{
    position: absolute;
    width: 11%;
    right: 0;
    top: 0;
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position: 10px 26px;
    height: 100%;
}
#playlist ul.thumb-list li a span.small-control.play{
    background-image: url(../img/play-button-small.png);
}
#playlist ul.thumb-list li a span.small-control.stop{
    background-image: url(../img/stop-button-small.png);
}

#playlist .ui-icon-carat-r:after {
   display:none;
}
