/*
AB CSS
About: AB Base CSS
Author: Nacho Rico - Arrontes y Barrera
*/


/**
AB-BLOCKS CSS IMPORT
**/
@import url( 'blocks/dist/custom-block-styles.css' );


/**
CUSTOM FONTS IMPORT
**/
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900&display=swap');


/**
Define main container max-width
**/
@media (min-width: 1200px) {
    .container{
        max-width: 1300px;
    }
}
.post,
.page{
    margin: 0!important;
}
.full-width-section{
    width: 99.6vw; /* make it 100% of the viewport width (vw) */
    margin-left: calc((100% - 100vw) / 2);  /* then remove the gap to the left of the container with this equation */
 }

.nolink a{
    cursor: default!important;
    pointer-events: none!important;
    text-decoration: none;
 }

/**
HEADER
**/
header#masthead{
    height: 135px;
    display: flex;
    align-items: center;
    flex-flow: row;
}
.custom-logo-link img{
    width: 210px;
}
div.menu-main-container{
    float: right;
    margin-right: 90px;
}
ul#primary-menu{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 20px;
    font-weight: lighter;
}
ul#primary-menu li a{
    color: rgba(34,34,33,0.48);
    text-decoration: none;
    margin-left: 40px;
}
header.entry-header h1{
    max-width: 1300px;
    margin: auto;
    padding-left: 15px;
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 76px;
    color: #000;
    margin-bottom: 50px;
}
.sub-menu {
    padding: 40px;
    padding-left: 40px;
    margin-top: 0 !important;
    background: inherit;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95);
}
.sub-menu li {
    padding: 5px 0;
}
.tag {
    font-size: 12px;
    border: 1px solid rgba(0,0,0,0.4);
    color: rgba(0,0,0,0.4);
    padding: 2px 5px;
    border-radius: 30px;
    margin-left: 5px;
    line-height: 35px;
    vertical-align: middle;
}
.mobile-menu .sub-menu {
    background-color: transparent;
}

@media screen and (max-width: 800px) and (orientation: portrait){
    ul#primary-menu{
        font-size: 14px;
    }
    ul#primary-menu li a{
        margin-left: 20px;
    }
}

@media screen and (max-width: 500px) and (orientation: portrait){
    nav#site-navigation {
        display: none;
    }

}


