@import url(font-awesome.min.css);
@import url(fonts.css);

body{
   font-family: 'MuseoSans_300';
}

.hide { display: none !important; }

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
.fadeIn { animation: fadeIn .3s cubic-bezier(0.445, 0.05, 0.55, 0.95) forwards; }

@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
.fadeOut { animation: fadeOut .3s ease-out forwards; }

nav.bg-dark{ 
    background-color: #fff !important;
    box-shadow: 0px 10px 20px rgba(0,0,0,.1);
    position: fixed;
}
.navbar-nav a{ 
    font-family: 'UniNeue_Regular';
    font-size: 16px;
    color: #333 !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
.navbar-nav .nav-item:last-child a {
    padding-right: 0 !important;
}
.navbar-nav a:hover, .navbar-nav .nav-item.active a, .txtcolor{
    color: #EB493E !important
}
#txtchange .txtcolor{
    color: #EB493E
}
#txtchange .txtcolorb{
    color: #FAB55D;
}

.navbar-brand{
    margin: 15px 0
}
.navbar-brand img{
    max-width: 136px;
}
/* humber*/
.navbar-toggler{
    border:none;
    width: 30px;
    height: 20px;
    padding: 0 !important;
    outline: none;
    position: relative;
}
.navbar-toggler span{
    top: 0;
    height: 4px;
    width: 100%;
    background: #003147;
    display: block;
    border-radius: 4px;
    margin-bottom: 8px;
    transition: all .5s;
    position: absolute;
}
.navbar-toggler span:last-child{
    top: 12px;
    width: 50%;
    margin-bottom: 0px
}

/* animate hambur*/
.navbar-toggler.active span{
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
}
.navbar-toggler.active span:last-child{
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
      width: 100%;
      top: 0;
}

.banner{
    background-position: center center;
    background-size: cover !important;
    transition: all .5s    
}
#introgif {
    width: 100%;
    height: auto;
    z-index: 0;
    position: relative;
}

#introgif img {
    width: 100%;
    height: auto;
}
#intro {
/*
    width: 100%;
    height: calc(100vh - 210px);

    height: 100vh;*/
    width: 100vw;
    height: 56.25vw;
    z-index: 0;
    position: relative;
    margin-top: 90px;
}
#intro .video-background {
/*
    width: 100vw;
    height: calc(100vh - 210px);
    height: 100vh;
*/
    width: 100vw;
    height: 56.25vw;
    overflow: hidden;
    position: absolute;
    z-index: 0;
    background-color: #000;

}
#intro .video-background a { border: 0; }

#intro .overlay{
    width: 100%;
    height: 100%;
    background:rgba(0,49,71,0.25);
    position: absolute;
    z-index: 2;
    display: none !important;
}
#intro .container {
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-40%);
    transform: translate(-50%,-40%);
    z-index: 2;
/*    display: none !important;*/
}
#intro .container p{
    font-size: 65px;
    color: white;
    font-family: 'UniNeue_Bold';
    letter-spacing: 6px;
}
#intro .video-background video {
    min-width: 100%;
    min-height: auto;
    position: absolute;
/*
    top: 50%;
    left: 50%;
*/
    width: 100%;
    height: auto;
/*
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
*/
}
#intro .video-background .videoyoutube{
    width: 100%;
    height: 100%;
    display: none;
}
#intro .video-background .btn-close{
    font-size: 30px;
    color: white;
    font-family: 'UniNeue_Bold';
    position: absolute;
    left: 5%;
    top: 100px;
    z-index: 10;
    cursor: pointer;
}
#intro .video-background .sound-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    z-index: 10; 
}

#intro .video-background .sound-button.hide {
    display: none;
}

#intro .video-background .sound-button:focus {
    outline: 0;
}

#intro .video-background .sound-button img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#intro .arrow{
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 10;
    color: #ececec;
    font-size: 30px; 

  -webkit-animation: arrow 1.5s infinite;
  animation: arrow 1.5s infinite;
  cursor: pointer;
}
@keyframes arrow {
  0% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px); }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0); }
}
#intro .arrow .fa{
    font-size: 40px;
    transition: all 0.5s
}
#intro .arrow .fa:hover{
    color: #FAB55D
}


/*content*/
.content{
    margin-top:90px; 
    min-height: 1000px;
    padding-top: 70px;
    padding-top: 4em;
}

/*Home*/

.homelogo {width: 90%; max-width: 500px; margin: auto;}
/* about */

