@charset "utf-8";
/* CSS Document */

/*Aply & disaply classes------------------------------------------------------------------------------------------------------------------------------------*/
.lang {
	text-decoration: none;
	color: #FFF;
	transition: ease-in-out 0.1s;
}

.lang:hover {
	color: #B74A36;
}

.hide {
	display: none;
}

.low {
	text-transform: lowercase;
}

.up {
	text-transform: uppercase;
}

.line_a {
	border-bottom: 1px solid #CCC;
	margin-bottom: 2em;
}

.line_b {
	border-bottom: 1px solid #CCC;
	margin-bottom: 3em;
}

.current {
	background: #571E16 !important;
}

.noMarginB {
	margin-bottom: 0px !important;
}

/*Floats------------------------------------------------------------------------------------------------------------------------------------------*/

.fl {
	float: left;
}

.fr {
	float: right;
}

/*Clears left & right-----------------------------------------------------------------------------------------------------------------------------*/
.cl {
	clear: left;
}

.cr {
	clear: right;
}

.cb {
	clear: both;
}

/*Clearfix-----------------------------------------------------------------------------------------------------------------------------------------*/

.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after {
	clear: both;
}

/*--------------------------------------------------------------------General styles--------------------------------------------------------------*/
* {
	font-family: "Ubuntu", sans-serif;
}

body {
	margin: 0px;
	background-color: #1F1B16;
}

header, .headerLogo, .headerContent, nav, .navContent, .pageBackground, .footerTop, .footerBottom {
	margin: 0 auto;
}

/*Encabezado--------------------------------------------------------------------------------------------------------------------------------------*/

header {
	color: white;
	background: url(../_imagenes/fondo.jpg) no-repeat center top;
}

.headerLogo {
	height: 94px;
}

img[src*="logo_gm_encabezado"] {
	height: 70px !important;
	width: auto !important;
}

.headerLogo div {
	float: left;
	height: 93px;
}

.headerLogo div:first-of-type {
	border-right: 1px solid #272727;
}

.headerLogo div + div {
	border-left: 1px solid #3C3C3C;
}

.headerLogo div + div p:first-of-type {
	font-style:italic;
	font-size: 16px;
	color: #9A9A9A;
	width: 305px;
	margin: 29px 20px;
	float: left;
}

.headerLogo div + div p + p {
	margin: 34px 0;
	font-size: 20px;
	font-weight: 300;
	float: right;
	color: #FFF;
}
	

.headerLogo div:first-of-type img {
	padding: 8px 0;
}

.imgEncabezado {
	width: 978px;
	border: 1px solid #585858;
	margin: 20px 0;
	box-shadow: 7px 7px 16px rgba(0,0,0,0.7);
}

.imgEncabezado img {
	width: 100%;
	height: auto;
}

/*Slideshow---------------------------------------------------------------------------------------------------------------------------------------*/

.rslides {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rslides_container {
	margin: 20px 0;
	position: relative;
	float: left;
	border: 1px solid #585858;
	box-shadow: 7px 7px 16px rgba(0,0,0,0.7);
}
  
.rslides_container img {
	width: 100%;
	height: auto;
}

.centered-btns_nav {
	z-index: 3;
	position: absolute;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	top: 50%;
	left: 0;
	opacity: 0.7;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 61px;
	width: 38px;
	background: transparent url(../_imagenes/themes.gif) no-repeat left top;
	margin-top: -45px;
}

.centered-btns_nav:active {
	opacity: 1.0;
}

.centered-btns_nav.next {
	left: auto;
	background-position: right top;
  	right: 0;
}

.large-btns_nav {
	z-index: 3;
	position: absolute;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	opacity: 0.6;
	text-indent: -9999px;
	overflow: hidden;
	top: 0;
	bottom: 0;
	left: 0;
	background: #000 url(../_imagenes/themes.gif) no-repeat left 50%;
	width: 38px;
}

.large-btns_nav:active {
	opacity: 1.0;
}

.large-btns_nav.next {
 	left: auto;
	background-position: right 50%;
	right: 0;
}


/*Menu principal----------------------------------------------------------------------------------------------------------------------------------*/
nav {
	height: 93px;
	background: url(../_imagenes/nabvar_bgr.jpg) no-repeat center;
	box-shadow: 0px 8px 12px rgba(0,0,0,0.6);
	position: relative;
}

.navContent {
	height: 93px;
}

#menuPrincipal {
	list-style: none;
	margin: 0 5px;
	padding: 0;
}

