/* 

Page One Template

https://templatemo.com/tm-504-page-one

*/

body {
	/*font-size: 21px;	*/
	font-size: 18px;	
	overflow-x: hidden;
}

body,button,.form-control {
	color: #606368;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
	font-weight: 400;	
}

button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.container-fluid { 
	padding-left: 0; 
	padding-right: 0;
	overflow-x: hidden;
}

.tm-flex { display: flex; }

.tm-section {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

button:focus { outline: none; }

p { 
	line-height: 1.8;
	margin-bottom: 50px;
}

.tm-section-title {
	font-size: 2.6rem;
    margin-bottom: 2rem;	
}

.tm-site-title-wrap {
	padding-top: 80px;
	padding-bottom: 100px;
}

.tm-site-title { 
	border: 2px solid #888481;
	color: #676362;
	display: inline-block;
	font-size: 3rem; 
	padding: 30px 40px;
}

.tm-textbox {
	/*max-width: 600px;*/
	width: 100%;
	padding: 50px;
	overflow: auto;
}

.tm-textbox-full-height { min-height: 950px; }

.tm-white-bg {
	background-color: white;
	color: #676362;
}

.tm-translucent-white-bg { background-color: rgba(255,255,255,0.58); }
.tm-semitranslucent-white-bg { background-color: rgba(255,255,255,0.90); }

.tm-btn,.tm-btn:visited {
	display: block;
	float: right;
	text-align:center;
	font-size: 1.8rem;
	font-weight: 300;
	color: white;
	/*background-color: #983333;*/
	background-color: #333333;
	padding: 15px 30px;
	cursor: pointer;
	border: none;
}

.tm-btn:hover,.tm-btn:focus {
	color: #333333;
	/*background-color: #c9302c;*/
	background-color:#FFFFFF ;
}


/* BOF -  ############################################################################################################################################   */

.tm-textbox-secundario {
	/*max-width: 600px;*/
	width: 100%;
	padding: 20px 50px 20px 50px;
	overflow: auto;
}



.tm-btn-right,.tm-btn-right:visited {
	display: block;
	margin-right:30px;
	float: right;
	font-size: 1.8rem;
	font-weight: 300;
	color: white;
	/*background-color: #983333;*/
	background-color: #333333;
	padding: 15px 30px;
	cursor: pointer;
	border: none;
	text-align:center;
}

.tm-btn-right:hover,.tm-btn-right:focus {
	color: #333333;
	/*background-color: #c9302c;*/
	background-color:#FFFFFF ;
}

.link-empresa,link-empresa:visited{
	font-size:21px;
	color:#333;
	text-decoration:none;}
.link-empresa:hover{
	color:#333;
	font-weight:bold;
	text-decoration:none;}
	
	


.titol-nosaltres{
	font-size:160%;
	color:#333333;
	/*font-size:1.6em;*/
	text-decoration:underline;
	cursor:pointer;
}
.titol-nosaltres-inactiu{
	font-size:160%;
	color:#333333;
	/*font-size:1.6em;*/
}

.tm-gris-text { color: #333333; }


.logo{
	width:65%;
	max-width:520px;
}
	
	
/* EOF -  ############################################################################################################################################   */


.tm-orange-text { color: #FF6600; }
.tm-green-text { color: #96C700; }
.tm-blue-text { color: #3690FD; }
.tm-red-text { color: #983333; }

.tm-content-box {
	overflow: auto;
	height: 100%;
	max-width: 600px;
	width:  100%;
	padding: 180px 60px 100px;	
	display: -ms-flexbox;	
	display: -webkit-flex;	
	display: flex;   
	-webkit-flex-direction: column;   
	    -ms-flex-direction: column;   
	        flex-direction: column;
}

.tm-gallery-content { padding-top: 180px; }

.tm-content-box-right {
	margin-left: auto;
	margin-right: 0;
}

.tm-small-font { font-size: 1rem; }

.tm-page-content-width {
	max-width: 1200px;
	margin: 0 auto;	
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;	
}

.tm-padding-b {	padding-bottom: 80px; }
.tm-page-content-width,.tm-content-box { min-height: 1150px; }

.tm-flex-col {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-direction: column;
        -webkit-flex-direction: column;
            flex-direction: column;    
}

.tm-media-icon {
	margin-right: 30px;
	margin-bottom: 0;
}

/* IE fix */
.tm-media-body { 
	flex: 1 1 auto; 
	width: 100%; 
}

/* Gallery */
.tm-section-gallery { min-height: 1100px; }
.filter-wrapper { padding-left: 0; }
.filter-wrapper li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-wrapper li:last-child { margin-right: 0; }

.filter-wrapper li a {
	background-color: white;
    color: #666;
    font-weight: 400;
    padding: 6px 20px;    
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.filter-wrapper li a.selected { 
	background-color: #666666; 
	color: white;
}
.iso-box {
    position: relative;
    min-height: 50px;
    float: left;
    overflow: hidden;
    margin-bottom: 15px;
    padding-left: 8px;
    padding-right: 8px;
}
.iso-box-section {
	margin-left: -8px;
    margin-right: -8px;
}

/* Contact */
.form-control {
	background-color: transparent;
	border-radius: 0;
	font-size: 1.15rem;
	padding: .9rem 1.25rem;
}

.form-control:focus {
	background-color: transparent;
	border-color: #983333;
}

.form-group { margin-bottom: 1.2rem; }
.tm-section-contact { position: relative; }

.tm-copyright-div {	
	color: #333333;
	display: inline-block;
	padding: 30px 35px;
	position: absolute;
    bottom: 0;
    right: 0;    
}

.tm-copyright-text { 
	font-size: 1.18rem;
    margin-bottom: 0;
    font-weight: 300;
}

.tm-copyright-text a {
	color: #333333;
}

/* Media Queries */
@media screen and (max-width: 991px) {
	/* TABLET VERTICAL */
	.tm-gallery-content { padding-top: 150px; }
	.tm-section-gallery { min-height: 900px; }
	.tm-page-content-width,.tm-content-box { min-height: 1200px;	}


	/* BOF -  ############################################################################################################################################   */
	
		.tm-btn,.tm-btn:visited {
			margin:2px 0 2px 0;
			float:left;
			width:100%;
			background-color: #333333;
			display: block;
			
			/*float: right;*/
			font-size: 1.8rem;
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
		.tm-btn:hover,.tm-btn:focus {
			color: #333333;
			/*background-color: #c9302c;*/
			background-color:#FFFFFF ;
		}
		
		.tm-btn-right,.tm-btn-right:visited {
			width:100%;
			float:left;
			display: block;
			margin:2px 0 2px 0;
			
			/*float: right;*/
			font-size: 1.8rem;
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			background-color: #333333;
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
		
		.tm-btn-right:hover,.tm-btn-right:focus {
			color: #333333;
			/*background-color: #c9302c;*/
			background-color:#FFFFFF ;
		}
		
	/* EOF -  ############################################################################################################################################   */

}

@media screen and (max-width: 767px) {
	/* S9-TAMBÉ */
	.tm-gallery-content { padding-top: 100px; }
	.tm-content-box { padding: 100px 60px 100px; }
	.tm-section-gallery { min-height: 1050px; }	
	.tm-page-content-width,.tm-content-box { min-height: 1050px;	}
	.tm-site-title-wrap {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	
	
	
	
	
	
}

@media screen and (max-height: 639px) {
	/* S9-HORITZONTAL-TAMBÉ */
	.tm-section-home { min-height: 100%; }
		.tm-btn-right,.tm-btn-right:visited {
			width:100%;
			float:left;
			display: block;
			margin:2px 0 2px 0;
			
			/*float: right;*/
			font-size: 1.8rem;
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			background-color: #656565;
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
}

@media screen and (max-width: 575px) {
	/* S9-VERTICAL-TAMBÉ */
	.tm-gallery-content {padding-bottom: 150px;}	
	.tm-section-home { min-height: 100%; }
		.tm-btn-right,.tm-btn-right:visited {
			width:100%;
			float:left;
			display: block;
			margin:2px 0 2px 0;
			
			/*float: right;*/
			font-size: 1.4rem;
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			background-color: #FFFFFF;
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
		
		
		
	/* BOF -  ############################################################################################################################################   */
		
		.tm-btn,.tm-btn:visited {
			display: block;
			float: right;
			text-align:center;
			font-size: 1.4rem;
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			background-color: #333333;
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
		
		.tm-btn:hover,.tm-btn:focus {
			color: #333333;
			/*background-color: #c9302c;*/
			background-color:#FFFFFF ;
		}
		
		.logo{
			width:95%;
			max-width:520px;
		}
		
		.link-empresa,link-empresa:visited{
			font-size:17px;
			color:#333;
			text-decoration:none;}
		.link-empresa:hover{
			color:#333;
			font-weight:bold;
			text-decoration:none;}
		body {
			/*font-size: 21px;	*/
			font-size: 16px;	
			overflow-x: hidden;
		}
			

		.tm-textbox {
			/*max-width: 600px;*/
			width: 100%;
			padding: 22px;
			overflow: auto;
		}		
		
		.tm-content-box {
			overflow: auto;
			height: 100%;
			max-width: 600px;
			width:  100%;
			padding: 120px 22px 100px;	
			display: -ms-flexbox;	
			display: -webkit-flex;	
			display: flex;   
			-webkit-flex-direction: column;   
				-ms-flex-direction: column;   
					flex-direction: column;
		}
		
		.tm-section-title {
			font-size: 1.6rem;
			margin-bottom: 2rem;	
		}
		
		
		.tm-copyright-div {
			display:none;
		}
		

	/* EOF -  ############################################################################################################################################   */
}

@media screen and (max-width: 420px) {
	/* S9-VERTICAL */
	.tm-section-home { min-height: 100%; }
		.tm-btn-right,.tm-btn-right:visited {
			width:100%;
			float:left;
			display: block;
			margin:2px 0 2px 0;
			
			
			/*font-size: 1.4rem;*/
			font-weight: 300;
			color: white;
			/*background-color: #983333;*/
			background-color: #333333;
			padding: 15px 30px;
			cursor: pointer;
			border: none;
		}
	.tm-media {
		flex-direction: column;
		align-items: center;
	}

	.tm-media-icon {
		margin-right: 0;
		margin-bottom: 30px;
	}
}
