/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

body[data-header-resize="0"] .container-wrap, body[data-header-resize="0"] .project-title {
  margin-top: 0;
  padding-top: 0 !important;
}

#page-header {
    border-radius: var(--nectar-border-radius) !important;
    overflow: hidden !important;
}

/* Banda de sigle: 4 sigle pe un rând, distribuite pe toată lățimea */
#sigle-top {
	position: relative;
}
#sigle-top .wpb_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	gap: 20px;
}
#sigle-top .img-with-aniamtion-wrap {
	flex: 0 0 auto;
	margin: 0 !important;
}
#sigle-top .img-with-aniamtion-wrap .inner {
	width: auto !important;
	max-width: none !important;
}
#sigle-top .img-with-aniamtion-wrap .hover-wrap {
	margin-bottom: 0 !important;
}
#sigle-top img.img-with-animation {
	height: 50px !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Linia de jos, pe toată lățimea ecranului */
#sigle-top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: #ccc;
	box-shadow: 0 0 0 100vmax #ccc;
	clip-path: inset(0 -100vmax);
	pointer-events: none;
}

/* Telefon: siglele mai mici, pe două rânduri, centrate */
@media only screen and (max-width: 690px) {
	#sigle-top .wpb_wrapper {
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}
	#sigle-top img.img-with-animation {
		height: 35px !important;
	}
}

/* Acordeoane: titluri îngroșate, cu majuscule și mai mult spațiu; colțuri rotunjite ca la #page-header */
div.toggles .toggle > .toggle-title a {
	text-transform: uppercase;
	font-weight: 700;
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: var(--nectar-border-radius);
}
div.toggles .toggle > .toggle-title a i {
	top: 19px;
}
div.toggles .toggle.open > .toggle-title a {
	border-radius: var(--nectar-border-radius) var(--nectar-border-radius) 0 0;
}
div.toggles .toggle > div:not(.toggle-title) {
	border-radius: 0 0 var(--nectar-border-radius) var(--nectar-border-radius);
}
div.toggles .toggle > .toggle-title a:hover {
	background-color: var(--nectar-accent-color);
	color: #fff;
}
div.toggles .toggle > .toggle-title a:hover i {
	color: #fff;
}
div.toggles .toggle > div:not(.toggle-title) > .inner-toggle-wrap {
	padding: 45px;
}
@media only screen and (max-width: 690px) {
	div.toggles .toggle > div:not(.toggle-title) > .inner-toggle-wrap {
		padding: 20px;
	}
}

/* Tabele de documente: denumire | format și dimensiune | buton Descarcă (fără cap de tabel) */
table.gal-documente td {
	vertical-align: middle;
}
/* denumirea documentului e antetul rândului (th), dar arată ca celelalte celule */
body .main-content table.gal-documente th {
	font-weight: 400;
	font-size: 14px;
	text-align: left;
	vertical-align: middle;
}
table.gal-documente td:nth-child(2) {
	width: 1%;
	white-space: nowrap;
}
table.gal-documente td:nth-child(3) {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}
table.gal-documente .nectar-button {
	margin: 0;
}
/* Butonul din tabel are dimensiunile butonului legacy „small”. Salient generează aceste reguli
   doar pe paginile care conțin elementul nectar_btn, de aceea sunt repetate aici. */
table.gal-documente .nectar-button.small {
	font-size: 12px;
	padding: 8px 14px;
	color: #fff;
}
table.gal-documente .nectar-button.has-icon.small {
	padding-left: 33px;
	padding-right: 33px;
}
table.gal-documente .nectar-button.has-icon.small span {
	transform: translateX(-14px);
}
table.gal-documente .gal-doc-detalii {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	opacity: .8;
}
/* Telefon: fiecare document pe un bloc – denumirea, apoi formatul și butonul pe același rând */
@media only screen and (max-width: 690px) {
	table.gal-documente,
	table.gal-documente tbody,
	table.gal-documente tr,
	table.gal-documente th,
	table.gal-documente td {
		display: block;
		width: auto;
	}
	body .main-content table.gal-documente tr th,
	body .main-content table.gal-documente tr td,
	body .main-content table.gal-documente tr th:first-child,
	body .main-content table.gal-documente tr td:first-child {
		border: 0;
		padding: 0;
		text-align: left;
	}
	body .main-content table.gal-documente tr {
		padding: 15px 0;
		border-bottom: 1px solid #ececec;
		background-color: transparent;
	}
	body .main-content table.gal-documente tr:first-child {
		border-top: 1px solid #ececec;
	}
	table.gal-documente td:nth-child(2),
	table.gal-documente td:nth-child(3) {
		display: inline-block;
		width: auto;
		margin-top: 10px;
		vertical-align: middle;
	}
	table.gal-documente td:nth-child(2) {
		margin-right: 15px;
	}
}

#footer-outer #footer-widgets .widget .gzc-widget-title {
	font-family: Inter;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 20px;
	-webkit-font-smoothing: antialiased;
}

/* Tabele de documente cu data publicării: coloana cu data stă înaintea butonului „Descarcă” */
table.gal-documente td.gal-doc-data {
	width: 1%;
	white-space: nowrap;
}
table.gal-documente td:nth-child(4) {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}
@media only screen and (max-width: 690px) {
	table.gal-documente td:nth-child(4) {
		display: inline-block;
		width: auto;
		margin-top: 10px;
		vertical-align: middle;
	}
	table.gal-documente td.gal-doc-data {
		width: auto;
		margin-right: 15px;
	}
	table.gal-documente td.gal-doc-data:empty {
		margin-right: 0;
	}
}

