/*Navbar*/
.navbar {
    background: #2868c7;
}
.nav-link {
    color: #fff;
    
	text-transform: uppercase;  
}
.navbar-brand {
    color: #fff; 
    font-size: 16px; 
    text-align: center;
    margin: 0;
    margin-top: 0px;
    min-width: 100px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 1.3);
}
.dropdown-menu {
	background: #2868c7;
	color:#fff;
	margin-top: 0px;
	
}
.dropdown-item {
	color:#fff;
	text-transform: uppercase;
	transition: .5s;
	
}
.nav-link {
    margin-right: 1em !important;	
}
.nav-link:hover {
    color: #000;
	transition: .5s;
}
.navbar-collapse {
    justify-content: flex-end;
	
}
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top:-10px;
}
/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
} 
.navbar-toggler {
    color:#fff;
    }

/* Logovanje */
* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
    background: #333333;
    margin: 0; 
}
.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login p {
    text-align: left;
    color: #5b6574;
    font-size: 16px;
    padding: 0px 0 5px 0;
    border-bottom: 1px solid #dee0e4;
}
.login p :hover {
	color: #2868c7;
  	transition: background-color 0.2s;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #333333;
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"], .login form input[type="email"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #333333;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #4d4d4d;
  	transition: background-color 0.2s;
}
.loggedin {
  	background-color: #ffffff;
}

/* Pozadinska slika */
.header {  
    background-size: cover;
    background-position: center;
    position: relative;

}
/* Filter pozadinske slike */
.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 30;
    background-image: url('../images/header-background.png');
}

/* Sadrzaj stranice */
.description {
	width:100%;
	height: 100%;
	top: 30%;
    padding: 0 15px;
    position: absolute;
    text-align: center;
}
.description h1 {
    color: #6ab446;	
}
.description p {
    color: #000;
    font-size: 1.3rem;
    line-height: 1.5;
}
.marker {
    background-color: #fff;
    margin: auto;
    width: 75%;
    height: auto;
    border-width: 1px;border-color:red;border-style: solid; 
}

/*Registracija*/
.register {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}
.register p {
    text-align: left;
    color: #5b6574;
    font-size: 16px;
    padding: 0px 0 5px 0;
    border-bottom: 1px solid #dee0e4;
}
.register p :hover {
	color: #2868c7;
  	transition: background-color 0.2s;
}
.register h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.register form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.register form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
   height: 50px;
    background-color: #333333;
    color: #ffffff;
}
.register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.register form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #333333;
   border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.register form input[type="submit"]:hover {
  background-color: #4d4d4d;
    transition: background-color 0.2s;
}

/*Stil za stranice unos-podataka-...php i stranicu unos-izvoda.php*/

.tabla {
    margin: 100px auto;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 97%;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}
.tabla2 {
    margin: 100px auto;
    margin-top: 10px;
    margin-bottom: 25px;
    width: 65%;
    
}
.tabla3 {
    margin: auto;
    margin-top: 10px;
    margin-bottom: 25px;
    width: 390px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}
.tabla h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.tabla h5 {
    text-align: center;
    color: #5b6574;
    font-size: 16px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.form-group label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    background-color: #3274d6;
    color: #ffffff;
    width: 100%;
    border-radius: 4px;
}
.tabla input[type="submit"] {
    width: 280px;
    height: 50px;
    padding: 15px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 4px;
}
.tabla input[type="text"]{
    text-align: center;
}
.tabla input[type="email"] {
    text-align: center;
}
.tabla input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}
.tabla textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #dee0e4;
    margin-bottom: 0px;
    padding: 0 15px;
    margin-right: 0px;
  }



/*O B R I S A T I  K A S N I J E*/
.unos {
    width: 85%;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    margin-top: 90px;
    margin-bottom: 25px;
}

