/*
Title:   Bozho's Master StyleSheet
Author:  Bozhidar Zakhariev Iliev (Bozho)
Purpose: Reset the default browser CSS settings that may cause problems in cross-browser Web design
Where to load: It MUST be the FIRST stylesheet called in all web pages.
               ALL OTHER STYLESHEETS MUST BE LOADED AFTER IT !!!
			   In this way the LOCAL EFFECTS OVERWRITE THE GLOBAL ONES.
*/

/* Rules */
/* at-rule @viewport is not implemented */
/*    width: device-width; */
/*@viewport{
    zoom: 1.0;
	width: extend-to-zoom;
}*/
	
/* ==================================================================
   HTML5 display definitions
   ================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
    display: block;
}
audio,
canvas,
video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
 [hidden] {
    display: none;
}

/* ==================================================================
   Base - Global Default Setting
   ================================================================== */

html, body {
	display: block; /* Browsers dafault */
	margin: 0px;
	padding: 0px;
	border: none;
}
body {
	font-size: 15px;
	line-height: normal; /* CSS default, roughly 1.2, depending on the element's font-family. */
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
/*	margin: 8px; */ /* FireFox */
}
/* for ALL tags - NOT recomended */
/* * {
	padding: 0px;
	margin: 0px;
} */

/*:link, :visited { text-decoration: underline; }*/
:focus {outline: 2px dotted invert; }


/* ==================================================================
   Links
   ================================================================== */


/***  Links - Be carefull! OVERWRITES THE LOCAL CLASSES! ***/
a, a:link, a:visited, a:active, a:hover {
	text-decoration: underline;
    font-size: 100%;
    vertical-align: baseline;
/*    background: transparent; */ /* VERY BAD !!!*/
}
a:focus {
	outline: 2px dotted;
}
a:active,
a:hover {
	outline: 0;
}

/* ==================================================================
   Typography - Plain Text Formatting
   ================================================================== */


/***  Headline Formatting - Headings   ***/
h1, h2, h3, h4, h5, h6 {
	display: block;  /* Browsers dafault */
	padding: 0px;
	font-weight: bold; /* Browsers dafault */
	font-family: "Times New Roman", Times, serif;
}
h1 {font-size: 200%; margin: 0.67em 0; letter-spacing: -1px; }
h2 {font-size: 150%; margin: 0.83em 0; letter-spacing: -1px; }
h3 {font-size: 117%; margin: 1.00em 0; }
h4 {font-size: 100%; margin: 1.33em 0; }
h5 {font-size:  83%; margin: 1.67em 0; }
h6 {font-size:  67%; margin: 2.33em 0; }

acronym, abbr {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
	font-weight: inherit;
	cursor: help;
	border-bottom: dashed 1px;
}
abbr[title] {border-bottom: 1px dotted; }

address {
	display: block;
	font-style: italic;
}

b, strong {font-weight: bolder; } /*normal=400, bold=700  */

blockquote { /* A section that is quoted from another source */
	display: block;
	margin: 1em 2.5em;
	padding: 0px;
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
	font-weight: inherit;
}
/* Quote and their types */
q {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
	font-weight: inherit;
	font-style: italic;
    quotes: "\201C" "\201D" "\2018" "\2019";
}
:lang(en-us)>q {
  quotes: "\201c" "\201d" "\2018" "\2019";
}
:lang(en-gb)>q {
quotes: "\2018" "\2019" "\201c" "\201d";
}
q:before {content: open-quote; }
q:after {content: close-quote; }

i, cite, em, var, dfn {
	font-style: italic;
}

center {
	display: block;
	text-align: center;
}

hr { /* change border colour to suit your needs */
	display: block;
	box-sizing: content-box;
	margin: 0.2em auto 0.2em auto;
    padding:0;
	height: 2px;
	border: 1px inset;
	color: gray;
}

mark {/* change colours to suit your needs */
	background-color:#ff9;
	color:#000; 
	font-style:italic;
	font-weight:bold;
}

code,
kbd,
pre,
samp {
   font-family: inherit;
/*     font-size: 1em;*/
}
pre {
	display: block;
	white-space: pre;
/*	margin: 1em 0;*/
	margin: 0;
}

p {display: block; } /* Browsers dafault */

/* big and small font sizes */
big {   font-size: 120%; }
small {font-size: 0.85%; }

/* SuperScripts and SubScripts */
sub,sup{
	position: relative;
	font-size: 85%;
	line-height: normal;
 /*   vertical-align: baseline;*/
}
sup {vertical-align: baseline; bottom: 0.3em;  /*vertical-align: super; */ }
sub {vertical-align: baseline; bottom: -0.2em; /*vertical-align: sub; */}

nobr {white-space: nowrap; }

 
/* decorated text */
u, ins {        text-decoration: underline; }
s, strike, del {text-decoration: line-through; }
blink {         text-decoration: blink; }

