:root {
	--arrow-bg: rgba(255, 255, 255, 0.3);
	--arrow-icon: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg);
	--option-bg: red;
	--select-bg: rgba(255, 255, 255, 0.2);
}

/*
 * {
	box-sizing: border-box;
}
*/

.body {
	background: linear-gradient(35deg, red, purple) fixed;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/spinner.gif') 50% 50% no-repeat rgb(249,249,249);
    opacity: 0.5;
    display: none;
}

.loader.show {
    display: block;
}

.main_container {
	width: 100%;
  	text-align: center;
	font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 14px;
	color: #fff;
	/* background-color: aqua; */
}

.top_menu {
	margin: 20px;
}

.top_menu a {
	text-transform: uppercase;
	padding-left: 20px;
	font-weight: bold;
	font-size: 14px;
}

.top_menu a:first-child {
	padding-left: 0px;
}

.container {
	display: flex;
	flex-wrap: wrap;
  	justify-content: center;
}

.select {
	/* Reset */
	appearance: none;
	border: 0;
	outline: 0;
	font: inherit;
	/* Personalize */
	/* width: 20rem; */
	padding: 1rem 4rem 1rem 1rem;
	background: var(--arrow-icon) no-repeat right 0.8em center / 1.4em,
		linear-gradient(to left, var(--arrow-bg) 3em, var(--select-bg) 3em);
	color: white;
	border-radius: 0.25em;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2);
	cursor: pointer;
	/* Remove IE arrow */
	&::-ms-expand {
		display: none;
	}
	/* Remove focus outline */
	&:focus {
		outline: none;
	}
}

.select option {
	color: darkslategrey;
	background-color: whitesmoke;
}

/* Multiselect - start */
.ms-parent {
	width: 220px!important;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 10px;
}

.ms-drop {
	text-align: left;
	margin-top: 1px;
}

.ms-drop ul {
	overflow-x: clip;
}

.ms-drop ul>li {
	padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
	font-family: inherit;
}

.ms-drop input[type="checkbox"] {
	margin-top: 3px;
}

.ms-choice {
	height: 49px;
	appearance: none;
	border: 0;
	outline: 0;
	font: inherit;
	/* Personalize */
	/* width: 20rem; */
	padding: 1rem 4rem 1rem 1rem;
	background: var(--arrow-icon) no-repeat right 0.8em center / 1.4em,
		linear-gradient(to left, var(--arrow-bg) 3em, var(--select-bg) 3em);
	color: white;
	border-radius: 0.25em;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2);
	cursor: pointer;
	/* Remove IE arrow */
	&::-ms-expand {
		display: none;
	}
	/* Remove focus outline */
	&:focus {
		outline: none;
	}
}

.ms-choice span {
	top: 16;
	right: 44px;
}

.ms-choice>span.placeholder {
	color: white;
	opacity: 1; /* Firefox */
}

.ms-choice>span::-ms-input-placeholder { /* Edge 12 -18 */
	color: white
}

.icon-close, .icon-caret {
	display: none;
}

/* Multiselect - end */

.w220 {
	width: 220px;
}

.w270 {
	width: 270px;
}

input {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

label {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.serach_input>input[type=text] {
	text-transform:uppercase;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 10px;
	appearance: none;
	border: 0;
	outline: 0;
	font: inherit;
	/* Personalize */
	/* width: 20rem; */
	padding: 1rem 4rem 1rem 1rem;
	/*background: linear-gradient(to left, var(--arrow-bg) 3em, var(--select-bg) 3em);*/
	/*background: linear-gradient(to left, red, purple) fixed;*/
	background-color: rgba(186, 61, 134, 0.5);
	color: white;
	border-radius: 0.25em;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.2);
	/* Remove focus outline */
	&:focus {
		outline: none;
	}
}

.serach_input>input[type=text]::placeholder {
	color: rgb(224, 224, 224);
	opacity: 1; /* Firefox */
}

.serach_input>input[type=text]::-ms-input-placeholder { /* Edge 12 -18 */
	color: rgb(224, 224, 224);
}

select {
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 10px;
	/*width: 200px;*/
}

.button {
	align-items: center;
	background-clip: padding-box;
	background-color: rgba(186, 61, 134, 0.5);
	border: 1px solid transparent;
	border-radius: .25rem;
	box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.25;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 10px;
	min-height: 3rem;
	padding: calc(.875rem - 1px) calc(1.5rem - 1px);
	position: relative;
	text-decoration: none;
	transition: all 250ms;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	vertical-align: baseline;
	width: auto;
}

.button:hover,
.button:focus {
	background-color:rgba(209, 73, 153, 0.7);
	box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button:hover {
	transform: translateY(-1px);
}

.button:active {
	background-color: rgba(209, 73, 153, 0.5);
	box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
	transform: translateY(0);
}

.button:disabled,
.button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

#download_opstina_frame, #download_stats_frame, #download_broj_biraca_frame {
	position: absolute;
	width: 0;
	height: 0;
	border: 0;
	visibility: 0;
	display: none !important;
	/*
	width: 600px;
	height: 400px;
	top:  300px;
	*/
}

.podaci {
    color: black;
	background-color: white;
	min-width: 250px;
	max-width: 800px;
	width: 800px;
}

.podaci_full_width {
    color: black;
	background-color: white;
	min-width: 250px;
}

#broj_biraca {
    margin-top: 15px;
}

