/*

Neaty HTML Template

http://www.templatemo.com/tm-501-neaty

*/
body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	overflow-x: hidden;
	margin:0;
}

.tm-site-name {
    font-size: 0.8rem;
    margin-top: 40px;
}

a, button { transition: all 0.3s ease; }
a, a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}
.description p{
	 width: 350px; 
word-wrap: break-word;
}
ul.images {
  margin: 0;
  padding: 0;
  white-space: nowrap;
  width: 350px;
 overflow-x: auto; /*Hay que activar esta propiedad para que haya scroll*/
  background-color: #000;
  float: left;
margin: 0 20px 0 0;
padding: 0;
display: inline-block;
}

ul.images li {
	display: inline;
} 
ul.images p {
	width: inherit;
	white-space: normal;
}
/* Si esta propiedad esta activa solo se vera la barra de scroll cuando pongamos el cursor encima*/
/*ul.images:hover {
  overflow-x: auto;
}*/
ul.images li {
  display: inline;
  
}
.container{
	padding-top: 30px;
}
.row { display: block; }
.tm-left-right-container { 
	width: 100%; }

.tm-blue-bg {
	background-color: white;
	color: black;
	padding-top: 30px;
}

.proyectos{
	white-space: nowrap;
    overflow-x: auto; /*Hay que activar esta propiedad para que haya scroll*/

}

/* Si esta propiedad esta activa solo se vera la barra de scroll cuando pongamos el cursor encima*/
/*.proyectos:hover {
  overflow-x: auto;
}*/


/*Si esta propiedad esta activa no se mostraran las barras de scroll*/
::-webkit-scrollbar{
	display: none;
}

