/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */


/* modal 
----------------------------------------------------------------------------- */
#popup {
  background-color: rgba(0,0,0,0.8);
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin:0;
  -webkit-animation:autopopup 2s;
  -moz-animation:autopopup 2s;
  animation:autopopup 2s;
  
  z-index: 5000000000;
}

@-webkit-keyframes autopopup {
  from {opacity: 0;margin-top:-200px;}
  to {opacity: 1;}
}
@-moz-keyframes autopopup {
  from {opacity: 0;margin-top:-200px;}
  to {opacity: 1;}
}
@keyframes autopopup {
  from {opacity: 0;margin-top:-200px;}
  to {opacity: 1;}
}

#popup:target {
  -webkit-transition:all 1s;
  -moz-transition:all 1s;
  transition:all 1s;
  opacity: 0;
  visibility: hidden;
}

.popup-contenedor {
  position: relative;
  margin:7% auto;
  padding:20px;
  background-color: #fafafa;
  color:#333;
  border-radius: 5px;
  width:50%;
}

a.popup-cerrar {
  position: absolute;
  top:3px;
  right:3px;
  background-color: #333;
  padding:7px 10px;
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
  color:#fff;
}

/*  cierra modal
----------------------------------------------------------------------------- */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    height: 85%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}