/*
 * Global layouts
 */
body {
  padding-top: 70px;
  padding-bottom: 60px;
  font-size: 18px;
}

a,
a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none;
}

li {
  list-style: none;
}

/* Stop channels wrapping problem on xs screens */
.xs-wrap-fix {
  display: inline-block;
  float: none;
}

/* Stop firefox putting a red border around invalid text fields */
input:invalid {
  box-shadow: none;
}

/* Break long words */
.break-long-word {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.centre-text {
  text-align: center;
}

/* Truncate playing title */
.truncate {
  width: 100%;
  white-space: nowrap;
  overflow-x: scroll;
}

/* Bootstrap buttons */
.btn {
  font-size: 16px;
}

/*
 * Common navbar
 */
.navibar {
  position: fixed;
  left: 0;
  z-index: 1000;
  height: 50px;
  width: 100%;
}

.navitems-left,
.navitems-left>li,
.navitems-left>li>a,
.navitems-left>li>span {
  float: left;
}

.navitems-right,
.navitems-right>li,
.navitems-right>li>a,
.navitems-right>li>span {
  float: right;
}

.navitems>li>a,
.navitems>li>span {
  font-size: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 30px;
}


ul.navitems {
  padding-left: 0px;
  margin-bottom: 0px;
}

.playnav ul.navitems-left {
  width: 43%;
  /* Max width for iphone */
}

@media only screen and (min-width: 768px) {
  .playnav ul.navitems-left {
    width: 50%;
  }
}

@media only screen and (min-width: 992px) {
  .playnav ul.navitems-left {
    width: 80%;
  }
}

ul.navitems-left>li {
  width: 100%;
}


/*
 * Top navigation bar
 */
.topnav {
  top: 0;
}

/* Maximum padding for small screens (width 320) is 8 px */
.topnav .navitems>li>a>i {
  padding: 0px 8px;
}

/*
 * Player navigation bar
 */
.playnav {
  bottom: 0;
}

.playnav .navitems>li>a>i {
  padding: 0px 15px;
}

/*
 * Channels
 */
.channel {
  margin-bottom: 30px;
}

.channel-logo {
  width: 100%;
}

.channel-title {
  margin-top: 0px;
}

.channel p {
  text-align: center;
  line-height: 30px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/*
 * Channel search box eye glass
 */
.search-box {
  position: relative;
}

.search-box input {
  padding-right: 30px;
  padding-left: 20px;
  border-radius: 20px;
}

.search-box button {
  font-size: 16px;
  position: absolute;
  top: 5px;
  background: transparent;
  border: transparent;
}

.search-box .clearbtn {
  right: 40px;
}

.search-box .searchbtn {
  right: 10px;
}

/*
 * Channel feed list
 */
.channel-feeds {
  margin-top: 15px;
}

.channel-feeds a {
  font-size: 18px;
  padding-left: 5px;
  padding-right: 5px;
}

.channel-feeds a.selected {
  pointer-events: none;
  cursor: default;
}

/* item list */
.item-list-msg {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.item-list-title {
  font-size: 36px;
  margin-bottom: -10px;
}

.item-img {
  width: 100%;
}

.item-icon {
  width: 100%;
  margin-top: -10px;
}

.item-title {
  font-size: 21px;
  line-height: 25px;
}

.item-synopsis {
  font-size: 16px;
}

.item-subtitle {
  font-size: 16px;
  margin-bottom: 5px;
}

a.item-action {
  padding: 2px 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  margin-top: 8px;
  font-size: 16px;
  display: inline-block;
}

/* Buttons */
.btn-spacer-right {
  margin-right: 10px;
}

#yes-button,
#no-button {
  margin-top: 5px
}

/* Playlist edit */
.move-item {
  margin-top: 5px;
  font-size: 36px;
}

/* New playlist button */
.new-playlist {
  vertical-align: text-top;
}

/* Play URL page */
.play-title {
  text-align: center;
  font-size: 36px;
}

/* Settings */
.btn-lg {
  margin-bottom: 20px;
}