.img-container {
  max-width: 100%;
}

.avatar-container {
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.avatar-container:before {
  padding-top: 100%;
  content: '';
  display: block;
}

.avatar-container img.width {
  width: 100% !important;
  height: auto !important;
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0px;
  right: 0px;
  margin: auto;
  display: block;
}

.avatar-container img.height {
  position: absolute;
  top: 0px;
  bottom: 0px;
  margin: auto;
  height: 100% !important;
  width: auto !important;
  left: -50%;
  right: -50%;
  display: block;
}

.error-container {
  max-width: 500px;
  margin: auto;
}

.error-container .title {
  font-size: 30px;
}

.error-container .message {
  margin: 50px 0px;
  font-size: 20px;
}

.normalForm .form-group > .field {
  position: absolute;
  width: 100%;
  z-index: 2;
  background-color: transparent;
  border: 0px;
  border-bottom: 2px solid #ccc;
  padding-left: 5px;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

table.status td:nth-last-child(2),
table.status th:nth-last-child(2) {
  width: auto;
  text-align: left;
}

/* Mapa Cobertura */

#cobertura {
  position: relative;
  margin-right: -15px;
  margin-left: -15px;
}

@media (min-width: 768px) {
  body.mapa #filterForm {
    position: absolute;
    top: 100px;
    left: 15px;
    opacity: 0.3;
    width: 340px;
  }

  body.mapa #filterForm:hover {
    opacity: 1;
  }
}

body.mapa #results {
  width: 340px;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px 0;
  position: absolute;
  top: 15px;
  left: 15px;
  opacity: 0.8;
  border-radius: 10px;
}

body.mapa #results .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 25%;
  border-right: 1px solid #ccc;
  font-weight: bold;
}

body.mapa #results .item .description {
  font-size: 8px;
  text-transform: uppercase;
}

body.mapa #results .item:last-child {
  border: none;
}

#mapaCobertura {
  background: #000 !important;
}

/* Fix mensaje de error con multiselect  */

.normalForm .form-group .multiselect-native-select {
  position: absolute;
  width: 100%;
}

.normalForm .form-group.error:before {
  z-index: 1;
}

/* Fix para los checkbox en los formularios */

.form-group-checkbox input[type='checkbox'] {
  width: auto;
  position: relative;
}

.form-group-checkbox label {
  position: relative;
  top: 0px;
  width: auto;
  font-size: inherit;
  color: inherit;
  display: inline;
  padding-left: 0;
}

/* Fix para los botones de alertify en modo confirm (Aplica solo para la vista de mantenedor de packings) */

.sbtn.inline {
  width: 48%;
  display: inline-block;
}

.modal-subtitle {
  margin-bottom: 30px;
}

.form-group.file {
  overflow: hidden;
}

.form-group.file input[type='file'] {
  left: -500px;
}

.form-group.file label.file-label {
  position: absolute;
  width: 100%;
  z-index: 2;
  background-color: transparent;
  border: 0px;
  border-bottom: 2px solid #ccc;
  padding-left: 5px;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
  top: 0px;
  color: inherit !important;
  font-size: inherit !important;
  left: 0px;
  cursor: pointer;
}

.form-group.file.focus label {
  color: inherit !important;
  font-size: inherit !important;
}

.form-group.file .loader {
  position: absolute;
  margin-left: 15px;
}

/**/

.table-clientes-mermas {
  margin-top: 15px;
}

.table-clientes-mermas tr td {
  color: #77ae40;
  font-weight: bold;
}

#tabla-programacionTecnicos span {
  margin-bottom: 10px;
}

#tabla-programacionTecnicos span.bold {
  font-weight: bold;
}

/* Ocultar sintaxis "mustache" "{{}}" de vue */
[v-cloak] {
  display: none;
}

/* Css for custom checkbox inside turno detalles */
.custom-checkbox {
  /* display: inline-block; */
  /* width: 20px;
  height: 19px;
  background: white;
  border-radius: 5px;
  border: 2px solid #555; */
}

.flex-container {
  display: flex;
  align-items: center;
}
.flex-container > *,
.flex-container .custom-checkbox {
  /* margin: 0; */
  margin-left: 10px;
}

/* end only demo styles */

.custom-checkbox,
.radio-custom {
  opacity: 0;
  position: absolute;
}

.custom-checkbox,
.custom-checkbox-label,
.radio-custom,
.radio-custom-label {
  display: inline-block;
  vertical-align: middle;
  margin: 5px;
  cursor: pointer;
}

.custom-checkbox-label,
.radio-custom-label {
  position: relative;
}

.custom-checkbox + .custom-checkbox-label:before,
.radio-custom + .radio-custom-label:before {
  content: '';
  background: #fff;
  border: 2px solid #337ab7;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  padding: 2px;
  margin-right: 10px;
  text-align: center;
  border-radius: 25%;
}

.custom-checkbox:checked + .custom-checkbox-label:before {
  background: #337ab7;
  box-shadow: inset 0px 0px 0px 2px #fff;
  border-radius: 25%;
}

.radio-custom + .radio-custom-label:before {
  border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
  background: #ccc;
  box-shadow: inset 0px 0px 0px 4px #fff;
}

.custom-checkbox:focus + .custom-checkbox-label,
.radio-custom:focus + .radio-custom-label {
  outline: 1px solid #ddd; /* focus style */
}