.unos h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.unos h5 {
    text-align: center;
    color: #5b6574;
    font-size: 16px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.unos form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
  width: 100%;
  margin: auto;
}
.unos form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 330px;
    height: 40px;
    background-color: #3274d6;
    color: #ffffff;
  margin-left: 50px;	
}
.unos form input[type="password"], .unos form input[type="text"], select, .unos form input[type="email"] {
    width: 330px;
    height: 40px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: center;
    margin-right: 0px;
}
.unos form textarea {
  width: 330px;
  height: 200px;
  border: 1px solid #dee0e4;
  margin-bottom: 0px;
  padding: 0 15px;
  margin-right: 0px;
}
.unos form input[type="submit"] {
    width: 50%;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.unos form input[type="submit"]:hover {
    background-color: #2868c7;
    transition: background-color 0.2s;
}
.loggedin {
    background-color: #ffffff;
}

/* K R A J   B R I S A NJ A */



/*Stil za stranicu stanje-sz.php*/
.upit {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
    margin-top: 90px;
    margin-bottom: 25px;
}
.upit h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.upit form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    width: 100%;
    
}
.upit form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 330px;
    height: 40px;
    background-color: #3274d6;
    color: #ffffff;	
    border-radius: 4px;
}
.upit form input[type="password"], .upit form input[type="text"], select, .upit form input[type="email"] {
    width: 330px;
    height: 40px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: center;
    border-radius: 4px;
}
.upit form input[type="submit"] {
    width: 50%;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #3274d6;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
    border-radius: 4px;
}
.upit form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}


/*Stil za tabelu*/
.naslov-h1 {
    display: block;
    font-size: 24px;
    margin-top: 64px;
    margin-bottom: 6px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
    color: #fff;
}
.naslov-h5 {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}
.naslov-h3 {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    margin-left: -15px;
    font-weight: 600;
    color: #fff;
}
#podnaslov-h1 {
    display: block;
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
    color: #fff;
}
thead {
	border-top: 0px solid #000;
	border-bottom: 2px solid #000;
}
table {
	padding: 15px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	border: 2px solid #000;
	margin-bottom: 30px;
	background-image: url('header-background.png');
}
td {
    padding-top: 2px;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    border-bottom: solid 1px rgba(255,255,255,0.1);
    width: 5%;
    text-align: center;
}
th {
    font-size: 14px;
    text-align: center;
}

  /* Define the hover highlight color for the table row */
    .hoverTable tr:hover {
    background-color: #0099cc;
}


.right{
    float:right;
    margin-top: -35px;
    margin-right: 2.5%;
}
.right2{
    float:right;
    width: 150px;
    height: 50px;
    margin-top: 17px;
    margin-right: 14px;
    
    font-weight: bold;
    
    transition: background-color 0.2s;
    border-radius: 4px;
    border: 2px #3274d6 solid;
    cursor: pointer;
    
    text-decoration: none;
    
}
.right2 a {
    text-decoration: none;
    color: #3274d6;
    padding: 14px 26px;
    margin-left: -14px; 
}
.right2:hover {
	background-color: #fff;
  	transition: background-color 0.2s; 
}

.left{
    margin-top: -30px;
    margin-bottom: 20px;
    margin-left: 35px;
    float:left;
}

.center{
    float:center;
}

#submit {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 10px;
	height: 28px;
	line-height: 1px;
    color: black;
    position: auto;
    font-weight: 900;
}

/*Stil za stranicu profil.php*/
.profil a {
    color: #000;
}
.profil {
    margin: 100px auto;
    margin-bottom: 25px;
    color: #000;
    margin-top: 90px;
    width: 95%;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    height: 600px;
}



@media (max-width: 575.98px) {
    .description {
        left: 0;
        padding: 0 15px;
        position: absolute;
        top: 30%;
        transform: none;
        text-align: center;
    }
 
    .description h1 {
        font-size: 2em;
    }
 
    .description p {
        font-size: 1.2rem;
    }
 
    .features {
        margin: 0;
    }
	.card-text{
    text-align: center;
	}
}