.tm-blue-text {	color: black; }
.tm-blue-bg a {	color: #e0e0e0; }

.tm-site-name {
	font-size: 0.8rem;
	margin-top: 40px;
	
}

/* .tm-logo-div { 
	padding-top: 40px; 
	padding-bottom: 40px;
} */

img, video {
	margin-top: 10px;
}

/*.tm-main-nav { display: none; }*/

.tm-main-nav-ul {
	display: inline-block;
	padding-left: 0px;
	margin-left:0px;
	list-style: none;
}

.tm-section { margin-bottom: 30px; }
.tm-welcome-title {	font-size: 0.8rem; }
.tm-section-title {	font-size: 0.8rem; }
.tm-content-div { padding: 0px; }
.tm-margin-b-45 { margin-bottom: 45px; }
.tm-margin-b-30 { margin-bottom: 30px; }
p { line-height: 1.3; }

.tm-right-column p {
	margin-bottom: 0;
	color: black;
}

.tm-button {
	background-color: #006599;
	border: none;
	color: white;
	cursor: pointer;
	display: inline-block;
	font-size: 0.8rem;	
	padding: 18px 35px;
}

.tm-button-wide { padding: 18px 40px; }

.tm-button:hover,
.tm-button:active,
.tm-button:focus {
	background-color: black;
	color: white;
}

.photography a {
	color: #333FFF !important;
	text-decoration: none;
} 


.tm-main-nav{
	width: max-content;
}


.tm-nav-item:hover a,
.tm-nav-item:active a,
.tm-nav-item:focus a,
.tm-nav-item-link.active {
	color: black;
}

.tm-about-img-container { margin-top: 50px; }

.tm-gallery-container {
	overflow: auto;
	margin-left: -5px;
	margin-right: -5px;
}

.tm-img-container {	float: left; }

.tm-img-container-1,
.tm-img-container-2,
.tm-img-container-3 { 
	margin-bottom: 10px;
	width: 50%; 
}

.tm-img-tn {
	padding-left: 5px;
	padding-right: 5px;
}

.tm-img-tn {
	display: block;
	margin: 0 auto;
}

.tm-contact-right { margin-top: 40px; }

.form-control {
	border-color: #0a6697;
	border-radius: 0;
	color: #4286ab;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #4286ab !important;
}
 
input:-moz-placeholder,
textarea:-moz-placeholder { /* Firefox 18- */
	color: #4286ab !important;  
}
 
input::-moz-placeholder,
textarea::-moz-placeholder {  /* Firefox 19+ */
	color: #4286ab !important;  
}
 
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {  
	color: #4286ab !important;  
}


.tm-contact-right{

	padding-left: 30px;
}

.contact p {
	margin-right: 30px;
}

.contact { 
	width:100%;
	position: absolute;
	bottom:0;
	background-color: black;
	margin-top: 10px;
	padding-bottom: 30px; }

.hr-top {
	margin-left: 30px;
	margin-right: 30px;
	border-top: 1px solid rgb(0, 0, 0); 
	margin-top: 0.2em;

}

.hr-bottom {
	margin-left: 30px;
	margin-right: 30px;
	border-top: 1px solid rgb(0, 0, 0); 
	margin-bottom: 0.2em;

}

.based{
	margin-left: 30px;
} 

.logo p{
	margin-bottom:0px;
}

hr{
	margin-right: 30px;
	border-top: 1px solid rgb(0, 0, 0); 
	margin-bottom: 0.1em;


} 

.mail, .information {
	float: right;
	margin-right: 30px;

}
.mail a, .information a, footer a, .tm-site-name a{
	color: black;

}

.tm-content-div a {
	color:black;
}  

.bio p {
	cursor: pointer;
	font-size: 0.8rem;
	line-height: 1.3 !important;
	list-style: none;
	padding: 3px 30px;
	margin-bottom: 0;

}

.tm-copyright-p { 
	padding-left:0px;
	font-size: 0.8rem;
	bottom:0; 
	line-height: 1.5 !important;
	
}

footer{
	position: absolute;
	padding-bottom: 20px;
} 
footer p{
	margin:0;
}


/* Media Queries */
@media (max-width: 900px) {
	.tm-left-right-container{
		padding: 0px !important;
		margin: 0 !important;
	}
	.container{
		margin: 0 !important;
		width: 100% !important;
	}
	.row{
		margin: 0 !important;
	}
	.contact{
		position: relative;
		/*display:none;*/
	}
/*	.tm-site-name, .information, .hr-top{
		margin-right: 0 !important;
		margin-left: 0 !important;
	}*/
}
@media (min-width: 250px) {
	
	.tm-site-name { 
		
		margin-left: 30px; }
	
}
@media (min-width: 450px) {
	.container { width: 100%; }
	.tm-site-name { 
		margin-top: 35px;
		margin-left: 30px; }
	.tm-welcome-title { font-size: 0.8rem; }
	.tm-img-container-1 { width: 10%; }
	.tm-img-container-2 { width: 45%; }
	.tm-img-container-3 { width: 45%; }
}

@media (min-width: 768px) {
	.tm-about-img-container { margin-top: 0; }

}

@media (max-width: 575px) {
	.tm-nav-item {display: table-caption !important; }
	.proyectos {padding: 15px;}
	.tm-main-nav {margin: auto !important;}
}



@media (min-width: 900px) {
	.tm-main-nav {
		display: flex;
		justify-content: center;

	}

	.tm-left-column { 
		position: fixed; 
		height: 100%;
	}

	.container { width: 100%; }
	.tm-left-column { width: 52%; }

	.tm-right-column {
		float: right;
		width: 48%;
		padding: 30px 30px 30px 0;
	}

	.tm-nav-item{
		cursor: pointer;
		font-size: 0.8rem;
		line-height: 1;
		list-style: none;
		padding: 3px 30px;
		transition: all 0.3s ease;
	}
	.photography{
		cursor: pointer;
		font-size: 0.8rem;
		line-height: 1;
		list-style: none;
		padding: 3px 30px;
		transition: all 0.3s ease;
		display: flex;
		justify-content: left;
	}

	


	.tm-site-name {
	    font-size: 0.8rem;
	    margin-top: 25px;
	}

	.tm-logo-div {
	    padding-top: 50px;
	    padding-bottom: 50px;
	}

	.tm-section { margin-bottom: 100px; }

	.tm-content-div { padding: 0px 0px 25px 0px;	}

	.tm-img-container-1 {
		margin-bottom: 10px;
		width: 33.3334%;
	}

	.tm-img-container-2 {
		margin-bottom: 10px;
		width: 50%;
	}

	.tm-img-container-3 {
		margin-bottom: 10px;
		width: 33.3333%;
	}

	.tm-contact-right { margin-top: 0; }
}

@media (min-width: 1200px) {		
	.container { width: 100%; }	
	.tm-button-wide { padding: 18px 68px; }
	.tm-img-container-1 { width: 20%; }
	.tm-img-container-2 { width: 33.3333%; }
	.tm-img-container-3 { width: 25%; }
	.tm-contact-right { padding-left: 42px; }
}

@media (min-width: 1500px) {	
	.container { width: 100%; }
	p { margin-bottom: 30px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (min-width: 1800px) {
	.container,
	.tm-left-right-container {
	    width: 100%;
	}

	p { margin-bottom: 36px; }

	.tm-gallery-container {
		overflow: auto;
		margin-left: -10px;
		margin-right: -10px;
	}

	.tm-img-container-1 { width: 20%; }

	.tm-img-tn {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-height: 860px) {
	.tm-logo-div {
	    padding-top: 45px;
	    padding-bottom: 20px;
	}

	.photography, .tm-nav-item { font-size: 0.8rem; }

	.tm-site-name {
		font-size: 0.8rem;
		font-weight:300;
		margin-top: 0px;
	}
	

}

@media (min-height: 859px) {
	.tm-logo-div {
	    padding-top: 100px;
	    padding-bottom: 300px;
	}

	.photography, .tm-nav-item { font-size: 0.8rem; }
}
