@font-face {
  font-family: 'Bree';
  src: url('Bree-Regular.eot');
  src: url('Bree-Regular.woff2') format('woff2'),
       url('Bree-Regular.woff') format('woff'),
       url('Bree-Regular.ttf') format('truetype'),
       url('Bree-Regular.svg#Bree-Regular') format('svg'),
       url('Bree-Regular.eot?#iefix') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {   
	font-family: 'Intro';    
	src:url('Intro.ttf.woff') format('woff'), 
		url('Intro.ttf.svg#Intro') format('svg'), 
		url('Intro.ttf.eot'),
		url('Intro.ttf.eot?#iefix') format('embedded-opentype');
	font-weight: normal;
 	font-style: normal;
}
* {
	cursor: default;
}
a,
input,
select,
option,
#deviz {
	cursor: pointer;
}
option {
	border: 0;
	text-transform: capitalize !important;
}
body {
	font-family: bree;
}
#main {
	margin: auto;
  width: 50%;
  padding: 10px;
}
#main form {
	margin: auto;
	text-align: center;
	width: 100%;
}
#main h1 {
	text-align: center;
	text-shadow: 3px 3px 3px #fff;
}
h2 {
	text-align:center;
	border-radius:10px 10px 0 0;
}
hr {
	border:0;
	border-bottom:1px solid #ccc;
	margin:10px 40px;
	margin-bottom:30px;
}
#login {
	padding:50px;
	margin-top:70px;
	border: 1px #fff solid;
	border-radius: 50px;
	background-color: #fff3de;
}
#login input[type=text] {
	border-radius: 10px 10px 0 0;
	background: #fff;
	text-transform: lowercase;
}
#login input[type=text],
#login input[type=password],
#login input[type=submit] {
	width:300px;
	padding:10px;
	margin-top:8px;
	border:1px solid #ccc;
	padding-left:5px;
	font-size:x-large;
	font-family:bree;
	height: auto;
	text-align: center;
}
#login input[type=password] {
	margin: 0;
	border-radius: 0 0 10px 10px;
	background: #fff;
}
input[type=submit] {
	width:100%;
	color:#fff;
	border:2px solid #FFCB00;
	padding:10px;
	font-size:20px;
	cursor:pointer;
	border-radius:5px;
	margin-bottom:15px
}
#profile {
	height: 60px;
	padding:10px;
	border:1px dashed grey;
	font-size:20px;
	background: #080;
}
#logout {
	float:right;
	padding:5px;
}
#winner th:nth-child(2){
	min-width: 60px;
}
#winner td:nth-child(2){
	text-align: right;
}
i, #logout a {
	color:#fff;
}
input[type=text] {
	width: 200px;
}
td input[type=text]{
	width: 200px;
	height: auto;
	padding: 0 4px;
}
input[type=text],
input[type=number],
select {
  font-weight: bold;
  background: linear-gradient(transparent,rgba(255,255,255,.7));
}
input[type=button]:hover,
button:hover {
  cursor:pointer;
}
input[type=number]{
  width:130px;
  padding:0 4px;
}
button[type=submit][name=get]{
	margin-left: 20%;
  margin-top: 10px;
}
button[name=show]{
	margin-left: -5px;
}
.content{
  margin: 0 auto;
  width: 100%;
  padding: 40px;
  border: 5px solid #BAA072;
  border-width: 0 5px;
  border-radius: 0 0 10px 10px;
  color: #000;
  background-color: #faebd7;
}
table td {
  padding:0px 6px;
  text-transform: lowercase !important;
  text-transform: capitalize !important;
}
table.table>thead>tr>th,
table.table>tbody>tr>td{
  padding:4px;
  border-top:0;
}
table.table>tbody>tr>td {
  border-left:1px #000 solid;
}
table td:last-child {
  border:0;
}
table>tbody>tr>td:nth-child(9){
	text-align: center;
	text-shadow: 0px 0px 2px #fff;
}
table tr:nth-child(even) {
    background: #aaa;
}
table tr:nth-child(odd),
#winner tr:nth-child(odd) td {
  background-color:#ddd;
}
#winner tr:first-child th,
#contractele_mele tr:first-child th {
	background-color: transparent;
}
#total td,th {
  font-weight:bold;
  text-transform: uppercase;
  padding: 2px 6px;
}
#total td {
	color: #fff;
	background-color: #000;
}
button[name=delete]{
  border: 1px solid black;
  background-color: orangered;
  font-weight: bold;
  border-radius: 14px;
  height: 22px;
  line-height: 0px;
}
#welcome i,
#winner td:first-child,
#contractele_mele td:nth-child(10),
.search td:nth-child(10),
#contractele_mele td:nth-child(12),
.search td:nth-child(12) {
  text-transform: capitalize;
}
#contractele_mele td:nth-child(6),
#contractele_mele td:nth-child(7),
.search td:nth-child(6),
.search td:nth-child(7),
.search td:nth-child(5) {
	text-align: right;
}
.search tr:first-child th:nth-child(13),
#contractele_mele tr:first-child th:nth-child(13){
	min-width: 75px;
}
.search tr:first-child th:nth-child(11),
#contractele_mele tr:first-child th:nth-child(13){
	min-width: 90px;
}
tr th:nth-child(3),
tr th:nth-child(5){
	padding-right: 0;
}
tr:last-child td {
	border-bottom: 1px solid #000;
}
tr:last-child td:last-child {
	border-bottom-width: 0;
}
#contractele_mele tr:first-child th,
.search tr:first-child th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #BAAC72;
  border-left: 1px white solid;
}
.search th:hover a {
	cursor: pointer;
}
.search td {
	position: relative;
}
table #piatra,
table #alta {
  display:block!important;
  color: #000!important;
}
[class ^= ral] {background-color: #000; color: #fff !important;}
.ral3000 {background-color: #a72920;color:#fff !important;}
.ral3005 {background-color: #59191f;color:#fff !important;}
.ral3009 {background-color: #6d342d;color:#fff !important;}
.ral3011 {background-color: #792423;color:#fff !important;}
.ral5010 {background-color: #004f7c;color:#fff !important;}
.ral6005 {background-color: #114232;color:#fff !important;}
.ral6020 {background-color: #37422f;color:#fff !important;}
.ral7024 {background-color: #45494e;color:#fff !important;}
.ral8003 {background-color: #7e4b26;color:#fff !important;}
.ral8004 {background-color: #8d4931;color:#fff !important;}
.ral8014 {background-color: #4a3526;color:#fff !important;}
.ral8017 {background-color: #442f29;color:#fff !important;}
.ral8019 {background-color: #3d3635;color:#fff !important;}
.ral9002 {background-color: #d7d5cb;color:#000 !important;}
.ral9005 {background-color: #0e0e10;color:#fff !important;}
.ral9006 {background-color: #a1a1a0;color:#fff !important;}
a[class^=ral] {padding: 4px 8px;}
a[class^=ral]:hover {color:white;}
table select[name=get_culoare] option {color:#fff;text-align:center;}
table tr td.ral1111,
table tr td.ral2222,
option.ral2222,
option.ral1111 {
	background-color: transparent;
	color:#000 !important;
}
#winner .tel,
.winner {
	display: none;
}
#winner tbody>tr>td:last-child {
	padding:0;
}
#winner tr {
	background: transparent;
}
#winner tr td:last-child {
	width: 100%;
	background-color: transparent;
}
#winner .graph {
	background-color: #7FBF90;
	min-width: 80px;
	display: block;
	color: #fff;
	padding: 8px;
	float: left;
	border-bottom: 2px solid #faebd7;
}
#winner .g2{
  float: left;
  display: block;
  background: #D46A6A;
  padding: 8px;
  color: #000;
}
#winner td:first-child {
	min-width: 120px;
	position: relative;
}
#winner .winner {
	background: #afa !important;
	color: #000 !important;
}
.search tbody tr td > .dataa{
   display:none;
}
#target_left {
	color: #fff;
}
#azi {
	display: none;
}
#deviz {
	color: #000;
	text-decoration: underline;
}
#deviz:hover {
	text-decoration: none;
}
#cat1 {
	background: #7FBF90;
	color: #fff;
	float: left;
	padding: 0 5px;
}
#cat_target {
	background: #D46A6A;
	color: #fff;
	float: left;
	padding: 0 5px;
}
.edit,
button[name=edit] {
	float: right;
	font-size: large;
	vertical-align: bottom;
	cursor: pointer;
	position: absolute;
	top: 5px;
	display: none;
}
.edit {
	-ms-transform:rotate(0deg);
	-webkit-transform:rotate(0deg);
	transform:rotate(0deg);
}
.modifica {
  margin: 0!important;
  color:#000;
  max-width: 100px;
}
button[name=edit],
.edit:hover {
	color: rgba(0,180,0,1);
}
button[name=edit]:hover,
.edit {
	color: rgba(0,0,0,.2);
}
button[name=edit] {
	background: none;
	border: none;
}
#contractele_mele td:hover .edit {
	display: block;
}
.edit.dreapta,
button[name=edit] {
	right:0;
}
#contractele_mele td input[type=number]{
	max-width:60px;
}
table td:nth-child(5) {
	width: 50px;
	display: block;
	overflow: hidden;
	text-transform: lowercase !important;
}
table td:nth-child(5){
	width:100px;
}
.search tbody td:nth-child(2),
.search tbody td:nth-child(3),
.search tbody td:nth-child(4) {
	text-align: right;
}
.search td:nth-child(15):hover {
	overflow: visible;
	text-shadow: 1px 1px 0px #fff;
}
.search td:last-child {
	padding: 2px;
}
#search {
  text-align: center;
}
#search input,
#search select {
	border-width: 1px 0;
	background-color: #ffeeda;
}
#search input {
	width: 100px;
	height: 20px;
	display: inline-block;
	padding: 10px;
	margin: 0;
	padding-bottom: 12px;
}
#search select {
	padding: 2px;
	width: 65px;
}
#search input[type=checkbox]{
	margin:0 4px 0 0;
	padding:0;
	width:auto;
	height: auto;
	vertical-align: middle;
}
.thisisme {
	position: absolute;
    top: 10px;
    left: -20px;
}
body#login_index {
	background-color: #faebd7;
}
#text-durra {
  color: #e31e25;
  font-family: intro;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 1px 1px 0px #000000;
}
form[fn=add] table,
form[fn=add] #buttons {
	margin: 0 auto;
}
form[fn=add] #buttons {
	display: block;
	width: 150px
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 11; /* Sit on top */
  padding-top: 1%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
