/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
  padding-bottom: 40px;
}

section {
  margin-bottom: 40px;
}

.top-navbar {
  height: 150px;
  margin-bottom: -100px;
}

#logo {
  z-index: 1001;
  text-align: center;
}
#logo img {
  width: 150px;
}
#slogan {
  padding-top: 10px;
  font-family: 'Alegreya', serif;
  font-style: italic;
  font-size: 22px;
  color: #848484;
  text-align: center;
}

@media (min-width:768px) {
  #logo {
    text-align: left;
  }
  #slogan {
    text-align: right;
  }
  .top-navbar {
    height: 100px;
    margin-bottom: -50px;
  }
}

.cookies .close {
  position: absolute;
  top: -3px;
  right: 3px;
}

.cookies {
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  padding: 10px 20px 10px 10px;
  bottom: 0px;
  left: 100px;
  right: 100px;
  z-index: 1000;
  opacity: 0.95 !important;
}

/* BLOCK QUOTE
-------------------------------------------------- */
.bq blockquote {
  margin-top: 20px;
  margin-bottom: 1px;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 
      inset 0 2px 0 rgba(20, 56, 105, 0.7), 
      -5px -4px 25px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 
      inset 0 2px 0 rgba(20, 56, 105, 0.7), 
      -5px -4px 25px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 
      inset 0 2px 0 rgba(20, 56, 105, 0.7), 
      -5px -4px 25px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 
      inset 0 2px 0 rgba(20, 56, 105, 0.7), 
      -5px -4px 25px rgba(0, 0, 0, 0.3);
  box-shadow: 
      inset 0 2px 0 rgba(20, 56, 105, 0.7), 
      -5px -4px 25px rgba(0, 0, 0, 0.3);
}
.bq blockquote:after, 
.bq blockquote:before  {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.bq blockquote:after  {
  border-top-color: #ffffff;
  border-width: 10px;
  left: 65%;
  margin-left: -10px;
}

.bq blockquote:before {
  border-top-color: rgba(0,0,0,0.01);
  border-width: 10px;
  left: 65%;
  margin-left: -10px;
}

.bq blockquote p {
  font-family: 'Alegreya', serif;
  font-size: 18px;
  color: #b4b4b4;
  font-weight: 400;
  line-height: 22px;
  font-style: italic;
  text-indent: 60px;
  position: relative;
}

.bq blockquote p:before{
  content: '\201C';
  font-family: serif;
  font-style: normal;
  font-weight: 700;
  position: absolute;
  font-size: 110px;
  top: 8px;
  left: -65px;
  color: rgba(20, 56, 105, 1);
  text-shadow: 6px 8px 10px rgba(0, 0, 0, 0.1);
}

.bq .bq-attribution {
  text-align: right;
  position: relative;
}
.bq cite {
  font-family: 'Alegreya SC', serif;
  font-weight: 700;
  font-size: 12px;
  color: rgba(20, 56, 105, 1);
  text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}

/* NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 100px;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .navbar-primary {
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  padding: 0 !important;
  height: 50px;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
  background-image: linear-gradient(#DDD 5%, #A8A8A8 80%, #CCC 100%);
  border:none;
  border-radius:0px !important;
  
}
.navbar-wrapper .navbar .container {
  width: auto;
}
.navbar-wrapper li a {
  /*color: #222 !important;*/
}
.navbar-wrapper li.active a {
  color: #FFF !important;
}

.navbar > .container {
  margin: 0;
  padding: 0;
}

.navbar-nav>li>a {
  -webkit-transition:.7s;
     -moz-transition:.7s;
      -ms-transition:.7s;
       -o-transition:.7s;
          transition:.7s;
}

.navbar-nav>li>a:hover {
  color:#ffffff;
  background-color:#888 !important;
}

.navbar-xs .navbar {
  min-height:28px;
  height: 28px;
  -webkit-transition: all .7s;
     -moz-transition: all .7s;
      -ms-transition: all .7s;
       -o-transition: all .7s;
          transition: all .7s;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(#DDD 5%, #EEE 100%);
}
.navbar-xs .navbar .navbar-brand {
  padding: 0px 12px;
  font-size: 16px;
  line-height: 28px;
}

.navbar-xs .navbar .navbar-nav > li > a {
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 28px;
}

.navbar-sm .navbar {
  min-height:40px;
  height: 40px;
}
.navbar-sm .navbar .navbar-brand {
  padding: 0px 12px;
  font-size: 16px;
  line-height: 40px;
}
.navbar-sm .navbar .navbar-nav > li > a {
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 40px;
}


/* CAROUSEL
-------------------------------------------------- */

#index {
  /*background-image: linear-gradient(#fff 92%, #EEE 98%, #fff);*/
  padding-bottom: 100px;
}

/* Carousel base class */
.carousel {
  top: 100px;
  height: 600px;
  border-bottom: solid 1px #CCC;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  color: #1f497d;
  position:relative;
  top: 50px;
  padding: 10px;
  background-color: rgba(221, 240, 216, 0.8);
  border-radius: 30px;
}

