@charset "UTF-8";
/* CSS Document */

* {
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

/* Reset CSS
 * --------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}

a{
	text-decoration:none;
}
table {
    border-spacing: 0;    
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
	font-weight: bold;
}
ol,ul {
    list-style: none;
    display: inline;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
}

abbr,acronym { border: 0;
}

/* --------------------------------------- */

body {
    font-family: 'Roboto', sans-serif;
    font-size:0.875rem;
    line-height:1.3;
}

#bg{
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
}
.icons { 
    margin: 1.5em;
    position: relative;
    display: inline;
    float:left;
}
i{
  color: #fff;
  padding-top:0.5em;  
}
.black { 
  color:#000;
}
.white { 
  color:#fff;
}
.grey { 
  color:#9ea2a5;
}
.volver{
  margin:0.5em;
}

a{
    color:#9ea2a5;
}
a:hover{
    color:#f00;
}

.second{
  margin-top: 1em;
}

/* menu nav CSS
 * --------------------------------------- */
#cssmenu {
  height: 5em;
  width: auto;
  position:relative;
  background: #000000;
}
#cssmenu ul {
  line-height: 1;
  float:right;
}

#cssmenu > ul {
  position: relative;
  z-index: 500;
}
#cssmenu:after,
#cssmenu > ul:after {
  content:'';
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu.align-center ul {
  text-align: center;
}
#cssmenu.align-center ul ul {
  text-align: left;
}
#cssmenu > ul > li {
  display: inline-block;
  position: relative;
  padding: 0;
  background-color:#000;
}
#cssmenu > ul > #menu-button {
  display: none;
}
#cssmenu ol.brand{
    position: relative;
    display: inline;
    font-size: 1.5em;
    text-transform: uppercase;
    font-family: 'Impact', sans-serif;
    letter-spacing: 0.1em;
    background-color:#000;
    z-index: 500;
}
#cssmenu ol.brand img{
    float:left;
}
#cssmenu ol.brand span{
    display:block;
    float:left;
    color:#fff;
    vertical-align: top;
}

#cssmenu ul li a {
  display: block;
  font-family: 'Impact', sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;

}
#cssmenu > ul > li > a {
  font-size: 1.5em;
  padding: 0.938em 1.25em;
  color: #fff;
  text-transform: uppercase;
  -webkit-transition: color 0.25s ease-out;
  -moz-transition: color 0.25s ease-out;
  -ms-transition: color 0.25s ease-out;
  -o-transition: color 0.25s ease-out;
  transition: color 0.25s ease-out;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 2.286em;
  font-weight: normal;
}
#cssmenu > ul > li:hover > a {
  color: #7a8189;
}
#cssmenu li.has-sub::after {
  display: block;
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
#cssmenu > ul > li.has-sub::after {
  right: 0.625em;
  top: 2.5em;
  border: 0.357em solid transparent;
  border-top-color: #fff;
}
#cssmenu > ul > li:hover::after {
  border-top-color: #9ea2a5;
}
#indicatorContainer {
  position: absolute;
  height: 0.75em;
  width: 100%;
  bottom: 0px;
  overflow: hidden;
  z-index: -1;
}
#pIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 0.75em solid transparent;
  border-top-color: #000000;
  z-index: -2;
  -webkit-transition: left .25s ease;
  -moz-transition: left .25s ease;
  -ms-transition: left .25s ease;
  -o-transition: left .25s ease;
  transition: left .25s ease;
}
#cIndicator {
  position: absolute;
  height: 0;
  width: 100%;
  border: 0.75em solid transparent;
  border-top-color: #000000;
  top: -0.75em;
  right: 100%;
  z-index: -2;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  top: 5em;
  opacity: 0;
  -webkit-transition: opacity .3s ease, top .25s ease;
  -moz-transition: opacity .3s ease, top .25s ease;
  -ms-transition: opacity .3s ease, top .25s ease;
  -o-transition: opacity .3s ease, top .25s ease;
  transition: opacity .3s ease, top .25s ease;
  z-index: 1000;
}
#cssmenu ul ul ul {
  top: 2.643em;
  padding-left: 0.357em;
}
#cssmenu ul ul li {
  position: relative;
}
#cssmenu > ul > li:hover > ul {
  left: auto;
  top: 3.143em;
  opacity: 1;
}
#cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  opacity: 1;
}
#cssmenu ul ul li:hover > ul {
  left: 11.5em;
  top: 0;
  opacity: 1;
}
#cssmenu.align-right ul ul li:hover > ul {
  left: auto;
  right: 15em;
  top: 0;
  opacity: 1;
  padding-right: 0.357em;
}
#cssmenu ul ul li a {
  width: 9.286em;
  border-bottom: 1px solid #7a8189;
  padding: 0.625em 1.25em;
  font-size: 1.25em;
  color: #ffffff;
  background: #000000;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -ms-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
}
#cssmenu.align-right ul ul li a {
  text-align: right;
}
#cssmenu ul ul li:hover > a {
  background: #f2f2f2;
  color: #8c9195;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul::after {
  content: '';
  border: 0.375em solid transparent;
  width: 0;
  height: 0;
  border-bottom-color: #9ea2a5;
  position: absolute;
  top: -0.75em;
  left: 2.143em;
}
#cssmenu.align-right > ul > li > ul::after {
  left: auto;
  right: 2.143em;
}
#cssmenu ul ul li.has-sub::after {
  border: 4px solid transparent;
  border-left-color: #9ea2a5;
  right: 0.625em;
  top: 0.75em;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