#menuPrincipal li {
	float: left;
	height: 89px;
	margin-top: 2px;
	background: url(../_imagenes/menu_border_right.png) right no-repeat, url(../_imagenes/menu_border_left.png) left no-repeat; 
}

#menuPrincipal li:first-child {
	background: url(../_imagenes/menu_border_right.png) right no-repeat;
}

#menuPrincipal li:last-child {
	background: url(../_imagenes/menu_border_left.png) left no-repeat;
}
	
#menuPrincipal li a {
	display: block;
	padding: 31px 18px;
	font-size: 22px;
	color: #FEFEFE;
	font-weight: 300;
	letter-spacing: 1px;
	text-decoration: none;
	transition: ease-in-out 0.2s;
	
}

#menuPrincipal li a:hover {
	background: #901111;
}

.pageBackground {
	background: #F3F3F3;
	border-top: 1px solid #F3F3F3;
	border-bottom: 1px solid #F3F3F3;
} 


/*Footer------------------------------------------------------------------------------------------------------------------------------------------*/
footer {
	height: 151px;
	background: url(../_imagenes/footer_background.gif) repeat-x;
}

.footerTop div {
	float: left;
	height: 72px;
	margin: 19px 0 13px 0;
	border-left: 1px solid #3E3E3E;
	border-right: 1px solid #222;
}

.footerTop div:first-child {
	border-left: none;
	padding-left: 0;
}

.footerTop div:last-child {
	border-right: none;
	padding-right: 0;
	padding-left: 48px;
}

.footerTop div:nth-child(2) p, .footerTop div:nth-child(3) p {
	margin: 27px auto;
	color: #6D6D6D;
}

.footerTop div:nth-child(3) p {
	background: url(../_imagenes/icono_email.png) no-repeat left 85%;
}

.footerBottom div p {
	color: #6D6D6D;
}

.footerBottom div + div {
	margin-top: 10px;
}

/*Page Content Styles-----------------------------------------------------------------------------------------------------------------------------*/
.pageContent {
	margin: 3em auto;
}

.pageContent h1 {
	font-size: 3em;
	font-weight: 700;
	color: #B74A36;
	margin: 0 auto;
}

.pageContent h2 {
	font-size: 28px;
	font-weight: 500;
	color: #333;
	margin: 1.8em auto 10px auto;
}

.pageContent h2.testimonialHeader {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:28px;
	font-style: italic;
	color: #787673;
	margin: 0 auto 1em auto;
}

.testimonialContainers {
	padding: 3em 0;
	border-top: 1px solid #c2c2c2;
	border-bottom: 1px solid #FFFFFF;
}

.testimonialContainers:first-of-type {
	border-top: none;
}

.testimonialContainers:last-of-type {
	border-bottom: none;
}

.pageContent h2.testimonialHeader:first-of-type {
	border: none;
	padding-top: 0;
}


/* General P Fonts and stuff */
.pageContent p {
	font-size: 16px;
	color: #9A9A9A;
	font-weight: 300;
	text-align: justify;
}

.pageContent p.testimonialP {
	font-style: italic;
}

.topText p {
	font-size: 18px;
}

.topText p.up {
	font-size: 26px;
	font-weight: 400;
	color: #9A9A9A;
	margin: 0 auto;
}

h1 + p {
	font-size: 1.1em;
	font-weight: 500 !important;
}

h1 + p > a:link, h1 + p > a:visited {
	text-decoration: none;
	color: #B24837;
	transition: ease-in-out 0.1s;
}

h1 + p > a:hover {
	color: #900;
}

img[src*="testimonial"], img[src*="projects"] {
	padding: 3px;
	border: 1px solid #C4C4C4;
}

/*Proyectos---------------------------------------------------------------------------------------------------------------------------------------*/
.projectsLink {
	text-align: right;
	margin-top: 0;
}

.projectsLink a:link, .projectsLink a:visited {
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	color: #787673;
	transition: ease-in-out 0.2s;
}

.projectsLink a:hover {
	color: #B24837;
	padding-right: 20px;
	background: url(../_imagenes/go.svg) no-repeat right;
}

.topProjects {
	float: left;
	position: relative;
	width: 302px;
	height: 485px;
	margin-bottom: 3em;
}

div.topProjects:nth-child(7) {
	margin: 0 37px;
}

.topProjects h3 {
	font-size: 26px;
	font-weight: 500;
	color: #797874;
	margin: .8em auto;
}

.topProjects p {
	font-size: 1em;
	line-height: 1.6em;
}

.topProjects .moreButtons {
	position: absolute;
	left: 0;
	bottom: 0;
}