/*
PAGE: CABECERA, PÁRRAFOS...
*/
.cabecera h1{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 76px;
    line-height: 78px;
    color: #000;
    margin-bottom: 50px;
}
.cabecera h1 span{
    line-height: 78px;
    background-image: linear-gradient(transparent 39px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
    display: inline;
    background-color: unset;
}
.cabecera .destacado-cabecera {
    text-align: right;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 26px;
    margin-top: 68px;
    font-weight: 600;
    padding-left: 12%;
}
.main p{
    font-size: 24px;
    font-weight: 100;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 20px 0px;
}
.main p strong{
    font-weight: 600;
}
.main h2.titulo{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 76px;
    line-height: 78px;
    color: #000;
    margin-bottom: 50px;
    line-height: 78px;
    background-image: linear-gradient(transparent 39px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
    display: inline;
    background-color: unset;
}
.main h2.titulo:before,
.main h2.titulo:after{
    content:'';
    display: block;
    height: 30px;
}
.main h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-top: 40px!important;
    margin: 0!important;
}


@media screen and (max-width: 500px){
    .cabecera h1 {
        font-family: 'futura-pt-bold', sans-serif;
        font-weight: bolder;
        font-size: 50px;
        line-height: 50px;
        color: #000;
        margin: 0.27em 0;
    }
    .cabecera h1 span{
        line-height: 50px;
        background-image: linear-gradient(transparent 27px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
        display: inline;
        background-color: unset;
    }
    .cabecera .destacado-cabecera {
        text-align: left;
        font-size: 22px;
        line-height: 28px;
        margin-top: 30px;
        padding-bottom: 30px;
        padding-left: 15px;
    }
    .main h2.titulo {
        font-size: 58px;
        line-height: 68px;
    }
}

/*
SEARCH BAR
*/
nav img.search{
    width: 20px;
    float: right;
    margin-left: 30px;
    margin-top: 5px;
}
#searchbox{
    width: 60%;
    margin: 20px auto;
    height: 0!important; 
    opacity: 0;
    transition: height 1s, opacity 300ms 0ms;
    visibility: hidden;
}
#searchbox.active{
    height: auto!important; 
    opacity: 1;
    transition: height 1s, opacity 800ms 0ms;
    visibility: visible;
}
.searchbox form{
    width: 90%;
    margin: 0 auto;
}
.searchbox input{
    display: inline;
    float: left;
    height: 80px;
    width: 90%;
    border: 0px!important;
    border-bottom: 1px solid!important;
    border-radius: 0!important;
    font-size: 25px;
    font-weight: 100;
}
.searchbox input[type="image"]{
    width: 4%;
    margin-left: 5%;
    border: 0px!important;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
.searchboxresults{
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.95);
    width: 60%;
    padding: 20px 0;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 auto;
    margin-top: -30px;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
.searchboxresults ul{
    list-style: none;
    margin-left: 100px;
}
.searchboxresults .title{
    font-size: 25px;
    width: 100%;
    margin-left: 140px;
    margin-bottom: 15px;
    color: rgba(0,0,0,0.6);
}

.center-position {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    margin-left: 30px;
  }
  .search-button {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  .search-button::before {
    content: "";
    position: absolute;
    top: 24.5%;
    right: 23.5%;
    width: 0;
    height: 1px;
    margin-top: -2px;
    background-color: rgba(34,34,33,0.48);
    transform: rotate(-45deg);
    transform-origin: right top;
  }
  .search-button::after {
    content: "";
    position: absolute;
    bottom: 23.5%;
    right: 23.5%;
    width: 30%;
    height: 1px;
    margin-top: -2px;
    background-color: rgba(34,34,33,0.48);
    transform: rotate(45deg);
    transform-origin: right bottom;
  }
  .search-icon {
    position: absolute;
    display: block;
    top: 26%;
    left: 27%;
    width: 35%;
    height: 35%;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(34,34,33,0.48);
  }
  .search-button.active::before,
  .search-button.active::after {
    width: 77.5%;
  }
  .search-button.active .search-icon {
    width: 0;
    height: 0;
    border-color: transparent;
  }
  .search-button::before,
  .search-button::after,
  .search-button .search-icon {
    transition: all 0.3s ease-in-out;
  }
  .search-button.active,
  .search-button:hover {
  }
@media screen and (max-width: 500px){
    #searchbox{
        display: none;
    }
}


/**
HERO SLIDER HOME
**/

div.herovideo {
    position: relative;
    height: 80vh;
    min-height: 25rem;
    overflow: hidden;
    left: 0;
}

div.herovideo video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

div.herovideo .container {
    position: relative;
    z-index: 2;
}

div.herovideo .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.3;
    z-index: 1;
}

div.herovideo .display-3{
    font-family: "futura-pt", sans-serif;
    font-weight: 700;
    font-size: 150px;
}
div.herovideo p.lead{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 25px;
    line-height: 28px;
    width: 30%;
    margin: 0 auto;
}
div.herovideo .logo{
    position: absolute;
    z-index: 20;
    width: 80px;
    margin: 80px 20%;
}
div.herovideo .logo .st0{
    fill: #FFFFFF;
}
div.herovideo .logo .st1{
    fill: #EDD32C;
}
@media screen and (max-width: 770px){
    div.herovideo p.lead{
        width: 60%;
    }
}
@media screen and (max-width: 1024px) and (orientation:landscape){
    div.herovideo .display-3{
        font-size: 120px;
    }
    div.herovideo p.lead{
        width: 40%;
        font-size: 22px;
    }
}
@media screen and (max-width: 500px) and (orientation:portrait){
    div.herovideo .display-3{
        font-size: 90px;
    }
    div.herovideo p.lead{
        width: 90%;
        font-size: 20px;
    }
    div.herovideo .logo{
        width: 50px;
        margin: 40px 40px;
    }
}
@media screen and (max-height: 500px) and (orientation:landscape){
    div.herovideo .display-3{
        font-size: 90px;
    }
    div.herovideo p.lead {
        width: 60%;
        font-size: 18px;
        line-height: 23px;
    }
    div.herovideo .logo{
        width: 50px;
    }
}

