/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
  padding-top: 0rem;
  padding-bottom: 0rem;
  display: flex;
  height: 100%;
  flex-direction: column;
}

body a {
  text-decoration: none;
  color: #3B5998;
}

body a:hover {
  text-decoration: none;
}

.main {
  flex: 1 0 auto;
}

html {
  position: relative;
  height: 100%;
}

#wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#wrapper #content-wrapper {
  overflow-x: hidden;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 80px;
  padding-left: 15px;
  padding-right: 15px;;
}

footer {
  flex: 0 0 auto;
  display: flex;
  color: #ccc;
  padding: 1em;
  width: 100%;
  background-color: #222;
  justify-content: center;
}

footer i {
  padding: 1em;
}

footer.sticky-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 135px);
  height: 80px;
  background-color: #640707;
}

footer.sticky-footer .copyright {
  line-height: 1;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  footer.sticky-footer {
    width: calc(100% - 270px);
  }
}

body.sidebar-toggled footer.sticky-footer {
  width: calc(100% - 40px);
}

@media (min-width: 768px) {
  body.sidebar-toggled footer.sticky-footer {
    width: calc(100% - 10px);
  }
}

footer.sticky-footer1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100%);
  height: 80px;
  background-color: #222;
}

footer.sticky-footer1 .copyright {
  line-height: 1;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  footer.sticky-footer1 {
    width: calc(100%);
  }
}

.jumbotron {
  background-image: url(../../img/fondo.png); 
  background-size:contain;
  background-position: center;
  background-repeat: no-repeat, repeat;
  height: 350px;
  color:#fff;
  min-height: 200px;
  border-radius: 0px;
  margin-bottom: 0px;
  margin-top: -17px;
}
.jumbotron-caption {
  color:#222;
  bottom: 0%;
  min-height: 50px;
  height: auto;
  margin-top: 3px;
  margin-bottom: 20px;
	width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
@media(min-width:768px) {
  .jumbotron-caption {
    color:#222;
    min-height: 50px;
    width: 100%;
    margin-top: 3px;
  }
}

.logo img {
  position: absolute;
  right:5%;
	top: 65px;
	z-index:2000;
	width:125px;
}
@media(min-width:768px) {
  .logo {
    position: absolute;
    left: 1%;
    top: 5px;
    z-index:2000;
    width:250px;
  }

}  

.carousel-caption {
  min-height: 65px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -24px;
  padding: 2px;
}
.carousel-caption h1 {
  margin-bottom: 10px;
  margin-bottom: 5px;
  font-size: 25px;
}
.carousel-caption p {
  margin-bottom: 10px;
  margin-top: 5px;
}
@media(min-width:768px) {
  .carousel-caption {
    min-height: 65px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -24px;
    padding: 2px;
  }
  .carousel-caption h1 {
		margin-bottom: 0px;
    margin-top: 0px;
    font-size: 30px;
  }
  .carousel-caption p {
		margin-bottom: 0px;
    margin-top: 0px;
	}
}
.carousel-indicators {
  position: absolute;
  left: 0;
  top: -15px;
}
.slide1{
  height: 480px;  /* your desired height for this slide */
  background: url(../../img/gray-puppy-at-the-vet.jpg) no-repeat center center;
  background-size: cover;
}
.slide2{
  height: 480px;  /* your desired height for this slide */
  background: url(../../img/portada_bici_mtb1.jpg) no-repeat center center;
  background-size: cover;
}
.slide3{
  height: 480px;  /* your desired height for this slide */
  background: url(../../img/portada_crossfit.jpg) no-repeat center center;
  background-size: cover;
}

.content { 
  margin-top:5px;  
 /* background: url(../../img/logo_fondo.jpg) no-repeat center center;
  background-size:auto;*/
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
.row {
  margin-right: 0px;
  margin-left: 0px;
}
.form-signin {
  width: 100%;
  max-width: 520px;
  padding: 15px;
  margin: auto;
  margin-top: 45px;
  margin-bottom: 45px;
}

.form-clave {
  width: 100%;
  max-width: 620px;
  padding: 15px;
  margin: auto;
  margin-top: 45px;
  margin-bottom: 45px;
}
.form-evento {
  width: 100%;
  max-width: 80%;
  padding: 15px;
  margin: auto;
  margin-top: 45px;
  margin-bottom: 45px;
}
.form-amplio {
  width: 100%;
  max-width: 95%;
  padding: 10px;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 25px;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  height: 3.125rem;
  padding: .75rem;
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 12px;
  color: #777;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input:-ms-input-placeholder {
    color: #777;
  }
}

/** Form label group small ***/
.form-label-group-sm {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group-sm > input,
.form-label-group-sm > label {
  height: calc(2.7em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-label-group-sm > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: .25rem;
  transition: all .1s ease-in-out;
}

.form-label-group-sm input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group-sm input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group-sm input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group-sm input::-moz-placeholder {
  color: transparent;
}

.form-label-group-sm input::placeholder {
  color: transparent;
}

.form-label-group-sm input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}

.form-label-group-sm input:not(:placeholder-shown) ~ label {
  padding-top: .25rem;
  padding-bottom: .25rem;
  font-size: 10px;
  color: #777;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group-sm > label {
    display: none;
  }
  .form-label-group-sm input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group-sm > label {
    display: none;
  }
  .form-label-group-sm input:-ms-input-placeholder {
    color: #777;
  }
}

#content {
  min-height: 500px;
  margin-top:15px;
}

