@import url("my_sidebar.css");

/* --------------- ESTILS GENERALS ------------------- */
body {
	font-family: "Montserrat", Sans, sans-serif;
	color: #58585a;
	font-size: 1rem;
	line-height: 1.4rem;
	background-color: #fff;
	padding-top: 240px;
}
@media (max-width: 992px) {
	body {
		padding-top: 50px;
	}
}

h1 {
	font-size: 2.2rem;
}
/*@media (max-width : 992px) {
    h1 {
      font-size: 2.5rem;
    }
  }*/

/* fons */
.fonsColorA {
	background-color: #658d1b;
}
.fonsColorB {
	background-color: #454545;
}
.fonsColorC {
	background-color: #dddddd;
}
.fonsColorD {
	background-color: #565656;
}
.fonsColorE {
	background-color: #658d1b;
}

.fonsBlanc {
	background-color: #fff;
}
.fonsNegre {
	background-color: #000;
}

/* colors textes */
.txtColorA {
	color: #658d1b;
}

.txtBlanc {
	color: #fff;
}
.txtNegre {
	color: #000;
}
.txtGris {
	color: #888;
}

/* mides texte */
.txtSmall {
	font-size: 90%;
	line-height: 1.3em;
}
.txtSmall-80 {
	font-size: 80%;
	line-height: 1.3em;
}
.txtSmall-70 {
	font-size: 70%;
}
.txtSmall-60 {
	font-size: 60%;
}
.txtSmall-50 {
	font-size: 50%;
}
.txtSmall-40 {
	font-size: 40%;
}
.txtGran-10 {
	font-size: 110%;
}
.txtGran-20 {
	font-size: 120%;
}
.txtGran-60 {
	font-size: 160%;
}

/* ombres */
.text-shadow {
	text-shadow: 1px 2px 3px #222;
}

.w100x100 {
	width: 100%;
}

.btn-rounded {
	border-radius: 2rem;
}

/* taules */
.table th,
.table td {
	vertical-align: middle;
}

/* botons */
.btn-custom {
	color: #fff;
	border-color: #fff;
	text-transform: uppercase;
}
a:link.btn-custom {
	color: #fff;
}
a:visited.btn-custom {
	color: #fff;
}
a:hover.btn-custom {
	color: #fff;
}
a:active.btn-custom {
	color: #fff;
}
.btn-custom:hover {
	color: #fff;
	background-color: #658d1b;
	border-color: #fff;
}

/* --------------- CAPÇALERA ------------------- */
#barraNavSmall {
	height: auto;
}
.navbar-toggler {
	width: auto;
	height: auto;
	padding: 0;
	font-size: 1rem;
	cursor: pointer;
}

#capsalera,
#idiomes,
#menuNavegacio {
	transition: all 1s ease;
}
#divLogoCap img {
	transition: all 1s ease;
}

/* nav superior */
#menuNavegacioSup li {
	line-height: normal;
	text-transform: uppercase;
	padding: 0.2em 1.4em;
}
#menuNavegacioSup li:last-child {
	padding-right: 0;
}

/* nav serveis */
#menuNavegacio {
	/*padding: .6rem 0 0 0;*/
}
#menuNavegacio li {
	font-size: 0.9em;
	line-height: normal;
	padding: 0 1.1em;
	font-weight: bold;
}
#menuNavegacio li:last-child {
	padding-right: 0;
}
@media (max-width: 1200px) {
    #menuNavegacio li {
        font-size: 0.8em;
        padding: 0 0.4em;
    }
}

#separadorCap {
	height: 6px;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.4);
}

/* -------------- INICI --------------------- */
#containerSlideShow {
	position: relative;
}
#inici {
	height: 420px;
}
#overlaySlideShow {
	position: absolute;
	width: 60%;
	height: 420px;
	top: 0;
	z-index: 999;
	-webkit-clip-path: circle(100% at 0 0);
	        clip-path: circle(100% at 0 0);
	background-color: #658d1b;
}
@media (max-width: 992px) {
	#inici {
		height: 200px;
	}
	#overlaySlideShow {
		display: none;
	}
}

#contingutOverlay {
	padding-left: 250px;
}

#overlaySlideShow h1 {
	text-transform: uppercase;
	color: #fff;
	font-size: 2rem;
	line-height: 3rem;
	font-weight: bold;
}

@media (max-width: 1800px) {
	#contingutOverlay {
		padding-left: 150px;
	}
}
@media (max-width: 1200px) {
	#overlaySlideShow {
		width: 60%;
	}

	#contingutOverlay {
		padding-left: 50px;
	}
}

#parallax {
	/*min-height: 700px;*/
}
.parallax-window .h1Paralax {
	font-size: 3.4em;
	text-transform: uppercase;
}
@media (max-width: 768px) {
	.parallax-window .h1Paralax {
		font-size: 2.4em;
	}
}

/* ------------- seccions ----------------- */
.fonsLogoSeccions {
	background: url(../img/logo-fons-seccions.png) 280px 250px no-repeat;
}
@media (max-width: 1400px) {
	.fonsLogoSeccions {
		background-position: 100px 160px;
	}
}
@media (max-width: 1200px) {
	.fonsLogoSeccions {
		background-position: 50px 160px;
	}
}
@media (max-width: 992px) {
	.fonsLogoSeccions {
		background-position: 0px 160px;
	}
}
@media (max-width: 768px) {
	.fonsLogoSeccions {
		background-position: 0px 260px;
	}
}