input[name=get_data] {
	color: #000;
}
.content .winner > .clasament {
	padding: 0;
}
.ctotal {
	color: #666;
	background: rgba(250,235,215,.93);
	box-shadow: -3px 3px 5px 0px rgba(0,0,0,.2);
}
/*.ctotal_m {
	margin-right: -70px;
}*/
.ctotal:last-child {
	margin: 0;
}
.ctotal:hover {
	color: #000;
}
.ctotal span[name=button] {
	border: 0;
	padding: 4px;
  background: #ddd;
}
.ctotal span[name=button]:hover {
	background: #fff;
}
.ctotal:hover * {
	cursor: pointer;
}
i.target {
	margin-left: 10%;
}
.detalii {
	text-transform: capitalize;
	color: #33f;
}
.agent p{
	margin: 0;
	font-size: large;
}
.agent th {
	background-color: #BAAC72;
	border-right: 1px #fff solid;
}
.wagenti {
	width:auto!important;
	color:#000!important;
	border:0!important;
	padding:2px 4px!important;
	font-size:inherit!important;
	cursor:pointer!important;
	border-radius:0!important;
	margin-bottom:0!important;
	background:transparent!important;
	text-transform:capitalize!important;
}
input[type=submit].wagenti:hover {
	color: #33f;
	text-decoration: underline;
}
.subtarget {
	color: #f33;
}
.dublutarget {
	color: #090;
}
.trate {
	display: inline-block;
	width: 150px;
	border-left: 1px #000 solid;
	padding: 0 4px;
}
.notchecked {
	text-decoration: underline;
	text-decoration-color: #f22;
}
button[name=check_avans],
button[name=check_rar] {
	background: transparent;
	border: 0;
	margin:0;
	padding:0;
}
.glyphicon-check {
	color: #a22;
}
.glyphicon-check:hover {
	cursor: pointer;
	color: #2a2;
}
.check {
	float:left;
}
.search td:hover .edit {
	display:block;
}

