/*
Theme Name: Rome FSE
Theme URI: https://royalcomunicacion.com/
Author: @maperezotero
Author URI: https://royalcomunicacion.com/
Description: Rome FSE is designed to be flexible, versatile and applicable to any website.
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rome-fse
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.header-button-laptop {
    display: none !important;
}

.program-card {
	position: relative;
}

.program-card-image {
    position: relative;
}

.program-card-enrollment {
    color: #fff;
	z-index: 1;
	position: absolute;
	top: 16px;
	right: 18px;
	border-radius: 50%;
	/* width: 50px; */
	height: 50px;
	display: inline-block;
	border-top: 2px solid transparent;
	border-left: 2px solid #dba231;
	border-right: 2px solid #dba231;
	border-bottom: 2px solid #dba231;
	transform: rotate(-45deg);
}

.program-card-enrollment-text {
	transform: rotate(45deg) translate(-1px,-3px);
	font-size: 10px;
}

.program-card-enrollment-number {
	transform: rotate(45deg) translate(-5px,-9px);
	font-size: 18px;
}

.program-card-details {
	position: relative;
    border-top: 2px solid #dba231;
    width: calc(100% - 20px);
}

.program-card-details-more {
	margin: -5px 10px 0 !important;
    cursor: pointer;
}

.program-card-info {
    max-height: 200px;
    /* height: 200px; */
    overflow: hidden;
    /* opacity: 0; */
    /* visibility: hidden; */
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;

}

.program-card-info.expanded {
    /* max-height: 1000px; */
    /* transition: height 1s ease-in-out; */
    /* Ajusta el espacio si es necesario */
    /* padding-bottom: 20px;  */
    opacity: 1;
    visibility: visible;
}

.wp-block-outermost-icon-block.expand-arrow {
    cursor: pointer;
}

/* .program-card-info > * {
    pointer-events: none;
}

.expand-arrow > * {
    pointer-events: none;
} */

.icon-container.rotate-arrow {
	rotate: 180deg;
}

.program-card-modal-link a {
	text-decoration: none;
}

.hero-multiarea-finder {
    position: relative;
}

.hero-multifinder-scolarship {
    margin-top: -40px !important;
    z-index: 5;
}

@media (min-width: 320px) and (max-width: 719px) {

    .wp-block-site-logo {
        max-width: 180px;
        margin-left: -20px !important;
    }

    .header-button-laptop {
        display: flex !important;
    }

    .header-button-desktop {
        display: none !important;
    }

    .hero-landing {
        min-height: 380px !important;
    }

    .hero-landing-heading {
        font-size: 34px !important;
    }

    .program-card-details {
        width: calc(100% - 10px);
    }

    .hero-multiarea-finder > div {
        display: block !important;
    }

    .hero-multifinder-scolarship {
        margin-top: -170px !important;
        z-index: 5;
        position: absolute;
        width: 100%;
        left: 0;
        border-radius: 0 !important;
    }

    .find-your-master {
        margin-bottom: 10px !important;
    }

    .wp-block-romebs-finder-bar .form-select-area {
        width: 100%;
    }

    .form-select-learn-option {
        display: none;
    }

}


/* Formulario Landing */

/* .gform_wrapper form.rbs-form input:not([type="radio"]),
.gform_wrapper form.rbs-form select {
	height: 30px;
	padding-top: inherit;
	padding-bottom: inherit;
    font-size: 13px;
} */


/* En línea #31 | https://rbslanding.local/prueba/ */

.gform_validation_errors {
    display: none !important;
  }
  

.sampleform p.close a {
    display: none;
}

.sampleform.modal p.close a {
    text-decoration: none;
	display: block;
	color: #fff;
	margin-bottom: 0;
	font-size: 40px;
	width: 350px;
	text-align: right;
}

/* .sampleform.modal a.close {
	display: block;
	color: #fff;
	margin-bottom: 0;
	font-size: 40px;
	width: 350px;
	text-align: right;
} */

.sampleform.modal {
	position: fixed;
	top: 0;
	left: 31%;
	height: 100%;
	z-index: 999999;
	background-color: #000000a3 !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-height: 600px;
	max-width: 350px;
    overflow-y: scroll;
}

body.modal-open {
	height: 100vh;
	overflow-y: hidden;
}

.gform_wrapper {
    background-color: #e6e6e6;
}


.gform_wrapper .gform_title,
.gform_wrapper h2,
.gform_wrapper .gform_fileupload_rules,
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper .hidden_sub_label,
.gform_wrapper .gf_invisible,
.gform_wrapper .gform_title,
.gform_wrapper .gform_hidden {
  display: none;
}




.gform-theme--foundation .gform_fields {
    row-gap: 3px !important;
}

.gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
	margin-block-start: 0 !important;
}

.ginput_left.address_country.ginput_address_country.gform-grid-col {
    inline-size: 100% !important;
}

/* .gform-button.gform-button--white.button.gform-button--width-full {

} */

.gform_wrapper input[type="submit"] {
	background-color: #329e95 !important;
	border-radius: 5px !important;
	color: #fff !important;
	font-weight: 500 !important;
	font-size: 16px !important;
	font-family: "Roboto Slab" !important;
}

.gform_wrapper input[type="submit"] {
    filter: opacity(0.8) !important;
}

.form_desclaimer {
	font-size: 9px !important;
	height: 42px !important;
	overflow: auto !important;
    margin-bottom: 8px;
}

.gchoice {
	padding: 8px 4px !important;
}


/* Fin Formulario */

.lyte-wrapper {
    box-shadow: 0 1px 13px 1px #1f1e1f !important;
    border-radius: 5px !important;
}

.lyte {
    border-radius: 5px !important;
}

.epyt-facade {
    box-shadow: 0 1px 13px 1px #1f1e1f !important;
    border-radius: 5px !important;
}

 /* Estilo del div fijo */
 .bottom-bar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    display: none !important; /* Oculto por defecto */
    z-index: 20;
}

/* Solo visible en dispositivos móviles */
@media (max-width: 768px) {
    .bottom-bar-mobile {
        display: none; /* Se mostrará con JavaScript */
    }
    .show-bottom-bar-mobile {
        display: block !important;
    }
}