/*
 * INDEX
 *
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

/********************************** ADMIN *****************************************/
.modal-body .container-fluid>header {
  margin-top: 0px;
}

body {
  overflow-x: hidden;
}

#header {
  border-bottom: 0px !important;
  -webkit-box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 0.75) !important;
  -moz-box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 0.75) !important;
  box-shadow: 0px 5px 10px -1px rgba(0, 0, 0, 0.75) !important;
}

#content {
  padding-top: 0px !important;
}

.builder {
  border: 1px dotted red;
  border-radius: 1rem;
}

.controls {
  background-color: rgba(86, 61, 124, .15);
  border-radius: 0 1rem 1rem 0;
}

.addrow {
  display: flex;
  flex-direction: row;
  height: 65px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: normal;
}

.deleteRow {
  float: right;
  position: absolute;
  right: 5px;
  font-size: 20px;
  color: red;
  font-weight: bold;
  padding: 0px 5px;
  background: transparent;
  border: none;
}

label.prc.select {
  width: 80%;
  float: left;
  margin-right: 5px;
}

.bootstrapWizard li.complete .step {
  padding: 7px 13px !important;
}

#finalizar {
  margin-bottom: 18px;
}

#notFound {
  width: 100%;
  text-align: center;
  top: 20vh;
  position: absolute;
  height: 50vh;
  font-size: 40px;
  color: #333;
  font-family: monospace;
  font-weight: bold;
}

.page-title {
  font-size: 22px !important;
}

.bg-color-blue,
.jarviswidget-color-blue,
.jarviswidget-color-blue>header {
  background-color: blue !important
}

.bg-color-blueLight,
.jarviswidget-color-blueLight,
.jarviswidget-color-blueLight>header {
  background-color: lightblue !important
}

.bg-color-blueDark,
.jarviswidget-color-blueDark,
.jarviswidget-color-blueDark>header {
  background-color: darkblue !important
}

.bg-color-green,
.jarviswidget-color-green,
.jarviswidget-color-green>header {
  background-color: #71a06a !important
}

.bg-color-greenLight,
.jarviswidget-color-greenLight,
.jarviswidget-color-greenLight>header {
  background-color: lightgreen !important
}

.bg-color-greenDark,
.jarviswidget-color-greenDark,
.jarviswidget-color-greenDark>header {
  background-color: darkgreen !important
}

.bg-color-red,
.jarviswidget-color-red,
.jarviswidget-color-red>header {
  background-color: red !important
}

.bg-color-yellow,
.jarviswidget-color-yellow,
.jarviswidget-color-yellow>header,
.jarviswidget-color-yellow>header i {
  background-color: yellow !important;
  color: #000 !important
}

.bg-color-orange,
.jarviswidget-color-orange,
.jarviswidget-color-orange>header {
  background-color: orange !important
}

.bg-color-orangeDark,
.jarviswidget-color-orangeDark,
.jarviswidget-color-orangeDark>header {
  background-color: darkorange !important
}

.bg-color-pink,
.jarviswidget-color-pink,
.jarviswidget-color-pink>header {
  background-color: pink !important
}

.bg-color-pinkDark,
.jarviswidget-color-pinkDark,
.jarviswidget-color-pinkDark>header {
  background-color: darkorchid !important
}

.bg-color-purple,
.jarviswidget-color-purple,
.jarviswidget-color-purple>header {
  background-color: purple !important
}

.bg-color-darken,
.jarviswidget-color-darken,
.jarviswidget-color-darken>header {
  background-color: darkslateblue !important
}

.bg-color-lighten,
.jarviswidget-color-lighten,
.jarviswidget-color-lighten>header {
  background-color: lightcyan !important
}

.bg-color-white,
.jarviswidget-color-white,
.jarviswidget-color-white>header {
  background-color: #fff !important
}

.bg-color-grayDark,
.jarviswidget-color-grayDark,
.jarviswidget-color-grayDark>header {
  background-color: darkgrey !important
}

.bg-color-magenta,
.jarviswidget-color-magenta,
.jarviswidget-color-magenta>header {
  background-color: magenta !important
}

