/**
* Copyright (C) 2009-2014:
*    Gabes Jean, naparuba@gmail.com
*    Gerhard Lausser, Gerhard.Lausser@consol.de
*    Gregory Starck, g.starck@gmail.com
*    Hartmut Goebel, h.goebel@goebel-consult.de
*    Andreas Karfusehr, andreas@karfusehr.de
*    Frederic Mohier, frederic.mohier@gmail.com
*    Guillaume Subiron, maethor@subiron.org
*
* This file is part of Shinken.
*
* Shinken is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Shinken is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Shinken.  If not, see <http://www.gnu.org/licenses/>.
*
**/


/*
 * ---
 * Backported from shinken-webui.css
 *
 */
html, body {
    background: #f9f9f9;
}
.table-invisible > thead > tr > th,
.table-invisible > tbody > tr > th,
.table-invisible > tfoot > tr > th,
.table-invisible > thead > tr > td,
.table-invisible > tbody > tr > td,
.table-invisible > tfoot > tr > th {
    border-top: 0;
}
.table-invisible {
    margin:0;
}
td { overflow: hidden;}

/*
 * ------------------------------------------------------------------------
 * Page layout
 * ------------------------------------------------------------------------
 */

/*
 * Services / impacts tree
 */
.services-tree ul {
   padding-top: 0;  padding-bottom:0; border: 0;
}
.services-tree ul li{
   background-color: transparent;
   padding-top: 0;  padding-bottom:0; border: 0;
}

/*
 * Popover
 */
.popover {
   max-width: 640px;
/*
   white-space: nowrap; word-wrap: break-word;
*/
}

.popover-medium {
   max-width: 480px;
}

.popover-large {
   max-width: 1024px;
}

/*
 * Table with ellipsis for text too large in columns
 */
.table-nowrap {
   table-layout:fixed;
}

.table-nowrap td {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

/*
 * ------------------------------------------------------------------------
 * Page layout
 * ------------------------------------------------------------------------
 */

/*
 * Side bar menu - width 200px
 */
@media(min-width:768px) {
   #page-wrapper {
      margin: 0 0 0 200px;
   }
   #page-wrapper.fullscreen {
      margin: 0 0 0 0;
   }
}
@media(min-width:768px) {
    .sidebar {
        width: 200px;
    }
}

@media(max-height:600px) {
    .sidebar li  a {
        height: 30px;
    }
}

/*
 * Navigation bar, company logo
 */
.header .navbar-brand {
  padding: 1px;
}
.header .navbar-brand img {
  height: 48px;
  padding: 1px;
  margin: 0;
}


/*
 * Navigation bar, responsive input field
 */
@media (min-width: 768px) {
    input#search {
        width: 160px;
    }
}
@media (min-width: 900px) {
    input#search {
        width: 260px;
    }
}
@media (min-width: 1300px) {
    input#search {
        width: 400px;
    }
}
@media (min-width: 1400px) {
    input#search {
        width: 500px;
    }
}
@media (min-width: 1500px) {
    input#search {
        width: 600px;
    }
}

/*
 * Navigation bar, user menu
 */
.user-menu > .dropdown-menu {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 1px 0 0 0;
  border-top-width: 0;
  width: 280px;
}
.user-menu > .dropdown-menu:after {
  bottom: 100%;
  right: 10px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #ffffff;
  border-width: 10px;
  margin-left: -10px;
}
.user-menu > .dropdown-menu > li.user-header {
  height: auto;
  padding: 10px;
  background: #eeeeee;
  text-align: center;
}


/*
 * Footer - make footer bar smaller than usual ...
 */
footer nav {
    height: 25px;
    min-height: 25px !important;
}

footer nav.navbar-dashboard {
    position: absolute;
    width: 200px;
    left: 0px; bottom: 30px;
}

footer nav.navbar-element {
    position: absolute;
    width: 200px;
    left: 0px; bottom: 30px;
}
/*
 * Breadcrumb
 */
.breadcrumb {
  background: none;
}

/*
 * Shinken basics
 */

.font-ok, .font-up {
  color: #5bb75b !important;
}

.font-warning, .font-unreachable {
  color: #faa732 !important;
}

.font-critical, .font-down {
  color: #da4f49 !important;
}

.font-unknown, .font-pending {
  color: #49afcd !important;
}

.font-ack, .font-downtime {
  color: #777 !important;
}

.font-greyed {
  color: #ccc !important;
}


.background-ok, .background-up {
  background-color: #5bb75b !important;
}

.background-warning, .background-unreachable {
  background-color: #faa732 !important;
}

.background-critical, .background-down {
  background-color: #da4f49 !important;
}

.background-unknown, .background-pending {
  background-color: #49afcd !important;
}

.background-ack, .background-downtime {
  background-color: #777 !important;
}

.background-greyed {
  background-color: #ccc !important;
}


/*
 * Special font styles (Font Color)
 */