#about .container,#career .container,#news .container,#contact #parallax .container,#works .container{
    max-width: 940px;
    width: 90%;
}
#works, #news, #about #tab2.tab_content,#contact #parallax .container, #career .container {
    padding-bottom: 80px;
    padding-bottom: 6%
}

#works .container{
    max-width: 960px;
    padding: 0;
    transition: all 0.4s ease-out;
}
#works .container p strong {
    font-family: "MuseoSans_500", sans-serif;

}
    
#contact #parallax .container{
    position: relative;
    max-width: 915px;    
}



/* ABOUT */
#about .container {
 padding: 0;   
}
#about #second-nav2 .sn-menu {
    margin: 0 auto;
}
#about .header-about{
    text-align: center;
    color: black;
    max-width: 90%;
    margin: auto;
}
#about .header-subbrand{
    text-align: left;
    color: #EB493E;
    max-width: 100%;
    margin: auto;
}
#about .header-about .container{
    text-align: left;
}
#about .header-about .container h2{
    font-family: 'UniNeue_Bold';
    letter-spacing: 1px;
    margin-top: 11%;
    margin-bottom: 5%;
    color: #003147;
    cursor: pointer;
    /*margin-left: 8%;*/
    font-size: 80px;
}
#about .header-about p, #about .header-subbrand p{
    font-family: 'UniNeue_Regular';
    letter-spacing: 0.02em;
    line-height: 1.7em;
    margin-bottom: 3.6em;
    font-size: 41px;
}
#about .header-subbrand p {
    font-weight: bold;
    margin: 2.6em 0;
    text-align: left;
    line-height: 1.5;
}

#about h2{
    font-size: 25px;
    font-family: 'UniNeue_Regular';
    /*margin: 80px 0 50px 0;*/
    margin: 7% 0 5% 0;
}
#about #tab2 .header-about p, #about #tab3 .header-about p{
/*    font-family: 'UniNeue_Bold';*/
    font-size: 38px;
    line-height: 1.4em;
    margin: 7% 0 5% 0;
    text-align: left;
}
#about .btn{
    color: #212529;
    padding: 0 !important;
}
#about .btn:hover{
    color: #EB493E;
    padding: 0 !important;
}


/** bar ***/
.slidecontainer {
  max-width: 680px; /* Width of the outside container */
  width: 100%;
  margin: auto;
}

.slidecontainer #year{
    text-align: center;
    font-size: 65px;
    font-family: 'UniNeue_Bold';
    color: #003147;  
}

/* The slider itself */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  background: #003147;
  outline: none;
  border-radius: 16px;
  cursor: pointer;
}

.slider:hover {
  opacity: 1; 
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px; 
  height: 16px; 
  background: #eb493e; 
  cursor: pointer;
  transform: rotate(-45deg)
}

.slider::-moz-range-thumb {
  width: 25px; 
  height: 25px;
  background: #4CAF50;
  cursor: pointer; 
}

.infohistory{
    /*max-width: 500px;*/
    width: 90%;
    margin:5% auto;
    min-height: 150px;
}
.infohistory .detail{
    display: block;
    font-size: 10px
}


.brand .container{
    padding: 180px 0 50px 0;
    margin: 2% auto 4%;
}
.brand .container .clients{
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    align-content: center;
    justify-content:flex-start;
}
.brand .container .items {
    width: 140px;
    width: 14%;
    /*height: 90px;*/
    margin-right: 16px;
    margin-bottom: 70px;
    vertical-align: middle;
    align-self: baseline;
}

/* history */
.history{
    background: #f4f1ec;
    padding: 80px 0;
    padding: 4% 0;
    margin-bottom: 0;
}

.history h2{
    margin: 2% 0 5% !important;
}


/*sub-brand*/


.list-items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;    
}
.list-items .item {
    padding-top: 5%;
    padding-left: 27%;
    position: relative;
    width: 85%
}
.list-items .item blockquote{
    position: absolute;
    width: 27%;
    text-align: center;
    left: 0;
    margin: 4px 0;
}
.list-items .item img{
    max-width: 106px;

}
.list-items .description{
    min-height: 70px
}

/* careers */
.carousel-indicators li {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #e00303;
    background-clip: padding-box;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border: 0;
    opacity: .5;
    transition: opacity .6s ease;
}

