.modal-body {
	padding: 0;
}

.modal-footer {
	border: none;
}

.modal .portlet.light.bordered {
	margin-bottom: 0;
}

.portlet.box .dataTables_wrapper .dt-buttons {
	margin-top: -57px;
}

.has-error .help-block-error {
	font-size: 12px;
}

.table-scrollable .dataTable td>.btn-group, 
.table-scrollable .dataTable th>.btn-group {
	margin-top: -10px;
}

.select2-container--bootstrap {
	width: 100% !important;
}

.mt-checkbox-inline, .mt-radio-inline {
	padding: 0;
}

.page-logo h2 {
	color: #fff;
	margin: 0;
	padding: 6px 0;
	font-weight: 600;
	letter-spacing: 2px;
}

.page-logo a:hover {
	text-decoration: none;
}

.page-sidebar-closed .page-logo h2 {
	display: none;
}

.mt-comments .mt-comment .mt-comment-body .mt-comment-text {
	font-size: 12px;
	color: #333;
	font-weight: 600;
}

.mt-comments .mt-comment .mt-comment-body .mt-comment-text span {
	color: #333;
	font-weight: 500;
}

.page-content-white .page-content .page-bar {
	margin-bottom: 20px;
}

.user-login-5 .login-container>.login-content {
	margin-top: 0;
	padding: 60px 80px;
}

.user-login-5 .login-container>.login-content .logo {
	text-align: center;
	margin-bottom: 60px;
}

.user-login-5 .login-container>.login-content .logo img {
	max-width: 250px;
	margin: 0 auto;
}

.page-content-wrapper .page-content {
	position: relative;
}

.page-content-wrapper .page-content .preloader {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index: 999;
}

.page-footer .page-footer-inner {
	float: right;
}

.page-sidebar .page-sidebar-menu .sub-menu {
	margin: 0;
}

.page-sidebar .page-sidebar-menu .sub-menu li>a {
	padding: 10px 15px 10px 43px;
}

#event-participants .filters {
	display: inline-block;
	background: #fff;
	padding: 16px 0;
	width: 100%;
}

/*#participants-page .filters .form-group {
	max-width: 250px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 15px 0;
}

#event-participants .filters .form-group select {
	width: 250px;
}*/

#event-participants .dd-handle span.name {
	width: 50%;
	display: inline-block;
	font-weight: 500;
}

#event-participants .dd-handle span {
	padding: 0 10px;
}

#event-participants .dd-handle span.league {
	width: 26px;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
}

#event-participants .dd-handle .info {
	font-weight: 700;
	font-size: 10px;
}

#event-participants .other-nestable {
	padding: 8px 12px;
	background: #fff;
}

#event-participants .new-match .note {
	min-height: 90px;
	padding: 4px 10px;
}

#event-participants .new-match .note .league,
#event-participants .new-match .note .name {
	display: block;
}

#event-participants .new-match .note .name {
	font-weight: 600;
}

#event-participants .new-match .note .age {
	padding-right: 10px;
}

#event-participants .new-match .form-control {
	margin-bottom: 16px;
}

#nestable_list {
	min-height: 100px;
}

#event-participants .dd-handle .add-blue {
	padding: 0px 5px;
	background: #8bb4e7;
}

#event-participants .dd-handle .add-red {
	padding: 0px 5px;
	background: #f0868e;
}

#nestable_list li.red .dd-handle {
	background: #fcecee;
}

#nestable_list li.blue .dd-handle {
	background: #ebf2ff;
}

.new-match.affix {
	right: 36px;
	top: 70px;
}

#event-participants #nestable_list li.disabled {
	pointer-events: none;
}

#event-participants #nestable_list li.disabled:after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: '';
	background: rgba(0,0,0,.4);
}

.portlet.box>.portlet-title>.tools>a.expand,
.portlet.box>.portlet-title>.tools>a.collapse {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

#matches-page .note {
	padding: 16px 16px 16px 0;
}

#matches-page .note .form-group {
	margin-bottom: 0;
}

#matches-page .form-group .badge {
	font-size: 16px !important;
	height: 28px;
	padding: 6px 12px;
	font-weight: bold;
	color: #333;
	background: #ccc;
	border-radius: 16px !important;
}

#matches-page .form-group .mt-radio-inline .mt-radio {
	margin-bottom: 0;
}

#matches-page table td:last-child {
	position: relative;
	white-space: nowrap;
	padding: 4px;
}

