/* GENERAL */
body {
	color: #555555;
	background-color: #DDDDDD;
	padding-left: 0px;
    padding-right: 0px;
}
    
.header{
	padding: 15px 0px;
	background-color: #EEEFF1;
	border-bottom: 5px solid #001F53;
}

.content_bg{
	background: #FFFFFF;
	padding: 10px;
}

::-moz-selection {
    background: #001F53;
    text-shadow: none;
    color: #EEEEEE;
}

::selection {
    background: #001F53;
    text-shadow: none;
    color: #EEEEEE;
}

a{
	color: #001F53;
	cursor: pointer;
}

a:hover{
	color: #000000;
}

a, a *{
    -webkit-transition: color .5s ease-in-out, background-color .5s ease-in-out, opacity .5s ease-in-out;
    -moz-transition: color .5s ease-in-out, background-color .5s ease-in-out, opacity .5s ease-in-out;
    -o-transition: color .5s ease-in-out, background-color .5s ease-in-out, opacity .5s ease-in-out;
    transition: color .5s ease-in-out, background-color .5s ease-in-out, opacity .5s ease-in-out;
}

p{
	padding: 0px 20px;
	margin: 0px 0px 20px 0px;
}

.text_section p{
	/*width: 980px;*/
	text-align: justify;
}

h1, h2, h3{
	padding: 0px 20px;
	color: #001F53;
	font-weight: normal;
}

h4, h5, h6{
	padding: 0px 20px;
	color: #000000;
}

hr{
	margin: 60px 40px 40px 40px;
	border: 0px solid transparent;
	border-bottom: 1px solid #001F53;
}



/* BG IMAGE */
#bg-image {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

.bgwidth {
	width: 100%;
}

.bgheight {
	height: 100%;
}



/* HEADER */
.logo{
	float: left;
	height: 86px;
}

.header_right{
	float: right;
}

.header_right .input-append{
	margin: 0px;
}

.header_right .languages{
	text-align: right;
	color: #545454;
	font-size: 12px;
	margin: 8px 0px 15px 0px;
	text-transform: uppercase;
}

.header_right .languages a{
	color: #545454;
	text-decoration: none;
}

.header_right .languages a:hover{
	color: #FFFFFF;
}


/* MENU */
.navbar-wrapper {
	position: absolute;
	top: 500px;
	left: 0;
	right: 0;
	z-index: 10;
}

.navbar-wrapper .navbar {
	margin: 0px;
}

.navbar .nav{
	margin: 0px;
}

.navbar .navbar-inner {
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: transparent;
	padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
}

.navbar .brand {
	padding: 14px 20px 16px;
	font-size: 16px;
	font-weight: bold;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}

