/* This CSS file is needed from welcome - edit and preview pages */
:root {
	--primary-color: #005ea2;
	--secondary-color: #7b2588;
	--secondary-bg-color: #ece2ee;
	--light-gray-color: #dfe5ef;
	--gray-color: #676b74;
	--notification-color: #f2f2b9;
	--light-top-bg-color:rgb(183,212,231);
	--light-bottom-bg-color:rgb(224,241,252);	
	--btn-text-color: #333399;
	--primary-btn-color: #CCF099;
	--primary-btn-hover-color: #390;
	--red-color: #dd3431;
	--medium-bg-color:#1b99d1;
	--grey-bg-color: #999;
	--text-match-color: #015a93;
	--text-default-color: #1c1d1f;
	--dark-bg-color:#015a93;
	--text-hover-color:yellow;
	--login-bg-color: #6b1f7e;
	--login-text-color: white;
	--button-warning-color: #faaa66;	
	--button-action-color: #ccf099;	
	--button-failure-color: #ffcc99;	
	--button-secondary-color: #fff;
	--button-warning-hover-color: #9aaa33;	
	--button-action-hover-color: #30ae68;	
	--button-failure-hover-color: #ffcc99;
	--button-secondary-hover-color: #e1eeff;
	--button-text-color: #0d6efd;
	--bs-btn-disabled-color: #0d6efd;
    --bs-btn-disabled-bg: #d9dfe8;
    --bs-btn-disabled-border-color: #acb9c6;    
    --tab-bg-color: #dee5f0;
  	--tab-text-color: #0a57cb;
  	--label-text-color: #015a93;
  	--link-color: #0a57cb;
  	--bs-table-bg: white;
}

/* Reset */
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}

/* Fonts */
@font-face {
    font-family: publicsans;
    src: url(../fonts/PublicSans-VariableFont_wght.ttf);
}
body {
	font-size: 1rem;
	color: #1c1d1f;
}
body, input, select, textarea, button, .button {
	font-family: publicsans, sans-serif;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  /*color: #01395e;*/
}
p { line-height: 1.1; }
h1, .h1 {
  font-size: calc(1rem + 1.5vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.5rem;
  }
}

h2, .h2 {
  font-size: calc(1rem + 0.9vw);
}
@media (min-width: 1200px) {
}

h3, .h3 {
  font-size: calc(1rem + 0.6vw);
}
@media (min-width: 1200px) {
}

h4, .h4 {
  font-size: calc(1rem + 0.3vw);
}
@media (min-width: 1200px) {
}

h5, .h5 {
  font-size: 1.1rem;
}

