/* Font size */
.font-small {
  font-size: 0.7rem;
}
body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Header */
main > header {
  background: linear-gradient(#f5f6fa 0, #f5f6fa 180px, #f5f6fa calc(100% - 150px), #fff calc(100% - 150px));
  padding: 10px 0;
}
main > header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Main */
body > main {
  padding-bottom: 100px;
}

/* Footer */
body > footer {
  height: 80px;
  position: absolute;
  background: linear-gradient(#f5f6fa 0, #f5f6fa 180px, #f5f6fa calc(100% - 150px), #fff calc(100% - 150px));
  bottom: 0;
  left: 0;
  right: 0;
}
body > footer p {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* loading */
.loading {
  position: absolute;
  top: 45%;
  left: 45%;
}

/* Loging */
body.login-body {
    background: #059cd8;
    padding-top: 83px;
    width: 360px;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}
body.login-body .logo {
    width: 300px;
    margin-bottom: 2rem;
}
body.login-body .form {
    background: #fff;
    padding: 45px;
    text-align: center;
}
body.login-body .card-header {
    background-color: #059cd8;
}
body.login-body .card {
  box-shadow: none;
  border: none;
}
body.login-body .card-body {
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}
/* Botones */
.btn-rounded  {
  -webkit-border-radius: 10em;
  border-radius: 10em; 
}
footer .row {
  width: 100%;
}
/* Snapshot */
.snapshot-card .card-body {
  padding: 10px;
}
.snapshot-card .card-title {
  font-size: 14px;
}
/* Species Config */
#species-list input[type="color"], #species_bats-list input[type="color"] {
  width: 48px;
}
/* Modals */
@media (max-width: 1400px) {
  #modal-video .modal-dialog.modal-left {
    position: initial;
    max-width: none;
    margin: .5rem;
    width: auto;
    height: auto;
    min-height: auto;
  }
  #modal-video .modal-dialog.modal-right {
    position: initial;
    max-width: none;
    margin: .5rem;
    width: auto;
    height: auto;
    min-height: auto;
  }
}

/* Video */
video::-webkit-media-controls-panel {
  background-image: linear-gradient(transparent, transparent) !important;}


#main-nav {
  font-size: 14px;
  border-top: 5px solid #059cd8;
  border-bottom: 2px solid #f1f2f6;
  box-shadow: none;
}
.nav-link {
  color: #666;
}
#main-nav .navbar-brand {
  position: relative;
  top: -8px;
}
#main-nav .navbar-brand {
  padding-right: 30px;
}

.installation-selector {
    width: 150px;
}
.navbar .dropdown-menu a {
  color: rgba(0, 0, 0, 0.7);
}

/* Loading Page */
#loading-page {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(255,255,255,0.8);
}

/* Filter */
#filters {
  margin-top: 30px;
  margin-bottom: 30px;
}
#filters .select2 {
  width:100%;
}
#filters .md-form {
  margin: 0;
}
#filters .md-form .form-control {
  margin: 0;
  font-size: 14px;
}
#advance-search_open {
  font-size: 12px;
  text-decoration: underline;
}

/* Table Flights/ Bats */
/* Hide linked */
#flight-table .hide-linked:not(.show) {
  display: none;
}

.detections-stop {
  background-color: #FCC;
}
.main-table {
  text-align: center;
}


.main-table th, .main-table td {
  font-size: 13px;
}
.main-table tr.sub-table {
  background-color: rgba(0,0,0,.075);
}

.main-table .ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100px;
  display: inline-block;
}

/* Inputs */
input.form-control[type="color"] {
  height: calc(1.5em + .75rem + 2px);
  border: none !important;
}
input.form-control[type="color"] {
  cursor: pointer;
  width: 45px;
}
    



/* Footer */
footer {
  justify-content: center;
  display: flex;
  position: relative;}
  footer ul.pagination { 
    margin-top: 10px; 
    margin-bottom: 0px; }
#number-objects {
  position: relative;
  font-size: 13px;
  right: 0;
  top: 8px;}
#chooseDownload i {
  font-size: 24px;
}
#show-linked i{
  font-size: 20px;
}
#chooseDownload {
  position: relative;
  left: 0;
  top: 8px;}

/* Modal Collision*/
#modal-collision b, #modal-collision-nd b {
  font-weight: 900;
}
/* Modal Videos*/
#modal-video .embed-responsive-4by3 {
  max-width: 800px;
}
#modal-video .embed-responsive {
    margin-bottom: 20px !important;
    overflow: visible;
}
#modal-video #download-video {
    bottom: -30px;
    position: absolute;
    right: 0;
}