.bg-color-teal,
.jarviswidget-color-teal,
.jarviswidget-color-teal>header {
  background-color: teal !important
}

.bg-color-redLight,
.jarviswidget-color-redLight,
.jarviswidget-color-redLight>header {
  background-color: lightcoral !important
}

/* files buttons group */
.filesBtnsGroup>div {
  right: 65px !important;
}

.filesBtnsGroup>span button {
  width: 28px !important;
}

.filesBtnsGroup>span {
  bottom: 3px;
}

.filesBtnsGroup input {
  display: inline-block;
  width: calc(100% - 60px) !important;
}

.filesBtnsGroup span,
.filesBtnsGroup input {
  display: inline-block !important;
}

.inactivo {
  color: red;
  font-weight: bold;
}

.help-block {
  color: red
}

.pagado {
  background-color: rgba(119, 187, 109, 0.62);
  color: whitesmoke;
}

.sinPagar {
  background-color: rgba(230, 75, 75, 0.65);
  color: whitesmoke;
}

.noVisible {
  text-align: center;
  color: palevioletred;
  font-size: 1.5rem;
}

.listOptions {
  min-height: 10rem;
}

.editText {
  margin-top: 2.5rem;
}

.actionButtons {
  display: flex;
  flex-direction: column;
}

.actionBtn {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
  margin: 0.5rem 0 0;
}

.actionBtn:first-child {
  margin-top: 2.5rem;
}

.buscarMapa {
  background-color: #71a06a;
  color: white !important;
  padding: 0px 10px;
  border-radius: 0px;
  border: 0px;
  margin-left: 10px;
}

.ui-datepicker {
  z-index: 999 !important;
}

#bootstrap-wizard-1 select {
  border: 1px solid #bdbdbd !important;
}

#datatable_formularios_length>label {
  float: right !important;
}
.truncate{
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

/********************************** CONSTRUCTOR *************************************/

label.prc.select {
  width: 80%;
  float: left;
  margin-right: 5px;
}

button.prc.save {
  padding: 10px 0;
}

#carga {
  text-align: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 100;
}

.smart-form .ui-widget-content .ui-spinner-input {
  height: 1.5rem;
}

.tutor {
  display: none;
}

.obliga {
  color: #f00000
}

/********************************** END CONSTRUCTOR *************************************/

/********************************** NEW FORM *************************************/
.selectPrames {
  width: calc(100% - 20px);
  font-weight: 400 !important;
}

.selectPrames select {
  width: 100%;
  padding: 5px 10px;
  height: 20px;
}

.divider {
  background: #bdbdbd;
  margin: 5px 15px;
  height: 1px;
}

.btnTypeDivider {
  width: 100%;
}

.btnTypeDivider .btn {
  width: 25%;
  height: 32px;
}

.popover-title {
  padding: 5px;
}

.popover-content {
  padding: 10px;
}

.elements {
  padding: 1rem 0.3rem;
}

.field {
  margin: 1px;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
}

#form_design .item_old {
  border: 1px dashed red;
  border: 1px dashed rgba(255, 0, 0, 0.3);
  border-radius: 5px;
  margin-bottom: 0.5rem;
  padding: 0;
  min-height: 60px;
}

#form_design .item {
  min-height: 60px;
  -webkit-box-shadow: inset 0px 0px 0px 10px #f9f8f8;
  -moz-box-shadow: inset 0px 0px 0px 10px #f9f8f8;
  box-shadow: inset 0px 0px 0px 10px #f9f8f8;
}

.action {
  margin-top: 1rem !important;
  text-align: center;
}

.element {
  font-size: 14px;
  border: 1px solid rgba(86, 61, 124, .2);
  border-radius: 5px;
  height: 38px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.element:hover {
  cursor: move;
}

.element i {
  font-size: 18px;
  margin-right: 1rem;
  margin-left: 13px;
}

#render {
  padding: 1rem 1.5rem;
  /* background-color: rgba(97, 124, 61, .2);*/
  border-radius: 1rem 0 0 1rem;
}

