/*
Theme Name: generatepress Child
Theme URI:  https://www.wpserveur.net
Author:     Iñigo Escamochero | iescamochero@gmail.com
Author URI: https://www.wpserveur.net
Template:   generatepress
Version:    1.0
License:    GNU General Public License v2 or later
*/


/***********************************/
/*        HOMEPAGE BANNER CTA      */
/***********************************/
.page-hero .background-media {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.page-hero .background-media video,
.page-hero .background-media #mobile-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-hero .background-media .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
  z-index: 1;
}

.page-hero .background-media .content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-hero .background-media .content > div {
    max-width: 860px;
}

.page-hero  .background-media .content > div h1 {
    filter: url(#distortionFilter);
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: MuseoModerno;
    font-weight: bold;
    font-variation-settings: "wght" 700;
    margin-bottom: 20px;
}

.page-hero .background-media .content > div h1 > span {
    font-size: 1.35em;
    color: #1679AB;
}

.page-hero  .background-media .content > div p {
    filter: url(#distortionFilter);
    font-family: Montserrat;    
    margin-bottom: 30px;
    font-weight: bold;
}
.page-hero .background-media .content > div #dashicon-div {
    height: 50px;
}
.page-hero .background-media .content > div #dashicon-div .dashicons {
    font-size: 2em;
    color: white;
}

.page-hero .background-media .content > div svg {
    position: absolute;
    width: 0;
    height: 0;
    left: -9999px;
    pointer-events: none;
}

@media only screen and (max-width : 768px) {
    .page-hero #mobile-background {
        display: block;
    }
    .page-hero .background-media video {
        display: none;
    }
    .page-hero .background-media .content {
        padding-left: 1em;
        padding-right: 1em;        
    }
    .page-hero  .background-media .content > div h1 {
        font-size: 3.2em;
    }
    .page-hero  .background-media .content > div p {
        font-size: 1.6em;
    }
    .page-hero .background-media {
        max-height: 600px;
    }
    .page-hero .background-media .overlay {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media only screen and (min-width : 768px) {
    .page-hero #mobile-background {
        display: none;
    }
    .page-hero .background-media video {
        display: block;
    }
    .page-hero  .background-media .content > div h1 {
        font-size: 4em;
    }
    .page-hero  .background-media .content > div p {
        font-size: 1.9em;
    }
    .page-hero .background-media .overlay {
        background-color: rgba(0, 0, 0, 0.3);
    }
    .page-hero  .background-media .content > div h1 {
        display: none;
    }
    .page-hero  .background-media .content > div p {
        display: none;
    }
    .page-hero .background-media .content > div #dashicon-div .dashicons {
        display: none;
    }
    .page-hero .background-media .content > div #dashicon-div .dashicons:hover {
        cursor: pointer;
        font-size: 3em;
        color: white;
    }
}
/***********************************/
/*     END HOMEPAGE BANNER CTA     */
/***********************************/

/* MAIN MENU */
body.home nav.main-navigation {
    border-bottom: 1px solid #DDD;
}
body.home nav.main-navigation a {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* QUE ES VIPE PORTS */
body.home .que-es-vipe-ports {
    padding-top: 2em;
}
body.home .que-es-vipe-ports h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.2em;
}
body.home .que-es-vipe-ports h2 span.vipe-title {
    font-size: 0.8em;
}
body.home .que-es-vipe-ports h2 span.vipe-title span {
    font-size: 1.5em;
}

/* BENEFICIOS */
body.home .beneficios-vipe-ports {
    margin-bottom: 2em;
}
body.home .beneficios-vipe-ports div.wp-block-column {
    border-radius: 15px;
    padding: 1em 0.5em;
    text-align: center;
}
body.home .beneficios-vipe-ports div.wp-block-column * {
    padding: 0px;
}
body.home .beneficios-vipe-ports div.wp-block-column p:nth-child(1) {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2em;
}
body.home .beneficios-vipe-ports div.wp-block-column .dashicons {
    width: 100px;
    height: 100px;
    font-size: 5em;
}
body.home .beneficios-vipe-ports div.wp-block-column p:nth-child(3) {
    margin-bottom: 0px;
    font-size: 0.9em;
}

body.home .boton-demo {
    margin-bottom: 5em;
}

