@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat-Regular'), url('../fonts/Montserrat-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu-Bold'), url('../fonts/Ubuntu-Bold.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  src: local('Ubuntu-Medium'), url('../fonts/Ubuntu-Medium.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  src: local('Ubuntu-Light'), url('../fonts/Ubuntu-Light.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'DroidSerif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/DroidSerif.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'DroidSerif';
  font-style: normal;
  font-weight: 700;
  src: local('DroidSerif-Bold'), url('../fonts/DroidSerif-Bold.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

.navbar-pedro{
	background-color: rgba(152, 153, 220, 0.63);
}

.fixed-top {
    position: fixed;
}

.navbar-brand {
    color: #394488;
    font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, cursive;
    font-size: 1.5rem;
}

.navbar-brand em {
    color: #394488;
    font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, cursive;
    font-weight: 700;
    font-style: normal;
    color: #fff;
}

.nav-link {
    font-size: 90%;
    padding: 0.75em 0;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    color: white;
}

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 0;
}
.dropdown-item {
  font-family: "Montserrat";
}

.btn-primary {
  color: #fff;
  background-color: #fc7904;
}

.btn-menu{
	color: #fff;
    background-color: #fc7904;
    border-color: #ef6e02;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

header {
    background-image: url(../img/intro_madrid.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    text-align: center;
    color: #fff;
    animation: transitionImage 20s infinite;
}

@keyframes transitionImage {
    0% {background-image: url(../img/intro_madrid.jpg);}  
	20% {background-image: url(../img/intro_madrid.jpg);}   
	30% {background-image: url(../img/intro_madrid_2.jpg);}
	50% {background-image: url(../img/intro_madrid_2.jpg);}
	60% {background-image: url(../img/intro_madrid_3.jpg);}
	80% {background-image: url(../img/intro_madrid_3.jpg);}
}

header .intro-text {
    padding-top: 200px;
    padding-bottom: 600px;
}

header .intro-text .intro-heading {
    font-family: "Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 2px;
    text-shadow: #4d4769 0px 0px 6px;
}

header .intro-text .intro-subheading {
    font-family: "DroidSerif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 25px;
    text-shadow: #2a2346 0px 0px 6px;
}

header .intro-text .intro-lead-in {
    font-family: "DroidSerif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-style: italic;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0px;
    text-shadow: #4d4769 0px 0px 6px;
}

section {
    padding: 30vh 0;
}

.btn-xl, h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

.btn-xl {
    color: #fff;
    background-color: #fc7904;
    border-color: #ef6e02;
    border-radius: 3px;
    font-size: 18px;
    padding: 20px 40px;
}

section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 2px;
}

section h3.section-subheading {
    font-family: "DroidSerif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 75px;
    font-size: 1rem;
}

.portfolio-content {
    height: 250px;
    overflow: hidden;
    width: 100%;
    background: #f5f5f5;
    position: relative;
}

.portfolio-item{
  font-size: .7rem;
  margin-top: 1rem;
}

.portfolio-caption h4{
  margin-bottom: 0;
}

.img-portfolio {
    max-width: 100%;
    height: auto;
    top: 0;
    bottom: 0;
    margin: auto;
}

.bg-light-gray {
    background-color: #eeeeee;
}

a {
    color: #fc7904;
}

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: "";
  width: 2px;
  background-color: #f1f1f1;
  left: 40px;
  margin-left: -1.5px;
}
.timeline > li {
  margin-bottom: 50px;
  position: relative;
  min-height: 50px;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  width: 100%;
  float: right;
  padding: 0 20px 0 100px;
  position: relative;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
/*.timeline > li .timeline-image {
  left: 0;
  margin-left: 0;
  width: 80px;
  height: 80px;
  position: absolute;
  z-index: 100;
  background-color: #fed136;
  color: white;
  border-radius: 100%;
  border: 7px solid #f1f1f1;
  text-align: center;
}*/
.timeline >li .timeline-image{
	left:0;
	margin-left:0;
	width:80px;
	height:80px;
	position:absolute;
	z-index:100;
	background-color:#4e50af;
	color:#fff;
	border-radius:100%;
	border:7px solid #f1f1f1;
	text-align:center
}
.timeline > li .timeline-image h4 {
  font-size: 10px;
  margin-top: 12px;
  line-height: 14px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  text-align: left;
  padding: 0 20px 0 100px;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4{margin-top: 1rem;;color:inherit;    font-size: 1rem;}
.timeline .timeline-heading h4.subheading{text-transform:none;     font-size: 1.2rem;        margin-top: -0.5rem; }
.timeline .timeline-body>p,.timeline .timeline-body>ul{margin-bottom:0;     font-size: 0.8rem;}

.timeline .timeline-body > p,
.timeline .timeline-body > ul {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    margin-bottom: 100px;
    min-height: 100px;
  }
  .timeline > li .timeline-panel {
    width: 41%;
    float: left;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    width: 100px;
    height: 100px;
    left: 50%;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    margin-top: 16px;
    line-height: 18px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    text-align: left;
    padding: 0 30px 20px 20px;
  }
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 140px;
    height: 140px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    margin-top: 30px;
    line-height: 26px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }

  

}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
 /* .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }*/
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

h4, .h4 {
    font-size: 1.5rem;
}

button.close{
  border: 0;
  text-align: right;
  font-size: 30px;
}

@media (max-width: 992px){
  section {
    padding: 19vh 0;
  }
}