/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
   
@import url('https://fonts.googleapis.com/css?family=Droid+Sans:400,700');

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}





/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: 'Droid Sans', sans-serif;
	color:#222;
	background-color: #F2F2F2;
	margin:0;
}

h2 {
	font-size:2em;
	margin:1em 0 0 0;
	color:#0071bc;
	text-align:center;
}

h3 {color:#0071bc; font-size: 1.5em;}

/*------HEADER-------*/

header {
	text-align: center;
	background-image:url(../img/bg01.jpg);
	background-repeat:no-repeat;
	background-position:center;
	background-size:cover;
    padding-bottom: .8em;
    height:200px;
    
}

header img {max-width:225px; height:auto; margin-top:2em;}

/* MENU MOBILE */
.dropbtn {
    background-color: #0071bc;
	color:rgba(255,255,255,0.75);
	padding:15px;
    font-size: 16px;
    border: none;
	width:100%;
	cursor:pointer;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #57a3f5;
	color:white;
}

.dropdown {
	text-align:center;
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: #0071bc;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {background-color: #0071bc;color:white;}

.show {display:block;}

/*----MENU-----*/
.regular {display:none;}

nav {
	text-align: center;
	background-color:#0071bc;
	-webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
	box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
	width:100%;
    height:40px;
	z-index:999;
	
}

nav ul {
	margin:0;
	padding:0;
	display:inline;
	list-style: none;
}

nav ul li {
	display:inline;
}

nav a {
    color: rgba(255,255,255,0.75); 
    font-size:1em; 
    display:block; 
    width:100%; 
    height:40px; 
    padding-top:20px;
    text-decoration:none;
}

nav a:hover { color: white; background-color:v;}

/*--------CONTENIDO---------*/

.seccion {
	margin: 0;
}

.serviciosDiv { margin-top:2em; text-align:center;}

/*Imágenes Hero*/

#heroNosotros,#heroClientes,#heroContacto {height:285px; width:100%; background-size:cover; background-position:center;}

#heroNosotros {background-image:url(../img/hero_nosotros.jpg);}
#heroClientes {background-image:url(../img/hero_clientes.jpg);}
#heroContacto {background-image:url(../img/hero_contacto.jpg);}

/*Imágenes slide*/

#slideImg01 {background-image: url(../img/ingenieriasicon.jpg)}
#slideImg02 {background-image: url(../img/marketingicon.jpg)}
#slideImg03 {background-image: url(../img/logisticaicon.jpg)}

#slideImg01,#slideImg02,#slideImg03 
{margin: 0 auto; width: 292px; height: 262px; background-position: right;}

#slideImg01:hover,#slideImg02:hover,#slideImg03:hover {
    animation-name: slide;
    animation-duration: 6s;
}

/*Div Clientes*/

.cliente {padding: 1em 0 1em 0;color: white; background-color: #0071bc; text-align:center; }
.cliente h3 {text-align:center; color: white;}
.cliente ul {list-style: none;}

.seccion p {margin:1.8em;}

.seccion a {color:#222; text-decoration:none; margin:1.8em;}

.seccion a:hover {text-decoration:underline;}

.contactoDiv{
		text-align:center;
	}

	
/* FORMA DE CONTACTO */

form {
	margin-top:2em;
	margin-bottom:2em;
	text-align:center;
	}

input[type=text]{
	font-family: 'Droid Sans', sans-serif;
	font-size: 0.8em;
	color:rgba(60,60,60,1.00);
	border-radius: 2px;
	border: none;
	padding:10px;
	width: 80%;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

input[type=submit]{
	font-family: 'Droid Sans', sans-serif;
	background-color:#0071bc;
	font-size: 0.8em;
	color: #FFFFFF;
	border:none;
	border-radius: 2px;
	padding:15px;
	cursor:pointer;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

input[type=submit]:hover{background-color:#57a3f5;}

textarea {
	font-family: 'Droid Sans', sans-serif;
	font-size: 0.8em;
	border: none;
	border-radius: 2px;
	width: 80%;
	height: 150px;
	padding: 10px;
	webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.25);
}

.messageClass {
	width:80%;
	height: 150px;
}



/*-----------ANIMATION------------*/

@keyframes slide {
    0%   {background-position: right;}
    25%  {background-position: left;}
    75%  {background-position: left;}
    100% {background-position: right;}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden { display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media (min-width: 568px) {

/* GENERALES */

h2 {font-size:3em;}

/* HEADER */

    header {height: 520px;} 

    header p {font-size: 2em;}

    header img {
    margin:4em;
    max-width:350px;
    height:auto;
    
}

/* MENU */
	
	.regular {display:block;}
	.dropdown {display:none;}
	
    nav {padding-top:10px;padding-bottom:0;}
	
    nav li {padding: 0 1.5em 0 1.5em;}

	nav a {
        padding-top: 0;
        display: inline;
		font-size: 1.25em;
	}

    nav a:hover {background-color: none;}

/* CONTENIDO */

#clienteWrap {text-align: center; height: auto;}

.cliente {display: inline-block; width:40%; height:620px; overflow: hidden;}
	
}


@media (min-width: 1024px) {

	
	.seccion {
		margin-left:auto;
		margin-right:auto;
		max-width:1200px;
	}

/* CONTENIDO */	
    .cliente {height: 470px;}
	.serviciosDiv{
		width:33%;
		height:auto;
		float:left;
		text-align:center;
	}
	
	.contactoDiv{
		width:50%;
		float:left;
		
	}

/* FORM */
		
	input[type=text]{
	max-width:450px;
 	}

	textarea {
	max-width:450px;
	}

}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}