html {
    overflow: hidden;
}

body {

}

/**
    Page layout
 */

 img#logo_site {
    width: 200px;
    height: 100px;
    margin: 0px 15px;
 }

 a#refresh {
     width: 232px !important;
 }

.container-index   {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

a.navbar-brand {
    width: 202px !important;
    margin-right: 0px !important;
}

/**
    Contents nav
 */

nav#contents {
    height: 200px;
    margin-top: 5px;
    overflow: hidden;
}

nav#contents div {
    position: relative;
    margin: 0;
    padding: 0;
    height: 20px;
}
nav#contents div a.prev ,
nav#contents div a.next {
    content:'';
    display: block;
    z-index: 10;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    font-size: 20px;
    height: 20px;
    width: 22px;
    position: absolute;
    top: 1px;
}
nav#contents div a.prev {
    background-image: url(/image/left-arrow.svg);
    left: 0;
}
nav#contents div a.next {
    background-image: url(/image/right-arrow.svg);
    right: 0;
}

nav#contents ul {
    position:relative;
    white-space: nowrap;
    word-wrap: normal;
    height: 20px;
    padding-left: 1px;
}

nav#contents div ul {
    position:relative;
    white-space: nowrap;
    word-wrap: normal;
    height: 22px;
    padding-left: 1px;
}

nav#contents ul li, nav#categories div ul li {
    display: inline;
    padding: 1px 7px;
    background-color: #fff;
    color: #333333;
    border: 1px solid #1f628d;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background-image: -webkit-linear-gradient(top, #FFFFFF, #D8D8D8);
    background-image: -moz-linear-gradient(top, #FFFFFF, #D8D8D8);
    background-image: -ms-linear-gradient(top, #FFFFFF, #D8D8D8);
    background-image: -o-linear-gradient(top, #FFFFFF, #D8D8D8);
    background-image: linear-gradient(to bottom, #FFFFFF, #D8D8D8);
}

nav#categories div ul li {
    display: inline-block;
    font-size: 12px;
}

nav#categories div ul {
    padding-left: 20px;
    margin: 0;
}

nav#contents ul li:hover {
    background-color:rgb(187, 190, 190) !important;
    background-image: linear-gradient(to bottom, rgb(187, 190, 190), rgb(187, 190, 190));
}


nav#contents ul li.new, nav div ul li.new, nav#categories ul li.new {
    background-color:#DDD !important;
    background-image: linear-gradient(to bottom, #DDD, #DDD);
}

nav#contents ul li.active, nav div ul li.active, nav#categories ul li.active {
    background-color:#ff6e01 !important;
    background-image: linear-gradient(to bottom, #ff6e01, #ff6e01);
}


nav#categories > div[data-depth='1'] {
    padding-left: 5px;
}

nav#categories div[data-depth='2'] {
    padding-left: 10px;
}

nav#categories div[data-depth='3'] {
    padding-left: 15px;
}

nav#categories div[data-depth='4'] {
    padding-left: 20px;
}

div#search-bar p {
    margin: auto;
    padding-right: 20px;
}

dt#addressField button {
    background-color: rgb(255, 255, 255);
    color: rgb(51, 51, 51);
    font-size: 14px;
    cursor: pointer;
    background-image: linear-gradient(rgb(255, 255, 255), rgb(216, 216, 216));
    padding: 0px 7px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(31, 98, 141);
    border-image: initial;
    border-radius: 5px;
    margin-left: 5px;
}

dt#addressField input {
    height: 22px;
}

#logo-acc {
    width: 75px;
    height: 75px;
}

/**
    Content div
 */

 div#media iframe {
     width: 100%;
     height: 100%;
     border-width: 0px;
 }

 div#media img {
     width: 100%;
     height: 100%;
 }

 p#title {
     font-size: 17px;
 }

 p#idTitle {
    padding: 0px 20px;
    font-size: 14px;
 }

body
{

}
html #hBox dl *
{
    font-family: Georgia;
    font-weight: normal;
}
#hBox>dl>dt
{
    font-size: 20px;
    line-height: 1.8em;
    min-height: 1.8em;
    padding-left: 4px;
}

#hBox
{
    display: flex;
    align-items:stretch;
    justify-content: flex-start; /*space-between;*/
}
#treeForm
{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items:stretch;

}
#treeForm>#categories
{
    /*width: 232px;*/
    flex-grow: 1;
    /*border: 1px solid grey;*/
}
#treeForm>img
{
    width: 200px !important;
    max-height: 200px !important;
}

#col2,
#col1
{
    display: flex;
    flex-direction: column;
}
#col1
{
    align-items: stretch;
}

#col1>dt
{
    /*color: #ff6e01;*/
    flex-grow: 0;
}

#col1>dd
{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#col1>dd>dl
{
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
}

#col1>dd>dl>dt
{
    flex-grow: 0;
}
#col1>dd>dl>dd
{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4px;
}
#col1>dd>dl>dd>ol
{
    padding-top: 4px;
    flex-grow: 0;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}
html, body {
    overflow: hidden;

}

.jstree-default .jstree-node {
    min-height: 24px;
    line-height: 24px;
    margin-left: 16px;
    min-width: 10px;
}
.jstree-default .jstree-anchor {
    line-height: 24px;
    height: 24px;
}
.jstree-default .jstree-icon {
    width: 18px;
    height: 24px;
    line-height: 24px;
}
.jstree-default .jstree-icon:empty {
    width: 18px;
    height: 24px;
    line-height: 24px;
}
.jstree-default.jstree-rtl .jstree-node {
    margin-right: 18px;
}
.jstree-default .jstree-wholerow {
    height: 24px;
}

.jstree-default > .jstree-no-dots .jstree-closed > .jstree-ocl {
    background-position: -4px -4px;
}

#addressField
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    align-items: center;
}

#addressField>span:first-of-type
{
    flex-grow: 1;
}
#addressField>input
{
    display: inline-block;
    font-size: 12px;
    width: 200px;
    line-height: 20px;
    height:18px;
    vertical-align: baseline;
}
#addressField>button
{
    font-size: 12px;
    margin: 0 4px;
}

#descField
{
    font-size: 14px;
}

#siteField, #wikiField, #wikiField *, #siteField *
{
    font-size: 16px;
}
#wikiField a, #siteField a
{
    text-decoration: underline;
}



/* RESET */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code,
	form, fieldset, legend, input, textarea, p, blockquote, th, td {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size-adjust: none;
	text-align: left;
	color: #333333;
}

table {
	border-collapse: collapse;
	border-spacing: 0px;
}

img {
	border: 0px none;
}

address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: normal;
}

li {
	list-style: none outside none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before, q:after {
	content: "";
}

abbr, acronym {
	border: 0px none;
	font-variant: normal;
}

sup {
	vertical-align: text-top;
}

sub {
	vertical-align: text-bottom;
}

input, textarea, select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-size: 100%;
}

legend {
	color: #333333;
}

a, a:visited, a:focus {
	color: inherit;
	outline: 0px none;
	text-decoration: none;
}