@media (min-width: 768px) {
  .carousel-caption {
    float:right;
    margin-right: 410px;
    width: 450px;
  }
}

.carousel-indicators li {
  background-color: #1f497d;
}
.carousel-indicators .active {
  background-color: #e46c0a;
}
.carousel-control {
  /*background-image: none !important; /* remove background gradients on controls */
  color:#1f497d !important;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 600px;
  /*background-color: #777;*/
  margin-left: 120px;
  margin-right: 120px;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 620px;
}

/* Fade transition for carousel items */
.carousel-fade .item {
  left: 0 !important;
  -webkit-transition: opacity .4s;
     -moz-transition: opacity .4s;
      -ms-transition: opacity .4s;
       -o-transition: opacity .4s;
          transition: opacity .4s;
}
/* Fade controls with items */
.carousel-fade .next.left,
.carousel-fade .prev.right {
    opacity: 1;
    z-index: 1;
}
.carousel-fade .active.left,
.carousel-fade .active.right {
  color:#CCC !important;
    opacity: 0;
    z-index: 2;
}

.downloadBtn {
  -webkit-box-shadow: 0 0 10px #222;
  -moz-box-shadow: 0 0 10px #222;
  -ms-box-shadow: 0 0 10px #222;
  -o-box-shadow: 0 0 10px #222;
  box-shadow: 0 0 10px #222;
  position: relative;
  padding: 10px 10px 10px 40px;
  width: 85%;
}
.downloadBtn .text {
  overflow: hidden;
}
img.download {
  position: absolute;
  height: 100px;
  top: -2px;
  left:-12px;
}
.downloadText {
  font-size: 24px;
  line-height: 20px;
  letter-spacing: .03em;
  padding-bottom: 0px;
  display: block;
}
.downloadSummary {
  font-size: 10px;
  line-height: 15px;
}
.downloadDetails {
  line-height: 6px;
  font-size: 12px;
  display: block;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-md-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}
.marketing .img-circle {
  width: 140px;
  height: 140px;
}
.marketing h2 {
  text-decoration: underline;
  text-align: center;
}

/* PRODUCT DETAILS
-------------------------------------------------- */
#productDownload {
  padding-top: 40px;
  padding-bottom: 40px;
  border: solid 2px #AAA;
  background-image: radial-gradient(#EEE, #CCC);
  -webkit-box-shadow: 0 0 10px #222;
  -moz-box-shadow: 0 0 10px #222;
  -ms-box-shadow: 0 0 10px #222;
  -o-box-shadow: 0 0 10px #222;
  box-shadow: 0 0 10px #222;
  min-height: 550px;
}
.downloadBlock {
  padding-bottom: 40px;
}

.feature {
  padding: 2px;
  cursor: default;
}

