/*
Theme Name: Alfredo Ghierra
Author: Pablo Revetria
Description: WP Theme excusive for Alfredo Ghierra
Version: 0.0.1
Tags: bootstrap
*/

body {
    width: 100%;
    height: 100%;
	
	background: #fff;
	color: #2f2f2f;
	font-family: 'EB Garamond', serif;
	font-size: 16px;
	
	overflow-x: hidden;
}

@media (min-width:990px){
}

body.obras {
	position: relative;
}

html {
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	-webkit-font-smoothing: antialiased !important;
	text-rendering: optimizeLegibility !important;
}

@media (min-width:768px){.container{width:100%}}
	
@media (min-width:980px){.container{width:100%}}

/*@media (min-width:1100px){.container{width:1000px}}*/

@media (min-width:1200px){.container{width:1100px}}

/* =Titles
--------------------------------------------------------------------------------------------------------*/

h1 {
	font-size: 20px;
}

@media (min-width: 768px) {
	h1 {
		font-size: 28px;
	}
}

h2 {
	font-size: 17px;
	font-weight: 700;
	color: #1f1f1f;
}
 
@media (min-width: 768px) {
	h2 {
		font-size: 22px;
	}
}

h3 {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

@media (min-width: 768px) {
	h3 {
		font-size: 16px;
	}
}

h4 {
	font-size: 16px;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	h4 {
		font-size: 18px;
	}
}

/* =Header
--------------------------------------------------------------------------------------------------------*/

.navbar {
	background: #fff;
	padding-left: 0;
	padding-right: 0;
}

.navbar.fixed-top {
	border-bottom: 1px solid rgba(0,0,0,0.09);
}

.navbar-brand {
	background: url(img/logo-ghierra.jpg) no-repeat center center;
	background-size: 73px 100px;
	width: 73px;
	height: 100px;
	text-indent: -3000px;
	margin: 10px 0;
}

/*@media only screen and (min-width : 1000px) {
	.navbar-brand {
		background: url(img/logo-ghierra.jpg) no-repeat center center;
		background-size: 152px 207px;
		width: 152px;
		height: 207px;
	}	
}*/

@media (min-width: 992px) {	
	/*.top-nav-collapse .navbar-brand  {
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-ms-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
		margin-top: 15px;
		background-size: 73px 100px;
		width: 73px;
		height: 100px;
	}*/

	.navbar-brand  {
		background-size: 120px 163px;
		width: 120px;
		height: 163px;
	}
}

/* Toggler */

.navbar-toggler {
	outline: none;
	color: #2f2f2f;
	border: none;
	background: transparent !important;
	margin: 0;
}

.navbar-toggler:hover,
.navbar-toggler:active,
.navbar-toggler:focus {
	outline: none;
}

.navbar-toggler .icon-bar {
	width: 22px;
	height: 2px;
	background-color: #2f2f2f;
	display: block;
	transition: all 0.2s;
	margin-top: 4px
}

.navbar-toggler .top-bar {
	transform: rotate(45deg);
	transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
	opacity: 0;
}

.navbar-toggler .bottom-bar {
	transform: rotate(-45deg);
	transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
	transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
	opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
	transform: rotate(0);
}

/* List */

.navbar-principal .navbar-nav li {
	padding: .5rem 0;
}

.navbar-principal .navbar-nav li a {
	color: #909090;
	font-weight: 300;
	font-size: 18px;
	text-decoration: none;
}

.navbar-principal .navbar-nav li.active a,
.navbar-principal .navbar-nav li.current-menu-item a {
	color: #2f2f2f;
	cursor: default !important;
	font-weight: 700;
}

.navbar-principal .navbar-nav li a:hover,
.navbar-principal .navbar-nav li a:focus {
	color: #2f2f2f;
}

/* Collapsed */

.navbar-collapse {
	background: #fff;
}

.navbar-collapse.show {
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}

@media (max-width: 767px){
	.navbar-collapse .navbar-nav li {
		padding: 10px 0 !important;
		text-align: center;
		width: 100%;
	}

	.navbar-collapse .navbar-nav li a {
		padding: 5px 0 !important;
		font-size: 16px;
	}
}

.navbar-collapse .navbar-nav li a {
	padding: 50px 0;
	display: block;
}

/* =Contact
--------------------------------------------------------------------------------------------------------*/

.contact {
	padding: 0;
}

.social {
	width: 100%;
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid rgba(0,0,0,0.09);
}

.contacto h3 {
    position: relative;
}

.contacto .social {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    position: absolute;
    right: 5px;
    top: 5px;
}

.social a {
	float: left;
	width: 25px;
	height: 25px;
	display: block;
	margin-right: 20px;
	opacity: 0.6;
	text-indent: -3000px;
}

.contacto .social a {
    margin: 0 0 0 20px;
}

.social a:hover {
	opacity: 1;
}

.social a.fb {
	background: url(svg/facebook.svg) no-repeat center center;
	background-size: 25px 25px;
}

.social a.ig {
	background: url(svg/instagram.svg) no-repeat center center;
	background-size: 25px 25px;
}

/* =Wrapper
--------------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {
	.wrapper {
		margin-top: 150px;
	}
}

/* =Sections
--------------------------------------------------------------------------------------------------------*/

section {
	padding: 5px 0 20px;	
}


@media (min-width: 992px) {	
	section {
		padding-top: 40px;
	}
}

@media (max-width: 991px) {
	/*.home main section {
		height: 100vh;
	}*/
}

.home main section {
	padding-top: 0;
}

main {
	padding: 10px !important;
}

@media (min-width: 992px) {
	main {
		padding: 0 10px 10px !important;
	}
}

main section img {
    max-width: 100%;
    height: auto;
    margin: 0 0 30px;
}

main section .item img {
	width: 100%;
}

.obras main section .item,
.esos-lugares-existen main section .item{
	width: calc(50% - 40px);
	height: 300px;
	overflow: hidden;
	float: left;
	padding: 20px;
	position: relative;
}

.obras main section .item img,
.esos-lugares-existen main section .item img {
	position: absolute;
}

/* Swiper
--------------------------------------------------------------------------------------------------------*/

.gallery-slider-cont {
    margin: 30px 0 60px;
    display: block;
	overflow: hidden;
}

.gallery-slider {
	display: block;
    width: 100%;
    border: none;
    margin: 0;
    box-sizing: border-box;
	height: 300px;
    width: 1px;
    min-width: 100%;
}

@media (min-width: 768px) {
	.gallery-slider {
		height: 90vh;
	}
}

.swiper-container {
	width: 100%;
	height: 100%;
}
	  
.swiper-slide {
	text-align: center;
	font-size: 11px;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: baseline;
	-ms-flex-align: baseline;
	-webkit-align-items: baseline;
	align-items: baseline;

	overflow: hidden;
	background: #fff;
	margin-bottom: 50px;
	height: calc(100% - 50px);
}

.gallery-slider.gray .swiper-slide {
	background: #f0f0f0;
}

.gallery-slider.dark .swiper-slide {
	background: #2f2f2f;
}

.swiper-slide p {
	color: #2f2f2f;
	font-size: 12px;
    line-height: 15px;
	position: absolute;
	bottom: 0;
	width: 40%;
	height: 50px;
	margin: 0;
}

.swiper-slide p.without-details i {
    padding-right: 0;
}

.swiper-slide p.without-details i::after {
    display: none !important;
}

@media (min-width: 768px) {
	.swiper-slide p {
	    width: 80%;
		bottom: 5px;
	}
}

.swiper-slide p i {
	font-size: 14px;
}

.swiper-slide p span {
}

@media (max-width: 767px) {
    .swiper-slide p,
    .swiper-slide p span,
    .swiper-slide p i {
    	display: block;
    	width: 100%;
    }
    
    .swiper-slide p span,
    .swiper-slide p i {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .swiper-slide p i::after {
        display: none;
    }
}


@media (min-width: 768px) {
    .swiper-slide p i {
        padding-right: 20px;
        position: relative;
    }
    
    .swiper-slide p i::after {
        position: absolute;
        width: 20px;
        content: ' - ';
    }
}

.gallery-slider.dark .swiper-slide p {
	color: #fff;
}

.swiper-slide p.left {
	left: 5px;
	text-align: left;
}

@media (min-width: 768px) {
	.swiper-slide p.left {
		left: 15px;
	}
}

.swiper-slide p.right {
	right: 5px;
	text-align: right;
}

@media (min-width: 768px) {
	.swiper-slide p.right {
		right: 15px;
	}
}

.swiper-slide img {
    height: calc(100% - 60px);
	top: 0;
}

@media (min-width: 992px) {
	.swiper-slide img {
		height: 89%;
	}
}

.swiper-pagination-progressbar {
	background: #2f2f2f !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: rgba(256,256,256,.8) !important;
}

.swiper-button-next,
.swiper-button-prev {
	width: 22px !important;
	height: 36px !important;
	background-size: 22px 36px !important;
}

.swiper-button-next, 
.swiper-container-rtl .swiper-button-prev {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%232f2f2f'%2F%3E%3C%2Fsvg%3E") !important; 
}

.swiper-button-prev, 
.swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%232f2f2f'%2F%3E%3C%2Fsvg%3E") !important;
}

.gallery-slider.dark .swiper-button-next, 
.gallery-slider.dark .swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E") !important;
}