#content404 {
  min-height: 550px;
  padding-top: 45px;   
}
#contenti {
  min-height: 500px;
  padding-top: 45px;   
}

#contentqi {
  min-height: 500px;
  padding-top: 45px; 
}

#contentqi i {
  color:#009247;
}  
#contenido_home i {
  color:#009247;
}

#contenido_home img {
  margin-right: 15%;
}

#lista {
  margin-top:25px;
  margin-bottom: 35px;
  margin-left: 20px;
  margin-right: 20px;
}
.tabla-pequena {
  font-size: 12px;
}
.trhead {
  background-color:#076633;
  color:#fff;
}
.tdbody {
  background-color:#fff;
}
.trhead1 {
  background-color:#DC3747;
  color:#fff;
}
.form-group-encuestas {
  margin-top: -3px;
  margin-bottom: -3px;
}
.red-option{
  background-color:#DC3747;
  color: #fff;
}
.table-encuesta {
	font-size:12px;
}
.table-center th, .table-center td {
	text-align: center;
	vertical-align: middle;
}
.tr-center {
	text-align: center;
	vertical-align: middle;
}
table a {
  color:#222;
}
.form_background {
  background-color: rgba(153, 153, 153, 0.378);
  border: #ccc 2px solid;
  border-radius: 4px;
}
.fec {
  display: none;
}

.scrollup {
  background: transparent;
  color: #343A40;
  bottom: 3.5em;
  cursor: pointer;
  display: none;
  padding: .25em .5em;
  position: fixed;
  right: 1.5em;
  font-weight:bold;
}

.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #000;
  text-align: center;
  background-color: rgb(243, 228, 12);
  border-radius: .25rem;
}

.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
  margin-left: -3px;
  content: "";
  border-width: 5px 5px 0;
  border-top-color: rgb(243, 228, 12);
}

.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {
  margin-top: -3px;
  content: "";
  border-width: 5px 5px 5px 0;
  border-right-color: rgb(243, 228, 12);
}

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {
  margin-left: -3px;
  content: "";
  border-width: 0 5px 5px;
  border-bottom-color: rgb(243, 228, 12);
}

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
  right: 0;
  margin-top: -3px;
  content: "";
  border-width: 5px 0 5px 5px;
  border-left-color: rgb(243, 228, 12);
}

/* hasta aqui */

.sidebar {
  width: 120px !important;
  background-color: #111;
  min-height: calc(100vh - 56px);
  border-right: rgb(182, 181, 181) solid 1px;
}

.sidebar .nav-item i {
  color: rgba(23, 192, 243, 0.75);
}

.sidebar .nav-item:last-child {
  margin-bottom: 1rem;
}

.sidebar .nav-item .nav-link {
  text-align: center;
  width: 120px;
}

.sidebar .nav-item .nav-link span {
  font-size: 0.65rem;
  display: block;
}

.sidebar .nav-item .dropdown-menu {
  position: absolute !important;
  -webkit-transform: none !important;
  transform: none !important;
  left: calc(90px + 0.8rem) !important;
  margin: 0;
  background-color: #fff;
}

.sidebar .nav-item .dropdown-menu i {
  color: rgba(1, 60, 130, 0.75);
}

.sidebar .nav-item .dropdown-menu.dropup {
  bottom: 0;
  top: auto !important;
}

.sidebar .nav-item.dropdown .dropdown-toggle::after {
  display: none;
}

.sidebar .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.sidebar .nav-item .nav-link:active, .sidebar .nav-item .nav-link:focus, .sidebar .nav-item .nav-link:hover {
  color: rgb(87, 84, 84);
}

/*.sidebar.toggled {
  width: 120px !important;
  overflow: hidden;
}*/
.sidebar.toggled {
    overflow: visible;
    width: 120px !important;
  }

.sidebar.toggled .nav-item:last-child {
  margin-bottom: 1rem;
}
.sidebar.toggled .nav-item .nav-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.1rem;
  width: 100px;
}

