@font-face{
	font-family:Almoni;
	font-weight:300;
	font-style:normal;
	src:url(../font/Almoni300.eot);
	src:url(../font/Almoni300.eot#iefix) format('embedded-opentype'),
	url(../font/Almoni300.woff) format('woff'),
	url(../font/Almoni300.ttf) format('truetype')
}

@font-face{
	font-family:Almoni;
	font-weight:400;
	font-style:normal;
	src:url(../font/Almoni400.eot);
	src:url(../font/Almoni400.eot#iefix) format('embedded-opentype'),
	url(../font/Almoni400.woff) format('woff'),
	url(../font/Almoni400.ttf) format('truetype')
}

@font-face{
	font-family:Almoni;
	font-weight:700;
	font-style:normal;
	src:url(../font/Almoni700.eot);
	src:url(../font/Almoni700.eot#iefix) format('embedded-opentype'),
	url(../font/Almoni700.woff) format('woff'),
	url(../font/Almoni700.ttf) format('truetype')
}

@font-face{
	font-family:Almoni;
	font-weight:900;
	font-style:normal;
	src:url(../font/Almoni900.eot);
	src:url(../font/Almoni900.eot#iefix) format('embedded-opentype'),
	url(../font/Almoni900.woff) format('woff'),
	url(../font/Almoni900.ttf) format('truetype')
}

@font-face{
	font-family:'AdventPro';
	src:url('../font/AdventPro.ttf')format('truetype');
}

@font-face{
	font-family:'PTSans';
	src:url('../font/PTSans.ttf')format('truetype');
}

body{
	margin:0;
	background:#f6f7f8;
}

body.login{
	background:#28b46d;
	text-align:center;
}

body.login img{
	opacity:0.05;
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:-1;
}

body.login h1{
	font-family:Almoni;
	font-weight:900;
	font-size:40px;
	color:#1b3445;
	margin-top:60px;
}

body.login form{
	margin-top:70px;
	display:inline-block;
	background:#fff;
	width:720px;
	border-radius:2px;
	box-shadow:0 2px 4px rgba(0,0,0,.2);
}

body.login input[type=text],
body.login input[type=password]{
	margin:20px 0;
	border:none;
	width:560px;
	padding:10px;
	font-size:18px;
	outline:none;
	font-family:AdventPro;
	border-bottom:1px solid #a2adb5;
	transition:border 0.2s,box-shadow 0.2s;
}

body.login input:focus{
	border-bottom:1px solid #18c746;
	box-shadow:0 1px 0 #18c746;
}

body.login input[type=submit],
body.login input[type=button]{
	font-family:Almoni;
	font-weight:300;
	font-size:20px;
	border-radius:21px;
	background:#18c746;
	border:1px solid #18c746;
	color:#fff;
	cursor:pointer;
	padding:14px 20px 10px;
	outline:none;
	margin:30px 6px 40px;
}

body.login input[type=button]{
    border-color:#c4ccd2;
    color:#a2adb5;
    background:#fff;
}

body.login span{
	display:block;
	font-family:AdventPro;
	margin-top:30px;
	color:#fff;
}

body.login b{
	font-family:AdventPro;
	font-size:18px;
	color:#e85757;
}

body.login input:-webkit-autofill{
	box-shadow:0 0 0px 1000px #fff inset;
}

header{
	display:inline-block;
	background:#fff;
	box-shadow:0 0 4px rgba(0,0,0,.25);
	width:100%;
}

header>ul{
	padding:0;
}

header>ul>li:first-child{
	margin-left:20px;
}

header li a{
	color:#1b3445;
	font-family:Almoni;
	text-decoration:none;
	display:inline-block;
	padding:20px 0 20px 30px;
	font-weight:400;
	transition:color 0.2s;
}

header li.active>a,
header li a:hover{
	color:#18c746;
}

header>ul>li:hover ul{
	display:inline-block;
}

header>ul>li:last-child{
	float:right;
	background:url(../img/arrow_down.png) right 53px top 23px no-repeat;
}

header>ul>li:last-child>a{
	padding-right:70px;
}

header>ul>li:last-child ul a{
	padding:20px 0 20px 0;
}

header>ul>li:last-child ul{
	right:50px;
	padding:0 20px;
	left:auto;
}

header ul{
	list-style-type:none;
	float:left;
	margin:0;
}

header>ul{
	width:100%;
}

header li{
	float:left;
	position:relative;
}

header ul ul{
	padding:0;
	display:none;
	position:absolute;
	background:#fff;
	box-shadow:0 2px 4px rgba(0,0,0,.25);
	z-index:999;
	top:53px;
	left:9px;
	width:180px;
}

header ul ul li{
	display:block;
	float:none;
}

header ul ul li a{
	padding:20px 30px 20px 20px;
}

.submenu{
	border-top:1px solid #eee;
	display:inline-block;
	width:100%;
}

.submenu a{
	color:#1b3445;
	font-family:Almoni;
	text-decoration:none;
	display:inline-block;
	padding:15px 0 13px;
	font-size:14px;
	font-weight:400;
	margin-left:30px;
	border-bottom:2px solid #fff;
}

.submenu a.active{
	border-bottom:2px solid #23c94f;
}

.submenu a:first-child{
	margin-left:50px;
}

.main{
	padding:50px;
	position:relative;
}

.main h1{
	color:#1b3445;
	font-family:Almoni;
	margin:0 0 30px;
	font-weight:700;
	display:inline-block;
}

.main h1 span{
	display:inline-block;
	float:right;
	font-size:18px;
	font-weight:normal;
	margin:7px 5px 0;
}

.filters{
	margin-bottom:20px;
}

.filters nav{
	display:inline-block;
	margin-right:20px;
}

.filters nav label{
	background:#fff;
	font-family:Almoni;
	padding:11px 8px 10px;
	border:1px solid #d2d2d2;
	border-radius:6px 0 0 6px;
	float:left;
}

.filters nav select{
	font-family:Almoni;
	font-size:16px;
	border:1px solid #d2d2d2;
	float:right;
	padding:10px 6px;
	border-radius:0 6px 6px 0;
	background:#e8e9ea;
	outline:none;
	border-left:none;
}

.results{
	width:100%;
	font-family:Almoni;
	border-collapse:collapse;
}

.results thead th{
	color:#778c9a;
	font-size:14px;
	font-weight:normal;
	text-align:left;
	padding:10px;
}

.results tbody tr{
	background:#fff;
	border-left:1px solid #23c94f;
	border-right:1px solid #23c94f;	
	border-color:#eee;
	transition:border-color 0.3s;
}

.results tbody td{
	color:#1b3445;
	padding:10px;
	font-size:17px;
	border:1px solid #eee;
	border-left:none;
	border-right:none;
	transition:border-color 0.3s;
}

.results tbody tr:hover{
	border-color:#23c94f;
}

.results tbody tr:hover td{
	border-top:1px solid #23c94f;
	border-bottom:1px solid #23c94f;
}

.results tbody .div{
	border:none;
	display:block;
	height:3px;
	background:none;
}

.results tbody td .link{
	color:#778c9a;
}

.results tbody td:last-child{
	padding:0 10px;
	text-align:right;
}

.btn_new,.btn_history,.btn_edit,.btn_del,.btn_open{
	display:inline-block;
	background:center center no-repeat;
	background-size:contain;
	width:20px;
	height:20px;
	margin:3px 3px 0 3px;
	transition:opacity 0.3s;
	cursor:pointer;
}

.btn_new:hover,
.btn_history:hover,
.btn_edit:hover,
.btn_del:hover,
.btn_open:hover{
	opacity:0.7;
}

.btn_new{
	background-image:url(../img/new.png);
}

.btn_history{
	background-image:url(../img/history.png);
}

.btn_edit{
	background-image:url(../img/edit.png);
}

.btn_open{
	background-image:url(../img/open.png);
}

.btn_del{
	background-image:url(../img/del.png);
}

.xls{
	position:absolute;
	border-radius:21px;
	background:url(../img/xls.png) center center no-repeat;
	background-size:auto 65%;
	border:1px solid #c4ccd2;
	cursor:pointer;
	width:70px;
	height:32px;
	display:inline-block;
	right:50px;
	transition:border-color 0.3s;
	margin-top:-10px;
}

.xls:hover{
	border-color:#23c94f;
}

.fields{
	background:#fff;
	border-radius:2px;
	box-shadow:0 2px 4px rgba(0,0,0,0.2);
	margin-bottom:30px;
	font-family:Almoni;
}

.fields form{
	width:650px;
	text-align:left;
	padding:70px 0;
}

.fields input,
.fields select{
	font-family:Almoni;
	font-size:18px;
	border:none;
	border-bottom:1px solid #a2adb5;
	width:100%;
	padding:10px 0;
	outline:none;
	transition:all 0.3s;
	color:#1b3445;
}

.fields input[type=file]{
	font-size:15px;
	padding:6px 0;
}

.fields input:focus,
.fields select:focus{
	border-bottom-color:#23c94f;
	box-shadow:0 1px 0 0 #18c746;
}

.fields div span{
	font-size:14px;
	color:#1b3445;
}

.fields .inv-3,
.fields .inv-6,
.fields .inv-12{
	margin-bottom:50px;
	display:inline-block;
	width:100%;
}

.fields .inv-3{
	width:23%;
	margin-right:2.2%;
}

.fields .inv-6{
	width: 47%;
}

.fields .inv-6.last{
	margin-left:3.3%;
}

.fields .inv-3.last{
	margin-right:-1%;
}

.fields input[type=submit]{
	width:auto;
	font-weight:500;
	font-size:18px;
	border:none;
	border-radius:21px;
	background:#18c746;
	color:#fff;
	cursor:pointer;
	padding:14px 20px 10px;
	outline:none;
	padding:14px 30px 12px;
}

.fields.document{
	text-align:left;
	padding:40px 40px 0;
	min-height:160px;
}

.fields.document .inv-6{
	width:48%;
}

.fields h2{
	margin:0 0 50px -1px;
	font-size:21px;
	color:#1b3445;
}

.datepick{
	background:url(../img/date.png) right center no-repeat;
	background-size:auto 50%;
}

.document table{
	color:#1b3445;
	width:100%;
	border-collapse:collapse;
	margin-bottom:50px;
}

.document table thead td,
.document table tbody td{
	border-bottom:1px solid #d4dade;
	padding:10px 30px 10px 0;
}

.document table thead{
	font-weight:700;
}

.document table input,
.document table select{
	border:1px solid #eee;
	border-radius:2rem;
	padding:10px;
}

.document table input:focus,
.document table select:focus{
	border:1px solid #23c94f;
	box-shadow:none;
}

.document table td:nth-child(5),
.document table td:last-child{
	text-align:right;
	padding-right:0;
}

.document input[type=submit]{
	margin-bottom:40px;
}

.document table tfoot td{
	padding:10px 0;
	text-align:right;
	font-weight:700;
}

.document table .line{
	border-top:1px solid #d4dade;
	padding-top:20px;
}

.document table tfoot input{
	float:right;
	margin-right:-10px;
	width:50px;
	text-align:right;
}

.doc-type{
	font-family:Almoni;
	margin:-15px 0 30px;
}

.doc-type select{
	font-family:Almoni;
	font-size:17px;
	padding:5px;
	width:auto;
	border:none;
	border-radius:2px;
	margin-left:10px;
	outline:none;
	box-shadow:0 2px 4px rgba(0,0,0,0.2);
}

.clist{
	width:auto!important;
	border:1px solid #a2adb5!important;
	box-shadow:none!important;
	position:absolute;
	margin-top:-76px;
	margin-left:120px;
	font-size:16px!important;
	padding:8px!important;
}

/*DATEPICKER*/
.datepicker{
	position:fixed;
	background:rgba(27, 52, 69, 0.4);
	width:100%;
	height:100%;
	top:0!important;
	left:0!important;
}

.datepicker-days,
.datepicker-months,
.datepicker-years,
.datepicker-decades,
.datepicker-centuries{
	background:#fff;
	position:absolute;
	padding:15px;
	width:256px;
	left:50%;
	margin-left:-128px;
	top:50%;
	margin-top:-250px;
	border-radius:8px;
	border-top:30px solid #1f897f;
	box-shadow: 0 12px 36px 16px rgba(0, 0, 0, 0.24);
}

.table-condensed{
	font-family:Almoni;
	font-size:22px;
	font-weight:300;
}

.day{
	text-align:center;
	padding:8px;
	cursor:pointer;
	border-radius:5px;
}

.month,
.year,
.decade{
	display:inline-block;
	text-align:center;
	padding:7px 5px 5px;
	width:40px;
	margin:6px 4.5px;
	cursor:pointer;
	border:1px solid #fff;
	border-radius:5px;
}

.month:hover,
.year:hover,
.decade:hover{
	border:1px solid #bbb;
}

.day:hover{
	background:#f3f3f3;
}

.dow{
	font-size:14px;
	font-weight:400;
	color:#999;
	padding:10px 0;
}

.prev,
.next{
	display:inline-block;
	margin-left:8px;
	cursor:pointer;
}

.prev:before,
.next:before{
	content:" ";
	border-top:10px solid transparent;
	border-bottom:10px solid transparent;
	border-right:15px solid #676767;
	display:block;
}

.next:before{
	border-right:none;
	border-left:15px solid #676767;
}

.prev:hover:before,
.next:hover:before{
	border-right-color:#909090;
	border-left-color:#909090;
}

.datepicker-switch{
	padding-bottom:20px;
	padding-top:4px;
	width:130px;
	cursor:pointer;
}

.old,.new{
	color:#ddd;
}

.day.active,
.focused{
	background:#eaeaea;
}

.tooltip{
	font-family:Almoni;
	position:absolute;
	font-size:12px;
	background:#666;
	color:#fff;
	padding:9px 8px 6px;
	border-radius:6px;
	box-shadow:0 2px 4px #666;
	pointer-events:none;
}

.tooltip:before{
	content:" ";
	display:block;
	border-top:8px solid #676767;
	border-left:8px solid transparent;
	border-right:8px solid transparent;
	position:absolute;
	margin-top:16px;
	left:50%;
	margin-left:-9px;
}