/**
 * DOCman-like styles for Phoca Download (UKMA migration).
 * Adapted from com_docman themes/default/css/theme.css
 */

#dm_docs img,
#dm_cats img,
.dm_cat img { border: 0 none; }

h1.dm_title,
h2.dm_title,
h3.dm_title { width: auto !important; margin: 0 !important; padding: 0 !important; }

.dm_phoca .clr { clear: both; }

#dm_header {
	height: 55px;
	border-bottom: 1px dotted #ddd;
	text-align: center;
}
#dm_header div {
	float: left;
	padding: 3px;
	width: 30%;
}
#dm_header a,
#dm_header span {
	display: block;
	padding-bottom: 5px;
	text-decoration: none;
	text-align: center;
}

.dm_row { background: url(../images/dm/bg-gradient.png) repeat-x; }

#dm_cats { text-align: left; }
#dm_cats h2.dm_title { margin: 14px 0 !important; display: none; }
#dm_cats h3.dm_title { margin: 0 0 7px 0 !important; }
#dm_cats .dm_row { padding: 15px; }
#dm_cats .dm_row img {
	float: left !important;
	margin: 0 2px 0 0 !important;
	padding: 0 !important;
}

.dm_cat { padding: 10px 0; }
.dm_cat h1.dm_title { margin: 0 0 10px 0 !important; font-size: 2em; }
.dm_cat img.dm_thumb-left { margin: 0 2px 0 0 !important; float: left !important; }

#dm_docs { text-align: left; }
#dm_docs i { display: none; } /* hide «Документи відсутні» like DOCman theme */
#dm_docs h2.dm_title { margin: 14px 0 !important; display: none; }
#dm_docs h3.dm_title {
	margin: 0 0 10px 0 !important;
	padding: 15px 0 5px 0 !important;
	min-height: 30px !important;
	height: auto !important;
}
#dm_docs h3.dm_title img { float: left !important; margin: 0 2px 0 0; }
#dm_docs .dm_row { padding: 0 15px 15px 15px; line-height: 1.2em; }

#dm_docs .dm_row .dm_details {
	float: right;
	width: 200px;
	margin: 0 0 0 10px;
}
#dm_docs .dm_row .dm_details table {
	padding: 5px 0 0 0 !important;
	margin: 0 !important;
	border: 1px dotted #D0D0D0;
	width: 100%;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
}
#dm_docs .dm_row .dm_details td {
	padding: 0 0 5px 5px !important;
	margin: 0 !important;
}

.dm_orderby {
	margin: 10px 0;
	padding: 3px 1px 0 10px;
	height: 17px;
	background: url(../images/dm/bg-header.png) #F8F8F8 bottom repeat-x;
	border: 1px solid #eee;
}

.dm_taskbar {
	padding: 0 0 6px 0;
	margin: 0 0 6px 0;
	list-style-type: none;
}
.dm_taskbar ul {
	margin: 0 !important;
	padding: 0 !important;
}
.dm_taskbar li {
	float: left !important;
	list-style-type: none !important;
	background-image: none !important;
	padding: 0 5px 0 0 !important;
	margin: 0.5em 0 2px 0 !important;
}
.dm_taskbar li a {
	display: block;
	padding: 4px 15px;
	background: url(../images/dm/button.png) #F8F8F8 bottom repeat-x;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	text-decoration: none;
}
.dm_taskbar li a:link,
.dm_taskbar li a:visited {
	border: 1px solid #cecece;
}
.dm_taskbar li a:hover {
	border-bottom: 1px solid #cecece;
	border-top: 1px solid Gray;
	border-right: 1px solid #cecece;
	border-left: 1px solid Gray;
	text-decoration: none;
}

/* Hide Phoca Bootstrap modal shells when CSS for .modal is missing */
.dm_phoca .modal,
.pd-category-view .modal,
.pd-categories-view .modal {
	display: none !important;
}