#resultados textarea {
  width: 100%;
  min-height: 300px;
}

.rulesDiv label {
  font-size: 13px;
  font-weight: 700;
}

.rulesDiv .row .item:hover {
  cursor: pointer;
  border: 1px solid #0bba3d;
  border-radius: 10px;
  background: #efeeee;
}

label.info {
  width: 100%;
}

label.info textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #0bba3d;
  border-radius: 10px;
  background: #f2fff8;
  text-indent: 10px;
  resize: none;
}

.apuModule .header {
  background-color: rgb(113, 160, 106);
}

.header {
  display: flex;
  background-color: rgb(92, 176, 239);
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  border-radius: 5px 5px 0 0;
  height: 26px;
  padding-right: 5px;
}

.header span {
  margin-left: 3px;
  width: 28px;
  z-index: 777;
  border-radius: 1px;
  background-color: rgba(86, 61, 124, .6);
  color: whitesmoke;
}

.header span:hover {
  cursor: pointer;
  background-color: rgba(86, 61, 124, 1);
}

.header span:first-child {
  flex: 1 1 auto;
  background-color: rgba(0, 0, 0, 0);
}

.header span:first-child:hover {
  cursor: auto;
  background-color: rgba(0, 0, 0, 0);
}

.content,
.editor {
  margin: 0.5rem 0;
  padding: 0 1rem;
}

.note-toolbar {
  width: calc(100% - 5px) !important;
}

.miSummernote .modal-dialog {
  margin: auto;
  margin-top: 10%;
}

.miSummernote .modal-header {
  padding: 10px;
}

.miSummernote .modal-body {
  height: 120px;
  padding: 20px;
}

.miSummernote .modal-footer {
  padding: 10px;
}

.miSummernote .note-group-image-url {
  margin-top: 10px;
}

.miSummernote .note-group-image-url {
  overflow: hidden !important;
}

.miSummernote .modal-footer button {
  min-width: 120px !important;
  padding: 5px 20px !important;
}

.btn-label {
  left: 0;
}

.optionElements .btn-circle,
.optionElements .btn-square {
  margin: 0 5px;
  outline: none;
}

.btn-circle input[type="radio"],
.btn-square input[type="checkbox"] {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn-circle,
.btn-square {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
  border: 1px solid lightgray;
}

.btn-square {
  border-radius: 8px;
}

.btn-circle.btn-lg,
.btn-square.btn-lg {
  width: 50px;
  height: 50px;
  padding: 13px 13px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 25px;
}

.btn-square.btn-lg {
  border-radius: 12px;
}

.btn-circle.btn-md,
.btn-square.btn-md {
  width: 36px;
  height: 36px;
  padding: 7px 7px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 18px;
}

.btn-square.btn-md {
  border-radius: 10px;
}

.btn-circle.btn-sm,
.btn-square.btn-sm {
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 14px;
  line-height: 1.33;
  border-radius: 10px;
  outline: none;
}

.btn-square.btn-sm {
  border-radius: 5px;
}

.btn-circle.btn-sm:focus {
  outline: none
}

.btn-circle.btn-lg.active,
.btn-circle.btn-md.active,
.btn-circle.btn-sm.active,
.btn-square.active {
  /*background-color: rgba(232,76,22,0.6);*/
  background-color: rgba(1, 180, 97, 0.6);
}

.btn-circle.btn-lg.inActive,
.btn-circle.btn-md.inActive,
.btn-circle.btn-sm.inActive,
.btn-square.inActive {
  background-color: rgba(232, 76, 22, 0.6);
}

.btnSmall {
  padding: 0 10px;
}

.layoutbtns {
  padding: 10px 14px 0px;
  width: calc(100% - 28px);
}

.fa-info-circle {
  border: 0px !important;
}

#toolsContainer {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}
#toolsContainer::-webkit-scrollbar {
  width: 6px;
}
#toolsContainer::-webkit-scrollbar-track {
  background: #f0f0f0;
}

#toolsContainer::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

