:root {
	--primary-color: #044C66;
	--bs-primary-rgb: 4, 76, 102;
	--secondary-color: #5E8975;
	--bs-secondary-rgb: 94, 137, 117;
}
body {
	font-family: 'Lato', sans-serif;
	color: #363636;
	background:#E9E6E1;
}

h1 {
	font-family: 'Assistant', sans-serif;
	color: var(--primary-color);
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	font-size: 1.25em;
}

h2 {
	font-family: 'Assistant', sans-serif;
	color: var(--primary-color);
	font-weight: bold;
}

h3 {
	font-family: 'Assistant', sans-serif;
	color: var(--primary-color);
	font-weight: bold;
}

.btn-primary {
	--bs-btn-hover-bg: transparent;
}

.btn-dark {
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
	--bs-btn-disabled-bg: var(--primary-color);
	--bs-btn-disabled-border-color: var(--primary-color);
}

a:hover {
	color: var(--secondary-color);
}

.btn-xl {
	padding: 1.25rem 2.5rem;
}
.mod-languages ul {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
}
div.mod-languages ul li.lang-active {
	background: none !important;
}

div.mod-languages ul li.lang-active > a > img {
	border: solid var(--primary-color);
}
footer div.mod-languages ul li.lang-active > a > img {
	border: solid var(--secondary-color);
}
.mod-languages {
	margin: auto;
}
/*====== H E A D E R ===========================================*/
#mod-custom111, 
#mod-custom112, 
#mod-custom113, 
#mod-custom117, 
#mod-custom116,
#mod-custom122,
#mod-custom123,
#mod-custom125,
#mod-custom128,
#mod-custom129
 {
	padding: 0 !important;
}
.header-wrapper {
	background-image: url(../img/topbar.png);
	background-repeat: no-repeat;
	padding: 10px 0 35px;
	background-size: cover;
	background-color: var(--secondary-color);
}

.header-wrapper .mail, .header-wrapper .phone {
	position: relative;
	color: #ffffff;
	text-decoration: none;
	margin-left: 20px;
}

.header-wrapper .fb a, .header-wrapper .insta a, .header-wrapper .linkedin a {
	position: relative;
	color: #fff;
	font-size: 0;
}

.header-wrapper .mail:hover, .header-wrapper .phone:hover, .header-wrapper .fb a:hover, .header-wrapper .insta a:hover, .header-wrapper .linkedin a:hover {
	color: var(--primary-color);
}

.header-wrapper .mail:before {
	position: absolute;
	content: "\F32F";
	font-family: 'bi';
	width: 20px;
	height: 22px;
	bottom: 2px;
	left: -35px;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 20px;
}

.header-wrapper .phone:before {
	position: absolute;
	content: "\F5C1";
	font-family: 'bi';
	width: 20px;
	height: 22px;
	bottom: 2px;
	left: -35px;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 20px;
}

.header-wrapper .fb a:before {
	position: absolute;
	content: "\F344";
	font-family: 'bi';
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.header-wrapper .insta a:before {
	position: absolute;
	content: "\F437";
	font-family: 'bi';
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.header-wrapper .linkedin a:before {
	position: absolute;
	content: "\F472";
	font-family: 'bi';
	width: 20px;
	height: 20px;
	font-size: 20px;
}

#logo {
	margin-top: 75px;
	display: block;
}

#mod-custom113, 
#mod-custom123 {
	display: none;
}

nav {
	background-color: var(--secondary-color);
}

nav.navbar ul {
	background: none;
}

nav.navbar li.nav-item {
	display: block;
	width: 100%;
	text-align: center;
}

nav.navbar li.nav-item a {
	color: #fff;
	font-weight: bold;
}

nav.navbar li.nav-item:first-child a {
	padding: 0.5em 1.5em;
	padding-left: 0;
}
nav ul li a, nav ul li .nav-header {
	border: none;
}
/*====== C O N T E N T ===========================================*/
#mod-custom119 {
	background-size: cover;
	background-position: center;
	padding-bottom: 30%;
}
.page-101 main p,
.page-135 main p {
	margin: auto;
	text-align: center;
	margin-bottom: 1rem;
}
/*====== P O S T C O N T E N T ===========================================*/
#mod-custom114 img,
#mod-custom124 img {
	border-radius: 15px;
}