@media (min-width: 768px) {
  .sidebar {
    width: 200px !important;
  }
  .sidebar .nav-item .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.9rem;
    width: 200px;
  }
  .sidebar .nav-item .nav-link span {
    font-size: 1rem;
    display: inline;
  }
  .sidebar .nav-item .dropdown-menu {
    position: static !important;
    margin: 0px 3px 15px 3px;
    top: 0;
  }
  .sidebar .nav-item.dropdown .dropdown-toggle::after {
    display: block;
  }
  .sidebar.toggled {
    overflow: visible;
    width: 120px !important;
  }
  .sidebar.toggled .nav-item:last-child {
    margin-bottom: 1rem;
  }
  .sidebar.toggled .nav-item .nav-link {
    text-align: center;
    padding: 0;
    width: 120px;
  }
  .sidebar.toggled .nav-item .nav-link span {
    font-size: 0.65rem;
    display: block;
  }
  .sidebar.toggled .nav-item .dropdown-menu {
    position: absolute !important;
    -webkit-transform: none !important;
    transform: none !important;
    left: calc(90px + 0.5rem) !important;
    margin: 0;
  }
  .sidebar.toggled .nav-item .dropdown-menu.dropup {
    bottom: 0;
    top: auto !important;
  }
  .sidebar.toggled .nav-item.dropdown .dropdown-toggle::after {
    display: none;
  }
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .badge {
    -webkit-transition: none;
    transition: none;
  }
}

a.badge:hover, a.badge:focus {
  text-decoration: none;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

a.badge-primary:hover, a.badge-primary:focus {
  color: #fff;
  background-color: #0062cc;
}

a.badge-primary:focus, a.badge-primary.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

a.badge-secondary:hover, a.badge-secondary:focus {
  color: #fff;
  background-color: #545b62;
}

a.badge-secondary:focus, a.badge-secondary.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

a.badge-success:hover, a.badge-success:focus {
  color: #fff;
  background-color: #1e7e34;
}

a.badge-success:focus, a.badge-success.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

a.badge-info:hover, a.badge-info:focus {
  color: #fff;
  background-color: #117a8b;
}

a.badge-info:focus, a.badge-info.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

a.badge-warning:hover, a.badge-warning:focus {
  color: #212529;
  background-color: #d39e00;
}

a.badge-warning:focus, a.badge-warning.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
  color: #fff;
  background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

a.badge-light:hover, a.badge-light:focus {
  color: #212529;
  background-color: #dae0e5;
}

a.badge-light:focus, a.badge-light.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}

a.badge-dark:hover, a.badge-dark:focus {
  color: #fff;
  background-color: #1d2124;
}

a.badge-dark:focus, a.badge-dark.focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

#datosgalpones, #datosproductos {
  padding: 10px;
  border: #bbb 1px solid;
  border-radius: 4px;
}

#ver_encabezado {
  position: absolute;
  right: 3%;
}

.btn-marron {
  color: #fff;
  background-color: #9D231F;
  border-color: #9D231F;
}

.btn-marron:hover {
  color: #fff;
  background-color: #6C2300;
  border-color: #6C2300;
}

.btn-marron:focus, .btn-marron.focus {
  color: #fff;
  background-color: #993300;
  border-color: #993300;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-marron.disabled, .btn-marron:disabled {
  color: #fff;
  background-color: #D74600;
  border-color: #D74600;
}

/* Calendario */
.leyendas {
	padding-top:10px;
  padding-bottom:30px;
  min-height: 25px;
	background-color:#fff;
	border:#999 solid 1px;
}
.calendar {
	background-color:#fff;
	padding:25px;
}
.closeon {
	color:#D1344B;
	position: absolute;
	top: 1px;
	right: 1px;
	cursor: pointer;
    background-color: #CCC;
	border: 1px solid #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding:1px;
	z-index:9;
}
/* Cambiar el color de el ancabezado del fullcalendar */
.fc-day-header {
	background-color:#28a745;
	color:#FFF;
}
.fc-event {
  min-height:40px !important; 
  padding-top: 1px; 
  padding-bottom: 1px;
  padding-right: 7px;
}
.fc-day-grid-event .fc-content {
  white-space:unset;
  overflow:visible;
}
.boton-dash {
  width: 140px;
  max-height: 120px;
}

.fondocampos1 {
	color:#FFF;
}

.fondocampos2 {
	background-color:#447dd1;
	padding: 4px;	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

}
.scroll_checkboxes {
  min-height: 180px;
  padding: 5px;
  overflow: auto;
  border: 1px solid #ccc;
  background-color:#FFF;
  color:#000;
  text-align:left;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.notificacion-menu span {
  display:inline-block;
  width:250px;
  white-space: normal;
}