@import "animate.min.css";
@import "bootstrap-spacing.css";

/*CSS for gif loading*/
.no-js #loader {
  display: none;
}

.js #loader {
  display: block;
  position: absolute;
  left: 100px;
  top: 0;
}

.se-pre-con {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(../images/loading.gif) center no-repeat #fff;
}

.navbar {
  background-color: #2c2c2c;
  background-image: -moz-linear-gradient(top, #deb887, #be9867);
  background-image: -ms-linear-gradient(top, #deb887, #be9867);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#deb887), to(#be9867));
  background-image: -webkit-linear-gradient(top, #deb887, #be9867);
  background-image: -o-linear-gradient(top, #deb887, #be9867);
  background-image: linear-gradient(top, #deb887, #be9867);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#deb887', endColorstr='#be9867', GradientType=0);
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 3px 13px -1px rgba(105, 93, 105, 1);
  -moz-box-shadow: 0 3px 13px -1px rgba(105, 93, 105, 1);
  box-shadow: 0 3px 13px -1px rgba(105, 93, 105, 1);
}

.navbar .navbar-brand {
  color: white;
}

.navbar .text-bio {
  font-weight: bold;
  font-size: 20px;
}

.actions button {
  width: 100%;
  margin-bottom: 5px;
  padding: 5px 10px;
}

.list-areas {
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  display: inline-block;
  padding: 6px 6px;
  font-size: 16px;
}

.list-areas .area {
  float: left;
  cursor: pointer;
  color: #337ab7;
  margin: 2px 10px 2px 2px;
  padding: 1px 4px;
  border-radius: 4px;
  transition: transform .2s;
  border: 1px solid transparent;
}

.list-areas .area:hover {
  text-decoration: underline;
}

.list-areas .area:last-child {
  margin-right: 0;
}

.list-areas .area:hover {
  transform: scale(1.1);
}

.list-areas .area.active {
  -webkit-box-shadow: 0 2px 5px -1px rgba(105, 93, 105, 1);
  -moz-box-shadow: 0 2px 5px -1px rgba(105, 93, 105, 1);
  box-shadow: 0 2px 5px -1px rgba(105, 93, 105, 1);
}

#table_data {
  margin-bottom: -1px;
  color: #5e5e5e;
}

#table_data thead {
  background-color: #ddd;
}

tr.ui-selected {
  background: #FECA40;
}

.select-result-cover {
  position: relative;
}

#btn_copy_cover {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}

#btn_copy_cover #btn_copy {
  height: 100%;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: .375rem .75rem;
  font-size: 16px;
  line-height: 1.5;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: #fff;
  background-color: #28a745;
  border: none;
}

#for_copy {
  width: 0;
  height: 1px;
  opacity: 0;
}

#for_copy_message {
  font-size: 13px;
}

#scroll_down {
  cursor: s-resize;
  height: 24px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: calc(50% - 60px);
}

/* CSS for .data-value*/
th.area-name,
td.area-value,
#table_data .data-value {
  width: 100px;
}

/*CSS helper*/
.b-0 {
  border: 0;
}

.t-bold {
  font-weight: bold;
}

.bb-0 {
  border-bottom: 0 !important;
}

.bt-0 {
  border-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0;
}


/*CSS for list files (gsm and msm)*/
.list-file {
  border: 1px solid #646464;
  list-style-type: none;
  padding: 0;
  border-radius: 4px;
}

.list-file li {
  text-align: center;
  padding: 6px 0;
  color: #337ab7;
  cursor: pointer;
  font-size: 12px;
}

.list-file li:first-child {
  font-weight: bold;
  cursor: default;
}

.list-file li:not(:first-child) {
  border-top: 1px solid #5e5e5e;
}

.c-gsm {
  background-color: #ffaaaa !important;
  color: black;
}

.c-msm {
  background-color: #aaffaa !important;
  color: black;
}

.list-file li.gsm.active {
  background-color: #f37878;
}

.list-file li.msm.active {
  background-color: #3ec775;
}

.va-middle {
  vertical-align: middle !important;
}

#table_data {
  border-bottom: 2px solid #ddd;
}

#table_data thead th {
  position: -webkit-sticky;
  position: sticky;
  background-color: #fff;
  z-index: 4;
}

