/*custom bootstrap*/




body {
    min-width: 1400px;
/*    font-family: "Roboto","Helvetica","Arial",sans-serif; */
    font-family: "Fira Sans", "Roboto","Helvetica","Arial",sans-serif;
    font-weight: 300;
	font-size: 0.875rem;
}
.alert {
	position: absolute;
	width: 60%;
	z-index: 2000;
	left: 20%;
	top: 6px;
	/*-webkit-box-shadow: 0px 0px 15px 6px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 15px 6px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 15px 6px rgba(0,0,0,0.3);*/
}
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-transform: uppercase;
}
.btn-primary {
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary-border); }
.btn-primary:hover {
	color: var(--white);
	background-color: var(--primary-hover);
	border-color: var(--primary-border-hover); }
.btn-primary:focus, .btn-primary.focus {
	box-shadow: 0 0 0 0.2rem var(--primary-shadow); }
.btn-primary.disabled, .btn-primary:disabled {
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary); }
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary); }
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
	  box-shadow: 0 0 0 0.2rem var(--primary-shadow); }
		
.btn-outline-primary {
	color: var(--primary);
	background-color: transparent;
	background-image: none;
	border-color: var(--primary); }
.btn-outline-primary:hover {
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary); }
.btn-outline-primary:focus, .btn-outline-primary.focus {
	box-shadow: 0 0 0 0.2rem var(--primary-shadow); }
.btn-outline-primary.disabled, .btn-outline-primary:disabled {
	color: var(--primary);
	background-color: transparent; }
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary); }
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.2rem var(--primary-shadow); }
	
.btn.btn-outline-secondary {
	border-color: var(--secondary);
}
a {
	color: var(--primary);
	outline: none;
}
a:hover {
    text-decoration: none;
	color: var(--black);
}
h2, .h2 {
    font-size: 1.5rem;
}
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin: 0;
    justify-content: flex-end;
}
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--table-border);
}
.page-link:focus {
	z-index: 2;
	outline: 0;
	box-shadow: none;
}
.page-link:hover {
    z-index: 2;
    color: var(--primary);
    text-decoration: none;
    background-color: var(--gray93);
    border-color: var(--table-border);
}
.page-item.active .page-link {
	z-index: 1;
	color: var(--white);
	background-color: var(--primary);
	border-color: var(--primary);
}





.form-control {
	font-weight: 300;
	font-size: 0.9rem;
}
.form-control::placeholder {
    color: var(--gray50);
    opacity: 1;
}
small, .small {
	font-size: 80%;
	font-weight: 300;
}



/*custom check input*/

.custom-checkbox .custom-control-label:before {
	border-radius: 0rem;
}
.custom-checkbox-readonly .custom-control-input:hover ~ .custom-control-label:before {
	border-color: var(--gray80);
	background-color: var(--gray98);
}
.custom-control.custom-checkbox.main-item {
	font-weight: 600;
}
.custom-control {
	position: relative;
	display: block;
	min-height: 1.5rem;
	padding-left: 1.8rem;
}
.custom-control-label:before {
	position: absolute;
	top: 0;
	left: -1.8rem;
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	pointer-events: none;
	content: "";
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: transparent;
	border: 1px solid var(--gray80);
}
.custom-control-label:after {
	position: absolute;
	top: 0;
	left: -1.8rem;
	display: block;
	width: 1.2rem;
	height: 1.2rem;
	content: "";
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 70% 70%;
}
.custom-radio .custom-control-label:after {
	width: 16px;
	height: 16px;
	background-size: 50% 50%;
	top: 0.1rem;
}
.custom-radio .custom-control-label:before {
	width: 16px;
	height: 16px;
	background-color: var(--white);
	top: 0.1rem;
}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:disabled:checked:hover ~ .custom-control-label::before {
	background-color:  var(--gray70);
	border-color:  var(--gray70);
}
.custom-radio .custom-control-input:disabled ~ .custom-control-label::before,
.custom-radio .custom-control-input:disabled:hover ~ .custom-control-label::before {
	background-color:  var(--gray90);
	border-color:  var(--gray90);
}


/*custom table*/
/*.table.table-striped {
	border: 1px solid var(--table-border);
}*/
table.custom-table {
	border-left: 1px solid var(--table-border);
	border-right: 1px solid var(--table-border);
}
table.custom-table tbody {
	border-bottom: 1px solid var(--table-border);
}
.custom-table > tbody > tr:hover {
	background-color: var(--table-tr-hover);
}
.custom-table.table th, 
.custom-table.table td {
	text-align: center;
	padding: 0.55rem;
	vertical-align: middle;
}
.custom-table.table tbody th {
	text-align: left;
	border-right: 1px solid var(--table-border);
	font-weight: 400;
}
.custom-table tbody th span span {
	padding-left: 1.5rem;
	font-weight: 300;
}
.custom-table .custom-control-label {
	height: 1rem;
}
.custom-table .custom-control {
	min-height: 1rem;
}
.custom-table .custom-radio .custom-control-label:after {
	top: 0.2rem;
}
.custom-table .custom-radio .custom-control-label:before {
	top: 0.2rem;
}



