/*
	Theme Name: Marisa Gonzalez-2017
	Author: David Y
	Tags: Blank, HTML5, CSS3
	
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:100 1.5em 'Merriweather', sans-serif;
    font-weight: 300;
	color:#808080;
}


/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
    margin-right:1em; 
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/


/* top bar */
#top_bar {display:block; position:fixed; bottom: 0; right:0; background-color: #000; max-width:25em; height:auto;padding:0.5em;text-align: left; color: #fff; z-index: 1}
.top_bar_left{display: block;line-height: 2em;  }
.top_bar_left li {float: left;list-style: none; margin-left: 1em; color: #fff;}
.top_bar_left li i:hover {color:#cb1e20 !important;}

/* wrapper */
.wrapper {/*max-width:1280px;*/ width:100%;	margin:0 auto; position:relative; }


/* header */
.header { }

/* logo */
.logo {float: left; width:15em;}
.logo-img {}


/* homebanner */

#home-banner-container { min-height:25em;text-align: center;color: #fff; position: relative;background-image: url(img/top-banner-img.jpg); background-position: center center; background-size: cover; }
#home-banner-container .title{position: relative; padding:100px 0;}
#home-banner-container a{color: #fff;}




/*MAIN-NAVIGATION--------------------------------------------*/
.nav 
{ float: right; position:relative; font-size: 1.2em; }
/* first level */
.nav ul
{position:relative; }
.nav ul li
{display:block;position:relative;float:left; border-left: 1px solid #808080;}
.nav ul li:first-child {border: none;}
.nav ul li a:link,.header-bottom nav ul li a:visited
{text-decoration:none;color:#666;padding: 0em 0.5em;margin:0;display:block;line-height:1em;font-weight:500;}
.nav ul li a:hover
{color:#cb1e20;}

/* Second level */
.nav ul .sub-menu
{z-index:999;display:none;position:absolute;left:0;padding:0px;width:200px;/*box-shadow: 1px 1px 1px #666;*/}
.nav ul .sub-menu li
{float:none;width:200px;text-align:left;background-color:#f5f5f5;left:0;right:0;}
.nav ul .sub-menu li a{font-weight:300;border-bottom: 1px solid #ccc; }
.nav ul .sub-menu li a:hover{border-bottom: 1px solid #cb1e20;}
.nav ul .sub-menu a
{line-height:1.2em;}


/* Third level */
.nav ul li:hover > .sub-menu
{display:block;}
.nav ul .sub-menu ul
{display:none;position:absolute;left:200px;top:0;background:#f5f5f5;padding:0px;width:200px;}
.nav ul .sub-menu ul li
{float:none;width:200px;text-align:left;}
.nav ul .sub-menu ul a
{line-height:1.2em;}
.nav ul .sub-menu li:hover > ul
{display:block;}


/* search bar */

.search i:hover {color:#fff;}



/* servics */

.services
{text-align: center; background-color:#cb1e20;}
.services .service-cell
{width: 16.2%;height: auto;min-height: 200px;margin:0.2% 0.1%;display: inline-block;}
.services .service-cell a:link, .services .service-cell a:visited
{text-decoration:none;}
.services .service-cell img
{width: 80%;height: auto; margin: 0 auto; direction: block;}
.services .service-cell h4
{text-align: center;margin-bottom: 1em;}
.services .service-cell:hover 
{opacity: 0.6;}


/* why choose us */

#whychooseus-container { text-align:center;color:#000;}
#whychooseus-container a{color: #000;}
.whychooseus-cell {width: 30%; margin:1%; display: inline-block; text-align: left;}
.whychooseus-cell .title{color: #000; text-align: center; font-weight: bold; margin:2% auto;}
.whychooseus-cell img{ display: block; margin: 0 auto;}


/* About the principal */

#abouttheprincipal-container { min-height:20em;text-align: center;color: #fff; background-color:#666;}
#abouttheprincipal-container a{color: #fff;}
#abouttheprincipal-container .title{color: #cb1e20; text-align: left; font-size:2em; font-weight: 500; margin:2% auto;}
.abouttheprincipal-content{margin: 0 auto; text-align: left;}



/* What is coming up */
#whatsupint-container{ min-height:20em;text-align: center;color: #000; background-color:#fff;}
#whatsupint-container  li{list-style: none; margin-top: 1em;}
/* icon */

.icon{margin-left: 0.5em;}

/* button */
.button{ padding:1%; background-color: #cb1e20; width: 20%; margin: 0 auto; margin-top: 2%; }

/* cert */
.cert{ text-align: center;}
.cert img{ margin:0 3em; }

/* sidebar */
.sidebar {

}
/* comment */
.comments{display: none;}



/* footer */

.footer {}

.footer-top {
    
    color: #fff;
    margin: 0 auto;
    text-align: left;
    line-height: 1em;
    font-size: 1em;
    overflow: auto;
    line-height: 1.5em; 
    background-color: #cb1e20;
    
}

.footer-top .footer-top-cell
{width:29%;padding:2%;height:auto;float:left;}
.footer-top-cell li{list-style: none;}
.footer-top-cell h3{text-align: center;}
.footer-top .footer-top-cell a:link,.footer-top .footer-top-cell a:visited
{color: #fff;text-decoration: none;line-height: 2em;font-size: 1.2em;}





.footer-bottom {
 background-color:#666;
 color:#fff;
 text-align:center;
 line-height:1em;
 font-size:0.8em;}

.footer-bottom i
{font-size:1.5em;}

.footer-bottom a:link, .footer-bottom a:visited
{color:#fff;}

.footer-bottom a:hover
{color:#cb1e20;}

.footer-bottom span
{line-height:1.5em;}


/* Google Maps */
.google-map {width: 100%; height: auto; }



/* Gravity form button style */
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium
{width: 100% !important;height: 3em !important;}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"] {
    padding: 1em !important;
    margin: 0 !important;
    border-radius: 0px;
    box-shadow: none;
    width: 150px !important;
    border: none;
    background-color: #000;
    color: #fff;
}

.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target
{color: #fff !important;background: #cb1e20 !important;}

/* testimonials */
.testimonials-widget-testimonial.list {
    width: 100%;
    margin: 1em;
    background-color: #f3f3f3;
    padding: 1em;
    min-height: 12em;
}



.testimonials-widget-testimonial cite, .testimonials-widget-testimonial div.credit {
    display: block;
    margin-top: .2em;
    text-align: right;
    color: #000;
    font-weight: bold;
}

/* read more */
.view-article {color:#cb1e20; font-weight: bold;}
.view-article:hover{color:#cb1e20; font-weight: bold;}
/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY AND LAYOUT
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

.container{width:100%;padding:2% 10%;box-sizing:border-box;}
hr {width: 100%; border: 1px solid #e2e2e2; margin:1em auto;}

h1 {font-family: 'Alegreya Sans SC', sans-serif;
	font-weight: 500;
	font-size: 3em;
	}
h2 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight: 500;
	font-size: 2em;
	}
h3 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight: 500;
	font-size: 1.3em;
	}





/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 480px) {
    

    .nav{ display: none;}
    .cert img{width: 50%;margin:1em auto;}
    .footer-top .footer-top-cell{width:100%;}
    .services .service-cell {width: 100%;}
    .whychooseus-cell {width: 100%;}
        
    
    
}


@media only screen and (max-width: 768px) and (min-width: 481px) {
    
    
    
    .footer-top .footer-top-cell{width:49%;}
     .services .service-cell {width: 49%;}
        
  
}


@media only screen and (max-width: 768px){
    
    #top_bar{ display: none;}
    .nav{display: none;}
    .logo{margin: 0 auto;float:none;}
    .footer-top .footer-top-cell{width: 100%; float:none;text-align: center;}
        
}




@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {
   } 

@media only screen and (max-width: 1440px) and (min-width: 769px) {
    
    .services .service-cell {width: 25%;}
    
   } 
    


@media only screen and (min-width:320px) {

}
  
    


@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}