@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}
@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.comentarii .close {
	width: 100%;
    cursor: pointer;
    opacity: 1;
    text-align: center;
    color: blue;
    text-decoration: underline
}
.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}
.modal-body {padding: 2px 16px;}
.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
  text-align: center;
}
.ctotal {
	display:inline-block;
	border-left:1px dashed #000;
	border-top:1px solid #000;
	padding:5px;
	width: 150px;
}
button[type=submit][name=edit],
button[type=submit][name=curs]{
	background: #fff;
  border-radius: 10px;
  border: 1px #090 solid;
  font-size: small;
}
i.target > form {
	max-width: 100px;
	display: inline;
}
i.target > form > input {
	width: 70px;
	height: 30px;
}
button[type=submit][name=curs]{
	color: #000;
	margin-left: 5px;
	padding: 2px 6px;
}
.rate {
	text-decoration:underline;
	text-decoration-color: #00d;
}
.rate:hover {
	cursor: pointer;
	color: #00d;
}
.hide {
	display:none!important;
}
.rotate45 {
	-ms-transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
	transform:rotate(45deg);
}
.rotate90 {
	-ms-transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
	transform:rotate(90deg);
	float:left;
	cursor: pointer;
}
.enlarge, .tighten {
	cursor: pointer;
	float:right;
}
.enlarge *, .tighten * {
	cursor: pointer;
}
#rate {
	position: absolute;
	top:0;
	right: 10%;
	display: block;
	background: rgba(255,255,255,.9);;
	border-radius: 0 0 5px 5px;
	border: 2px #fff solid;
	border-top:0;
	padding: 4px;
	overflow: hidden;
	font-size: smaller;
	z-index: 11;
}
#rate thead th {
	background: #aaa;
}