#toolsContainer .element {
  margin-bottom: 10px;
}

#toolsContainer header h2 {
  float: initial;
  width: calc(100% - 50px);
}

#dropdown button {
  margin-left: 10px;
}

#dropdown i {
  padding: 0 10px;
}

#dropdown .dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

#dropdown .dropdown-item {
  display: block;
  padding: 0.25rem 1.5rem;
  clear: both;
  height: 22px;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

#dropdown a {
  text-decoration: none;
}

#dropdown a:hover {
  background-color: #efeeee;
}

.dropdownHR {
  margin: 5px 0;
}

.tableModal {
  width: 90%;
  margin-left: 5%;
}

.tableModal td {
  padding: 3px;
}

.tableModal tr {
  border-bottom: 1px solid #cdcccc;
}

.tableModal thead {
  background-color: #bebebe;
}

/********************************** END NEW FORM *************************************/
/********************************** ROW BUTTONS *************************************/
#form_design .widget-body {
  margin-right: -10px !important;
}

#renderContainer header {
  border-bottom: 1px solid #c2c2c2;
}

#render {
  padding-right: 0px !important;
}

#render .content {
  background: #fff;
}

#render .row {
  padding-right: 25px;
}

#render input {
  text-indent: 10px;
  font-size: 12px;
}

#render .row:not(:hover) .rowButtons,
#render .row:not(:hover) .rowButtonsBox {
  display: none
}

#render .rowButtonsBox {
  border: 1px solid blue;
  margin: 2px 0px 0px 1px;
  position: absolute;
  height: 90px;
  border-radius: 7px 3px 3px 3px;
  width: calc(100% - 14px);
  z-index: 9;
}

#render .rowButtons {
  position: absolute;
  z-index: 666;
  left: 100%;
  margin-left: 3px;
  height: 100%;
  width: 30px;
}

#render .rowButtons button {
  background: transparent;
  border: none;
}

#render .btnMove,
#render .btnCopy,
#render .btnDelete {
  width: 14px;
  height: 18px;
  border: 1px solid #616574;
  top: 0px;
  left: 100%;
  background: #71a06a;
  font-size: 14px;
  text-align: center;
  color: #fff;
  line-height: 17px;
}

#render .btnMove {
  border-radius: 0px 3px 0px 0px;
}

#render .btnCopy {
  border-top: 0px;
  border-bottom: 0px;
}

#render .btnDelete {
  background: red;
  border-radius: 0px 0px 3px 0px;
}

#render .btnMove:hover,
#render .btnCopy:hover {
  background: #537d4d;
}

#render .btnDelete:hover {
  background: #b20808;
}

.rowOver {
  width: 27px;
  height: 90px;
  position: absolute;
  z-index: 9;
  right: -20px;
  background: #ffffff00;
}

/********************************** END ROW BUTTONS *************************************/
/********************************** LOGIN *************************************/
#loginMain {
  background: #f0f1f1;
  margin-top: 40vh;
}

#fieldsGroup {
  display: grid;
}

#fieldsGroup input {
  padding: 0px 10px;
}

#divSubmit {
  vertical-align: top;
  width: 100%;
}

#divSubmit button {
  width: 60px;
  float: right;
}

.lockscreen {
  height: 250px;
  left: 50%;
  margin-left: -239px;
  margin-top: -185px;
  position: absolute;
  top: 50%;
  width: 478px;
}

.lockscreen #userIcon {
  font-size: 120px;
  float: left;
  vertical-align: middle;
  padding: 16px;
  color: #71a06a;
}

.lockscreen #loginFields {
  background: #FFF;
  box-shadow: -31px 32px 53px rgba(0, 0, 0, .2);
  overflow: hidden;
  padding: 13px;
  position: relative;
}

#loginMain .error,
.error {
  color: red !important;
}

#loginForm .input-group {
  margin-bottom: 10px;
}

.dz-preview .dz-progress {
  display: none;
}

.dz-preview .dz-details {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

#preciosFamInputs input {
  text-indent: 10px;
}

