
/*============================================================================*/

.csr-secweb-alert {
  padding: .5rem 1rem;
  background-color: #FFF;
  border-left: 3px solid #000;
  color: #000;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
  border-radius: 0 1rem 1rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
}

.csr-secweb-alert-caption {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.csr-secweb-alert-message {

}

.csr-secweb-alert.csr-secweb-error    { border-color: #F44336; background-color: #FFF6F6; color: #000; }
.csr-secweb-alert.csr-secweb-success  { border-color: #4CAF50; background-color: #E4FFE5; color: #000; }
.csr-secweb-alert.csr-secweb-notice   { border-color: #2196F3; background-color: #E4F3FF; color: #000; }
.csr-secweb-alert.csr-secweb-warning  { border-color: #FF9800; background-color: #FFF1C8; color: #000; }

.csr-secweb-alert-closer {
  margin-left: 15px;
  color: #000000;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.csr-secweb-alert-closer:hover {
  color: #FF0000;
}

/*============================================================================*/

.csr-secweb-log-grid {
  display: grid;
  grid-template-columns: repeat(7, auto);
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}
.csr-secweb-log-grid b {
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  background-color: #C5C5C5;
  padding: 0.25rem 0.50rem;
  text-align: center;
}
.csr-secweb-log-grid span {
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  background-color: #FFF;
  padding: 0.25rem 0.50rem;
}

/*============================================================================*/

.csr-secweb-tabbed {
  overflow-x: hidden; /* so we could easily hide the radio inputs */
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

.csr-secweb-tabbed [type="radio"] {
  /* hiding the inputs */
  display: none;
}

.csr-secweb-tabs {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #ccc;
}
.csr-secweb-tab > label {
  display: block;
  margin-bottom: -1px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  background: #eee;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.csr-secweb-tab:hover label {
  border-top-color: #333;
  color: #333;
}

.csr-secweb-tab-content {
  display: none;
  color: #333;
  background-color: #EEE;
  padding: 1rem;
}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
.csr-secweb-tabbed [type="radio"]:nth-of-type(1):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(1) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(2):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(2) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(3):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(3) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(4):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(4) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(5):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(5) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(6):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(6) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(7):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(7) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(8):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(8) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(9):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(9) label,
.csr-secweb-tabbed [type="radio"]:nth-of-type(10):checked ~ .csr-secweb-tabs .csr-secweb-tab:nth-of-type(10) label {
  border-bottom-color: #fff;
  border-top-color: #B721FF;
  background: #fff;
  color: #222;
}

.csr-secweb-tabbed [type="radio"]:nth-of-type(1):checked ~ .csr-secweb-tab-content:nth-of-type(1),
.csr-secweb-tabbed [type="radio"]:nth-of-type(2):checked ~ .csr-secweb-tab-content:nth-of-type(2),
.csr-secweb-tabbed [type="radio"]:nth-of-type(3):checked ~ .csr-secweb-tab-content:nth-of-type(3),
.csr-secweb-tabbed [type="radio"]:nth-of-type(4):checked ~ .csr-secweb-tab-content:nth-of-type(4),
.csr-secweb-tabbed [type="radio"]:nth-of-type(5):checked ~ .csr-secweb-tab-content:nth-of-type(5),
.csr-secweb-tabbed [type="radio"]:nth-of-type(6):checked ~ .csr-secweb-tab-content:nth-of-type(6),
.csr-secweb-tabbed [type="radio"]:nth-of-type(7):checked ~ .csr-secweb-tab-content:nth-of-type(7),
.csr-secweb-tabbed [type="radio"]:nth-of-type(8):checked ~ .csr-secweb-tab-content:nth-of-type(8),
.csr-secweb-tabbed [type="radio"]:nth-of-type(9):checked ~ .csr-secweb-tab-content:nth-of-type(9) {
  display: block;
}

/*============================================================================*/
/* =====[ (c) 2022 CSR Tech Concepts Inc All Rights Reserved.       ]=========*/