#opis_funkcionalnosti {
    margin-top: 15px;
}

.styled-table {
    border-collapse: collapse;
	/*
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
	min-width: 400px;
	max-width: 800px;
	*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	width: 100%;
}

.styled-table thead tr {
    color: rgb(53, 51, 51);
    text-align: left;
	background-color: #ffffff;
}

.styled-table th {
	border-bottom: 2px solid darkgrey;
	font-weight: bold;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

/*
.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
*/

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid darkgray;
}


.styled-table tbody tr.active-row {
    background-color: #ffffff;
}

.styled-table tbody tr.non-active-row {
    background-color: #f3f3f3;
}

/*
.styled-table tbody td {
	width: 50%;
}
*/

.percentage {
	background-color: rgba(255, 104, 104, 0.5);
	padding-left: 20px;
	padding-right: 20px;
	margin-left: 20px;
	margin-right: 20px;
	text-align: left;
}

#stop_scrape {
	display: none;
}

.gotop_container{
	margin-top: 10px;
	margin-bottom: 10px;
}

.go_top {
	color: white;
	text-decoration: none;
	font-weight: normal;
	font-size: 18px;
}

.go_top:hover {
	color: rgb(228, 221, 221);
	text-decoration: underline; 
}

.go_top:active {
	color: white;
	text-decoration: none; 
}

.go_top:visited {
	color: white;
	text-decoration: none; 
}

.response_log {
	background-color: rgba(255, 104, 104, 0.5);
	padding-left: 20px;
	padding-right: 20px;
	margin-left: 20px;
	margin-right: 20px;
	text-align: left;
	overflow-y: scroll;
	max-height:400px;
	min-width: 250px;
	max-width: 800px;
	width: 800px;
}

.fa {
	display: unset !important;
}

a {
	color: white;
	text-decoration: none;
}

a:hover {
	color: rgb(228, 221, 221);
	text-decoration: underline; 
}

a:active {
	color: white;
	text-decoration: none; 
}

a:visited {
	color: white;
	text-decoration: none; 
}

table a {
	color: black;
	text-decoration: underline;
}

table a:hover {
	color: black;
	text-decoration: none; 
}

table a:active {
	color: black;
	text-decoration: none; 
}

table a:visited {
	color: black;
	text-decoration: none; 
}

span.sum {
	padding-right: 20px;
}

.tooltip {
	position: absolute; /* absolute to button */
	bottom: 110%; /* the span is moved to top of the button */
	background-color: #333;
	border-radius: 3px;
	font-size: 13px;
	color: #eee;
	display : none; /* hide the tooltips */
}

.tooltip:after {
	position: absolute;
	content: "";
	top: 100%; /* to set the triangle at end */
	left: 10%; /* left side moved 10% so it looks like tooltip */
	/* this border property makes the triangle */
	border-top: 5px solid #333;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid transparent;
}

/* on hover over .btn it makes the .tooltip display block */
.button:hover > .tooltip {
	display : block;
}

.tooltip {
	animation: moveup 0.1s linear;
}
@keyframes moveup {
	0% {
		/* for rotating effect rotate is set 25deg at beggining */
		transform: translateY(10px) rotate(25deg);
		opacity: 0;
	}
	100% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}
}

.radio_container {
	padding-top: 20px;
	padding-left: 10px;
}

.radio_container div {
	float: left;
}

.radio_container input[type="radio"] {  
	margin-right: 5px;
}

div.ui-widget-header, div.ui-state-default, ui-button {
	background:rgba(186, 61, 134, 0.5);;
	border: 1px solid rgba(186, 61, 134, 0.5);;
	color: #FFFFFF;
	font-weight: bold;
}

button.ui-button {
	background-color: rgba(186, 61, 134, 0.5);
	border: 1px solid transparent;
	border-radius: .25rem;
	box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
	box-sizing: border-box;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

button.ui-button:hover,
button.ui-button:focus {
	background-color:rgba(209, 73, 153, 0.7);
	box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

button.ui-button:hover {
	transform: translateY(-1px);
}

button.ui-button:active {
	background-color: rgba(209, 73, 153, 0.5);
	box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
	transform: translateY(0);
}

button.ui-button:disabled,
button.ui-button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.note {
	font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 14px;
}

#personal_data-form label {
	font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	font-size: 14px;
}
