a.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    background: #481659 url("up-arrow.png") no-repeat center 43%;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.ucinnost_highlighted {
	border-color: #481659;
    box-shadow: 0 0 0 #481659 inset, 0 0 8px #5f1576;
}
    
            /** UNIVERZALNE PRAVIDLA **/
        .NADPIS, .predpis .predpisPodnadpis, .predpis .predpisTyp{
            color: #5f1675;
            font-size: 11pt;
            font-weight: bold;
        }
        
        .predpis .predpisTyp{
            margin-bottom: 16px;
        }

	.info_ciastka_pdf{
	    width:40px;
	}

	.predpis .modified{
	    background-color:#D6F9D9;
	}
        .predpis .toBeModified{
	    background-color:#E8DEC7;
	}
	.predpis .toBeDeleted{
	    background-color:#FFE2DE;
	}
        #predpis{
            width:95%;
            margin:0;
		

        }
        
        #predpis a{
	    color: #5f1675 !important;	
	    font-weight:bold !important;	
	}
	#predpis a:hover{
            text-decoration: underline;
	}

	.predpis object, .prilohy object, .poznamky object{
	    width: 90%;
	    height: 600px
        }
        
        
        .elementHighlightBackground{
            box-shadow: 0 0 5px 0 #481659 inset;
        }
        
        .elementHighlightBackground:hover .highlightClose{
            opacity:1;
        }
        
        .highlightClose{
            opacity:0.6;
            position:absolute;
            margin-top:-28px;
            width:auto;
            height: 15px;
            background-color:#efefef;
            color: #481659;
            cursor:pointer;
            padding:4px !important;
            border: 2px solid #481659;
        }
        .highlightClose:hover{
            text-decoration: underline;
        }
        
        .poUcinnosti{
            color: red;
        }

        #main-content{
            margin-top: 15px;
            margin-bottom:50px;
        }
        .fixed {
            position: fixed;
            top: -5px;
            left: 85px;
        }
        .skrolovane{
            border:1px solid black;
            background:#efefef;
            padding:10px;
        }
        .clear { 
            clear:both; 
        }
        .stick {
            position:fixed;
            top:0px;
            width: 344px;
        }
        #YearTable th, #HistoriaTable th{
            text-align:left;
        }
        #YearTable td, #HistoriaTable td{
            vertical-align: top;
            padding:5px;
        }
        #YearTable td.title, #HistoriaTable td.title{
            color:#5B677D;
            font-weight:bold;
            padding-right:15px;
        }
        #YearTable td.title_po, #HistoriaTable td.title_po{
            font-weight:bold;
            padding-right:15px;
        }
        #YearTable td.value_bold, #HistoriaTable td.value_bold{
            font-weight:bold;
        }
        #YearTable tr, #HistoriaTable tr{
            border-bottom: 1px solid #efefef;
        }
        #YearTable tr:last-child, #HistoriaTable tr:last-child{
            border-bottom: none;
        }
         #YearTable.YearTable thead {
    		border-bottom: 2px solid #5f1576;
    		color: #5f1576;
		}
        
        /** PRAVIDLA PREDPISU **/
        .predpisFullWidth{
            width:100%;
            float:left;
        }
        .predpis75p{
            width:75%;
            float:left;
        }
        .predpis25p{
            width:25%;
            float:left;
        }
        .predpis, .poznamky, .prilohy {
            color: #494949;
            margin: auto;
            line-height:1.1;
        }

        .predpis div {
            overflow: hidden;
            text-align: justify;
            padding:2px;
        }

        .predpis .paragrafNadpis.NADPIS {
            display: inline;
        }
        .predpis .castObsah>a {
            font-weight: bold;
            color: #000000;
        }
        

        .predpis .NADPIS, .predpis .predpisPodnadpis, .predpis .predpisTyp {
            color: #000000;
        }

        
        
        .predpis .Skupina {
            margin-left: 17px;
        }

        .predpis .odsekOznacenie {
            color: #000000;
        }

        .predpis .pismenoOznacenie {
            color: #000000;
        }
        .predpis .castOznacenie, .predpis .castNapis {
            color: #000000;
        }
        .predpis .NADPIS, .predpis .paragrafOznacenie, .predpis .paragrafNadpis, .predpis .castOznacenie, .predpis .hlavaOznacenie{
            margin-bottom: 20px;
            margin-top: 0px;
        }
        .predpis .paragrafOznacenie,.predpis .hlavaOznacenie {
            margin-bottom: 0;
        }
        .predpis .paragrafOznacenie{
            display:inline;
            margin-right: 5px;
        }
        .predpis .paragraf {
            margin-top: 5px;
        }
        .predpis .odsek {
            margin-top: 5px;
        }
        .predpis .paragrafNadpis,.predpis .hlavaNadpis,.predpis .castNadpis {
            margin-top: 0px;
        }
        .predpis .paragrafOznacenie,.predpis .paragrafNadpis {
            color: #000000;
            font-weight: bold;
        }
        .predpis .hlavaNadpis,.predpis .hlavaOznacenie {
            color: #000000;
        }
        .predpis .odsekOznacenie,.predpis .pismenoOznacenie {
            float: left;
            width: 20px;
        }
        .predpis .odsekOznacenie{
            padding-right:20px;
        }
        .predpis .pismenoOznacenie {

            padding-right:20px;
        }
        .predpis .odsek div {
            margin-bottom:0px;
        }
        .predpis .hlavaOznacenie {
            padding-left: 0;
        }
        .predpis .castOznacenie,.predpis .castNadpis {
            color: #000000;
            padding-left: 0;
            margin-bottom: 0;
        }
        .predpis .hlavaOznacenie,.predpis .hlavaNadpis {
            color: #000000;
        }
        .predpis .cast,.predpis .hlava {
            padding-left: 0;
        }
        .predpis .cast{
            margin-bottom: 0px;
        }
        .predpis .cast {
            margin-top: 15px;
        }

        .predpis .predpisTitle {
            border-bottom: 1px solid #efefef;
            font-size: 23px;
            font-weight: normal;
            padding-bottom: 20px;
        }
        .predpis .Skupina > span {
            float: left;
        }
        .predpis table td, #column-1 table th {
            padding: 5px;
        }
        .predpis .predpisOznacenie{
            font-size: 23px;
            font-weight: normal;
            padding-bottom: 20px;
            color: #5f1675;
        }
        .predpis .predpisNazov{
            font-size: 16px;
            font-weight: bold;
            color: #494949;
            line-height: 1.1;
            margin: auto;
            overflow: visible;
        }
        .predpis .predpisDatum{
            font-size: 14px;
            color: #494949;
            line-height: 1.1;
            margin: auto;
        }
        .predpis .predpisNadpis{
            border-bottom: 1px solid #efefef;
            padding-bottom: 10px;
        }
        .predpis .skupinaParagrafovOznacenie{
            font-size: 16px;
            font-weight: bold;
            color: #494949;
            line-height: 1.1;
        }
        .predpis .bod.Skupina{
            margin-top: 5px;
        }
        .predpis .clanok{
            margin-top:15px;
        }
        .predpis .citat {
            display:inline;
            font-style:italic;
        }
        .predpis .citacnyOdkazJednoduchy, .prilohy .citacnyOdkazJednoduchy, .poznamky .citacnyOdkazJednoduchy{
            display:inline;
            font-style:italic;
        }
        
        
         .predpis div.bodOznacenie, .predpis div.pismenoOznacenie, .predpis div.odsekOznacenie {
  			  padding-top: 2px;
		}

        /** PRAVIDLA POZNAMOK **/
        .poznamky {
            color: #494949;
            margin: auto;
            line-height:1.1;
            text-align: justify;
        }
        .poznamky div{
            padding:2px;
        }
        .poznamky .poznamkaOznacenie {
            float: left;
            width: 20px;
            padding-right:20px;
        }
        .poznamky .Skupina{
            margin-top: 15px;
        }
        
        .obsah .poznamky .poznamkaOznacenie {
    float: none;
}

