/**
 * ---------------------------------------------------------------------
 * 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: #113F59;
}

#logo_login {
   background: #19BEC0;
}

#display-login {
   color: #FFF;
}

#text-login {
   background-color: #113F59;
   color: #FFF;
}

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

a, .btn-linkstyled {
   color: #113E58;

   &:link {
      color: #113E58;
   }
}

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

.main_form tr.headerRow th {
   color: #19BEC0;
}

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

#header_top {
   background-color: #113F59;
}

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

#c_recherche form #champRecherche input {
   background-color: #0C2736;
   color: #F3EDD3;
}

#c_menu {
   background-color: #19BEC0;
}

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

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

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

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

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

         li a {
            &:hover {
               background: #19BEC0;
               color: #113F59;
            }

            color: #113F59;
         }
      }

      > li:hover {
         background-color: #20D6C7;
      }
   }
}

#c_recherche form #champRecherche button {
   background-color: white;
}

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

input.submit, span.vsubmit, a.vsubmit, .ui-widget-content span.vsubmit, a.vsubmit, #BackToTop {
   color: #F3EDD3;
   background-color: #D54F58;
}

.vsubmit a {
   color: #F3EDD3;
   text-decoration: underline;
}

input.submit:hover, a.vsubmit:hover, #BackToTop:hover {
   background-color: #D54F58;
}

/* ====== Breadcrumb ====== */

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

   a {
      color: #F3EDD3 !important;
   }

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

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

.primary-bg {
   background: #19BEC0;
}

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

.primary-fg {
   color: white;

   &:hover {
      color: white;
   }
}

.primary-fg-inverse {
   color: #19BEC0;

   &:hover {
      color: #19BEC0;
   }
}

#show_all_menu {
   dt a {
      color: white;

      &:hover {
         background: #20D6C7;
         color: white;
      }
   }

   a:hover {
      background-color: #19BEC0;
      color: #113F59;
   }
}

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