/* Required height of parents of the Half Page Carousel for proper displaying carousel itself */
/* Half Page Carousel itself*/
.carousel {
    height: 50%; 
}
.carousel .carousel-inner {
    height: 100%; 
}
.carousel .carousel-inner .carousel-item,
.carousel .carousel-inner .active {
    height: 100%; 
}
html,
body,
.home header,
.carousel {
    height: 70vh;
}

@media (max-width: 740px) {
    html,
    body,
    .home header,
    .carousel {
        height: 95vh;
    }
}
@media (min-width: 800px) and (max-width: 850px) {
    html,
    body,
    header,
    .carousel {
        height: 100vh;
    }
}

@media (min-width: 800px) and (max-width: 850px) {
    .navbar:not(.top-nav-collapse) {
        background: rgba(0, 0, 0, 0.2);
    }
}

html,
body,
.view {
  height: 100%; }


/* Adjustment for mobile devices*/
@media (max-width: 776px) {
  .carousel {
    height: 100%; } }

/* Navbar animation */
.home.page .navbar {
  background-color: rgba(0, 0, 0, 0.2); }
.page .navbar,
.single .navbarl,
.error404 .navbar{
  background-color: rgba(0, 0, 0, 1); }

.home.page .top-nav-collapse,
.top-nav-collapse,
.single .navbar{
  background-color: rgba(0,0,0,0.9); }

/* Adding color to the Navbar on mobile */
@media only screen and (max-width: 768px) {
  .navbar {
    background-color: rgba(0,0,0,0.9); } }

/* Footer color for sake of consistency with Navbar */
.page-footer {
  background-color: #929FBA; }

/** Logo */
.navbar-brand{
    margin-right: 2rem;
}
.navbar img{
    widows: auto;
    height: 60px;
}
.navbar.top-nav-collapse img{
    height: 45px;
}

/** Carousel */
.carousel .carousel-indicators li {
    width: 30px;
    height: 3px;
    border-radius: 0;
}
.carousel .carousel-control-next-icon, .carousel .carousel-control-prev-icon {
    width: 30px;
    height: 30px;
}

/** Footer */
.page-footer{
    background-color: rgba(0, 0, 0, .9);
}
footer.page-footer .footer-copyright{
    background-color: rgba(0, 0, 0, .9);
}

/** Page */
.page main.contenido,
.single main.contenido{
    margin-top: 5rem;
}
.page .contenido p,
.single .contenido p{
    font-size: 1.3rem;
}
.page .contenido ul li{
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.titulo{
    margin: 2.5rem 0;
}

/** Contacto */
.wpcf7 label{
    width: 100%;
}
.wpcf7-form-control-wrap, .form-group label, .wpcf7-form-control {
  width: 100%;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  border: 2px solid #ff0000;
  background-color: #ff0000;
  color: #fff;
  text-align: center;
}
div.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
  background-color: #398f14;
  color: #fff;
  text-align: center;
}
.page div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  border: 2px solid #ff0000;
}
.contacto .card.wpcf7-fo {
  background-color: #eee;
}
.contacto .card.wpcf7-fo label {
  font-size: .9rem;
  color: #84878a;
}
.wpcf7-form input, .wpcf7-form textarea {
  box-shadow: inset 0 0 10px #e1e1e1;
  -moz-box-shadow: inset 0 0 10px #e1e1e1;
  -webkit-box-shadow: inset 0 0 10px #e1e1e1;
  border: 1px solid #c0c0c0;
  height: 50px;
  border-radius: 5px;
  width: 100%;
}
.wpcf7-form .wpcf7-submit {
  box-shadow: none;
  border-radius: 0!important;
  background-color: #cc2229;
  text-align: center;
  padding: 5px 20px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  width: auto;
  cursor: pointer;
}
.wpcf7-form textarea {
  height: 170px;
}
.wpcf7-submit:focus{
  border-color: transparent;
}
.wpcf7 .wpcf7-submit{
    margin-top: 1.4rem;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output{
    border-color: #cc2229;
    background-color: #cc2229;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 0;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: #46b450;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem 0;
}

/** Slideshow */
.rgba-black-light, .rgba-black-light:after {
    background-color: rgba(0,0,0,.1);
}

/** Page */
.page h3{
    font-weight: 500;
}

/** Fancibox */
.galeria .fancybox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.single .fancybox img{
  margin: .5rem;
}
.fancybox-caption__body{
  font-size: 1.2rem;
}

/** Testiminios */
.testimonios .box-area{
    padding: 2rem 0;
}
.testimonios .img-area{
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px auto;
    border: 2px solid #ccc;
}
.testimonios .img-area img{
    width: 100%;
    height: auto;
}
.testimonios .name{
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testimonios .designation{
    text-align: center;
    color: #262626;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.testimonios .tes-text{
    width: 100%;
    margin: auto;
    text-align: center;
    line-height: 1.9;
    font-size: 16px;
}
.testimonios .tes-area .owl-pagination{
    margin-top: 20px;
    text-align: center;
}
.testimonios .tes-area .owl-pagination .owl-page{
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    margin: 0 auto;
}
.testimonios .tes-area .owl-pagination .owl-page span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    border: 2px solid #bcbcbc;
    transition: all .3s ease;
}
.testimonios .tes-area .owl-pagination .owl-page.active span{
    background-color: #000;
}

/** Carrusel nuestro trabajo */
@media (min-width: 768px){
  .contenido-principal {
    width: 85%;
  }
}
.wcp-carousel-main-wrap figure.rpc-style-12 h3 {
  margin-left: 0px!important;
  margin-bottom: 0px!important;
}
.bg-1{
  background-color: #f2f2f2;
}

/** Botones */
.btn-rojo {
    color: #fff;
    background-color: #cc2229!important;
}
.btn-rojo:hover{
    color: #fff!important;
    font-weight: 600;
}

/** Quienes somos */
.page-id-8 .titulo h1,
.page-id-16 .titulo h1{
    position: relative;
    bottom: 6rem;
    left: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,.5);
}
.page-id-8 .titulo img,
.page-id-16 .titulo img{
    filter: grayscale(100%) opacity(20%);
}

/** Portafolios */
main.contenido .card{
    box-shadow: none;
}

/** Iconos redes sociales */
.fa-2ax {
    font-size: 1.6em;
}

/** desarrollo web */
.single .desarrollo img{
    cursor: pointer;
    transition: .7s;
}
.single .desarrollo img:hover{
    filter: grayscale(100%);
}

/** error 404 */
.error404 .contenido{
    margin-top: 10rem;
}
.error404 footer{
    align-self: flex-end;
}