html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 50px;
  background: url('../img/bg3.jpg') 50% 0 fixed no-repeat #19558f;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  color:#003971;
  background-color: #e4e4e4;
}
.container{
	max-width: 90% !important; 
	width: 90% !important; 
}
#details
{
	position:relative;
}
@media (max-width:992px){
	h4.text-center {
		font-size:16px;
	}
}
@media (max-width:768px){
	h4.text-center {
		font-size:16px;
	}
	.langs {
		padding: 8px 0 0 0px !important; 
		font-size: 85% !important; 
	}
	#mainserachform {
		margin-bottom: 20px !important;
	}
	.logo {
		padding-bottom:0px !important;
	}
	.logo img{
		max-width:100px;
	}
	.logo-block
	{
		padding-top:30px !important; 
	}
	.logo-block h1 {
		font-size:30px;
	}
	.logo-block h3 {
		font-size:18px;
	}
	.logo-book img 
	{
		max-width:150px;
	}
	/*rezultate*/
	.logo-small-block .logo
	{
		width:100% !important;
		text-align:center;
	}
	.logo-small-block .logo img
	{
		width: 70px !important;
	}
	.logo-small-block h1
	{
		font-size:28px;
		text-align:center;
	}
	.logo-small-block h3 {
		font-size: 19px;
		text-align: center;
	}
	table.table {
		border-spacing: 2px 5px !important;
	 
	}
	th.col-md-2, 
	table.table tr td
	{
		padding:2px !important;
	}
	body,
	p span,
	p
	{
		font-size:18px !important;
	}
	/* document */
	.panel-body {
		padding: 10px 15px !important;
	}
	#contentdoc h2 ,
	#contentdoc h3 ,
	#contentdoc h4 {
		font-size:20px !important;
	}
	.list-dates
	{
		font-size:11px !important;
		word-wrap: break-word;
	}
	#contentdoc table{
		padding:0 !important;
		margin:0 !important;
		width:100% !important;
	}
	#contentdoc table tr td{
		width:auto !important;
		padding:0 !important;
		margin:0 !important;
		 
	}
	/* container */
	.container
	{
		max-width: 96% !important;
		width: 96% !important;
	}
	/* pagination */
	.pagination 
	{
		white-space: normal !important;
	}
	.pagination ul {
		margin:0 !important;
		padding:0 !important;
	}
	.pagination ul li a {
		font-size:16px !important;
		width:auto !important;
		padding:0 8px;
	}
	.pagination ul li {
		list-style-type: none;
		display: inline-block;
		margin-right: 5px !important;
	}
}
@media (max-width:468px){
	h4.text-center {
		font-size:12px;
	}
	.langs {
		padding: 8px 0 0 0px !important; 
		font-size: 85% !important; 
	}
	#mainserachform {
		margin-bottom: 20px !important;
	}
	.logo {
		padding-bottom:0px !important;
	}
	.logo img{
		max-width:100px;
	}
	.logo-block
	{
		padding-top:30px !important; 
	}
	.logo-block h1 {
		font-size:30px;
	}
	.logo-block h3 {
		font-size:18px;
	}
	.logo-book img 
	{
		max-width:150px;
	}
	/*rezultate*/
	.logo-small-block .logo
	{
		width:100% !important;
		text-align:center;
	}
	.logo-small-block .logo img
	{
		width: 70px !important;
	}
	.logo-small-block h1
	{
		font-size:28px;
		text-align:center;
	}
	.logo-small-block h3 {
		font-size: 19px;
		text-align: center;
	}
	table.table {
		border-spacing: 2px 5px !important;
	 
	}
	th.col-md-2, 
	table.table tr td
	{
		padding:2px !important;
	}
	body {
		font-size:12px !important;
	}
	 
	/* document */
	.panel-body {
		padding: 10px 15px !important;
	}
	#contentdoc h2 ,
	#contentdoc h3 ,
	#contentdoc h4 {
		font-size:20px !important;
	}
	.list-dates
	{
		word-wrap: break-word;
		font-size:8px !important;
	}
	#contentdoc table{
		padding:0 !important;
		margin:0 !important;
		width:100% !important;
	}
	#contentdoc table tr td{
		width:auto !important;
		padding:0 !important;
		margin:0 !important;
		 
	}
	/* container */
	.container
	{
		max-width: 96% !important;
		width: 96% !important;
	}
	/* pagination */
	.pagination 
	{
		white-space: normal !important;
	}
	.pagination ul {
		margin:0 !important;
		padding:0 !important;
	}
	.pagination ul li a {
		font-size:12px !important;
		width:auto !important;
		padding:0 5px;
	}
	.pagination ul li {
		list-style-type: none;
		display: inline-block;
		margin-right: 5px !important;
	}
}
#filter_result
{
	text-align:right;
}
.filter_submit
{
	background:#003971;
	color:#fff;
	border:none;
	padding: 2px 10px;
}
select.filteryear
{
	color:#000 !important;
}
h1,h2,h3,h4,h5{
  font-family: "PT Serif",Georgia, "Times New Roman", Times, serif;
}
h1{letter-spacing: 2px;}
h3{}
.login 
{
	padding: 8px 0 0 0px;
}
.login img
{
	max-height:23px;
}
 
