.compensate-for-scrollbar{
	margin: 0 !important;
}

.medcard-paper{
	margin-bottom: 40px;
}

.medcard-page__link,
.medcard-page__link:focus,
.medcard-page__link:active{
	display: block;
	box-shadow: 0px 0px 2px 0px #bdc3c7;
}

.medcard-page__link:hover{
	box-shadow: 0px 0px 2px 0px #67696b;
}

.medcard-paper__header h4{
	margin: 0;
}

.medcard-paper__actions{
    margin-bottom: 0.5rem;
}

.medcard-page__create{
	margin: 10px 0;
}

.medcard-page__header{
	margin-bottom: 10px;
}

.medcard-page__header > *{
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
}

#medcard-constructor{
	position: fixed;
	left: 5px;
	right: 5px;
	top: 5px;
	bottom: 5px;
	border: 2px solid #005fa2;
	border-radius: 5px;
	background: #f6f8fa;
	z-index: 2000;
	padding: 20px;
}

.constuctor-body{
	display: flex;
    max-height: 100%;
}

.constructor-body__background{
    width: 60%;
    max-width: 815px;
    max-height: 100%;
    overflow: auto;
}

.constructor-body__background-area{
    position: relative;
    width: 792px;
}

.constructor-body__background img{
    max-width: 790px;
}

.constructor-body__workspace{
	margin-left: 20px;
	max-width: 54%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.constructor-body__workspace-actions,
.constructor-body__cogs-form{
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dadada;
	overflow: hidden;
}

.constructor-body__workspace-fields{
	display: flex;
    flex-wrap: wrap;
	font-size: 14px;
	margin: -5px -5px 15px;
}

.constructor-body__workspace-label{
	font-weight: bold;
}

.medcard-field{
	margin: 5px;
	padding: 5px;
	border: 1px solid #005fa2;
	cursor: pointer;
}

.medcard-field.added{
	background: #005fa2;
    color: #ffffff;
}

.medcard-field__position{
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	border: 2px solid #005fa2;
	position: absolute;
	left: 0;
	top: 0;
	cursor: move;
	line-height: 1.1;
	z-index: 5;
}

.medcard-field__position .text{
	overflow: hidden;
	max-height: 100%;
}

.medcard-field__position:hover{
	z-index: 10;
}

.medcard-field__position:hover{
	z-index: 10;
}

.medcard-field__position.highlight{
    box-shadow: 0 0 15px #00ce68;
}

.medcard-field__position-settings{
	position: absolute;
    top: -17px;
    right: 0px;
    left: 0px;
    padding: 0 3px 7px;
    font-size: 12px;
    color: #005fa2;
    display: none;
    text-align: right;
    text-indent: 0px !important;
}

.medcard-field__position:hover .medcard-field__position-settings{
	display: block;
}

.medcard-field__position-settings .fa{
	cursor: pointer;
}

.construct-indent-slider__area{
	position: absolute;
	top: 0;
	left: 0;
}

.constructor-body__indent-form-group{
	display: inline-block;
	vertical-align: top;
    margin-right: 20px;
}

.indent-save{
	margin-top: 11px;
}

.construct-indent-slider_wrap,
.construct-lh-slider_wrap{
	padding: 0 8px;
	border: 1px solid #005fa2;
	background: #ffffff;
}

.construct-lh-slider_wrap{
	padding: 8px 0;
	width: 13px;
}

#construct-indent-slider{
	width: 200px;
	border-color: transparent;
	background: transparent;
}

#construct-lh-slider{
	border-color: transparent;
	background: transparent;
}

#construct-indent-slider .ui-slider-handle{
	top: -4px;
	background: #005fa2;
	outline: none;
	border: none;
	border-radius: 0;
}

.constructor-body__cogs-form-group.lh{
	float: left;
	height: 150px;
}

.constructor-body__cogs-form-left{
	float: left;
	margin-right: 20px;
}

.constructor-body__cogs-form-group.indent,
.constructor-body__cogs-form-group.save{
	width: 200px;
	height: 75px;
}

.constructor-body__cogs-form-group.save{
	vertical-align: bottom;
}

#construct-lh-slider .ui-slider-handle{
	background: #005fa2;
	outline: none;
	border: none;
	border-radius: 0;
	left: -5px;
}

.indent-save{
	margin-top: 41px;
}

.medcard-fields__elem{
	padding: 5px 0;
}

.medcard-fields__elem-placeholder{
	background: #dee2e6;
	height: 34px;
}