/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/* ==========================================================================
   fonts
   ========================================================================== */

@font-face {
    font-family: 'geogrotesque_bdbold';
    src: url('../fonts/geogtq-bd-webfont.eot');
    src: url('../fonts/geogtq-bd-webfont-0.eot#iefix') format('embedded-opentype'),
         url('../fonts/geogtq-bd-webfont.woff') format('woff'),
         url('../fonts/geogtq-bd-webfont.ttf') format('truetype'),
         url('../fonts/geogtq-bd-webfont.svg#geogrotesque_bdbold') format('svg');
    font-weight: normal;
    font-style: normal;

}


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

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

html {
    background: url(../img/bg.jpg) repeat center top; 
    min-width: 960px;
}
body { color: #6d6d6d; font-family: 'geogrotesque_rgregular'; }

h1 { margin: 0; font-family: 'geogrotesque_bdbold'; font-weight: normal; color:#363636; text-transform: uppercase; font-size: 60px; }
h2 { margin: 0; font-family: 'geogrotesque_bdbold';font-weight: normal; color:#363636; text-transform: uppercase; font-size: 24px; }
h2.callouts { font-family: 'Lobster', cursive; text-shadow: 2px 2px 2px #333; }
h5 { margin: 0px; font-family: 'geogrotesque_bdbold';font-weight: normal; text-decoration: underline; text-transform: uppercase; font-size: 18px; text-align: left; }

p { font-family: 'geogrotesque_rgregular'; text-align: justify; font-size: 20px; line-height: 36px; padding-bottom: 0px;}

li { list-style: none; }

.disclaimer a { color: #e8e8e8;}
a { text-decoration: none; color: #6d6d6d;}
a:hover { text-decoration: none; cursor: pointer; color:black;}
:hover {
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
};

input:focus { outline:none; }
.transparent { background: url('../img/transparent.png');}

.the-width { width: 960px; margin: 0 auto; }
.the-width-abajo { margin: 0 auto; position: relative; width: 960px; height: 320px; }

.rounded-corners {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px; /* future proofing */
-khtml-border-radius: 5px; /* for old Konqueror browsers */
}

.box-shadow {
-moz-box-shadow:    inset 0px 1px 5px black;
-webkit-box-shadow: inset 0px 1px 5px black;
box-shadow:         inset 0px 1px 5px black;
border-collapse: separate;
}
.drop-shadow {
-moz-box-shadow:    0px 3px 15px -1px black;
-webkit-box-shadow: 0px 3px 15px -1px black;
box-shadow:         0px 3px 15px -1px black;
}
.drop-shadow2 {
-moz-box-shadow:    0px 3px 25px -1px black;
-webkit-box-shadow: 0px 3px 25px -1px black;
box-shadow:         0px 3px 25px -1px black;
}
.drop-shadow3 {
-moz-box-shadow:    0px 3px 5px -1px black;
-webkit-box-shadow: 0px 3px 5px -1px black;
box-shadow:         0px 3px 5px -1px black;
}
header { padding: 0 0 20px 0;}
.logo { text-align: center; position: relative;}
.logo img { padding-top: 10px;}
.logo img:hover { /* Good browsers */ opacity: 0.8; /* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE 5-7 */filter: alpha(opacity=70); /* Netscape */-moz-opacity: 0.7; /* Safari 1.x */-khtml-opacity: 0.7;}

.nopadding { margin: 0 !important;}

nav {  font-family: 'geogrotesque_bdbold'; width: 735px; float:left;
height: 42px;
padding-top: 19px;
margin-top: 22px;
}
nav a { text-shadow: 0px 1px 0px #333; font-size: 20px; padding: 0 21px; color:white; text-transform: uppercase; }
nav a:hover { color:#280000; cursor: pointer}
nav a.activepage { color:#280000; 
text-shadow: 0px 0px 5px #FFF;
filter: dropshadow(color=#FFF, offx=0, offy=0);
}

.torrox { position: absolute; top: -10px; right: 0; }

.contacto { margin-top: 18px; padding: 0 0px; float:right;}
.contacto:hover { opacity:.7; }

.main-content { width: 100%; background: url('../img/content-bg.jpg'); padding-bottom: 40px; margin-top: 0px; z-index: -99; }
.main-content-sub { width: 100%; background: url('../img/content-bg.jpg'); padding-bottom: 40px; margin-top: 35px; z-index: -99; }
.padding { padding: 10px 0 ;}
.padding-index { padding: 10px 0; margin-top: 70px;}
.content-title { text-align: center;}
.item { float:left; margin: 0 20px 20px 0;}
.item.floatright { float:right; margin: 0;}

h1.pagetitle {
	display:inline-block;
	background: url('../img/content-bg.jpg');
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 30px;
	padding-left: 30px;
}
h2.pagetitle { 
font-size: 28px !important;
	display:inline-block;
	position: relative;
	padding-top: 60px;
	padding-bottom: 5px;
	padding-right: 60px;
	padding-left: 60px; 
	}
h2.listtitle { 
font-size: 28px !important;
	display:inline-block;
	background: url('../img/content-bg.jpg');
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 30px;
	padding-left: 30px;
	}
h2.projecttitle { 
font-size: 22px !important;
	display:block;
	position: relative;
	margin-top: 0px;
	padding-bottom: 0px;
	}

.google-container { background-color: white; height: 500px;  }

.lines {top: 50px; position: relative;}
.lines-proy {top: 10px; padding-left: 60px; padding-right: 60px; position: relative;}
.lines-list {top: 30px; position: relative;}
.lines-listproj {top: 20px; padding-left: 0px; padding-right: 0px;}
.lines-abajo {top: 20px; bottom: 20px; position: relative; position: relative;}
.line-top{border-bottom:#a1a1a1 solid 1px;}
.line-bot{border-top:#fff solid 1px; margin-bottom: 2px;}

.anterior { margin-left: 50px; margin-bottom: 0; margin-top: 0; background: url('../img/btn-anterior.png'); position: relative; top: 10px; width: 210px; height:73px; float: left; }
.anterior:hover { background: url('../img/btn-anterior2.png'); cursor: pointer; }

.siguiente { margin-right: 50px; margin-bottom: 0; margin-top: 0; background: url('../img/btn-siguiente.png'); position: relative; top: 10px; width: 210px; height:73px; float: right }
.siguiente:hover { background: url('../img/btn-siguiente2.png'); cursor: pointer; }

.box.twocol { width: 450px; }
.box.twocol li { padding: 5px 0; }
.item:hover { /* Good browsers */ opacity: 0.8; /* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE 5-7 */filter: alpha(opacity=70); /* Netscape */-moz-opacity: 0.7; /* Safari 1.x */-khtml-opacity: 0.7; }

.floats { padding: 15px 0;}
.floats-doble { padding: 30px 0;}
.box { float:left; padding: 0 30px 0 0; position: relative;}
.box img:hover { /* Good browsers */ opacity: 0.6; /* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; /* IE 5-7 */filter: alpha(opacity=60); /* Netscape */-moz-opacity: 0.6; /* Safari 1.x */-khtml-opacity: 0.6;}
.box.last {padding: 0;}
.box h2 { z-index: 666; text-transform: none; color: white; position: relative; margin: 0 auto; top: 100px; height: 0; text-align: center; }


.2col { width: 400px;}

.footer-container { width: 100%; background: #464646; }
.footer { padding: 40px 0; text-align: center; font-family: 'geogrotesque_bdbold'; text-transform: uppercase; }
.footer a { font-size: 18px; color:white; padding: 20px; letter-spacing: 1px; text-shadow: 2px 2px 3px #333;}
.footer a:hover { color:#280000; }
.footer a.activepage { color: #280000; text-shadow: 0px 0px 5px #FFF;}

.disclaimer { padding: 40px 0; text-align: center; color: white; font-size: 14px;}
.textocontacto { font-family: 'geogrotesque_rgregular'; text-align: center; font-size: 20px; font-weight: bold; line-height: 24px; padding-bottom: 0px; margin-top: 30px;}

:-moz-placeholder {
    color: white;
}
:-ms-input-placeholder {
    color: white;
}

:focus:-moz-placeholder  { color: #e8e8e8; }
:focus:-ms-input-placeholder { color: #e8e8e8; }

/* ==========================================================================
   RESPONSIVE SLIDER STUFF
   ========================================================================== */

.slider-container { position: relative; background-color: black; }

ul.rslides1_tabs {
margin: 0 auto;
width: 240px;
padding: 0;
position: relative;
bottom: 50px;
left: -15px;
z-index: 99;
}
ul.rslides1_tabs li {
float:left;
}

.slider-button { width:30px; height: 30px; background:white; margin-right: 10px;
left: 45.8%;
position: relative;
float: left;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px; /* future proofing */
-khtml-border-radius: 15px; /* for old Konqueror browsers */
-moz-box-shadow:    0px 3px 5px -1px black;
-webkit-box-shadow: 0px 3px 5px -1px black;
box-shadow:         0px 3px 5px -1px black;
}
.rslides_active { /* Good browsers */ opacity: 0.7; /* IE 8 */-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE 5-7 */filter: alpha(opacity=70); /* Netscape */-moz-opacity: 0.7; /* Safari 1.x */-khtml-opacity: 0.7;}

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  min-width: 960px;
  max-height: 400px;
  width: 960px;
  padding: 0;
  margin: 0;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  min-width: 960px;
  min-height: 400px;
  border: 0;
  }

/* ==========================================================================
   INTERNET EXPLORER FIXES
   ========================================================================== */
.lt-ie9 a.slider-button { background:url('../img/slider-ie.png'); }
.lt-ie8 .box h2 { position: absolute; left: 35%;}
.lt-ie8 nav { background:url('../img/navbg-ie.png') no-repeat; height: 44px;}


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

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

    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;
    }
}

/* Localized */