#career .banner{
    margin-top: 70px;
    margin-bottom: 4%;
    background-repeat: no-repeat;
}
#career a.btn-option{
    display: block;
    cursor: pointer;
    font-size: 25px;
    line-height: 80px;
    font-family: 'UniNeue_Bold';
    background: url("../../media/img/px.png") no-repeat left center;
    background-size: contain; 
    transition: background .5s;
}
#career a.btn-option:hover,#career a.btn-option.selected {
  background: url("img/shape_sm.png") no-repeat left center;
  background-size: contain; 
  color: #003147
}
#career h2{
    padding: 5% 0 0% 0 !important;
    color: #EB493E !important;
    font-size: 65px;
    font-family: 'UniNeue_Regular';
    font-weight: bold;
    letter-spacing: 0.05em; 
}
#career #introtext {
    margin-bottom: 75px;
}
#career #introtext p {
    font-size: 19px;
    font-weight: bold;
    margin: 30px 0;
}
#career h3 {
    color: #EB493E !important;
    font-size: 32px;
    font-weight: bold;
}
#career #acordion{
    padding-bottom: 5%;
}
#career hr{
    padding: 20px 0;
}
#career a.email{
    color: #212529
}
#career #acordion .accordion-body{
    padding-bottom: 3%;
}
#career .socialmedia{
    margin: 8% auto;
    text-align: center;
    font-size: 30px;

}
#career .socialmedia .fa-facebook-square{
    color: #3c5a96;
}
#career .socialmedia .fa-twitter-square{
    color: #59adeb;
}


/*WORKS*/

#works.home{
    padding-top: 0;
}
#works.home .container h1{
    font-family: 'UniNeue_Regular';
    font-weight: 100;
    font-size: 33px;
    margin: 7% auto 7%;
    text-align: center;
    letter-spacing: 0.03em;
}

#works.content.detail{
    padding-bottom: 3%
}
#works .container blockquote{
    padding: 5% 10%;
}
#works .banner{
    background-size: 100% auto;    
}
#works video{
    width: 100%
}

#works .container h2{
    font-size: 25px;
    font-family: 'UniNeue_Bold';
    margin: 7% auto 5%;
    text-align: center;    
}

#works .container .header-title {
    margin-bottom: 3.2em;
}
#works .container .header-title h2 {
    font-size: 38px;
    margin-top: 1.75em;
    margin-bottom: .7em;
    font-family: 'UniNeue_Regular';
    font-weight: bold;
}
#works .container .header-title p.data {
    text-align: center;
    font-size: 16px;
    color: #777;
    font-family: 'UniNeue_Regular';
    font-weight: normal;
    line-height: 16px;
}
#works .container .header-title p.data span{
        margin: 0 70px;
}


#works .container .link-access  {
    margin-bottom: 5%
}
#works .container .link-access a {
    float: right;
    color: #333;
}

.project-header {
    display: flex;
    justify-content:space-between;
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: auto;
}

#works .project-header {
    max-width: 85%;
}

.project-title {
    position: relative;
    pointer-events: none;
/*    padding-top: 3%;*/
}
.project-title h2{
    position: relative;
    padding: 50px 0 100px 0 !important;
    padding: 20% 0 20% 0 !important;
    text-align: left !important;
    pointer-events: all;

    font-family: 'UniNeue_Bold';
}
.project-title h2 a{
    color: black;
    text-decoration: none;
}
@keyframes moveTitleShape {
    0% {transform: matrix(1,0,0,1,0,0)}
    20% {transform: matrix(1,0,0,1,0,-1)}
    40% {transform: matrix(1,0,0,1,1,-1)}
    60% {transform: matrix(1,0,0,1,1,1)}
    80% {transform: matrix(1,0,0,1,-1,1)}
    100% {transform: matrix(1,0,0,1,0,0)}
}
.project-title > div {
     width: 100px;
    height: 100px;
    left: -50px;
    top: 10px;
    position: absolute;
    transform-origin: 50px 50px;
    transition: all .3s ease-in;
}
.project-title > div > span{
    font-family: 'UniNeue_Bold';
    background: url("img/shape_sm.png") no-repeat left center;
    background-size: contain; 
    width: 100px;
    height: 100px;
    position: absolute;
    transform-origin: 50px 50px;
    pointer-events: all;
    animation: moveTitleShape .5s infinite;
    
}
.project-title > div:hover {
    transform: scale(1.2);
}
.project-title > div:hover > span {
    animation: none;
}
.project-detail {    
    margin:20px;
    margin: 2% 0 0;
}
.project-detail ul{    
    float: right;
}
.project-detail li{
    line-height: 35px;
    font-family: 'MuseoSans_500';
}
.project-detail li.op_client{
    background: url("img/shape_sm.png") no-repeat 10px center;
    background-size: contain; 
}
.project-detail li.op_media{
    background: url("img/w-shape3.png") no-repeat 10px center;
    background-size: contain; 
}
.project-header code {
    position: absolute;
    right: 0;
    width: 42px;
    height: 42px;
    background: #003147;
    border-radius: 42px;
    cursor: pointer;
    display: none
}
.project-header code span{
    top: 18px;
    height: 4px;
    width: 70%;
    left: 7px;
    display: block;
    position: absolute;
    background: #f4f1ec;
    border-radius: 4px;
    margin-bottom: 8px;
}
.project-header code span{
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
}
.project-header code span:last-child{
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
}

    