.moreButtons:link, .moreButtons:visited {
	text-decoration: none;
	color: #FFF;
	padding: 10px 18px;
	margin-top: 1em;
	border-radius: 3px;
	background: #45484d;
	background: -moz-linear-gradient(top, #B56254 0%, #92362B 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #B56254), color-stop(100%, #92362B));
	background: -webkit-linear-gradient(top, #B56254 0%, #92362B 100%);
	background: -o-linear-gradient(top, #B56254 0%, #92362B 100%);
	background: -ms-linear-gradient(top, #B56254 0%, #92362B 100%);
	background: linear-gradient(to bottom, #B56254 0%,#92362B 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#B56254", endColorstr="#92362B",GradientType=0 );
}
 
.moreButtons:hover {
	background: #CF3520;
	background: -moz-linear-gradient(top, #CF3520 0%, #8F190B 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#CF3520), color-stop(100%, #8F190B));
	background: -webkit-linear-gradient(top, #CF3520 0%, #8F190B 100%);
	background: -o-linear-gradient(top, #CF3520 0%, #8F190B 100%);
	background: -ms-linear-gradient(top, #CF3520 0%, #8F190B 100%);
	background: linear-gradient(to bottom, #CF3520 0%,#8F190B 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#CF3520", endColorstr="#8F190B",GradientType=0 );
}

.topTestimonial {
	width: 100%;
	margin: 0 auto;
	position: relative;
	background: url(../_imagenes/quotes.svg) no-repeat 26% 0%;
}

.topTestimonial img, img[src*="testimonial"] {
	margin-right: 1.6em;
}

.topTestimonial p {
	font-size: 18px;
	color: #797874;
	font-family: Georgia, "Times New Roman", Times, serif;
}

.topTestimonial p:first-of-type {
	font-size: 30px;
	margin: 0 auto auto auto;
}

.topTestimonial .moreButtons {
	position: absolute;
	right: 0;
	bottom: 0;
}	

img[src*="about_1"] + p {
	font-size: 16px;
}

.recuadroBlanco {
	width: 298px;
	height: 196px;
	border: 1px solid #B1B1B1;
	background: #FFF;
}

.recuadroBlanco p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 19px;
	font-style: italic;
	margin: 0.5em 1em;
}

.recuadroBlanco p + p {
	font-size: 0.8em;
	font-style: normal;
	margin-left: 10em;
}

.projectsContainer {
	width: 100%;
	margin: 2em auto;
}

.projectsContainer:first-of-type {
	margin-top: 0;
}

.projectsContainer .topProjects {
	margin: 1em 0 2em 0;
	height: 435px;
}

.projectsContainer .topProjects h3 {
	font-size: 22px;
	color: #9A9A9A;
}

/*Photoswipe---------------------------------------------------------------------------------------------------------------------------------------*/
body.ps-active  {
	-webkit-text-size-adjust: none;
	overflow: hidden;
}

body.ps-active *  { 
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

body.ps-active *:focus  { 
	outline: 0; 
}

/* Document overlay */
div.ps-document-overlay  {
	background: #000;
}

/* Viewport */
div.ps-viewport  {
	background: #000;
	cursor: pointer;
}

/* Zoom/pan/rotate layer */
div.ps-zoom-pan-rotate {
	background: #000;
}

/* Slider */
div.ps-slider-item-loading  { 
	background: url(../_imagenes/photoswipe-loader.gif) no-repeat center center; 
}

/* Caption */
div.ps-caption { 
	background: #000000;
	background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
	border-bottom: 1px solid #42403f;
	color: #ffffff;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
}

div.ps-caption-bottom { 
	border-top: 1px solid #42403f;
	border-bottom: none;
}

div.ps-caption-content {
	padding: 13px;
}

/* Toolbar */
div.ps-toolbar { 
	background: #000000;
	background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
	border-top: 1px solid #42403f;
	color: #ffffff;
	font-size: 13px;
	font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
	text-align: center;
	height: 44px;
	display: table;
	table-layout: fixed;
}

div.ps-toolbar-top  {
	border-bottom: 1px solid #42403f;
	border-top: none;
}

div.ps-toolbar-close, div.ps-toolbar-previous, div.ps-toolbar-next, div.ps-toolbar-play {
	cursor: pointer;
	display: table-cell;
}

div.ps-toolbar div div.ps-toolbar-content {
	width: 44px;
	height: 44px;
	margin: 0 auto 0;
	background-image: url(../_imagenes/photoswipe-icons.png);
	background-repeat: no-repeat;
}

div.ps-toolbar-close div.ps-toolbar-content {
	background-position: 0 0;
}

div.ps-toolbar-previous div.ps-toolbar-content {
	background-position: -44px 0;
}

div.ps-toolbar-previous-disabled div.ps-toolbar-content {
	background-position: -44px -44px;
}

div.ps-toolbar-next div.ps-toolbar-content {
	background-position: -132px 0;
}

div.ps-toolbar-next-disabled div.ps-toolbar-content {
	background-position: -132px -44px;
}

div.ps-toolbar-play div.ps-toolbar-content {
	background-position: -88px 0;
}


/*Gallery*/
.galleryH {
	font-size: 24px !important;
	font-weight: 200 !important;
	padding: 15px 0;
	border-top: 1px solid #A6A6A6;
	border-bottom: 1px solid #A6A6A6;
}

#projects-gallery a, #gallery a {
  	display: block;
  	width: 100%;
  	float: left;
  	margin-left: 0;
  	margin-right: 0;
  	margin: 15px 0;
}

#projects-gallery a img, #gallery a img {
	width: 100%;
  	display: table;
  	max-width: 100%;
  	border: 5px solid #FFFFFF;
  	transition: opacity 0.4s;
}

@media (min-width: 480px) {
	.galleryH {
		font-size: 28px !important;
		font-weight: 200;
	}
  	#projects-gallery a:nth-of-type(1n), #gallery a:nth-of-type(1n) {
    	width: 48.5714285714%;
    	float: left;
    	margin-right: 2.8571428571%;
  	}
  	#projects-gallery a:nth-of-type(2n), #gallery a:nth-of-type(2n) {
    	width: 48.5714285714%;
    	float: right;
    	margin-right: 0;
  	}
}

@media (min-width: 1024px) {
  	#projects-gallery a:nth-of-type(1n), #gallery a:nth-of-type(1n) {
   	 	width: 31.4285714286%;
   		float: left;
    	margin-right: 2.8571428571%;
  	}
  	#projects-gallery a:nth-of-type(3n), #gallery a:nth-of-type(3n) {
    	width: 31.4285714286%;
    	float: right;
    	margin-right: 0;
  	}	
}

@media (min-width: 480px) {
  	#projects-gallery a img, #gallery a img {
    	width: 100%;
  	}
}

#projects-gallery a img:hover, #gallery a img:hover {
  	opacity: 0.8;
}

/*Contact-----------------------------------------------------------------------------------------------------------------------------------------*/
#contact {
	color: #91908a;
	font-size: 20px;
}

#contact label {
	margin-left: 1px;
	font-weight: 300;
}

