/* 
Theme Name: FEAA Galati
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Paragraph */
.elementor-text-editor p:last-child{ margin-bottom:0px;}
.elementor-text-editor p:last-child, .textwidget p:last-child { margin-bottom:0px;}
.elementor-widget-text-editor p:last-child, .elementor-widget-theme-post-content p:last-child {margin-bottom:0px;}

.elementor-widget.elementor-widget-button {margin-top: auto;}

/* Meniu */
body {overflow-x: hidden;}
.jet-mega-menu-mega-container__inner {background-color: #ffffff00!important;margin-top: -10px!important;}
.jet-mega-menu-item__inner:hover {border-bottom: solid;border-width: 5px;border-color: #3db166;padding-bottom:25px!important;}
.elementor-counter-title {text-align: unset !important; line-height: unset !IMPORTANT;}
.elementor-counter .elementor-counter-number-wrapper{display:unset;}

/* Meniu provizoriu admitere licenta */
.meniu-admiterelicenta .jet-mega-menu-item__inner:hover {border-bottom: unset;border-width: unset;border-color: unset;padding-bottom: 0px !IMPORTANT;}

/* Liste */
.elementor-tabs li p {margin-bottom: 0px !IMPORTANT;}

/* Full width link to icon box widget */
.elementor-widget-icon-box a:after { content: ""; display: block !IMPORTANT; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; }

/* Afisare liste cu link-uri pe pagini copil */
.jet-listing-grid__item:last-child .jet-listing-dynamic-field__inline-wrap {border:none !important;margin-bottom: 0px !important;}
.subpagini-1column .elementor-widget-jet-listing-dynamic-field {margin-bottom: 0px !important;}

/* Ultimul link din meniu devine buton */
.meniu-acasa .elementor-nav-menu li:last-of-type .elementor-item {display: inline-block; border-radius: 5px; color: #fff !important;background-color: #748AA7;margin-left: 15px;}
.meniu-acasa .elementor-item-anchor:hover {background-color: #fff; border-radius: 5px;}
.meniu-acasa .elementor-nav-menu li:last-of-type .elementor-item::after {display: none !important;}

/* Aranjeaza icon pe buton la dreapta full */
#buton .elementor-button-text {text-align: left;margin-right: auto;}

/* Article */
.tagcloud a {background-color: #3db166;font-size: 11px !important;text-transform: uppercase;font-weight: 600;float: left;padding: 7px 16px 8px;margin-right: 10px;margin-bottom: 10px;color: #fff;}
a.tag-cloud-link:hover {background-color: #192F59;color: #fff;}
.custom-widget h5 {display: none;}
.custom-widget select {border: 1px solid #e7e7e7;}
.articol-feaa h4 {margin-bottom: 5px;}
.articol-feaa li:last-child {margin-bottom: 20px;}
.articol-feaa h2 {margin-bottom: 10px;}

/* Icon box */
.elementor-widget-icon-box a:after { content: ""; display: block !IMPORTANT; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; } /* Adauga link pe toata caseta icon */
.elementor-image-box-wrapper a:after { content: ""; display: block !IMPORTANT; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; } /* Adauga link pe toata caseta image */

/* Buton WP */
.wp-block-button__link {background-color: #3db166;color: #fff !IMPORTANT;border-radius: 4px;padding: 15px 30px;font-size: 16px;}
.wp-block-button__link:hover {background-color: #229b4c;transition-duration: 300ms;}

/* Tabele */
table tbody>tr:nth-child(odd)>td {background-color: unset;}
thead {background-color: #192f59;color: #fff;}
table tbody tr:hover>td, table tbody tr:hover>th {background-color: #f7f7f7;}
td {padding: 10px !IMPORTANT;}
td a::after {font-family: "Font Awesome 5 Free";content: "\f1c1";font-weight: 400;margin-left: 5px;margin-right: 5px;}
.wp-block-table {margin: 0 0 2em;}
.has-text-align-left {vertical-align: middle;}
.has-text-align-center {vertical-align: middle;}
.wp-block-table td {vertical-align: middle;}

/* Tabs */
.elementor-tabs-wrapper {justify-content: space-between;width: 100%;white-space: nowrap;display: table;}
.tab-acasa .elementor-tabs-content-wrapper {height: 490px;}

/* Echipa */
.jet-listing-grid__items {justify-content: center;} // centreaza elementele justify

/* Counter */
span.elementor-counter-number-prefix {display: none;}
span.elementor-counter-number-suffix {color: red;font-size: 20px;}
.elementor-counter .elementor-counter-number-prefix {display: none;}

/* Pagina Examene */
.anunturi .elementor-post__meta-data {float: right;}
.anunturi h3.elementor-post__title {float: left;}

/* Admitere */
.admitere-texte p {margin-bottom: 10px;}
.admitere-texte ul, ol {margin-bottom: 15px;}
.admitere-texte figure.wp-block-table {margin-top: 20px;}
.admitere-tabel th {width: 70%;}
.admitere-tabel ul.elementor-icon-list-items {height: 220px;}
.ascunde.menu-item {display: none;} /* pe admitere septembrie */

/* Admitere lista */
.admitere-lista .elementor-widget-jet-listing-dynamic-field {margin-bottom: 0px !IMPORTANT;}

/* 1) Pentru browsere moderne cu suport :has(): ascunde <li>-urile fără text */
.info-evenimente .elementor-icon-list-item:has(.elementor-icon-list-text:empty) {
  display: none;
}

/* 2) Fallback CSS: ascunde textul gol și iconița aferentă */
.info-evenimente .elementor-icon-list-text:empty {
  display: none;
}
.info-evenimente .elementor-icon-list-text:empty ~ .elementor-icon-list-icon,
.info-evenimente .elementor-icon-list-text:empty + .elementor-icon-list-icon {
  display: none;
}

/* Ascundere linkuri septembrie */
.septembrie a.jet-custom-nav__item-link {display: none;}

@media (max-width: 768px){
	.anunturi .elementor-post__meta-data {float: left;margin-top: 5px;}
	.admitere-tabel ul.elementor-icon-list-items {height: unset;}
	.tab-acasa .elementor-tab-content {height: unset;}
}
