/**
 * Define Variables for colors. 
 *
 * @file colors.less
 */
/* Color Tokens
* Design tokens are name and value pairings that represent small, repeatable design decisions.
* A token can be a color, font style, unit of white space, or even a motion animation designed for a specific need.
*/
/*
 * Our main brand colors
 */
/* Copernica brand color */
/**
 *  Shades of grey
 *
 *  Each number behind the grey word 
 *  specified the amount of lightness.
 *
 *  These are all relatively light.
 *  Good for borders, background, 
 *  shadows, etc.
 *  
 *  So 1 is the "darkest" grey, etc..
 */
/*
 * Font colors
 */
/* 
 * Call to action color - it is used to capture user's attention and bring him to action
 */
/*
 * Colors of other products
 */
/*
* Colors of social media 
*/
/**
 *  Colors for certain states (eg. error, warning)
 */
/**
 *  These are colors that we want to use for counters and chart
 *  lines/bars.
 */
/**
 *  Colors that can be used for overlays
 */
/**
 *  Colors that can be used for certain 
 *  action type buttons (eg. close menu)
 */
/*
 * @todo Use ems.
 *
 * How to use the folowing classes (example) : 
 * 
 * div {
 *   display: inline-block;
 *   
 *   .onTablet({
 *       display: block;
 *    });
 * }
 * 
 * @file Breakpoints.less
 *
 */
/**
 *  Autosuggest widget style definitions
 */
.widget_autocomplete {
  position: relative;
}
.widget_autocomplete .form-wrapper {
  position: absolute;
  right: 10px;
  top: 31px;
}
/*
 *  Proper autocomplete tag
 */
/*
 *  When suggestion list is expanded 
 */
input.autocomplete.with-list {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0 !important;
}
/*
 *  List with suggestion.
 */
ul.autocomplete {
  position: absolute;
  /*
     *  Basic styles for list.
     */
  z-index: 50;
  padding: 0;
  margin: 0;
  background-color: white;
  /* 
     *  List should have border radius only on the bottom. No top border (we will
     *  use button border). 
     */
  border: 1px solid #00aeef;
  border-top: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  /*
     *  We do not want any bullets on our list
     */
  list-style: none !important;
  /*
     *  Limit max height of the list and add automtic scroll  
     */
  max-height: 300px;
  overflow-y: auto;
  /*
     *  Set list beneath the textfield
     */
  top: 32px;
  right: 0;
}
ul.autocomplete li {
  display: block;
  padding: 5px 10px;
  cursor: pointer;
  /*
         *  This element will hold the name of entity
         */
  /**
         *  This element will hold entity id
         */
  /*
         *  Articles add custom background (red bullet) to li elements.
         */
  background-image: none !important;
}
ul.autocomplete li > span {
  font-weight: bold;
}
ul.autocomplete li > em {
  opacity: 0.8;
  font-style: normal;
  /*
             *  Before and after we will prepend and append square breackets
             */
}
ul.autocomplete li > em:before {
  content: ' [#';
}
ul.autocomplete li > em:after {
  content: ']';
}
ul.autocomplete li.watched {
  background: #f2f2f2;
}
/* 
 * Styles for the {breadcrumbs} tag.
 *
 * @file Feedback.less
 */