.contactContainer {
	background: #e2e2da;
	padding: 30px;
	position: relative;
}

.topForm, .bottomForm {
	margin-bottom: 40px;
	
}

.topForm div, .bottomForm div {
	display: inline-block;	
	margin: 0 9px;
}


.contactForm {
	width: 586px;
	height: 506px;
	background: #F5F5F5;
	padding: 12px;
	border: 12px solid #e8e8e6;
}

.contactForm h2 {
	margin: 0 auto 18px auto;
	padding: 0 12px;
	font-size: 24px;
	color: #91908a;
}

.textField {
	font-weight: 300;
	padding: 4px;
	width: 260px;
	font-size: 18px;
	margin-top: 8px;
}

.messageForm {
	margin: 0px 9px;
}

#message {
	margin-top: 8px;
	width: 560px;
	height: 160px;
}

.submitter {
	margin: 10px auto;
	position: relative;
}

.submitter div {
	display: inline-block;
}

#submitBtn {
	cursor: pointer;
	background: #655451; /* Old browsers */
	background: -moz-linear-gradient(top,  #655451 0%, #4b3937 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#655451), color-stop(100%,#4b3937)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #655451 0%,#4b3937 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #655451 0%,#4b3937 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #655451 0%,#4b3937 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #655451 0%,#4b3937 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#655451', endColorstr='#4b3937',GradientType=0 ); /* IE6-9 */
	border-radius: 3px;
	color: #FFF;
	width: 148px;
	height: 36px;
	border: none;
	font-size: 18px;
}

#submitBtn:hover {
	background: #8e5e55; /* Old browsers */
	background: -moz-linear-gradient(top,  #8e5e55 0%, #6b3833 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8e5e55), color-stop(100%,#6b3833)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #8e5e55 0%,#6b3833 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #8e5e55 0%,#6b3833 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #8e5e55 0%,#6b3833 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #8e5e55 0%,#6b3833 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8e5e55', endColorstr='#6b3833',GradientType=0 ); /* IE6-9 */
}


