:root {
  --body-bg: #F9FAFB;
  --border-color: #E5E7EB;
  --primary-color: #0D6EFD;
  --color-blue: #0D6EFD;
  --color-green: #198754;

  --base-trans: all 0.25s ease;
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
  #timeline {
    height: 600px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  overflow-y: scroll;
}

a {
  color: #5A94B6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.left {
  float: left;
  width: 400px;
}

.right {
  font-weight: bold;
  font-size: 16px;
  margin-left: 400px;
  text-align: center;
}

.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

.hide {
  display: none;
}

.container {
  padding: 0 24px;
  margin: 0 auto;
  width: auto;
}

@media (min-width: 1400px) {
  .container {
    width: 1240px;
  }
}

#main h1 {
  color: #2975A0;
}

#timeline {
  min-height: 500px;
  min-width: 800px;
  margin: 0px auto;
}

.product-search {
  font-size: 16px;
  padding: 5px;
  border: solid 1px #ddd;
  border-radius: 3px;
}

.product-search:focus-visible {
  outline: unset;
  border: solid 1px #bbb;
}

/* HEADER
------------------------------------ */
.header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

/* Menu */
.menu {
  background: #fff;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  list-style: none;
}

.menu li {
  border-right: 1px solid var(--border-color);
  flex: 1;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}

.menu li:first-child {
  border-left: 1px solid var(--border-color);
}

.menu li:hover {
  background-color: #f8f9fa;
}

.menu li a {
  color: #1F2937;
  display: block;
  font-weight: 600;
  height: 100%;
  padding: 16px 0;
  position: relative;
  text-align: center;
}

.menu li a::after {
  content: "";
  display: block;
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 0;
  height: 2px;
}

.menu li a.active {
  color: var(--primary-color);
}

.menu li a.active::after {
  background-color: #007AFF;
}

.menu li a:hover,
.menu li a:focus,
.menu li a:active {			
  opacity: 1;	
  text-decoration: none;
}

.menu li a.active {
  opacity: 1;
}

/* Form search */
#frm-search {
  background-color: #F9FAFB;
  border-bottom: 1px solid #E9ECEF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 12px 24px;
}

#frm-search .left,
#frm-search .right {
  float: none;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

#frm-search input {
  border: 2px solid #D1D5DB;
  box-shadow: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
  height: 36px;
  padding: 0 16px;
  line-height: 36px;
  outline: none;
}

#frm-search input:focus {
  border-color: var(--color-green);
}


/* Message
----------------------------- */
.alert {
  padding: 20px;
  background-color: #f44336;
  color: #fff;
  opacity: 1;
  transition: opacity .6s;
  margin-bottom: 15px
}

.alert.success {
  background-color: #04aa6d
}

.alert.info {
  background-color: #2196f3
}

.alert.warning {
  background-color: #ff9800
}

.closebtn {
  margin-left: 15px;
  color: #fff;
  font-weight: 700;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: .3s
}

.closebtn:hover {
  color: #000
}

/* Product wrapper
---------------------------- */
.product-wrapper {
  background-color: #fff;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 16px;
  overflow: auto;
}

.product-list {
  width: 100%;
  table-layout: fixed;
}

.product-list th,
.product-list td {
  padding: 16px 16px;
}

.product-list th {
  background-color: #F3F4F6;
  border-bottom: 2px solid var(--primary-color);
  font-weight: 600;
}

.product-list tr {
  transition: var(--base-trans);
}

.product-list tr:hover {
  background-color: #F3F4F6;
}

.product-list tr:hover .col-status span {
  background-color: #fff;
}

.product-list td {
  border-bottom: solid 1px var(--border-color);
}

.product-title {
  font-weight: 500;
  text-align: left;
}

.product-type {
  text-transform: capitalize;
  text-align: center;
}

.product-type-wrap {
  display: inline-block;
  position: relative;
}

.product-type .badge {
  background-color: #E5E7EB;
  border-radius: 50%;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  height: 22px;
  line-height: 22px;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  width: 22px;
}

.product-type .type-framework { background-color: #3B82F6; color: #fff; }
.product-type .type-template  { background-color: #DB2777; color: #fff; }
.product-type .type-module    { background-color: #EF4444; color: #fff; }
.product-type .type-plugin    { background-color: #8B5CF6; color: #fff; }
.product-type .type-component { background-color: #10B981; color: #fff; }

.product-type .label {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: #374151;
  font-size: 14px;  
  padding: 2px 6px;
  position: absolute;
  top: 0;
  opacity: 0;
  left: 36px;
  transition: var(--base-trans);
}

.product-type .label::before,
.product-type .label::after {
  border-right: 5px solid var(--border-color);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content: "";
  display: block;
  position: absolute;
  left: -6px; 
  top: 6px;
  height: 0;
  width: 0;
}

.product-type .label::after {
  border-right: 4px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  top: 7px;
  left: -4px;
}

.product-list tr:hover .product-type .label {
  opacity: 1;
  left: 30px;
}

/* Status */
.col-status {
  text-align: center;
}

.col-status span {
  background-color: #ffe4e3;
  font-size: 13px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 5px;
}

.status-stable span {
  background-color: #8B5CF6 !important;
  color: #fff;
}

.status-rc4 span, .status-rc5 span {
  background-color: #ECFDF5;
  color: #059669;
}

.status-wip span {
  background-color: #EFF6FF;
  color: #3B82F6;
}

.status-planned span {
  background-color: #FFFBEB;
  color: #F59E0B;
}

.status-not-planned span {
  background-color: #F3F4F6;
  color: #4B5563;
}

/* Col version */
.col-version {
  text-align: center;
}