/* ------------- contacte ----------------- */
#contacteMapa {
	height: 500px;
}

.fonsDadesContacte {
	background: url(../img/logo-fons-seccions.png) center no-repeat #454545;
	background-size: auto 150%;
}

.formError .formErrorContent {
	font-size: 1rem;
	padding: 1rem;
}

/* -------------- PEU ----------------------*/
#peuPagina {
	position: relative;
}
#peuSup {
	position: absolute;
    margin: auto;
    min-width: 200px;
    height: 115px;
	top: -20px;
	right: 0;
    background: url('/img/fons-segells-peu.png') top left no-repeat;
}
@media (max-width: 768px) {
    #containerEnllaçosPeu {
        margin-top: 90px;
    }
    #peuSup img {
        height: 40px;
    }
}

#segellsPeu {
    background: url('/img/fons-segells-peu.png') top left no-repeat;
}

/* -------------- ENLLAÇOS ---------------- */
/* genèric */
a {
	text-decoration: none;
}
a:link {
	color: #545454;
}
a:visited {
	color: #545454;
}
a:hover {
	color: #000000;
	text-decoration: none;
}
a:active {
	color: #000000;
}

a.link_nav {
	text-decoration: none;
}
a:link.link_nav {
	color: #565656;
}
a:visited.link_nav {
	color: #565656;
}
a:hover.link_nav {
	color: #000000;
}
a:active.link_nav {
	color: #000000;
}

a.link_blanc {
	text-decoration: none;
}
a:link.link_blanc {
	color: #fff;
}
a:visited.link_blanc {
	color: #fff;
}
a:hover.link_blanc {
	color: #d6d6d6;
}
a:active.link_blanc {
	color: #fff;
}

/* ########################### plugins ################################# */
/****************************** slideshows *******************************/
.slideShow_fotos {
	width: 100%;
	margin: 10px auto 60px auto;
}
.slideShow_fotos img {
	margin-right: 10px;
}
/* controls slideshow */
.prevButton,
.nextButton {
	position: absolute;
	display: block;
	top: 48%;
	margin: -30px;
	z-index: 10;
	cursor: pointer;
	/*color: #d7040d;*/
}
#prevButton_fotos i,
#nextButton_fotos i,
#prevButton_fotos2 i,
#nextButton_fotos2 i {
	font-size: 2.5em;
	color: #023b69;
}
#prevButton_fotos i:hover,
#nextButton_fotos i:hover,
#prevButton_fotos2 i:hover,
#nextButton_fotos2 i:hover {
	color: #333;
}
.nextButton {
	right: 15px;
}

/* dots (per slide del VEGAS a la home) -> els posiciono al final de la home amb JS a l'index.php */
.slick-dots {
	position: absolute;
	top: 0;
	display: block;
	width: 100%;
	padding: 0;
	list-style: none;
	text-align: center;
}
.slick-dots li {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 0px;
	padding: 0;
	cursor: pointer;
}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 20px;
	height: 20px;
	padding: 5px;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
	outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
	opacity: 1;
	color: #01c6e9;
}
.slick-dots li button:before {
	font-family: "slick";
	font-size: 4rem;
	line-height: 16px;
	line-height: 1rem;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	content: "-";
	text-align: center;
	opacity: 1;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
	opacity: 1;
	color: #01c6e9;
}

/* lightGallery */
.lg-backdrop.in {
	/* sobreescribim alguns estils que hem modificat al carousel per .in */
	background-color: #000;
	border: none;
	margin: 0;
	padding: 0;
	opacity: 0.9;
}
/* efecte zoom i lupa al fer hover sobre l'imatge */
.demo-gallery > div > div > a {
	display: block;
	overflow: hidden;
}

.demo-gallery > div > div a > img {
	transition: transform 0.15s ease 0s;
	transform: scale3d(1, 1, 1);
	height: 100%;
	width: 100%;
}

.demo-gallery > div > div a:hover > img {
	transform: scale3d(1.1, 1.1, 1.1);
}

.demo-gallery > div > div a:hover .demo-gallery-poster > img {
	opacity: 1;
}

.demo-gallery > div > div a .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 0.15s ease 0s;
}

.demo-gallery > div > div a .demo-gallery-poster > img {
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	opacity: 0;
	position: absolute;
	top: 50%;
	top: 50%;
	transition: opacity 0.3s ease 0s;
}

.demo-gallery > div > div a:hover .demo-gallery-poster {
	background-color: rgba(0, 0, 0, 0.3);
}

/************ serveis hover effect *****************************/
/* from https://miketricking.github.io/bootstrap-image-hover/ */
.hovereffect {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	text-align: center;
	background: #000;
	cursor: pointer;
}

.hovereffect .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
}

.overlay div {
	position: absolute;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
}

.hovereffect img {
	display: block;
	position: relative;
	max-width: none;
	width: calc(100% + 20px);
	transition: opacity 0.35s, transform 0.35s;
	transform: translate3d(-10px, 0, 0);
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	opacity: 0.6;
}

.hovereffect:hover img {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