#cssmenu.align-right ul ul li.has-sub::after {
  border-left-color: transparent;
  border-right-color: #9ea2a5;
  right: auto;
  left: 0.625em;
}
#cssmenu ul ul li.has-sub:hover::after {
  border-left-color: #ffffff;
  right: -0.357em;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
#cssmenu.align-right ul ul li.has-sub:hover::after {
  border-right-color: #ffffff;
  border-left-color: transparent;
  left: -0.357em;
  -webkit-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
@media screen and (min-width:940px) {
    #cssmenu ul {
    margin-right: 5em;   
  }
    #cssmenu ul ul {
    border: 0.1em solid #9ea2a5;
  }
}
@media all and (max-width: 940px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu {
    width: auto;
  }
  #cssmenu.align-center ul {
    text-align: right;
  }
  #cssmenu.align-right > ul > li {
    float: right;
  }
  #cssmenu ul {
    width: auto;
  }
  #cssmenu .submenuArrow,
  #cssmenu #indicatorContainer {
    display: none;
  }
  #cssmenu > ul {
    height: auto;
    display: block;
  }
  #cssmenu > ul > li {
    float: none;
  }
  #cssmenu li,
  #cssmenu > ul > li {
    display: none;
  }
  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu ul > li:hover > ul,
  #cssmenu ul ul > li:hover > ul,
  #cssmenu.align-right ul ul,
  #cssmenu.align-right ul ul ul,
  #cssmenu.align-right ul > li:hover > ul,
  #cssmenu.align-right ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    right: auto;
  }
  #cssmenu ul .has-sub::after {
    display: none;
  }
  #cssmenu ul li a {
    padding: 0.75em 1.25em;
  }
  #cssmenu ul ul li a {
    border: 0;
    background: none;
    width: auto;
    padding: 0.5em 2.25em;
  }
  #cssmenu.align-right ul ul li a {
    text-align: left;
  }
  #cssmenu ul ul li:hover > a {
    background: none;
    color: #8c9195;
  }
  #cssmenu ul ul ul a {
    padding: 0.5em 3.125em;
  }
  #cssmenu ul ul ul ul a {
    padding: 0.5em 4.063em;
  }
  #cssmenu ul ul ul ul ul a {
    padding: 0.5em 5em;
  }
  #cssmenu ul ul ul ul ul ul a {
    padding: 0.5em 5.938em;
  }
  #cssmenu > ul > #menu-button {
    display: block;
    cursor: pointer;
  }
  #cssmenu #menu-button > a {
    padding-right:2.5em;
    text-align:right;
  }
  #cssmenu ul.open li,
  #cssmenu > ul.open > li {
    display: block;
  }
  #cssmenu > ul.open > li#menu-button > a {
    color: #fff;
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  }
  #cssmenu ul ul::after {
    display: none;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 0.214em;
    width: 1.571em;
    border-top: 0.143em solid #7a8189;
    border-bottom: 0.143em solid #7a8189;
    right: 1.25em;
    top: 1.15em;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 0.214em;
    width: 1.571em;
    border-top: 0.143em solid #7a8189;
    right: 1.25em;
    top: 1.85em;
  }
  #cssmenu ul.open #menu-button::after,
  #cssmenu ul.open #menu-button::before {
    border-color: #fff;
  }
}


/* --------------------------------------- */

.caja {
    width:80%;
    max-width:1200px;
    margin:2em auto;
    padding-top:2em;
}
h2 {
    text-align: center;
    font-size: 3em;
    text-transform: uppercase;
    font-family: 'Impact', sans-serif;
    margin: -0.5em 2em 1em 0em; 
}
h3 {
    text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    font-family: 'Impact', sans-serif;
    margin-bottom: 0.5em; 
}


