@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,700|Josefin+Sans:400,700|PT+Sans|Poiret+One|Raleway:400,700,900|Slabo+27px|Titillium+Web:400,700&subset=latin-ext');

html{
	margin:0;
	padding: 0;
	height: 100%; 
} 

body{
	margin:0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
/*	font-family: 'Lucida Sans Unicode', sans-serif; */
/*	background: #d3f8b4; */
    height: 100%; 
	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

h1{
	text-align: center;
	font-size: 45px;
}

.container{
	width: 85%;
	margin: auto;
	min-height: 77.5vh;
}

.float-left{
	float: left;
}

.float-right{
	float: right;
}

.middle{
	clear: both;
	width: calc(70% - 10px);
	margin: 0px 15% !important;
}

.fix-position-left{
	position: fixed;
	top: 250px;
	left: 100px;
}

/*BUTTONS*/
.setings-button{
	margin-left: 20px;
}


.submit{
	transition: 0.5s color;
	transition: 0.5s box-shadow;
	margin: 5px;
/*	float: right;
*/	min-width:50px;
	padding:5px 8px;
	border-radius:5px;
	border: 1px solid #3c3c3c;
	background-color: #2b2b2b;
	color: #bebebe;
/*	font-family: 'Raleway', sans-serif; */
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	box-shadow: 0px 1px 2px 0px #000000;
}

.submit:hover{
	transition: 0.5s color;
	transition: 0.5s box-shadow;
	box-shadow: 0px 3px 3px 0px  #000000;
	color:#fff;
}



.submit:focus {
	transform: translateY(2px);
	transition: 0.2s box-shadow;
	box-shadow: 0px 0px 1px 0px #000000;
	border: 1px solid #3c3c3c;
	outline:0;
}

.yellow-button{
	padding:5px 8px;
	border-radius:5px;
	border: 1px solid #3c3c3c;
	background-color: #FDD140;
	color:#000000;
/*	font-family: 'Raleway', sans-serif;  */
	font-family: 'Roboto', sans-serif;
}

.yellow-button:hover{
	background-color: #ffdd6b;
	color:#424242;
}


.sekcija{
	transition: 0.5s color;
	transition: 0.5s box-shadow;
	margin: 5px;
	min-width:50px;
	padding:5px 8px;
	border-radius:5px;
	border: 1px solid #3c3c3c;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	box-shadow: 0px 1px 2px 0px #000000;
}

.sekcija:hover{
	transition: 0.5s color;
	transition: 0.5s box-shadow;
	box-shadow: 0px 3px 3px 0px  #000000;
}

.sekcija:focus {
	transform: translateY(2px);
	transition: 0.2s box-shadow;
	box-shadow: 0px 0px 1px 0px #000000;
	border: 1px solid #3c3c3c;
	outline:0;
}
/*END BUTTONS*/
 

/*LOGIN*/
.center-text{
	text-align: center;
}


.login-box{
	width: 360px;
	padding: 10% 0 0 0;
}

.login-form{
	width:370px;
	margin: auto;
/*	margin:70px 70px 210px 70px;  */
}

.center-v-h{
 margin-top: 80px;   
}

#login input{ 
	padding: 5px 10px; line-height: 28px; 
	font-size: 1em;
}

.move-left-50{
	position: relative;
	left: 50%;
}

fieldset {
	border: 1px solid #4b4b4b;
	border-bottom-left-radius: 15px;
	border-top-right-radius: 15px;
/*	font-family: 'Titillium Web', sans-serif;  */
	font-family: 'Roboto', sans-serif;
	padding:20px;
	font-size: 18px;
}

legend {
/*	font-family: 'Raleway', sans-serif; */
	font-family: 'Roboto', sans-serif;
	font-size: 1.5em;
	text-align: center;
}
/*END LOGIN*/


