@charset "utf-8";

* {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    background-color: whitesmoke;
    background-size: cover;
}

html, body {
    height: 100%;
    width: 100%;
}

.container {
    margin: auto;
    min-height: 100%;
}

.min-container {
    min-width: 320px;
}

a:link, a:visited, a:hover, a:active {
    color: white;
    text-decoration: none;
}

a:hover {
    color: black;
}

h1, h2, h3 {
    text-align: center;
    color: dimgray;
    font-weight: bold;
    
	}

h1 {

margin-top: 20px;
margin-bottom: 10px;

}


h2 {
    font-size: small;
    margin-bottom: 10px;
}

h3 {
    font-size: medium;
    margin-bottom: 10px;
}

header .logo {
    display: block;
    margin: 0 auto 20px auto;
}

.links-logo-container {
margin-top: 10px;
	padding-top: 50px;
	padding-bottom: 150px;	
	height: 250px;
	background-image: url("../img/locker-logo.jpg"); 
  	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.menu-container {
    background-color: #F5A82F;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .menu-container {
        flex-direction: column;
    }
}

.menu-button {
    font-size: 26px;
    font-weight: bold;
    padding: 10px 0;
    white-space: nowrap;
    flex: 1;
    margin: 0 50px;
    text-align: center;
}

.1st-container {
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 2px;
}

.parallax-window {
    min-height: 300px;
    background: transparent;
}

.horizontal-line {
    width: 100%;
    height: 20px;
    background-color: #F5A82F;
    
}

.content {
   	margin-top: 20px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 18px;
    color: dimgray;
    line-height: 1.4;
    padding: 0 10%;
}

@media screen and (max-width: 768px) {
    .content {
        padding: 0 3%;
    }
}

.mantas {
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

.content-container {
    margin: 20px 10%;
    color: dimgray;
    justify-content: center;
}

.final-container {
    margin: 10px 5%;
}

/* Show this table by default on large screens */
.cenu-lapa-container.single-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: auto;
}

.rinda {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    border-bottom: 1px solid #ccc;
}

.rinda:last-child {
    border-bottom: none;
}

.glabatuves-izmers,
.cena-menesis,
.cena-gads,
.cena-gads-prieksapmaksa {
    padding: 10px;
    border-left: 1px solid #ccc;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow: hidden;
}

.glabatuves-izmers:first-child,
.cena-menesis:first-child,
.cena-gads:first-child,
.cena-gads-prieksapmaksa:first-child {
    border-left: none;
}

.virsraksts .glabatuves-izmers,
.virsraksts .cena-menesis,
.virsraksts .cena-gads,
.virsraksts .cena-gads-prieksapmaksa {
    background-color: #f2f2f2;
    font-weight: bold;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

/* Ensure large screen layout */
.cenu-lapa-container.single-table .glabatuves-izmers {
    flex: 1 1 20%; /* Adjust according to your preference */
}

.cenu-lapa-container.single-table .cena-menesis,
.cenu-lapa-container.single-table .cena-gads,
.cenu-lapa-container.single-table .cena-gads-prieksapmaksa {
    flex: 1 1 26.66%; /* Ensure equal distribution */
}

/* Hide separate tables by default */
.cenu-lapa-container.table-split {
    display: none;
}

/* Media query for screens smaller than 600px */
@media only screen and (max-width: 600px) {
    /* Hide the single table */
    .cenu-lapa-container.single-table {
        display: none;
    }

    /* Show the split tables */
    .cenu-lapa-container.table-split {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ccc;
    }

    .rinda {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        border-bottom: 1px solid #ccc;
        padding: 10px;
    }

    .glabatuves-izmers {
        flex: 1 1 33%; /* 1/3 of the width */
        padding-left: 10px;
        padding-right: 10px;
        text-align: left;
    }

    .cena-menesis,
    .cena-gads,
    .cena-gads-prieksapmaksa {
        flex: 2 1 66%; /* 2/3 of the width */
        padding-left: 10px;
        padding-right: 10px;
        text-align: center; /* Center the prices */
    }

    .virsraksts {
        display: flex; /* Ensure headers are displayed */
        flex-wrap: nowrap;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }
}

.nomas-menesis {
    text-align: right;
    margin-top: 20px;
    font-weight: bold;
}

.contacts {
    padding-top: 40px;
    background-color: #F5A82F;
    color: white;
    padding-bottom: 50px;
}

.contact-details-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.icon-details-container-left,
.email-container,
.social-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 150px;
    margin-bottom: 15px;
}

.social-block {
    margin-bottom: 0;
}

.phone-icon, .email-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.phone-icon {
    background-image: url("../img/phone.png");
}

.email-icon {
    background-image: url("../img/email.png");
}

@media only screen and (max-width: 600px) {
    .contact-details-container {
        flex-direction: column;
        align-items: center;
    }

    .social-block {
        margin-top: 20px;
    }
}

.map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
    background-color: whitesmoke;
}

.map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}