#works .project-title{
    min-width: 250px;
}
#works .project-title h2{
    margin: 0 0 15% !important;
}
#works .detail-picture{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    flex-direction: row;
}

#works .detail-picture .picture.w100{
    width: 100%;
    margin: 0 0 30px 0
}
#works .detail-picture .picture{
    width: 49%;
    margin: 0 0 30px 0
}
#works .detail-picture .picture img{
    width: 100%;
}
#works .list-item{
    font-size: 12px;
}

#works .socialmedia{
    margin: 8% auto;
    text-align: center;
    font-size: 30px;

}
#works .socialmedia .fa-facebook-square{
    color: #3c5a96;
}
#works .socialmedia .fa-twitter-square{
    color: #59adeb;
}

/* news */
#news .project-header{
    border-bottom: 1px solid #EB493E;
    margin-bottom: 85px;
    margin-bottom: 9%;
}
#news h2 {
    padding: 5% 0 0% 0 !important;
    color: #103046 !important;
    font-size: 65px;
    font-family: 'UniNeue_Regular';
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: left;
}
#news h2 strong {
    color: #EB493E !important;
}
#news .introtext p {
    font-family: 'UniNeue_Regular';
    letter-spacing: 0.02em;
    line-height: 1.4em;
    margin-bottom: 0em;
    margin-top: 0.7em;
    font-size: 41px;
    color: #103046 !important;
}

#news #ftm  {
    height: 2.6em;
    }

#news #access .project-title h2{
    padding: 15% 0 3% 0 !important;  
    font-size: 25px;
}
#news .project-detail{
    width: 35%;
    margin-right: 8%;
    margin-top: 0;
    padding-bottom: 2%
}

#news .project-detail #sub-menu2 ul{
    width: 300px
}


#news h4{
    font-family: 'UniNeue_Bold';
    color: #003147;
    font-size: 30px;
    margin-bottom: 5%
}

#news .news-list{
    display: flex;
    justify-content:space-between;
}
#news .colums-list{
    width: 43%;
    flex-wrap: wrap;
    flex-direction: column;
}
#news .news-list .item{
    max-width: 100%;
    margin: 0 0 0 0;
    text-align: left;
    font-size: 14px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 40px
}
#news figure{
    text-align: center;
}
#news .main-image {
    width: 100%;
    text-align: center;
    margin-top: 8%;
}
#news img{
    max-width: 100%;
}
#news .news-list hr{
    background: #ebebeb;
    margin: 45px 0;
}

#news .news-list .colums-list .item .titular{
    text-align: center;
    font-style: italic;
}
#news .news-list .colums-list .item .titular h3{
    color: #EB493E !important;
    font-size: 20px !important
}
#news .item img{
    max-width: 100%;
}
#news .item a{
    color: #EB493E;
    transition: all .5s
}
#news .news-list .item a:hover{
    text-decoration: none;
    color: #FAB55D
}
#news .item h3{
    font-size: 20px;
    font-family: 'UniNeue_Bold';
    color: black;
    letter-spacing: 1px;
    text-align: center;
}
#news .item span{
    color: #818181;
}

#news .info{
    margin-bottom: 5%;
    text-align: center;
}
#news .info span{
    color: #818181;
    margin:0 14px;
}
#news .news-detail{
    max-width: 80%;
    margin: auto;
    text-align: justify
}
#news .news-detail ul{
    margin-left: 1.2rem;
    margin-bottom: 1rem;
}
#news .news-detail li{
	list-style-type: disc;
}
#news .news-detail figure{
    margin: 8% auto;
}