/*HEADER*/
.header{
	margin: 0 auto;
	height:100px;
	width: 100%;
	background-color: #fff;
/*	background-color: #01445B;
	background: linear-gradient(#262626, #3c3c3c, #262626);
*/	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.header-naslov{
	display: inline-block;
	width: calc(100% - 300px);
	margin: auto;
}

.header-naslov h1{
	text-align: center;
	margin: 0px;
	padding: 30px 0px 0px -100px;
	color: #D3F8B4;
}

.logo {
	float: left;
	margin-top: 10px;
	margin-left: 50px;
}

.logo img {
	width: 100px;
	height: 80px;
}

.login-header{
	padding:10px 15px 0 0;
	width:150px;
	float:right;
/*	font-family: 'Raleway', sans-serif; */
	font-size: 18px;
	text-align: right;
}

.header-buttons{
	color:  black;
	display: inline;
/*	height: 45px;  */
}


.menu {
	width: 690px;
	margin: 20px auto;
	clear: right;
/*	float: left; */
}



.menulist {
	margin: 0;
	text-align: center;
}

.menulist li {
	display: inline;
	list-style-type: none;
	vertical-align: middle;
	padding: 0 14px;
}



.menulist li a:link, .menulist li a:visited {
/*	color: #9bd16f; 
*/	color: #2B2B2B;
	font-weight: normal;
	font-size: 18px;
/*	font-family: 'Raleway', sans-serif; */
	text-decoration: none;
	transition: font-weight 4s ease-in-out;
	transition: 0.5s color;
	letter-spacing: 1px;
}



.menulist li a:hover, .menulist li a:active {
	color: #415a2d; 
	font-size: 18px;
/*	font-family: 'Raleway', sans-serif; */
	text-decoration: none;
	font-weight: bold;
	transition: font-weight 4s ease-in-out;
	transition: 0.5s color;
	letter-spacing: 1px;
}
/*END HEADER*/


/*FOOTER*/
.footer{
	clear: both;
	margin: 80px auto 0 auto;
	height: 40px;
	width: 100%;
/*	background: linear-gradient(#262626, #3c3c3c, #262626);
*/	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-family:'Alegreya Sans', sans-serif; 
	font-size: 16px;
	color: #D3F8B4;
}


.footer a:link, a:visited {
	color: #005496;
	font-size: 16px;
	text-decoration: none;
	transition: 0.5s color;
	font-family:'Alegreya Sans', sans-serif;
}

.footer a:hover, a:active {
	color: #2B2B2B;
	font-size: 16px;
	text-decoration: none;
	transition: 0.5s color;
	font-family:'Alegreya Sans', sans-serif;
}

#p1 {
	text-align: center;
/*	float: left;
*/	color: #3A3A3A;
	clear: both;
	margin: 10px 10px;
}
/*END FOOTER*/



/*UNOS*/
.dobavljac-box{
	display: block;
	width: 370px;
	margin: 50px auto;
}


.input-right{
	float:right;
	height:14px; 
	font-size:12px;
	width: 120px;
/*	size:38em;  */
}

.select-input{
	float:right;
	height:18px; 
	font-size:12px;
	width: 150px;
}

.input-kupac{
	width: 180px;
}


.fakture-izvodi{
	width:80%;
	margin: auto;
}


.fakture-box, .izvodi-box{
	width: 360px;
	margin: 100px 50px;
}
/*END UNOS*/



/*KARTICA DOBAVLJACA*/
th, td{
	padding: 5px;
	margin: 0px;
	border: 1px solid black;
}



table{
	border-collapse: collapse;
}



.kartica-klijenta{
	width: 750px;
	margin: auto;
}


.tabela-kartica{
	width: 100%;
}


.red{
	width: 9%;
	text-align: center;
}


.naziv{
	width: 18%;
}


/*PAGINATION*/
.pagination-kartica{
	text-align: center;
	width: 170px;
	margin: 20px auto;
/*	padding: 5px;
*/	border: 1px solid;
}


.pagination-kartica a{
	font-size: 26px;
	color: #0A445B;
	text-decoration: none;
}

.pagination-kartica a:visited{
	color: #0A445B;
	text-decoration: none;
}

/*END Pagination*/

/*END KARTICA DOBAVLJACA*/




/*SETTINGS (UNOS DOBAVLJACA)*/
.container-div{
/*	width: 860px;
*/	width: 880px;
	margin: 50px auto;
}

.editKupaca{
	display: block;
	float: left;
	margin: 20px 4.5%;
	width: 40%;
	min-height:  320px;
}

