/*Muy spaghetti */
/* Source Sans Pro
-------------------------------------------------- */
/*
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}
*/
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/NotoSans-Regular.ttf) format('ttf');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/NotoSans-Regular.ttf) format('ttf');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/NotoSans-Bold.ttf) format('ttf');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/NotoSans-Italic.ttf) format('ttf');
}

/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}

/* Vid
-------------------------------------------------- */
.video
{
	text-align: center;
}

/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #FF97FF;
}

.menu_text
{
	font-size: 1.15em;
	/*font-style: italic;*/
	/*font-weight: 400;*/
	letter-spacing: 1px;
	line-height: 1.1;
	display:block;
	float:none;
}

.cv_link
{
	font-size:1.2em;
}
.contact
{
	text-align: right;
	/*display:block; 
	position: absolute; 
	 
	right: 0;
	bottom: .25em;*/
}

/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 100%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.0em;
  line-height: 1.25em;
  font-weight: 300;
  padding: 1.25em 2em 2em 2em;
  max-width: 80em;
  background: #FFFFFF;
  color: #222;
  list-style-type:none;
  
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 2px solid;
  margin-bottom: 1.5em;
  overflow: auto;
  position:relative;
  height: 7em;
}
.logo {
  font-weight: 300;
  display: block;
  font-size: 2.7em;
  line-height: 1.0em;
  letter-spacing: 1px;  

}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
  font-size: 1.75em;
  font-weight: 300;
  letter-spacing: 4px;
}
.menu a:hover {
  color: #FF97FF;
  text-decoration: none;
}
.menu .active {
  /*color: #FF97FF;*/
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .15em;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}



/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  letter-spacing: 10px;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: 0;/*.5em;*/
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 0.5em;
  border-bottom: 2px solid black;
}
.main hr {
  margin: 1em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.0em;
  list-style: none;
}
.main a {
  border-bottom: 1px solid #000;
  /*color: #FF97FF;*/
}
.main a:hover {
  border-color: #222;
  color: #FF97FF;
  border-bottom: 1px solid #FF97FF;
  /*padding-left: 15px;
  padding-bottom: 20px;*/
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

.header_div
{
	bottom : 5px;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  /*color: red;*/
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}

/* Not important
 -------------------------------*/
.inviso
{
    text-decoration: none;
    color: transparent;
    transition: color .3s, background .3s, border .3s;
}

.inviso:hover
{
    color: #FF97FF;
}

/* Project teaser
-------------------------------------------------- */
.teaser_title 
{
	text-align: center;
	font-size: 1.15em;
	/*font-style: italic;*/
	font-weight: 400;
	margin-top: .5em;
	letter-spacing: 3px;
	
}

a.projects:hover .teaser_title{
		color: #FF97FF;
		transition: color .3s, background .3s, border .3s;
}

.title_x
{
	color:#ff97ff;
}

a:hover .title_x{
		color: #FFDDFF;
		transition: color .3s, background .3s, border .3s;
} 

.teaser {
  list-style: none;
  
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
  
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 45%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}

.item { width: 25%;
padding: 0em;
 }
.grid-sizer 
{
	 width: 25%; 
	 }

/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  padding: .25em 0 0em;
  /*font-size: 1.25em;*/
}
.copyright {
	font-size: .85em;
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  /*color: red;*/
  padding-left: .25em;
}

@media screen and (max-width: 1100px) {

.item{width:50%}
.grid-sizer{width:50%}
}

@media screen and (max-width: 750px) {

.item{width:100%}
.grid-sizer{width:100%}
}

@media screen and (max-width: 450px)
{
	
	.header {
  border-bottom: 2px solid;
  margin-bottom: 1.5em;
  overflow: auto;
  position:relative;
  height: 6em;
}
	  .logo {
    font-weight: 300;
  font-size: 2.1em;

  }
.contact{
	line-height: 1em;
}  
body .menu_text  {
	font-size: 0.85em;
	
}
body .menu_text a
{
	/*display:block;
	float:none;*/
	 padding:0;
    margin:0;

}

body {
  padding: 0.75em 1em 1em 1em;
}
  
}