.feature-content {
  border-radius: 20px;
  background-image: linear-gradient(#ccc, #fff 55px);
  padding: 4px;
  border: #ddd 4px solid;
}

.feature-content:hover {
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -ms-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
}

.feature-content h2 {
  font-size: 16px;
  text-align: center;
}

.feature-content p {
  font-size: 13px;
  color: #262 !important;
}

/* PRODUCT PRICE
-------------------------------------------------- */
#productPrice {
  background-image: linear-gradient(#fff, #EEE 80%, #fff);
}

.okTick {
  color: green;
  font-size: 19px;
}

.cancelTick {
  color: red;
  font-size: 19px;
}

.productOptions {
}

.productOptions .panel {
    text-align: center;
}
.productOptions .panel:hover {
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -ms-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  -o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(130, 130, 130, 0.35);
}
.productOptions .panel-body {
  padding: 0px;
  text-align: center;
}
.the-price {
  background-color: rgba(220,220,120,.17);
  -webkit-box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
  -moz-box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
  -ms-box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
  -o-box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
  box-shadow: 0 1px 0 #dcdcdc, inset 0 1px 0 #fff;
  padding: 20px;
  margin: 0;
}
.the-price h1 {
  line-height: 1em;
  padding: 0;
  margin: 0;
}
.subscript {
  font-size: 25px;
}

.productOptions tr td {
  height: 50px;
}

/* CSS-only ribbon styles    */
.cnrflash {
  /*Position correctly within container*/
  position: absolute;
  top: -9px;
  right: 4px;
  z-index: 1; /*Set overflow to hidden, to mask inner square*/
  overflow: hidden; /*Set size and add subtle rounding to soften edges*/
  width: 100px;
  height: 100px;
  border-radius: 3px 5px 3px 0;
}
.cnrflash-inner {
  /*Set position, make larger then container and rotate 45 degrees*/
  position: absolute;
  bottom: 0;
  right: 0;
  width: 145px;
  height: 145px;
  -webkit-transform: rotate(45deg); /* Safari and Chrome */
     -moz-transform: rotate(45deg); /* Firefox */
      -ms-transform: rotate(45deg); /* IE 9 */
       -o-transform: rotate(45deg); /* Opera */
          transform: rotate(45deg); /* Opera */
  -webkit-transform-origin: 100% 100%; /*Purely decorative effects to add texture and stuff*/ /* Safari and Chrome */
     -moz-transform-origin: 100% 100%; /* Firefox */
      -ms-transform-origin: 100% 100%;  /* IE 9 */
       -o-transform-origin: 100% 100%; /* Opera */
          transform-origin: 100% 100%; /* Opera */
  
  background-image: linear-gradient(90deg, transparent 50%, rgba(255,255,255,.1) 50%), linear-gradient(0deg, transparent 0%, rgba(1,1,1,.2) 50%);
  background-size: 4px,auto, auto,auto;
  background-color: #aa0101;
  -webkit-box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
  -moz-box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
  -ms-box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
  -o-box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
  box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
}
.cnrflash-inner:before, .cnrflash-inner:after {
  /*Use the border triangle trick to make it look like the ribbon wraps round it's container*/
  content: " ";
  display: block;
  position: absolute;
  bottom: -16px;
  width: 0;
  height: 0;
  border: 8px solid #800000;
}
.cnrflash-inner:before {
  left: 1px;
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.cnrflash-inner:after {
  right: 0;
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.cnrflash-label {
  /*Make the label look nice*/
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  padding-bottom: 5px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(1,1,1,.8);
  font-size: 0.95em;
  font-weight: bold;
  text-align: center;
}

form.form-inline {
  margin-bottom: 20px;
}

#calcularPresupuesto .form-group {
  margin-right: 3px;
}

/* CONTACT
-------------------------------------------------- */

.overlay {
  background:transparent; 
  position:relative; 
  width:100%;
  height:200px; /* your iframe height */
  top:200px;  /* your iframe height */
  margin-top:-200px;  /* your iframe height */
}
#map {
  width: 100%;
  height: 200px;
  margin-top: 40px;
  margin-bottom: -40px;
}

@media(min-width:767px) {
  .overlay {
    background:transparent; 
    position:relative; 
    width:100%;
    height:400px; /* your iframe height */
    top:400px;  /* your iframe height */
    margin-top:-400px;  /* your iframe height */
  }
  
  #map {
    height: 400px;
  }
}

#hmv {
  display: none;
}

.glyphicon-refresh-animate {
  -webkit-animation: spin1 .9s infinite ease;
  -moz-animation: spin2 .9s infinite ease;
  -ms-animation: spin3 .9s infinite ease;
  -o-animation: spin4 .9s infinite ease;
  animation: spin5 .9s infinite ease;
}

@-webkit-keyframes spin1 {
  from { -webkit-transform: rotate(0deg);}
  to { -webkit-transform: rotate(360deg);}
}
@-moz-keyframes spin2 {
  from { -moz-transform: rotate(0deg);}
  to { -moz-transform: rotate(360deg);}
}
@-ms-keyframes spin3{
  from { -ms-transform: rotate(0deg);}
  to { -ms-transform: rotate(360deg);}
}
@-o-keyframes spin4 {
  from { -o-transform: rotate(0deg);}
  to { -o-transform: rotate(360deg);}
}

@keyframes spin {
  from { transform: scale(1) rotate(0deg);}
  to { transform: scale(1) rotate(360deg);}
}

/* FOOTER
-------------------------------------------------- */
#footer {
  -webkit-transition: -webkit-box-shadow .4s;
     -moz-transition: -moz-box-shadow .4s;
      -ms-transition: -ms-box-shadow .4s;
       -o-transition: -o-box-shadow .4s;
          transition: box-shadow .4s;
  -webkit-box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  -ms-box-shadow:     inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  -o-box-shadow:      inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow:         inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

#footer:hover {
  -webkit-box-shadow: 0px -5px 10px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    0px -5px 10px 0px rgba(0, 0, 0, 0.5);
  -ms-box-shadow:     0px -5px 10px 0px rgba(0, 0, 0, 0.5);
  -o-box-shadow:      0px -5px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow:         0px -5px 10px 0px rgba(0, 0, 0, 0.5);
}

footer {
  background-image: linear-gradient(#CCC, #FFF);
  min-height: 150px;
  margin-bottom: -50px;
  padding-top: 10px;
  opacity: 0.6;
  -webkit-transition: opacity .4s;
     -moz-transition: opacity .4s;
      -ms-transition: opacity .4s;
       -o-transition: opacity .4s;
          transition: opacity .4s;
}

footer:hover {
  opacity: 1;
}

.copy {
  margin-top: 100px;
}
.copy p { 
  font-size: 110px;
}
  
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    top: 50px;
    height: 50px;
  }
  .navbar-wrapper .navbar-primary {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
    margin-bottom: -20px;
  }

  .navbar-collapse ul {
    float: right;
  }
  
  .carousel {
    top: 50px;
  }
  
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .downloadBtn {
    width: auto;
    overflow: visible;
  }
  
  .featurette-heading {
    font-size: 50px;
  }
}