/* Camera Select */
td.td-cameras {
  vertical-align: middle;
  width: 60px;

}

.modal-camera-open .camera {
  background-color: #fff;
  color: #b1b1b1;
  margin: 1px;
  width: 12px;
  height: 12px;
  line-height: 12px;
  border-color: #b1b1b1;
  border-width: 1px;
  border-style: solid;
  font-size: 10px;
}
.modal-camera-open .camera.detection {
  background-color: #b1b1b1;
  color: #fff;
}




#modal-video .wtg-cameras {
    padding: 8px 17px;
    margin: 0 20px;
    width: 140px;
}
#modal-video .camera-group {
  width: 64px;
}
#modal-video .camera {
  background: #eeeeee;
  text-align: left;
  float: left;
  width: 30px;
  height: 30px;
  font-weight: 700;
  line-height: 30px;
  font-size: 11px;
  margin: 1px;
  color: #fff;
  position: relative;
  z-index: 2;
}
#modal-video .camera:hover {
    background: #bdbdbd;
}
#modal-video .camera:before {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 700;
    content: "\f03d";
    position: absolute;
    left: 4px;
    font-size: 19px;
    color: #616161;
    z-index: 1;
}
#modal-video .camera:before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 700;
  position: absolute;
  left: 5px;
  z-index: 1;
}
#modal-video .camera:empty:before {
  content: none;
}
#modal-video .camera:empty,
#modal-video .camera:empty:hover {
    background: transparent;
    border: 1px solid #bdbdbd;
}
#modal-video .camera a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: inherit;
  z-index: 2;
  padding-left: 8px;
  padding-top: 1px;
}
#modal-video .camera.detection {
    border: 1px solid #f44336;
    padding-top: 0px;
}
#modal-video .camera.selected {
    background: #424242;
    color: #424242;
}
#modal-video .camera.selected:hover {
    background: #212121;
}
#modal-video .camera.selected:before {
    color: #eee;
}
#modal-video .union a{
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}
#modal-video .union {
    color: #616161;
}
#modal-video .union:hover {
    color: #424242;
}
#modal-video .union.disabled,
#modal-video .union.disabled:hover {
    color: #e0e0e0;
}
#modal-video .union.selected {
  color: #212121;
}

/* Print */
#print-area .page {
  page-break-after: always;
  /*page-break-before: avoid;
  page-break-inside: avoid;*/
}
body.report .report_content h1 {
  text-align: center;
  font-size: 1.6rem;
}
body.report .report_content h2 {
  margin: 0;
}
body.report .report_content .margin {
  margin-top: 30px;
}
body.report .report_content .tab {
  margin-left: 30px;
}
body.report .report_content .tab2 {
  margin-left: 40px;
}
body.report .report_content .apartado {
  page-break-after: always;
  /*page-break-before: avoid;
  page-break-inside: avoid;*/
}
body.report .report_content td, body.report .report_content th {
  border: solid 1px;
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}
body.report .report_content th {
  background-color: #E6E6E6;
}
body.report .report_content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  margin-top: 30px;
}
body.report .report_content canvas {
  margin-top: 50px;
  width: 100%;
}
/* Control Manager */
body.control-manager .md-v-line {
  position: absolute;
  border-left: 1px solid rgba(0, 0, 0, .125);
  top: 0px;
  bottom: 0px;
  left: 54px;
}
body.control-manager .list-group-item {
  margin-bottom: -2px;
}
body.control-manager i span {
  font-weight: bold;
  font-family: "Roboto";
}
body.control-manager .title {
  font-weight: bold;
}

body.control-manager .list-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold; 
}



/* Select2 CSS */
/**
 * Multiple Select2
 */
