nav#mainav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav#mainav > a {
  color: #000;
}

#services li article p {
  visibility: hidden;
}

#services li article * {
  z-index: 1;
  position: relative;
}

#services li article .heading {
  background-color: rgba(0, 0, 0, 0.4588235294117647);
  padding: 5px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.26);
}

#services li article img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  //opacity: .5;
}

#pageintro {
  z-index: 1;
  position: relative;
  text-align: center;
}

#pageintro article {
  background-color: rgba(0, 0, 0, 0.32);
  padding: 40px;
  border-radius: 10px;
}

#pageintro .heading small {
  font-size: 15pt;
  line-height: 1;
  display: flex;
  justify-content: center;
}

#nosotros:after {
  background-color: #2e2623;
}

.btn-presupuesto {
  background: #ff7f00;
}

.footer-row {
  background-color: #2e2623;
}

.footer-row a {
  color: #ff7f00;
}

#backtotop {
  background-color: #ff7f00;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  margin: auto;
  border-top: 20px solid #2e2623;
}

.imgover > img {
  width: 435px;
}

#publi {
  text-align: end;
  flex-direction: column;
  display: flex;
  justify-content: flex-end;
}

#contactar {
  text-align: center;
}

#contactar .btn {
  margin-top: 30px;
}

#contactar .heading:after {
  margin: auto;
  right: 0;
  left: 0;
}

.Titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  font-size: 24pt;
  font-family: cursive;
}

.Titulo img {
  height: 35px;
  margin-right: 10px;
}

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

.form-control {
  width: 100%;
  display: block;
  border: 1px solid gainsboro;
  height: 40px;
  border-radius: 4px;
  padding-left: 10px;
  padding-right: 10px;
}

textarea.form-control {
  height: auto;
  padding-top: 5px;
}

#formulario-contacto {
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  margin: auto;
}

#formulario-contacto .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: auto; */
  padding: 16px;
  font-size: 13pt;
  padding-left: 50px;
  padding-right: 50px;
  margin-left: auto;
}

.contacto-chica {
  text-align: center;
}

.contacto-chica h6:after {
  left: 0;
  right: 0;
  margin: auto;
}

.contacto-chica img {
  max-width: 200px;
  margin: auto;
  display: block;
  margin-bottom: 1rem;
}

.contacto-chica .teleHora {
  font-size: 14pt;
  line-height: 1.4;
}

body {
  background-color: #eeeeee;
}

.row3 {
  background-color: #eeeeee;
}

#publiServices {
  padding-top: 0;
}

#publiServices li article {
  position: relative;
}

#publiServices li article * {
  z-index: 1;
  position: relative;
}

#publiServices li article img {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  //opacity: .5;
}

#publiServices li {
  margin-bottom: 50px
}

#publiServices li article footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25pt;
  padding: 10px;
}

#publiServices li:nth-last-child(-n+3) {
  margin-bottom: 0;
}

/* Removes bottom margin from the last four items - margin is restored in the media queries when items stack */
#publiServices li:nth-child(3n+1) {
  margin-left: 0;
  clear: left;
}

/* Removes the need to add class="first" */
.bg-white {
  background-color: #fff;
}

#servio {
  background-color: #fff;
  color: #000;
}

#servio:after {
  background-color: #fff;
}

.logoNameFooter {
  display: flex;
  flex-direction: column;
  color: white;
  font-family: cursive;
}

.logoNameFooter img {
  width: 160px !important;
  margin: auto !important;
  margin-bottom: 1rem !important;
}