.mobile {display:none;}
.desktop {display: contents;}
@media (max-width: 850px) {
	#main,
	form[fn=add] table {
		width: 100%;
	}
	.content,
	form[fn=add] table input {
		width: auto;
	}
	#contractele_mele td:nth-child(9),
	#contractele_mele td:nth-child(7),
	#contractele_mele td:nth-child(3),
	#contractele_mele td:nth-child(4),
	#contractele_mele th:nth-child(9),
	#contractele_mele th:nth-child(7),
	#contractele_mele th:nth-child(3),
	#contractele_mele th:nth-child(4),
	.search td:nth-child(9),
	.search td:nth-child(7),
	.search td:nth-child(3),
	.search td:nth-child(4),
	.search th:nth-child(9),
	.search th:nth-child(7),
	.search th:nth-child(3),
	.search th:nth-child(4),
	#cat1 {
		display: none;
	}
	.graph {
		display: none!important;
	}
	.g2 {
		border-top: 2px #fff solid;
	}
	.mobile {display:inline;}
	.desktop {display: none;}
}
@media (max-width: 600px) {
	.content,
	#profile {
		width: 600px;
	}
	.modal-content {
		width: 100%;
	}
}
@media (max-width: 400px) {
	#login input[type=text],
	#login input[type=password],
	#login input[type=submit] {
		width:100%;
		font-size:medium;
	}
	form[fn=add] tr td:first-child {
		display: none;
	}
	form[fn=add] tr td>input:first-child,
	form[fn=add] tr td select[name=get_culoare] {
		width:75%;
	}
	form[fn=add] tr td,
	form[fn=add] #buttons {
		font-size: x-large;
	}
	form[fn=add] #buttons {
		width: auto;
	}
	input[name=get_data] {
		width: auto;
	}
}
@media (max-width: 300px) {
	#main {
		width: 300px;
	}
}