.custom-control-input {
	width: auto;
	height: auto;
}
.form-control:disabled, .form-control[readonly] {
	opacity: 0;
}

/*custom file input-dostylovat*/
.form-control:focus {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-file-input:focus ~ .custom-file-label {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.custom-control-input:hover ~ .custom-control-label:before {
	border-color: #465162;
}
.custom-control-input:focus ~ .custom-control-label:before {
	box-shadow: none;
}


.custom-checkbox .custom-control-input:checked ~ .custom-control-label:before {
	background-color: var(--gray30);
	border-color: var(--gray30);
}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label:before {
	background-color: var(--gray85);
	border-color: var(--gray85);
}
.custom-control-input:checked ~ .custom-control-label:before {
	color: var(--white);
	background-color: var(--gray30);
	border-color: var(--gray30);
}
.custom-radio .custom-control-input:checked ~ .custom-control-label:before {
	background-color: var(--gray30);
}

.bg-primary {
  background-color: var(--primary) !important; }

a.bg-primary:hover, a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus,
div.bg-primary:hover,
div.bg-primary:focus {
  background-color: var(--primary-hover) !important;
  cursor: pointer; }

.bg-secondary {
  background-color: var(--secondary) !important; }

a.bg-secondary:hover, a.bg-secondary:focus,
button.bg-secondary:hover,
button.bg-secondary:focus,
div.bg-secondary:hover,
div.bg-secondary:focus {
  background-color: var(--secondary-hover) !important;
  cursor: pointer; }
  
.bg-success {
  background-color: var(--success) !important; }

a.bg-success:hover, a.bg-success:focus,
button.bg-success:hover,
button.bg-success:focus,
div.bg-success:hover,
div.bg-success:focus {
	background-color: var(--success-hover) !important;
	cursor: pointer; }

.bg-info {
  background-color: var(--info) !important; }

a.bg-info:hover, a.bg-info:focus,
button.bg-info:hover,
button.bg-info:focus,
div.bg-info:hover,
div.bg-info:focus {
	background-color: var(--info-hover) !important;
	cursor: pointer; }

.bg-warning {
  background-color: var(--warning) !important; }

a.bg-warning:hover, a.bg-warning:focus,
button.bg-warning:hover,
button.bg-warning:focus,
div.bg-warning:hover,
div.bg-warning:focus {
	background-color: var(--warning-hover) !important;
	cursor: pointer; }

.bg-danger {
  background-color: var(--danger) !important; }
 
a.bg-danger:hover, a.bg-danger:focus,
button.bg-danger:hover,
button.bg-danger:focus,
div.bg-danger:hover,
div.bg-danger:focus {
	background-color: var(--danger-hover) !important;
	cursor: pointer; }
 
  
.modal-header {
	background-color: var(--gray93);
	border-bottom: 1px solid var(--gray93); }
	
.modal-header .close {
	margin: -1rem -1rem -1.5rem auto;
	font-size: 2rem;
	outline: none; }
.btn i {
	margin-right: 0.25rem;
}




/*datatables*/
div.dataTables_wrapper .table-bottom div.dataTables_info {
	padding-top: 0.65em;
	white-space: nowrap;
}
div.dataTables_wrapper .table-bottom div.dataTables_length {
	padding-top: .4em;
}
div.dataTables_wrapper .table-bottom div.dataTables_length label {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 300;
}
div.dataTables_wrapper .table-bottom div.dataTables_length .custom-select-sm {
	height: calc(1.8125rem + 2px);
	padding-top: 0.27rem;
	padding-bottom: 0.375rem;
	font-size: 100%;
}
table.dataTable {
	border-left: 1px solid var(--table-border);
	border-right: 1px solid var(--table-border);
}
/*.table-striped tbody tr:nth-of-type(2n+1) {
	background-color: transparent;
}*/
.dataTable > tbody > tr:hover {
	background-color: var(--table-tr-hover);
}
.table thead th {
	font-weight: 400;
	background-color: var(--gray98);
	border-bottom: 1px solid var(--table-border);
}
.dataTables_scrollBody {
	border-bottom: 1px solid var(--table-border);
}
.dropdown-menu {
	font-size: inherit;
}
.dropdown-item {
	font-weight: inherit;
}
.dropdown-item:hover,
.dropdown-item:focus {
	background-color: var(--gray90);
}
.dropdown-item.active,
.dropdown-item:active {
	background-color: var(--gray50);
}
