thead > tr:first-child > th:first-child, tbody > tr > th {
    left: 0;
    box-shadow: 0px 0px 0px 1px #dee2e6 inset;
    border-width: 0 !important;
} 
tbody > tr:last-child > th {
    border-bottom: 1px solid;
}
thead th, tbody th {
    font-weight: 400;
}
/*
.was-validated .form-control:valid, .was-validated .form-check-input:valid~.form-check-label {
    border-color: #ced4da;
    color: #212529;
}
*/
.form-check-above {
    flex-direction: column!important;
}
.overflow {
    overflow-x: auto;
}
.space-between {
    display: flex;
    flex-direction: row;
    align-content: space-between;
}

.position-sticky {
    z-index: 2;
}

 .form-group>.control-label { line-height: 1.5rem; display: contents !important; } 

input[type=radio],input[type=checkbox] {
	-webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);	
	margin-top: 9px;
}

.form-check-input+label {
	margin-left: 4px;
}

#bootstrap-preview-panel {
    position: fixed;
    width: 100%;
    top: 0;
	padding: 4px 0;    
    text-align: center;
	font-size: 16px!important;
    background: #fafafa;    
    box-shadow: 0 0 3px 1px rgba(0,0,0,0.3);
	z-index: 1000;			
}

#bootstrap-preview-panel + .container {
	padding-top: 35px;
}

#bootstrap-preview-panel select{
    border-color: #bbb;
    vertical-align: top!important;
    border-radius: 2px;	
	margin-right: 10px;
}

#bootstrap-preview-panel button {
    line-height: 19px;
    vertical-align: top;	
}

.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline, .has-error .text-muted {
    color: #dc3545!important;
}

.required-block.has-error {
	color: #dc3545!important;
	border: 1px solid #dc3545!important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075)!important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075)!important;
}

.has-error .form-control {
    border-color: #dc3545!important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075)!important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075)!important;
}

.has-error .form-control:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483
}

.has-error .input-group-addon {
    color: #dc3545!important;
    border-color: #dc3545!important;
    background-color: #f2dede
}

.has-error .form-control-feedback {
    color: #dc3545!important
}

.reuired-mark {
    vertical-align: top;
    color: red!important;
    font-weight: bold;
    font-size: 22pt;
    display: inline-block;
    line-height: 1.5rem;
    margin-right: 2px;
}
/*
.form-group .control-label:before{
    content: '';
    width: 5px;
    display: block;
    height: 5px;
    float: left;
}
*/
.form-group>.control-label {
	line-height: 1.5rem;
}

.spr-block th{
	box-shadow: none!important;
}

.pager {
	display: inline-block;
/*    padding: 0.2rem 0.3rem; */
    color: #fff;
    font-size: 0.9rem;
}

.progress-bar[style="width: 0%;"] {
	margin-left: 10px;
	color: black;
}

header + .row .d-flex {
	align-items: center;
}

header + .row h4{
	margin-bottom: 0;
	width: 100%;
	margin-bottom: 1rem;
}

.row img {
	max-width: 100%;
    object-fit: cover;
}

.form-check-input {
	margin-left: -1.0rem;
}

.cs__submit .btn {
    margin-right: 5px;
    border-width: 2px;
}

.form-check:not(.form-check-above) {
/*    display: flex!important; */
display: flex;
	flex-wrap: wrap;
    justify-content: start!important;
    padding-top: .25rem!important;
    padding-left: 3px!important;	
	align-items: flex-start!important;	
}

.form-check:not(.form-check-above) .form-check-input{
    margin: 7px 10px 0 0!important;
	padding:0!important;
    position: static!important;
    line-height: 24px!important;
}

.form-check:not(.form-check-above) label {
	margin: 0!important;
	padding:0!important;
	line-height: 25px!important;
    flex-basis: calc(100% - 30px);	
}

.form-check:not(.form-check-above) .form-control {
	flex-basis: 100%!important;
	margin-top: 10px!important;	
}

.form-check-above label {
    margin: 0 0 .7rem!important;
}

.form-check-above .form-check-input {
	margin: 0 auto!important;
}

@media only print {

	.badge {
		border:none!important;
	}

	.row[id^='qblock-'] {
		page-break-after: auto;	
		page-break-inside: avoid;
		position: relative;
	}	

	.table thead > tr:first-child > th:first-child, .table tbody > tr > th {

		box-shadow: none!important;
		border-width: 1px!important;
	}

	.table thead > tr:first-child > th.position-sticky:first-child, .table tbody > tr > th.position-sticky {
		position: static!important;
	}


	.btn,.row[id^='qblock-'],.alert,.badge,.btn,.table td,.table th {
		-webkit-print-color-adjust: exact;
		color-adjust: exact;	
	}
	
	@-moz-document url-prefix() {
		.form-control,.table thead > tr:first-child > th.position-sticky:first-child,.table thead > tr > th, .table tbody > tr > th, .table tbody > tr > td,.btn{
			border-width: 2px!important;
		}	
	}	

} 

.copyright-row {
    display: block;
    overflow: hidden;
    padding: 0.5rem 0px!important;
    margin: 0;
}

.pager-block {
	border: 1px solid;
}

.copyright-row>.col {
	padding: 0;
}

.form-control[id^="date-"] {
    width: auto;
}
/*
.form-control {
    width: auto !important;
}
*/

header {
    margin: 0px -15px;	
}

@media (max-width: 1023px) {
	.row.shadow-sm>.col, .copyright-row>.col {
		padding: 0;	
	}	
	
	
	.pager-block>.col {
		margin-bottom: 0!important;
	}	
	
	.row.shadow-sm {
		padding: 0.5rem!important;
	}
}

@media (max-width: 567px) {
	.cs__submit {
		padding: 0 0.5rem!important;
	}
	
	.copyright-row {
		padding: 0.5rem!important;
	}	
}

@media only screen and (max-width: 768px) {
    thead th, tbody th {
        font-size: 0.9rem;
    }
}

.image-style-align-left {
	float:left;
	margin-right: auto;
}

.image-style-align-right {
	float:right;
	margin-left: auto;
}

.image-style-align-center {
	float:none;
    margin-left: auto;
    margin-right: auto;
	text-align: center;	
}
