#header .header-logo a { font-size: 35px; color: #4f3c62; text-decoration: none; }

.page-header.page-header-modern.page-header-md { padding: 20px 0; }

.pb-5, .py-5 { margin-top: 0px !important; margin-bottom: 0px !important; }
#footer .footer-copyright p { color: white; }
#footer .footer-copyright .mb-4, #footer .footer-copyright .my-4 { margin-bottom: 0px !important; }
#footer .footer-copyright .pb-4, #footer .footer-copyright .py-4 { padding-top: 5px !important; padding-bottom: 5px !important; }
#footer .py-5, #footer .pb-5 { padding-top: 10px !important; padding-bottom: 10px !important; }
#footer .container.mb-4, #footer .container.my-4 { margin-bottom: 0px !important; }
#footer .row.py-5 { padding-bottom: 0px !important; }
#footer a { color: white!important; }

table.table thead th { color: #0088CC; padding: 2px 4px !important; border-top: none !important; border-bottom: 1px solid #0088CC !important; font-size: 15px; }
table.table tbody td { padding: 4px; }
table.table  i { font-size: 18px; }
table.table  i.green { color: #28a745; }
table.table  i.red { color: #e36159; }
table.table  .column-functions i { margin: 0 3px; }
@media (max-width:991px) {
	table.table  .column-functions i { margin: 0 3px 0 0; }
}
table.table .row-second { margin-top: 3px; }
@media (max-width:991px) {
	table.table .column-functions .row-second { margin-top: 0; }
}
table.table .only-row-second { margin-top: 37px; }
.pointer { cursor: pointer; }
.btn-modern i { margin-right: 3px; }

label { line-height: 23px; margin-bottom: 5px; }
label.weight { font-weight: bold; }
.form-row { margin-bottom: 15px; }
.form-group { margin-bottom: 3px; }
.form-group label { line-height: 34px; height: 34px; margin-bottom: 0;; }
.form-group .custom-text { line-height: 32px; }
.form-group .description { font-style: italic; color: #a7a7a7; }

.form-group .custom-text.custom-text-input { display: block; width: 100%; font-size: 0.85rem; height: calc(1.5em + .75rem + 2px); line-height: 1.55; color: black; background-color: #f7f6f6; border: 1px solid rgba(0, 0, 0, 0.35); border-radius: .25rem; padding: .375rem .75rem; }
@media (max-width:991px){
    .form-group .custom-text.custom-text-input { border-color: black; }
}

.fancybox-title { font-size: 20px; margin-bottom: 20px; }

.pagination { margin-top: 25px; }
.pagination .nomobile { display: none; }
@media (min-width:992px){
	.pagination .nomobile { display: inline; }
	#header a.login-link { margin-left: 40px!important; }
}

.pagination .page-item-count span { color: #4f3c62; }
.pagination .page-item-count .page-link { border-color: white; }
.pagination .page-item-count .page-link:hover { background-color: white; color: #4f3c62; }

.object-add-block { margin: 5px 0 15px; }
.object-add-block div { padding-right: 0; padding-left: 0; }
.object-add-block a { padding: 10px 15px; background-color: #28a745; border-color: #28a745; }
.object-add-block a:hover { background-color: #28a745; border-color: #28a745; }

.sort-block { margin: 0 0 15px; }
.sort-block .col-lg-12 { padding-right: 0; padding-left: 0; }
.sort-block .label { float: left; width: 90px; line-height: 33px; padding-left: 5px; }
.sort-block .select { width: 160px; padding-right: 5px; float: right; }

@media (min-width:992px){
	.object-add-block{ text-align: right; }
	.sort-block { float: right; }
	.sort-block .label {padding-left: 0; }
	.sort-block .select { float: left; padding-right: 0; }
}

@media (max-width:991px){
	#header .header-nav-main { top: 75px;  }
	#mainNav { border: 1px solid #ccc; border-radius: 3px; padding: 5px 0;  }
	
	body { color: black; }
	.form-block { border: 1px solid #ccc; }
	.form-control { border-color: black; }
}

.clearfix { clear: both; }


.sort span { float: left; }
.sort a { float: right; margin: -3px 5px 0 0; color: #d7d7d7; }
.sort a.active, .sort a:hover { color: green; }

textarea { border-color: rgba(0, 0, 0, 0.35); }

form .form-row.has-error label { color: red; }
form .form-row.has-error .form-control { border-color: red; }
form .form-row.has-error .custom-text.error-text { color: red; line-height: 20px; display: block; margin-top: 3px; }

.errors { color: red; }
.errors .title { font-weight: bold; }