.borderSubmit {
	width: 188px;
	border-top: 1px dashed #9f9f9d;
	padding-bottom: 5px;
}

.contactData {
	width: 254px;
	height: 544px;
	background: #cbc9c1;
	position: absolute;
	right: 30px;
	top: 30px;
}

.contactData div {
	text-align: center;
	margin: 40px auto;
}

.contactData div span {
	font-size: 4em;
}

.contactData div p {
	font-size: 20px;
}


.contactData div span, .contactData div p {
	display: inline-block;
	color: #333;
}

/* Sent */

p.sent {
	width: 400px;
	max-width: 90%;
	margin: 1em auto;
	font-size: 28px;
	text-align: center !important;
}

.sent-continue {
	display: inline-block;
}

/*Pátzcuaro*/

h2.inter {
	margin: 28px auto 10px auto;
}


/*Project (individual)*/
.projectSlideContainer {
	width: 591px;
}

.projectSlide {
	width: 585px;
	padding: 0px;
}

.projectSlide .rslides_container {
	border: 1px solid #C2C2C2;
	margin: 20px 0px;
	padding: 3px;
	max-width: 100%;
	height: 392px;
	box-shadow: none;
}

.projectSlide .rslides_container .centered-btns_nav.next {
	margin-right: 4px;
}

.projectSlide .rslides_container .centered-btns_nav.prev {
	margin-left: 4px;
}

.pn.cf {
	width: 100%;
	max-height: 50px;
	border-top: 1px solid #C2C2C2;
	border-bottom: 1px solid #C2C2C2;
}

.pn.cf div p {
	font-size: 20px;
	margin: 13px auto;
}

.pn.cf div p a {
	color: #86140A;
	text-decoration: none;
	transition: ease-in-out 0.2s;
}

.pn.cf div p a:hover {
	color: #C81E0F;
}
	

.pn.cf div:first-child {
	float: left;
}

.pn.cf div:last-child {
	float: right;
}
/*Desktop styles----------------------------------------------------------------------------------------------------------------------------------*/
@media only screen 
and (min-width : 1024px) {
	
#formMenu, #menuSalto {
	display: none;
}

#menuSalto

header, nav, .pageBackground, footer {
	max-width: 1920px;
}

.headerLogo, .headerContent, .navContent, .pageContent, .footerTop, .footerBottom {
	width: 980px;
}

.headerLogo div:first-of-type {
	width: 178px;
}

.headerLogo div + div {
	width: 800px;
}

.footerTop div:nth-child(3) p {
	padding-left: 40px;
	padding-right: 5px;
}

.footerTop div:nth-child(4) {
	display: none;
}

.footerTop div {
	padding: 0 42px;
}

.rslides_container {
	width: 978px;
	height: 423px;
}

.container1 {
	float: left;
	width: 300px;
	text-align: justify;
}

.container2, .container3 {
	float: left;
	width: 640px;
}

.projectsContainer .topProjects:nth-child(2) {
	margin: 1em 37px 2em 37px;
}

img[src$="_portrait.jpg"] {
	display: none !important;
}

.pageContent p.testimonialP {
	font-size: 18px;
	line-height: 1.5em;
}

img[src*="about_1"], img[src$="about_2.jpg"], img[src*="about_3"], img[src$="patzcuaro_1.jpg"], img[src$="patzcuaro_4.jpg"], img[src$="patzcuaro_6.jpg"], img[src$="patzcuaro_7.jpg"] {
	float: right;
	margin: 19px 0 0 1.6em;
}

img[src$="patzcuaro_5.jpg"] {
	margin-top: 2px;
}

img[src$="patzcuaro_2.jpg"], img[src$="patzcuaro_3.jpg"] {
	width: 298px;
	height: 274px;	
}

img[src$="patzcuaro_3.jpg"] {
	margin: auto 40px;
}

img[src$="patzcuaro_1.jpg"] {
	margin: 1em 0px 0px 1em;
}

img[src$="patzcuaro_2.jpg"], img[src$="patzcuaro_3.jpg"] {
	margin-top: 1em;
}

.projectSlideContainer {
	float: left;
	margin-right: 1em;
}

.projectTxt {
	width: 364px;
	float: right;
}
}

/*Tablet Landscape*/
@media only screen 
and (min-width : 998px) 
and (max-width : 1023px) {
	
#formMenu, #menuSalto {
	display: none;
}	

.headerLogo, .headerContent, .navContent, .pageContent, .footerTop, .footerBottom  {
	width: 980px;
}

