@import url("resources/material-design-icon-font/material-icons.css");
@import url("controllers/rffwhid/rffwhid.css");
@import url("controllers/rffwhid_console/rffwhid_console.css");
@import url("controllers/rffwhid_pid_tuning/rffwhid_pid_tuning.css");
@import url("controllers/rffwhid_setup/rffwhid_setup.css");
@import url("controllers/rffwhid_esc/rffwhid_esc.css");
@import url("controllers/rffwhid_configuration/rffwhid_configuration.css");
@import url("controllers/rffwhid_telemetry/rffwhid_telemetry.css");
@import url("controllers/device_not_found/device_not_found.css");
@import url("controllers/user_settings/user_settings.css");
@import url("controllers/rffwhid_testmotors_wizard/rffwhid_testmotors_wizard.css");
@import url("controllers/interview_wizard/interview_wizard.css");
@import url("controllers/rffwhid_news/rffwhid_news.css");


html, body {
    height: 100%;
    overflow-x: hidden;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.text-right {
    text-align: right;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.text-success {
    color: #388E3C;
}

.text-danger {
    color: #b31b16;
}

.text-warning {
    color: #b39d2e;
}

.help-block {
    cursor: pointer;
}

.sticky-scroll-wrapper {
    height: calc(100vh - 194px);    /* 198 px = sticky-footer height + height of title box + height of page box*/
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .sticky-scroll-wrapper {
        height: calc(100vh - 164px);
    }
}

.sticky-scroll-wrapper-without-footer {
    height: calc(100vh - 129px);
    overflow-y: auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .sticky-scroll-wrapper-without-footer {
        height: calc(100vh - 99px);
    }
}

.sticky-footer {
    box-shadow: 0 0 1em #2e2e2e;
}

.sticky-footer md-toolbar.sticky-toolbar {
    background: #3d3f3e;
    min-height: 65px;
}

@media (max-width: 768px) {
    .sticky-footer md-toolbar.sticky-toolbar {
        height: 45px;
    }
}


.error-message {
    transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2) 0s;
    color: #DD2C00;
    font-size: 14px;
    line-height: 20px;
}

/* https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper .loading-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* md-tooltip */


md-tooltip .md-content {
    font-size: 14px;
    background: #2e2e2e;
}

/*
Angular show/hide animations
*/

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
    transition: all linear 0.5s;
}

/*
    RGB Slider
*/
.red-slider .md-thumb:after, .red-slider .md-track.md-track-fill {
    background-color: red;
    border-color: red;
}
.red-slider .md-focus-thumb, .red-slider .md-focus-ring{
    background-color: red;
}

.green-slider .md-thumb:after,
.green-slider .md-track.md-track-fill
{
    background-color: green;
    border-color: green;
}
.green-slider .md-focus-thumb, .green-slider .md-focus-ring{
    background-color: green;
}

.blue-slider .md-thumb:after, .blue-slider .md-track.md-track-fill{
    background-color: blue;
    border-color: blue;
}
.blue-slider .md-focus-thumb, .blue-slider .md-focus-ring{
    background-color: blue;
}

/*
    nouislider override
*/
.noUI-highlight-marker {
    background: #b31b16;
}

.noUi-marker-horizontal.noUI-highlight-marker {
    height: 35px;
}

.noUI-highlight-marker::after {
    top: 31px;
    left: -5px;
    position: absolute;
    content: '';
    display: block;
    background: #b31b16;
    height: 12px;
    width: 12px;
    border-radius: 6px;
}

.noUi-connect {
    background: #b31b16;
}

/* Material icons */

.material-icons.x2 {
    font-size: 48px;
}

.material-icons.x3 {
    font-size: 72px;
}

/* Spinner */

.ng-spinner i {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}