/* table */
.table-wrapper {
  overflow-y: scroll;
  max-height: 263px;
  margin-bottom: 32px;
  -ms-overflow-style: none;
}

.table-wrapper::-webkit-scrollbar {
  display: none;
}

.overview-table-wrapper {
  overflow-y: scroll;
  max-height: 235px;
  margin: 0px;
  -ms-overflow-style: none;
}

.overview-table-wrapper::-webkit-scrollbar {
  display: none;
}

.overview-table-wrapper .content-table {
  margin-bottom: 0px !important;
}
.overview-table-wrapper .content-table tr > th {
  background-color: #202426;
}
.overview-table-wrapper .content-table tr > td {
  background-color: #1D2124;
}

.content-table {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.content-table thead tr {
  height: 30px;
}

.content-table th {
  background-color: var(--me-charcoal);
  vertical-align: middle;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #303437;
}

.tab-content .content-table th {
  background-color: #202426;
  font-weight: 400 !important;
}

.content-table tr {
  height: 53px;
  border-bottom: 1px solid #303437;
  transition: 0.3s;
}

.content-table td {
  vertical-align: middle;
  word-break: break-all;
  table-layout: fixed;
  font-size: 16px;
  height: 20px !important;
  background-color: var(--me-pebble);
  color: var(--me-white);
}

.tab-content .content-table td {
  background-color: #1D2124;
}

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

.content-table .border-bottom-1 {
  border-bottom: 1px;
}

.content-table .border-left {
  border-left: 1px solid #636a6e;
}

.label-name {
  color: var(--me-primary);
  text-decoration: underline;
}

.tab-sub-title-wrapper {
  display: flex;
  justify-content: space-between;
}

.tab-sub-title {
  font-size: 16px;
  margin-bottom: 16px;
}

.tab-sub-title ~ span {
  color: #98a6ad;
}

.margin-top-16 {
  margin-top: 16px;
}

.padding-bottom-16 {
  padding-bottom: 16px;
}

.table-top {
  display: flex;
  justify-content: space-between;
}

/* dropdown */
.dropdown-menu-animated.show {
  display: block;
  top: 100% !important;
}

.dropdown-menu-animated {
  -webkit-animation-name: DropDownSlide;
  animation-name: DropDownSlide;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  margin: 0;
  z-index: 1000;
}

@-webkit-keyframes DropDownSlide {
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@keyframes DropDownSlide {
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

.dropdown-menu {
  min-width: 138px;
  padding: 0;
  background-color: #303437;
  border: 1px solid #43494E;
  right: 0 !important;
}

.dropdown-menu li a.dropdown-item {
  color: #B0B8BE;
  font-size: 16px;
  width: 100%;
  padding: 8px 16px;
  cursor: pointer;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--me-select);
  color: var(--me-white) !important;
  border-radius: 5px;
}

/* form-dropdown */
.form-dropdown-wrapper {
  display: flex;
  margin-bottom: 16px;
}

.form-dropdown-wrapper > div {
  margin-right: 16px;
}

.form-dropdown {
  position: relative;
}

.form-dropdown > .dropdown-select {
  width: 132px;
  height: 38px;
  background-color: var(--me-select);
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  padding: 0 8px;
  color: var(--me-darkgray);
  line-height: 38px;
}

.form-dropdown > .dropdown-select > span {
  display: block;
  text-align: left;
}

.dropdown-select-title {
  background-color: var(--me-darkgray);
}

.form-dropdown .dropdown-toggle:before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(ico-arrow-top.svg) no-repeat 0 0;
  vertical-align: middle;
  position: absolute;
  right: 8px;
  top: 12px;
  rotate: 180deg;
}

.form-dropdown .dropdown-toggle.show:before {
  rotate: 0deg;
}

.form-dropdown > .dropdown-menu {
  min-width: 132px;
}

.form-dropdown > .dropdown-menu a {
  display: block;
  font-size: 14px;
  padding: 8px 16px;
  color: var(--me-darkgray);
}

.form-dropdown > .dropdown-menu a:hover {
  background-color: var(--me-select);
  border-radius: 4px;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

table.table-vertical {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  overflow-x: auto;
  overflow-y: hidden;
  color: #f5f5f5;
  font-size: 16px;
}

.table-vertical tbody {
  display: flex;
  width: calc(100% - 200px);
}

.table-vertical th,
.table-vertical td {
  display: block;
  line-height: 40px;
  padding-left: 16px;
  padding-right: 16px;
}

.table-vertical th {
  width: 200px;
  height: 55px;
  border: 1px solid #303437;
  border-right: 0;
  border-bottom: 0;
  background-color: #202426;
}

.table-vertical td {
  height: 55px;
  border: 1px solid #303437;
  border-bottom: 0;
  color: var(--me-white);
  background-color: #1D2124;
}

.table-vertical tr {
  width: 100%;
  border-bottom: 1px solid #303437;
}

.content-table tr.selected-image {
  background-color: var(--me-select);
  border-bottom: none;
}

.content-table tr.selected-image td input[type="radio"] {
  margin-left: 8px;
}

.content-table tr.selected-image td input[type="text"]:disabled {
  background-color: var(--me-background);
  color: var(--me-darkgray);
  border: 0;
  border-radius: 4px;
  padding: 8px;
}

.content-table tr.selected-image td input[type="text"] {
  background-color: transparent;
  color: var(--me-lightgray);
  border: 1px solid var(--me-lightgray);
  border-radius: 4px;
  padding: 8px;
}

.content-table tr.image-btn-group {
  background-color: var(--me-select);
  text-align: right;
  margin-right: 8px;
}

.content-table tr.hide {
  display: none;
}

/* Inner table */
.content-inner-table {
  background-color: var(--me-background);
}

.content-inner-table tr {
  padding-right: 24px;
}

.content-inner-table tr td.table-title {
  color: var(--me-lightgray);
  font-weight: 500;
  padding: 8px 0;
}

.content-inner-table tr td.table-value {
  color: var(--me-darkgray);
  font-weight: 400;
  padding-left: 16px;
}

/* Profile Modal table */
.profile-table {
  width: 100%;
  background-color: var(--me-charcoal);
  text-align: left;
}

.profile-table .title {
  color: var(--me-lightgray);
  font-size: 14px;
  font-weight: 500;
  padding: 16px 0;
  min-width: 100px;
}

.profile-table .content {
  color: var(--me-lightgray);
  font-size: 14px;
  font-weight: 400;
  padding: 16px;
}

/* vertical table */
.table-container {
  display: flex;
  flex-direction: row;
  max-width: 500px;
  margin: 1rem 0;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  display: flex;
  flex-direction: row;
}

.table-container tbody {
  display: flex;
  flex-direction: row;
}

.table-container table thead tr,
.table-container table tbody tr
{
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1rem;
}

.table-container table tr {
  border-bottom: 1px solid #7a868b;
}

.table-container table thead th {
  width: 160px;
  height: 55px;
  line-height: 23px;
  overflow-y: hidden;
  padding: 16px;
}

.table-container table tbody td {
  width: 351px;
  height: 55px;
  line-height: 55px;
  overflow-y: hidden;
  padding-left: 16px;
}

.table-container table th {
  border-top: 1px solid #7a868b;
  border-left: 1px solid #7a868b;
}

.table-container table td {
  border-right: 1px solid #7a868b;
  border-top: 1px solid #7a868b;
  border-left: 1px solid #7a868b;

}

.table-container table.clock-table {
  margin-left: 32px;
}

.table-container table.clock-table thead th {
  width: 90px;
  height: 220px;
  text-align: center;
  line-height: 182px;
  border-right: 1px solid #7a868b;
}
.table-container table.clock-table tbody tr.sub-header td {
  width: 160px;
}
.table-container table.clock-table tbody tr {
  height: 220px;
}

.table-container table.clock-table tbody td {
  line-height: 55px;
  border-left: 0;
  width: 261px;
}

/* overview page */
.card-content.system-info {
  padding: 16px;
}
.card-content.system-info .system-info-label {
  color: var(--me-primary);
}
.card-content.system-info .system-info-item {
  color: var(--me-white);
  font-size: 20px;
}

/* vertical table */
table.vertical {
  width: 100%;
  border-collapse: collapse;
  display: flex;
  flex-direction: row;
}

table.vertical tbody {
  display: flex;
  flex-direction: row;
}

table.vertical thead tr,
table.vertical tbody tr {
  display: flex;
  flex-direction: column;
}

table.vertical thead tr th,
table.vertical tbody tr td {
  color: var(--me-lightgray);
  font-size: 14px;
  height: 55px;
  line-height: 55px;
}

table.vertical thead tr th {
  width: 79px;
  font-weight: 500;
}

table.vertical tbody tr td {
  font-weight: 400;
}

/* Profile Modal table */
.profile-table {
  width: 100%;
  text-align: left;
  background-color: var(--me-charcoal);
}

.profile-table td.title {
  color: var(--me-white);
  font-size: 16px;
  font-weight: 500;
  padding: 13px 20px;
  min-width: 160px;
  border-bottom: 5px solid var(--me-background);
}

.profile-table td.content {
  color: var(--me-lightgray);
  background-color: #232628;
  font-size: 16px;
  font-weight: 400;
  padding: 13px 20px;
  border-bottom: 5px solid var(--me-background);
  height: 50px;
}
