@charset "UTF-8";
/*
Theme Name: NYBD theme
Theme URI: http://www.nybd.es/
Author: SAO Branding
Author URI: https://saobranding.com/
Description: Tema personalizado para NYBD
Requires at least: 5.3
Tested up to: 5.7
Requires PHP: 5.6
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nybd
Tags:

*/


@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

html {
    font-size: 62.5%;
}

:root {
    --main-font: 'Manrope', sans-serif;
    --grey-nybd: rgb(239, 239, 239);
    --darkblue-nybd: rgb(27, 87, 142);
    --darkcolor-nybd: rgb(39, 39, 39);
    --text-color: rgb(34, 34, 35);
    --text-lightcolor: rgb(122, 122, 122);
}

* {
    font-family: var(--main-font)!important;
}

body {
    background-color: var(--grey-nybd);
    font-family: var(--main-font);
}

header,
.main-content,
footer {
    height: calc(100vh / 3);
}

.eng {
    color: var(--text-lightcolor)!important;
}

.title {
    font-size: 3rem;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
}

.description {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
}


.rectangle {
    position: absolute;
    transform: translate(15%, 0) scale(1.5);
}

.puntos {
    position: absolute;
    transform: translate(-60%, -12%) scale(1.5);
}


footer {
    font-size: 1.2rem;
}

.copy {
    margin-right: 1.5rem;
    position: relative;
}
.copy::after {
    content: "|";
    font-size: 1.5rem;
    margin-left: 0.5rem;
    position: absolute;
    top: -2px;
}

.menu-footer-container {
    display: flex;
    align-items: center;
}

.menu-footer-container #menu-footer li {
    margin-right: 1.5rem;
    position: relative;
}

.menu-footer-container #menu-footer li::after {
    content: "|";
    font-size: 1.5rem;
    margin-left: 0.5rem;
    position: absolute;
    top: -2px;
}

.menu-footer-container #menu-footer li:last-of-type:after {
    content: "";
    font-size: 1.5rem;
    margin-left: 0;
}

.menu-footer-container a {
    color: var(--text-lightcolor);
    text-decoration: none;
}

.menu-footer-container a:hover {
    color: var(--text-color);
    text-decoration: none;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 .wpcf7-form.init {
    position: relative;
    height: 100%;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 {
    background-color: white;
    position: fixed;
    top: 0;
    left: inherit;
    right: 150px;
    height: calc(calc(100% / 3) * 2);
    width: 25%;
    padding: 0 25px 5px 25px;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 p {
    text-align: center;
    margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 .form-control {
    background-color: var(--grey-nybd);
    padding: 10px;
    border-radius: 0px;
    border: 0;
    font-size: 1.4rem;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 textarea {
    max-height: 100px;
    overflow-y: auto;
    resize: none;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 .wpcf7-form-control {
    margin-bottom: 10px;
}

.wp-block-contact-form-7-contact-form-selector .wpcf7 .btn {
    margin-top: auto;
    position: absolute;
    bottom: 45px;
    left: 0;
    width: 100%;
    padding: 9px 0;
    font-size: 1.6rem;
    background-color: var(--darkblue-nybd);
}

.wp-block-contact-form-7-contact-form-selector .wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-response-output {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.2rem;
    border: 0!important;
}

.form-check-footer {
    margin-top: 2rem;
}

.form-check-footer label {
    font-size: 1.2rem;
    color: #000;
}

.form-check-footer a {
    color: var(--dark-nybd);
    text-decoration: none;
}

.form-check-footer a:hover {
    color: var(--darkblue-nybd);
    text-decoration: none;
}

.form-check-footer .wpcf7-list-item {
    margin: 0 1rem 0 0;
}

.form-footer {
    position: fixed;
    bottom: 0;
    left: inherit;
    right: 150px;
    height: calc(94% / 3);
    width: 25%;
    padding: 0 25px 5px 25px;
    background-color: var(--darkcolor-nybd);
}

.form-footer > p {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 0;
}

.form-footer .btn-form {
    display: block;
    margin: 20px auto;
    width: fit-content;
    font-size: 1.8rem;
    padding: 5px 30px;
    border-radius: 0;
    background-color: var(--darkblue-nybd);
    border: 0;
}

.form-footer .wpcf7-response-output {
    display: none;
}

.form-footer .color-w {
    color: #fff!important;
}

.form-footer p.footer-1 {
    text-align: right!important;
    font-size: 1.4rem;
    line-height: 1;
}
.form-footer p.footer-2 {
    text-align: left!important;
    font-size: 1.4rem;
    line-height: 1;
}

.form-footer #wpcf7-f14-o2 form p{
    display: flex;
    justify-content: space-between;
}

.form-footer #wpcf7-f14-o2 form .btn {
    width: 95%;
    padding: 9px 0;
    font-size: 1.6rem;
    border-radius: 0;
    border: 0;
    background-color: var(--darkblue-nybd);
}

.form-footer #wpcf7-f14-o2 form .tel-68 {
    width: 98.5%;
}

.form-footer #wpcf7-f14-o2 form .tel-68 > input {
    height: 100%;
    width: 95%;
    border-radius: 0;
    border: 0;
    font-size: 1.6rem;
}


.ajax-loader {
    position: absolute!important;
}

/* OTRAS PÁGINAS */

.page-id-15 .container,
.page-id-19 .container,
.page-id-3 .container  {
    margin-bottom: 3rem;
    max-width: 1000px;
}

.page-id-15 h1,
.page-id-19 h1,
.page-id-3 h1 {
    text-align: center;
    font-weight: 800;
    font-size: 4rem;
}

.page-id-15 h1,
.page-id-15 h2,
.page-id-19 h1,
.page-id-19 h2,
.page-id-3 h1,
.page-id-3 h2 {
    margin-bottom: 1rem;
}

.page-id-15 p,
.page-id-19 p,
.page-id-3 p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.page-id-15 ul,
.page-id-19 ul,
.page-id-19 ol,
.page-id-3 ul{
    margin-bottom: 2rem;
}

.page-id-15 ul li,
.page-id-19 ul li,
.page-id-19 ol li,
.page-id-3 ul li {
    font-size: 1.4rem;
}

.page-id-15 .copy,
.page-id-19 .copy,
.page-id-3 .copy {
    font-size: 1.4rem;
}

.page-id-15 .menu-footer-container #menu-footer li::after,
.page-id-19 .menu-footer-container #menu-footer li::after,
.page-id-3 .menu-footer-container #menu-footer li::after {
    content: "|";
    font-size: 1.5rem;
    margin-left: 0.5rem;
    position: absolute;
    top: 0;
}

.page-id-15 .menu-footer-container #menu-footer li:last-of-type:after,
.page-id-19 .menu-footer-container #menu-footer li:last-of-type:after,
.page-id-3 .menu-footer-container #menu-footer li:last-of-type:after {
    content: "";
    font-size: 1.5rem;
    margin-left: 0;
}