.select2-container--material {
  width: 100%;
  /**
   * Textbox
   */
  /**
   * Dropdown
   */
  /**
   * Options
   */
  /**
   * Focused textbox
   */
  /**
   * Disabled textbox
   */
}
.select2-container--material ::-webkit-input-placeholder {
  color: inherit;
}
.select2-container--material :-ms-input-placeholder {
  color: inherit;
}
.select2-container--material ::-ms-input-placeholder {
  color: inherit;
}
.select2-container--material ::placeholder {
  color: inherit;
}
.select2-container--material .select2-selection {
  /* @extend input */
  overflow: visible;
  font: inherit;
  touch-action: manipulation;
  margin: 0;
  line-height: inherit;
  border-radius: 0;
  box-sizing: inherit;
  /* @extend .form-control */
  display: block;
  width: 100%;
  color: #55595c;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: .5rem 0 .6rem;
  font-size: 1rem;
  line-height: 1.5;
  background-color: transparent;
  background-image: none;
  border-radius: 0;
  /* margin-top: .2rem;
  margin-bottom: 1rem;
   @extend input[type=text] */
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  outline: 0;
  width: 100%;
  font-size: 1rem;
  box-shadow: none;
  transition: all .3s;
  min-height: 2.1rem;
}
.select2-container--material .select2-selection .select2-selection__rendered {
  padding-left: 0;
  margin: 0;
  font-size: 14px;
}
.select2-container--material .select2-selection--single .select2-selection__rendered {
  float: left;
}
.select2-container--material .select2-selection--single .select2-selection__arrow {
  float: right;
}
.select2-container--material .select2-selection--multiple {
  padding-bottom: 0px;
  padding-top: 0px;
  margin-top: -6px;
}
.select2-container--material .select2-selection--multiple .select2-selection__rendered {
  width: 100%;
}
.select2-container--material .select2-selection--multiple .select2-selection__rendered li {
  list-style: none;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice {
  /* @extend .mdl-chip */
  height: 20px;
  line-height: 20px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background-color: #dedede;
  display: inline-block;
  color: rgba(0, 0, 0, 0.87);
  white-space: nowrap;
  /* @extend .mdl-chip__text */
  font-size: 13px;
  vertical-align: middle;
  display: inline-block;
  float: left;
  margin-right: 8px;
  margin-bottom: 0;
  margin-top: 13px;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove {
  /* Hide default content */
  font-size: 0;
  opacity: 0.38;
  cursor: pointer;
  float: right;
  margin-top: 4px;
  margin-right: -6px;
  margin-left: 6px;
  transition: opacity;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove::before {
  content: "\f057";
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  color: #000;
  position: relative;
  top: 1px;
}
.select2-container--material .select2-selection--multiple .select2-selection__choice__remove:hover {
  opacity: 0.54;
}
.select2-container--material .select2-selection--multiple input[type=search]:focus:not([readonly]) {
  border-bottom: none;
}
.select2-container--material .select2-search--inline .select2-search__field {
  width: 100%;
  margin-top: 0;
  /* Match input[type=text] */
  height: 24px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  margin-top: 9px;
}
.select2-container--material .select2-dropdown {
  border: 0;
}
.select2-container--material .select2-dropdown .select2-search__field {
  min-height: 2.1rem;
  margin-bottom: 16px;
  border: 0;
  border-bottom: 1px solid #ccc;
  transition: all .3s;
}
.select2-container--material .select2-dropdown .select2-search__field:focus {
  border-bottom: 1px solid #4285f4;
  box-shadow: 0 1px 0 0 #4585f4;
}
.select2-container--material .select2-results__options {
  /* @extend .zf-shadow-depth* */
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  /* @extend .dropdown-content */
  background-color: #fff;
  margin: 0;
  min-width: 100px;
  max-height: 650px;
  overflow-y: auto;
  z-index: 999;
  will-change: width,height;
  /* @extend .dropdown-content inline styles */
}
.select2-container--material .select2-results__option {
  /* @extend .dropdown-content li */
  cursor: pointer;
  clear: both;
  color: rgba(0, 0, 0, 0.87);
  line-height: 1.5rem;
  text-align: left;
  text-transform: none;
  /* @extend .dropdown-content li>a, .dropdown-content li>span */
  display: block;
  font-size: 14px;
  padding: 2.5px 5px;
  /**
   * Disabled options
   */
  /**
   * Selected option
   */
  /**
   * Active/hovered option
   */
}
.select2-container--material .select2-results__option[aria-disabled=true] {
  /* @extend .select-dropdown li.disabled */
  color: rgba(0, 0, 0, 0.3);
  background-color: transparent !important;
  cursor: context-menu;
  /* @extend .disabled */
  cursor: not-allowed;
}
.select2-container--material .select2-results__option[aria-selected=true] {
  /* @extend .dropdown-content li:active, .dropdow-content li:hover */
  color: #4285f4;
  background-color: #eee;
}
.select2-container--material .select2-results__option--highlighted[aria-selected] {
  background-color: #ddd;
}
.select2-container--material.select2-container--focus .select2-selection {
  /* @extend input[type=text]:focus */
  border-bottom: 1px solid #4285f4;
  box-shadow: 0 1px 0 0 #4585f4;
}
.select2-container--material.select2-container--disabled .select2-selection {
  /* @extend .select-wrapper input.select-dropdown:disabled */
  color: rgba(0, 0, 0, 0.3);
  cursor: default;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.select2-container--material.select2-container--disabled.select2-container--focus .select2-selection {
  box-shadow: none;
}



/* Extra btn-floating */

.btn-floating .fa-lg {
    font-size: 1.33333em!important
}

.btn-floating .fa-xs {
    font-size: .75em!important
}

.btn-floating .fa-sm {
    font-size: .875em!important
}

.btn-floating .fa-1x {
    font-size: 1em!important
}

.btn-floating .fa-2x {
    font-size: 2em!important
}

.btn-floating .fa-3x {
    font-size: 3em!important
}

.btn-floating .fa-4x {
    font-size: 4em!important
}

.btn-floating .fa-5x {
    font-size: 5em!important
}

.btn-floating .fa-6x {
    font-size: 6em!important
}

.btn-floating .fa-7x {
    font-size: 7em!important
}

.btn-floating .fa-8x {
    font-size: 8em!important
}

.btn-floating .fa-9x {
    font-size: 9em!important
}

.btn-floating .fa-10x {
    font-size: 10em!important
}

.btn-floating {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
    width: 47px;
    height: 47px;
    position: relative;
    z-index: 1;
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    transition: all .2s ease-in-out;
    margin: 10px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer
}

.btn-floating i {
    font-size: 1.25rem;
    line-height: 47px
}

.btn-floating i {
    display: inline-block;
    width: inherit;
    text-align: center;
    color: #fff
}

.btn-floating:hover {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
}

.btn-floating:before {
    border-radius: 0
}

.btn-floating.btn-sm {
    width: 36.15385px;
    height: 36.15385px
}

.btn-floating.btn-sm i {
    font-size: .96154rem;
    line-height: 36.15385px
}

.btn-floating.btn-lg {
    width: 61.1px;
    height: 61.1px
}

.btn-floating.btn-lg i {
    font-size: 1.625rem;
    line-height: 61.1px
}

.fixed-action-btn ul a.btn-floating {
    opacity: 0;
    transition-duration: .4s;
    transform: scale(.4) translate(0)
}

.fixed-action-btn ul a.btn-floating.shown {
    transform: scale(1) translate(0);
    opacity: 1
}

.card.card-cascade .view.view-cascade.gradient-card-header .btn-floating {
    background-color: rgba(255, 255, 255, .2)
}

.carousel-multi-item .controls-top .btn-floating {
    background: #4285f4
}

.btn-floating.btn-flat {
    color: #fff;
    padding: 0;
    background: #4285f4
}

.btn-floating.btn-flat:hover {
    box-shadow: none
}

.btn-floating.btn-flat:focus,
.btn-floating.btn-flat:hover {
    background-color: #5a95f5!important
}

.btn-floating.btn-flat.active {
    background-color: #0b51c5!important;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15)
}

.contact-section .form .btn-floating {
    position: relative;
    bottom: 3rem;
    float: right;
    margin-right: 0
}
/* cards */
.card.images {
  width: 700px;
  margin: auto;
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem
}

.card>hr {
  margin-right: 0;
  margin-left: 0
}

.card>.list-group:first-child .list-group-item:first-child {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem
}

.card>.list-group:last-child .list-group-item:last-child {
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem
}

.card-title {
  margin-bottom: .75rem
}

.card-subtitle {
  margin-top: -.375rem;
  margin-bottom: 0
}

.card-text:last-child {
  margin-bottom: 0
}

.card-link:hover {
  text-decoration: none
}

.card-link+.card-link {
  margin-left: 1.25rem
}

.card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, .03);
  border-bottom: 1px solid rgba(0, 0, 0, .125)
}

.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

.card-header+.list-group .list-group-item:first-child {
  border-top: 0
}

.card-footer {
  padding: .75rem 1.25rem;
  background-color: rgba(0, 0, 0, .03);
  border-top: 1px solid rgba(0, 0, 0, .125)
}

.card-footer:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
}

.card-header-tabs {
  margin-right: -.625rem;
  margin-bottom: -.75rem;
  margin-left: -.625rem;
  border-bottom: 0
}

.card-header-pills {
  margin-right: -.625rem;
  margin-left: -.625rem
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem
}

.card-img {
  width: 100%;
  border-radius: calc(.25rem - 1px)
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px)
}

