/*
Theme Name: Hotel Guma
Theme URI: https://weblogic-studio.com/
Author: Weblogic Studio
Author URI: https://weblogic-studio.com/
Description: Tema izrađena za projekt Hotel Guma.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotel-guma
*/

body {
    background-color:rgb(244, 244, 244);
    font-size:0.625rem;
     font-family: "Open Sans", sans-serif;
    margin:0;
}

.container {
  max-width: 90%;
  margin: 0 auto;
}



h1, h2, h3 {
  font-weight: 500;
}

.one-half {
    width:50%;
}

select {
  width: 100%;
  height: 40px;
}

button {
  text-transform: uppercase;
  cursor: pointer !important;
  font-weight:500;
}

.gumb {
  text-transform: uppercase;
  font-size: 500 !important;
}

button:hover {
  background:#333  !important;
}

.jedanred {
  display: flex;
  align-items: center; /* Vertikalno centriranje teksta i gumba */
  justify-content: space-between; /* Razmak između naslova i gumba */
}



.formared .form-row {
  display: flex;
  flex-wrap: wrap; /* Omogućuje prelamanje u novi red */
  gap: 10px; /* Razmak između elemenata (po želji) */
}

.formared .form-row .one-half {
  flex: 1 1 48%; /* 48% da ostane malo prostora za razmak (gap) */
  box-sizing: border-box;
}

.site-header {
    height: var(--height);
  border-bottom: 1px solid #EEEEEE;
  position: relative;
  padding: 0rem;
    padding-left: 0rem;
  background-color: #fff;
  z-index: 9;
  padding-left: var(--width);
  transition: all .2s ease;

}

.btn {
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align:center;
}

.btn-odjava {
  background: #333;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}

.btn.uredi {
background: #0073aa;
  color: #fff !important;
}

.btn.zamjeni {
background: #0073aa;
  color: #fff !important;
}

.btn.premjesti {
background: #0073aa;
  color: #fff !important;
}

.btn.potvrda {
  background: #0073aa;
  color: #fff !important;
}

.btn-odjava:hover, .btn:hover {
    background: #333;
    color:#fff !important;
}

.menu li {
  text-transform: uppercase !important;
  font-weight: 500;
}

.menu li.current-menu-item a {
  color:#0073aa !important;
  text-decoration:underline;
}



.razmak a {
  margin-left: 5px;
  margin-right: 5px;
}


thead {
  background: #f0f1f5;
  text-transform:uppercase;
}

.logo img {
  max-height: 70px;
  width: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .container {
  display: flex;
    font-size:1.6em;
}

.site-content .container {
  margin-bottom: 1.875rem;
  background-color: #fff;
  transition: all .5s ease-in-out;
  position: relative;
  border: 0px solid transparent;
  border-radius: .5rem;
  box-shadow: 0 12px 23px #5c37990a;
  height: calc(100% - 30px);
  padding: 2em;
}


.izbornik ul li {
  display: inline-block;
}

.izbornik {
    display:flex;
}

a, a:visited {
    color:#000;
}

.site-content{
	font-size:1.4em!important;
}
.kapaciteti-polje div{
	display: flex;
  flex-direction: column;
	margin-bottom:0!important;
}
.ukloni-red{
	margin:8px;
}
#redoviTable td{
	vertical-align:bottom;
}
/*NAV*/
.site-header a{
	text-decoration:none;
}
.izbornik {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3em;
}
.site-header .container {
  justify-content: space-between;
}
#menu-menu-1{
	display: flex;
  gap: 1em;
}
/*LOGIN PAGE*/
.page-template-login .site-header,
.page-template-login .site-footer{
	display:none;
}
.page-template-login {
	background: #f7f7f7;
}
.login-page .container{
	background:white;
}
.login-page.container button{
  padding: .688rem 1.5rem;
  border-radius: .5rem;
  font-weight: 500;
  font-size: 1rem;
	background-color: #005ba0;
  color: #fff;
	cursor:pointer;
}
.login-page.container button:hover{
	background:#333;
}
.container input {
  border-radius: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  height: 45px;
  border-radius: .5rem;
	width:100%;
	padding-left:10px;
  box-sizing: border-box; /* da padding ne “probija” širinu */
}
#skladiste, #red, #odjeljak{
	border: 1px solid #f0f1f5;
  border-radius: .5rem;
  font-size: 14px;
  background: white;
  flex: 1;
  min-width: 180px;
  transition: border-color 0.2s;
  height: 40px;
	width:100%;
	color: #5b5e81;
}
#obrisi_izdavanje{
	background: red;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  margin-top: 10px;
	font-weight: 500 !important;
}
.forma > p:nth-child(18) > button:nth-child(1){
	background: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 8px !important;
  text-decoration: none;
  font-weight: 500 !important;
	border:none;
}
.page-template-login .container input{
	height: 50px;
}
form label, form label strong{
	color: #333;
  font-weight: 500;
}
/*ARHIVA*/
.page-template-page-skladista .site-content > div:nth-child(1) > table:nth-child(2) > thead:nth-child(1) > tr:nth-child(1),
table tr{
  background: transparent !important;
}
.page-template-page-skladista table th,
table th,
table td{
  font-weight: 500;
  border:0!important;
	border-bottom: 1px solid #ccc!important;
  text-align:start;
}

 table th{
	color: #5b5e81;
}
.page-template-page-skladista table td a,
.site-content > div:nth-child(1) > div:nth-child(1) > a:nth-child(2){
	font-weight:500!important;
border-radius:8px!important;
}
.page-template-page-skladista table td a:hover,
.site-content > div:nth-child(1) > div:nth-child(1) > a:nth-child(2):hover{
	background:#333!important;
}
.logged-in .container {
  max-width: 90% !important;
  margin: 0 auto;
}
#skladisteForm{
	border: 0!important;
  padding: 0!important;
}
.kapaciteti-polje{
	display: flex!important;
  gap: 1em;
}

