/*******************************************************************************
 *              Afiladuría Técnica México CSS styles
 *      Author: Francisco "Pacho" Gonzalez
 *  Created on: Jul 2015
 *    Last Mod: Feb 2016
 *     Project: Afiladuría Técnica México
 *   Copyright: Espacios de México 2015 Copyright
 *******************************************************************************/

/* Globals */
body{
	font-size: 12pt;
}
a{
	color: #22211a;
}
a:hover{
	color: #ee1c24
}
.su-button span:hover{
	color: #fff !important;
}
.atmcustom1{
	font-family: 'Open Sans', arial, sans-serif;
}

/* Generals */
.itemid-101 #sp-main-body{
	display: none;
	visibility: hidden;
}

.entry-header h2[itemprop="name"]{
	padding-bottom: 15px;
	margin: 40px 0 20px;
	border-bottom: 1px solid #eee;
	font-family: Open Sans, sans-serif;
	font-weight: 800;
	font-size: 36px;
	text-transform: uppercase;
}

/* Row positions */
#sp-top-bar{
	padding: 0;
}
#sp-footer{
	font-size: 10pt;
	line-height: inherit;
	border-top: 1px solid #22211a;
}
	#sp-footer1 p{
		text-align: left;
	}

/* Menu */
.sp-megamenu-parent >li >a{
	font-family: 'Open Sans', arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	padding: 0 8px;
}
.sp-megamenu-parent >li.active >a,
.sp-megamenu-parent >li >a:hover{
	background-color: #ee1c24;
	color: #fff;
}
	/* Off canvas */
	#offcanvas-toggler{
		display: none;
	}
	.close-offcanvas{
		color: #fff;
		background: #ee1c24;
		width: 100%;
		top: 0;
		left: 0;
		height: 40px;
		border-radius: 0;
		line-height: 35px;
		font-size: 25px;
		border: none;
	}
	.close-offcanvas:hover {
		color: #ee1c24;
		background: #fff;
	}
	.offcanvas-menu .offcanvas-inner{
		padding-top: 40px;
	}
	.offcanvas-menu .offcanvas-inner .sp-module ul > li a{
		border-bottom: 1px solid #ee1c24;
		color: #ee1c24;
	}
	.offcanvas-menu .offcanvas-inner .sp-module ul > li a:hover{
		background: #ee1c24;
		border-bottom: 1px solid #fff;
		color: #fff;		
	}

/* Galeria responsiva */
.cbp-l-grid-gallery.cbp {
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b{
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a{
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b{
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a{
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* Contacto */
.mapprint{
	display: none;
	visibility: hidden;
	opacity: 0;
}

.customForm .form-group{
	position: relative;
}
.customForm .validatr-message{
	position: relative !important;
	display: block;
	left: 0 !important;
	top: 0 !important;
	font-size: 8pt;
	padding: 0px 5px !important;
	background-color: transparent !important;
	font-weight: 500;
	border: none !important;
}
.customForm input,
.customForm textarea{
	border-color: #fafafa;
	border-left: 2px solid #ee1c24;
	padding-top: 10px;
	padding-bottom: 10px;
	
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
.customForm textarea{
	height: 120px;
}
.customForm button{
	width: 50%;
	float: right;
	border: 1px solid #ee1c24;
	color: #ee1c24;
}
.customForm button:hover{
	border: 1px solid #ee1c24;
	background-color: #ee1c24;
	color: #fff;
}
.customForm input.captcha{
	display: none;
}

/* Galeria */
.pgplugin1{
	width: 180px !important;
	height: 180px !important;
	background-color: transparent !important;
	border: 1px solid #f1f1f1 !important;
	padding: 0 !important;
}

.pgplugin1:hover,
.pgplugin0.hover{
	background-color: #fafafa !important;
	border: 1px solid #ee1c24 !important;
}

.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4n + 1){}
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4n + 4){}

#phocagallery-pane .phocagallery-box-file-first,
#phocagallery .phocagallery-box-file-first,
.phocagallery-box-file-first{
	width: 178px !important;
	height: 178px !important;
}

#phocagallery-pane .phocagallery-box-file-second,
#phocagallery .phocagallery-box-file-second,
.phocagallery-box-file-second{}

#phocagallery-pane .phocagallery-box-file-third,
#phocagallery .phocagallery-box-file-third,
.phocagallery-box-file-third{}

#phocagallery-pane .phocagallery-box-file-third center,
#phocagallery .phocagallery-box-file-third center,
.phocagallery-box-file-third center{
	margin-top: 0 !important;
}

#phocagallery-pane .phocagallery-box-file-third a,
#phocagallery .phocagallery-box-file-third a,
.phocagallery-box-file-third a{
	display: block;
}

#phocagallery-pane .phocagallery-box-file-third .pg-image,
#phocagallery .phocagallery-box-file-third .pg-image,
.phocagallery-box-file-third .pg-image{}

/* Responsive */
@media screen and (max-width: 1216px){
}
@media (min-width: 768px) and (max-width: 1200px){
	/* Home Gallery */
	.cbp-l-grid-gallery.cbp{
		max-height: 300px !important
	}
	.su-photo-gallery-slide.cbp-item{
		width: 28% !important;
		position: relative !important;
		transform: none !important;
		-webkit-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		margin: 0 3.5% 3.5% 0 !important;
	}
	.su-photo-gallery-slide.cbp-item:last-child{
		margin-right: 0 !important;
	}
}
@media screen and (max-width: 768px){
}
@media screen and (max-width: 420px){
}
@media screen and (max-width: 1200px){
	#offcanvas-toggler{
		display: block;
	}
	.sp-megamenu-parent{
		display: none;
	}
}