@font-face {
	font-family: 'OpenSans';
	src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans';
	src: url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans';
	src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans';
	src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
}

body,html{

	height: 100%;
}
body.login{

	background: url('../img/bg.jpg') 0 0 no-repeat;
	background-size: cover;
	font-size: 15px;
}

body{

	font-family: 'OpenSans', sans-serif;
}

.form-login{

	background: #3a3a3a;
	padding: 10px;
	margin-top: 100px;
	border-radius: 6px;
    box-shadow: 4px 4px 17px 4px #000;
}

.form-header{

	padding: 10px;
	margin-bottom: 25px;
}

.form-login label{

	color: #efefef;
	font-weight: 500;
	font-size: 17px;
}


.form-login input[type="text"],
.form-login input[type="password"]{

	box-shadow: none;
	font-size: 17px;
	background: #f7f7f7;
}

.form-login button{
	
	font-weight: 500;
	font-size: 17px;
    box-shadow: none !important;
	outline: 0 !important;
}

.site_title img{

	max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
}

ul.side-menu ul.display_block{

	display: block;
}

.logo-panel{

	width: 400px;
	height: auto;
}

.section-title{

	margin-bottom: 40px;
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 10px;
}

.numeric-input{

	position: relative;
}

.numeric-input input{
	
	width: 90px;
	padding-left: 14px;
}

.numeric-input span{

	position: absolute;
	top: 8px;
	left: 3px;
	background: #efefef;
	height: 100%;
}

.inline-block{

	display: inline-block;
}

.dropdown-menu .divider{

	margin: initial;
}

.dropdown-menu li a{

	padding-top: 7px;
	padding-bottom: 7px;
}

.btn-group.open .dropdown-toggle{

	box-shadow: none;
}

.hide{

	display: none;
}

#invoice-table{
	table-layout: fixed;
}

#invoice-table tbody td{

	position: relative;
	height: 30px;
}
#invoice-table tbody td input{

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	padding: 5px;
}
#invoice-table tbody td.format_txtarea{
	height: unset;
}
#invoice-table tbody td .txt_area{
	overflow-wrap: break-word;
	background-color: white;
}
#invoice-table tbody .subtotal{

	background: #fff;
	vertical-align: middle;
}

#invoice-table.sell_accessory th{
	overflow: hidden;
	text-overflow: clip;
}
.delete-item{

	cursor: pointer;
	font-size: 18px;
}
.gray{

	background: #e9e9e9 !important;
}

table.table-white td{

	background: #fff !important;
}

input.readonly{

	background: none !important;
	border: none;
	box-shadow: none;
}

.white-color{

	color: #fff;
}

.table-sale-detail{

	margin-bottom: 20px;
}

.table-sale-detail td{

	padding: 5px;
	border: none !important;
}

.table-sale-detail-products tfoot{

	background: #eceff3;
}

.table-sale-detail-products tfoot td{

	padding: 3px !important;
	border: none !important;
	font-size: 14px;
}

.total-price{

	color: #1598bf;
	font-size: 15px;
	font-weight: 600;
}

.blue-2{

	color: #1598bf;
}

.bold{

	font-weight: 600;
}

.tr-input{
	position: relative;
}

.tr-input .form-control-feedback.left{
	
	left: 0;
}

#products-sale{

	table-layout: fixed;
}

#products-sale tfoot{

	background: #eceff3;
}

#products-sale tfoot td{

	vertical-align: middle;
	color: #1598bf;
	font-size: 15px;
	font-weight: 600;
}

@media only print{

	.nav_menu,button{

		display: none !important;
	}

	.nav-sm .container.body .right_col{
		margin-left: 0;
	}

	.right_col{
		padding: 0 !important;
	}

	#form{
		padding: 0 !important;
	}

	#form #buttons_top{
		display: none !important;
	}

	#paper_format_p2{
		margin-top: 0;
	}
	.ficha_titulo[data-id="epicrisis"]{display:block !important;}
	.ficha_titulo[data-id="clinica"]{display:none !important; color:#000;}
}

.payment_container{
	padding: 5px 0;
	border-top: .5px solid gray;
	margin-bottom: 5px;
}

.payment_container.dynamic{
	position: relative;
}

.payment_container.dynamic > p{
	font-weight: bold;
	color: white;
	background-color: darkgray;
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	padding: 10px;
	border-radius: 50%;
	
}

.payment_container.dynamic > p:hover{
	cursor: pointer;
}

#machines{
	table-layout: fixed;
}

#machines tbody td{
	vertical-align: middle;
}

#machines tbody td span{
	display: block;
	word-break: break-all;
	overflow-wrap: anywhere;
	word-break: break-word;  
	white-space: normal;
	text-align: center;
}