/** GENERAL **/
html,
body {
  background-color: #f0f0f0;
}
.project-main-viewer {
  overflow-y: auto;
}

label {
  font-weight: bold;
}

.smooth {
  opacity: 0;
  -webkit-animation-name: show;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-delay: 1s;
  animation-name: show;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-delay: 1s;
}

.form-control {
  border-radius: 0px !important;
}

@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.help-block {
  cursor: help;
  font-size: 10px;
}
.colored {
  color: #6ea1ff;
}

.help-block i {
  color: #6ea1ff !important;
}

/** FORMS **/
div.legend {
  color: #fff;
  background-color: #c9c9c9;
  padding: 5px;
  margin: 0 0 1rem 0;
}

div.legend ul {
  list-style: none !important;
  /*margin: 0px;
	padding-left: 12px;*/
}

div.legend ul li {
  float: left;
  padding: 0 10px;
  font-size: 12px;
}

div.legend ul li i {
  color: #6ea1ff;
}

div.form-header {
  margin-bottom: 0.5rem;
  background-color: #fff;
  position: relative;
  height: 70px;
}

div.title-wrapper {
  position: relative;
  z-index: 0;
  background-color: #015d6f;
  color: #fafafa;
  display: inline-block;
  margin-left: -20px;
  padding: 1.1rem !important;
  min-width: 350px;
}

div.subtitle-wrapper {
  display: inline-block;
  color: #fafafa;
  background-color: #85868d;
  padding: 1rem;
  margin-left: -5px;

  position: relative;
  top: 50%;
  transform: translateY(-50%);

  padding-top: 18px;
}

div.fieldset-wrapper {
  min-height: 65vh;
}

div.form-block {
  background-color: #fff;
  box-shadow: 1px 0px 8px #c9c9c9;
  padding-bottom: 15px;
}

div.wrapper-entity-image {
  border: 1px solid #c9c9c9;
  padding: 5px;
  margin: 5px;
  background-color: #f9f9f9;
  max-width: 80%;
  width: auto;
  display: inline-block;
}

div.wrapper-entity-image img.entity-image {
  display: block;
  margin: 0 auto;
  max-width: 80%;
}

div.wrapper-form-controls {
}

div.form-controls {
  float: right;
  padding: 10px 60px;
  width: auto !important;
  margin-right: -25px;
  box-shadow: 1px 1px 1px #c9c9c9;
  background-color: #fff;
  margin-top: 1rem;
}

div.form-controls .btn {
}