/*END UNOS DOBAVLJACA*/


.loginMsg{
    color: red;   
}


@page {
  size: A4;
  margin: 5mm 0 5mm 0;
}


@media print{
  .non-printable { display: none; }
	.header{display: none;}

	html, body {
	    width: 210mm;
	    height: 297mm;
	}

	table { page-break-after:auto }
  tr    { page-break-inside:avoid; page-break-after:auto }
  td    { page-break-inside:avoid; page-break-after:auto }
  
}





@media only screen and (max-device-width: 1680px){

	/*LOGIN*/
	.login-box{
		padding: 3% 0 0 0;
	}

	.footer{
		background-color: #ffffff;
	}

	/*END LOGIN*/


	/*UNOS*/
	.fakture-izvodi{
		width:100%;
	}

	.dobavljac-box{
		margin: 20px auto;
	}

	.fakture-box, .izvodi-box{
		width: 360px;
		margin: 30px 20px 50px 20px;
	}
	/*END UNOS*/


	/*KARTICA DOBAVLJACA*/
	.kartica-klijenta{
		width: calc(100% - 430px);
		margin: 10px 0px 10px 400px;
	}

	.fix-position-left{
		position: fixed;
		top: 140px;
		left: 80px;
	}
	/*END KARTICA DOBAVLJACA*/
}



/*LAPTOP-TABLET*/
@media only screen and (max-device-width: 1160px){
	/*KARTICA DOBAVLJACA*/
	.fix-position-left{
		display: block;
		position: relative;
		left: 0px;
		right: 0px;
		top: 0px;
		margin: 25px auto;
	}

	.kartica-klijenta{
		width: 80%;
		margin: auto;
	}

}



@media only screen and (max-device-width: 768px) {
	.container{
		width: 90%;
	}

/*HEADER*/
	.header{
		height: 200px;
		border-bottom: solid 1px;
		margin-bottom: 80px;
	}

	.logo img {
	    width: 200px;
	    height: 160px;
	}

	.login-header{
		width: 180px;
	}

	.header-buttons{
		color:  black;
		display: block;
		height: 75px;
	}

	.menu{
		width: 470px;
		position: relative;
		top: -70px;
	}

	.menu .menulist li a{
		font-size: 36px;
	}

	.menu .menulist li a:{
		font-size: 36px;
	}

	.menu .menulist li a:focus{
		font-size: 36px;
	}

	.menulist li {
		display: block;
		padding: 5px 0px;
	}
/*END header*/


	.kartica-klijenta{
		width: 100%;
	}

	.dobavljac-box, .fakture-box, .izvodi-box{
		width: 86%;
		clear: both;
		margin: 60px 7%;
	}


	.editKupaca{
		clear: both;
		display: block;
		margin: 20px 15%;
		width: 70%;
	}

	.submit{
		margin-top: 20px;
		font-size: 30px;
	}

/*Kartica klijenta*/
	.kartica-klijenta{
		font-size: 30px;
	}
/**/	

/*LOGIN*/
	.move-left-50{
		left: 0%;
		width: 86%;
		margin: 25% 7%;
	}

	.login-form{
		width: 100%;
		background-color: #fff;
	}
/*END Login*/

/*FOOTER*/
	.footer{
		margin-top: 260px;
		font-size: 25px;
	}
/**/

	fieldset{
		font-size: 36px;
	}

	.input-row{
		padding: 3px;
		margin: 10px 0px;
		height: 50px;
		width: 100%;
		display: block;
		font-size: 38px;
	}

	input{
		margin: 2px;		
	}


	input[type="text"], input[type="email"], input[type="checkbox"], input[type="password"]{
	    height: 38px;
	    min-width: 240px;
	    border: solid 1px;
	    border-radius: 4px;
	    background-color: #F5F5F5;
	}

	input[type="date"]{
		font-size: 30px;
		min-width: 240px;
		height: 38px;
		border: solid 1px;
	    border-radius: 4px;
	}

	#block{
		min-width: 80px;
	}

	.input-right{
		font-size: 38px;
		height: 38px;
	    min-width: 240px;
	}
}