/*
Background: d4dfd0
Dark area: aec3ac
Highlight: 475c4d
*/

body
{
	background-color: #d4dfd0;
	font-family: sans-serif;
	margin: 1px;
}

/*  NAVBAR  */
div#headerbar
{

}
nav#navbar
{
	height: auto;
	background: -moz-linear-gradient(top, #e2e8e1, #d0ddcf);
	border-bottom: 1px solid #475c4d;
	border-top: 1px solid #eff3ef;
}

td.navbutton
{
	height: 30px;
	line-height: 30px;
	display: inline-block;
	border: 2px solid #475c4d;
	border-radius: 5px;
	position: relative;
	width: 160px;
	text-align: center;
}

span.navbutton-label
{
	font-size: 1.1em;
}

td#home-button
{
	width: 50px;
	font-size: 1.5em;
}

td.navbutton.dropdown .dropdown-container
{
	text-align: initial;
	display: none;
	position: absolute;
	top: 32px;
	left: 0px;
	padding-top: 3px;
	transition: all 0.4s;
}

td.navbutton, td.navbutton :visited, td.navbutton :link
{
	color: #475c4d;
	text-decoration: none;
}

td.navbutton.dropdown .dropdown-content
{
	border: 2px solid #475c4d;
	border-radius: 5px;
	display: inline-block;
	background-color: #aec3ac;
	min-width: 150px;
	width: auto;
	padding: 5px;
	padding-right: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
	z-index: 1;
}

td.navbutton.dropdown:hover .dropdown-container, td.navbutton.dropdown:hover .dropdown-content
{
	display: inline-block;
}

.dropdown-container ul
{
	padding-left: 5px;
	margin: 0px;
}

.dropdown-content li.dropdown-item, .dropdown-content li.submenu-item
{
	display: block;
	width: 100%;
	list-style-type: none;
	white-space: nowrap;
	position: relative;
}

.dropdown-content li.dropdown-item a
{
	display: block;
	padding: 0px 5px 0px 5px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, 0);
}

.dropdown-content li.dropdown-item a:hover
{
	border-color: #475c4d;
}

.dropdown-content li.dropdown-item a::before
{
	content: '\25b6  ';
}

.dropdown-content li.submenu > a::after
{
	content: '  \00bb';
}

.submenu-container
{
	display: none;
	position: absolute;
	top: -10px;
	left: 200px;
	padding-top: 0px;
	z-index: 2;
}