#news .news-detail h1{
    font-family: 'UniNeue_Regular';
    margin: 8% 0 4%;
    text-align: center;
}
#news .socialmedia{
    margin: 8% auto 4%;
    text-align: center;
    font-size: 30px;

}
#news .socialmedia .fa-facebook-square{
    color: #3c5a96;
}
#news .socialmedia .fa-twitter-square{
    color: #59adeb;
}

#news .dropdown {
    margin: 0 0 2em 0;
    text-align: center;
    
}

#news #backbtn {
    margin-bottom: 4%;
}

#news #backbtn a{
    color: #003147;
    font-family: 'MuseoSans_300';
    font-size: 14px;
    margin-bottom: 1em;
    transition: all .5s
}
#news #backbtn a:hover{
    text-decoration: none;
    color: #004d70;
    
}

@media screen and (min-width: 761px) {
   #news .dropdown  {
        display: none;
    }
}

@media screen and (max-width: 760px) {
    #news #ftm  {
         height: 10px;
         margin-bottom: 1em;
         display: block;
         
    }
    #news .btn-group-sm>.btn, .btn-sm {
        padding: .25rem 1rem;
    }
}
/* contact*/
#contact.content {
    padding-top: 0;
    height: 100%;
    margin: 0;
    
}
#contact #parallax .container {
    max-width: 1200px;
    width: 90%;
    padding-top: 175px;
    /*padding-top: 13%;*/
    padding-top: 0;
    line-height: 12px;
    padding-bottom: 8%;
}
#contact #parallax .container a{color: #000}
#contact #parallax .container a:hover{ font-weight: bold}
#contact #parallax .container h2{
    font-family: 'UniNeue_Bold';
    font-size: 66px;
    line-height: 1.2em;
    color: #EB493E !important;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
#contact #parallax .container .block{
    max-width: 915px;
    width: 90%;
    margin: auto;
    position: relative;
}
#contact #parallax .container #bl1{
    padding: 265px 0 250px;    
    padding: 22.7% 0 20%;
}
#contact #parallax .container #bl2{
    margin-top: -80px;
    max-width: 100%;
    width: 100%;
    padding: 365px 0;
    padding: 40% 0 18%;
}
#contact #parallax .container #bl3{
    padding: 50px 0 0px;
}
#contact #parallax .container #bl4{
    max-width: 100%;
    width: 100%;
    padding: 130px 0 0;
    padding: 0;    
    pointer-events: none;

}
#contact .container  {
    font-size: 14px;
    padding-top: 10px;
}
#contact #parallax .container #bl1 #info1.datos h5{
      pointer-events: all;
}
#contact #parallax .container #bl1 #info1.datos h5 a {
    text-decoration: none;
    color: #212529;
    font-weight: bold;
    pointer-events: all;
}
#contact #parallax .container #bl1 #info1.datos h5 a:hover {
    color:#EB4948
}
#contact #parallax .container .map{
    /*float: right;
    margin: -50px 0 0 0;
    margin: -5.5% 0 0 0;*/
    position: absolute;
    right: 0;
/*    top: 60%;*/
    top: 70%;
/*    z-index: 0;*/
    z-index: 3;
    max-width: 570px;
}

#contact #parallax .container .map img {width: 100%;}

#contact #parallax .container .office1{
    /*margin-top: -40px;
    max-width: 950px;
    width: 90%;*/
    position: relative;
    z-index: 2;
    position: absolute;
    left: 0;
/*    top: 0;*/
    top: -90px;
}
#contact #parallax .container .office2{
    /*float: right;
    max-width: 710px;
    width: 80%;
    margin: -100px 0 105px;
    margin: -8.5% 0 9%;
*/
    position: relative;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 250px;
}
#contact #parallax .container .office3{
    z-index: 3;
    max-width: 963px;
    width: 90%;
/*    New*/
    margin-top: 30px;
}
#contact #parallax .container .office4{
    right: 250px;
    right: 5%;
    z-index: 3;
    max-width: 460px;
    width: 48%;
    margin-top: -195px;
    margin-top: -5.5%;
/*    margin-top: 0;*/
    margin-top: -120px;
    float: right;    
}
#contact #parallax .container .office5{
    left: 165px;
    left: 14%;
    max-width: 380px;
    width: 48%;
    margin-top: 150px;
    margin-top: 13%;
}
#contact #parallax .container #bljoin{
    padding-top: 300px;
    padding-bottom: 100px;
    pointer-events: all;

}
#contact #parallax .container #bljoin h2{
    margin-bottom: 30px;
}
#contact #parallax .container #bljoin p{
    margin-bottom: 40px;
    max-width: 350px;
    line-height: 1.8em;
}



