html,
body {
  height: 100%;
}
body {
	display: flex;
	flex-direction: column;
}
h1.title {
	margin-bottom: 1rem;
}
.navbar-brand img {
	max-height: 25px;
    margin-right: 1rem;
}
.alert {width: 100%}
.modal {
	color: #212529;
}
.wrapper-login {
  height: 100%;
  background: url(/img/background.jpg) no-repeat center center fixed;
  background-size: cover;
}
.container-login {
  height: 100%;
}
.container-login > .row {
  display: flex;
  height: 100%;
  align-items: center;
}
.wrapper-content {
  padding-top: 50px;
  padding-bottom: 50px;
}
.login-form {
  color: #5d5d5d;
  background: #f2f2f2;
  padding: 26px;
  border-radius: 10px;
}
.login-form .envista {
	max-width: 150px;
	display: block;
    margin: 0 auto 30px auto;
}


.ficha-camara {
	margin-bottom: 1.5rem;
}
.ficha-camara img {
	width: 100%;
	margin-bottom: .4rem
}
.ficha-camara h2 {
	font-size: 1.5rem;
	margin-bottom: 0;
}
.ficha-camara .date {
	font-size: .8rem;
}
.state {
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    border-radius: 100%;
}
.state.grey {
    background-color: #6d6d6d;
}
.state.yellow {
    background-color: yellow;
}
.state.green {
    background-color: green;
}
.state.orange {
    background-color: orange;
}
.state.red {
    background-color: red;
}

.form-group .form-check {
    display: inline-block;
    margin-right: 10px;
}

/* CAMERA */
.camera-image-container {
	position: relative;
	cursor: pointer;
}
.camera-image-container img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}
.camera-image-container .time {
	position: absolute;
	display: block;
	bottom: 0;
	width: 100%;
	padding: .5em;
	text-align: right;
	background-color: rgba(0,0,0,.6);
}
#main-image {
	max-height: 100%;
	max-width: 100%;
}
.main-image-container .image {
	position: relative;
}
.twentytwenty-wrapper {
	opacity: 0;
	z-index: 1;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}
.twentytwenty-container {
	height: 100%;
}
.overlay-main-image {
	z-index: 1100;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.6);
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (max-width: 992px) {
	.camera-image-container {
		display: inline-block;
		height: 100px;
	}
	.camera-images {
		overflow-x: scroll;
		white-space: nowrap;
		margin-bottom: 1.5em;
	}
	.camera-image-container img {
		width: 200px;
	}
}
@media (min-width: 993px) {
	.wrapper-camera-content {
		display: block;
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		height: calc(100% - 56px);
	}
	.camera-container {
		display: flex;
    flex-wrap: wrap;
		min-height: 0px;
		height: 100%;
    margin-bottom: 30px;
	}
	.camera-images-form-container {
		width: 20%;
		overflow-y: hidden;
		min-height: 0px;
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.camera-images {
		flex: 1 1 auto;
		overflow-y: auto;
		min-height: 0px;
		height: 100%;
	}
	.camera-image-container {
		margin-bottom: .4em;
	}
	.camera-image-container:last-child {
		margin-bottom: 0;
	}
	.camera-image-container .time {
		opacity: 0;
		transition: opacity 1s;
	}
	.camera-image-container:hover .time {
		opacity: 1;
	}
	.camera-image-container img {
		display: block;
		width: 100%;
	}
  .prueba {
    width: 80%;
  }
	.camera-image-primary-container {
		width: 100%;
    height: 100%;
		display: flex;
		flex-direction: column;
		padding-left: 30px;
	}
	.main-image-container {
		display: flex;
		justify-content: center;
		flex: 1;
	}
	.main-image-container .image {
		display: flex;
	}
}


.align-items-start {
	align-items: start !important;
}

label.picker {
  width: 100%;
  border-radius: 3px;
  background-color: #e9ecef;
  color: #777;
}
.picker-info {
	color: #495057;
	float: right;
	margin-right: 1em;
}
/* hide input */
input.picker:empty {
	display: none;
}

/* style label */
input.picker:empty ~ label {
	position: relative;
	float: left;
	line-height: 2.5em;
	text-indent: 3.25em;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input.picker:empty ~ label:before {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	width: 2.5em;
	background: #D1D3D4;
	border-radius: 3px 0 0 3px;
}

/* toggle hover */
input.picker:hover:not(:checked) ~ label:before {
	content:'\2714';
	text-indent: .9em;
	color: #fff;
}

input.picker:hover:not(:checked) ~ label {
	color: #495057;
}

/* toggle on */
input.picker:checked ~ label:before {
	content:'\2714';
	text-indent: .9em;
	color: #fff;
	background-color: #4DCB6D;
}

input.picker:checked ~ label {
	color: #495057;
}

/* radio focus */
input.picker:focus ~ label:before {
	box-shadow: 0 0 0 3px #999;
}
#datepicker {
	margin-bottom: 1em;
}
#timepicker {
	margin-bottom: 1.5em;
}