.poznamky div.poznamkaOznacenie {
    padding-top: 4px;
}

        
        /** PRAVIDLA PRILOH **/
        .prilohy {
            color: #494949;
            margin: auto;
            line-height:1.1;
        }
        .prilohy div{
            padding:2px;
        }
        .prilohy .prilohaOznacenie {
            padding-right:20px;
            font-weight:bold;
        }
        .prilohy .Skupina{
            margin-top: 15px;
            clear:both;
        }
        .prilohy .oznacenaPolozkaOznacenie{
            font-weight:bold;
            min-width: 20px;
            float: left;
        }
        .prilohy table{
            border-collapse: collapse;
            width:760px;
        }
        .prilohy tr{
            border: 1px solid #000;
        }
        .prilohy td{
           max-width:35%;
           border: 1px solid #000;
           padding: 5px;
        }
            
        .prilohy img, .predpis img, .poznamky img{
            max-width: 100%;
        }
         #ucinnostForm ul li {
            display: inline;
            padding: 0 0 0 5%;
        }
        .ucinnost_highlighted{
            border:none;
        }    
         #ucinnost {
            background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
            border: 0 none;
            width: 100px;
            margin-bottom: 3px;
        }

        #ucinnostForm ul {
            padding-top: 7px;
            padding-bottom: 8px;
   
        }

        .textHover{
                background:#5F1576;
                color:white;
        }
            
        
        
        /** PRAVIDLA OBSAHU **/

        .obsah{
            border:none;
            color: #494949;
        }

        .obsah .index_nadpis {
            padding-left: 10px;
        }
        .obsah > h5:first-child {
            display: none;
        }

        .obsah .predpis.Skupina > img:first-child {
            display: none;
        }

        .obsah .predpis > .Skupina {
            margin-left: 0;
            margin-bottom: 15px;
        }

        .obsah .predpis > .Skupina > .index_element > a {
            font-weight: bold;
        }

        .obsah .predpisOznacenie.index_element, .obsah .predpisOznacenie {
            display: none;
        }

        .obsah .odsek.Skupina {
            margin-left: 20px;
        }

        .obsah div{
            text-align:left;
        }
        .obsah h5{
            clear:both;
        }
        
        .obsah .paragrafObsah.Skupina div {
            display: block;
        } 
        .obsah {
        }
        
        .obsah div.Skupina {
            margin-left: 12px;
        }

        .obsah .odsek div{
            margin-bottom: 5px;
        }

        .plus {
            padding-top: 4px;
        }

        .obsah .odsekOznacenie {
            float: none;
            padding-left: 16px;
        }
        .obsah .pismenoOznacenie{
            padding-left: 20px;
        }
        .obsah .pismeno.Skupina .bod{
            padding-left: 20px;
        }
        .obsah .Skupina .pismenoOznacenie{
            padding-left: 16px;
            float:none;
        }

        .obsah .Skupina .Skupina   {
            display: none;
        }
        .obsah .paragrafObsah {
            display:none;
        }
        .obsah .paragrafObsah.Skupina div.Skupina {
            display: none;
        }
        .obsah .predpisOznacenie {
            font-size: 13px;
            font-weight: bold;
            padding-bottom: 7px;
        }
        
        .obsah .skupinaParagrafovOznacenie, .obsah .castOznacenie, .obsah .kapitolaOznacenie, .obsah .paragrafOznacenie, .obsah .odsekOznacenie {
            font-weight: bold;
            font-size:12px;
        }
        .aui .Skupina .bodOznacenie {
            padding-left: 16px;
        }
        .obsah .bod.Skupina {
            margin-top: 6px;
        }
        
        .aui .Skupina .clanokOznacenie {
            padding-left: 16px;
        }

        /** PRAVIDLA PRE BOCNY SIDEBAR **/
        
        #floating_sidebar{
            top: 0px;
        }
        
         .sideBar{
                border: 1px solid #c0c2c5;
                border-radius: 8px;
                box-sizing: border-box;
                margin-top: 30px;
                overflow: hidden;
        }
        
        #fixedObsah .Taby {
            background: #ededed none repeat scroll 0 0;
            box-sizing: border-box;
            clear: both;
            display: block;
            height: 65px;
        }


        #floating_sidebar_spacer{
            left: 100%;
            position: absolute;
            top: 0;
            width: 350px;
            height:1px;
        }
        
        #floating_sidebar #show_sidebar_wrapper {
    		background-color: #fafafa;
    		border: 1px solid #c0c2c5;
    		border-radius: 8px;
    		font-size: 12px;
    		height: 65px;
    		margin: 8px 0 0;
    		width: 70px !important;
		}
        
        .sideBar table td, .sideBar table th {
            padding: 3px;
        }
        
        .FunkcieUl li {
            border-right: 1px solid #c0c2c5;
            text-align: center;
        }
		.FunkcieUl {
            background: #ededed none repeat scroll 0 0;
            float: left;
            margin: 0 !important;
            width: 99.9% !important;
        }

        .TabyUl {
            box-sizing: border-box;
            margin: 0 !important;
            width: 100%;
        }

        
        .TabyUl li {
            border-right: 1px solid #c0c2c5;
            box-sizing: border-box;
            display: inline-block;
            float: left;
            height: 65px;
            width: 24.9%;
        }
        
        .TabyUl li:last-child {
            border-right: 0 none;
        }

        .TabyUl li a.selected {
            background: #fafafa;
            color: #5F1675;
            border-bottom:0px;
        }

        .TabyUl li a {
                border-bottom: 1px solid #c0c2c5;
                color: #5f1675;
                display: block;
                height: 100%;
                margin: 0;
                text-align: center;
                text-decoration: none;
                width: 100%;
        }
        
        .TabyUl > li:last-child > a {
            border-top-right-radius: 8px;
        }

         .TabyUl li a:focus {
            outline: none;
        }
        .TabyUl li a:hover {
    		text-decoration: none;
		}

        .TabyUl span {
            color: #4f4f4f;
            display: block;
            font-size: 12px;            
        }
        
     
	.TabyUl .tabs_button:hover span {
    		color: #5f1576;
	}

        .TabyUl a.selected span {
            color: #5f1675;
        }
        .TabyUl .ikona {            
            height: 40px;
            overflow: hidden;
        }
        
        .TabyUl > li:first-child > a {
  			  border-top-left-radius: 8px;
		}
		.TabyUl > li:last-child > a {
    		border-top-right-radius: 8px;
		}
			
        #fixedObsah .funkcie {
            border-top: 1px solid #c0c2c5;
            display: block;
            height: 30px;
        }
        


		.FunkcieUl.row-fluid {
   			 border-bottom-left-radius: 8px;
    		border-bottom-right-radius: 8px;
		}	
		
		.FunkcieUl > li:first-child {
    		border-bottom-left-radius: 8px;
		}
		.FunkcieUl > li:last-child {
    		border-bottom-right-radius: 8px;
		}
        .FunkcieUl li:last-child {
            border: 0 none;
        }


        /** INFORMACIE V SIDEBARE **/
        .sideBar #Informacie {
            background-color: #fafafa;
            display: block;
            font-size: 12px;
            margin-bottom: 0;
            padding: 20px 20px 0;
            height:300px;
             overflow: auto;
        }
        
        .sideBar #Informacie .InformacieContent {
           
        }
        .sideBar .InformacieContent {
            background-color: #fafafa;            
            font-size: 12px;
        }
        .InformacieContent.selected {
            display: block;
        }
        .InformacieContent.hidden {
            display: none;
        }
        .InformacieContent.obsahPredpis {
            margin-left: 0;
            padding-left: 0;
            padding-top: 10px;
        }

         #InfoTable ul {
            margin-left: 0;
        }

        .sideBar #InfoTable td, .sideBar .InfoTable td {
            vertical-align: top;
        }
        .sideBar #InfoTable td.title{
            color:#5B677D;
            font-weight:bold;
            padding-right:15px;
        }
        .sideBar #InfoTable td.title_po{
            font-weight:bold;
            padding-right:15px;
        }
        .sideBar #InfoTable td.value_bold{
            font-weight:bold;
        }
        .sideBar #InfoTable tr, .sideBar #HistoriaTable tr{
            border-bottom: 1px solid #efefef;
        }
        .sideBar #InfoTable tr:last-child, .sideBar #HistoriaTable tr:last-child{
            border-bottom: none;
        }
        
        .sideBar #HistoriaTable .currentDirective{
            background-color:#e7bfff;
            font-weight:bold;
            border: 1px solid #481659;
        }
        
        /* ----------------------------------- Back to top ----------------------------------------- */
        #back-top {
            position: fixed;
            bottom: 30px;
            /* margin-left: -150px; */
            right: 10px;
        }

        #back-top a {
            width: 108px;
            display: block;
            text-align: center;
            font: 11px/100% Arial, Helvetica, sans-serif;
            text-transform: uppercase;
            text-decoration: none;
            color: #bbb;
            /* background color transition */
            -webkit-transition: 1s;
            -moz-transition: 1s;
            transition: 1s;
        }

        #back-top a:hover {
            color: #000;
        }
        /* arrow icon (span tag) */
        #back-top span {
            width: 60px;
            height: 60px;
            display: block;
            margin-bottom: 7px;
            background: #ddd url(up-arrow.png) no-repeat center center;
            /* rounded corners */
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            /* background color transition */
            -webkit-transition: 1s;
            -moz-transition: 1s;
            transition: 1s;
        }

        #back-top a:hover span {
            background-color: #777;
        }
        /* --------------------------------- */
       
        #floating_sidebar .hide_sidebar{
            margin-bottom:10px;
        }
        
        #floating_sidebar .show_sidebar_wrapper{
            width:50px;
            height:50px;
            background-color: #fafafa;
            border: 1px solid #c0c2c5;
            font-size: 12px;
        //    display:none;
            margin: 8px 0 0 50px;
        }
        
        .show_sidebar_wrapper .show_sidebar .ikona {
    		display: block;    		
    		margin-top: 12px;
    		width: 35px;
		}
        
        
        
        /* -------------------- uprava ---------------------*/
        

