html, body { scroll-behavior: smooth; }
body { background:#fff; color: #000; font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 14px; line-height:24px; margin:0 60px; }
a { color: #234e83; }
h1 { font-weight:700; font-size: 34px; line-height: 40px; margin: 20px 0; color: #234e83; padding:0; }

.insiteAdminToggler { display: none; }

.path { padding:10px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #999; }
.path a { color: #000; text-decoration: none; }

header { display: flex; padding:60px 0; justify-content: space-between; align-items: center; }
header .logo { display: flex; align-items: flex-start; margin: 0 20px 0 0; text-decoration: none; color: #000; }
header .logo img { vertical-align:middle; height: 30px; margin: 0 10px 0 0; }
header .logo span { font-size: 20px; line-height: 20px; }
header .l { display: flex; }
header button { padding:0 20px; height: 46px; border-radius: 23px; font-size: 20px; background:#168ccf; }
header button:hover { background:#234e83; }
header button i { vertical-align: middle; }
header #mobileMenuBtn { display:none; }

#mainLay { display: flex; }
#mainLay > aside { width:300px; max-width: 20%; }
#mainLay > aside:first-child { border-right: 1px solid #ccc; margin-right: 60px; }
#mainLay > aside:last-child { margin-left: 60px; }
#mainLay > main { width: 1px; flex-grow: 1; padding-bottom: 100px; }
#mainLay > aside .sticky { position: sticky; top: 20px; }

#desktopMenu ul { list-style: none; padding: 0; margin: 0; }
#desktopMenu a { color: #4f4f4f; font-weight: 700;  text-decoration: none; width: 1px; flex-grow: 1; line-height: 20px; padding: 8px 20px 8px 0; position: relative; }
#desktopMenu a:hover { background: #eee; }
#desktopMenu a::before { display: block; content: ''; position: absolute; right: 100%; top: 0; width: 60px; height: 100%; background: inherit; }
#desktopMenu .lvl2 a { padding-left: 30px; }
#desktopMenu .lvl3 a { padding-left: 60px; }
#desktopMenu ul ul a { font-weight: 300; }
#desktopMenu .menu_row { display: flex; }
#desktopMenu .menu_row > button { width: 36px; height: 36px; background: transparent; padding: 0; border-left: 1px solid #eee; }
#desktopMenu .menu_row > button:hover { background: #eee; }
#desktopMenu .menu_row > button::before { display: inline-block; content: ''; width: 6px; height: 6px; border-width: 1px 1px 0 0; border-style: solid; border-color: #000; transform: rotate(45deg); transition: transform 200ms; }
#desktopMenu li ul { display: none; }
#desktopMenu li.active > ul { display: block; }
#desktopMenu li.active > .menu_row > button::before { transform: rotate(135deg); }
#desktopMenu li.activeactive > .menu_row { position: relative; background: #eee; }
#desktopMenu li.activeactive > .menu_row > a { background: #eee; }
#desktopMenu li.activeactive > .menu_row > button { border-color: #fff; }
#desktopMenu li.activeactive > .menu_row::after { display: block; content: ''; position: absolute; right: -2px; top: 0; width: 3px; height: 100%; background: #234e83; }

#mainLay > aside h2 { font-size: 20px; padding:0; margin:0 0 20px 0; font-weight: 700; }
#sideRadar { list-style: none; padding: 0; }
#sideRadar li { margin-bottom: 1px; }
#sideRadar a { display: block; border-left: 4px solid #ccc; padding: 8px 20px; color: #4f4f4f; text-decoration: none; font-weight: 700; }
#sideRadar a:hover { border-color: #234e83; background: #eee; }
#sideRadar li.h3 a { padding-left: 40px; font-weight: 300; }

#accPanel { margin: 40px 36px 0 0; padding:20px 0; border-top: 1px solid #eee; text-align: center; color: #4f4f4f; }
#accPanel a { text-decoration: none; color: inherit; font-weight: 700; }

#copyPanel { margin: 0 36px 0 0; padding:20px 0; border-top: 1px solid #eee; text-align: center; color: #4f4f4f; }
#copyPanel a { text-decoration: none; color: inherit; font-weight: 700; }

#rozcestnik ul { display: grid; grid-gap: 16px; grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) ); list-style: none; padding: 0; }
#rozcestnik li { display: flex; }
#rozcestnik a { display: block; width: 100%; padding: 20px; background: #168ccf; color: #fff; text-decoration: none; font-weight: 700; text-decoration: none; }
#rozcestnik a:hover { text-decoration: none !important; background: #234e83; }
#rozcestnik i { font-size: 1.5em; }

footer { padding:20px 0 50px 0; text-align:center; color:#999; font-size:13px; display: none; }
footer a { color:inherit; text-decoration:none; }
footer a:hover { text-decoration:underline; }

@media only screen and (max-width: 1240px) {
	#mainLay { flex-wrap: wrap; }
	#mainLay > aside { display: none; }
	#mainLay > main { width: 100%; }
	#mainLay > aside nav { display: none; }
	header #mobileMenuBtn { display: inline-block; }
	footer { display: block; }
}
@media (max-width: 768px) {
	body { margin: 0 10px; }
	header { flex-direction: column; }
	header .logo { flex-direction: column; align-items: center; margin: 0 0 40px 0; }
	header .logo img { height: auto; width: 170px; margin: 0 0 5px 0; }
	h1 { text-align: center; }

	#rozcestnik li  { width: calc( 50% - 10px ); }
}



#mainLay > main img { max-width:100%; height:auto !important; }
#mainLay > main h2 { font-weight:700; font-size: 24px; line-height: 32px; margin: 32px 0 8px; color: #168ccf; padding:0; }
#mainLay > main h3 { font-weight:700; font-size: 18px; line-height:32px; margin: 32px 0 16px; color: #168ccf; padding:0; }
#mainLay > main p,
#mainLay > main ul,
#mainLay > main ol { margin: 4px 0 12px; }
#mainLay > main table { margin: 4px 0 12px; font-size: 13px; }
#mainLay > main a:hover { text-decoration:underline; }
#mainLay > main img { box-shadow:0 2px 5px 0 rgba(0,0,0,.26); }
img.imgLeft { float:left; margin:0 20px 10px 0; }
img.imgRight { float:right; margin:0 0 10px 20px; }
pre { display:block; overflow:auto; background:#f1f4f7; color:#005367; padding:25px; font-size: 12px; line-height: 16px; }
code { display:inline-block; background:#f1f4f7; color:#005367; padding:0px 5px; }


#rfmenu { position: fixed; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #fff; }
#rfmenu_close { position: fixed; z-index: 99; right: 0; top: 0; width: 52px; height: 52px; background: transparent; color:#000; font-size: 24px; }
#rfmenu_close::after { content: '×'; display: inline; }
#rfmenu_close:focus { background-color: #eee; }
.rfmenu_list { display: flex; flex-direction: column; width: 100%; height: 100%; position: absolute; top:0; left: 100%; background: #fff; transition: all 300ms; }
.rfmenu_list.inview { left: 0%; }
.rfmenu_header { width: 100%; padding: 0 60px 0 20px; border-bottom: 1px solid #ddd; box-sizing: border-box; line-height: 52px; font-size: 18px; }
.rfmenu_header button { background: transparent; border: none; color: inherit; font-style: inherit; font-size: inherit; padding:0; height: 52px; }
.rfmenu_header button::before { content: ''; display: inline-block; vertical-align: middle; width: 8px; height: 8px; border-top: 2px solid #000; border-left: 2px solid #000; transform: rotate(-45deg); margin-left: 4px; margin-right: 10px; }
.rfmenu_header button:focus { background-color: #eee; }
.rfmenu_body { height: 1px; flex-grow: 1; overflow-y: auto; padding-top: 8px; }
.rfmenu_body ul { list-style: none; padding:0; margin: 0; }
.rfmenu_body ul ul { display: none; }
.rfmenu_footer { padding: 20px 22px; background: #dddddd; display: flex; flex-wrap: wrap; }
.rfmenu_footer .langs a { font-weight: bold; text-decoration: none; }
.rfmenu_footer > * { width: 50%; margin-bottom: 14px; text-decoration: none; }
.rfmenu_footer > *:nth-child(even) { text-align: right; }
.rfmenu_footer > a img { margin-right: 5px; }
.rfmenu_footer .sign { display: inline-block; vertical-align: middle; }
.rfmenu_footer #maincontent { display: none; }
.rfmenu_row { display: flex; }
.rfmenu_row > a { width: 1px; flex-grow: 1; min-height: 48px; display: flex; align-items: center; padding:5px 22px; box-sizing: border-box; text-decoration: none; font-size: 18px; font-weight: bold;}
.rfmenu_row > button { padding: 0; width:48px; height: 48px; background:transparent; color: #000; font-size: 24px;}
.rfmenu_row > button::after { content: '+'; display: inline; }
.rfmenu_row > button:focus { background:#eee; }
body.rfmenuVisible { overflow:hidden; }


#srchPopup { display: none; position: fixed; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
#srchPopup_wnd { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #168ccf; transition: all 500ms; display: flex; justify-content: center; align-items: center; }
#srchPopup_wnd > button { position: absolute; top: 36px; right: 0; height: 80px; padding:0 24px 0 36px; background: #fff; color: #000;  font-family: 'Poppins', sans-serif; font-weight: bold; font-size: 20px; border-radius: 40px 0 0 40px; }
#srchPopup_wnd > button::after { display: inline-block; content: '+'; transform: rotate(45deg); font-size: 56px; margin-left: 5px; font-weight: normal; vertical-align: middle; }
#srchPopup.visible { display: block; }
#srchPopup_wnd.visible { top: 0; }
#srchPopup .srchWrap { width: 1310px; max-width: 95%; }
#srchPopup .srchInput { display: flex; width: 100%; align-items: stretch; border-radius: 5px; box-shadow: 0 0 3px rgba(0,0,0,0.1); margin-bottom: 20px; }
#srchPopup .srchInput input { width: 1px; flex-grow: 1; height: 60px; line-height: 60px; padding: 0 24px; border: none; background: #fff; border-radius: 5px 0 0 5px; font-size: 18px; }
#srchPopup .srchInput button { background: #000; color: #fff; border-radius: 0 5px 5px 0; height: 60px; padding:0 40px; font-family: 'Poppins', sans-serif; font-weight: bold; font-size: 18px; }
#srchPopup .srchInput input::placeholder { color: #168ccf; }
#srchPopup .srchOpt { display: flex; justify-content: center; flex-wrap: wrap; }
#srchPopup .srchOpt label { display: flex; align-items: center; cursor: pointer; margin: 10px 20px; font-family: 'Poppins', sans-serif; font-weight: bold; font-size: 18px; }
#srchPopup .srchOpt label input { margin: 0 14px 0 0; width: 20px; height: 20px; }
body.srchPopupVisible { overflow:hidden; }
@media only screen and (max-width: 800px) {
	#srchPopup_wnd { padding-top: 30px; }
	#srchPopup_wnd > button {  top: 5px; height: 46px; border-radius: 23px 0 0 23px; }
	#srchPopup_wnd > button::after { font-size: 34px; }
	#srchPopup .srchInput { margin-bottom: 10px; }
	#srchPopup .srchInput button { background: url('../images/search_w.svg') center no-repeat #000; background-size: 22px; padding: 0; width: 60px; }
	#srchPopup .srchInput button span { display: none; }
	#srchPopup .srchOpt label { margin: 5px 10px; }
}

@media only print {
	.insiteToolsBtn, .insiteToolsSwitchBtn,
	header .r,
	#mainLay > aside { display: none; }
	header { padding: 30px 0; }
}