/* BUTTON PICKER */
.btn-flat {
	border: none;
    border-radius: 2px;
    position: relative;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0;
    will-change: box-shadow,transform;
	transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
    outline: 0;
    cursor: pointer;
    text-decoration: none;
    background: 0 0;
	font-family: Roboto, sans-serif;
}
.btn-flat:hover {
	background-color: rgba(153,153,153,.2);
}
.dtp-picker-month {
	color: #333;
}

/* SCROLLBAR Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #6d6d6d;
}

/* REGISTRO */
.camera-container {
	padding: 0 25px;
}
.input-group-cameras {
    margin-bottom: .5rem;
}

.cabecera-horario {
    display: flex;
}
.cabecera-horario > .titulo {
    flex: 1 1 auto;
}

/* SWITCH */
.switch {
  font-size: 1rem;
  position: relative;
}
.switch input {
  position: absolute;
  height: 1px;
  width: 1px;
  background: none;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
}
.switch input + label {
  position: relative;
  min-width: calc(calc(2.375rem * .8) * 2);
  border-radius: calc(2.375rem * .8);
  height: calc(2.375rem * .8);
  line-height: calc(2.375rem * .8);
  display: inline-block;
  cursor: pointer;
  outline: none;
  user-select: none;
  vertical-align: middle;
  text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}
.switch input + label::before,
.switch input + label::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(calc(2.375rem * .8) * 2);
  bottom: 0;
  display: block;
}
.switch input + label::before {
  right: 0;
  background-color: #dee2e6;
  border-radius: calc(2.375rem * .8);
  transition: 0.2s all;
}
.switch input + label::after {
  top: 2px;
  left: 2px;
  width: calc(calc(2.375rem * .8) - calc(2px * 2));
  height: calc(calc(2.375rem * .8) - calc(2px * 2));
  border-radius: 50%;
  background-color: white;
  transition: 0.2s all;
}
.switch input:checked + label::before {
  background-color: #08d;
}
.switch input:checked + label::after {
  margin-left: calc(2.375rem * .8);
}
.switch input:focus + label::before {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}
.switch input:disabled + label {
  color: #868e96;
  cursor: not-allowed;
}
.switch input:disabled + label::before {
  background-color: #e9ecef;
}
.switch.switch-sm {
  font-size: 0.875rem;
}
.switch.switch-sm input + label {
  min-width: calc(calc(1.9375rem * .8) * 2);
  height: calc(1.9375rem * .8);
  line-height: calc(1.9375rem * .8);
  text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}
.switch.switch-sm input + label::before {
  width: calc(calc(1.9375rem * .8) * 2);
}
.switch.switch-sm input + label::after {
  width: calc(calc(1.9375rem * .8) - calc(2px * 2));
  height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}
.switch.switch-sm input:checked + label::after {
  margin-left: calc(1.9375rem * .8);
}
.switch.switch-lg {
  font-size: 1.25rem;
}
.switch.switch-lg input + label {
  min-width: calc(calc(3rem * .8) * 2);
  height: calc(3rem * .8);
  line-height: calc(3rem * .8);
  text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}
.switch.switch-lg input + label::before {
  width: calc(calc(3rem * .8) * 2);
}
.switch.switch-lg input + label::after {
  width: calc(calc(3rem * .8) - calc(2px * 2));
  height: calc(calc(3rem * .8) - calc(2px * 2));
}
.switch.switch-lg input:checked + label::after {
  margin-left: calc(3rem * .8);
}
.switch + .switch {
  margin-left: 1rem;
}

.weather-container {
  margin-top: 30px;
}
.weather-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}