.card-img-bottom {
  width: 100%;
  border-bottom-right-radius: calc(.25rem - 1px);
  border-bottom-left-radius: calc(.25rem - 1px)
}

.card-deck {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column
}

.card-deck .card {
  margin-bottom: 15px
}

@media (min-width:576px) {
  .card-deck {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px
  }
  .card-deck .card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px
  }
}

.card-group {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column
}

.card-group>.card {
  margin-bottom: 15px
}

@media (min-width:576px) {
  .card-group {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap
  }
  .card-group>.card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0
  }
  .card-group>.card+.card {
    margin-left: 0;
    border-left: 0
  }
  .card-group>.card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
  }
  .card-group>.card:not(:last-child) .card-header,
  .card-group>.card:not(:last-child) .card-img-top {
    border-top-right-radius: 0
  }
  .card-group>.card:not(:last-child) .card-footer,
  .card-group>.card:not(:last-child) .card-img-bottom {
    border-bottom-right-radius: 0
  }
  .card-group>.card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
  }
  .card-group>.card:not(:first-child) .card-header,
  .card-group>.card:not(:first-child) .card-img-top {
    border-top-left-radius: 0
  }
  .card-group>.card:not(:first-child) .card-footer,
  .card-group>.card:not(:first-child) .card-img-bottom {
    border-bottom-left-radius: 0
  }
}