h6, .h6 {
  font-size: 1rem;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
pre { 
  font-size: .875em;
}
button, .button {
	font-size: 1rem;
}

@media screen and (max-width: 500px)
{
    html #main
    {
        display: block;
    }
    html #register 
    {
        box-sizing: border-box;
        width: 100%;
    }
    html header
    {
        padding: 10px;
    }
}




* { margin: 0; padding: 0; }
html, body { height: 100%; }
input { padding: 1px; }
h1, h2, h3, h4 { margin-bottom: 5px; }
#preload { position: absolute; top: -1000px; left: -1000px; }
/*pre, body, input, select, textarea { font: 10px Verdana, sans-serif; }
pre, body { font-size: 14px; }*/
body {
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 15px;
    background-color: #E0F1FC !important;
}
#container
{
    background-color: #E0F1FC;
    max-width: 1360px;
    margin: auto;
    /*min-height: 70vh;*/
}
.strike { text-decoration: line-through; }
.block { display: block; }
.pre { white-space: pre-wrap; }
a { text-decoration: none; }
a.underline { text-decoration: underline; }
a:hover { text-decoration: underline; }
a.button:hover { text-decoration: none; }
p{ padding: 5px 0;}


li { margin-bottom: .5em; vertical-align: 50% }
select { min-width: 12em; }
.textright { text-align: right; }
.textleft { text-align: left; }
.justify { text-align: justify; }
.separate { margin-top: 8px; }
.relative, li.date { position: relative; }

.disable {
   pointer-events: none;
   cursor: default;
   color: #AAAAAA;
   font-weight: bold;
}

select.date 
{ 
	width:auto;
}
form.event select { min-width: 2em; }
.highlight
{
	background-color: #ffa !important;
	color: black !important;
	font-weight: bold !important;
}
dl { line-height: 1.5em; }
form.standard dl { display: inline-block; width: 100%; }
dt.separate, dd.separate, li.separate
{ 
    border-top: 1px solid #ccc;
    padding-top: 4px;
}
dl sup { line-height: .5em; }
dt
{
    margin: 0;
    padding-right: 4px;
    float: left;
    font-weight: bold;
    clear: left;
}
dd
{
    float: left;
    min-height: 1.5em;
    margin: 0;
    padding: 0;
}
dd.FT {clear:left; min-height: 0; } 
dd.FT pre { padding: 0; }
dl.colon dt:after { content: ": "; }
dl.colon dt.nocolon:after { content: ""; }
dl.dash dt:after { content: " — "; }
dl.info dt { clear: none; }
dl.info dd { margin-right: 5px; }
dl.info { clear: left; }
#content dd.pre, #content dd pre, div#content form.standard dd ul
{
	clear: left;
    margin: 1em;
    display: block;
}

dl.second_dl {
    border-left: 1px solid #CCCCCC;
    padding-left: 40px;
    vertical-align: top;
}
dl.first_dl
{
	padding-right: 40px;
}

div#content form.standard dd ul li
{
	margin-top:0; 
	margin-bottom:0	
}



iframe {background: transparent url(../images/loading.gif) no-repeat scroll 50% 50%;}
object 
{
    background: white url(../images/loading.gif) no-repeat scroll 50% 50%;
    width: 600px;
    min-height: 300px;
}

object[type="text/plain"]
{
    background: white url(../images/frontpage_background.png) no-repeat scroll 50% 50%;
}


.center, #content form.standard fieldset table td.center { text-align: center; }
.blockcenter { margin-left: auto !important; margin-right: auto !important; }
.hide, .screenhide 
{
    display: none !important;
}
.hide2
{
    opacity: 0;
    z-index: -1;
}
.hide508
{
	position:absolute; 
	left:0px; 
	top:-500px; 
	width:1px; 
	height:1px; 
	overflow:hidden;
}

.clear {clear: both;}
.float { float: left; } 
.floatright { float: right; }
.spacer{padding-top: 15px;}
.click { cursor: pointer; }
.last   { border: none!important; }

.inline
{
	display: inline !important;
    vertical-align: middle !important;
}

.disabled
{
    background-color: #ddd;
    color: black;
}
.errors
{
    color: red !important;
}

a img { border: none; }

.popuphelp:hover 
{
    cursor: help;
}
header
{
    background-color: var(--primary-color);
    color: white;
    padding: 20px 40px;
}

/*h1 
{
    font-size: 22px; 
    line-height: 26px;
}
h2 
{
    line-height: 36px;
    font-size: 32px; 
}
h3
{
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 0;
    color: var(--label-text-color);
}
h4
{
    font-size: 14px;
    margin-top: 20px;
}*/
h3:first-of-type { margin-top: 0; }

h1,h2,h3
{
    font-weight: normal;
}

header p
{
    /*font-size: 12px;
    line-height: 20px;*/
    margin-right: 20px;
    margin-bottom: 9px;
}
.register
{
    display: block;
    text-align: center;
   
}
#main .register .button { float: none; }
#register
{
    border-radius: 8px;
    background-color: var(--primary-color);
    /*padding: 4px 140px 4px 20px;*/
    position: relative;
    min-height: 20px;
    margin-right: 0;
    overflow: auto;
}
#register a { color: white; }
#register a:last-of-type
{
    /*position: absolute;
    right: 0;
    top: 0;
    bottom: 0;*/
    border-radius: 8px;
    background-color: var(--primary-btn-color);
    color: var(--btn-text-color);
    padding: 4px 30px;
    margin-top: 0;
    float: right;
}
#register a:last-of-type::after
{
    content: '▶';
    color: #7ea0ac;
    background-color: transparent;
    /*position: absolute;
    right: 15px;
    top: 13px;
    line-height: 0;*/
    padding-left: 5px;
}
#register a:last-of-type:hover
{
    background-color: var(--primary-btn-hover-color);
    color: white;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
	#register a:last-of-type {
		float: none;
		display: block;
		text-align: center;
		margin-top: 5px;
	}
}
#navlist
{
    /*font-size: 14px;*/
    text-align: right;
    background-color: var(--primary-color);
}
#navlist li
{
    padding: 9px 15px;
    display: inline-block;
    margin: 0;
}
#navlist li a
{
    color: #c8e0e8;
}

