
select {
	width: 155px;
	color: #00007F;
	font-family: "arial","lucida console",courier,sans-serif;
	font-size: 12px;
	font-weight: bold;
}

textarea {
	color: #11007F;
	font-family: "arial","lucida console",courier,sans-serif;
	font-size: 12px;
	font-weight: bold;
}

body {
	text-align: center;
	color: #00007F;
	font-family: "arial","lucida console",courier,sans-serif;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

a {
	color: #3A66CC;
}

input {
	color: #00007F;
	font-family: "arial","lucida console",courier,sans-serif;
	font-size: 12px;
	font-weight: bold;
}

table {
	font-size: 14px;
	font-weight: bold;
	margin: auto;
	border-spacing: 6px 0px;
}

table.popup {
	font-size: 12px;
	margin-top: 10px;
	vertical-align: middle;
}

form {
	text-align: center;
	margin: auto;
}

form.justified_form {
	text-align: justify;
	margin: auto;
	padding: 5px;
}

input.button {
	text-align: center;
	background-color: #9FBFFF;
	color: #00007F;
	border: 1px solid #00007F;
	padding-top: 2px;
}

div.header {
	background-image: url("../pics/logo.gif");
	background-position: center right;
    background-attachment: scroll;
	background-repeat: no-repeat;
	height: 45px;
	margin: 0px;
	padding-top: 35px;
	border-bottom: 10px solid #00007F;
	font-size: 28px;
	color: #777777;
}

div.logout {
	float: left;
	font-size: 10px;
	padding-bottom: 2px;
}

div.logout a {
	color: #999999;
	text-decoration: none;
}

div.handle {
	height: 20px;
	background-color: #00007F;
	color: #AFD7FF;
	font-size: 14px;
	text-align: center;
	padding-top: 4px;
	cursor: default;
	margin-bottom: 4px;
}

div.popupcontent {
	height: 340px;
	overflow: auto;
}

div.smallpopupcontent {
	height: 200px;
	text-align: center;
	vertical-align: middle;
	overflow: auto;
	padding-top: 5px;
}

div.trailing {
	height: 30px;
	text-align: center;
	padding-top: 4px;
	position: absolute;
	width: 400px;
	bottom: 0px;
	left: 0px;
	vertical-align: middle;
}

div.answers-radio {
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
}

div#container {
	text-align: justify;
	padding: 15px;
}

div#popup {
	text-align: justify;
	position: absolute;
	width: 400px;
	height: 400px;
	background-color: #AFD7FF;
	border: 1px solid black;
	display: none;
}

div#smallpopup {
	text-align: justify;
	position: absolute;
	width: 400px;
	height: 250px;
	line-height: 13px;
	background-color: #AFD7FF;
	border: 1px solid black;
	display: none;
}

div#confirm {
	text-align: center;
	width: 400px;
	height: 120px;
	position: absolute;
	background-color: #AFD7FF;
	border: 1px solid black;
	display: none;
	font-size: 12px;
	vertical-align: middle;
}

ul {
	margin-top: 0px;
}

ul.outer_list {
	font-size: 16px;
	line-height: 25px;
	list-style-image: none;
}

ul.inner_list {
	font-size: 14px;
	line-height: 25px;
	padding-left: 10px;
	margin-left: 10px;
	list-style-image: none;
}

ul.innest_list {
	font-size: 12px;
	line-height: 25px;
	padding-left: 10px;
	margin-left: 10px;
	color: #7F0000;
	list-style-image: none;
}

li.collapsed {
	list-style-image: url("../pics/collapsed.gif");
}

li.expanded {
	list-style-image: url("../pics/expanded.gif");
}

.cyr_temp_text {
	color: #999999;
}

.text_outer {
	font-size: 16px;
}

.text_inner {
	font-size: 14px;
}

.text_innest {
	font-size: 12px;
	color: #7F0000;
}

.info {
	color: #006F22;
	font-size: 14px;
}

.statement {
	text-align: justify;
	border-collapse: collapse;
	margin-bottom: 40px;
	background-color: #EEEEEE;
	width: 100%;
	padding: 0px;
}

.question {
	margin-bottom: 20px;
	font-size: 1.2em;
	color: #00007F; /*#AA2222;*/
	text-align: justify;
	border-bottom: 1px solid #00007F;
	border-top: 1px solid #00007F;
	border-right: none; /* 1px solid #00007F; */
	padding: 10px;
	background-color: #EEEEEE;
	width: 70%;
}

.questionheader {
	font-size: 16px;
	padding: 10px;
	background-color: white;
	text-align: left;
	border-bottom: 3px solid #00007F;
	border-top: 3px solid #00007F;
}

.comment {
	margin: auto;
	width: 800px;
	margin-bottom: 40px;
}

.answers {
	text-align: right;
	margin-right: 10px;
	width: 30%;
	border-bottom: 1px solid #00007F;
	border-top: 1px solid #00007F;
	border-left: none; /* 1px solid #00007F; */
	padding: 5px;
}

.error {
	color: #AF0033;
	text-align: center;
	font-size: 14px;
}

.important {
	color: #AF0033;
	text-align: center;
	font-size: 14px;
	background-color: #EF95A1;
}

.title_message {
	font-size: 20px;
}

.done {
	color: #459F62;
}

.notdone {
	color: #F60000;
}

.small_link {
	font-size: 10px;
	color: #777777;
}

.small_font {
	font-size: 10px;
	color: #459F62;
}

.large_font {
	font-size: 16px;
	color: #7F0000;
	text-decoration: underline;
}



/* Mobile media queries */
@media (max-width: 600px) {
    
    div.header {
        text-align: left;
        padding-left: 10px;
        position: relative;
        font-size: 1.5em;
    }
    
    div.logout {
        float: none;
        position: absolute;
        top: 5px;
        left: 5px;
        font-size: 0.5em;
    }
    
    .questionheader {
        display: none;
    }
    
    tr, td {
        width: 100% !important;
        display: block;
        border: none !important;
        box-sizing: border-box;
    }
    
    .statement tr {
        border-top: 1px solid #00007F !important;
    }
    
    td.answers {
        height: auto;
    }
    
    input[type=submit] {
        font-size: 1em;
    }
    
    td.question {
        margin-bottom: 0;
    }
    
    .statement td.answers tr {
        border-top: none !important;
    }
}