
/**
 * Bootstrap Fonts
 */

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot');
    src: url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
    url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'),
    url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
    url('../bower_components/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

/**
 *Font Awesome Fonts
 */
/*
@font-face {
    font-family: 'FontAwesome';
    src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
    src: url('../bower_components/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
    url('../bower_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
    url('../bower_components/font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
    url('../bower_components/font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*/
/**
 * App-wide Styles
 * /

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.show-grid {
    margin-top: 10px;
    margin-bottom: 20px;
}
.show-grid [class*="span"] {
    background-color: #eee;
    text-align: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    min-height: 40px;
    line-height: 40px;
}
@media (max-width: 767px) {
    .show-grid [class*="span"] {
        margin-bottom: 5px;
    }
}
@media (min-width: 600px) {
    .container{max-width: 600px;width: 600px;}
}
@media (min-width: 768px) {
    .container{max-width: 900px;}
}
@media (min-width: 992px) {
    .container{max-width: 900px;}
}
@media (min-width: 1024px) {
    .container{width: 970px;}
}
/ *
@media (min-width: 1200px){
    .container{width: 1170px;max-width: 1170px;}
}
*/

/* for validation */
.form-group .help-block {
    display: none;
}
.form-group.has-error .help-block {
    display: block;
}

/* ******************************************* */
/* copied and modified from ng-sortable demo   */
/* ******************************************* */
.svc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 50px;
}
.svc {
    padding: 10px;
}
.svc-title {
    text-decoration: none;
    font-weight: bold;
    line-height: 1.5em;
    padding: 2px 1px;
    display: block;
}
.svc-selected{
    color:#006F00;
}
.svc-not-selected{
    color:#770000;
}
.svc {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
/* this came from the demo; ng-sortable.min.css *
 *  Prefixed with as- to work correctly with    *
 *  newer release; note: demo is unmaintained   */
.as-sortable-item,.as-sortable-placeholder {
    display: block;
    min-height: 20px;
    margin: 1px 2px 5px 1px;
    border-radius: 10px;
}
.as-sortable-item {
    border: solid 1px darkgrey;
    background-color: #fff;
}
.as-sortable-handle {
    cursor: move;
}
.as-sortable-placeholder {
    border: 1px dashed darkgrey;
    box-sizing: border-box;
    background-color: #dbdbdb;
}
.as-sortable-drag {
    position: absolute;
    pointer-events: none;
    opacity: .8;
    z-index: 9999;
}
.as-sortable-hidden {
    display: none!important;
}

/* Russound specific styles */
.rs-blue {
    color:#182752;
}
.rs-navbar-spacing {
    margin-top:5px; 
    padding:3px   ;
}
.rs-glyphicon-sizing {
    font-size: 16pt; 
    vertical-align: middle;
}
.rs-tab-space {
    margin-top:30px; 
}
.rs-margin-top {
    margin-top:10px; 
}

/* Spinner */
.glyphicon-refresh-animate {
    -webkit-backface-visibility: hidden;
    -moz-animation: spin-moz .7s infinite linear;
    -webkit-animation: spin-webkit .7s infinite linear;
    animation: spin .7s infinite linear;
    -webkit-filter: blur(0);
}

@-moz-keyframes spin-moz {
  from { -moz-transform: rotate(0deg);}
  to { -moz-transform: rotate(360deg);}
}

@-webkit-keyframes spin-webkit {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/* Used during keypad fetch */
.loading-container {
    position: relative;
}
.loading-container .loading:before, .loading-container .loading:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 50px;
    min-width: 50px;
}
.loading-container .loading:before {
    background-color: white;
    opacity: 0.5;
}

.ng-table tr.emphasis td {
    font-weight: bold;
}

.emphasis td {
    font-weight: bold;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}

.progress {
    background-color: #555;
}

.btn-russ {
  border-color: #cccccc;
  white-space: normal;
  padding:7px;
  background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
}
.btn-russ:focus,
.btn-russ.focus {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}
.btn-russ:hover {
  color: #000;
  border-color: #adadad;
  background-image: linear-gradient(to bottom, #f2f2f2 0%, #e0e0e0 100%);
}
.btn-russ:active,
.btn-russ.active,
.open > .dropdown-toggle.btn-russ {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}
.btn-russ:active:hover,
.btn-russ.active:hover,
.open > .dropdown-toggle.btn-russ:hover,
.btn-russ:active:focus,
.btn-russ.active:focus,
.open > .dropdown-toggle.btn-russ:focus,
.btn-russ:active.focus,
.btn-russ.active.focus,
.open > .dropdown-toggle.btn-russ.focus {
  color: #fff;
  background-color: #204d74;
  border-color: #122b40;
  background-image: none;
}
.btn-russ:active,
.btn-russ.active,
.open > .dropdown-toggle.btn-russ {
  background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
}
.btn-russ.disabled:hover,
.btn-russ[disabled]:hover,
fieldset[disabled] .btn-russ:hover,
.btn-russ.disabled:focus,
.btn-russ[disabled]:focus,
fieldset[disabled] .btn-russ:focus,
.btn-russ.disabled.focus,
.btn-russ[disabled].focus,
fieldset[disabled] .btn-russ.focus {
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-russ .badge {
  color: #337ab7;
  background-color: #fff;
}

.slide.ng-enter, .slide.ng-leave {
  -webkit-transition:1.5s linear all;
  transition:1.5s linear all;
}
  
@media (max-width: 360px) {
    .btn-responsive {
        margin-top:5px;
        padding:6px 4px;
        font-size:80%;
        line-height: 1;
        border-radius:3px;
    }

    .ui-select-match-text {
        font-size:80%;
    }
}

@media (max-width: 385px) {
    .btn-responsive2 {
        margin-top:5px;
        padding:6px 4px;
        font-size:80%;
        line-height: 1;
        border-radius:3px;
    }
}

/* Fix popover on Safari */
.popover.right {
width: 100%;
}

a.disabled {
    color: #AAAAAA;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

/* wireless pages */
.wifi-selected{
    background-color: #f5f5f5;
}
.fixed-panel {
    height: 300px;
    overflow: auto;
}

/*  for navbar */
.not-allowed{
    cursor: not-allowed;
}
/* hide pagination on ng-table */
.ng-table-pager { display: none; }

hr.dark {
    /* border-top: 1px solid #bbb; */
    border-top: 2px solid #eee;
}
label.large{
    font-size: 16px;
    padding-bottom:7px;
}
label.secondary{
    /*font-style: italic;*/
    margin-left:10px;
}
div.page-header.dark {
    border-bottom: 2px solid #eee;
}

/* Following fixes some iOS issues with modal background scrolling */
/* github.com/twbs/bootstrap/issues/14839 */
.modal {
    -webkit-overflow-scrolling: auto !important;
    overflow-y: auto !important;
}
.modal-open {
position: fixed;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
.well-legend {
  display: block;
  font-size: 14px;
  width: auto;
  padding: 2px 7px 2px 5px;
  margin-bottom: 0px;
  line-height: inherit;
  color: #333;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

 .invalidIp  { 
  color: #a94442;
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(169, 68, 66, .6);
}
 .invalidIp:focus  { 
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(169, 68, 66, .6);
}

.btn .hide_on_btn{
  display: none;
}