/* CAMPAING */
#campaign .container {
 padding: 0;   
}

#campaign .header-campaing{
    text-align: center;
    color: black;
    max-width: 90%;
    margin: auto;
}

#campaign .header-campaing p {
    font-family: 'UniNeue_Regular';
    letter-spacing: 0.02em;
    line-height: 1.4em;
    margin-bottom: 1.6em;
    font-size: 26px;
}


#campaign .flipbook { 
    width: 100%;
    max-width: 1000px;
    margin: 7% auto 5% auto;
}
#campaign .videolink {
    width: 100%;
    max-width: 560px;
    margin: auto;
    

}


/* generals*/

hr.line{
    border: none;
    height: 1px;
    background: #979797;
    margin: 90px 0 50px;
    margin: 10% 0 5%
}
/*btns */
.btn-info{
    background-color: transparent !important;
    border: 1px solid #ea483e;
    color: #ea483e !important;
    min-width: 140px;
    font-family: 'MuseoSans_300';
}
.btn-info:hover{
    border: 1px solid #ea483e;
    background-color: #ea483e !important;   
    color: white !important
}

.btn-info.viewmore, .btn-info.viewmore:focus, .btn-info.viewmore:active , .btn-info.viewmore:link {
    border:none !important;
    height: 45px;
    max-height: 45px;
    background: transparent !important;
    font-size: 12px;
    border-color: transparent !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.btn-info.viewmore span{
    display: block;
}
.btn-info.viewmore:hover {
    border:none;
    background: transparent !important;
    color: #FAB55D !important;
    border-color: transparent !important;
}
.btn-info.viewmore > * {
    pointer-events: none;
}
#intro .btn-info{
    background-color: rgba(0,0,0,0.05) !important;
    border-color: white;
    color: white !important;
    transition: all 0.5s;
    margin-top: 4%;
}
#intro .btn-info.viewvideo{
    margin-top: 4%;
}
#intro .btn-info:hover{
    background: #FAB55D !important;
    border-color: #FAB55D;
}

/*footer*/
footer{
    padding: 45px 0 60px;
    background: #003147; 
    color: white;
    font-family: 'MuseoSans_300';
    font-size: 13px;
}
footer h5{
    font-family: 'UniNeue_Regular';
    margin-bottom: 15px;
}

footer .container p{
    margin: 2px 0 0;
    padding: 0;
}
footer .socialmedia{
    padding-top: 47px;
    text-align: right;
    margin-right: 60px;
}
footer .socialmedia .fa{
    color: white;
    font-size: 25px;
    margin-right: 15px
}
footer .socialmedia .fa:hover{
    color: #EB493E;
}
footer #footer-blocks a{
    color: white
}
footer #footer-blocks a:hover{
    color: #EB493E;
}

footer .logos  {margin-top: 20px !important; display: block; } 
footer .logos img { display: block;  width: 50%; margin: 10px, 0;} 

/* Terms */
#terms {
    margin-top: 150px;
}
#terms .container {
    max-width: 940px;
    width: 90%;
}
#terms h1 {
    padding: 5% 0 !important;
    color: #EB493E !important;
    font-size: 65px;
    font-family: 'UniNeue_Regular';
    font-weight: bold;
    letter-spacing: 0.05em;
}
#terms h2 { margin-top: 1.2em; }

#terms .end {
    margin-bottom: 5em;
}

@media (max-width: 780px) {
    #terms h1 { font-size: 10.9vw; }
    #terms h2 { font-size: 6.25vw; }
    
}

/* timeline */
#timeline {
  width: 680px;
  height: 410px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

#dates {
  width: 680px;
  height: 40px;
  overflow: hidden;
}

#dates li {
  list-style: none;
  float: left;
  min-width: 100px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  font-family: 'UniNeue_Regular';
}

#dates a {
  line-height: 38px;
  color: #003147
}

#dates .selected {
  font-size: 38px;
  color: #eb493e;
    margin-left: -5px;
}

#issues {
  width: 680px;
  min-height: 350px;
  overflow: hidden;
}

#issues li {
  width: 680px;
  height: auto;
  list-style: none;
  float: left;
}
#issues li .infohistory{
    /*max-width: 500px;*/
    width: auto;
    margin:10% auto;
    min-height: 150px;
    padding: 0 15%;
    max-height: 310px;
    overflow-y: auto;
}

