/*
 * #%L
 * Tutti :: UI
 * %%
 * Copyright (C) 2012 - 2014 Ifremer
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program 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 General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
body {
  padding-top: 45px;
}

/* used for the anchors to be under the top navbar */
a:not([href]) {
  padding-top: 45px;
}

h2 {
  margin-top: 30px !important;
}

.navbar-brand {
    padding-left: 40px !important;
    background: url('../img/allegro_32.png') center left no-repeat;
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


.table > thead > tr > .danger, 
.table > tbody > tr > .danger, 
.table > tfoot > tr > .danger, 
.table > thead > .danger > td, 
.table > tbody > .danger > td, 
.table > tfoot > .danger > td {
    background-color: #F2DEDE !important;
}

.checked {
  text-align: center;
  font-weight: bold;
}

.validation-fatal {
    padding-left: 40px !important;
    background: url('../img/fatal.png') center left no-repeat;
}

.validation-error {
    padding-left: 40px !important;
    background: url('../img/error.png') center left no-repeat;
}

.validation-warning {
    padding-left: 40px !important;
    background: url('../img/warning.png') center left no-repeat;
}

.validation-info {
    padding-left: 40px !important;
    background: url('../img/info.png') center left no-repeat;
}

.table > tbody > tr > td:first-child  {
white-space: nowrap;
}
