@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

span{
	display:inline-block;
}

body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	background: #fff;
	font-weight: 400;
	font-size: 100%;
	color: #333;
	height: 100%;
}

.js body {
	overflow: hidden;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	background: #f1103a;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
	overflow-y: overlay;
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.menu-toc {
	list-style: none;
}

.menu-toc li a {
	display: block;
	color: #fff;
	font-size: 0.8em;
	line-height: 3.5;
	padding: 0 20px;
	cursor: pointer;
	background: #f1103a;
	border-bottom: 1px solid #dd1338;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #dd1338;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a i{font-size: 2.2em;}
.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	background: #f1103a;
	border-radius: 50%;
	color: #fff;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #000;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	bottom: 50px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
	padding: 10px 5% 10px 5%;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.js .content:after {
	top: auto;
	bottom: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.content h2 {
	font-weight: 300;
	font-size: 4em;
	padding: 0px;
	color: #333;
	margin: 0px auto 20px auto;
	text-align: center;
	text-shadow: 0 0 2px #fff;
	display: block;
	border-bottom: 2px solid #BFBFBF;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.menu-panel ul{margin-left:0px!important;}
.content p {
	font-size: 1.2em;
	line-height: 1.6;
	padding: 5px 8%;
	text-align: justify;
}
.profilepic{
	border-radius: 50%;
	text-align: center;
	width: 10em!important;
    height: 10em!important;
    border: 2px solid #f1103a;
    margin:0px auto!important;
}
.profilepicsmall{
	border-radius: 50%;
	width: 4em!important;
    height: 4em!important;
    border: 2px solid #f1103a;
    margin-top:20px;
}

.center{
	text-align: center!important;
	margin: 0px!important; 
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.borderbottom{border-bottom: 1px solid #ddd}

.work-item{
	border-left: 1px dashed #f1103a;
}
.work-item::before { 
	position: relative;
	right:10px;
	top:30px;
    display:block;
    background-color: #f1103a;
    height:20px;
    width:20px;
    -webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
}
.idioma{
	border: 1px solid #f1103a;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	padding:0px 40px;
	color:#f1103a;
}
.lfw{margin-left:15px;}

.wefecha{
	color:#f1103a;
}
.leftaligned{
	text-align: left!important;
}
.wecentro, .wetitulo{
	padding:0px!important;
}
.wetitulo{
	font-weight: 700;
}

.edu-item{
	background:#F5F5F5;
	margin:1em;
}
.verticalmiddle{
	vertical-align: middle;
	margin:auto 0;
}
.edu-item .fecha{
	color:#ffffff;
	font-size: 0.9em;
	font-weight: 500;
	background: #f1103a;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	margin:10px auto;
	padding:8px 10px;
	
}
.titulo, .centro{
	font-size: 1.1em;
	padding:16px 5px;
}
.titulo{
	font-weight: 600;
}

.rcurs{
	text-align: center!important;
	border: 1px solid #E4E3E4;

}
.addcurso{
	color:#f1103a;
	font-weight: 700;
}

.padbottom{padding-bottom: 20px!important;}
.editor{font-weight: 300;font-family: 'Lato', Calibri, Arial, sans-serif; font-size: 18px;line-height: 1.42857143; color: #333; padding: 5px;}
.editor p{	font-weight: 300;font-family: 'Lato', Calibri, Arial, sans-serif; font-size: 18px;line-height: 1.42857143; color: #333; padding: 5px;}
.editor div{	font-weight: 300;font-family: 'Lato', Calibri, Arial, sans-serif; font-size: 18px;line-height: 1.42857143; color: #333; padding: 5px;}
.editor ol{margin-top: 5px; padding: 5px;margin-left: 20px;}
.editor ul{margin-top: 5px; padding: 5px;margin-left: 20px;}
.editor ul li ul{list-style-type: disc;margin-left: 30px;}
.editor ul ul{list-style-type:circle;margin-left: 30px;}
.editor ul li span ul{list-style-type:circle;margin-left: 30px;}
.editor ul li{	font-weight: 300;font-family: 'Lato', Calibri, Arial, sans-serif; font-size: 18px;line-height: 1.42857143; color: #333;font-weight: 300;}
.editor ol li{	font-weight: 300;font-family: 'Lato', Calibri, Arial, sans-serif; font-size: 18px;line-height: 1.42857143; color: #333;font-weight: 300;}
.editor blockquote{border:none!important;}

.pdf, .word{text-shadow:none!important;color:#F6879B!important;}

@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}
}

@media screen and (max-width: 400px){
	.menu-panel,
	.content {
		font-size: 75%;
	}
	.smallcenter{
		text-align: center!important;
	}
	.titulo, .centro{
		font-size: 1rem;
	}
	.fecha{
		font-size: 1rem!important;
	}
}

/* Permet videos embedits més grans */
.embed-responsive{
    margin:0 auto!important;
    text-align: center;
}
.embed-responsive-item{
  height:340px!important;
  width:100%!important;
  margin:0 auto!important;
}

@media only screen and (min-width:1000px) {
    .embed-responsive-item{
  height:340px!important;
  width:60%!important;
  margin:0 auto!important;
    }
}

/*  ----- Others --------  */

/*  ----- References --------  */

.ref p{
	padding:0!important;
}
.refauthor{
	margin-bottom:0px!important;
}

.refcomp, .refcont{
	color:#f1103a;
}
.refquote{
	font-weight: 300!important;
}
.refrow{margin-bottom:20px;}

.message-arrow{
  background:url(/assets/img/eee-arrow.png);
  float:left;
  width: 15px;
  height: 15px;
}

.refinfo{width:20%;float:left;}
.refcontent{width:80%;float:left;}
.clear{clear:both;}

.message-content{
	padding: 25px 5px 44px 5px;
  	display: inline-block;
  	width:95%;
  	background:#eee;
  	-webkit-border-radius: 3px;
  	-webkit-border-top-left-radius: 0;
  	-moz-border-radius: 3px;
  	-moz-border-radius-topleft: 0;
  	border-radius: 3px;
  	border-top-left-radius: 0;
  	text-align: center;
  	font-size: 18px!important;
  	ont-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  	font-weight: 200;
  
}

.quotebegins, .quotefinishes{
  font-size: 40px!important;
}

.message-content span{
  font-weight: 200;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 18px;
  line-height: 1.42857143;
  color: #333;
  padding: 5px;
  text-align: center!important;
}
.quote-author{
	font-size: 1em!important;
  text-align: right!important;
  font-weight: 200!important;
  margin-right: 10px;
}

/*  ----- List of certificates --------  */

.rectangle-list a, .rectangle-list p{
    position: relative;
    display: block;
    padding: .4em .4em .4em .8em;
    *padding: .4em;
    margin: .5em 0 .5em 2.5em;
    background: #ddd;
    color: #f1103a;
    text-decoration: none;
    transition: all .3s ease-out;   
}

.rectangle-list a:hover, .rectangle-list a:active{
    background: #eee;
    color:#f1103a!important;
    text-decoration: none;
}   

.rectangle-list a:before{
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -2.5em;
    top: 50%;
    margin-top: -1em;
    background: #f1103a;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
    
}


.rectangle-list a:after{
    position: absolute; 
    content: '';
    border: .5em solid transparent;
    left: -1em;
    top: 50%;
    margin-top: -.5em;
    transition: all .3s ease-out;               
}

.rectangle-list a:hover:after{
    left: -.5em;
    border-left-color: #f1103a;             
} 

.rectangle-list li{color:#fff!important;}

.sinlink{color:#333!important;}
.conlink{color:#1cb7eb!important;}

/*  ----- End of List of certificates --------  */


/*  ----- Habilidades --------  */

.skillbox{
	padding-bottom: 40px!important;
	text-align: center;
	float:left!important;
}
.skillbox div{
	margin:0 auto;
	text-align: center;
}

.skill{
	text-align: left!important;
}
.red{
	display:block;
}


/*  ----- Logros --------  */

.logro{
	margin-bottom:20px;
}

.achievement{
    color: #333!important;
    font-weight: 700!important;
}

.achievement i{
	color:#f1103a!important;
}

/*  ----- contacto --------  */

.enviar{
	background:#f1103a;
	padding:10px 20px;
	color:#fff;
	border:none;
}







/* ---------- Timeline Index --------------- */


#timeline .timeline-item:after, #timeline .timeline-item:before {
  content: '';
  display: block;
  width: 100%;
  clear: both;
}

*, *:before, *:after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.containertm {
  max-width: 1100px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: "Dosis", arial, tahoma, verdana;
  font-weight: 500;
}

.project-name {
  text-align: center;
  padding: 10px 0;
}

header {
  background: #2b2e48;
  padding: 10px;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  -ms-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
}
header .logo {
  color: #ee4d4d;
  float: left;
  font-family: "Dosis", arial, tahoma, verdana;
  font-size: 22px;
  font-weight: 500;
}
header .logo > span {
  color: #f7aaaa;
  font-weight: 300;
}
header .social {
  float: right;
}
header .social .btn {
  font-family: "Dosis";
  font-size: 14px;
  margin: 10px 5px;
}

#timeline {
  width: 100%;
  margin: 30px auto;
  position: relative;
  padding: 0 10px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
#timeline:before {
  content: "";
  width: 3px;
  height: 100%;
  background: #979797;
  left: 50%;
  top: 0;
  position: absolute;
}
#timeline:after {
  content: "";
  clear: both;
  display: table;
  width: 100%;
}
#timeline .timeline-item {
  margin-bottom: 50px;
  position: relative;
}
#timeline .timeline-item .timeline-icon {
  background: #ee4d4d;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 50%;
  overflow: hidden;
  margin-left: -23px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
#timeline .timeline-item .timeline-icon svg {
  position: relative;
  top: 10px;
  left: 10px;
}
#timeline .timeline-item .timeline-content {
  width: 45%;
  background: #fff;
}
#timeline .timeline-item .timeline-content p {

  text-align: center!important;
  font-weight: 300;
  margin-bottom:0px!important;
}
#timeline .timeline-item .timeline-content:before {
  content: '';
  position: absolute;
  left: 45%;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;

}
#timeline .timeline-item .timeline-content.right {
  float: right;
}
#timeline .timeline-item .timeline-content.right:before {
  content: '';
  right: 45%;
  left: inherit;
  border-left: 0;
}

.timelinehd{}

@media screen and (max-width: 768px) {
  #timeline {
    margin: 30px;
    padding: 0px; 
    width: 90%;
  }
  #timeline:before {
    left: 0;
  }
  #timeline .timeline-item .timeline-content {
    width: 90%;
    float: right;
  }
  #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
    left: 10%;
    margin-left: -6px;
    border-left: 0;
  }
  #timeline .timeline-item .timeline-icon {
    left: 0;
  }
}

.dw-buttons{
	margin-top:100px;
}
.dw-buttons p a{ 
	padding:5px 20px;
	background:#F1103A;
	color:#ffffff;
	display:inline-block;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

}