@media (max-width: 650px) {
    #issues li .infohistory{margin:3% auto; }
    #dates .selected {margin-left: 0px;}
}

#issues li .infohistory .detail{
    display: block;
    font-size: 13px
}
#grad_left,
#grad_right {
  width: 100px;
  height: 350px;
  position: absolute;
  top: 100px;

}

#grad_left {
  left: 0;
}

#grad_right {
  right: 0;
}

#next,
#prev {
  position: absolute;
  top: 0;
  font-size: 30px;
  top: 50%;
  width: 30px;
  height: 38px;
  background-position: 0 0;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #eb493e !important;
  opacity: .7;
  transition: all .5s;
}
#next:hover,
#prev:hover {
    opacity: 1
}
#next {
  right: 0;

}

#prev {
  left: 0;
}

#next.disabled,
#prev.disabled {
  opacity: 0.2;
}



/* medias queries */
@media (min-width: 320px) {
    .banner { height: 200px;background-size: cover; background-position: center center; }
    #about .banner .container p, #intro .container p{ font-size: 30px; line-height: 35px }
    #works .banner { height: 200px;background-size: cover !important; background-position: right center; }  
}
@media (min-width: 768px) {
    .banner { height: 450px; }
    #intro .container p{ font-size: 45px;line-height: 50px }    
}
@media (min-width: 992px) {
    .banner { height: 546px; }
    #intro .container p{ font-size: 65px;line-height: 70px }
    #works .banner { height: 470px;background-size: cover; background-position: center center; }
}
@media (min-width: 1200px){
    .container {
        max-width: 1194px;
    }
    #works .project-header {
        max-width: 100%;
    }    
}