.font-white {color: #FFFFFF;}

.font-black {color: #000000;}

.font-green {color: #468847;}

.font-yellow {color: #FFEE00;}

.font-orange {color: #F89406;}

.font-red {color: #DA4F49;}

.font-green {color: #51A351;}

.font-grey {color: #505050;}

.font-lightgrey {color: #EBEBEB;}

.font-darkgrey {color: #535456;}

.font-blue {color: #3A87AD;}


/*
 * Special background colors
 */
.bg-white {background-color: #FFFFFF;}

.bg-black {background-color: #000000;}

.bg-green {background-color: #468847;}

.bg-yellow {background-color: #FFEE00;}

.bg-orange {background-color: #F89406;}

.bg-red {background-color: #DA4F49;}

.bg-green {background-color: #51A351;}

.bg-grey {background-color: #505050;}

.bg-lightgrey {background-color: #EBEBEB;}

.bg-darkgrey {background-color: #535456;}

.bg-blue {background-color: #3A87AD;}

/*
 * States
.background-down, .background-critical{
 background-color: #FF858B !important;
}

.background-warning{
 background-color: #E3B778 !important;
}

.background-ok, .background-up{
 background-color: #8EE378 !important;
}

.background-unknown, .background-unreachable{
 background-color: #78CCE3 !important;
}

.background-acknowledge{
 background-color: #158CBA !important;
}


.state_down, .state_critical, .state_DOWN, .state_CRITICAL{
 background-color: #FF858B !important;
}

.state_warning, .state_WARNING {
 background-color: #E3B778 !important;
}

.state_ok, .state_up, .state_OK, .state_UP{
 background-color: #8EE378 !important;
}

.state_unknown, .state_unreachable, .state_UNKNOWN, .state_UNREACHABLE {
 background-color: #78CCE3 !important;
}

.state_acknowledge, .state_ACKNOWLEDGE {
   background-color: #158CBA !important;
}

.state_HARD{
}
.state_SOFT{
   background-image:radial-gradient(rgba(255,255,255,.7), rgba(255,255,255,0) 100%);
}
 */

/*
.info, .success, .warn, .error, .validation {
  border: 1px solid;
  margin: 10px 0px;
  padding:5px 10px 5px 60px;
  background-repeat: no-repeat;
  background-position: 10px center;
  height: 40px;
}
.info {
  color: #00529B;
  background-color: #BDE5F8;
}
.success {
  color: #4F8A10;
  background-color: #DFF2BF;
}
.warn {
  color: #9F6000;
  background-color: #FEEFB3;
}
.error {
  color: #D8000C;
  background-color: #FFBABA;
}
*/

/*  Special background colors (for hosts/services/contacts tags)
    ------------------------------------------------------- */
.bg-host {
  color: #f9f9f9 !important;
  background-color: #85144b !important;
}
.bg-service {
  color: #f9f9f9 !important;
  background-color: #004f3f !important;
}
.bg-contact {
  color: #f9f9f9 !important;
  background-color: #f56954 !important;
}
.bg-host:hover, .bg-service:hover, .bg-contact:hover {
  color: #000 !important;
  background-color: #fff !important;
}


/*  Special Shinken Box
    -------------------------------------------------------
.fitted-header {
  background: #F7F7F7 !important;
}
*/
/*  Special Shinken snap.js & BS3 (modal) workaround
    -------------------------------------------------------
.modal-backdrop {
  z-index: 0 !important;
}
*/

/*  Special Shinken styles
    -------------------------------------------------------

.cursor { cursor:pointer; }

.min-height {
  min-height: 600px;
}
.no-leftpadding {
   padding-left: 0;
}

.no-rightpadding {
  padding-right: 0;
}

.leftpadding1 {
  padding-left: 10px;
}

.leftpadding2 {
  padding-left: 20px;
}

.no-leftmargin {
   margin-left: 0 !important;
}

.no-bottommargin {
   margin-bottom: 0 !important;
}

.no-rightmargin {
   margin-right: 0 !important;
}

.no-topmargin {
   margin-top: 0 !important;
}

.no-margin {
  margin : 0 !important;
}

.no-border {
  border: none !important;
}
.topmmargin {
  margin-top: 10px;
}

.topmmargin1 {
  margin-top: 7px;
}

.topmmargin2 {
  margin-top: 4px !important;
}

.bottommargin {
  margin-bottom: 20px;
}
.leftmargin {
  margin-left: 20px !important;
}

.no-maxwidth{
  max-width: none !important;
}

.quickinfo{
  text-decoration: none !important;
}

.plus6 {
  width: 52.6%;
}

.imgsize1 {
  height: 12px;
  width: 12px;
  margin-right: 2px;
  vertical-align:
}

.imgsize2 {
  height: 16px;
  width: 16px;
  margin-right: 2px;
  vertical-align:
}

.imgsize3 {
  height: 25px;
  width: 25px;
  margin-right: 2px;
  vertical-align: -3px;
}

.imgsize4 {
  height: 48px;
  width: 48px;
  margin-right: 10px;
  vertical-align: -3px;
}


.box {
  min-height: 20px;
  padding: 10px 0px 10px 5px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #eee;
  border: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.box blockquote {
  border-color: #ddd;
  border-color: rgba(0, 0, 0, 0.15);
}

.wrap {
  width: 100% !important;
  max-width: 100% !important;
  word-wrap: break-word;
}

.hero-unit p {
  color: #FFF;
}

.hero-unit-small {
  padding: 30px;
}
*/
/*  Alert styles => BTN Color
    -------------------------------------------------------
.alert {
  color: #FFFFFF;
  text-align: center;
}

.trim {
  color: #FFFFFF;
  text-align: center;
  cursor: none;
  text-transform: uppercase;
}

.alert-small {
  background-color: #999999;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
  font-size: 11.05px;
  font-weight: normal;
  padding: 2px 4px 3px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.alert-down {min-height: 100% !important;}

.alert-critical, .alert-down, .trim-down, .trim-No {
  background-color: #da4f49;
  background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
  background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
  background-image: linear-gradient(top, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
  border-color: #bd362f #bd362f #802420;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.alert-critical:hover, .alert-down:hover, .trim-down:hover, .trim-Yes:hover { color: #FFFFFF; background-color: #bd362f;}

.alert-warning, .trim-warning {
  background-color: #faa732;
  background-image: -moz-linear-gradient(top, #fbb450, #f89406);
  background-image: -ms-linear-gradient(top, #fbb450, #f89406);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
  background-image: -o-linear-gradient(top, #fbb450, #f89406);
  background-image: linear-gradient(top, #fbb450, #f89406);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
  border-color: #f89406 #f89406 #ad6704;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.alert-warning:hover, .trim-warning:hover { background-color: #f89406; }

.alert-good, .alert-up, .alert-ok, .trim-ok, .trim-up, .trim-Yes {
  background-color: #5bb75b;
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-image: -ms-linear-gradient(top, #62c462, #51a351);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(top, #62c462, #51a351);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.alert-good:hover, .alert-up:hover, .alert-ok:hover, .trim-up:hover, .trim-ok:hover, .trim-No:hover { color: #FFFFFF; background-color: #51a351; }

.alert-unknown, .alert-unreachable, .alert-pending, .trim-unknown, .trim-unreachable, .trim-pending  {
  background-color: #49afcd;
  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: linear-gradient(top, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.alert-unknown:hover, .alert-unreachable:hover, .alert-pending:hover, .trim-unknown:hover, .trim-unreachable:hover, .trim-pending:hover  { color: #FFFFFF ;background-color: #2f96b4; }
*/

/*  Check output
    -------------------------------------------------------
.check-output {
  display: block;
  padding-top: 7px;
  line-height: 1.5em;
  color: #555555;
  vertical-align: middle;
}

.check-output-critical, .check-output-down {
  color: #da4f49;
}
.check-output-critical:hover, .check-output-down:hover {
  color: #FFFFFF; background-color: #bd362f;
}

.check-output-warning {
  color: #faa732;
}
.check-output-warning:hover { background-color: #f89406; }

.check-output-good, .check-output-up, .check-output-ok {
}
.check-output-good:hover, .check-output-up:hover, .check-output-ok:hover {
}

.check-output-unknown, .check-output-unreachable, .check-output-pending {
  color: #49afcd;
}
.check-output-unknown:hover, .check-output-unreachable:hover, .check-output-pending:hover {
  color: #FFFFFF ;background-color: #2f96b4;
}
*/

/*  Badger styles
    -------------------------------------------------------

.badger {
  background-color: #999999;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
  font-size: 9.75px;
  font-weight: bold;
  padding: 1px 3px 2px;
  text-transform: uppercase;
  position: relative;
  top: -15px;
  right: 8px;
  z-index: 666;
}


.badger-beta {
  background-color: #999999;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
  font-size: 9.75px;
  font-weight: bold;
  padding: 1px 3px 2px;
  position: relative;
  right: -75px;
  text-transform: uppercase;
  top: -31px;
  z-index: 666;
}

.badger-critical {
  background-color: rgb(255,0,0); opacity: 0.85;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
}

.badger-warning {
  background-color: rgb(255,153,0); opacity: 0.85;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
}

.badger-ok {
  background-color: #7AB317;
  background-image: -moz-linear-gradient(center top , #7AB317, #669900);
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
}

h1 {
  font-size: 24px;
}

h1, h2, h3, h4 {
  color: #787878;
}
*/
/* To tag potential long div, and cut them if too long with '...'
.cut_long {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
*/
/* Add a disabled-link style that make the link not show, and put in gray
a.disabled-link,
a.disabled-link:visited ,
a.disabled-link:active,
a.disabled-link:hover {
    background-color:#ffffff !important;
    color:#aaa !important;
    pointer-events: none
}
*/
/* In the top menu, there is too much margin on the left part,
 bootstrap put a left margin of 10, I prefer 0
.navbar .nav.pull-right {
  margin-left: 0px;
  margin-right: 0;
}

.row-fluid .offset1 {
  margin-left: 3%;
}
*/

/* With the SORTER javascript plugin
th[data-sort]{
  cursor:pointer;
}
*/

/* For list where we do not want a style
.no_list_style{
    list-style-type: none;
}
.content-header ul.pagination {
    margin:0;
}
*/