.favorite,
.logout
{
	float:right;
	font-size:14px !important;
	margin:5px;
}
a#fav{
 background: url('../img/addfav.png');
 display: block;
 width: 50px;
 height: 50px;

}
.itsfavorite
{
	background: url('../img/itsfav.png') !important;
}
 
a#fav.active{
 background: url('../images/addFavorit_hover.png');
}

.langs{padding: 8px 0 0 32px;}
.langs a{text-decoration: underline;color: #FFF;}
.logo-block a:hover, .logo-block a:active{text-decoration: none;}
.logo-block{padding-top: 10px;padding-bottom: 28px;}
.logo{padding-bottom: 18px;}
.logo-book{padding-top: 8px;}
.form-group .form-line{position: absolute;left:-3px;top: 32px;z-index: 1;}

.has-main .form-control{border: 2px solid #003971; }
.has-main .btn{border: 1px solid #003971;background: #003971;color:#e4e4e4;box-shadow:none;-webkit-box-shadow:none;padding: 6px 12px 5px;}
/*.has-main .input-group-addon{padding:5px 12px;border: 2px solid #003971;border-right: none;} */
#form-advanced{display: none;padding-bottom: 50px}
#form-simple{display: block;min-height: 500px;}
.link-switch-advsmpl{display: inline-block;padding-left: 40px;background: url('../img/ico-plusminus.png') 0 0 no-repeat;line-height: 36px;height: 36px}
.help-block{margin-top: 22px;}
.sw-smpl{}
.sw-adv{background-position: 0 -64px;}


.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  line-height: 1;
  width: 54px;
  height: 24px;
  margin-top: -3px;
  margin-bottom: -3px;
  line-height: 24px;
  }
.glyphicon:before {
  content: " ";
}
.glyphicon-search{ background: url('../img/ico-search.png') center no-repeat;

}

.glyphicon-print{ 
  background: url('../img/printer-16.png') left no-repeat;
  text-align: right;
}
 
.glyphicon-pdf{ 
  background: url('../img/pdf-16.png') left no-repeat;
  text-align: right;
}
 
.glyphicon-edit{ 
  background: url('../img/edit-16.png') left no-repeat;
  text-align: right;
}



/*.glyphicon-trash{ background: url('../img/eraser-24.png') center no-repeat;*/
.glyphicon-trash{ background: url('../img/ico-trash.png') center no-repeat;

}

.logo-small-block{}
.logo-small-block .logo{width:120px;float: left;}
.logo-small-block .logo img{width: 88px;}
.logo-small-block h1{letter-spacing: inherit;font-size: 32px;margin-top: 17px;}
.logo-small-block h3{font-size: 21px;}
.logo-small-block a:hover, .logo-small-block a:active{text-decoration: none;}

.yellow{color: #f2d201;}
table.table{    border-spacing: 30px 10px;
    border-collapse: separate;
  }
.table>thead>tr>th {border:0; font-weight: normal;font-style: italic;font-weight: bold;}

 
#response2{
	display: none;
	position:fixed;
	left:50%;
	width:300px;
	margin-left:-150px;
	top:0;
	z-index:10000;
}
.loadx{
  font-size:18px;
  padding:20px;
  color:#333;
  background:#EEE;
  box-shadow:0 0 20px #666;
  border:1px solid #999;
  opacity:0.9;
}
.pagination{
  
  height: 50px;
  text-align:center;
  white-space: nowrap;
}

.pagination ul li{
  list-style-type: none;
  display: inline-block;
  margin-right:20px ;
}

.pagination ul li a{
  display: block !important;
  font-family:'PT Serif';
  font-weight: 100;
  font-size: 17px;
  color:#e4e4e4;
  text-decoration: none;
  margin-top: 7px;
  width: 25px;
  height:25px;
  white-space:nowrap;
  cursor: pointer;
}

.pagination ul li a.active{
  color:#e4e4e4;
  text-decoration: none;
  font-size: 24px;
  padding-top: 0;
  position: relative;
  top: 3px;
  right: 3px;
  font-weight: bold;
  text-decoration: underline;
}

.pagination ul li:hover{
  margin-top: -5px;
}

.panel-default{color: #333;}
.pagedetails{margin-top: 15px;}

ul.legend{font-size: 10px;margin-top: 20px;margin-right: -20px;margin-left: -10px;display: block;}
ul.legend, ul.legend li{margin: 0;padding:0;list-style-type: none; }
ul.legend b.cub{display: inline-block;width: 12px;height: 12px;margin-right: 4px;}
ul.legend li{margin-bottom: 8px;}

#mainserachform{margin-bottom: 100px;}
#mainserachform.mainsearchform-simple #block-advanced{display: none;}
#mainserachform.mainsearchform-simple #sw-smpl{display: inline-block;}
#mainserachform.mainsearchform-simple #sw-adv{display: none;}

#mainserachform.mainsearchform-advanced #block-advanced{display: block;}
#mainserachform.mainsearchform-advanced #sw-smpl{display:none;}
#mainserachform.mainsearchform-advanced #sw-adv{display: inline-block; ;}

/*.sidebar-left{padding-right: 0 !important;}
.sidebar-right{padding-left: 0 !important;}*/
.sidebar-left {
	position: fixed;
/*	padding: 0 0 !important;
	z-index: 1;
	left: 80px;*/
}

.sidebar-right {
	position: fixed;
/*	padding: 0 0 !important;
	right: 80px;
	z-index: 1;*/
}

.list-dates{display: block;margin: 0;padding: 0;font-size: 14px;}
.list-dates li{margin: 0 0 8px;list-style-type: none;}
.list-dates li a{display: block;background: #efefef;color: #666;padding: 5px 10px;}
.list-dates li.active{margin-right: -1px;margin-left: -1px;z-index: 1;}
.list-dates li.active a{background: #fff;color: #333;font-weight: bold;}

.list-years{font-size: 16px;}

.body-padding {
	padding: 0 120px !important;
/*	padding: 0 !important;*/
	margin: 0 !important;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}
.docx *{font-family: "PT Serif",Georgia, "Times New Roman", Times, serif;}
.affix{top:8px;}
#contentdoc.doc{padding-top:75px;}
#block-years, #block-dates{overflow-x:hidden;overflow-y:auto;}
.sidebar-left .affix,.sidebar-right .affix{width:auto;} /* SK@12/2017 // width:97px;*/

img.printare, img.pdf{height:36px;width:auto;}
/*
@media (min-width: 768px) {
    .affix {
        position: fixed;
    }
}
@media (max-width: 768px) {
    .affix {
        position: static;
    }
	.sidebar-left .affix,.sidebar-right .affix{width:100%;}
}
*/

/* SK@12/2017 */
.affix {
	position:relative !important;
	top:0px !important;
}
.print_pdf_act
{
	float:left;
	width:100%;
	text-align:left;
}
.popup_act_juridic_link {
    position: absolute;
    cursor: pointer;
	top:60px;
	right:120px;
	color:blue;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.popup_act_juridic {
    position: absolute;
	width:100%;
    cursor: pointer;
	top:60px;
	left:0px;
	color:blue;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	 z-index: 10001; /* Specify a stack order in case you're using a different order for other elements */
}
 
.popup_act_juridic .popuptext_act_juridic {
    display: none;
	width: 80%;
	margin:0 auto;
	height: auto !important; 
	 
   
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 20px;
    position: relative;
    z-index: 1;
    top: 50px;
    right: 0px;
}
#popup_ajdc_overlay{
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8); /* Black background with opacity */
    z-index: 10000; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}
.content_act_juridic
{
	width: 100%;
	height: auto !important; 
}
.close_act_juridic {
	color: #aaa;    
    font-size: 28px;
    font-weight: bold;
	position:relative;
	top:5px;
	right:0px;
	float:right;
	line-height:20px;	
}

.close_act_juridic:hover,
.close_act_juridic:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/*
.popup_act_juridic .popuptext_act_juridic::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
*/
.popup_act_juridic .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

a {
 color: #0000CD;
 text-decoration:none;
}

div.contentload a:link {
  color: #fff;
}

div.contentload a:hover {
  color: #fff;
}

div.contentload a:visited {
  color: #fff;
}

p.legis-indent {
  display: inline;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 50px;
  margin-right: 0;
}

span.flindent {
  margin-left: 50px;
}

.select-editable {
     position:relative;
     background-color:white;
     border:solid grey 1px;
     width:120px;
     height:18px;
 }
 .select-editable select {
     position:absolute;
     top:0px;
     left:0px;
     font-size:14px;
     border:none;
     width:120px;
     margin:0;
 }
 .select-editable input {
     position:absolute;
     top:0px;
     left:0px;
     width:100px;
     padding:1px;
     font-size:12px;
     border:none;
 }
 .select-editable select:focus, .select-editable input:focus {
     outline:none;
 }

div.exclude {
 display: -moz-inline-stack;
 float: left;
}

div.exclude a:link {
  color: #fff;
  display: inline-block;
  transition: all 0.6s;
}

div.exclude a:hover {
  color: red;
}

div.exclude a:visited {
  color: #fff;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}



/*checkboxes*/

.dropdown-check-list {
  display: inline-block;
}
.dropdown-check-list .anchor {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding: 5px 50px 5px 10px;
  border: 1px solid #ccc;
}
.dropdown-check-list .anchor:after {
  position: absolute;
  content: "";
  border-left: 2px solid black;
  border-top: 2px solid black;
  padding: 5px;
  right: 10px;
  top: 20%;
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.dropdown-check-list .anchor:active:after {
  right: 8px;
  top: 21%;
}
.dropdown-check-list ul.items {
  padding: 2px;
  display: none;
  margin: 0;
  border: 1px solid #ccc;
  border-top: none;
}
.dropdown-check-list ul.items li {
  list-style: none;
}
.dropdown-check-list.visible .anchor {
  color: #0094ff;
}
.dropdown-check-list.visible .items {
  display: block;
}