/********************************** END LOGIN *************************************/
/********************************** INSCRITOS *************************************/

.NameDetails {
  display: inline-block;
  min-width: 100px;
  font-weight: bold;
}

/********************************** END INSCRITOS *************************************/
.borLef1pxCCC {
  border-left: 1px #CCCCCC
}

.bold {
  font-weight: bold !important;
}

.texAliCen {
  text-align: center !important;
}

.disInlBlo {
  display: inline-block !important;
}

.curPoi {
  cursor: pointer !important;
}

.wid100 {
  width: 100% !important;
}

.wid50 {
  width: 50% !important;
}

.maxWid200 {
  max-width: 200px !important;
}

.floRig {
  float: right !important;
}

.pad0px {
  padding: 0px !important;
}

.pad10px {
  padding: 10px !important;
}

.padLef5px {
  padding-left: 5px !important;
}

.padLef10px {
  padding-left: 10px !important;
}

.padRig5px {
  padding-right: 5px !important;
}

.padRig10px {
  padding-right: 10px !important;
}

.pad15px {
  padding: 15px !important;
}

.pad0px15px {
  padding: 0px 15px !important;
}

.mar0aut {
  margin: 0 auto;
}

.padTop0px {
  padding-top: 0px !important;
}

.inv,
.hidden {
  display: none !important;
}

.oculto {
  display: none;
}

.hei32px {
  height: 32px !important;
}

.fieldWithLogic label {
  color: #0050ff;
}

#myModal .modal-dialog {
  margin: 30px auto;
}

#myModal .modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

#myModal .modal-header .modal-field-label {
  font-weight: bold;
  font-style: italic;
  font-size: 19px;
}

#myModal .modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

#coapaModal>div {
  min-width: 800px;
}

#coapaModal select {
  height: 32px;
}

.bigModal .modal-dialog{
  width: 800px!important;
}

/********************************** media queries *************************************/

@media all and (max-width: 991px) {
  .product-image img {
    max-height: 200px;
  }
}

@media all and (max-width: 768px) {
  #logo {
    display: none !important;
  }

  header h1 {
    margin-left: 10px !important;
  }
}

@media all and (max-width: 600px) {
  #logo {
    display: none !important;
  }

  header h1 {
    margin-left: 10px !important;
    font-size: 20px !important;
  }
}

/********************************** tour guiado (driver.js) *************************************/

#btnHelpTour {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  height: 100%;
  position: relative;
  top: 5px;
}

#btnHelpTour .helpTourIcon {
  font-size: 18px;
  padding-right: 5px;
  color: #46773e;
  opacity: 0.7;
  transition: opacity 0.15s ease, color 0.15s ease;
}

#btnHelpTour:hover .helpTourIcon {
  opacity: 1;
  color: #3276b1;
}

/********************************** tooltips summernote *************************************/
/* .smart-form .tooltip fija opacity:0 (para su propio tooltip de validación de campos) y con
   igual especificidad que .tooltip.in gana por orden de carga, ocultando los tooltips normales
   de Bootstrap dentro de un .smart-form (p.ej. los botones del editor summernote). */

.smart-form .note-editor .tooltip.in {
  opacity: 0.9;
}

/********************************** modales summernote *************************************/
/* Bootstrap 3 solo ancla los modales a 30px del top (no los centra verticalmente), lo que en
   pantallas altas hace que el diálogo de enlace/video/ayuda de summernote quede pegado arriba. */

.note-modal.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.note-modal .modal-dialog {
  margin: 0;
  max-height: 90vh;
  overflow-y: auto;
}

/* .smart-form .checkbox input oculta el input nativo fuera de pantalla (left:-9999px) y dibuja
   un cuadrito falso con :after sobre un <i> hermano. El checkbox del diálogo de enlace de
   summernote no tiene ese <i>, así que queda invisible: se restaura como checkbox nativo. */
.note-modal .checkbox input[type=checkbox] {
  position: static;
  left: auto;
  margin-right: 6px;
  vertical-align: middle;
}

.note-modal .note-form-control {
  text-indent: 8px;
}