header h1 { font-size: 1.7rem; }
header h2 { font-size: 1.5rem; }
@media screen and (max-width: 768px) {
	html header h1,
	html header h2 {
		text-align: center;
	}
	#navlist {
		text-align: center;
	}
}
#main
{
    display: flex;
    position: relative;
    min-height: calc(100vh - 19rem);
}
@media screen and (max-width: 768px) {
	#main {	min-height: 20vh; }
}
#content, #section_MAIN
{
    flex: 3;
    padding: 20px 40px;
    background-color: white;
    color: #333;
}
@media screen and (max-width: 768px) {
	#sidebar, #section_SIDE,
	#content, #section_MAIN { padding: 15px; }
}
#content p,
#content ul,
#section_MAIN p,
#section_MAIN ul 
{ margin-bottom: 0; }

#content h3,
#section_MAIN h3 
{ clear: both; }

#content ul, 
#content ol,
#section_MAIN ul, 
#section_MAIN ol 
{ margin-top: 10px; }

#content a.button, 
#sidebar a.button,
#section_MAIN a.button, 
#section_SIDE a.button
{
    float: left;
    padding: 8px 20px;
    background-color: var(--primary-btn-color);
    color: color: var(--btn-text-color);
    margin-bottom: 30px;
    border-radius: 8px;
    /*font-size: 14px;*/
}
#content a.button:hover, 
#sidebar a.button:hover,
#section_MAIN a.button:hover, 
#section_SIDE a.button:hover
{ background-color: var(--primary-btn-hover-color); color: white; }

#sidebar a.button,
#section_SIDE a.button
{ float: none; }

#sidebar,
#section_SIDE
{
    flex: 1;
    background-color: #eee;
    color: #333;
    padding: 20px;
}
#content p,
#sidebar p,
#section_MAIN p,
#section_SIDE p
{
    /*font-size: 14px;
    line-height: 24px;*/
}

#content ul,
#content ol,
#section_MAIN ul,
#section_MAIN ol
{
    /*font-size: 14px;
    line-height: 18px;
    */
    margin-left: 20px;
}
#sidebar .location, 
#section_SIDE .location 
{ color: #333; }
#sidebar a, 
#section_SIDE a 
{ color: #0a8fbc; }

footer 
{
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    margin: 0;
    /*min-height: 170px;*/
    max-width: 1360px;
    margin: 0 auto;
}
footer ul { padding-left: 0; margin-left: 0; }
footer a, footer a:visited, footer a:hover { color: white; }
footer ul li { display: inline; }
footer ul li 
{
    padding: 0 7px 1px 3px;
    display: inline; 
    border-right: 1px solid white;
}
footer ul li:last-child { border: none; }

#edit
{
    display: block;
    text-align: center;
    background-color: white;
    /*font-size: 16px;*/
    padding: 4px;
}
/*
#govnotice {
    padding: 0 10px;
    margin: 0 10px;
    text-align: justify;
    display: inline-block;
    font-size: 10px;
    width: 70%;
}*/
#govnotice {
	color: var(--light-gray-color);
	width: 80%;
	padding: 0 10px;
	margin: 0 auto;
	font-size: 0.7rem;
	text-align: justify;
}
@media screen and (max-width: 768px) {
	#govnotice {
		width: 90%;
	}
}