.logoNameFooter img + div {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logoname + p + ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logoname + p {
  text-align: center;
}

.Alert {
  border: 1px solid green;
  color: white;
  background-color: #1bb51b;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 1rem;
  text-align: center;
}

.imgover:hover:before {
  background: none;
  content: '';
}

.imgover:hover:after {
  background: none;
  content: '';
}

/**** TRABAJO ****/
.Trabajo {
  box-shadow: 0px 3px 11px -9px black;
  -webkit-box-shadow: 0px 3px 11px -9px black;
  -moz-box-shadow: 0px 3px 11px -9px black;
  -ms-box-shadow: 0px 3px 11px -9px black;
  -o-box-shadow: 0px 3px 11px -9px black;
  margin-bottom: 1rem;
  background: white;
}

.Trabajo__header {
  position: relative;
}

.Trabajo__image {
  width: 100%;
  height: 230px;
}

.Trabajo__titulo {
  text-align: center;
  margin: 0;
  padding: 10px;
  font-family: inherit;
  font-size: 13pt;
}

.Trabajo__fecha {
  margin-top: -10px;
  position: relative;
  display: block;
  font-size: 10pt;
  text-align: center;
  font-style: italic;
  color: #aba6a6;
  padding-left: 10px;
  padding-right: 10px;
}

.Trabajo__descripcion {
  text-align: center;
  font-size: 9pt;
  padding-left: 10px;
  padding-right: 10px;
}

.Trabajo__footer {
  display: flex;
  border-top: 1px solid gainsboro;
  align-items: center;
}

.Trabajo__btn {
  flex: 1;
  border: 0;
  outline: 0;
  background-color: transparent;
  padding: 10px;
  border-left: 1px solid gainsboro;
  transition: all .3s ease-in-out;
  display: flex;
  justify-content: center;
}

.Trabajo__btn:first-child {
  border-left: 0;
}

.Trabajo__precio {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23pt;
  line-height: 1;
  margin-bottom: 1rem;
  color: red;
}

.Trabajo__cat {
  padding: 7px 20px;
  font-size: 12pt;
  text-align: right;
  font-family: inherit;
  font-weight: 600;
}

.Trabajo__header .Trabajo__cat {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.43);
  color: white;
  border-radius: 5px;
  right: 10px;
  top: 10px;
}

/****** DETALLE *******/
.Detalle {
  background-color: #fff;
  box-shadow: 0px 3px 11px -9px black;
  -webkit-box-shadow: 0px 3px 11px -9px black;
  -moz-box-shadow: 0px 3px 11px -9px black;
  -ms-box-shadow: 0px 3px 11px -9px black;
  -o-box-shadow: 0px 3px 11px -9px black;
}

.Detalle__header {
  display: flex;
  height: 400px;
}

.Detalle__header--one {
  max-height: 600px;
  height: auto;
}

@media screen and (max-width: 785px) {
  .Detalle__header--one {
    max-height: 400px;
  }
}

@media screen and (max-width: 470px) {
  .Detalle__header--one {
    max-height: 300px;
  }
}
@media screen and (max-width: 400px) {
  .Detalle__header--one {
    max-height: 250px;
  }
}

.Detalle__imagen {
  display: block;
  flex: 1;
  width: 50%;
}

.Detalle__titulo {
  font-family: inherit;
  margin: 0;
  padding: 20px;
  font-size: 22pt;
}

.Detalle__fecha {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: -16px;
  font-size: 10pt;
  font-style: italic;
  color: darkgray;
}

.Detalle__precio {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 30pt;
  color: red;
  margin: 0;
  line-height: 1;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.Detalle__descripcion {
  font-size: 11pt;
  line-height: 1.2;
  display: flex;
  padding: 20px;
}

.Detalle__top {
  padding: 20px;
}

.Detalle__back {
  display: flex;
  align-items: center;
  font-size: 16pt;
}

.Detalle__back i {
  margin-right: 5px;
}

.Detalle__footer {
  display: flex;
  border-top: 1px solid gainsboro;
}

.Detalle__btn {
  flex: 1;
  border: 0;
  outline: 0;
  background-color: transparent;
  padding: 20px;
  border-left: 1px solid gainsboro;
  transition: all .3s ease-in-out;
  display: flex;
  justify-content: center;
}

.Detalle__btn:first-child {
  border-left: 0;
}

.Detalle__precioDvi {
  display: flex;
  align-items: center;
}

.Detalle__texto {
  display: block;
  font-size: 15pt;
}

/* Footer */

.faico a {
  background-color: rgba(168, 168, 168, 0.2901960784313726);
  border-radius: 50%;
  color: white;
}

a.faicon-youtube:hover {
  background-color: #DB4A39
}

/* SERVICES */
#services li article {
  display: block;
  position: relative;
  padding: 34px;
}