.headerLogo div:first-of-type {
	width: 178px;
	padding-left: 10px;
}

.headerLogo div + div {
	width: 780px;
}

.footerTop div:nth-child(3) p {
	padding-left: 40px;
	padding-right: 5px;
}

.footerTop div:nth-child(4) {
	display: none;
}

.footerTop div {
	padding: 0 42px;
}

.rslides_container {
	width: 978px;
	height: 423px;
}

.projectsContainer .topProjects:nth-child(2) {
	margin: 1em 37px 2em 37px;
}

.container1 {
	float: left;
	width: 300px;
}

.container2, .container3 {
	float: left;
	width: 640px;
}

img[src$="_portrait.jpg"] {
	display: none !important;
}

img[src*="about_1"], img[src$="about_2.jpg"], img[src*="about_3"], img[src$="patzcuaro_1.jpg"], img[src$="patzcuaro_4.jpg"], img[src$="patzcuaro_6.jpg"], img[src$="patzcuaro_7.jpg"] {
	float: right;
	margin: 19px 0 0 1.6em;
}

img[src$="patzcuaro_5.jpg"] {
	margin-top: 2px;
}
.flex-fix {
	display: table
}
	
.flex-fix img {
	float: none;
	display: inline-block;
	width: 45%;
	margin: 0 8% 0 0 !important;
}

.flex-fix img:last-child {
	margin-right: 0 !important;
}	

img[src$="patzcuaro_3.jpg"] {
	margin: auto 40px;
}

img[src$="patzcuaro_1.jpg"] {
	margin: 1em 0px 0px 1em;
}

.projectSlideContainer {
	float: left;
	margin-right: 1em;
}

.projectTxt {
	width: 364px;
	float: right;
}	
}

/*Tablet Portrait*/
@media only screen 
and (min-width : 768px) 
and (max-width : 997px) {
	
#menuPrincipal, .recuadroBlanco, .footerTop div:nth-child(2) , .footerTop div:nth-child(3), div.topProjects:nth-child(8) {
	display: none;
}	
	
.headerLogo, .headerContent, .navContent, .footerTop, .footerBottom  {
	width: 740px;
}

.headerLogo div:first-of-type {
	width: 178px;
	padding-left: 0;
}

.headerLogo div + div {
	width: 560px;
}

.pageContent {
	width: 710px;
}

.footerTop div {
	padding: 0 58px;
}

.footerTop div:nth-child(4) p {
	margin: 0.8em auto;
	color: #6D6D6D;
}

.rslides_container {
	width: 740px;
	height: 320px;
}	

.imgEncabezado {
	width: 740px;
}

#menuSalto {
	-webkit-appearance: none;
	border-radius: 0;
	width: 740px;
	height: 39px;
	margin: 0.9em 0;
	color: #562119;
	font-size: 2em;
	font-family: "Ubuntu", sans-serif;
	border: 1px solid #562119;
	background: url(../_imagenes/fondo_salto.svg) no-repeat;
	background-size: auto;
}	

#menuSalto:hover {
	background: url(../_imagenes/fondo_salto_hover.svg) no-repeat;
}

#menuSalto {
	font-size: 2em !important;
}

div.topProjects:nth-child(6) {
	margin: 0 13px 2em 0;
}

div.topProjects:nth-child(7) {
	margin: 0 0 2em 14px;
}

.topTestimonial {
	background: url(../_imagenes/quotes.svg) no-repeat 38% 0%;
}

.topTestimonial p + p {
	font-size: 16px;
}

img[src*="testimonial"] {
	margin-bottom: .5em;
}

img[src*="about_1"], img[src*="about_3"] {
	margin: 1em auto;
	width: 100%;
	height: auto;
}

img[src$="about_2.jpg"], img[src$="patzcuaro_1.jpg"], img[src$="patzcuaro_4.jpg"], img[src$="patzcuaro_5.jpg"], img[src$="patzcuaro_6.jpg"], img[src$="patzcuaro_7.jpg"]  {
	display: none;
}

img[src$="about_2_portrait.jpg"] {
	float: right;
	margin: 1em 0 0 1.6em;
}

.flex-fix img {
	float: none;
	display: inline-block;
	width: 45%;
	margin: 0 8% 0 0 !important;
}

.flex-fix img:last-child {
	margin-right: 0 !important;
}	

.container2 {
	float: left;
	width: 51%;
}

.container3 {
	float: none;
	width: 100%;
}

.topProjects {
	width: 340px !important;
	height: 500px;
}

