/*                            */
/*        RoMo 02.2025        */
/*        jaunie stili        */
/*                            */


.no-slider {
	height: 60px;
}

.fs-0-9 {
	font-size: 0.9em  !important;
}

.fs-1 {
	font-size: 1em  !important;
}

.fs-1-1 {
	font-size: 1.2em  !important;
}

.fs-1-2 {
	font-size: 1.2em  !important;
}

.w-100 {
	width: 100%;
}

.p-0 {
	padding: 0px  !important;
}

.p-1 {
	padding: 10px  !important;
}

.m-1 {
	margin: 10px  !important;
}

.m-2 {
	margin: 20px  !important;
}

.mt-0 {
	margin-top: 0px !important;
}

.mb-0 {
	margin-bottom: 0px !important;
}

.mb-1 {
	margin-bottom: 10px !important;
}

.pb-0 {
	padding-bottom: 0px !important;
}

.pb-1 {
	padding-bottom: 10px !important;
}
.pb-2 {
	padding-bottom: 20px !important;
}
.pt-1 {
	padding-top: 10px !important;
}
.pt-2 {
	padding-top: 20px !important;
}
.ps-2 {
	padding-top: 20px !important;
}

.f-s {
	float: left !important;
}

.f-e {
	float: right !important;
}

.d-flex {
	display: flex;
}

.jc-center {
	justify-content: center;
}

.bg-lgray {
	background-color: lightgray;
}

.galleries-grid {
	display: grid;
	/* Auto-layout: adjusts based on screen width */
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	grid-gap: var(--gap);
	max-width: 1400px;
	margin: 0 auto;
}

.gallery-grid {
	display: grid;
	/* Auto-layout: adjusts based on screen width */
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-gap: var(--gap);
	max-width: 1400px;
	margin: 0 auto;
}

.galleries-grid .img-card {
	aspect-ratio: 1.3 / 1;
}

.gallery-grid .img-card {
	aspect-ratio: 1 / 1;
}

.img-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--roundness);
	background: #1a1a1a;
}

.img-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	display: block;
}

/* Subtle hover zoom */
.img-card:hover img {
	transform: scale(1.08);
}

/* Overlay shadow on hover */
.img-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	transition: background 0.3s ease;
	pointer-events: none;
}
.img-card:hover::after {
	background: rgba(0,0,0,0.2);
}

.vakances-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2px 20px;           
}

.vakances-grid-form .full-width {
    grid-column: span 2;
}

.vakances-grid-form .half-width {
    width: 100%; 
}

.vakances-grid-form select {
    width: 100%;
    height: 38px;
    padding: .62em 1em;
    border: 1px solid rgba(34,36,38,.15);
    border-radius: .285rem;
    background: #fff;
    box-shadow: none;
	font-family: Open Sans !important;
    /*appearance: none;
    -webkit-appearance: none;*/
}

.vakances-grid-form input.half-width {
    grid-column: 1 / span 2; 
    display: block;
    margin: 0 auto !important;
    width: 50%;
}

.vakances-grid-footer {
	text-align: center;
	padding: 8px;
   
    font-family: PT Sans Narrow, arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e293b;
	
	background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.vakances-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vakances-modal {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.vakances-header {
    padding: 1.2rem;
    font-size: 1.25rem;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.vakances-content {
    padding: 1.2rem;
    overflow: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
}

.vakances-footer {
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.vakances-btn {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    background: #e0e1e2;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}
.vakances-btn:hover { background: #cacbcd; }
.vakances-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.vakances-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: zoom-in;
}
.vakances-content img.zoomed {
    max-width: none;
    cursor: zoom-out;
}

.vakances-links {
    display: block;
    width: fit-content;
    padding: 6px 0;
    margin-bottom: 8px;
	margin-left: 30px;
    
    font-family: PT Sans Narrow, arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none !important;
    
    transition: all 0.2s ease-in-out;
}

.vakances-links::after {
    content: ' →';
	content: ' \00BB';
	
    display: inline-block;
    margin-left: 4px;
    color: #1e293b;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vakances-links:hover {
    color: #3b82f6;
}

.vakances-links:hover::after {
    opacity: 1;
    transform: translateX(4px);
	color: #3b82f6;
}


.field-align-bottom {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}

.inner-border-dark {
	box-shadow: inset 0 0 0 1px darkgray !important;
}

.err-message {
	text-align: center;
    color: #db2828;
    padding: 4px 8px;
    font-size: 1em;
    margin-top: 5px;
    align-items: center;
    grid-column: span 2;
}

@media (min-width: 769px) {
	
	.no-slider {
		height: 70px;
	}
	
	.contacts-header {
		text-align: center;
	}

}


@media (max-width: 768px) {
	
	.m-2 {
		margin: 10px  !important;
	}
	
	.no-slider {
		height: 100px;
	}
	
	.contacts-header {
		padding-left: 50px;
		text-align: left;
	}
	
	.text-center {
		text-align: center;
	}
	
	.vakances-grid-form {
        grid-template-columns: 1fr;
    }
    
    .vakances-grid-form .full-width {
        grid-column: span 1;
    }
    
    .vakances-grid-form .half-width {
        width: 100%;
    }
}