.predpis .bodOznacenie {
    float: left;
    margin-right: 15px;
}
#copyUrlDiv {
   background: none repeat scroll 0 0 white;
   box-shadow: -1px -1px 14px #000;
   height: 180px;
   overflow: auto;
   padding: 10px;
   width: 450px;
   z-index: 352;
   position: fixed;
   top:50%; 
   left: 50%;
   margin-top: -85px; 
   margin-left: -225px;
}
#copyUrlBack {
	display: none;
	position: fixed; 
	left:0; 
	top:0;
	width:100%; 
	height:100%; 
	background-color: black; 
	opacity:0.2;
	z-index: 349;
}
#copyUrlDiv textarea {
	width: 95%;
  height:60px;
}
#copyUrlDiv input {
	float: right;
}
#HistoriaTable td.title.neucinny, #HistoriaTable td.title.neucinny a{
    color: #aa0000;
}

.row-fluid {
    width: 95%;
}
.row-fluid .span12{
    width: 100%;
}

.citat > .Skupina {
    margin-left: 0 !important;
    margin-top: 0 !important;
}

span.uvStart{
    margin-top:18px;
    margin-left:-4px;
    position:absolute;
    float:left;
}

span.uvEnd{
    margin-top:-22px;
    position:relative;
    float:right;
}