/* SECCIÓN COLUMNAS */
.vipe-ports-columns {
    margin-bottom: 0px;
}
.vipe-ports-columns .wp-block-columns {
    gap: 0;
    margin-bottom: 0px;
}
.vipe-ports-columns .wp-block-columns .wp-block-column.text {
    padding: 2em 0px;
}
.vipe-ports-columns .wp-block-columns .wp-block-column.text h2 {
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
}
.vipe-ports-columns .wp-block-columns .wp-block-column.text h2::before {
    content: '';
    display: block;
    width: 1em;
    height: 3px;
    background-color: #000;
    margin-bottom: 0.25em;
}
.vipe-ports-columns .wp-block-columns .wp-block-column.text p:last-child {
    margin-bottom: 0px !important;
}
.vipe-ports-columns .wp-block-columns .wp-block-column.text  * {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width : 768px) {
    .vipe-ports-columns .wp-block-columns .wp-block-column.text h2,
    .vipe-ports-columns .wp-block-columns .wp-block-column.text p {
        padding-left: 1em;
        padding-right: 1em;
    }
    .vipe-ports-columns .wp-block-columns:nth-child(2) {
        flex-direction: column-reverse;
    }    
}
@media only screen and (min-width : 768px) {
    .vipe-ports-columns .wp-block-columns .wp-block-column.text h2,
    .vipe-ports-columns .wp-block-columns .wp-block-column.text p {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

/* CTA BLOCK */
.cta-block,
.cta-block * {
    margin-bottom: 0px !important;
}
.cta-block span.vipe-title {
    font-size: 0.9em;
}
.cta-block span.vipe-title span {
    font-size: 1.3em;
}
@media only screen and (max-width : 768px) {
    .cta-block {
        padding: 3em 1em;
    }
    .cta-block p {
        font-size: 1.5em !important;
    }    
}
@media only screen and (min-width : 768px) {
    .cta-block {
        padding: 7em 0.5em;
    }
}

/* CONTACT FORM BLOCK */
.contact-form-block {
    gap: 0px;
    background-color: #fafafa;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0px;
}
.contact-form-block .wp-block-cover {
    height: 100%;
}
.contact-form-block .wp-block-cover > div.wp-block-cover__image-background { 
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.contact-form-block .wp-block-column:nth-child(1) {
    padding: 2em;
}
.contact-form-block .wp-block-column:nth-child(1) > p {
    font-size: 1.6em;
    margin-bottom: 1em;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.contact-form-block .wp-block-column:nth-child(1) > p:after {
    content: '';
    display: block;
    width: 1.6em;
    height: 2px;
    background-color: #222;
    margin-top: 0.25em;
    margin-left: auto;
    margin-right: auto;
}
.contact-form-block form {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.contact-form-block form > p:nth-child(9) {
    margin-bottom: 0px !important;
}
.contact-form-block label {
    font-size: 0.9em;
}
.contact-form-block input[type="email"],
.contact-form-block textarea,
.contact-form-block input[type="text"] {
    padding: 5px !important;
    background-color: white;
    width: 100%;
}
.contact-form-block input[type="submit"] {
    width: 100%;
}
.contact-form-block textarea {
    height: 70px !important;
}
@media only screen and (max-width : 768px) {
    .contact-form-block .wp-block-cover {
        display: none;
    }
}

/* QUIENES SOMOS */
body.home .quienes-somos {
    margin-bottom: 0px;
    padding: 3em 0.5em 0px 0.5em;
}
body.home .quienes-somos h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2.2em;
}
body.home .quienes-somos .wp-block-columns .wp-block-column {
    padding: 0.5em;
    background-color: #fafafa;
    border: 1px solid #ddd;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}
body.home .quienes-somos .wp-block-columns .wp-block-column:hover {
    cursor: crosshair;
}
body.home .quienes-somos .wp-block-columns .wp-block-column figure {
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    margin-bottom: 15px;
}
body.home .quienes-somos .wp-block-columns .wp-block-column figure img {
    max-width: 100%;
    width: 100%;
    transform: scale(1);
    transition: transform 2s ease;
    object-fit: cover;
}
body.home .quienes-somos .wp-block-columns .wp-block-column figure img.zoom-out {
    transform: scale(1.2);
}
body.home .quienes-somos .wp-block-columns .wp-block-column p:nth-child(2) {
    font-weight: bold;
    margin-bottom: 0px;
}
body.home .quienes-somos .wp-block-columns .wp-block-column p:nth-child(3) {
    margin-bottom: 10px;
    font-size: 0.9em;
    font-style: italic;
    padding-bottom: 3px;
    border-bottom: 1px solid #DDD;
}
body.home .quienes-somos .wp-block-columns .wp-block-column p:nth-child(4) {
    font-size: 0.9em;
}
body.home .quienes-somos .wp-block-columns .wp-block-column p:last-child {
    margin-bottom: 0px !important;
}

/* LOGOS */
.logos {
    margin-bottom: 0px;
    padding: 3em 0.5em;
}
.logos * {
    margin-bottom: 0px;
}

/* FOOTER */
div.site-footer li a {
    text-decoration: none;
    padding: 0px 1em;
}
div.site-footer li a:hover {
    text-decoration: underline !important;
}
div.site-footer #footer-widgets {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media only screen and (max-width : 768px) {
    div.site-footer li {
        text-align: center;
    }
}
@media only screen and (min-width : 768px) {
    div.site-footer li {
        float: left;
        margin-bottom: 0px !important;
    }
}

/* POPUPS */
div.pum-container {
    top: 80px !important;
}

/* ESTILOS GENERALES */
.home-page-column {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;    
}
.home-page-large-column {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
.no-margin-bottom {
    margin-bottom: 0px !important;
}
@media only screen and (max-width : 768px) {
    .home-page-column,
    .home-page-large-column {
        padding-left: 1em;
        padding-right: 1em;
    }
}
@media only screen and (min-width : 768px) {
    .home-page-column,
    .home-page-large-column {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}