
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
    border:0;
    outline:0;
    font-weight:inherit;
    font-style:inherit;
    font-size:100%;
    font-family:inherit;
    vertical-align:baseline;
    margin:0;
    padding:0;
}

body {
	background-color: #ebd2a5;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
    /* Лічильник числа запитань */
    counter-reset: quest;
}

/* Шапка сторінки */
#page-header {
    margin: 0px auto;
    max-width: 480px;
    position: relative;
    padding: 10px 0;
    background-color: #EEE;
}

/* Підвал сторінки */
#page-footer {
    margin: 0px auto;
    margin-top: 3px;
    margin-bottom: 10px;
    max-width: 480px;
    position: relative;
    padding: 10px 0;
    height: 2em;
}

/* Розділи із запитанням і відповідями */
.question {
    counter-increment: quest;
    display: block;
    position: relative;
    margin: 0px auto;
    margin-top: 3px;
    max-width: 480px;
    padding: 16px 0;
    background-color: #CCFFFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    -webkit-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
 /*   font: normal 14px Helvetica, Arial, sans-serif;*/
}


/* Абзац із рисунком */
.image {
    margin-top: 8px;
    text-align: center;
}


/* Рисунок у запитанні */
.image > img {
   border: 0;
   width: 262px;
   height: 213px; 
}


/**/
input[type=checkbox] {
    margin-right: 0.4em;
}


/* Тег span за <input>:checked у розділі із запитанням */
input[type=checkbox]:checked + span {
    color: blue;
}


/* Font and texts */

.b16 {
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    font-family: arial, helvetica, sans-serif;
}


.b14 {
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    font-family: arial, helvetica, sans-serif;
}


/* Заголовок у розділі результатів */
.question .b14 {
    font-weight: bolder;
    margin-bottom: 1em;
}


.warning {
	color: #000000;
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    position: relative;
    text-align: center;
}

/* Текст запитання в розділі запитання */
.question > .vopros {
	color: #000000;
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-indent: 1em;
    text-align: left;
    /*margin-top: 10px;*/
    margin: 0 1em;
    /*margin-bottom: 0;*/
}

/* Запис значення лічильника перед текстом запитання */
.question > .vopros:before {
    content: counter(quest)". ";
}

/* Текст відповіді в розділі запитання */
.question .otvet {
	color: #000000;
    font-family: arial, helvetica, sans-serif;
    font-size: 12px; 
    font-weight: normal;
    text-align: left;
    text-indent: -2em;
    margin-left: 5em;
    margin-right: 1em;
    margin-top: 6px;
    margin-bottom: 0;
}


/* Блок меню Аккордеон */

.mini-menu{
    margin: 0px auto;
    max-width: 480px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    -webkit-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    font: normal 14px Helvetica, Arial, sans-serif;
}

.mini-menu ul {
    list-style: none;
    margin: 0;
    padding:0;
    text-align:left;
}

.mini-menu > ul > li {
    position: relative;
}

.mini-menu > ul > li > a {
    display: block;	
    outline: 0;	
    padding: .7em 1em;	
    text-decoration: none;	
    color:#C9C9C9; 
    font-weight: normal;  	
    text-shadow: 1px 1px 3px #111;	
    background: #333;
    border-bottom: 1px solid #222;
    background-image:-webkit-linear-gradient(#444, #333);
    background-image:-moz-linear-gradient(#444, #333);
    background-image:-ms-linear-gradient(#444, #333);
    background-image:linear-gradient(#444, #333);
    -webkit-box-shadow:inset 0 1px 0 0 rgba(250,250,250,0.1);
    -moz-box-shadow:inset 0 1px 0 0 rgba(250,250,250,0.1);
    box-shadow:inset 0 1px 0 0 rgba(250,250,250,0.1);
}

.mini-menu .sub > ul {
    counter-reset: items;
    height: 0;
    overflow: hidden;
    background: #eee;
    -webkit-box-shadow:inset 0 0 50px #bbb;
    -moz-box-shadow:inset 0 0 50px #bbb;
    box-shadow:inset 0 0 50px #bbb;
}


/* Назва теми тестування*/

.mini-menu .sub > ul > li > a {
    counter-increment: items;
/*    color:#514b92; */
    color: #000;
    font-size: 12px;
    display: block;
    text-decoration: none;
    text-indent: -1.5em;
    padding: 1em 1em 1em 2.5em;
    border-bottom: 1px dotted #bababa;
}

.selected {
    background-color: #FFF;
}


/* Підрахунок і запис порядкового номера тесту навчальної дисципліни перед його назвою */
.mini-menu .sub > ul > li > a:before{
    content: counter(items)". ";
}


/* Підрахунок і запис після назви навчальної дисципліни загального числа тем тестування */
.mini-menu .sub > ul:after {
    content: counter(items);
    font-size: 1em;
    display:inline-block;
    position: absolute;
    right: 10px;
    top: 6px;
    background: #333;
    line-height: 1em;
    padding: .5em .7em;
    color: #c9c9c9;
    text-indent: 0;
    text-align: center;
    text-shadow:0px 1px 0px rgba(0, 0, 0, .5);
    font-size: 0.8em;
    font-weight: 500;
    -webkit-border-radius:25%;
    -moz-border-radius:25%;
    border-radius:25%;
    -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
    -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
    box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
}

/* Розділ з кнопкою перевірки результату тестування */
#button_wrap {
	display:inline-block;
	position: absolute;
	left: 3em;
	top: 10px;
	padding: .5em 0;
}

/* Таймер */
#timer_wrap {
	font-size: 1.5em;
	display:inline-block;
	position: absolute;
	right: 2em;
    top: 8px;
    background: #eee;
    line-height: 1em;
    padding: .5em .7em;
   /* color: #555; */
    color: #008000;
    text-indent: 0;
    text-align: center;
    text-shadow:0px 1px 0px rgba(0, 0, 0, .5);
    font-weight: bold;
    -webkit-border-radius:25%;
    -moz-border-radius:25%;
    border-radius:25%;
    -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
    -moz-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
    box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, .26), 0px 1px 0px 0px rgba(255, 255, 255, .15);
}

.stop {
	color: #FF0000;
}


.pause {
    color: #008000;
}


/* Шторка */
#modal_bg{
    position:absolute;
    display: none;
    z-index:1000;
    left:0;
    top:0;
    background-color:#A8A8A8;
}