#matches-page table td .btn-group,
#matches-page table td .btn-group button {
	width: 100%;
	height: 100%;
}

#matches-page table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, 
#matches-page table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
	top: 14px;
}

.page-content {
	background: #f8f5f5
}

.portlet {
	margin-bottom: 10px;
}

#match-info-modal .modal-body {
	padding: 16px;
}

#match-info-modal .portlet {
	margin: 0;
}

#match-info-modal .category {
	text-align: center;
	margin: 0 0 26px;	
}

#match-info-modal .portlet-title h3 {
	margin: 0;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
}

#match-info-modal .vs {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#match-info-modal .vs span {
	font-size: 40px;
	background: #efeded;
	padding: 10px;
	border-radius: 50% !important;
	position: relative;
	width: 77px;
	display: block;
	text-align: center;
	color: #df0615;
}

#match-info-modal .dashboard-stat .details .number {
	font-size: 26px;
}

#match-info-modal .table-condensed>tbody>tr>td:first-child {
	max-width: 130px;
}

#match-info-modal .category .badge,
#match-info-modal .portlet-title .badge {
	margin-bottom: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 10px !important;
	margin-right: 6px;
}

#match-score-modal table {
	margin-bottom: 0;
	border: none;
}

#match-score-modal td {
	line-height: 30px;
	padding: 4px;
}

#match-score-modal td input {
	text-align: center;
}

#match-score-modal th {
	text-align: center;
	line-height: 40px;
	border: none;
}

#match-score-modal tr.sum {
	background: #eaedef;
	font-weight: 600;
}

#match-score-modal th.tie {
	max-width: 60px;
}

#match-score-modal th.p2 {
	background-color: #3598dc;
	color: #fff;
}

#match-score-modal th.p1 {
	background-color: #e7505a;
	color: #fff;
}

#match-score-modal .mt-checkbox, .mt-radio {
	margin-bottom: 22px;
}

#match-score-modal .modal-body {
	padding: 0 1px;
}

#match-score-modal .mt-radio>span {
	height: 30px;
	width: 30px;
}

#match-score-modal .mt-radio>span:after {
	left: 6px;
	top: 6px;
	height: 15px;
	width: 15px;
}

#matches-lite .mt-comment-img.match-num {
	height: 46px;
	width: 46px;
	line-height: 46px;
	color: #fff;
	background: #36c6d3;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	border-radius: 50% !important;
}

#matches-lite .fa.blue {
	color: #3598dc;
}

#matches-lite .fa.red {
	color: #e7505a;
}

#matches-lite .portlet.light>.portlet-title>.nav-tabs>li>a {
	padding: 12px 8px 13px;
}

#matches-lite .mt-comments .mt-comment .mt-comment-body .mt-comment-info .mt-comment-author {
	margin: 0 0 4px;
}

#brackets .form-group {
	margin: 0;
}

#add-event-modal .form-horizontal .control-label,
#add-club-modal .form-horizontal .control-label,
#add-member-modal .form-horizontal .control-label {
	text-align: left;
	padding-bottom: 6px;
}

#add-event-modal .form-group,
#add-club-modal .form-group,
#add-member-modal .form-group {
	margin-bottom: 10px;
}

#add-club-modal .mt-radio,
#add-member-modal .mt-radio {
	margin-bottom: 7p
}

#participants-page .m-heading-1.m-bordered {
	padding: 15px 15px 0 15px;
}

.dd {
	max-width: 100%;
}

.dd-handle {
	height: auto;
	padding: 0;
}

.dd .row {
	margin: 0;
}

.mt-widget-2 .mt-body .mt-body-title {
	margin-top: 16px;
}

.mt-widget-2 .mt-head {
	position: relative;
	background: #2b3643;
	height: 340px;
	text-align: center;
}

.mt-widget-2 .mt-head img {
	max-height: 95%;
	text-align: center;
	margin: 0 auto;
	vertical-align: middle;
	margin-top: 2.5%;
	max-width: 95%;
}

.mt-widget-2 .mt-head .admin-controls {
	position: absolute;
	left: 0;
	top: 0;
}

.mt-widget-2 .mt-head .admin-controls a {
	display: block;
	padding: 8px 12px;
	background: #364150;
	color: #f8f5f5;
	transition: all .2s;
}

.mt-widget-2 .mt-head .admin-controls a:hover {
	background: #4e565f;
}

.mt-widget-2 .mt-body {
	padding-top: 0;
}

.mt-widget-2 .mt-body .mt-body-stats li {
	margin: 4px;
}

