/**
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}


/* Fonts */

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

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

body,
button,
input,
select,
textarea {
	color: #f4f4f4;
	font-family: 'open_sansregular', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}


a {
	color: #F00;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a:active,
a:hover {
	color: #FFF
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight:bold;
	margin-bottom:15px;
}

h1 {
	font-size: 21px;
	line-height: 1.3846153846;
}

h2 {
	font-size: 18px;
	line-height: 1.2;
}

h2 span {
	font-weight:normal;
	font-size: 16px;
}

h3 {
	font-size: 16px;
	line-height: 1.0909090909;
}

h4 {
	font-size: 14px;
	line-height: 1.2;
}

h5 {
	font-size: 12px;
	line-height: 1.3333333333;
}

h6 {
	font-size: 11px;
	line-height: 1.5;
}

address {
	font-style: italic;
	margin-bottom: 24px;
}

abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

b,
strong {
	font-weight: 700;
}

cite,
dfn,
em,
i {
	font-style: italic;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

p {
	margin-bottom: 15px;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: monospace, serif;
	font-size: 15px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	line-height: 1.6;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	color: #767676;
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2631578947;
	margin-bottom: 24px;
}

blockquote cite,
blockquote small {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 24px;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 24px;
}

ul,
ol {
	list-style: none;
	margin: 0 0 15px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 24px;
	padding: 11px 12px 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
	height:140px;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 24px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: bold;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #767676;
}

hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
	background: #003f9a;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #003f9a;
	color: #fff;
	text-shadow: none;
}

/* Forms */

input,
textarea {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 2px;
	color: #2b2b2b;
	padding: 7px 10px 6px;
	margin-bottom:12px;
}

input {
	width:100%;
}

textarea {
	width: 100%;
}

input:focus,
textarea:focus {
	background:#ddd;
	outline: 0;
}

/* Buttons */

button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: rgb(228,229,230); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(228,229,230,1) 0%, rgba(155,157,160,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(228,229,230,1)), color-stop(100%,rgba(155,157,160,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(228,229,230,1) 0%,rgba(155,157,160,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(228,229,230,1) 0%,rgba(155,157,160,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(228,229,230,1) 0%,rgba(155,157,160,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(228,229,230,1) 0%,rgba(155,157,160,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e5e6', endColorstr='#9b9da0',GradientType=0 ); /* IE6-9 */
	border: 0;
	border-radius: 2px;
	color: #000;
	font-size: 14px;
	font-weight: 700;
	padding: 8px 30px 9px;
	text-transform: uppercase;
	vertical-align: bottom;
	width:auto;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: rgb(228,229,230);
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: rgb(228,229,230);
}

.search-field {
	width: 100%;
}

.search-submit {
	display: none;
}

.security-code {
	color:#FF0000;
	background:#ccc;
	padding:6px 2%;
	margin-right:2%;
	float:left;
	width:15%;
	text-align:center;
}

.security input[type="text"] {
	float:left;
	width:20%;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: #939393;
}

:-moz-placeholder {
	color: #939393;
}

::-moz-placeholder {
	color: #939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #939393;
}


/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
	margin-bottom: 24px;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}



/* Clear */

.clr {
	*zoom: 1;
}

.clr:before, .clr:after {
	display:table;
	line-height:0;
	content:"";
}

.clr:after, .clearfix {
	clear:both;
}


/**
 * Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}

/* Main */

body {
	background: #fff;
	min-width:1000px;
}

img.mainbg {
	position:fixed;
	min-height:100%;
	min-width:1000px;
	width:100%;
	height:auto;
	z-index:-100;
}

.wrap {
	width:1000px;
	margin:auto;
}

/* Header */

header {
	background:#222 url(../images/topbg.png) 0 0 repeat;
	height:auto;
	min-width:1000px;
}

.logo {
	margin:20px 10px;
	float:left;
}

.topcontact {
	float:right;
	margin:40px 20px 0 0;
	text-align:right;
}

.topcontact h1 {
	font-size:16px;
	margin:0;
}

.topcontact h1 strong {
	font-size:24px;
}

.topcontact h2 a {
	color:#FFFFFF;
	font-size:16px;
}

/* Video Header */

.videoheader {
	height:500px;
	position:relative;
	margin-bottom:20px;
	
}

.videobg {
    height: auto;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    width: auto;
    z-index: -50;
	background:url(../images/videobg.jpg) 0 0 no-repeat;
}

.videobg.about {
	background:url(../images/videobg-primaria_w_survey2.jpg) 0 0 no-repeat;
}

.videobg.current {
	background:url(../images/videobg-pr.jpg) 0 0 no-repeat;
}

.videobg.portfolio {
	background:url(../images/videobg-progesophase2-arch.jpg) 0 0 no-repeat;
}

.videobg.contact {
	background:url(../images/videobg-progresophase2_2.jpg) 0 0 no-repeat;
}

.tagline {
	padding:100px 0 0 60px;
	position:absolute;
	top:0;
	left:0;
	z-index:100;
}

.tagline h1 {
	color:#ddd;
	font-size:70px;
	line-height:75px;
	font-weight:bold;
	text-shadow: 1px 1px 3px #111;
}

.tagline h1 span {
	color:#F00;
}

.tagline a {
	display:inline-block;
	text-align:center;
	width:auto;
	padding:10px 20px;
	color:#FFFFFF;
	background-color: #222;
	background-color: rgba(51, 51, 51, 0.5);
}

.tagline a:hover {
	background-color: #ff0000;
	background-color: rgba(255, 0, 0, 0.5);
}

/* Navigation */

nav {
	margin:0 0 20px;
	height:45px;
	background:#1f303d;

}

nav ul {
	list-style:none;
	text-align:center;
}

nav ul li {
	display:inline-block;
	*display:inline;
	zoom:1;
	background:url(../images/navdivider.jpg) right 50% no-repeat;
}

nav ul li:last-child {
	background:none;
}

nav ul li a {
	color:#fff;
	font-family: 'open_sanssemibold';
	display:block;
	padding:12px 39px;
	transition: color .5s linear; -moz-transition: color .5s linear; -webkit-transition: color .5s linear;
}

nav ul li a:hover {
	color:#3173a5;
}

nav ul li a.active {
	color:#3173a5;
	background:url(../images/arrowdown.png) 50% 30px no-repeat;
}

nav ul li a span {
	width:100%;
	display:block
}

/*content*/

.headline h1 {
	background:#ddd;
	color:#777;
	padding:15px 30px;
	margin:0;
}

section {
	background:#222;
	margin-bottom:20px;
	padding:30px;
}

section .main {
	float:left;
	width:580px;
}

section .main.full {
	float:none;
	width:auto;
}

section .currentdev  {
	margin:0 0 30px 0;
}

section .porfolio {
	margin:0;
	text-align:left;
}

section .porfolio li {
	list-style:none;
	display:inline-block;
	*display:inline;
	zoom:1;
	vertical-align:top;
	margin-bottom:3px;
}

.thumbslider {
	background:#363636;
	padding:30px;
	text-align:center;
}

.thumbslider ul {
	margin:0;
}

.thumbslider ul li {
	opacity:0.4;
	filter: alpha(opacity=40);
}

.thumbslider ul li:hover, .thumbslider ul li.active {
	opacity:1;
	filter: alpha(opacity=100);
}

.thumbslider img {
	margin-bottom:10px;
}

.thumbslider a {
	color:#FFF;
	font-size:20px;
	font-family: 'open_sanssemibold';
	font-weight:bold;
}

/*aside*/

aside {
	float:right;
	width:311px;
}

aside ul.featured {
	margin:0 0 20px 0;
}

aside ul.featured li {
	display:inline-block;
	*display:inline;
	zoom:1;
	vertical-align:top;
	margin:0 5px 5px 0;
}

aside ul.featured li:nth-child(even) {
	margin:0 0 5px 0;
}

aside ul.featured li h2 {
	text-align:center;
	margin:10px 0;
	color:#fff;
}

aside ul.featured li h2 span {
	font-size:15px;
}

aside .porfoliobtn {
	color:#FFFFFF;
	background:#111;
	width:auto;
	padding:10px 20px;
}

aside .porfoliobtn:hover {
	background:#F00;
}

aside a {
	color:#fff;
}

/* footer */

footer {
	background:#222;
	padding:20px;
	font-size:13px;
}

footer ul {
	list-style:none;
	margin:0;
	padding:0;	
}

footer ul li {
	float:left;
	margin-right:10px;
}

footer ul li a, footer div a {
	color:#fff;
}

footer div {
	float:left;
}

footer div.middle {
	margin:0 46px;
}

footer.copyr {
	background:#111;
}