.gallery-slider.dark .swiper-button-prev, 
.gallery-slider.dark .swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E") !important;
}

.gallery-slider.progressbar-bottom .swiper-container-horizontal > .swiper-pagination-progressbar, 
.gallery-slider.progressbar-bottom .swiper-container-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    bottom: 0;
    top: auto;
}

/* Footer
--------------------------------------------------------------------------------------------------------*/

footer {
	color: #999;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	padding: 25px 10px;
}

@media (min-width: 992px) {
	footer {
		text-align: left;
	}

	footer .col-12 {
		padding-left: 0 !important;
	}
}

/* Top */

.cd-top {
  	display: inline-block;
  	height: 30px;
  	width: 30px;
  	position: fixed;
  	bottom: 10px;
	right: 10px;
	z-index: 10;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: url('img/top.png') no-repeat center center;
	background-size: 30px 30px;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	   -moz-transition: opacity .3s 0s, visibility 0s .3s;
	        transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	   -moz-transition: opacity .3s 0s, visibility 0s 0s;
	        transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top:hover,
.cd-top.cd-fade-out:hover{
    opacity: 1;
}

.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .5;
}

.no-touch .cd-top:hover {
    opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
     right: 20px;
     bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
     right: 30px;
     bottom: 30px;
     height: 50px;
  	 width: 50px;
	 background-size: 50px 50px;
  }
}