.mt-element-list .list-default.mt-list-head .list-title {
	margin: 0;
}

.mt-element-list .list-default.mt-list-container ul>.mt-list-item>.list-item-content {
	padding: 0 16px 0 60px;
}

#manage-participants .added-athletes li a.add,
#manage-participants .available-athletes li a.remove {
	display: none
}

#events {
	margin: 0;
}

#events .add-new {
	border: 8px solid #edebeb;
	min-height: 500px;
}

#events .add-new .add-new-button {
	width: 100%;
	height: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transition: all .2s;
	color: #edebeb;
	font-size: 34px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

#events .add-new .add-new-button:hover {
	border-color: #36c6d3;
	color: #36c6d3;
	cursor: pointer;
}

#events .add-new .add-new-button span {
	display: block;
}

.btn-file > input {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 23px;
	cursor: pointer;
	filter: alpha(opacity=0);
	opacity: 0;
	direction: ltr;
}

.btn.default:not(.btn-outline) {
	color: #666;
	background-color: #e1e5ec;
	border-color: #e1e5ec;
}

.thumbnail {
	padding: 4px;
	line-height: 1.42857;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: border .2s ease-in-out;
	-o-transition: border .2s ease-in-out;
	transition: border .2s ease-in-out;
}

.fileinput .thumbnail {
	display: inline-block;
	margin-bottom: 5px;
	overflow: hidden;
	text-align: center;
	vertical-align: middle;
}

.fileinput-exists .fileinput-new, .fileinput-new .fileinput-exists {
	display: none;
}

.dd-item.match .note {
	margin-bottom: 0;
	padding: 2px 10px;
}

.dd-item.match .match-num {
	line-height: 30px;
	font-size: 30px;
	text-align: center;
	color: #364150;
	width: 80%;
	float: right;
}

.dd-item.match .match-num input {
	padding: 0;
	text-align: center;
	font-size: 24px;
	border: none;
}

.dd-item.match .ring-match-num {
	float: left;
	line-height: 28px;
	width: 20%;
	text-align: center;
}

.dd-item.match .ring-num {
	float: right;
	line-height: 32px;
	font-size: 24px;
	text-align: center;
	color: #364150;
	width: 20%;
	text-align: center;
}

.dd-item.match .ring-num label,
.dd-item.match .match-num label,
.dd-item.match .ring-match-num label {
	font-size: 12px;
	display: block;
	line-height: 18px;
	background: #e1e1e1;
	color: #646262;
	margin-bottom: 0;
}

#event-matches .tabs-left.nav-tabs>li {
	font-weight: 600;
}

#event-matches #data-table .note {
	margin: 0;
	padding: 6px;
	min-height: 45px;
}

#event-matches #data-table .note .waiting {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700;
    color: #cccbcb;
}

#event-matches .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td:nth-child(3) {
	padding: 0 !important;
}

#event-matches #data-table td .club {
	font-size: 10px;
	font-weight: 700;
}

#event-matches #data-table td .badge {
	position: absolute;
	top: 24px;
	right: 6px;
	font-size: 10px !important;
	line-height: 12px;
	font-weight: 700;
}

#event-matches #data-table td .badge.kg {
	top: 2px;
}

#event-matches .table>tfoot>tr>td, 
#event-matches .table>tfoot>tr>th {
	padding: 4px;
}

#edit-match-modal #match-form .mt-radio-inline .mt-radio {
	margin-bottom: 0;
}

#edit-match-modal #match-form .note .form-group {
	margin-bottom: 0;
}

#matches-lite {
	padding: 16px;
}

#matches-lite .caption {
	margin-bottom: 16px;
}


#match-info-modal .dashboard-stat.dashboard-stat-v2 .visual {
    padding-top: 10px;
    margin-bottom: 0px;
}

#match-info-modal .dashboard-stat .details .number {
    padding-top: 6px;
}

#match-info-modal .portlet .objection {
	margin-bottom: 0; 
	padding: 10px;
	position: relative;
}

#match-info-modal .portlet .objection h4 {
    margin: 0;
    padding: 2px 0 10px;
}

#match-info-modal .portlet .objection .delete {
	position: absolute;
	top: 2px;
	right: 0px;
    font-size: 16px;
    color: #3a3a36;
    width: 22px;
}

#match-info-modal .portlet .objection .delete:hover {
	cursor: pointer;
	color: #000;
}

#event-matches .help-info {
	margin-top: 32px;
}

#event-matches .help-info .badge {
	font-size: 10px !important;
	font-weight: 700;
	line-height: 12px;
}