/* ==================================================================
   Embedded content
   ================================================================== */

/***  Images   ***/
img {border: none; }

/*svg:not(:root) {overflow: hidden; }*/ /* Correct bug in IE 8/9 */

/* ==================================================================
   Figures
   ================================================================== */

figure {
	margin: 0;
}

/* ==================================================================
   Forms
   ================================================================== */

form {
	margin: 0px;
	padding: 0px;
/*	display: inline;*/
	display: block; /* Browsers default */
	font-size: 100%;
    outline: invert none 4px; /* Default,  "invert" color is supported only in Opera */
    vertical-align:baseline;
    background:transparent;
}
form input,
form select,
form textarea {
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
	font-weight: inherit;
	text-transform: none;
}
form label {cursor:pointer; }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.3em 0.5em 0.3em 0.5em;
}
legend {
	border: 0; 
	padding: 0;
}
button {
	font-family: inherit;
	font-size: 100%;
	margin: 0;
	line-height: normal;
	text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
}
button[disabled],
html input[disabled] {
	cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="search"] {
	box-sizing: content-box;
}
input {
	resize: horizontal;}
textarea {
	vertical-align: top;
	overflow:auto; /* scroll|auto|hidden|visible */ /* resize does not apply if overflow property is set to visible */
	resize:both; /* none|horizontal|vertical|both */
}

/* ==================================================================
   Tables
   ================================================================== */

table {
	display: table;
	border-spacing: 2px;
	border-collapse: separate;
	margin: 0px;
	padding: 0px;
	border: none;
	text-indent: 0;
}
caption {/* caption inherits from table not table-outer */
	display: table-caption;
	text-align: center;
}
tr {  display: table-row; vertical-align: inherit; }
col { display: table-column; }
colgroup {display: table-column-group; }
tbody {display: table-row-group; vertical-align: middle; }
thead {display: table-header-group; vertical-align: middle; }
tfoot {display: table-footer-group; vertical-align: middle; }
table > tr {vertical-align: middle; } /* for XHTML tables without tbody */
td, th {
	display: table-cell;
	margin: 0px;
	padding: 1px;
	vertical-align: inherit;
	text-align: inherit; 
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
}
/*td {font-weight: normal; }*/
td {font-weight: inherit; }/* Bettter and Easer for coding*/
th {font-weight: bold; }

/* ==================================================================
   Lists
   ================================================================== */

ul, menu, dir {
	display: block;
	list-style-type: disc;
	margin: 1em 0 1em 0em;
	font-family: inherit;
	font-weight: inherit;
}
ol {
	display: block;
	list-style-type: decimal;
	margin: 1em 0 1em 0em;
	font-family: inherit;
	font-weight: inherit;
}
li {display: list-item; }
	/* nested lists have no top/bottom margins */
ul ul,   ul ol,   ul dir,   ul menu,   ul dl,
ol ul,   ol ol,   ol dir,   ol menu,   ol dl,
dir ul,  dir ol,  dir dir,  dir menu,  dir dl,
menu ul, menu ol, menu dir, menu menu, menu dl,
dl ul,   dl ol,   dl dir,   dl menu,   dl dl 
{
	margin-top: 0;
	margin-bottom: 0;
}
	/* 2 deep unordered lists use a circle */
ol ul,   ul ul,   menu ul,   dir ul,
ol menu, ul menu, menu menu, dir menu,
ol dir,  ul dir,  menu dir,  dir dir 
{
	list-style-type: circle;
}
	/* 3 deep (or more) unordered lists use a square */
ol ol ul,     ol ul ul,     ol menu ul,     ol dir ul,
ol ol menu,   ol ul menu,   ol menu menu,   ol dir menu,
ol ol dir,    ol ul dir,    ol menu dir,    ol dir dir,
ul ol ul,     ul ul ul,     ul menu ul,     ul dir ul,
ul ol menu,   ul ul menu,   ul menu menu,   ul dir menu,
ul ol dir,    ul ul dir,    ul menu dir,    ul dir dir,
menu ol ul,   menu ul ul,   menu menu ul,   menu dir ul,
menu ol menu, menu ul menu, menu menu menu, menu dir menu,
menu ol dir,  menu ul dir,  menu menu dir,  menu dir dir,
dir ol ul,    dir ul ul,    dir menu ul,    dir dir ul,
dir ol menu,  dir ul menu,  dir menu menu,  dir dir menu,
dir ol dir,   dir ul dir,   dir menu dir,   dir dir dir 
{
	list-style-type: square;
}

dd, dt {/* definition list */
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	line-height: normal;
	font-family: inherit; /*"Times New Roman", Times, serif;*/
	font-weight: inherit;
}

nav ul { /* navigation unoredted list */
	list-style: none;
}

/***  Site Common Classes   ***/

/***   Debugging - Add borders to identify containers   ***/
/*  * { border: 1px solid #f00; }  */




