$form-color: #4e5d6c;
$form-color-lighter: #637689;
$primary-colour: #df691a;
$primary-colour-outline: #ff761b;
$info-colour: #5bc0de;
$warning-colour: #f0ad4e;
$danger-colour: #d9534f;
$success-colour: #5cb85c;
$i:!important;

@media (min-width: 768px ) {
    .row {
        position: relative;
    }

    .bottom-align-text {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .landing-block .media {
        max-width: 450px;
    }
}

@media (max-width: 48em) {
    .home {
        padding-top: 1rem;
    }
}

@media (min-width: 48em) {
    .home {
        padding-top: 4rem;
    }
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
}

hr {
    border: 1px dashed #777;
}

.btn {
    border-radius: .25rem $i;
}

.btn-group-separated .btn,
.btn-group-separated .btn + .btn {
    margin-left: 3px;
}

.multiSelect {
    background-color: $form-color;
}

.form-control-custom {
    background-color: $form-color $i;
    color: white $i;
    border-radius: 0;
    box-shadow: 0 0 0 !important;
}


h1 {
    font-size: 3.5rem $i;
    font-weight: 600 $i;
}

.request-title {
    margin-top: 0 $i;
    font-size: 1.9rem $i;
}

p {
    font-size: 1.1rem $i;
}

label {
    display: inline-block $i;
    margin-bottom: .5rem $i;
    font-size: 16px $i;
}

.nav-tabs > li {
    font-size: 13px;
    line-height: 21px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background: #4e5d6c;
}

.nav-tabs > li > a > .fa {
    padding: 3px 5px 3px 3px;
}

.nav-tabs > li.nav-tab-right {
    float: right;
}

.nav-tabs > li.nav-tab-right a {
    margin-right: 0;
    margin-left: 2px;
}

.nav-tabs > li.nav-tab-icononly .fa {
    padding: 3px;
}

.navbar .nav a .fa,
.dropdown-menu a .fa {
    font-size: 130%;
    top: 1px;
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.dropdown-menu a .fa {
    top: 2px;
}

.btn-danger-outline {
    color: $danger-colour $i;
    background-color: transparent;
    background-image: none;
    border-color: $danger-colour $i;
}

.btn-danger-outline:focus,
.btn-danger-outline.focus,
.btn-danger-outline:active,
.btn-danger-outline.active,
.btn-danger-outline:hover,
.open > .btn-danger-outline.dropdown-toggle {
    color: #fff $i;
    background-color: $danger-colour $i;
    border-color: $danger-colour $i;
}


.btn-primary-outline {
    color: $primary-colour-outline $i;
    background-color: transparent;
    background-image: none;
    border-color: $primary-colour-outline $i;
}

.btn-primary-outline:focus,
.btn-primary-outline.focus,
.btn-primary-outline:active,
.btn-primary-outline.active,
.btn-primary-outline:hover,
.open > .btn-primary-outline.dropdown-toggle {
    color: #fff $i;
    background-color: $primary-colour $i;
    border-color: $primary-colour $i;
}

.btn-info-outline {
    color: $info-colour $i;
    background-color: transparent;
    background-image: none;
    border-color: $info-colour $i;
}

.btn-info-outline:focus,
.btn-info-outline.focus,
.btn-info-outline:active,
.btn-info-outline.active,
.btn-info-outline:hover,
.open > .btn-info-outline.dropdown-toggle {
    color: #fff $i;
    background-color: $info-colour $i;
    border-color: $info-colour $i;
}

.btn-warning-outline {
    color: $warning-colour $i;
    background-color: transparent;
    background-image: none;
    border-color: $warning-colour $i;
}

.btn-warning-outline:focus,
.btn-warning-outline.focus,
.btn-warning-outline:active,
.btn-warning-outline.active,
.btn-warning-outline:hover,
.open > .btn-warning-outline.dropdown-toggle {
    color: #fff $i;
    background-color: $warning-colour $i;
    border-color: $warning-colour $i;
}

.btn-success-outline {
    color: $success-colour $i;
    background-color: transparent;
    background-image: none;
    border-color: $success-colour $i;
}

.btn-success-outline:focus,
.btn-success-outline.focus,
.btn-success-outline:active,
.btn-success-outline.active,
.btn-success-outline:hover,
.open > .btn-success-outline.dropdown-toggle {
    color: #fff $i;
    background-color: $success-colour $i;
    border-color: $success-colour $i;
}

#movieList .mix {
    display: none;
}

#tvList .mix {
    display: none;
}