div[data-widget="breadcrumbs"] {
  padding: 1rem 0;
}
div[data-widget="breadcrumbs"].dark {
  background: radial-gradient(at top, #007AC3 0%, #00426A 100%);
  color: #F9FAFA;
}
div[data-widget="breadcrumbs"].dark a,
div[data-widget="breadcrumbs"].dark span {
  color: #F9FAFA;
}
div[data-widget="breadcrumbs"].light {
  color: #25282A;
}
div[data-widget="breadcrumbs"].light a,
div[data-widget="breadcrumbs"].light span {
  color: #25282A;
}
div[data-widget="breadcrumbs"] .breadcrumbs-container {
  width: 90%;
  margin: 0 auto;
}
div[data-widget="breadcrumbs"] a,
div[data-widget="breadcrumbs"] span {
  padding: 0 0.3rem;
}
/** 
 * Styles of the dropdown widget that is used in the main navigation.
 */
[data-widget="dropdown"] .dropdown-label {
  cursor: pointer;
  position: relative;
  padding: 1.5rem 1rem;
  /**
         *  The span that holds the label's content
         */
}
[data-widget="dropdown"] .dropdown-label span {
  cursor: pointer;
}
[data-widget="dropdown"] .dropdown-label span::after {
  font-family: FontAwesome;
  position: absolute;
  content: "\f0d7";
  margin-left: 8px;
  transition: all 0.1s ease;
}
[data-widget="dropdown"] .dropdown-content {
  display: none;
  overflow: hidden;
  transition: all 2s ease;
  position: absolute;
  top: 3.5rem;
  min-width: 1000px;
  padding-top: 1rem;
  z-index: 1;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
[data-widget="dropdown"] .dropdown-content div {
  flex-grow: 1;
  flex-shrink: 0;
}
[data-widget="dropdown"] .dropdown-content ul {
  padding: 0px;
}
[data-widget="dropdown"] .dropdown-content li .menu-description,
[data-widget="dropdown"] .dropdown-content p.menu-description {
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
}
[data-widget="dropdown"] .dropdown-content li .menu-description.new,
[data-widget="dropdown"] .dropdown-content p.menu-description.new {
  font-weight: 400;
  font-size: 17px;
  line-height: 26px;
}
[data-widget="dropdown"] .dropdown-content li .menu-description > a,
[data-widget="dropdown"] .dropdown-content p.menu-description > a {
  color: #007AC4;
}
[data-widget="dropdown"].active .dropdown-content {
  display: block;
  -webkit-animation: fadeIn 0.2s;
  animation: fadeIn 0.2s;
}
[data-widget="dropdown"].active .dropdown-label span {
  color: #007AC4;
}
[data-widget="dropdown"].active .dropdown-label span::after {
  content: "\f0d8";
}
[data-widget="dropdown"].active .dropdown-label::after {
  position: absolute;
  content: none;
  -webkit-animation: fadeIn 0.2s;
  animation: fadeIn 0.2s;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #F9FAFA;
  border-right: 10px solid transparent;
  left: 2.5rem;
  top: 4.5rem;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* 
 * Styles for the {featurenavigation} tag.
 *
 * @file FeatureNavigation.less
 */
div[data-widget="featurenavigation"] {
  width: 100%;
}
div[data-widget="featurenavigation"] a {
  color: #fff;
}
div[data-widget="featurenavigation"] a i {
  margin: 0 0.5rem;
}
/* 
 * Styles for the {feedback} tag.
 *
 * @file Feedback.less
 */
div[data-widget="feedback"] {
  display: block;
  box-sizing: border-box;
  padding: 0.7rem;
  margin-bottom: 0.875rem;
}
div[data-widget="feedback"].default {
  background-color: #F5F6F6;
}
div[data-widget="feedback"].warning {
  background-color: #fbd069;
  border: 1px solid #fac037;
  color: #181101;
}
div[data-widget="feedback"].success {
  background-color: rgba(37, 161, 73, 0.25);
  border: 1px solid #2fca5c;
  color: #1b7836;
}
div[data-widget="feedback"].error {
  background-color: rgba(200, 16, 46, 0.25);
  border: 1px solid #ed1e40;
  color: #990c23;
}
div[data-widget="feedback"].info {
  background-color: rgba(0, 66, 106, 0.15);
  color: #00426A;
}
div[data-widget="feedback"] i {
  margin-right: 5px;
}
/* 
 * Latestnews.less
 */
div[data-widget="latestnews"].loading {
  text-align: left;
}
div[data-widget="latestnews"].loading i.fa {
  font-size: 15px;
}
div[data-widget="latestnews"].loading span {
  display: inline-block;
}
div[data-widget="latestnews"] ul {
  margin: 0;
  padding: 0;
}
div[data-widget="latestnews"] ul li {
  display: inline-block;
  list-style: none;
  padding: 0 0.5rem;
}
/**
 *  Proof of concept of a optional style definition of a smarty tag
 *
 *  @author         Clyde Semeleer <clyde.semeleer@copernica.com>
 *  @documentation  private
 */
div[data-widget="myblock"] {
  /* styling... */
  border: 1px solid red;
}
/* alternative way to namespace style definitions */
div.widget_myblock {
  color: blue;
}
/**
 *  Pager style definition
 */
[data-widget="pager"] .controls {
  min-width: 100%;
  margin-left: 0px;
  box-sizing: border-box;
}
[data-widget="pager"] .controls:not(:empty) {
  padding: 0.5rem;
}
[data-widget="pager"] .controls .links {
  font-weight: normal;
  text-align: left;
  width: 100%;
}
[data-widget="pager"] .controls .links .showAll {
  float: right;
}
[data-widget="pager"] .loader {
  max-width: 50%;
  display: none;
  text-align: center;
  margin: 0 auto;
}
[data-widget="pager"] tr:last-of-type {
  border: none;
}
[data-widget="pager"] tr:last-of-type td {
  border: none;
}
/*
 * Searchfield style definition
 */
div[data-widget="searchfield"] button span::before {
  content: "\f002";
  font-family: FontAwesome;
  color: white;
  transition: all 0.1s linear;
}
/**
 * Plugin style definitions for the show incident message widget.
 */
div[data-widget="showincidentmessage"] table.contact-header {
  margin: 0px;
  font-size: 12px;
  background-color: #eee;
}
div[data-widget="showincidentmessage"] table.contact-header tr td:first-of-type {
  font-weight: 500;
}
div[data-widget="showincidentmessage"] div.content-container {
  font-size: 80%;
  min-height: 200px;
}
div[data-widget="showincidentmessage"] div.content-container.mime,
div[data-widget="showincidentmessage"] div.content-container.html {
  background-color: white;
}
div[data-widget="showincidentmessage"] div.content-container.mime iframe,
div[data-widget="showincidentmessage"] div.content-container.html iframe {
  width: 100%;
  height: 500px;
}
/*
 * Sidecta.less
 *
 * Styles for a call-to-action section in the sidebar
 */
.side-cta {
  margin-bottom: 2rem;
}
.side-cta ul {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0;
}
.side-cta p i {
  color: #25A149;
  margin-right: 0.2rem;
}
.side-cta a {
  display: block;
}
/* 
 * @file SideNewsletter.less
 *
 * Styles for Newsletter component that is placed in the sidebar
 */
.side-newsletter {
  margin-bottom: 2rem;
}
.side-newsletter button {
  background: #00426A;
}
/* 
 * Styles for the section in the sidebar, that contains testimonials of our users
 *
 * @file SideTestimonials.less
 *
 */
.side-testimonials .testimonial-text {
  border-bottom: 1px solid #F5F6F6;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}
.side-testimonials .testimonial-text p {
  margin-bottom: 0.3rem;
  font-style: italic;
}
.side-testimonials .testimonial-text p::before,
.side-testimonials .testimonial-text p::after {
  color: #494f53;
  font-size: 1.5em;
}
.side-testimonials .testimonial-text p::before {
  content: open-quote;
}
.side-testimonials .testimonial-text p::after {
  content: close-quote;
}
.side-testimonials .testimonial-text span {
  color: #007AC4;
  font-size: 1rem;
}
/* 
 * ToggleDiv.less
 */
div[data-widget="togglediv"] .hidden {
  display: none;
}
/**
 *  User badge style definition
 */
div[data-widget="userbadge"] a {
  color: #25282A;
}
/**
 *  User image style definition
 */
div[data-widget="userimage"] {
  max-width: 100%;
  box-sizing: border-box;
}
div[data-widget="userimage"] img {
  background-color: #fff;
  border: 1px solid #F5F6F6;
  border-radius: 99px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
div[data-widget="userimage"] img.small {
  min-width: 3rem;
  max-width: 3rem;
  height: 3rem;
}
div[data-widget="userimage"] img.normal {
  min-width: 6rem;
  max-width: 6rem;
  height: 6rem;
}