.navbar .nav > li {
	background: #EEEEEE;
	margin-left: 20px;
	-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .nav > li:first-child {
	margin-left: 0px;
}

.navbar .nav > li > a {
	padding: 10px 30px;
	text-transform: uppercase;
	border-bottom: 3px solid #FFFFFF;
}

.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus{
	background-color: #EEEEEE;
	border-bottom: 3px solid #001F53;
	color: #000000;
}

.navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li > a:hover,
.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle{
	background-color: #EEEEEE;
	border-bottom: 3px solid #001F53;
	color: #000000;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret,
.navbar-inverse .nav li.dropdown > a:hover .caret, .navbar-inverse .nav li.dropdown > a:focus .caret{

	border-bottom-color: #000000;
    border-top-color: #000000;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a,
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{
    background-color: #001F53;
    background-image: linear-gradient(to bottom, #001F53, #001F53);
    background-repeat: repeat-x;
    color: #FFFFFF;
    text-decoration: none;
}



/* CAROUSEL */
.carousel {
	margin-bottom: 0px;
	border-bottom: 5px solid #001F53;
}

.carousel .container {
	position: relative;
	z-index: 9;
}

.carousel-control {
	height: 40px;
	width: 40px;
	margin-top: 0;
	font-size: 50px;
	border-radius: 0px;
	background-color: #FFFFFF;
	border: 0;
	z-index: 10;
	color: #555555;
	top: 50%;
}

.carousel-control:hover, .carousel-control:focus {
	color: #000000;
}

.carousel .item {
	height: 500px;
}

.carousel img {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 500px;
}

.carousel-caption {
	background-color: rgba(255,255,255,.7);
	position: static;
	padding: 10px;
	margin-top: 20px;
	text-align: center;
}

.carousel-caption h1,
.carousel-caption .lead {
	margin: 0;
	line-height: 1.5;
	color: #555555;
}

.carousel-caption h1 {
	font-size: 20px;
}

.carousel-caption .lead {
	font-size: 16px;
}



/* BOTTOM */
.bottom{
	background-color: #EEEFF1;
	color: #AAAAAA;
}

.bottom .container{
	background-color: transparent !important;
    -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5) !important;
	-moz-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5) !important;
	box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5) !important;
    padding: 10px 0 !important;
}

.bottom h3{
	padding: 0px;
	margin: 0px 0px 10px 0px;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 16px;
}

.bottom .logo a img{
	margin: 45px 0px 0px 0px;
}

.bottom .contact{
	width: 40%;
	text-align: center;
	float: left;
	margin: 0px 20px;
}

.bottom .contact .address{
	float: left;
	margin: 8px 40px;
	line-height: 18px;
	font-size: 14px;
}

.bottom .contact .address strong{
	color: #001F53;
}

.bottom .newsletter{
	float: left;
	width: 39%;
}

.bottom .newsletter .txt{
	margin: 0px 0px 10px 0px;
}

.bottom .newsletter .span{
	width: 91%;
}

.bottom .newsletter .input-prepend{
	display: block;
}

.bottom label{
	float: left;
}

.bottom .btn{
	float: right;
}

.bottom a{
	color: #AAAAAA;
}

.bottom a:hover{
	color: #FFFFFF;
}



/* FOOTER */
.footer{
	padding: 5px 0px !important;
	font-size: 10px;
}

.footer p{
	margin: 0px !important;
	padding: 0px 5px !important;
}


/* GENERAL CONTENT */
.general{
	position: absolute;
	left: 0px;
	top: 560px;
	width: 100%;
}

.general .container{
	background-color: #FFFFFF;
	-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	padding: 20px 0px;
}

.date{
	font-size: 10px;
	color: #EEEEEE;
	padding: 0px 10px;
	margin: 0px 0px 10px 20px;
	background-color: #001F53;
	display: inline-block;
}



/* HOME */
.home .projects .pic{
	width: 230px;
	height: auto;
	overflow: hidden;
	margin: 0px auto;
}

.home .projects .pic img{
	max-width: 220px;
}

.home h4{
	text-transform: uppercase;
}



/* ERROR PAGE */
.error .input-append{
	padding: 0px 0px 0px 20px;
}



/* CONTACT PAGE */
.contact #frmContact ul li{
	list-style: none;
	margin-bottom: 10px;
}

.contact #frmContact ul li input, .contact #frmContact ul li textarea{
	margin-bottom: 0px;
	width: 90%;
}

.contact #frmContact .message textarea{
	resize: vertical;
	height: 100px;
}

.contact #frmContact .terms input{
	margin: 0px 10px 0px 0px;
	width: auto;
}

.contact .locations ul{
	margin-bottom: 40px;
}

.contact .locations ul li{
	list-style: none;
}

.contact .locations h4{
	padding: 0px;
	margin: 0px;
}

.contact .right.locations ul:first-child li h4{
	padding: 0px;
	margin-top: 60px;
}



/* RESULT */
.result .text_section h1{
	margin-bottom: 30px;
}

.result .text_section ul li{
	list-style: none;
	margin-bottom: 10px;
}

.result .text_section ul li:before{
	content: '- ';
	color: #484B50;
	font-weight: 700;
}

.result .text_section .searchword{
	font-style: italic;
	color: #484B50;
}




/* RESPONSIVE CSS */

