/**
 * ---------------------------------------------------------------------
 * GLPI - Gestionnaire Libre de Parc Informatique
 * Copyright (C) 2015-2018 Teclib' and contributors.
 *
 * http://glpi-project.org
 *
 * based on GLPI - Gestionnaire Libre de Parc Informatique
 * Copyright (C) 2003-2014 by the INDEPNET Development Team.
 *
 * ---------------------------------------------------------------------
 *
 * LICENSE
 *
 * This file is part of GLPI.
 *
 * GLPI 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 2 of the License, or
 * (at your option) any later version.
 *
 * GLPI 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 GLPI. If not, see <http://www.gnu.org/licenses/>.
 * ---------------------------------------------------------------------
 */
/****** TABLES ******/
table {
   box-sizing: border-box;
   border-collapse: collapse;
}

.tab_cadre,
.tab_cadrehov,
.tab_cadre_fixehov {
   border: 1px solid #ADADAD;
}

.tab_cadre_fixe {
   border: 1px solid #ADADAD;
   border-bottom: 0;
}

.tab_glpi th,
.tab_glpi td {
   border: 0;
}

.tab_cadre th,          .tab_cadre td,
.tab_cadre_fixe th,     .tab_cadre_fixe td,
.tab_cadre_fixehov th,  .tab_cadre_fixehov td,
.tab_cadrehov th,       .tab_cadrehov td,
.tab_cadre_postonly th, .tab_cadre_postonly td,
.main_form tr.headerRow th {
   border-bottom: 1px solid #ADADAD;
   border-top: 1px solid #ADADAD;
   box-sizing: border-box;
   border-collapse: collapse;
}
/* Removes border on tables that have no tab_cadre class but nested in table with this class. */
/* A border was set by previous rule if nested in previous selector. */
table[class^="tab_cadre"] table:not([class^="tab_cadre"]) th,
table[class^="tab_cadre"] table:not([class^="tab_cadre"]) td {
   border: 0;
}

#searchcriterias .tab_cadre_fixe {
   border: 1px solid #ADADAD;
}
#searchcriterias th,
#searchcriterias td {
   border: 0;
}

.tab_bg_2 {
   background-color: #E0E0E0;
}

.tab_bg_1_2 td,
.tab_bg_2_2 td{
   border-color: #7B3E3E;
}

.actor-head, .actor-content {
   margin: 0;
   min-height: 25px;
   box-sizing: border-box;
   border-collapse: collapse;
}

.tab_actors {
   border-bottom: 1px solid #ADADAD;
}

.actor-head {
   border-right: 1px solid #ADADAD;
   border-bottom: 1px solid #ADADAD;
}

.actor_title {
   border-right: 1px solid #ADADAD;
}

.order_DESC:before {
   color: #000;
}

.tab_cadre_pager img[src*=first\.png],
.tab_cadre_pager img[src*=left\.png],
.tab_cadre_pager .fa-wrench,
.tab_cadre_pager img[src*=right\.png],
.tab_cadre_pager img[src*=last\.png]
{
   border: 1px solid #393939;
   padding: 2px;
   border-radius: 2px;
}

.tab_cadre_pager img:hover {
   opacity: .5;
}

.tab_cadre_pager .grey_border {
   border: 1px dotted #414141;
   margin-left: 2px;
}


/****** TABS ******/
.ui-tabs .ui-tabs-nav,
.ui-tabs.ui-tabs-vertical .ui-tabs-nav {
   border-bottom: 1px solid #878787;
   padding:0;
}

.ui-tabs .ui-tabs-nav li,
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li {
   border-color: #878787;
   border-bottom: 0;
   box-sizing: border-box;
   border-collapse: collapse;
}
.ui-tabs.ui-tabs-vertical .ui-tabs-nav li {
   border-right-width: 1px !important;
   margin: 0;
   width: 100%;
}

.layout_classic.form .stNavMain li, .layout_vsplit.form .stNavMain li {
   border: 1px solid #878787 !important;
}

.ui-tabs-panel {
   margin-top: 3px;
}


/****** CONTROLS ******/
textarea, input[type=text], input[type=password], input[type=number] {
   border: 1px solid #5D5D5D;
}

.select2-choice,
.select2-container--default .select2-selection--single {
   border: 1px solid #5D5D5D !important;
}

input.submit,
span.vsubmit, a.vsubmit,
#BackToTop {
   color: #4B2F03;
   border: 2px solid #4B2F03;
}

/****** CHECKBOXES ******/
th .form-group-checkbox {
   padding: 2px;
}

.label-checkbox .box,
.subheader .box,
th .label-checkbox .box {
   background-color: white;
   border: 2px solid black;
   margin-right: 2px;
}

.label-checkbox .check {
   border: 3px solid #000;
   border-top: 0;
   border-left: 0;
}



/****** MISC ******/
.pointer {
   opacity: 1;
}

#c_ssmenu2 {
   border-bottom: 1px solid #ADADAD;
}