/**
FOOTER
**/
footer{
    background-color: #FFDD00;
    min-height: 200px;
    padding: 60px 0;
}
footer a, footer a:hover{
	color: #000!important;
	text-decoration: none!important;
}
footer .sup{
}
img.footerlogo{
    max-width: 300px;
}
footer .inf{
    padding-top: 50px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
}
footer .inf .llamanos,
footer .inf .direccion{
    font-size: 16.5px;
    font-weight: lighter;
}
footer .inf .telefono{
    font-size: 39px;
    font-weight: 700;
    margin-top: -15px;
}
footer .inf .email{
    font-size: 16.5px;
    font-weight: bold;
}
footer .sup .social{
    width: 100%;
    text-align: right;
}
footer .sup .social img{
    max-width: 32px;
    margin-left: 10px;
}
footer .row.inf .col-md-4:nth-child(1)::after, 
footer .row.inf .col-md-4:nth-child(2)::after {
    content: "";
    width: 1px;
    height: 60px;
    background-color: #000;
    display: block;
    float: right;
    top: 5px;
    position: absolute;
    right: 0;
}

footer.entry-footer{
    background-color: transparent;
}
footer .newsletter{
    text-align: right;
}
footer .newsletter input {
    margin-right: 0px;
    width: 55%;
    height: 40px;
    border-radius: 10px;
    border: 0px;
    text-align: center;
}
footer .newsletter img{
    width: 150px;
    margin-left: -30px;
    margin-top: -25px;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
footer label {
    display: block;
    margin-bottom: .5rem;
    margin-right: 30%;
    font-size: 25px;
    margin-bottom: -25px;
    margin-top: -30px;
    font-weight: 100;
}
footer label span{
    font-weight: 700;
    font-family: 'futura-pt', sans-serif;
    font-size: 28px;
}
footer a:hover > img{
    transform: rotate(-10deg);
}

@media screen and (max-width: 1024px) and (orientation:landscape){
    footer .inf .col-lg-5,
    footer .inf .col-lg-7{
        max-width: 100%;
        flex: 0 0 100%;
    }
    footer img.footerlogo{
        max-width: 250px;
    }
}
@media screen and (max-width: 1100px) and (orientation: portrait){
    footer .inf .llamanos, footer .inf .direccion {
        font-size: 12px;
    }
    footer .inf .telefono {
        font-size: 28px;
        margin-top: 0;
    }
    footer .inf .email {
        font-size: 12.5px;
    }
    footer label {
        margin-right: 40%;
        font-size: 18px;
    }
}
@media screen and (max-width: 780px) and (orientation:portrait){
    footer img.footerlogo{
        max-width: 250px;
    }
    footer .newsletter{
        margin-top: 40px;
    }
}

@media screen and (max-width: 400px){
    footer .sup{
        text-align: center;
    }
    footer .sup .social{
        margin-top: 20px;
        text-align: center;
    }
    footer .llamanos,
    footer .telefono,
    footer .email,
    footer .direccion{
        text-align: center;
    }
    footer img.footerlogo {
        max-width: 220px;
    }
    footer .newsletter{
        margin-top: 80px;
    }
    footer .newsletter label{
        margin-bottom: -10px;
        text-align: left;
        line-height: 30px;
        margin-left: 10%;
    }
}




/*
PORTFOLIO
*/
.portfolio h1{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 76px;
    line-height: 78px;
    color: #000;
    margin-bottom: 50px;
}
.portfolio h1 span{
    line-height: 78px;
    background-image: linear-gradient(transparent 39px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
    display: inline;
    background-color: unset;
}
.portfolio .destacado-cabecera {
    text-align: right;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 26px;
    margin-top: 68px;
    font-weight: 600;
    padding-left: 12%;
}
.portfolio p{
    font-size: 24px;
    margin: 20px 0;
    font-weight: 100;
    font-family: 'Source Sans Pro', sans-serif;
}
.portfolio h2{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 46px;
    line-height: 48px;
    color: #000;
    margin-top: 50px;
    line-height: 48px;
    background-image: linear-gradient(transparent 47px, #EDD32C 11%, #EDD32C 50%, #EDD32C 65%, #ffffff 65%);
    display: inline;
    background-color: unset;
}
.portfolio h2:before,
.portfolio h2:after{
    content:'';
    display: block;
    height: 30px;
}
.portfolio h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-top: 40px!important;
    margin: 0!important;
}
@media screen and (max-width: 800px){
    .portfolio .destacado-cabecera{
        font-size: 20px;
        margin-left: 0;
        margin-top: 60px;
    }
    .portfolio h1 {
        font-size: 68px;
        line-height: 68px;
    }
    .portfolio .row.cabecera .col{
        height: 270px!important;
    }
}
@media screen and (max-width: 500px){
    .portfolio h1{
        font-size: 55px;
        line-height: 55px;
        margin-top: 0;
    }
    .portfolio h1 span{
        background-image: linear-gradient(transparent 27px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
        line-height: 55px;
    }
    .portfolio .destacado-cabecera {
        text-align: left;
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 20px;
        margin-left: 0;
        margin-top: 0px;
        margin-bottom: 40px;
        padding-left: 0!important;
    }
    .portfolio .row.cabecera .col{
        height: 170px!important;
    }
    .portfolio .row.cabecera .col.destacado-cabecera{
        height: 90px!important;
        margin-top: 40px;
        padding-left: 0;
    }
}

/*
GUTENBERG VIDEO BLOCK
*/
figure.wp-block-video, .wp-block-video video {
    width: 100%!important;
    height: auto;
    margin: 0 0px 50px;
}
.wp-block-embed-vimeo, .wp-block-embed-vimeo iframe {
    margin-bottom: 1em;
    width: 100%!important;
    height: 800px;
}

/*
FRESCO LIGHTBOX
*/
a.fresco{
    width: 100%!important;
}

/* 
CONTACTO
*/

.contacto h1{
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 76px;
    line-height: 78px;
    color: #000;
    margin-bottom: 50px;
}
.contacto h1 span{
    line-height: 78px;
    background-image: linear-gradient(transparent 39px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
    display: inline;
    background-color: unset;
}
.contacto p{
    font-size: 24px;
    margin: 20px 0;
    font-weight: 100;
    font-family: 'Source Sans Pro', sans-serif;
}
.contacto p strong{
    font-weight: 700;
}

.wpcf7{
    margin-top: 100px;
}
.wpcf7 label{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    width: 85%;
    font-size: 28px;
    display: block;
}
.wpcf7 label span{
    font-weight: 100;
    display: block;
    width: 100%;
    margin-bottom: 50px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{
    border: 0px;
    border-bottom: 1px solid #000;
    width: 85%;
    margin-top: 30px;
    font-size: 24px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 100;
    border-radius: 0;
}
.wpcf7 input[type="submit"]{
    width: 300px;
    background-color: #FFDD00;
    color: #000;
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 30px;
    border: 0px;
    padding: 10px 60px;
    border-radius: 0;
}

/*
Mobile Menu
*/
.mobile-menu-toggle{
    font-family: 'Source Sans Pro', sans-serif;
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 100;
    border: 2px solid #b1b1b1;
    border-radius: 100px;
    height: 70px;
    width: 70px;
    display: flex;
    align-content: center;
    justify-content: center;
    mix-blend-mode: difference;
    color: #b1b1b1;
    font-size: 16px;
    line-height: 65px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    background-size: 0%;
    background-color: transparent;
}
.mobile-menu-toggle.opened{
    color: #000;
    border-color: #000;
    mix-blend-mode: unset;
    display: none;
}
.mobile-menu-toggle.opened .fa{
    line-height: 65px;
    font-size: 35px;
}
.call-button{
    font-family: 'Source Sans Pro', sans-serif;
    position: fixed;
    bottom: 35px;
    right: 115px;
    z-index: 100;
    border: 2px solid #000;
    border-radius: 100px;
    height: 70px;
    width: 70px;
    display: flex;
    align-content: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    line-height: 65px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.call-button .fa{
    line-height: 70px;
    font-size: 35px;
}
.mobile-search-toggle{
    font-family: 'Source Sans Pro', sans-serif;
    position: fixed;
    right: 60px;
    z-index: 100;
    border: 2px solid #000;
    border-radius: 100px;
    height: 70px;
    width: 70px;
    display: flex;
    align-content: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    line-height: 65px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.mobile-search-toggle .fa{
    line-height: 65px;
    font-size: 35px;
}
.mobile-menu{
    width: 100vw;
    height: 100vh;
    background-color: #FFDD00;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    overflow-y: hidden;
    display: none;
}
.mobile-menu .container{
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    max-width: 100vw;
}
.mobile-menu .container ul{
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 120px;
}
.mobile-menu .container ul li{
    width: 100%;
    text-align: right;
    font-family: 'futura-pt', sans-serif;
    font-size: 40px;
    line-height: 40px;
    font-weight: 700;
    color: #000;
    padding-bottom: 10px;
    padding-right: 25px;
}
.mobile-menu .container ul li a{
    color: #000;
}

.mobile-menu div.menu-main-container{
    height: 100vh;
    margin-right: 0;
    align-self: flex-end;
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    width: 100vw;
}
.mobile-menu ul.sub-menu{
    display: none;
    padding: 0!important;
    margin: 20px 20px;
}
.mobile-menu ul.sub-menu li{
    font-size: 18px;
    line-height: 20px;
}
/* Search Dialog */

.search-menu{
    width: 100vw;
    height: 100vh;
    background-color: #FFDD00;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    overflow-y: hidden;
    display: none;
}
.search-menu h2{
    font-family: 'futura-pt', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #000;
    margin: 80px 0 40px;
}
.search-menu .container{
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    align-content: flex-start;
    padding: 30px;
}
.search-menu .container .searchbox{
    width: 100%;
    margin: 40px 0 20px;
}
.search-menu .searchbox input[type="text"]{
    background-color: transparent;
    border-bottom: 1px solid #000!important;
    text-align: center;
    font-size: 40px;
    color: #000;
}
.search-menu .searchbox input[type="text"]::placeholder{
    font-size: 30px;
    color: #000;
    font-weight: 100!important;
    font-family: 'Source Sans Pro', sans-serif;
}
.search-menu .searchbox .search{
    fill: #000!important;
}
.search-menu .searchboxresults{
    background-color: transparent;
    margin-top: 0;
    width: 100%;
    text-align: center;
}
.search-menu .searchboxresults .title{
    font-family: 'Source Sans Pro', sans-serif;
    margin-left: 0;
    font-weight: 100;
}
.search-menu .searchboxresults ul {
    list-style: none;
    margin-left: 0;
    width: 100%;
    font-size: 28px;
    padding-left: 0;
}
.search-menu .searchboxresults ul li a{
    color: #000;
    font-weight: 500;
}
.search-menu .mobile-search-toggle{
    font-family: 'Source Sans Pro', sans-serif;
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 100;
    border: 2px solid #000;
    border-radius: 100px;
    height: 70px;
    width: 70px;
    display: flex;
    align-content: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
    line-height: 65px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: portrait){
    .search-menu .searchbox input[type="text"],
    .search-menu .searchbox input[type="text"]::placeholder{
        font-size: 30px;
    }
    .search-menu .searchboxresults{
        width: 90%;
    }
    .mobile-search-toggle{
        bottom: 35px;
        right: 195px;
    }
}
@media screen and (max-width: 500px) and (orientation: portrait){
    .search-menu .container{
        padding: 15px;
        display: flex;
        flex-flow: column-reverse;
        align-items: flex-end;
        align-content: flex-end;
        height: 100vh;
    }
    .search-menu h2{
        font-size: 45px;
        margin: 0;
        padding: 0;
        margin-bottom: 40px;
    }
    .search-menu .searchbox{
        margin: 0 0 100px 0;
    }
    .search-menu .searchbox input[type="text"]::placeholder{
        visibility: hidden;
    }
    .search-menu .searchbox input[type="text"]{
        font-size: 25px;
        width: 80%;
        margin-bottom: 350px;
        height: 60px;
    }
    .search-menu .searchboxresults{
        width: 100%;
        height: 55vh!important;
        overflow: hidden;
        margin-top: 5vh;
        display: flex;
        flex-flow: column;
        align-items: flex-end;
        justify-content: flex-end;
        display: none!important;
    }
    .search-menu .searchbox input[type="image"]{
        width: 35px;
    }
    .search-menu .searchboxresults .title{
        font-size: 20px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .search-menu .searchboxresults ul{
        display: flex;
        flex-flow: column-reverse;
        justify-content: flex-end;
    }
    .search-menu .searchboxresults ul li a{
        font-size: 20px;
    }

}

/*
Search results
*/

.main.search h2.titulo{
    font-size: 25px;
    line-height: 30px;
    background-image: linear-gradient(transparent 15px, #EDD32C 11%, #EDD32C 50%, #EDD32C 80%, #ffffff 70%);
}
.searchportfolio{
    margin-top: 0px;
}
.searchportfolio .col{
        max-width: 33.33%!important;
}
.searchportfolio .item{
        height: 350px;
        overflow: hidden;
        background-size: cover!important;
}
.searchportfolio .item:hover .item-overlay{
        opacity: 1;
    }

.searchportfolio .item:hover .item-content{
    opacity: 1;
    bottom: 30px;
}

.searchportfolio .row{
        margin-bottom: 30px;
    }
.searchportfolio .item-overlay{
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 5;
        opacity: 0;
        -webkit-transition: all 0.4s ease-in-out 0s;
        -moz-transition: all 0.4s ease-in-out 0s;
        transition: all 0.4s ease-in-out 0s;
        background-color: #F9DC16!important;
    }
.searchportfolio .item-content{
        z-index: 20;
        position: absolute;
        opacity: 0;
        bottom: 100px;
        -webkit-transition: all 0.6s ease-in-out 0s;
        -moz-transition: all 0.6s ease-in-out 0s;
        transition: all 0.6s ease-in-out 0s;
        color: #000;
        padding: 30px;
}
.searchportfolio .destacado{
            font-family: 'futura-pt', sans-serif;
            font-size: 28px;
            font-weight: 700;
            line-height: 32px;
}
.searchportfolio .texto{
            font-family: 'Source Sans Pro', sans-serif;
            font-size: 16px;
            font-weight: 100;
            margin-top: 10px;
}
.main.search .search-result h3{
    margin: 0 0 10px;
    font-size: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
    font-weight: 600;
}
.main.search .search-result p{
    font-size: 18px;
    font-weight: 100;
}
.main.search .search-result{
    margin: 0 0 60px;
    font-size: 18px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
    margin-right: 80px;
}
.main.search .search-result h3 a{
    color: #000!important;
}
.main.search input.search-submit{
    width: 150px;
    background-color: #FFDD00;
    color: #000;
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 18px;
    border: 0px;
    padding: 8px 30px;
    border-radius: 0;
}

@media screen and (max-width: 500px) and (orientation: portrait){
.searchportfolio{
    margin-top: 0px;
    overflow-x: scroll;
    width: 100vw;
    display: flex;
    flex-flow: row;
    overflow-y: hidden;
    margin-left: -30px;
}
.searchportfolio .row{
    min-width: 990px;
    margin-right: 30px;
}
.searchportfolio .col{
    width: 330px;
}
.searchportfolio .item {
    height: 750px;
    width: 320px;
    margin-right: 30px;
}
.searchportfolio .item:active .item-overlay{
    opacity: 1;
}

.searchportfolio .item:active .item-content{
    opacity: 1;
    bottom: 30px;
}
.searchportfolio .item-content{
    opacity: 0;
}
.searchportfolio .item-content .destacado{
    font-size: 35px;
    line-height: 38px;
}
.searchportfolio .item-content .texto{
    font-size: 20px;
    line-height: 28px;
}
.searchportfolio .item-overlay{
    height: 450px;
}

}

/*
VIMEO HERO
*/
.vimeohero{
    position: absolute;
    transform: scale(1.5);
}
.vimeohero .player .vp-controls, 
.vimeohero .player .vp-sidedock{
    display: none!important;
}

@media screen and (max-width: 1100px) and (orientation: portrait){
    .vimeohero {
        transform: scale(2.5);
    }
}
@media screen and (max-width: 500px) and (orientation: portrait){
    .vimeohero {
        transform: scale(5.5);
    }
    .vp-controls-wrapper,
    .player .vp-controls {
        display: none!important;
    }
}

/* ERROR 404 */
body.error404 .container-fluid {
    background-color: #76C8DA;
}
body.error404 main img{
    max-width: 515px;
}
body.error404 main{
    margin-top: 100px;
}
body.error404 h1{
    font-family: 'futura-pt', sans-serif;
    font-size: 80px;
    line-height: 85px;
    letter-spacing: -1.5px;
    font-weight: 700;
    color: #000;
    margin-left: 30px;
}
body.error404 p{
    font-family: 'futura-pt', sans-serif;
    font-size: 30px;
    line-height: 35px;
    font-weight: 100;
    color: #000;
    margin-left: 30px;
}
body.error404 #content form{
    display: flex;
    flex-flow: row;
    align-content: center;
    align-items: center;
}
body.error404 #content input[type="search"]{
    margin-left: 30px;
    margin-top: 8px;
    margin-right: 2px;
}
body.error404 input.search-submit{
    width: 150px;
    background-color: #FFDD00;
    color: #000;
    font-family: 'futura-pt-bold', sans-serif;
    font-weight: bolder;
    font-size: 18px;
    border: 0px;
    padding: 7px 30px;
    border-radius: 0;
}
@media screen and (max-width: 800px) and (orientation: portrait){
    body.error404 main img{
        max-width: 315px;
    }
    body.error404 h1 {
        font-size: 50px;
        line-height: 50px;
    }
    body.error404 p {
        font-size: 20px;
        line-height: 25px;
    }
}
@media screen and (max-width: 500px) and (orientation: portrait){
    body.error404 main {
        margin-top: 0px;
        padding-bottom: 80px;
    }
    body.error404 main img {
        max-width: 215px;
        text-align: left !important;
    }
    body.error404 h1 {
        font-size: 50px;
        line-height: 50px;
    }
    body.error404 .text-right{
        text-align: left!important;
    }
}