#event-matches .help-info li { 
	padding-bottom: 6px;
	font-size: 13px;
    color: #4f4f4f;
}
#event-matches .help-info .portlet.box>.portlet-title {
	background-color: #364150;
}

#event-matches .help-info .portlet.box {
	border: 1px solid #364150;
}

.mt-widget-2 {
	background: #fff;
}

#management .portlet {
    background: #fff;
    padding: 6px 12px 1px;
}

#management .portlet .caption {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #2b3643;
}

#management .portlet table td {
	line-height: 25px;
}

#management .portlet table tr.inputs td {
	padding: 4px;
}

#management .portlet table tr.inputs input.has-error {
	border: 1px solid #d71b29;
}

#management .portlet table td.actions {
	width: 82px;
	padding: 4px;
}

#management .portlet table td.actions .btn {
	margin: 0;
}

#management .portlet table tr.input-row {
	display: none;
}

#management .portlet table th {
	font-weight: 600;
}

#income .portlet .portlet-title,
#expenses .portlet .portlet-title {
	position: relative;
}

#income .portlet .portlet-title .sum,
#expenses .portlet .portlet-title .sum {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 22px;
    font-weight: 600;
}

#income .portlet .portlet-title .sum .value,
#expenses .portlet .portlet-title .sum .value {
	padding-left: 8px;
	font-size: 28px;
}

#club-history .form-horizontal .control-label {
	text-align: left;
	margin-bottom: 16px;
	font-weight: 600;
}

#club-history .mt-checkbox, 
#club-history .mt-radio {
	margin-bottom: 12px;
}

.dataTable .input-group.from .input-group-addon,
.dataTable .input-group.from input {
	border-bottom: none;
}

.p-0 {
	padding: 0;
}

div.DTS div.dataTables_scrollBody {
	background: #f8f5f5;
}

.invoice-total table tr td:first-child,
.invoice-info table tr td:first-child,
.client-info table tr td:first-child {
	font-weight: 600;
	width: 200px;
}

#new-invoice .portlet table tr.input-row {
    display: none;
}
#new-invoice .portlet table tr.inputs td {
    padding: 4px;
}
#new-invoice .portlet table td {
    line-height: 25px;
}
#new-invoice .portlet table td.actions .btn {
    margin: 0;
}
#tab4 .form-section {
	font-weight: 600;
    padding-bottom: 12px;
}
td .form-control-static {
	margin: 0 !important;
	padding: 0 !important;
}
#invoices tfoot th {
	padding: 5px;
}
.page-header.navbar .page-logo {
	width: auto;
}
.page-header.navbar .page-logo h2 {
	font-size: 26px;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 38px;
}

.form-group.has-error textarea + p,
.form-group.has-error select + p,
.form-group.has-error input + p {
    margin-bottom: 0;
    font-size: 12px;
    color: red;
}

#invoices .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th, 
#invoices .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td {
    white-space: normal;    
}
#invoices .portlet.box>.portlet-body {
    padding: 0 15px 15px;
}

.search-by-afm {
    display: flex;
    padding: 1rem 0 0;
}
.search-by-afm input {
    width: 215px;
    margin-right: 1rem;
}
.search-by-afm .search .ladda-spinner > div > div > div {
    background: #2f353b !important;
}


@media print
{    
	.hidden-print * {
		display: none !important;
	}

	#event-matches #data-table td .club {
		display: block !important;
		font-size: 10px;
		font-weight: 700;
	}
}

@media (min-width: 998px) {
	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display:         flex;
	}
	#match-info-modal .p1.col-md-5 {
		padding-right: 0;
	}

	#match-info-modal .p2.col-md-5 {
		padding-left: 0;
	}
}

@media (max-width: 997px) {
	#match-info-modal .portlet {
		margin-bottom: 32px;
	}
}

@media (max-width: 768px) {
	.user-login-5 .login-container>.login-content {
		padding: 16px;
		text-align: center;
	}
	.page-header.navbar .top-menu .navbar-nav>li.dropdown-user .dropdown-toggle {
		background: none;
	}

	.portlet.box .dataTables_wrapper .dt-buttons {
		position: absolute;
		right: 10px;
		max-width: 170px;
		top: -6px;
	}

	#manage-participants .portlet.light.portlet-fit>.portlet-body {
		padding: 10px 0;
	}

	#manage-participants .mt-element-list .list-default.mt-list-container {
		padding: 15px 6px;
	}
}