.submenu-content
{
	border: 2px solid #475c4d;
	border-radius: 5px;
	display: none;
	background-color: #aec3ac;
	min-width: 150px;
	width: auto;
	padding: 5px;
	padding-right: 30px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.dropdown-content li.category-button.submenu:hover .submenu-container, .dropdown-content li.category-button.submenu:hover .submenu-content
{
	display: block;
}


/*   BODY   */
div#body
{
	border-top: #eff3ef;
	padding-top: 5px;
	color: #475c4d;
}

div#body h3
{
	margin: 0px;
}

/*  Gallery entries  */
section#entry-list
{
	width: 640px;
	padding: 20px 0px 40px 0px;
}

article.gallery-entry
{
	margin: 20px;
	width: 600px;
	border: 2px solid #475c4d;
	border-radius: 5px;
	background-color: #aec3ac;
}

td.entry-download-link
{
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	text-transform: uppercase;
}
td.entry-download-link a
{
	color: #475c4d;
}

/*  Large entry  */
article.gallery-entry.image-view
{
	height: 400px;
}

article.gallery-entry.image-view>table
{
	border-collapse: collapse;
	height: 100%;
	right: 0px;
}

article.gallery-entry.image-view td
{
	border: 2px solid #475c4d;
}

article.gallery-entry.image-view td.entry-category
{
	width: 190px;
	height: 20px;
}

article.gallery-entry.image-view td.large-preview-container
{
	width: 405px;
}

img.large-preview
{
	display: block;
	max-height: 300px;
	width: auto;
	max-width: 400px;
	margin: auto;
}

article.gallery-entry.image-view thead
{
	height: 40px;
	font-size: 1.4em;
	text-align: left
}

article.gallery-entry.image-view thead th
{
	padding-left: 25px;
}

article.gallery-entry.image-view tr.entry-footer
{
	height: 40px;
}

article.gallery-entry.image-view td.entry-inner-table-container
{
	padding: 0px;
	width: ;
	max-width: 150px;
}

article.gallery-entry.image-view table.entry-inner-table
{
	width: 100px;
	height: 100%;
	margin: 0px;
	border-collapse: collapse;
}

article.gallery-entry.image-view table.entry-inner-table tr.entry-inner-data-row
{
	height: 12px;
}

article.gallery-entry.image-view table.entry-inner-table td {border: none;}
article.gallery-entry.image-view table.entry-inner-table td
{
	max-width: 50px;
}
article.gallery-entry.image-view table.entry-inner-table td.entry-description
{
	border-bottom: 2px solid #475c4d;
	vertical-align: top;
	max-width: 190px;
	min-width: 190px;
	overflow: hidden;
}
article.gallery-entry.image-view table.entry-inner-table td.entry-uploaded {border-bottom: 2px solid #475c4d; border-right: 2px solid #475c4d;}
article.gallery-entry.image-view table.entry-inner-table td.entry-download-count {border-top: 2px solid #475c4d; border-left: 2px solid #475c4d;}
article.gallery-entry.image-view table.entry-inner-table td.entry-file-size {border-top: 2px solid #475c4d; border-right: 2px solid #475c4d;}
article.gallery-entry.image-view table.entry-inner-table td.entry-file-list {border-top: 2px solid #475c4d;}

/*  Small entry  */
article.gallery-entry.list-view
{
	height: 150px;
}

article.gallery-entry.list-view>table
{
	height: 100%;
	width: 100%;
	border-collapse: collapse;
}

article.gallery-entry.list-view th
{
	text-align: left;
	padding-left: 25px;
}

article.gallery-entry.list-view tr
{
	height: 30px;
}

img.small-preview
{
	display: block;
	max-height: 100px;
	width: auto;
	max-width: 200px;
	margin: auto;
}

article.gallery-entry.list-view td.entry-description-button, article.gallery-entry.list-view td.entry-download-count
{
	width: 200px;
}
article.gallery-entry.list-view td.entry-description-button, article.gallery-entry.list-view td.entry-download-link
{
	text-align: center;
}
article.gallery-entry.list-view td.entry-download-count, article.gallery-entry.list-view td.entry-file-size
{
	text-align: right;
}
article.gallery-entry.list-view th.entry-head {border-bottom: 2px solid #475c4d; border-right: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-category {border-bottom: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-description-button {border-left: 2px solid #475c4d; border-bottom: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-download-count {border-left: 2px solid #475c4d; border-bottom: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-description-button {border-left: 2px solid #475c4d; border-bottom: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-file-size {border-left: 2px solid #475c4d;}
article.gallery-entry.list-view td.entry-download-link {border-left: 2px solid #475c4d;}


/*Layout border*/
div, td, main, article, th
{
	border: 0px blue solid;
}

/*Icons*/
span.entry-data-icon
{
	font-size: 0.8em;
}
span.entry-data-icon::before
{
	content: '';
	background: url('resources/icons/infobar_upload.png');
	background-repeat: none;
	height: 16px;
	width: 16px;
	display: inline-block;
}

span.entry-uploaded::before
{
	background: url('resources/icons/infobar_upload.png');
	background-repeat: none;
}
span.entry-updated::before
{
	background: url('resources/icons/infobar_clipboard.png');
	background-repeat: none;
}
span.entry-view-count::before
{
	background: url('resources/icons/infobar_view.png');
	background-repeat: none;
}
span.entry-download-count::before
{
	background: url('resources/icons/infobar_download.png');
	background-repeat: none;
}
span.entry-file-size::before
{
	background: url('resources/icons/infobar_disk.png');
	background-repeat: none;
}
span.entry-file-list::before
{
	background: url('resources/icons/infobar_list.png');
	background-repeat: none;
}
span::before
{
}*/