.page-id-15 .copy::after,
.page-id-19 .copy::after,
.page-id-3 .copy::after  {
    content: "|";
    font-size: 1.5rem;
    margin-left: 0.5rem;
    position: absolute;
    top: 0;
}

.grecaptcha-badge {
    display: none;
}

@media (max-height: 750px) {
    .wp-block-contact-form-7-contact-form-selector .wpcf7 {
        background-color: white;
        position: fixed;
        top: 0;
        left: inherit;
        right: 150px;
        height: 70%;
        width: 25%;
        padding: 0 25px 5px 25px;
    }

    .form-footer {
        position: fixed;
        bottom: 0;
        left: inherit;
        right: 150px;
        height: 30%;
        width: 25%;
        padding: 0 25px 5px 25px;
        background-color: var(--darkcolor-nybd);
    }

    .wp-block-contact-form-7-contact-form-selector .wpcf7 .btn {
        margin-top: auto;
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        padding: 2px 0;
        font-size: 1.6rem;
        background-color: var(--darkblue-nybd);
    }

    .form-footer p.footer-1, 
    .form-footer p.footer-2 {
        display: none;
    }


    .wp-block-contact-form-7-contact-form-selector .wpcf7 textarea {
        height: 45px;
        overflow-y: auto;
        resize: none;
    }
}

@media (max-width: 1560px) {
    .wp-block-contact-form-7-contact-form-selector .wpcf7 {
        right: 35px;
        width: 30%;
    }

    .form-footer {
        right: 35px;
        width: 30%;
    }

}

@media (max-width: 1440px) {

    .wp-block-contact-form-7-contact-form-selector .wpcf7 {
        right: 50px;
        width: 30%;
    }

    .wp-block-contact-form-7-contact-form-selector .wpcf7 .wpcf7-form-control {
        margin-bottom: 5px;
    }

    .form-footer {
        right: 50px;
        width: 30%;
    }

    .rectangle {
        position: absolute;
        transform: translate(-5%, 0) scale(1);
    }

    .puntos {
        position: absolute;
        transform: translate(-55%, -12%) scale(1);
    }



  }


@media (max-width: 1240px) {
    .rectangle {
        position: absolute;
        transform: translate(-5%, 0) scale(1);
    }

    .puntos {
        position: absolute;
        transform: translate(-55%, -12%) scale(1);
    }

}
  

@media (max-width: 1130px) {
    .rectangle {
        position: absolute;
        transform: translate(-30%, 0) scale(1);
    }

    .puntos {
        position: absolute;
        transform: translate(-70%, -12%) scale(1);
    }

}

@media (max-width: 990px) {
    .inline-elements {
        display: none;
    }

    header {
        margin: 40px 0;
    }

    .logo {
        width: 40%!important;
    }

    .logo > svg{
        width: 100%!important;
        height: auto!important;
    }

    .icon {
        margin-top: 30px!important;
        margin-bottom: -30px!important;
    }

    header, .main-content, footer {
        height: fit-content;
    }

    .inline-elements {
        display: none;
    }
    .wp-block-contact-form-7-contact-form-selector .wpcf7 {
        position: initial;
        padding: 1px 40px 50px 40px;
        display: block;
        right: 70px;
        width: 100%;
        height: fit-content;
    }

    .wp-block-contact-form-7-contact-form-selector .wpcf7 .btn {
        margin-top: 10px;
        position: inherit;
    }

    .form-footer {
        position: initial;
        display: block;
        right: 70px;
        width: 100%;
        padding-bottom: 20px;
    }

    .form-footer p.footer-1,
    .form-footer p.footer-2 {
        text-align: center!important;
    }

    .last-footer {
        margin: 50px 0;
    }

    .galeria {
        margin-bottom: 20px!important;
    }
}
.anim {
    --delay: .25s;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform:  rotate(360deg);
    }
}
.spin {
    animation-name: spin;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.spin.rev {
    animation-direction: reverse;
}