/* LOGIN */
.centrar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.centrar.center {
  height: 100vh;
}

.login {
  background-color: white;
  padding: 40px;
  max-width: 380px;
  width: 100%;
  margin: 40px;
  text-align: left;
}

@media screen and (max-height: 368px) {
  .center.centrar {
    height: auto;
  }
}

.Menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
}

.Menu__item {
  padding: 15px;
  display: flex;
  flex-direction: column;
  font-size: 14pt;
  line-height: 1.2;
  color: black;
  border-bottom: 1px solid gainsboro;
}

.Menu__item:hover {
  background-color: #96acfb;
  cursor: pointer;
  color: white;
}

.Menu__item.active {
  background-color: #96acfb;
  cursor: pointer;
  color: white;
}

.Panel {
  background-color: white;
}

.Panel__header {
  background-color: #96acfb;
  color: white;
  padding: 15px;
  font-size: 13pt;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.Panel__body {
  padding: 15px;
}

.Table tr td {
  border-bottom: 1px solid gainsboro;
}

.btn--default {
  background-color: #fff;
  color: #000;
}

img.circle {
  width: 40px;
  height: 40px;
}

#comentarios {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.Slider {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 0;
}

.Slider__item {
  display: none;
  width: 100%;
}

.Slider__item--active {
  display: flex;
}

.Slider__image {
  width: 100%;
  height: 100%;
}

.Slider a {
  display: block;
  width: 100%;
}

.Slider__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  font-size: 36pt;
  margin: auto;
  justify-content: center;
  height: auto;
  display: inline-flex;
  align-items: center;
  color: black;
}

.Slider__arrow--left {
  left: 20px;
}

.Slider__arrow--right {
  right: 20px;
}

.Slider__arrow:hover {
  opacity: .8;
  cursor: pointer;
}

#Slider__images {
  display: flex;
  width: 100%;
}

.Slider__arrow i {
  background-color: rgba(0, 0, 0, 0.71);
  color: white;
  padding: 12px;
  border-radius: 5px;
}

#mainav form {
  width: fit-content;
}

@media screen and (max-width: 1387px) {
  #pageintro {
    max-width: 900px;
  }
  #pageintro article {
    padding: 10px;
  }
}

@media screen and (max-width: 1140px) {
  #pageintro {
    padding: 100px;
  }
  #pageintro .heading {
    font-size: 2rem;
    margin-bottom: 0;
  }
  #pageintro .heading small {
    margin-top: 1rem;
    font-size: 13pt;
  }
  #pageintro footer {
    margin-top: 20px;
  }
}

@media screen and (max-width: 1125px) {
  #pageintro {
    max-width: 752px;
  }
}

@media screen and (max-width: 940px) {
  #pageintro {
    max-width: 674px;
  }
}

@media screen and (max-width: 869px) {
  #pageintro {
    max-width: 550px;
  }
}

@media screen and (max-width: 775px) {
  #pageintro {
    max-width: 480px;
  }
  #pageintro footer ul li {
    margin: 0;
  }
}

@media screen and (max-width: 653px) {
  #pageintro article {
    display: none;
  }
}

@media screen and (max-width: 487px) {
  #mainav .Titulo {
    font-size: 17pt;
  }
}

@media screen and (max-width: 409px) {
  #mainav .Titulo img {
    display: none;
  }
}

.Error {
  font-size: 30pt;
}

.Error h1 {
  font-size: 40pt;
}