@import url('https://fonts.googleapis.com/css?family=Cabin+Condensed:400,500,700');

body { overflow-x: hidden; font-family: 'Cabin Condensed', sans-serif;}

p { line-height: 1.75; }

a { color: #BBAAAA; }

a:hover { color: #E50029; }

.text-primary { color: #AF636A !important; }

h1, h2, h3, h4, h5, h6 { font-weight: 700;}

section { padding: 2rem 0; }


@media (min-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

.btn { font-weight: 700; }

.btn-primary {
  background-color: RGBA(224, 12, 35, 0.80);
  border:none;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: RGBA(224, 12, 35, 1.00) !important;
  color: white;
    border:none;

}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
    border:none;

}

#mainNav {
  background-color: #333236;
}

#mainNav .navbar-toggler {
  font-size: 11px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #db3336;
font-weight: 500;
}

#mainNav .navbar-brand {
color: transparent;
background: transparent url(img/logo-san-pablo.svg) 0 3px no-repeat;
background-size: 100% auto;
width:300px;
height:100px;
}

@media (max-width: 1200px) {

#mainNav .navbar-brand {
  background: transparent url(img/logo-san-pablo.svg) 0 2px no-repeat;
  background-size: 100% auto;
  width:220px;
  height:100px;
}
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
color: transparent;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 75%;
  font-weight: 600;
  padding: 1em 0;
  letter-spacing: 1px;
  color: silver;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fff;
}

@media (min-width: 1200px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.5em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #333236;
  }
  #mainNav.navbar-shrink .navbar-brand {
  color: transparent;
  background: transparent url(img/logo-san-pablo.svg) 0 2px no-repeat;
  background-size: 100% auto;
  width:180px;
  height:70px;
  }
}


header.masthead img{
    width:75%; 
    height:auto;
    opacity: 0.7;
    filter: alpha(opacity=70);    
  }

header.masthead_small img{
    width:50%; 
    height:auto;   
  }

@media (orientation: portrait) {

  header.masthead img{
    width:90%; 
    height:auto;
  }

header.masthead_small img{
    width:70%; 
    height:auto;   
  }

}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  } 

  header.masthead_small {
    height: 20vh;
    min-height: 200px;
    padding-top: 0;
    padding-bottom: 0;
  } 
}

#productos .productos-item {
  right: 0;
  margin: 0 0 15px;
  border-radius: 9px;
}

#productos .productos-item .productos-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#productos .productos-item .productos-link img{
  border-radius: 9px 9px 0 0;
}

#productos .productos-item .productos-link .productos-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: RGBA(41, 111, 175, 0.9);
  border-radius: 9px 9px 0 0;

}

#productos .productos-item .productos-link .productos-hover:hover {
  opacity: 1;
}

#productos .productos-item .productos-link .productos-hover .productos-hover-content {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -35px;
  text-align: center;
  color: white;
}

#productos .productos-item .productos-link .productos-hover .productos-hover-content img {
  height:auto;
  width:40px;
  margin:0;
}

#productos .productos-item .productos-link .productos-hover .productos-hover-content h3,
#productos .productos-item .productos-link .productos-hover .productos-hover-content h4 {
  margin: 0;
}

#productos .productos-item .productos-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  background-color: #fff;
  border-radius: 0 0 9px 9px;
}

#productos .productos-item .productos-caption h6 {
  margin: 0;
  text-transform: none;
  font-size:0.8rem;
  min-height: 3rem;
  vertical-align: middle;
}

#productos .productos-item .productos-caption p {
  font-size: 0.75rem;
  margin: 0;
}

#productos * {
  z-index: 2;
}

@media (min-width: 767px) {
  #productos .productos-item {
    margin: 0 0 30px;
  }
}

.productos-modal {
  padding-right: 0px !important;
    background-color: #333236;
}

.productos-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;

}

.productos-modal .modal-content {
  padding: 100px 0 0 0;
  text-align: center;
}

.productos-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.productos-modal .modal-content h5 {
  font-size: 1.1em;
}

.productos-modal .modal-content p {
  margin-bottom: 30px;
}

.productos-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
}

.productos-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.productos-modal .modal-content img {
  margin-bottom: 30px;
}

.productos-modal .modal-content button {
  cursor: pointer;
}

.productos-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
  z-index:9999;
}

.productos-modal .close-modal:hover {
  opacity: 0.3;
}

.productos-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.productos-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}


section#contactos {
  background-color: #fff;
}

section#contactos .section-heading {
  color: #fff;
}

section#contactos .form-group {
  margin-bottom: 25px;
}

section#contactos .form-group input,
section#contactos .form-group textarea {
  padding: 20px;
}

section#contactos .form-group input.form-control {
  height: auto;
}

section#contactos .form-group textarea.form-control {
  height: 248px;
}

section#contactos .form-control:focus {
  border-color: #fed136;
  box-shadow: none;
}

section#contactos ::-webkit-input-placeholder {
  font-weight: 700;
  color: #ced4da;
}

section#contactos :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  /* Firefox 18- */
}

section#contactos ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  /* Firefox 19+ */
}

section#contactos :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
}


footer img{
  max-width: 11rem;
  height:auto;
}

footer .small {
  letter-spacing: 0.1em;
  font-weight: 300;
}

footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  color: RGBA(174, 17, 39, 1.00);
  border-radius: 100%;
  outline: none;
  background-color: RGBA(255, 255, 255, 0.75);
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: RGBA(255, 255, 255, 1);
}



hr{
  max-width: 1.5rem;
  border:2px solid RGBA(224, 12, 35, 1.00);
  margin-bottom: 2.5rem;
}

hr.lefty{
  max-width: 1.5rem;
  border:2px solid RGBA(224, 12, 35, 1.00);
  margin-left:0;
}


.san-pablo{
  background:RGBA(209, 206, 222, 1.00) url('img/bg-san-pablo.jpg') center 0 no-repeat;
  background-size:auto 100%;
  border-radius: 9px;
}

.budapest{
  background:RGBA(202, 187, 177, 1.00) url('img/bg-budapest.jpg') center 0 no-repeat;
  background-size:auto 100%;
  border-radius: 9px;  
}

.la-piara{
  background:RGBA(144, 108, 79, 1.00) url('img/bg-la-piara.jpg') center 0 no-repeat;
  background-size:auto 100%;
  border-radius: 9px;
}

img.quienes-somos{
  border-radius: 10px;
  margin-bottom: 2rem;
}

h2{
  font-size:1.5rem;
}

/* Carousel base class */
.carousel {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 28rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}


table, .table, .table-hover, .table-responsive{
  border-top:none;
}

.formulario{
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%, #161616 100%), url("img/bg-form.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  margin-bottom:30px;
  border-radius: 5px;
}

.table-borderless td,
.table-borderless th {
    border: 0;
}

.img-catalogo{
  max-width:40%;
  height:auto;
}

@media (orientation: portrait) {
.img-catalogo{
  max-width:95%;
  height:auto;
}
}

.logo-de-marca{
	max-width:90px;
	height:auto;
}

@media (orientation: portrait) {
	.logo-de-marca{
		max-width:50%;
		height:auto;
	}
}

.comunas span::after{
  content:", ";
}

.wp-button{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.wp-icon-center{
	margin-top:16px;
}