.topProjects img {
	width: 336px;
	height: 274px;
}

.projectsLink a:hover {
	background: none;
	padding: 0;
}

#pageContent .projectsContainer:first-of-type {
	float: left;
	width: 344px;
	margin: 0;
}

#pageContent .projectsContainer:last-of-type {
	float: right;
	width: 344px;
	margin: 0;
}

.projectsContainer .topProjecst {
	float: none;
}

.pageContent p.testimonialP {
	font-size: 16px;
	line-height: 1.4em;
}

img[src$="patzcuaro_1_portrait.jpg"], img[src$="patzcuaro_4_portrait.jpg"], img[src$="patzcuaro_6_portrait.jpg"], img[src$="patzcuaro_7_portrait.jpg"] {
	max-width: 100%;
	margin: 1em auto 0.5em auto;
}

img[src$="patzcuaro_2.jpg"] {
	margin-top: 1em;
}

img[src$="patzcuaro_3.jpg"] {
	margin: 1em 24px auto 0px;
}

.contactData {
	display: none;
}

.projectSlideContainer {
	float: none;
	margin: auto;
}

.projectTxt {
	width: 100%;
	float: none;
}
	.aboutUpdate .wtf {
		display: none;
	}
}
.footerTop div:nth-child(5) img {
		display: none;
	}
	
	.footerTop div:nth-child(5) p {
		display: block;
		color: #6D6D6D;
	}
	
	.footerTop div:nth-child(5) p span {
		position: relative;
		font-size: 25px;
		top: 4px;
	}
