@charset "utf-8";
/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Cherry+Swash);

body {
    max-width: 820px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: auto;
    margin-top: 0;
}

a {
    text-decoration: none;
    white-space:nowrap;
}

a:hover {
    text-decoration: underline;
}

aside {
    display: none;
}

header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    background-color: white;
    padding: 0 .5rem .5rem .5rem;
    text-align: right;
    z-index: 10;
 }
    

input,
select {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -box-sizing: border-box; 
}

form  {
        display: flex;
        flex-direction: column;
       /* padding-top: .5rem;*/  
       padding-top: 0;     
    }

form * {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-size: larger;
   margin: 1rem 0;
   padding: .3rem;
}

h2 {
    display: none;
}

.searchStringInput {
    width: 100%;
}


select {
    font-weight: bold;
    width: 100%;
    margin-top: 0;
}

select:focus, #cars:active {
    border: 1px grey solid;
}


.searchStringInput::placeholder {
    color: silver;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: silver;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    color: silver;
  }
  :-ms-input-placeholder { /* IE 10+ */
    color: silver;
  }
  :-moz-placeholder { /* Firefox 18- */
    color: silver;
  }



nav {
    font-size: .9rem;
	border-top: 1px grey solid;
    border-bottom: 1px grey solid;
    padding: .5rem;
    text-align: left;
}

nav a {
        color: blue;
        margin: 1px;
    }

nav a[title=aktuelna_glava] {
        color: grey;
        font-weight: bold;
        border: 1px grey solid;
        padding-left: 2px;
        padding-right: 2px;
    
}

article {
    font-family: "Cherry Swash";
    font-size: medium;
    text-align: justify;
    margin: 0 1.2rem;
}

article ol {
    padding-left: 1rem;
    margin-left: 0;
    margin-top: 0;
}

article ol li {
    padding:5px 0;
}

article ol:first-child{
    margin-top: .5rem;
}

.referentni_stih {
    font-weight: bold;
    background-color: rgb(255, 251, 232);
    border: silver 1px dotted;
    padding-left: 5px;
    padding-right: 5px;
 
}

article a
{
		font-family:Arial, Helvetica, sans-serif;
		font-size: x-small;
		   -moz-user-select: -moz-none;
   			-khtml-user-select: none;
   			-webkit-user-select: none;
   			user-select: none;

		padding-left: 5px;
		color:#aaa;
		text-decoration: underline;
}


footer {
	font-size: x-small;
	text-align:center;
	margin-top:15px;
	text-transform: uppercase;
}

.vbCitat {

    color:rgb(48, 7, 7);
  /*  border: 1px silver dotted;*/
    padding: 5px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: left;
    box-shadow:5px 5px 10px #888888;
    margin: 5px;
    padding-top: 3px;
    /*background-image: url('../images/vb.jpg');*/
}

.vbCitat h4 {
    border-bottom: 1px silver solid;
    color: black;
    font-style: italic;
    padding: 5px 0;
    margin: 0;
    padding-bottom: 10px;
    padding-left: 10px;
}

.vbCitat h4 img {
    height: 20px;
    float: right;
    cursor: pointer;
    opacity: .7;
    margin-left:  auto;
}

.vbCitat p {
    margin: 0; 
    padding:10px; 
    line-height: 1.3;   
}

.vbCitat h5 {
    padding: 5px;
    padding-bottom: 0;
    margin: 0;
    margin-top: 5px;
    margin-right: 5;
    border-top: 1px silver dotted;
    color: grey;
    text-align: right;
    font-style: italic;
}

.vbCitatBox {
  /*  background-color: rgb(240, 255, 250);
    border: 1px rgb(88, 40, 40) dashed;*/
}


/********************   trazi.php   **********************/

.headerPretraga {
	font-size: medium;
	background-color: #e6e6e6;
	align-items: center;
	padding: 10px 10px;
    border: 1px silver solid;
    position: sticky;
    top: 0;
    display: flex;
    justify-content:space-between;

}

.headerPretraga div {
  /* padding: .25rem;*/
}

.headerPretraga div:nth-child(2) {
    width: auto;
    margin-left: 2rem;
  }
  


.headerPretraga div ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.headerPretraga div ul li {
    float: left;
    margin: 2px;   
}

.labela {
	margin-left: 15px;
}

.vrednost {
	margin-left: 5px;
	font-weight: bold;
}

.naglaseno {
	font-weight: bold;
}


.printButton {
	background-color: transparent;
	background-image: url('../images/printer-print-svgrepo-com.svg');
	background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
	height: 30px;
	width: 40px;
	padding: 4px;
}

.printButton:hover,  button:hover {
	filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
	-webkit-filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
}


.porukaNemaRezultata {

    margin-left: 30px;
}

.levocell {
    display: flex;
    flex-direction: row;  
 /*  margin-top: auto;
  /* border: 1px solid red;  */
}

.levocell * {
   margin-bottom: 1px;
}

.desnocell {
    display: flex;
}

.desnocell a {
    margin-top: auto;
}

#listaPronadjenihStihova {
	font-family: "Cherry Swash";
	font-size: medium;
	padding: 10px 15px;
    padding-left: 0;
}

#listaPronadjenihStihova tr td {
	padding: 4px;
	margin: 6px;
    
}

#listaPronadjenihStihova tr td:nth-child(1) {
	vertical-align: top;
	text-align: right;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: x-small;
    padding-top: 7px;
}

#listaPronadjenihStihova tr td a:active, #listaPronadjenihStihova tr td a:link, #listaPronadjenihStihova tr td a:visited  {  
	color: blue;
    font-size: small;
}

.egwLink, .egwLink:hover {
   /* background-color: rgb(119, 7, 7);*/
    text-decoration: none;
    border: 1px rgb(114, 114, 114) solid;
    padding-left: 2px;
    padding-right: 2px;
   /* color: rgb(255, 255, 255);*/
   color: rgb(119, 7, 7);
    margin: auto 5px;
    font-weight: bold;
}

#nav_down {
    margin-left: 1rem;
    margin-right: 1rem;
}

.pismoLinkBox {
    font-size: small;
    padding: 0;
    margin: 0;
    padding-top: .5rem;
}

.pismoAnchor, .pismoAnchor:visited, .pismoAnchor:active {
    color: blue;
    font-size: small;      
}

.disabledAnchorKlasa, .disabledAnchorKlasa:visited, .disabledAnchorKlasa:active  {
    color: grey;
    pointer-events: none;
}

.cirilica {
    font-size: large;
}


@media only screen and (min-width: 600px) {

    header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
   
    form {
        flex-direction: row-reverse;
        font-size: .9rem;
    }

    form * {
        padding: .2rem;
    }
    
    .searchStringInput {
        margin-left: 1rem;
    }

    select {
        margin-top: 1rem;
    }

    main {
        margin: auto .5rem;
    }

    article {
        text-align: left;
    }

   .vbCitat {
        margin-left: 40px;
        margin-right: 40px;
    }
}