/* Службові вікна системи тестування */
#attention_wrap, #confirm_wrap, #error_wrap {
    position: fixed;
    display: none;
    z-index: 1100;
    width: 250px;
/*    min-height: 200px; */
    overflow: hidden;
   	padding:0;
	background-color:#EEE;
	border:#D0A2FF 4px double;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    -webkit-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
    box-shadow:0 0 8px rgba(0, 0, 0, 0.4);
}

/* Зображення (правий верхній кут), клік на якому закриває модальні вікна */
#attention_wrap div.close, #confirm_wrap div.close, #error_wrap div.close {
    background-image: url(../pictures/close_m.png);
    position:absolute;
	right: 0px;
	top: 0px;
	cursor:pointer;
	height:30px;
	width:30px;
    float: left;
    display: block;
 }


/* Заголовки модальних вікон */
#attention_head, #confirm_head, #error_head {
   	font-size: 16px;
	line-height: 36px;
	color: #333333;
	font-weight: bold;
	height: 36px;
	padding: 0px 30px 0px 20px;
	position: relative;
	margin: 0px;
    text-align: center;
    background-color: #ebd2a5;
}

/* Вміст вікон */
#attention_content, #confirm_content, #error_head {
    font-size: 14px;
    font-weight: normal;
    padding: 10px;
    text-align: left;
    background-color: #EEE;
}

/* Розділ з кнопками модальних вікон */
#confirm_buttons {
    background-color: #6e6e6e;
    margin: 0 5px 5px;
    padding: 5px;
    font-size: 12px;
    text-align: right;
}


/* Індикатор завантаження даних */
#data_load {
    position:fixed; 
    z-index:1200;
    /*Тут URL - або від корня сайта, або від поточного каталога*/
    /*background-image: url(../pictures/ajax-loader.gif);*/
    background-image: url(../pictures/camilla_load.gif);  
    height:48px;
	width:48px;
    left: 0;
    top: 0; 
    display:none;
}
   
/* -----------------------------------*/  
/* Розділ з результатами перевірки (таблиця) */
table.text  {
    width: auto; /* Ширина таблиці */
    border-spacing: 0;
    font-size: 110%;
    background-color: #FFF;
    margin-top: 10px;
    padding-top: 10px;
    margin: 8px auto;
}


table.text td {
    width: 50%; /* Ширина чарунок */
    margin: 8px auto;
    vertical-align: top; /* Вирівнювання тексту по верхньому краю */
    padding-left: 2em;
    text-align: left;
    padding-bottom: 8px;
}


/* Розділ з результатами аналізу відповідей */
/* Обгортка таблиці */
.item_wrap, .res_wrap {
    /* counter-increment: quest_n; */
    margin: 20px 20px;
    /*height: 400px;*/
    background-color: #FFF;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.item_wrap {
    counter-increment: quest_n;
}

/* Таблиця */
table.analis {
    width: auto; /* Ширина таблиці */
    border-collapse: collapse;
    font-size: 98%;
    margin: 5px auto; 
}

/* Заголовок таблиці */
th {
    font-size: 86%;
    font-weight: normal;
    font-style: italic;
    background: #CCC;
    text-align: center;
    padding: 4px 8px;
    vertical-align: middle;
    border-right: 2px solid white;
}

th:first-child {
    min-width: 15%;
    border-left: 2px solid white;
    
}


th:last-child {
    min-width: 10%;
}

/* Комірки таблиці */
.analis td {
    padding-top: 8px;
    text-align: center;
}


.analis td:first-child {
   vertical-align: top;
}

.analis td:nth-child(2) {
    padding-left: 4px;
    padding-right: 4px;
    text-align: left;
}

/* Текст правильної відповіді */
.analis td.valid {
   color: blueviolet;
}


/* Розділ <tfoot> таблиці */
.analis tfoot td {
    border-top: 1px solid #000;
    padding: 8px 2px 10px;
}


/* Друга комірка <tfoot> таблиці */
.analis tfoot td:nth-child(2) {
    text-align: right;
    font-style: italic;
}

/* Друга комірка останнього рядка <tbody> таблиці .analis */
.analis tbody tr:last-child td:nth-child(2) {
    padding-bottom: 8px;
}


/* Текст запитання*/
.quest_text {
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
    padding: 1em 1em 0;
    text-align: left;
}


p.quest_text span {
    font-style: italic;
}


.question > .item_wrap > .quest_text:before {
    content: counter(quest_n)". ";
}

/* Відмітка про вибір студентом даної відповіді */
.analis tbody td:first-child img {
    width: 16px;
    height: 16px;
}