#mod-custom114 h2,
#mod-custom124 h2 {
	text-align: center;
	font-size: 200%;
}

.mod-custom {
	padding: 3em 0;
}

#mod-custom114 h3,
#mod-custom124 h3 {
	margin-top: 1em;
}

#mod-custom115,
#mod-custom125 {
	background-size: cover;
	background-position: center;
	padding: 0;
	border-top: solid 5px var(--secondary-color);
	border-bottom: solid 5px var(--secondary-color);
}

#mod-custom115 p,
#mod-custom125 p {
	width: 100%;
	text-align: center;
	padding: 10% 0;
	background: rgba(255, 255, 255, 0.5);
	margin: 0;
	color: var(--primary-color);
	font-family: 'Permanent Marker';
	font-size: 20px;
	line-height: 1em;
}

.big {
	font-size: 150%;
}
/*====== F O O T E R ===========================================*/
footer {
	background: var(--primary-color);
	color: #E9E6E1;
}

footer ul {
	    margin-left: 1em;
}

footer a {
	color: #E9E6E1;
	margin-right: 15px;
}

footer .top {
	font-weight: bold;
	font-size: 22px;
	margin: 0;
}

footer .bottom {
	font-size: 18px;
	margin: 0;
}

.scroll-to-top:focus, .scroll-to-top:hover {
	color: #fff;
}

.scroll-to-top:hover {
	background: #343a40;
}

.copyright {
	opacity: .86;
}
.WD {
	text-transform: uppercase;
	opacity: .5;
}
#gotop {
	opacity: 1;
	-webkit-transition: opacity 500ms ease;
	transition: opacity 500ms ease;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 1000;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #cecece url("../img/symbols.svg") center bottom/40px 120px no-repeat;
	-webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
#gotop.hide {
	z-index: -1;
	opacity: 0;
}

/*====== Menory Galerie ==================================================*/
/* --- CSS for Masonry-like Layout with Fixed HTML --- */

/* 1. Target the main gallery container and reset its specific sigplus styles */
#sigplus_1001 {
    position: relative !important; /* Keep relative for containing elements if needed, but important to reset any absolute positioning here */
    height: auto !important; /* Allow height to be determined by content */
    display: flex; /* Use flexbox for basic column structure */
    flex-wrap: wrap; /* Allow items to wrap to the next row */
    align-items: flex-start; /* Align items to the start of the cross axis (top) */
    gap: 10px; /* Space between flex items */
    margin: 0 auto;
    max-width: 1350px; /* Adjust as needed */
    padding: 10px;
}

/* 2. Target the list items (li) which are your individual gallery items */
#sigplus_1001 ul {
    list-style: none !important; /* Remove list bullets */
    margin: 0 !important;
    padding: 0 !important;
    display: flex; /* Make the ul itself a flex container to hold the li items */
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%; /* Ensure ul takes full width of parent */
}

#sigplus_1001 ul li {
    /* Crucial: Override sigplus's absolute positioning */
    position: static !important; /* Or relative, but definitely not absolute */
    left: auto !important;
    top: auto !important;
    margin: 0 !important; /* Reset any default margins */
    padding: 0 !important;

    /* Define width for masonry effect */
    /* This will approximate columns. Adjust as needed. */
    width: calc(20% - 20px); /* 4 columns with 20px gap */
    /* If you want 3 columns: calc(33.333% - 20px); */
    /* If you want 2 columns: calc(50% - 20px); */

    /* Add some internal padding/margin for spacing around images if needed */
    margin-bottom: 10px; /* Space between rows */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    overflow: hidden; /* Clear any floats inside if necessary, though flex handles it */
}

/* 3. Target the image within the list item */
#sigplus_1001 ul li .sigplus-preview {
    display: block !important; /* Ensure image takes full width */
    width: 100% !important; /* Make image fill its parent li */
    height: auto !important; /* Maintain aspect ratio */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */

    /* Override any specific sigplus image positioning if it exists */
    position: static !important; /* or relative */
    left: auto !important;
    top: auto !important;
}

#sigplus_1001 ul li .sigplus-preview:hover {
    transform: scale(1.03); /* Slightly enlarge on hover */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #sigplus_1001 ul li {
        width: calc(33.333% - 20px); /* 3 columns on medium screens */
    }
}