@media only screen and (min-width: 768px) {
	.imgEncabezado img[src*="phone"] {
		display: none;
	}
}
@media only screen and (min-width: 480px) {
	.slider-1 {
		max-width: 100%;
	}
	.slider-1 img {
		max-width: 100%;
	}
	.slider-2 {
		display: none;
	}
}
@media only screen 
and (min-width : 480px) 
and (max-width : 767px) {
	.lang {
		max-width: 30% !important;
	}
	#contact .topForm, #contact .bottomForm {
		width: 100%
	}
	#contact .topForm div, #contact .bottomForm div {
		margin: 0;
		padding: 0;
		width: 100%
	}
	#contact .topForm div input, #contact .bottomForm div input {
		width: 100%;
	}
	
	.locationUpdate img {
		max-width: 100%;
		margin-bottom: 30px;
		display: block;
	}
	.flex-fix {
		width: 100%;
		text-align: center;
	}
	.flex-fix img {
		float: none;
		display: inline-block;
		width: 45%;
		margin: 0 8% 0 0 !important;
	}
	
	.flex-fix img:last-child {
		margin-right: 0 !important;
	}
	
	.locationUpdate img[src*="_1.jpg"], 
	.locationUpdate img[src*="_4.jpg"],
	.locationUpdate img[src*="_5.jpg"],
	.locationUpdate img[src*="_6.jpg"],
	.locationUpdate img[src*="_7.jpg"] {
		display: none;
	}
	
	.aboutUpdate img[src*="_2_"] {
		display: block;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.aboutUpdate .recuadroBlanco {
		display: none;
	}
}
@media only screen 
and (min-width : 320px) 
and (max-width : 479px) {
	.slider-1 {
		display: none
	}
	.slider-2 {
		max-width: 600px;
	}
	
	/*
	.imgEncabezado {
		width: 90%;
		height: auto;
		margin: 0 auto 2em auto;
	}
	*/
	
	.locationUpdate img {
		float: none !important;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	.locationUpdate img[src*="_1.jpg"], 
	.locationUpdate img[src*="_4_"],
	.locationUpdate img[src*="_5.jpg"],
	.locationUpdate img[src*="_6.jpg"],
	.locationUpdate img[src*="_7_"] {
		display: none;
	}
	
	.aboutUpdate img[src*="_2_"] {
		width: 100%;
	}
}
@media only screen 
and (min-width : 320px) 
and (max-width : 767px) {
	.pageContent p {
		text-align: left;
		font-size: 20px;
	}
	.lang {
		border: 1px solid #787878;
		padding: 5px;
		margin: 10px auto;
		display: block;
		max-width: 45%;
	}
	.imgEncabezado {
		display: none !important;
	}
	/*Template*/
	img[src*="logo_gm_encabezado"] {
		height: 70px !important;
		width: auto !important;
	}
	.slider-2 {
		margin: 0 auto 20px auto !important;
		max-width: 100%;
	}
	.headerLogo {
		text-align: center;
		height: auto;
	}
	.headerLogo div {
		display: block;
		float: none;
	}
	.headerLogo div p {
		float: none !important;
		margin: 15px auto !important;
	}
	
	.headerLogo div + div {
		height: auto !important;
	}
	
	.headerLogo div + div p:first-of-type {
		display: none;
		visibility: hidden;
	}
	.headerContent img {
		display: table;
	}
	.imgEncabezado img {
		max-width: 100%;
		height: auto;
	}
	.imgEncabezado img:first-of-type {
		display: none;
	}
	#menuPrincipal {
		display: none;
	}
	#menuSalto {
		border-radius: 0;
		width: 90%;
		height: 39px;
		margin: 0.9em 0;
		color: #562119;
		font-size: 2em;
		font-family: "Ubuntu", sans-serif;
		border: 1px solid #562119;
		background-size: auto;
	}		
	
	#menuSalto {
		font-size: 2em !important;
		text-align: center;
	}
	#menuSalto option {
		background: #DFDFDF;
		text-align: left;
	}
	#pageContent {
		max-width: 90%;
	}
	#pageContent > * {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	h1 {
		font-size: 2.4em !important;
		text-align: center;
	}
	
	h1.welcomeH {
		font-size: 1.6em !important;
		margin: 0 auto 1em auto;
	}
	
	h1 + p {
		text-align: center !important;
	}
	
	h2 {
		font-size: 24px !important;
		text-align: center !important;
	}
	
	.topText .up {
		font-size: 1.2em !important;
		text-align: center;
		margin: 1em auto;
	}
	
	footer {
		height: auto !important;
	}
	
	.footerTop {
		background: #303030;
	}
	
	.footerTop div {
		float: none !important;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.footerTop div:nth-child(3) p {
		padding-left: 30px !important;
	}
	.footerTop div:nth-child(4) {
		display: none;
	}
	
	.footerTop div:nth-child(5) {
		padding: 0;
	}
	
	.footerTop div p {
		margin: 0 !important;
	}
	
	.footerBottom {
		background: #1C1C1C;
		text-align: center
	}
	
	.footerBottom div {
		width: 100%;
		display: inline-block;
		float: none !important;
	}
	
	.footerBottom div:last-child {
		padding-bottom: 30px;
	}
	
	[class*='container'] {
		padding: 0 15px;
	}
	
	[class*='_container'], [class*='-container'] {
		padding: 0;
	}
	
	/* Home */
	
	.topTestimonial {
		background: none;
	}
	
	img[src*="testimonial_top"] {
		max-width: 100%;
		margin: 0 auto 30px auto;
		display: block;
		float: none;
		border: none;
	}
	
	img[src*="testimonial_top"] + p {
		font-size: 1.6em;
		text-align: center;
	}
	
	.topTestimonial .moreButtons {
		display: block;
		width: 50%;
		max-width: 200px;
		margin: 30px auto;
		text-align: center;
		position: static;
	}
	
	/*contact*/
	.contactContainer {
		padding: 10px;
	}
	.contactForm {
		height: auto;
		margin-left: auto;
		margin-right: auto;
	}
	.contactForm, #contact, #contact * {
		max-width: 100%;
		box-sizing: border-box;
	}
	#contact .topForm, #contact .bottomForm {
		margin-bottom: 0;
	}
	#contact .topForm div, #contact .bottomForm div {
		margin: 0;
		padding: 0;
	}
	#contact .topForm div input, #contact .bottomForm div input {
		margin-bottom: 30px;
		padding: 12px 5px;
	}
	#contact .borderSubmit {
		display: none;
	}
	.contactData {
		display: none;
	}
	
	/*Testimonials*/
	.testimonialContainers {
		max-width: 95% !important;
		padding: 2em 0;
	}
	
	.testimonialContainers img {
		border: none;
		display: block;
		float: none;
		margin: 1em auto;
		max-width: 100%;
	}
	
	.testimonialHeader {
		font-size: 22px !important;
		text-align: center;
	}
	
	/*Patzcuaro*/
	.locationUpdate img {
		max-width: 100%;
		margin-bottom: 30px;
	}
	
	.locationUpdate img + img, .locationUpdate img[src*="_4."] {
		margin-bottom: 0 !important;
	}
	
	/*about*/
	.aboutUpdate p {
		text-align: left;
	}
	.aboutUpdate img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
		padding: 0 15px;
	}
	
	.aboutUpdate img[src*="_2.jpg"] {
		display: none;
	}
	
	.aboutUpdate .wtf {
		display: none;
	}
	
	.aboutUpdate .recuadroBlanco {
		display: none;
	}
}