* {
  margin: 0;
  padding: 0;
  outline: none;
}

:focus {
  outline: none;
}

.ftl {
  float: left;
}

.ftr {
  float: right;
}

body {
  background-color: #fafafa;
  min-height: 100vh;
}

.header, .main {
  clear: both;
}

.header {
  float: left;
  width: 100%;
  margin-bottom: 1em;
  padding: 1em;
  background: #002956 url(../img/bg-header.jpg) no-repeat center top;
  background-size: cover;
  border-bottom: 3px solid #96c8ff;
}

.field-error {
  color: #bb3333;
  font-size: 0.8em;
}

.field-success {
  color: #159924;
  font-size: 0.8em;
}

.main {
  width: 100%;
  padding: 0 1em 2em 1em;
}

.filter-box {
  background-color: #e8f1f8;
  border-radius: 0 0 5px 5px;
  padding: 0em 1.5em 1em 1.5em;
}

.title-web {
  float: left;
  margin: 0;
  color: #fff;
  font-size: 2em;
}

.title-web span {
  font-size: .3em;
  display: block;
  font-weight: 200;
}

.login {
  float: right;
}

.login img {
  border-radius: 50%;
  width: 45px;
  float: left;
  border: 2px solid #ffffff;
}

.login div {
  float: left;
  margin-left: .4em;
  ;
}

.login div span a {
  display: block;
  font-size: .9em;
  line-height: .6em;
  margin-top: .75em;
  color: #fff;
}

.login div a {
  font-size: .7em;
  color: #96c8ff;
  font-weight: 200;
}

.resumen td:nth-child(2n - 1) {
  font-weight: bold;
  border-left: 1px solid #155724;
  padding-left: 1em;
}

.resumen td:nth-child(1) {
  font-weight: bold;
  border-left: none;
  padding-left: 0;
}

.resumen td:nth-child(2n) {
  width: 80px;
  padding: 0 1em;
}

.tab-content {
  background-color: #fff;
  padding: 1em;
  border: 1px solid #dee2e6;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.modal-header {
  background: #002956;
}

.modal-title, .modal-header .close span {
  color: #fff;
}

.modal-planificacion {
  max-width: 70%;
}

.modal-mants {
  max-width: 50%;
}

.week-edge {
  border-right: solid 1px #ddd;
}

.smaller-table td, .smaller-table th {
  padding: 0.4rem;
}

.check-cell {
  text-align: center;
}

.frozen-column-left {
  left: 15px;
  position: absolute;
  z-index: 1000;
  width: 50px;
  height: 50px;
  margin-left: -50px;
  background-color: #ececec;
}

.frozen-column-right {
  right: 15px;
  position: absolute;
  z-index: 1000;
  width: 50px;
  height: 50px;
  background-color: #ececec;
}

.table-crono thead tr th {
  text-align: center;
}

.table-crono button, i {
  border-right: none !important;
}

.tab-unidad {
  background-color: #eee;
  font-weight: bold;
}

textarea {
  resize: none;
}

.table-plan td {
  padding-left: 0;
}

.oat-fix {
  padding-bottom: 14px;
}

@-moz-document url-prefix() {
  .oat-fix {
    padding-bottom: 1px !important;
  }
}

.search-block, .search-block:focus {
  background-color: #e8f1f8;
  border-radius: 5px 5px 0 0;
  font-weight: bold;
  text-align: left;
  line-height: 2.2em;
  box-shadow: none;
}

.search-block::after {
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  float: right;
  transform: rotate(0deg);
  margin-top: 16px;
}

.search-block.collapsed::after {
  transform: rotate(180deg);
  margin-top: 14px;
}

.option {
  position: relative;
  padding-right: 80px !important;
}

.option span {
  position: absolute;
  right: 10px;
}

.table th, .table td {
  vertical-align: middle;
}

.table-plan th, .table-plan td {
  vertical-align: top !important;
}

.table .thead-dark th {
  border-left: 1px solid #fff;
}

.table .thead-dark th:first-child {
  border-left: 0;
}

.launch-icon:hover {
  cursor: pointer;
}

@media (max-width: 500px) {
  .title-web span, .login img {
    display: none;
  }
  .nav-link {
    padding: 0.5rem .5em;
  }
  .main {
    padding: 0;
  }
  .tab-content {
    border: 0;
  }
  .nav-tabs .nav-item:first-child {
    margin-left: .5em;
  }
}

.schedule-objective {
  width: 300px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tooltiq {
  position: relative;
}

.tooltiq:hover {
  border-bottom: gray dotted 1px;
}

.tooltiq .tooltiqtext {
  visibility: hidden;
  background-color: gray;
  color: white;
  text-align: left;
  border-radius: 10px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  left: calc(100% + 20px);
  top: -20px;
}

.tooltiq .tooltiqtext::after {
  content: "";
  position: absolute;
  top: 20px;
  left: -5px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent gray transparent transparent;
}

.tooltiq:hover .tooltiqtext {
  visibility: visible;
}

.tooltiq-sm {
  position: relative;
  display: inline-block;
}

.tooltiq-sm .tooltiqtext-sm {
  display: none;
  background-color: gray;
  color: white;
  text-align: center;
  border-radius: 5px;
  width: 130px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  left: -415%;
  top: -150%;
  font-size: 0.7em;
}

@-moz-document url-prefix() {
  .tooltiq-sm .tooltiqtext-sm {
    left: -335%;
  }
}

.tooltiq-sm .tooltiqtext-sm::after {
  content: '';
  position: absolute;
  top: 100%;
  left: calc(50% - 4px);
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: gray transparent transparent transparent;
}

.tooltiq-sm:hover .tooltiqtext-sm {
  display: block;
}