.tablicawrap,
table{
    width: 100%;
    overflow-x: auto;
}

.tablicawrap::-webkit-scrollbar {
    height: 10px;
}

.tablicawrap::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tablicawrap::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.tablicawrap::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.tabela.guma {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.tabela.guma th {
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

.tabela.guma td {
    padding: 15px 10px;
    text-align: left;
    vertical-align: middle;
}

.forma.trazilica {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: #f0f1f5;
    border-radius: 8px;
}

.forma.trazilica input,
.forma.trazilica select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    flex: 1;
    min-width: 180px;
    transition: border-color 0.2s;
	  max-height:40px;
	  color: #5b5e81;
	  padding-left: 10px;
}

.forma.trazilica input:focus,
.forma.trazilica select:focus {
    outline: none;
    border-color: #0073aa;
}

.forma.trazilica button {
    padding: 10px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.forma.trazilica button:hover {
    background: #005a87;
}

@media (max-width: 768px) {
    
    h1{
    font-size:20px;
}

input, select {
    min-height:35px;
}
    .tablicawrap::-webkit-scrollbar {
        height: 6px;
    }
    
    .tabela.guma th,
    .tabela.guma td {
        padding: 8px 6px;
    }
    
    .forma.trazilica {
        flex-direction: column;
        padding: 15px;
    }
    
    .forma.trazilica input,
    .forma.trazilica select,
    .forma.trazilica button {
        width: 100%;
        min-width: 100%;
    }
	.site-content .container{
		padding:2em;
	}
	
	.logo img {
  max-height: 50px;
}
.site-header .container {
  flex-direction: column;
  font-size: 1.4em;
}

 #menu-menu-1 {
    flex-wrap: wrap;
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .izbornik {
  flex-direction: column;
  gap: 1em;
  padding-bottom: 10px;
}

.btn-odjava {
  width: 90%;
  text-align: center;
}

}