* {
     -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    position: relative;
}

body {
    padding-bottom: 30px;
    background-color: #000;
    color: #ccc;
    margin: 0;
    font-family: Arial, sans-serif;
}

#header {
    height: 50px;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-header .active, .navbar-header .active:hover {
    color: #9dbb41;
    text-shadow: 1px 1px #000;
    font-weight: bold;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    color: #9dbb41;
    text-shadow: 1px 1px #000;
    background: none;
    font-weight: bold;
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #9dbb41;
    text-shadow: 1px 1px #000;
    font-weight: bold;
}

.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
    color: #9dbb41;
    text-shadow: 1px 1px #000;
}

.navbar-inverse .navbar-toggle {
    background: none !important;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #9d9d9d;
}

.navbar-fixed-top {
    border: 0;
}

#content {
    padding-bottom: 20px;
}

p {
    text-align: justify;
}

#error, #errors, #message, #successMessage, .error, .errors, .message, .successMessage {
    font-weight: bold;
}

#error, #errors, .error, .errors {
    color: #e74c3c;
}

#error:empty, #errors:empty, #message:empty, #successMessage:empty, .error:empty, .errors:empty, .message:empty, .successMessage:empty {
    margin: 0;
}

form {
    max-width: 280px;
}

label {
    cursor: pointer;
}

#rememberMe {
    position: relative;
    top: 1px;
    margin-right: 5px;
}

#spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    background-color: transparent;
    opacity: .8;
}

#spinner canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -54px; /* - image width / 2 */
    margin-top: -54px;  /* - image height / 2 */
    display: block;
}

#footer {
    text-align: center;
    position: absolute;
    bottom: 5px;
    font-weight: bold;
    color: #fff;
    width: 100%;
}

#footer footer {
    bottom: 0;
    height: 30px;
    position: absolute;
    padding: 5px;
    width: 100%;
    color: #9d9d9d;
    background-color: #222;
}

#content #user #editData, #content #user #changePassword {
    display: none;
}

.height10 {
    height: 10px;
}

.navbar-left {
    margin-bottom: 0;
}

.navbar-right {
    margin-top: 0;
}

.panel-title {
    font-weight: bold;
}

#user #data #viewData .table-responsive {
    max-width: 380px;
}

@media (min-width: 768px) {
    .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
        margin-top: -15px;
    }
}

.carousel-caption {
    padding: 0;
    height: 100%;
    top: 0;
}

.carousel-caption h3 {
    position: relative;
    top: 50%;
    margin-top: -13px;
}

.channel {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    padding: 10px;
    background: #262626;
    color: #ccc;
    border-radius: 5px;
}

.channel h2 {
    margin: 0;
    font-weight: bold;
    color: #fff;
    position: absolute;
    z-index: 100;
    line-height: 1;
}

.channel img {
    /*image-rendering:-moz-crisp-edges;          !* Firefox        *!*/
    /*image-rendering:-o-crisp-edges;            !* Opera          *!*/
    /*image-rendering:-webkit-optimize-contrast; !* Safari         *!*/
    /*image-rendering:optimize-contrast;         !* CSS3 Proposed  *!*/
    /*image-rendering:crisp-edges;               !* CSS4 Proposed  *!*/
    /*image-rendering:pixelated;                 !* CSS4 Proposed  *!*/
    /*-ms-interpolation-mode:nearest-neighbor;   !* IE8+           *!*/
    /*background: #333;*/
}

.channel h3 {
    /*border-radius: 5px;*/
    /*padding: 5px;*/
    /*background: rgba(90, 90, 90, 0.5);*/
    position: absolute;
    z-index: 100;
    color: #a09285;
    margin: 0;
    font-weight: normal;
}

#channelsScreen div.active, #menuScreen h2.active, #categoriesScreen h4.active, #epgScreen div.active {
    background: #555;
}

#header {
    font-size: 20px;
    position: absolute;
    font-weight: bold;
    color: #fff;
    width: 100%;
    padding: 0 50px;
}

#menu {
    float: right;
    background: #262626;
    text-align: center;
    border-radius: 5px;
}

.progress {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

#categories, #channels, #settings {
    width: 280px;
    background: #262626;
    color: #ccc;
    margin: 10px auto;
    text-align: center;
    line-height: 90px;
}

#categoriesScreen .category {
    width: 240px;
    background: #262626;
    color: #ccc;
    margin: 10px auto;
    padding: 5px;
}

#programsList {
    position: relative;
    top: 55px;
    padding: 0 50px;
}

.program {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*font-size: 20px;*/
    line-height: 20px;
    height: 20px;
}

#epgScreen #up, #epgScreen #down, #epgScreen #left, #epgScreen #right {
    position: absolute;
}

#channelAndDate {
    line-height: 20px;
    position: relative;
    top: 10px;
    font-size: 20px;
    display: block;
    margin: 0 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.container {
    max-width: 1170px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

#leftBracket, #rightBracket, #upBracket, #downBracket, #programsList .program, #channelsScreen .channel, #menu, #categories, #channels, #settings, #categoryList .category {
    cursor: pointer;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}