div.form-block .subtitle {
  background-color: #85868d;
  color: #fff;
  padding: 5px 10px;
  margin-left: -23px;
  width: auto !important;
  display: inline-block;
  position: relative;
  z-index: 0;
  padding-left: 35px;
  box-shadow: 1px 1px 1px #c0c0c0;
  overflow: hidden;
  white-space: nowrap;
  clear: both;
  margin-top: 12px;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
h5.subtitle > .fa-bg {
  font-size: 160% !important;
  top: 12px;
  left: 0px;
  color: #fff;
  opacity: 0.4 !important;
  position: absolute;
}
.form-titles {
  font-size: 12px;
  padding-bottom: 0px !important;
}

/*div.form-block .subtitle .fa-bg {
    font-size: 235% !important;
    left: 0;
    color: #fff;
    opacity: 0.4 !important;
}*/

div.form-controls > .btn {
  background-color: #fff;
  color: #85868d;
  border-radius: 0px;
  min-width: 150px !important;
}

div.form-controls > .btn-save {
  color: #fff;
  background-color: #3cad4a;
}

.btn-create {
  position: absolute;
  right: 10px;
  top: -20px;
  cursor: pointer;
  height: 50px;
  width: 50px;
  background-color: #3cad4a;
  overflow: hidden;
  z-index: 4;
  border-radius: 0;
}

.btn-create .fa-bg {
  /*top: 18%;
    font-size: 400% !important;*/
  color: #fff;

  margin-left: -20px;
  opacity: 0.2;
  font-size: 350% !important;
}
div.title-wrapper > span.fa-bg {
  color: #fff;
  margin-left: 8rem; /*140px;*/
  margin-top: 0.5rem;
  opacity: 0.2;
  font-size: 600% !important;
  position: absolute;
}
div.title-wrapper > h2 {
  margin-top: 15px !important;
}

.btn-export {
  border-radius: 0;
  min-width: 150px;
  color: #fff;
  background-color: #5bc0de;
  border-color: #5bc0de;
}

.btn-export:hover,
.btn-export:focus,
.btn-export:active,
.btn-export.active,
.open > .dropdown-toggle.btn-export {
  color: #fff;
  background-color: #5bc0de;
  border-color: #5bc0de;
}

.btn-search {
  background-color: #015d6f;
  min-width: 150px;
  border-radius: 0;
  color: #fff;
}

.btn-search:hover {
  color: #fff;
}

div.form-controls > .btn-delete {
  color: #fff;
  background-color: #c92d42;
}

div.form-controls > .btn-cancel {
  border: 1px solid #c9c9c9;
}

div.form-controls > .btn:active {
  outline: none !important;
}

div.form-controls > .btn:focus {
  box-shadow: none !important;
  background-color: #015d6f;
  color: #fff;
}

/** MODALS **/

.modal .form-controls {
  box-shadow: none;
  min-width: 350px !important;
  background-color: #f0f0f0;
}

/** FORMS - LOCATIONS **/

div.wrapper-geolocation-map {
}

div.map-geolocation {
  height: 18vh !important;
  margin-bottom: 0.5rem;
}

input.places-search-box {
  margin-left: 5px !important;
}

/** FILTERS **/
.list-header {
  background-color: #015d6f;
  color: white;

  height: 75px;
  font-size: 1.3rem !important;
  margin-bottom: 10px;
  margin-left: -35px;
  overflow: hidden;

  z-index: 0;
}

.list-controls {
  padding-top: 10px;
  padding-bottom: 10px;
  color: white !important;
  background-color: #c9c9c9;
  overflow: hidden;

  text-align: center;

  z-index: 0;
}

.list-button {
  width: 100px;
  height: 40px;
  display: block;

  cursor: pointer;

  line-height: 40px;
  text-align: left;
  padding-left: 10px;
  font-weight: bold;

  float: left;

  margin: 0 15px;

  position: relative;

  color: white !important;
  text-decoration: none !important;

  background-color: #015d6f;

  overflow: hidden;
}

.list-button a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

.list-button .fa-bg {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 300% !important;
  z-index: 1;
}

.list-filters {
}

/** TABLES **/

.table > thead > tr {
  box-shadow: 1px 1px 1px #c9c9c9;
}

.table > thead > tr > th {
  color: #fff !important;
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #85868d !important;
  border-bottom: 0px !important;
  white-space: nowrap !important;
}

.table > thead > tr > th:first-child {
  border-radius: 0px 0px 0px 0px;
}

.table > thead > tr > th:last-child {
  border-radius: 0px 0px 0px 0px;
}

.table > tbody > tr:hover {
  background-color: #f0f0f0 !important;
}

.table > tbody > tr.table-head-separator {
  height: 10px !important;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #f0f0f0 !important;
}

.table > tbody > tr:nth-child(even) > td,
.table > tbody > tr:nth-child(even) > th {
  background: #fff;
}

.table > tbody > tr:nth-child(3) > td,
table > tbody > tr:nth-child(2) > td,
table > tbody > tr:nth-child(1) > td {
  border-top: 0px !important;
}

.table > tbody > tr:nth-child(odd) > td,
.table > tbody > tr:nth-child(odd) > th {
  background: #fff;
}

div.filters-header {
  margin-bottom: 0.5rem;
  background-color: #fff;
  position: relative;
  height: 70px;
}

.filters-special-actions {
  display: inline-block;
  float: right;
  padding: 1rem;
}

.table-filters {
  padding: 1rem;
  background-color: #f9f9f9;
  box-shadow: 1px 1px 3px #c9c9c9;
}

.table-controls {
  padding: 0.5rem 0;
}

.table-controls select#pageSize {
  display: inline-block;
  width: 75px;
}

.table-paginator .pagination {
  margin: 0px;
  border-radius: 0px;
}

.table-paginator .pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.table-paginator .pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.table-paginator .pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.table-paginator .pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background: #015d6f;
  color: #ffffff;
  border: 1px solid #ddd;
}

.table-paginator .pagination > li > a,
.pagination > li > span {
  color: #85868d;
}

.table-paginator dir-pagination-controls {
  float: right;
}

/** Programming Points List **/

.modal-videoplayer {
  width: max-content;
  max-width: 60vw;
  background-color: black !important;
}

.modal-videoplayer .modal-content {
  background-color: black !important;
}

.modal-videoplayer .viewport {
  border-radius: 0px !important;
}

/** POPOVER **/
.popover {
  max-width: 540px;
  border-radius: 0px;
  border: 2px solid #85868d;
}

.popover.bottom > .arrow {
  border-bottom-color: #85868d;
  border-bottom-color: rgba(133, 134, 141, 1);
}
.popover.top > .arrow {
  border-top-color: #85868d;
  border-top-color: rgba(133, 134, 141, 1);
}
.popover.left > .arrow {
  border-left-color: #85868d;
  border-left-color: rgba(133, 134, 141, 1);
}
.popover.right > .arrow {
  border-right-color: #85868d;
  border-right-color: rgba(133, 134, 141, 1);
}
.popover.bottom > .arrow:after {
  top: 3px;
}
.popover.top > .arrow:after {
  bottom: 3px;
}
.popover.left > .arrow:after {
  right: 3px;
}
.popover.right > .arrow:after {
  left: 3px;
}

.popover .form-block {
  box-shadow: none;
}