/* entre 980 y 1200 */
@media (min-width: 980px) and (max-width: 1200px) {

	.navbar .nav > li > a {
		padding: 10px 10px;
	}
	
	.home .projects .pic{
		width: 190px;
	}

	.home .projects .pic img{
		max-width: 180px;
	}
	
	.bottom .contact .address {
	    margin: 8px 18px;
    }
	
	.bottom .newsletter{
		float: left;
		width: 34%;
	}
	
	.bottom .newsletter .span{
		width: 87%;
	}

}

/* menos de 979 */
@media (max-width: 979px) {

	.header .languages{
		margin: 0px 0px 5px 0px;
	}
	
	.navbar-wrapper {
		top: 78px;
	}

	.navbar .nav > li {
		margin-left: 0px;
	}
	
	.navbar .btn-navbar {
		margin: 0px 0px 14px 0px;
	}
	
	.navbar .nav{
		background: #FFFFFF;
	}
	
	.navbar .nav > li{
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		border-bottom: 1px solid #CCCCCC;
	}
	
	.navbar .nav > li > a {
		border-bottom: 0px solid #FFFFFF;
		padding: 10px;
	}
	
	.navbar-inverse .nav > li > a{
		text-shadow: none;
	}
	
	.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus{
		background-color: #FFFFFF;
		border-bottom: 0px solid #FFFFFF;
		color: #000000 !important;
	}
	
	.navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li > a:hover,
    .navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle{
		background-color: #EEEEEE;
		border-bottom: 0px solid #FFFFFF;
		color: #000000;
	}
	
	.navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .nav > li > a:focus, .navbar-inverse .nav-collapse .dropdown-menu a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:focus {
    	background-color: #FFFFFF;
    }
    
    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a,
    .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{
	    background-color: #CCCCCC;
	    background-image: linear-gradient(to bottom, #CCCCCC, #CCCCCC);
	    background-repeat: repeat-x;
	    color: #FFFFFF !important;
	    text-decoration: none;
	}
	
	.carousel {
		display: none;
		visibility: hidden;
	}
	
	.general{
		top: 121px;
	}
	
	.home .projects .pic{
		width: 150px;
	}

	.home .projects .pic img{
		max-width: 140px;
	}
	
	.bottom .logo{
		display: none;
		visibility: hidden;
	}
    
    .bottom .contact {
	    width: 50%;
	    margin: 10px 20px 0px 0px;
    }
    
    .bottom .contact .address {
	    margin: 8px 10px;
    }
	
	.bottom .newsletter{
		float: left;
		width: 47%;
	}
	
	.bottom .newsletter .span {
		width: 88%;
    }
	
	.bottom .btn {
    	float: right;
    }
    
    #bg-image {
		display: none !important;
		visibility: hidden !important;
	}

}

/* menos de 767 */
@media (max-width: 767px) {

	.header{
		padding: 15px;
	}
	
	.header .logo img{
		width: 170px;
	}
	
	.header_right .input-append, .header_right .languages span{
		display: none;
		visibility: hidden;
	}
	
	.header_right{
		width: 100px;
	}

	.navbar-wrapper {
		top: 70px;
	}

	.navbar-inner {
		margin: -20px;
	}
	
	.navbar .btn-navbar {
		margin: 0px 10px 22px 0px;
	}
	
	.home .projects .pic{
		width: 90%;
	}

	.home .projects .pic img{
		max-width: 95%;
	}
	
	.bottom .logo{
		display: none;
		visibility: hidden;
	}
	
	.bottom .contact {
    	width: 100%;
    	margin: 10px 0px;
    }
    
    .bottom .contact .address {
    	width: 100%;
    	margin: 5px 0px;
    }
	
	.bottom .newsletter {
	    width: 90%;
	    text-align: center;
	    padding: 0px 15px;
    }
    
    .footer .pull-left, .footer .pull-right{
	    float: none;
	    text-align: center;
    }
    
}









/* EXTERNAL CSS */

/* FANCYBOX */
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/img/base/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/img/base/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/img/base/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('/img/base/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('/img/base/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('/img/base/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}