.card-columns .card {
  margin-bottom: .75rem
}

@media (min-width:576px) {
  .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1
  }
  .card-columns .card {
    display: inline-block;
    width: 100%
  }
}

.accordion>.card {
  overflow: hidden
}

.accordion>.card:not(:first-of-type) .card-header:first-child {
  border-radius: 0
}

.accordion>.card:not(:first-of-type):not(:last-of-type) {
  border-bottom: 0;
  border-radius: 0
}

.accordion>.card:first-of-type {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0
}

.accordion>.card:last-of-type {
  border-top-left-radius: 0;
  border-top-right-radius: 0
}

.accordion>.card .card-header {
  margin-bottom: -1px
}
/* switch */
.switch label {
  cursor: pointer
}

.switch label input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0
}

.switch label input[type=checkbox]:checked+.lever {
  background-color: #dccfe2
}

.switch label input[type=checkbox]:checked+.lever:after {
  background-color: #a6c;
  left: 1.5rem
}

.switch label input[type=checkbox]:checked:not(:disabled)~.lever:active:after {
  box-shadow: 0 .0625rem .1875rem .0625rem rgba(0, 0, 0, .4), 0 0 0 .9375rem rgba(170, 102, 204, .1)
}

.switch label input[type=checkbox]:not(:disabled)~.lever:active:after {
  box-shadow: 0 .0625rem .1875rem .0625rem rgba(0, 0, 0, .4), 0 0 0 .9375rem rgba(0, 0, 0, .08)
}

.switch label input[type=checkbox]:disabled+.lever {
  cursor: default
}

.switch label input[type=checkbox]:disabled+.lever:after,
.switch label input[type=checkbox]:disabled:checked+.lever:after {
  background-color: #bdbdbd
}

.switch label .lever {
  content: "";
  display: inline-block;
  position: relative;
  background-color: #818181;
  border-radius: .9375rem;
  margin-right: .625rem;
  vertical-align: middle;
  margin: 0 1rem;
  width: 2.5rem;
  height: .9375rem;
  transition: background .3s ease
}

.switch label .lever:after {
  content: "";
  position: absolute;
  display: inline-block;
  background-color: #f1f1f1;
  border-radius: 1.3125rem;
  left: -.3125rem;
  top: -.1875rem;
  box-shadow: 0 .0625rem .1875rem .0625rem rgba(0, 0, 0, .4);
  width: 1.3125rem;
  height: 1.3125rem;
  transition: left .3s ease, background .3s ease, box-shadow 1s ease
}
/* radio */
[type=radio]:checked,
[type=radio]:not(:checked) {
  position: absolute;
  opacity: 0;
  pointer-events: none
}
.form-check-input[type=radio]:checked+label,
.form-check-input[type=radio]:not(:checked)+label,
label.btn input[type=radio]:checked+label,
label.btn input[type=radio]:not(:checked)+label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  display: inline-block;
  height: 1.5625rem;
  line-height: 1.5625rem;
  transition: .28s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.form-check-input[type=radio]+label:after,