#table_data thead .row-1 th {
  top: 0;
}

#table_data thead .row-2 th {
  top: 38px;
}

body.sm-2 #table_data thead .row-2 th {
  top: 30px;
}

body.mobile #table_data thead .row-2 th {
  top: 21px;
}

#table_data tfoot,
#table_data tfoot th,
#table_data tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background-color: #fff;
  z-index: 4;
}

#table_data tfoot td {
  border: 1px solid #ddd;
}

.table-container {
  border-top: 1px solid #ddd;
}

#table_data {
  border-top: 0;
}

.btn-mobile-copy {
  display: none;
}

/*Css Small 1*/
body.sm-1 #table_data .area-name {
  max-width: 80px;
}

body.sm-1 #table_data .data-value,
body.sm-1 #table_data .area-value {
  width: 80px;
}

body.sm-1 #scroll_down {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 0;
}

body.sm-1 #for_copy_message {
  font-size: 11px;
}

/*Css Small 2*/
body.sm-2 #table_data .area-name {
  max-width: 50px;
  padding: 4px;
  text-align: center;
}

body.sm-2 #table_data .data-value,
body.sm-2 #table_data .area-value {
  width: 50px;
  padding: 4px;
  text-align: center;
}

body.sm-2 #scroll_down {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: 0;
}

body.sm-2 #for_copy_message {
  font-size: 11px;
}

/*Css Small 3*/
body.sm-3 #table_data .area-name {
  width: 35px;
  padding: 1px;
  text-align: center;
}

body.sm-3 #table_data .data-value {
  font-size: 13px;
  font-weight: 400;
}

body.sm-3 #table_data .data-value,
body.sm-3 #table_data .area-value {
  width: 35px;
  padding: 1px;
  text-align: center;
}

body.sm-3 #scroll_down {
  padding-left: 1px;
  padding-right: 1px;
  margin-left: 0;
}

body.sm-3 #for_copy_message {
  font-size: 11px;
}

body.sm-3 #table_data {
  min-width: 800px;
}

body.sm-3 #btn_copy {
  padding: 1px;
  font-size: 10px !important;
}

/*Body mobile*/
body.mobile nav {
  margin-bottom: 5px;
}

body.mobile h4 {
  margin-top: 5px;
  margin-bottom: 5px;
}

body.mobile .navbar {
  min-height: 40px;
}

body.mobile .navbar-brand {
  font-size: 14px !important;
  padding-top: 10px;
  padding-bottom: 10px;
  height: 40px;
}

body.mobile .list-areas {
  font-size: 14px !important;
}

body.mobile #table_data .area-name {
  width: 35px;
  padding: 1px;
  text-align: center;
}

body.mobile #table_data .data-value {
  font-size: 13px;
  font-weight: 400;
}

body.mobile #table_data .data-value,
body.mobile #table_data .area-value {
  width: 40px;
  padding: 1px;
  text-align: center;
}

body.mobile #scroll_down,
body.mobile #for_copy_message,
body.mobile #btn_copy {
  display: none;
}

body.mobile #table_data {
  width: 100%;
  /*width: 900px;*/
}

body.mobile .table-container {
  width: 1200px;
  height: 500px;
  max-width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: auto;
}

body.mobile .hidden-mobile {
  display: none;
}

body.mobile td.time {
  white-space: nowrap;
}

body.mobile .btn-mobile-copy {
  display: inline;
}

tr.row-selected {
  background: #FECA40;
}

.mobile-checkbox {
  display: none;
}

.mobile-mode .mobile-checkbox {
  display: inline;
}

#table_data {
  position: relative;
  border-collapse: inherit;
}

@media (max-width: 768px) {
  .pr-sm-1 {
    padding-right: 5px;
  }

  .pl-sm-1 {
    padding-left: 5px;
  }

  .col-6 {
    width: 50%;
    float: left;
  }

  .col-12 {
    width: 100%;
    float: left;
  }

  .hidden-sm-down {
    display: none;
  }

  .actions button {
    width: auto;
  }

  th.area-name {
    font-size: 13px;
  }

  #scroll_down {
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0;
  }

  #for_copy_message {
    font-size: 11px;
  }
}