/**
 * ---------------------------------------------------------------------
 * GLPI - Gestionnaire Libre de Parc Informatique
 * Copyright (C) 2015-2021 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/>.
 * ---------------------------------------------------------------------
 */
/* ===== LOGIN ===== */

#firstboxlogin {
   background-color: #d6665a;
}

#logo_login {
   background: #dc9b74;
}

#display-login {
   color: #FFF;
}

#text-login {
   background-color: #dc9b74;
   color: #FFF;
}

/* ====== GENERAL ====== */

a, .btn-linkstyled {
   color: #dc9b74;

   &:link {
      color: #dc9b74;
   }
}

.ui-widget-content a {
   color: #dc9b74;
}

.main_form tr.headerRow th {
   color: #d6665a;
}

/* ====== HEADER ====== */

#header_top {
   background-color: #d6665a;
}

#c_preference a, #language_link > span {
   color: #ffd2ca;
}

#c_recherche form #champRecherche input {
   background-color: #e08c83;
   color: #fff;

   &::-webkit-input-placeholder {
      background-color: #e08c83;
      color: #fff;
   }
}

#c_menu {
   background-color: #dc9b74;
}

ul {
   &#menu {
      a {
         &.itemP, &.itemP1 {
            color: #fff;
         }
      }

      ul li a {
         color: #75a48b;
      }

      > li.active {
         background-color: #B2341C;
      }
   }

   &.ssmenu li.active {
      background-color: #B2341C;
   }

   &#menu {
      > li.active > a {
         color: #FFF;
      }

      ul {
         &.ssmenu li.active > a {
            color: #FFF;
         }

         li a:hover {
            background: #e08c83;
            color: #fff;
         }
      }

      > li:hover {
         background-color: #d6665a;
         color: #fff;

         > a {
            background-color: #d6665a;
            color: #fff;
         }
      }
   }
}

/* ====== BUTTONS ====== */

input.submit {
   background-color: #ffd2ca;
   color: #d6665a;
   border: 1px solid #e08c83;

   &:hover {
      background-color: #e08c83;
   }
}

a.vsubmit {
   background-color: #d6665a;
   color: #fff;

   &:hover {
      background-color: #d6665a;
   }
}

#BackToTop {
   background-color: #FF5131;
   color: #fff;
}

/* ====== BREADCRUMB ====== */

#c_ssmenu2 .breadcrumb_item:nth-of-type(3) {
   background-color: #d6665a;

   a {
      color: #fff;
   }

   &:after {
      border-left-color: #d6665a;
   }
}

/* Primary color elements (white on blue BG) designed to be overridden from palettes */
/* Colors are same as #c_menu */

.primary-bg {
   background: #dc9b74;
}

.primary-bg-inverse {
   background: white;
}

.primary-fg {
   color: white;

   &:hover {
      color: white;
   }
}

.primary-fg-inverse {
   color: #dc9b74;

   &:hover {
      color: #dc9b74;
   }
}

#show_all_menu {
   dt a {
      color: white;

      &:hover {
         background: #d6665a;
      }
   }

   a {
      color: #75a48b;

      &:hover {
         background-color: #dc9b74;
         color: white;
      }
   }
}

div.progress .progress-fg {
   background-color: #d6665a;
}