.sprite {
    background-image: url("/static/icons/Zakon-icons/icons.png");
    background-repeat: no-repeat;
    display: inline-block;
    margin: 0 auto;
    vertical-align: middle;
    text-indent: -500px;
    overflow:hidden;
}
.sprite-back {
    width: 19px;
    height: 14px;
    background-position: -5px -5px;
}
.sprite-back:hover {
    width: 19px;
    height: 14px;
    background-position: -5px -29px;
}
.sprite-datum {
    width: 34px;
    height: 24px;
    background-position: 0 -53px;
}
.sprite-diskusia {
    width: 27px;
    height: 24px;
    background-position: -5px -121px;
}
.sprite-diskusia:hover {
    width: 27px;
    height: 24px;
    background-position: -5px -155px;
}
.sprite-graf {
    width: 24px;
    height: 24px;
    background-position: -5px -189px;
}
.sprite-graf:hover {
    width: 24px;
    height: 24px;
    background-position: -5px -223px;
}
.sprite-hide {
    width: 14px;
    height: 12px;
    background-position: -5px -257px;
}
.sprite-hide:hover {
    width: 14px;
    height: 12px;
    background-position: -5px -279px;
}
.sprite-history-tab {
    width: 29px;
    height: 25px;
    background-position: -5px -301px;
    margin-top: 7px;
}
.selected .sprite-history-tab, a:hover .sprite-history-tab {
    width: 29px;
    height: 25px;
    background-position: -5px -336px;    
}
.sprite-info-tab {
    width: 13px;
    height: 29px;
    background-position: -5px -371px;
    margin-top: 5px;
}
.selected .sprite-info-tab, a:hover .sprite-info-tab {
    width: 13px;
    height: 29px;
    background-position: -5px -410px;
}
.sprite-obsah-rozbalit {
    width: 11px;
    height: 11px;
    background-position: -5px -449px;
}
.sprite-obsah-rozbalit:hover {
    width: 11px;
    height: 11px;
    background-position: -5px -470px;
}
.sprite-obsah-tab {
    width: 21px;
    height: 15px;
    background-position: -5px -491px;
    margin-top: 13px;
}
.selected .sprite-obsah-tab, a:hover .sprite-obsah-tab {
    width: 21px;
    height: 15px;
    background-position: -5px -516px;
}
.sprite-obsah-zbalit {
    width: 11px;
    height: 11px;
    background-position: -5px -541px;
}
.sprite-obsah-zbalit:hover {
    width: 11px;
    height: 11px;
    background-position: -5px -562px;
}
.sprite-obvodova-sprava {
    width: 27px;
    height: 26px;
    background-position: -5px -583px;
}
.sprite-obvodova-sprava:hover {
    width: 27px;
    height: 26px;
    background-position: -5px -619px;
}
.sprite-rozsirene-zobrazenie {
    width: 14px;
    height: 14px;
    background-position: -5px -655px;
}
.sprite-rozsirene-zobrazenie:hover {
    width: 14px;
    height: 14px;
    background-position: -5px -679px;
}
.sprite-show {
    width: 12px;
    height: 10px;
    background-position: -5px -703px;
}
.sprite-show:hover {
    width: 12px;
    height: 10px;
    background-position: -5px -723px;
}
.sprite-stiahnut {
    width: 29px;
    height: 26px;
    background-position: -5px -743px;
}
.sprite-stiahnut:hover {
    width: 29px;
    height: 26px;
    background-position: -5px -779px;
}
.sprite-tlac {
    width: 26px;
    height: 24px;
    background-position: -5px -815px;
}
.sprite-tlac:hover {
    width: 26px;
    height: 24px;
    background-position: -5px -849px;
}
.sprite-vytvorit-odkaz {
    width: 29px;
    height: 14px;
    background-position: -5px -883px;
}
.Kopirovanie .sprite-vytvorit-odkaz, .sprite-vytvorit-odkaz:hover {
    width: 29px;
    height: 14px;
    background-position: -5px -907px;
}
.sprite-vztahy-tab {
    width: 30px;
    height: 20px;
    background-position: -5px -931px;
    margin-top: 10px;
}
.selected .sprite-vztahy-tab, a:hover .sprite-vztahy-tab {
    width: 30px;
    height: 20px;
    background-position: -5px -961px;
} 





/** PREDPIS HEADER **/





      
.predpis_header ul, #ucinnostForm ul {
   background: none repeat scroll 0 0 #fafafa;
    border: 1px solid #c0c2c5;
    border-radius: 8px;
    display: table;
    margin: 0;
    width: 100%;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -ms-box-sizing: border-box;
   box-sizing: border-box;
}

.predpis_header ul li {
   display: table-cell;
    text-align: center;
    padding-bottom: 7px;
    padding-top: 7px;
}

.predpis_header ul li a:hover {
    text-decoration: none;
}

#graph-button, #koncept-button {
    margin-right: 0;
    padding: 0;
}
.sideBar #HistoriaTable .currentDirective td.title, #YearTable td.title, #HistoriaTable td.title a {
  color: #323232;
}