$border-radius: 10px;

.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: $form-color;
    color: #eeeeee;
    width: 50px;
    height: 48px;
    line-height: 48px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;
    border-top-left-radius: $border-radius;
    border-top-right-radius: $border-radius;
    border-bottom-right-radius: $border-radius;
    border-bottom-left-radius: $border-radius;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.scroll-top-wrapper:hover {
    background-color: $form-color-lighter;
}

.scroll-top-wrapper.show {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}

.scroll-top-wrapper i.fa {
    line-height: inherit;
}


.no-search-results {
    text-align: center;
}

.no-search-results .no-search-results-icon {
    font-size: 10em;
    color: $form-color;
}

.no-search-results .no-search-results-text {
    margin: 20px 0;
    color: #ccc;
}

.form-control-search {
    padding: 13px 105px 13px 16px;
    height: 100%;
}

.form-control-withbuttons {
    padding-right: 105px;
}

.input-group-addon .btn-group {
    position: absolute;
    right: 45px;
    z-index: 3;
    top: 10px;
    box-shadow: 0 0 0;
}

.input-group-addon .btn-group .btn {
    border: 1px solid rgba(255,255,255,.7) !important;
    padding: 3px 12px;
    color: rgba(255,255,255,.7) !important;
}

.btn-split .btn {
    border-radius: 0 !important;
}

.btn-split .btn:not(.dropdown-toggle) {
    border-radius: .25rem 0 0 .25rem $i;
}

.btn-split .btn.dropdown-toggle {
    border-radius: 0 .25rem .25rem 0 $i;
    padding: 12px 8px;
}

#updateAvailable {
    background-color: #df691a;
    text-align: center;
    font-size: 15px;
    padding: 3px 0;
}

#cacherRunning {
    background-color: $form-color;
    text-align: center;
    font-size: 15px;
    padding: 3px 0;
}

.checkbox label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    margin-right: 15px;
    font-size: 13px;
    margin-bottom: 10px;
}

.checkbox label:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 1px;
    border: 2px solid #eee;
    border-radius: 3px;
}

.checkbox input[type=checkbox] {
    display: none;
}

.checkbox input[type=checkbox]:checked + label:before {
    content: "\2713";
    font-size: 13px;
    color: #fafafa;
    text-align: center;
    line-height: 13px;
}

.input-group-sm {
    padding-top: 2px;
    padding-bottom: 2px;
}

.tab-pane .form-horizontal .form-group {
    margin-right: 15px;
    margin-left: 15px;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    background-color: $form-color;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
    border-bottom: 6px solid $form-color $i;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    color: #fff $i;
}

.landing-header {
    display: block;
    margin: 60px auto;
}

.landing-block {
    background: #2f2f2f $i;
    padding: 5px;
}

.landing-block .media {
    margin: 30px auto;
    max-width: 450px;
}

.landing-block .media .media-left {
    display: inline-block;
    float: left;
    width: 70px;
}

.landing-block .media .media-left i.fa {
    font-size: 3em;
}

.landing-title {
    font-weight: bold;
}

.checkbox-custom {
    margin-top: 0 $i;
    margin-bottom: 0 $i;
}

.tooltip_templates {
    display: none;
}

.shadow {
    -moz-box-shadow: 3px 3px 5px 6px #191919;
    -webkit-box-shadow: 3px 3px 5px 6px #191919;
    box-shadow: 3px 3px 5px 6px #191919;
}
.img-circle {
    border-radius: 50%;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-right: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 250px;
    width: 0;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #4e5d6c;
    padding-left:15px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 500px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-left: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 500px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-right: 250px;
    }

    #wrapper.toggled {
        padding-right: 0;
    }

    #sidebar-wrapper {
        width: 500px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

#lightbox {

    background-color: grey;
    filter:alpha(opacity=50); /* IE */
    opacity: 0.5; /* Safari, Opera */
    -moz-opacity:0.50; /* FireFox */
    top: 0px;
    left: 0px;
    z-index: 20;
    height: 100%;
    width: 100%;
    background-repeat:no-repeat;
    background-position:center;
    position:absolute;
}