﻿html, body {
    height: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
}
.btn-custom {
  background-color: hsl(245, 52%, 33%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#006ac6", endColorstr="#006ac6");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#4c4691), to(#4c4691));
  background-image: -moz-linear-gradient(top, #4c4691, #4c4691);
  background-image: -ms-linear-gradient(top, #4c4691, #4c4691);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4c4691), color-stop(100%, #4c4691));
  background-image: -webkit-linear-gradient(top, #4c4691, #4c4691);
  background-image: -o-linear-gradient(top, #4c4691, #4c4691);
  background-image: linear-gradient(#4c4691, #4c4691);
  border-color: #4c4691 #4c4691 hsl(245, 52%, 33%);
  border-radius: 6px;
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.00);
  -webkit-font-smoothing: antialiased;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

#spinner {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45px;
    right: 0;
    text-align: center;
    background: url('../images/ajax-loader.gif') no-repeat center #fff;
    padding: 10px;
    font: normal 16px Tahoma, Geneva, sans-serif;
    border: 1px solid #666;
    z-index: 2;
    opacity: 0.5;
}

.mobile-content {
    height: 600px;
    width: 292px;
    background: url(../images/onlydevice.png) no-repeat;
    position: relative;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left top;
    margin-left: -14%;
}

.mobile-monitor {
    position: relative;
    top: 20%;
    left: 16%;
    width: 69%;
}

    .mobile-monitor input[type=button] {
        background-color: #0070d2;
        color: white;
        width: 100%;
        padding: 0.8em;
        border: 2px solid #337ab7;
    }

    .mobile-monitor label {
        font-size: 11px;
        color: gray;
    }

    .mobile-monitor p {
        margin: 0px;
    }

    .mobile-monitor .ui-slider {
        margin: 8px 0px 0px 2px;
    }

.default-status-message {
    margin-top: 5%;
    margin-bottom: 3%;
    color: white;
    padding: 2px;
    text-align: center;
}

.wrapword {
    white-space: -moz-pre-wrap !important;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    white-space: pre-wrap;
    word-wrap: break-word;
    white-space: -webkit-pre-wrap;
    word-break: break-all;
    white-space: normal;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    .mobile-monitor {
        margin: 0 auto;
        position: relative;
        top: 10%;
        left: 0%;
    }

    .mobile-content {
        background: none !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 5% auto;
        height: 100%;
        width: 100%;
        left: 0%;
    }

    footer {
        text-align: center;
    }
}
