:root {
    --tw-block-rounded: calc( var(--button--border-radius) / 2 ) !important;
    --tw-block-rounded: calc( var(--button--border-radius) * 2 ) !important;
    --global--spacing-unit: 20px !important;
}

@media only screen and (min-width: 822px){
    :root {
        --site--padding: 30px !important;
    }
}
@media only screen and (max-width: 481px){
    :root {
        /* --responsive--spacing-horizontal: 20px !important; */
    }
    :root {
        /* --responsive--spacing-horizontal: 2em !important; */
    }
}
    
/* 2021 Child */

html.no-scroll, body.no-scroll {
    /*position: fixed;*/
    overflow: hidden;
    width: 100%;
}

/*START MAin Content*/
body *:focus {
    outline: 0px !important;
}

@media(min-width:768px) {
    body:has(.ymk-overflow) {
        overflow-x: hidden;
    }
}

body *:focus {
    outline: 0px !important;
}

ul > li:has(.no-gap) {
    gap:0;
    margin: 0px !important;
}

.ymk-justify-center .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/*Round Corners*/

.is-style-tw-rounded-corners {
    border-radius: var(--tw-block-rounded);
    overflow: hidden;
}

/*Imagen desbordante*/
.tw-stretched-media .wp-block-group__inner-container>:where(figure,.wp-block-embed,.wp-block-image,.wp-block-cover,.has-background):first-child {
    margin: -30px -24px 30px!important;
    max-width: none;
    width: auto;
}


/*Columnas Espacios*/
@media (min-width: 1200px){
    .wp-block-columns.tw-gutter-large {
        column-gap: 7em!important;
    }
}

@media (min-width: 1024px){
    .wp-block-cover.alignwide {
        padding: calc(var(--global--spacing-unit)*3) calc(var(--global--spacing-unit)*4);
    }
}

@media (min-width: 652px){
    .wp-block-cover:not(.alignfull), .wp-block-group.has-background:not(.alignfull) {
        padding: calc(var(--global--spacing-unit)*2);
    }
}

@media (max-width: 651px){
    .wp-block-cover.alignwide {
        padding: calc(var(--global--spacing-unit)*2) calc(var(--global--spacing-unit)*1);
    }
}

body.ymk-fixed-footer div#content,
body.custom-background div#content {
    background: var(--global--color-background);
}




.page .entry-content > .alignfull:not(:last-of-type) .alignfull:last-child {
   margin-bottom: initial;
}


/*Cabecera Retractil*/

header#masthead {
    /* justify-content: space-between;*/
    /* align-items: center;*/
    /* z-index:+1;*/
}

body.tw-header-sticky.top-barra:not(.top-barra-close) header#masthead.nav-down {
  top: 32px !important;
}

body.tw-header-sticky .top-bar {
  transition: all 0.2s ease-in-out;
  position: unset;
}

body.tw-header-sticky header.nav-down {
  transition: all 0.2s ease-in-out;
}

body.tw-header-sticky header.nav-up
body.tw-header-sticky .top-bar.nav-up {
 top: -7rem; 
}

body.tw-header-sticky:not(.page-carrito, .page-finalizar-compra) header.nav-down,
body.tw-header-sticky:not(.page-carrito, .page-finalizar-compra) .top-bar.nav-down,
body.tw-hero-cover.tw-header-sticky header.nav-down{
  top: 0 !important;
}

body.tw-header-sticky.tw-header-transparent:not(.tw-header-opaque) header.nav-down.site-header,
body.tw-header-sticky.tw-header-transparent:not(.tw-header-opaque) header {
    /* position: absolute;*/
}

/*Fixed Footer*/

body.ymk-fixed-footer div#content,
body.custom-background div#content {
    background: var(--global--color-background);
}

@media only screen and (min-width: 652px){

    body.ymk-fixed-footer div#content {
    position: relative;
    /* box-shadow: 0 1px 4px rgb(0 0 0 / 10%), 0 2px 30px rgb(0 0 0 / 40%);*/
    z-index:2;
    }
    
    body.ymk-fixed-footer aside.widget-area {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index:0;
    }

   body.ymk-fixed-footer footer#colophon {
    /* position: -webkit-sticky;*/
    /* position: sticky;*/
    /* bottom: 0;*/
    /* z-index:0;*/
    }

    body.ymk-fixed-footer .no-widgets .site-footer,
    body.ymk-fixed-footer .widget-area {
        margin-top: calc(var(--global--spacing-vertical)*0);
    }

    body.ymk-fixed-footer footer#colophon {
    /* margin-top: calc(var(--global--spacing-vertical)*0);*/
    }
}

.page .entry-content > .alignfull:not(:last-of-type) .alignfull:last-child {
		margin-top: 0 !important;
		margin-bottom: initial;
}

/*Recaptcha*/
.grecaptcha-badge { 
 visibility: hidden; 
}


/*FORMS*/

form.wpcf7-form.init input,
.site textarea {
    border-radius: var(--button--border-radius) !important;
    border: var(--form--border-width) solid #b1b1b1;
    font-size: smaller !important; 
}

.wp-block-contact-form-7-contact-form-selector {
    margin-top: 0 !important;
}

#page input[type=submit] {
        margin-top: 1rem;
    width: 100%;
}

.wpcf7-response-output {
    margin: 0 !important;
}

span.wpcf7-form-control.wpcf7-checkbox {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
}

.wpcf7-list-item {
    margin: 0;
}

label.fileContainer {
    cursor:pointer;
    display: inline-block;
    font-size: small !important;
    width: fit-content;
    background: var(--entry-header--color);
    color: var(--header--color-background) !important;
    padding: 0.3em 1em;
    border-radius: var(--button--border-radius);
    margin-bottom: 2rem;
}

label.fileContainer span.wpcf7-form-control-wrap {
    display:none;
}

span.wpcf7-form-control.wpcf7-checkbox input[type=checkbox]:after {
    background:var(--footer--color-link);
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    transform: none;
    border: 0px;
    border-radius: 4px;
}

@media (min-width: 425px){
    .campos p {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
    }

    .campos p span {
            flex-grow: 0;
            flex-shrink: 0;
            flex-basis: 49%;
    }
}