/*! 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
   ========================================================================== */

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
   ========================================================================== */






/*
*
*
 ESTRUCTURA
*
*
*/



/*
body {
  background-image: url("../img/bg_fondo.jpg");
  color: #808080;
  font-family: "Raleway",sans-serif;
  font-size: 14px;
  letter-spacing: 0.01em;
}*/

.bg_fondo {
  background-image: url("../img/bg_fondo.jpg");
  background-position: center bottom;
  background-size: cover;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}

body {
  color: #808080;
  font-family: "Raleway",sans-serif;
  font-size: 14px;
  letter-spacing: 0.01em;
}

body a {
    color: #808080;
    text-decoration: none;
} 
.interior {
    width: calc(100% - 2em);
    max-width: 950px;
    padding: 0 1em;
    margin: 0 auto;
}

.header .interior {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}
.header-fixed a {
    color: #ffffff;
    text-decoration: none;
}

.header-fixed {
    border-bottom: 1px solid #cccccc;
    padding: 10px 0;
    position: fixed;
    z-index: 999;
    margin: 0 auto;
    width: 100%;
    color: #ffffff;
}
.header-fixed .interior {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}
.menu ul {
  margin: 0;
  padding: 0 0 0.85em;
}
.menu li {
  display: inline-block;
  margin: 0 1em;
}

.header-left {
  align-items: flex-end;
  display: flex;
  width: 80%;
}
.header-right {
  padding-bottom: 0.85em;
  text-align: right;
  width: 20%;
}
.head { text-align: center;     width: 800px;
    margin: 0 auto;}
.head img { width:18%;}
.menu {
    display: inline-block;
}