@media (max-width: 1068px){
    #works .container {
        max-width: 96%;
        width: 96%;
    }
}
@media (max-width: 780px) {
    #timeline, #dates, #issues, #issues li{ width: 600px; }
}
@media (max-width: 727px){
    #intro {
        margin-top: 70px;
    }
    #intro .arrow{
        top: 80vh;
        transform: translate(-50%,-100%);
        margin-left: -13px;
    }
    
    .navbar-brand{
        margin: 5px 0
    }
    .navbar-brand img{
        max-width: 136px;
    }
    .content{
        margin-top:70px; 
    }
    footer{
        padding: 45px 0;
        font-size: 16px;
    }
    #works .container, footer .container{
        width: 90%
    }
    footer #footer-blocks div{
        padding:0 0 40px 0 !important 
    }
    footer .socialmedia {
        margin-top: 1.2em;
        text-align: left;
    }
    footer #footer-blocks .fa{
        font-size: 40px;
        margin-right: 20px;
        margin-top: 30px;
    }
    .brand .container .clients{
        display: flex;
        flex-flow: row wrap;
    }
    .brand .container .items {
        width: 50%;
        height: auto;
        margin: 20px 0
    }
    .brand .container .items img{
        width: 75%;
    }
    .list-items .item {
        padding-left: 0%;
        width: 100%;
        margin-bottom: 5vw;
    }
    .list-items .item blockquote{
        position: relative;
        width: 100%;
        text-align: left;
    }
    #news .news-list, #news .news-detail{
        display: block;
    }
    #news .colums-list,#news .news-detail .item{
        width: 100%;
    }
    .btn-info{
        min-width: auto;
        max-width: 140px;
    }
    #works .detail-picture .picture{
        width: 100%;
        margin: 15px 0
    }
    #works.home{padding-top: 10vw;}
    
    #works .container h2 {
        font-size: 18px;
    }
    #works .container blockquote{
        padding: 5% 0;
    }
    
    #news .project-header {
        flex-wrap: column;
        flex-direction: column;  
    }
    #news .project-detail{
        width: 100%;
        margin:0;
    }
    #news .project-detail #sub-menu2{
        height: auto;
    }
    #news .project-detail #sub-menu2 li{
        width: 50%
    }
    #contact #parallax .container{
        max-width: 100%;
        width: 90%;
        padding-right: 0;
        padding-left: 0;
        padding-top: 25% !important;        
        padding-bottom: 15% !important;        
    }    
    #contact #parallax .container h2{
        font-size: 50px;
    }
    #contact #parallax .container .block{
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }
    #contact #parallax .container .datos{
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }    
    #contact #parallax .container .map{
        margin: 0 !important;
        float: none !important;
        right: auto;
        position: relative;
        width: 100%;
    }
    #contact #parallax .container .map img{
        width: 100%;
    }
    #contact #parallax .container .office1{
        position: relative;
        margin-top: 5%;
        width: 100%;
    }    
    #contact #parallax .container .office2{
        position: relative;
        width: 100%;
        margin: 5% 0;
        top: 0;
    }
    #contact #parallax .container .office3{
        position: relative;
        width: 100%;
        margin: 5% 0 0;
        top: 0;
    }

    #contact #parallax .container .office4{
        float: right;
        left: auto;
        right: 0;
        width: 45%;
        margin: 5% 0 20% 2%;
    }
    #contact #parallax .container .office5{
        width: 47%;
        margin: 5% 0;
    }
    #contact #parallax .container #bljoin{
        padding-top: 5% !important;
        padding-bottom: 100px;
    }    
    #contact #parallax .container .join{
        text-align: center;
    }
    #contact #parallax .container #bljoin h2{
        margin-top: 10px;
        font-size: 40px;
        margin-bottom: 20px
    }
    #about #tab2 .header-about p {
        padding-top: 4vw;
    }
    #about .header-about .container h2{  font-size: 50px; margin-left: 0; text-align: center; }
    #about .header-about .container p{ font-size: 25px; line-height: 1.4em; margin-bottom: 3em  }
    
    #career h2 { font-size: 39px; margin-top: 1em;  }
    #career a.btn-option { line-height: 1.5em; margin-bottom: 5vw; font-size: 16px; }
    
    .carousel-indicators { bottom: -6vw; }
    .carousel-indicators li { width: 14px; height: 14px; margin-right: 6px; margin-left: 6px; }
    
    
    #works .project-detail li{ font-size: 12px; line-height: 20px;  }
    
    #works .project-title h2{ font-size: 20px !important; padding: 8% 0 20% 0 !important; margin: 0 0 10% !important }
    #works .project-title span{ width: 70px; height: 70px; left: -50px; top:-10px;  }
    #news h2 { font-size: 39px; }
    #news .introtext p { font-size: 25px; line-height: 1.5em; margin-bottom: 0; }
    #news .project-detail #sub-menu2{ overflow: visible; }
    #works .container .header-title h2 { font-size: 30px; }
    #works .container .link-access {height: 1vw;}
}
@media (max-width: 650px) {
    #timeline, #dates, #issues, #issues li{ width: 440px; }
    #works .container .header-title p.data span {margin: 0 33px;}
}
@media (max-width: 480px) {
/* contacto */
    #contact #parallax .container h2{ font-size: 40px; padding: 0 15px; }

    #about .header-about .container h2{  font-size: 11vw; margin-left: 0; text-align: center; }

    #about .header-about p, #about .header-subbrand p { font-size: 25px; line-height: 1.4em; margin-bottom: 3em;  }
    
    #about .list-items h4 { margin-bottom: 5vw; }
    
    .history h2{ margin: 5% 0 5% auto !important; }

    
    #works .project-detail { margin: 2% -10% 0 0 !important;}
    #works .project-title h2{ margin: 0 0 5% !important }
    #works .project-title span{ width: 50px; height: 50px; left: -30px; top:0px;  }

    #works .container .header-title h2 { font-size: 25px; }
    #works .container .header-title h2 span{ display: block; }
    #works .container .header-title h2 code{ position: relative; display: block; }
    #works .container .link-access  h4{font-size: 1.1rem}
    #works .container .header-title p.data span {margin: 0 24px; font-size: 14px;}
    #works .container .works-grid { max-width: 100%; overflow-x: hidden; overflow-y: visible; overflow: hidden;    }
    #news .news-detail{ max-width: 100%; }
    #news .news-detail h1{ text-align: center; font-size: 32px; }

    .history .container{ max-width: 90% !important; width: 90% !important; }

    #timeline, #dates, #issues, #issues li{ width: 350px; }
    #dates li { min-width: 50px; height: 50px; font-size: 24px; }
    #dates a { line-height: 20px; font-size: 18px; } 
    #dates .selected { font-size: 20px; }
    #issues { min-height: 350px; }

}

@media (max-width: 320px) {
    .history .container{ max-width: 95% !important; width: 95% !important; }
    #timeline, #dates, #issues, #issues li{ width: 300px; }
    
    #issues .infohistory p { font-size: 14px; }
    #issues .infohistory p span.detail { font-size: 10px; }
}