@media (max-width: 768px) {
    #sigplus_1001 ul li {
        width: calc(50% - 20px); /* 2 columns on small screens */
    }
}

@media (max-width: 576px) {
    #sigplus_1001 ul li {
        width: calc(100% - 20px); /* 1 column on extra small screens */
    }
}
/*====== M E D I A Q U E R Y S ===========================================*/

@media only screen and (min-width:   768px) {
	.header-wrapper {
		padding: 10px 0 25px;
		background-color: transparent;
	}
	#mod-custom113,
	#mod-custom123 {
		height: 100%;
		display: block;
	}
	.header-text {
		height: 100%;
		display: flex;
		align-content: center;
		flex-wrap: wrap;
		font-size: 40px;
		padding: 60px 50px 40px;
		color: var(--primary-color);
		font-family: 'Assistant';
		font-weight: bold;
		letter-spacing: 5px;
		line-height: 1.25em;
		background: #e9e6e1;
	}

	.header-text p {
		margin: 0;
	}
	header ul.mod-menu.mod-list.nav {
		flex-direction: row;
	}
	nav.navbar li.nav-item {
		display: inline-block;
		width: auto;
		text-align: start;
	}
	h1 {
		font-size: 2em;
	}

	#mod-custom114 img,
	#mod-custom124 img {
		margin: 15px;
	}
	#mod-custom115 p,
	#mod-custom125 p {
		font-size: 35px;
	}
	footer .top {
		font-size: 35px;
	}

	footer .bottom {
		font-size: 25px;
	}
	.colum2 {
		column-count: 2;
	}
	.colum3 {
		column-count: 3;
	}
	.colum4 {
		column-count: 4;
	}
	.colum5 {
		column-count: 5;
	}
}

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

@media only screen and (min-width: 1024px) {
	#mod-custom113,
	#mod-custom123 {
		background-size: contain;
		background-position: 1050%;
	}
	.header-text {
		width: 60%;
		background: linear-gradient(0deg,#e9e6e1 70%, transparent 95%);
		background: -webkit-linear-gradient(0deg,#e9e6e1 70%, transparent 95%);
		background: -moz-linear-gradient(0deg,#e9e6e1 70%, transparent 95%);
		padding-left: 0;
	}
	h1 {
		font-size: 3em;
	}
	.page-101 main p,
	.page-135 main p {
		width: 70%;
	}

	#mod-custom114 p,
	#mod-custom124 p {
		padding: 15px;
	}
	#mod-custom114 h3,
	#mod-custom124 h3 {
		padding-left: 15px;
	}
	#mod-custom115 p,
	#mod-custom125 p {
		font-size: 48px;
	}
	footer .top {
		font-size: 45px;
	}

	footer .bottom {
		font-size: 40px;
	}
	footer li.nav-item {
		margin-bottom: 1em;
		text-align: start;
	}
}

@media only screen and (min-width: 1200px) {
	header ul.mod-menu.mod-list.nav {
		justify-content: start;
	}
	#logo {
		margin-left: 30%;
	}
}

@media only screen and (min-width: 1280px) {
	#mod-custom113,
	#mod-custom123 {
		background-position: 125%;
	}
	footer .top {
		font-size: 59px;
	}

	footer .bottom {
		font-size: 50px;
	}
}

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

@media only screen and (min-width: 1440px) {
	#mod-custom113,
	#mod-custom123 {
		background-position: right;
	}

	.header-text {
		background: linear-gradient(0deg,#e9e6e1 70%, transparent 95%);
		background: -webkit-linear-gradient(0deg,#e9e6e1 55%, transparent 75%);
		background: -moz-linear-gradient(0deg,#e9e6e1 55%, transparent 75%);
	}

	.header-text p {
		padding-left: 50px;
	}
}

@media only screen and (min-width: 1920px) {
	.header-text {
		background: linear-gradient(0deg,#e9e6e1 75%, transparent 100%);
		background: -webkit-linear-gradient(0deg,#e9e6e1 75%, transparent 100%);
		background: -moz-linear-gradient(0deg,#e9e6e1 75%, transparent 100%);
		padding-left: 50px;
	}

	.header-text p {
		padding-left: 150px;
	}
}