.form-check-input[type=radio]+label:before,
label.btn input[type=radio]+label:after,
label.btn input[type=radio]+label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 4px;
  width: 16px;
  height: 16px;
  z-index: 0;
  transition: .28s ease
}

.form-check-input[type=radio].with-gap:checked+label:after,
.form-check-input[type=radio].with-gap:checked+label:before,
.form-check-input[type=radio]:checked+label:after,
.form-check-input[type=radio]:checked+label:before,
.form-check-input[type=radio]:not(:checked)+label:after,
.form-check-input[type=radio]:not(:checked)+label:before,
label.btn input[type=radio].with-gap:checked+label:after,
label.btn input[type=radio].with-gap:checked+label:before,
label.btn input[type=radio]:checked+label:after,
label.btn input[type=radio]:checked+label:before,
label.btn input[type=radio]:not(:checked)+label:after,
label.btn input[type=radio]:not(:checked)+label:before {
  border-radius: 50%
}

.form-check-input[type=radio]:not(:checked)+label:after,
.form-check-input[type=radio]:not(:checked)+label:before,
label.btn input[type=radio]:not(:checked)+label:after,
label.btn input[type=radio]:not(:checked)+label:before {
  border: 2px solid #5a5a5a
}

.form-check-input[type=radio]:not(:checked)+label:after,
label.btn input[type=radio]:not(:checked)+label:after {
  transform: scale(0)
}

.form-check-input[type=radio]:checked+label:before,
label.btn input[type=radio]:checked+label:before {
  border: 2px solid transparent
}

.form-check-input[type=radio].with-gap:checked+label:after,
.form-check-input[type=radio].with-gap:checked+label:before,
.form-check-input[type=radio]:checked+label:after,
label.btn input[type=radio].with-gap:checked+label:after,
label.btn input[type=radio].with-gap:checked+label:before,
label.btn input[type=radio]:checked+label:after {
  border: 2px solid #4285f4
}

.form-check-input[type=radio].with-gap:checked+label:after,
.form-check-input[type=radio]:checked+label:after,
label.btn input[type=radio].with-gap:checked+label:after,
label.btn input[type=radio]:checked+label:after {
  background-color: #4285f4
}

.form-check-input[type=radio]:checked+label:after,
label.btn input[type=radio]:checked+label:after {
  transform: scale(1.02)
}

.form-check-input[type=radio].with-gap:checked+label:after,
label.btn input[type=radio].with-gap:checked+label:after {
  transform: scale(.5)
}

.form-check-input[type=radio].with-gap:disabled:checked+label:before,
label.btn input[type=radio].with-gap:disabled:checked+label:before {
  border: 2px solid rgba(0, 0, 0, .46)
}

.form-check-input[type=radio].with-gap:disabled:checked+label:after,
label.btn input[type=radio].with-gap:disabled:checked+label:after {
  border: none;
  background-color: rgba(0, 0, 0, .46)
}

.form-check-input[type=radio]:disabled:checked+label:before,
.form-check-input[type=radio]:disabled:not(:checked)+label:before,
label.btn input[type=radio]:disabled:checked+label:before,
label.btn input[type=radio]:disabled:not(:checked)+label:before {
  background-color: transparent;
  border-color: rgba(0, 0, 0, .46)
}

.form-check-input[type=radio]:disabled+span,
label.btn input[type=radio]:disabled+span {
  color: rgba(0, 0, 0, .46)
}

.form-check-input[type=radio]:disabled:not(:checked)+span:before,
label.btn input[type=radio]:disabled:not(:checked)+span:before {
  border-color: rgba(0, 0, 0, .46)
}

.form-check-input[type=radio]:disabled:checked+span:after,
label.btn input[type=radio]:disabled:checked+span:after {
  background-color: rgba(0, 0, 0, .46);
  border-color: #bdbdbd
}

.form-check-input[type=radio]:checked+label:after .disabled-material,
label.btn input[type=radio]:checked+label:after .disabled-material {
  background-color: rgba(66, 133, 244, .2)
}
/* Seccion */
.section-preview {
    border: 1px solid #e0e0e0;
    padding: 15px;
}
