body {
    margin: 0;
    padding: 0;
    font-size: 10pt;
    font-family: Trebuchet MS, Verdana, Tahoma, Arial, Sans-Serif;
    text-align: center;
    background:white;
   
}
 
#notice {
    background: orange;
    color: #333366;
    padding: 5px;
    font-size: 1.2em;
    margin-bottom: 5px;
 }
 
#wrapper {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    
}

#wrapper > div.block {
    border: 1px solid #dedfdf;
    margin: 10px 0 10px 0;
}

.ui-autocomplete {
		max-height: 100px;
		overflow-y: auto;
		/* prevent horizontal scrollbar */
		overflow-x: hidden;
		/* add padding to account for vertical scrollbar */
		padding-right: 20px;
        position: absolute;
        background: white;
	}
.bottomSeparator {
    border-bottom: 5px solid #ccccff;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.inline > li {
    float: right;
}

ul.inline:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

ul.languages {
    font-size: 1.4em;
    font-family: Tahoma;
}

ul.languages a {
    display: block;
    padding: 5px;
    text-decoration: none;
    color: #333366;
}

ul.languages a:hover {
    text-decoration: underline;
}

ul.languages a.selected {
    font-weight: bold;
    background: #333366;
    color: #ccccff;
    text-decoration: none;
}

ul.dictionaries {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
    background: url(../images/gfx/header.png) top left repeat-x;
}

ul.dictionaries > li {
    float: left;
    width: 239px;
    height: 40px;
    border-left: 1px solid black;
    background: url(../images/gfx/header.png) top left repeat-x;
    position: relative;
    
}

ul.dictionaries > li:hover {
    background: url(../images/gfx/header-dark.png) top left repeat-x;
}

ul.dictionaries > li > a {
    display: block; 
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px;
    text-align: center;
    color: #ccccff;
    position: absolute;
    font-weight: bold;
    border-left: 1px solid #666699;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

ul.dictionaries > li.selected {
    background: url(../images/gfx/header-selected.png) top left;
    
}

div.searchbox {
    padding: 5px;
    font-size: 1.2em;
    text-align: center;
    background: #ccccff;
    margin-top: 10px;
    border-radius: 25px;
    color: #333366;
}

div.searchbox > input {
    font-size: 1em;
    margin: 0;
    padding: 2px;
    font-weight: bold;
}

ul.tabs {
}

ul.tabs > li {
    float: left;
}

ul.tabs > li > a {
    display: block;
    text-decoration: none;
    padding: 5px;
    margin-left: 1px;
    margin-bottom: 1px;
    text-align: center;
    color: #ccccff;
    background: #333366;
    font-weight: bold;
    font-size: 1.2em;
    
}

ul.tabs > li > a:hover {
    background: #666699;
    color: white;
}

ul.tabs > li > a.selected {
    background: #666699;
    color: white;
}

ul.labels {
    width: 860px;
    float: left;
}

ul.sorters {
    width: 100px;
    float: left;
}

ul.sorters > li {
    width: 100px;
    
}

div.content {
    position: relative;
    background: #f7f7f7 url(../images/logos/KISRcolor.png) center center no-repeat;
    overflow: auto; /* necessary to trigger haslayout in ie7 */
}

div.content > ul.phrases {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 200px;
    overflow: auto;
    background: #666699;
}

div.content > .hidden {
    visibility: hidden;
}

div.content > ul.phrases > li {

}

div.content > ul.phrases > li > a {
    display: block;
    border-bottom: 1px solid white;
    text-decoration: none;
    padding: 5px;
    font-size: 1.2em;
    background: #666699;
    color: white;
    font-weight: bold;
    border-right: 10px solid #333366;
}

div.content > ul.phrases > li > a:hover {
    background: #333366;
    color: #ccccff;
}

div.content > div.viewer {
    margin-right: 200px;
    padding: 10px;
    
}

h1 {
    padding: 10px;
    margin: 0;
    font-size: 2em;
    font-weight: bold;
    background: #ccccff;
    color: #333366;
    text-align: center;
    border-radius: 25px;
    clear: both;
}

div.content > div.viewer > div.block {
    width: 320px;
    height: 240px;
    border: 1px solid #333366;
    float: right;
    margin: 10px;
    background: white;
    overflow: hidden;
}

#videos {
    margin-right: 40px;
}

div.content > div.viewer > div.block > p {
    display: none;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

div.footer, div.contact {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
	padding: 10px;
    margin-top: 20px;
}

div.footer > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

div.footer > ul > li {
	margin: 0;
	padding: 0;
	float: right;
	margin-left: 10px;
	margin-right: 10px;
	font-size: 1em;
}

div.footer > ul > li:first-child {
    float: left;
}

div.footer > ul > li img {
	border: 0;
	margin: 5px;
}

div.contact {
    text-align: left;
    background: #dedfdf;
}

div.contact img {
    display: block;
    clear: both;
    float: right;
}
div.contact a {
    float: right;
    font-size: 1.4em;
    color: #333366;
    font-family: Tahoma;
}

div.contact p {
    margin: 5px;
    padding: 0;
    font-size: 1.2em;
    color: #333366;
    }