.header {
  border-bottom: 1px solid #cccccc;
  padding: 10px 0;
}
.logo {
  display: inline-block;
  margin-right: 1.7vw;
  width: 170px;
}
.logo > img {
  width: 100%;
}
.header-right > span:first-child {
  border-right: 1px solid #ccc;
  margin-right: 11px;
  padding-right: 11px;
}
span > .fa {
  margin: 0 3px;
}
.mas-proyecto {
  padding: 15px 5px;
  text-align: right;
}
.line-btn {
  border: 1px solid #808080;
  border-radius: 3px;
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.9em;
}
footer {
  color: #999;
  font-size: 0.8em;
  padding: 20px 10px;
  text-align: center;
}
.footer b {
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-fixed {
  color: #ffffff !important;
  font-size: 0.8em;
  padding: 20px 30px;
  text-align: center;
  position:fixed;
  z-index:999;
  bottom: 10px;
}
.footer-fixed b {
  color:  #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
}



/*
*
*
 PROYECTOS
*
*
*/



.proyecto-grid {
  display: flex;
  justify-content: space-around;
}
.proyecto-col {
  width: 25%;
}
.proyecto-item {
  background-color: #ccc;
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  
}
/*.proyecto-item:hover {
    -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}*/
.proyecto-item.small {
  background-color: #c2c2c2;
  height: 30vh;
}
.proyecto-item.big {
  height: 40vh;
}
.proyecto-item:hover > .proyecto-info {
    opacity: 1;
}
.proyecto-info {
  font-size: 0.75em;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  bottom: 0;
  color: #fff;
  display: flex;
  justify-content: space-between;
  line-height: 1.1em;
  padding: 10px;
  position: absolute;
  width: calc(100% - 20px);
  opacity: 0;
  transition: all 0.4s ease 0s;
  -webkit-transition: all 0.4s ease 0s;
}
.proyecto-info > div:first-child {
  font-weight: bold;
}
.white-btn > span {
  background-color: #fff;
  border-radius: 2px;
  color: #000;
  font-size: 0.9em;
  font-weight: bold;
  padding: 5px 7px;
}
.desarrollo { margin-top:30px;}
.full .proyecto-galeria   > .proyecto-main-image {
    width: 100% !important; 
}
.desarrollo-des {
    font-size: 11px;
    padding: 20px;
}
.desarrollo-head  {
    font-size: 11px;
    padding: 10px;
}
.desarrollo-head  h1 {
    font-size: 11px;
    padding: 10px;
}
.desarrollo-des h2, .desarrollo-des h1{
	color:rgba(0,0,0,1.00);
}
.descripcion { font-size:14px; font-weight:bold; color:rgba(0,0,0,1.00); padding: 10px 20px;}
/*
*
*
 PROYECTOS
*
*
*/

.proyectos-section .proyecto-grid {
  margin: 0 auto;
  width: calc(100% - 70px);
}
.nav-proyectos a {
  border: 1px solid #999;
  border-radius: 3px;
  color: #999;
  padding: 7px 8px;
  position: absolute;
  top: calc(50% + 30px);
  cursor: pointer;
}
.nav-proyectos a:hover {
  border: 1px solid #000;
  color: #000;
}
.proyecto-content.proyectos-section {
  position: relative;
}
.right-btn {
  right: 0;
}










/*
*
*
 PROYECTO Individual
*
*
*/


.proyecto-galeria {
  display: flex;
  justify-content: space-between;
}
.proyecto-galeria > div {
  width: 50%;
}
.proyecto-main-image > a {
  display: block;
  height: 60vh;
}
.proyecto-images > a {
  display: block;
  height: 30vh;
}
.images-2col {
  display: flex;
  justify-content: space-between;
}
.images-2col > a {
  background-color: #ccc;
  display: block;
  height: 30vh;
  width: 50%;
}
.proyecto-galeria a {
  background-position: center center;
  background-size: cover;
  border: 2px solid #ececec;
  box-sizing: border-box;
  position: relative;
}

.proyecto-galeria a:hover > .galeria-hover {
  opacity: 1;
}

.galeria-hover {
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
  transition:all 0.3s ease 0s;
  -webkit-transition:all 0.3s ease 0s;
}

.proyecto-item-info {
  display: flex;
  font-size: 0.9em;
  justify-content: flex-start;
  padding: 2em 0;
}
.proyecto-item-info h1 {
  color: #000;
  font-size: 2.5em;
  margin: 0;
}
.proyecto-item-info > div {
  border-right: 1px solid #cecece;
  padding: 0em 1em;
}
.proyecto-item-info > div:last-child {
  border-right: 0 none;
}
.proyecto-item-info ul {
  margin: 0;
  padding: 0 1em;
}

.proyecto-item-info > div:nth-child(4) {
  white-space: nowrap;
}
.proyecto-item-info > div:nth-child(3) {
  white-space: nowrap;
}

.menu a.active {
  color: #000;
  font-weight: 600;
}
.menu a.active::before {
  background-color: #000;
  content: "";
  display: block;
  height: 110px;
  margin-left: -29px;
  position: absolute;
  top: -10px;
  transform: rotate(-33deg);
  width: 1px;
}

.icon-expand {
  background-image: url("../img/expand-icon.svg");
  background-position: center center;
  background-size: cover;
  display: block;
  height: 41px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
}






/*
*
*
 FILOSOFIA
*
*
*/

.filosofia-content {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
  margin-bottom: 2em;
}
.filosofia-content > div {
  width: 50%;
}
.filosofia-content h2 {
  color: #000;
  font-size: 2.5em;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}
.filosofia-content p {
  font-size: 0.9em;
}

.grid {
  display: flex;
  justify-content: space-between;
}
.grid.col2 > div {
  width: 50%;
}
.filosofia-info .col2 > div > img {
  display: inline-block;
  width: 45%;
}
.filosofia-info .grid.col2 {
  margin-top: 3em;
}
.grid.col2 span {
  line-height: 2em;
  text-decoration: underline;
}
.filosofia-logo {
  background-image: url("../img/filosofia-logo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 85% auto;
}




/*
*
*
 CONTACTO
*
*
*/

.contacto-content {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
}
.contacto-content {
  display: flex;
  font-weight: lighter;
  justify-content: space-between;
  letter-spacing: 0.02em;
  margin: 22vh 12vh;
}
.contacto-content h3 {
  color: #000;
  font-size: 2.5em;
  font-weight: lighter;
  margin: 0;
}
.contacto-content p {
  font-size: 0.9em;
}
#contact-form {
  padding: 0 4em;
  margin-top: 1em;
}

input {
    background-color: transparent;
    border: 1px solid #b3b3b3;
    border-radius: 0.25em;
    color: #000;
    font-size: 0.8em;
    margin-bottom: 0.7em;
    margin-left: 0.3em;
    padding: 0.5em 1em;
    width: calc(49% - 2.65em);
}
textarea {
  background-color: transparent;
  border: 1px solid #b3b3b3;
  border-radius: 0.25em;
  box-sizing: border-box;
  color: #000;
  font-size: 0.8em;
  height: 10em;
  margin-left: 0.3em;
  padding: 0.5em 1em;
  width: calc(98% - 0.3em);
}
.send_btn {
    background-color: #000;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    margin-top: 0.5em;
    padding: 0.4em 2em;
}


/*
*
*
 NOTICIAS
*
*
*/
.noticias-content h2 {
  color: #000;
  font-size: 2.5em;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}
.header-noticias {
  align-items: center;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  padding: 2em 0;
}
.noticas-filtros > a {
  border-right: 1px solid #808080;
  display: inline-block;
  font-weight: 500;
  margin-right: 15px;
  padding-right: 15px;
}
.noticas-filtros > a.active {
  border: 1px solid #000;
  border-radius: 3px;
  color: #000;
  padding: 3px 13px;
}



.noticia-item {
  display: flex;
  line-height: 1.25em;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}
.noticia-item > div {
  border: 10px solid transparent;
  box-sizing: border-box;
}
.noticia-item img {
  max-width: 230px;
}
.noticia-item > div:first-child {
  min-width: 230px;
}
.noticia-item h3 {
  color: #000;
  margin: 0 0 0.25em;
}
.noticia-item small {
  font-weight: 600;
  /*white-space: nowrap;*/
  line-height: 1em;
}
.noticias-tags > span {
  background-color: #999;
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 5px;
  padding: 1px 7px;
  margin-right: 2px;
}
.noticias-tags {
  margin-top: 1em;
}
.noticia-item > div:last-child {
  font-size: 12px;
  font-weight: 500;
}































/* ==========================================================================
   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 only screen and (max-width: 768px) {

.proyecto-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.proyecto-col {
  width: 100%;
}
.proyecto-info {
  font-size: 12px;
}

.filosofia-content {
  flex-wrap: wrap;
}
.filosofia-content > div {
  width: 100%;
}

.header-noticias {
  display: block;
}
.noticias-content h2 {
  font-size: 1.5em;
  line-height: 1em;
  margin-bottom: 1em;
}
.noticas-filtros > a:last-child {
  border-right: 0 none;
  margin-right: 0;
  padding-right: 0;
}

.noticia-item {
  flex-wrap: wrap;
}



.contacto-content {
  flex-wrap: wrap;
  margin: 20px;
}
#contact-form {
  margin-top: 2em;
  padding: 0;
}


.header .interior, .header-fixed .interior {
  flex-wrap: wrap;
}

.menu li {
  display: block;
  margin: 0 1em;
}
.header-left {
  width: 100%;
  justify-content: space-between;
}
.header-right {
  border-top: 1px solid #e3e3e3;
  margin-top: 20px;
  padding-bottom: 0;
  padding-top: 10px;
  text-align: center;
  width: 100%;
}


}

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