/* caja biografia
 * --------------------------------------- */
.bio{
    padding: 1em;
}
.bio p {
    widows: 3;
}

#text-bio {
  width: 45%;
  display: inline-block;
}
#img-bio {
  width: 45%;
  display: inline-block;
  float:right;
  margin-top: 1em;
}

.demo {
    width:450px;
}
.demo ul {
    list-style: none outside none;
    padding-left: 0;
    margin-bottom:0;
    display:block;
}
.demo li {
    display: block;
    float: left;
    margin-right: 6px;
    cursor:pointer;
}
.demo img {
    display: block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.ver {
  font-size: 1.5em;
}

#imageGallery img{
  vertical-align: middle;
}

/* --------------------------------------- */
/* caja filosofia
 * --------------------------------------- */
#columna2 {
    width:66.66%;/*600/900*/
    float:right;   
}
#columna2 .caja {
    overflow:auto;
    background-color:rgba(0, 0, 0, 0.6);
    padding: 2em;
    height: 80%
}
#columna2 .caja p{
    color:#fff;
}
#columna2 .caja h2{
     color:#fff;
}
/* --------------------------------------- */
/* caja galeria
 * --------------------------------------- */

.fotografias h2 a { 
    color: #000;
}

.galeria {
    margin-left: 16%;
}

.galeria p {
    font-size:.875rem;
    max-width: 240px;
}

/*--margin:top-right-bottom-left--*/

.fotografias {
    margin:0 3% 6% 3%;
    padding:0.625em;
    border:1px solid #ccc;
    float: left;
    background-color: #fff;
    text-align: center;
}

/**** posicionarlas ****/

.fotografias:nth-of-type(2n) {
    -webkit-transform: rotate(1deg);

}

.fotografias:hover {
    -webkit-transform: scale(1.05);
    background-color: #333;
    color:#fff;
/*Transicion de color 0.25 segundos*/

    -webkit-transition: 
    color 0.25s ease-in, 
    background-color 0.25s ease-in, 
    -webkit-transform 0.25s ease-in;
/*Se podria abreviar el codigo de arriba poniendo webkit-transition: all 0.25s ease-in y lo aplicaria a todos*/

}

.fotografias:hover img {
    opacity:0.4;
    -webkit-filter: grayscale(1);
    -webkit-transition: all 0.25s ease-in;
}

.lightimg{
  margin-top:1em;
}

.lightimg ul li {
  float: left;
  margin-right: 3%;

}
.lightimg p{
  text-align: center;
}

/* --------------------------------------- */

@media screen and (min-width:1201px) {

.bio h2 {
    margin-left: 2.5em;
}

.fotografias:nth-of-type(3n+1) {
    clear: both;
}
.fotografias {
    margin-left: 3%;
}

.contact{
  margin-right: 15%;
}

}

@media screen and (min-width:601px) and (max-width:1200px) {

.fotografias {
    margin-left: 3%;
}

.fotografias:nth-of-type(2n+1) {
    clear: both;
}
.contact{
  margin-right: 15%;
}
}

@media screen and (min-width:160px) and (max-width:600px) {

.caja {
    float:none;
}
#text-bio {
  width: 100%;
}
#text-bio h2 {
  margin:0.5em;
}
#img-bio {
  width: 100%;
}
.horitzontal{
  max-width: 300px;
  margin-left: 0;
}
.horitzontal img{
  max-width: 240px;
}
.galeria h2 {
  margin: 0.5em 0 0.5em 0;
}
.icons { 
  display: block;
  float:none;
  vertical-align: middle;

}
.icons li {
  float:left;
  margin-right: 4%;

}

.negre {
  color:#000;
}
#ultim i {
  margin-top: 1em;
}

#columna2 {
  width: 90%;
}

}

/* --------------------------------------- */

/* contacto------------------ */
.contacto{
  background-color: #000;
}
.contacto h2{
  color: #fff;
  margin-top: 1rem;
}

.datos {
  color: #fff;
  max-width: 400px;
  vertical-align: middle;
  margin-left: 10%;
  display: inline-block;
}
.contact{
  float: right;
}

/* --------------------------------------- */

#barra_inf{
    position:fixed; 
    background-color: #000;
    color:#fff;
    bottom: 0px;
    width: 100%;
    font-size: 0.75em;
}

#barra_inf {
    display:block;
    text-align: center;
}

footer li a {
    color:#fff;
    display:inline-block;
    float:left;
    padding:0.5em; 
}
footer p{
    display:block;
}